473,386 Members | 1,647 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Oracle Sql query having error ORA-00933

select loc from emp e, dept d having count(e.deptno) = 0 or sal <= min(sal) and d.dname = 'SALES' and count(ename) >=2 and sal < avg(sal) group by loc where e.deptno != d.deptno;

ORA-00933: SQL command not properly ended

This error I get when I run this command on oracle, can anyone help me resolve this error?
Oct 20 '16 #1
0 3386

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Jonas Gorauskas | last post by:
I am having this one problem on an app I am writing where it shows the following error on some error trapping that I did: Query failed: Error Number: 1064 Description: You have an error in...
2
by: Asfand Yar Qazi | last post by:
Ahem.. Anyway, here's whats happening... construct tables in MySQL: DROP TABLE EMP; CREATE TABLE EMP (EMPNO INT(4) NOT NULL, ENAME CHAR(6) NOT NULL,
1
by: Dalan | last post by:
I'm experiencing a Query Syntax Error with an Access 97 Db. Actually, the query performs as expected when adding any new records or editing existing ones and even deleting records, EXCEPT when the...
0
by: william_dudek | last post by:
I have a crystal report that works fine when run through Crystal, which I am triying to incorporate into a crystal report viewer. The report takes 1 parameter, which is either 0 or 1. If the...
0
by: raf_z | last post by:
Hi, I think i'm doing something simple, although i may be wrong. I was able to load a Crystal report file up until today, and even now, its only 1 report that's misbehaving. I'll confess that i...
1
by: Frank Teunen | last post by:
Dear reader, I'm having a problem linking a dataset to a crystal report. I'm using next code. In between I explain my problem 'This code is to fill a dataset with the result of a stored...
2
by: matt | last post by:
hello, i have an .RPT file that i am using to load a report via the ASP.NET CrystalReportViewer control. i dont include my .RPTs as embedded resources...instead i load the absolute path of the...
1
by: laxmikumar999 | last post by:
Hi all, I have a data as given below. ID RATE1 DATE1 RATE2 DATE2 CODE 10 A 2007-FEB-01 U 2007-JAN-01 BIG 10 B 2007-FEB-01 V 2007-JAN-01 BIG 10 C 2007-JAN-01 W 2007-FEB-01 SMALL...
3
by: Venmathi | last post by:
Hi , How to convert the below Oracle Query to DB2. The Query is working fine in Oracle but not in DB2. Please Help. Query: Select f.folder_id, f.identifier From FOLDER f, STOREENT se...
1
by: avihayhatav | last post by:
I need to convert this mssql query to oracle query, please assist: IF OBJECT_ID('tempdb..#P_Filetypes') IS NOT NULL DROP TABLE #P_Filetypes SELECT Id, SpecialPermissions,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.