473,382 Members | 1,657 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,382 software developers and data experts.

cross tabulation query related to pivot operator

hi
when i try to execute i am getting error
ORA-00933: SQL command not properly ended

plz help me if i remove order by also same error

Expand|Select|Wrap|Line Numbers
  1. select * from (select job,Sal,dno from emp1) pivot(sum(Sal) for dno in(10,11,12,13,14)) order by 1;
Aug 19 '13 #1
1 1617
no i got the results properly with above query with both query
Sep 27 '13 #2

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

Similar topics

3
by: dchow | last post by:
I tried to use a combo box on a form to pass a criteria to a cross tab query. This worked with normal query but not with cross tab. The error was that the Jet Engine does not recognize it as a...
0
by: Kaur | last post by:
Hi, I have created a report based on a cross tab query and would like to Sort the column heading of the report based on the sort order of another field. I have three tables called survey...
3
by: martin1 | last post by:
rHi, All I knew cross-tab quesy is easy done on the Access DB, is there easy way to do cross-tab query for SQL server DB in VB.NET 2005 Dev environment? Thanks
1
by: Rob Woodworth | last post by:
Hi, I'm having serious problems getting my report to work. I need to generate a timesheet report which will contain info for one employee between certain dates (one week's worth of dates). I...
10
by: aaronrm | last post by:
I have a real simple cross-tab query that I am trying to sum on as the action but I am getting the "data type mismatch criteria expression" error. About three queries up the food chain from this...
5
by: Cyrax1033 | last post by:
I have yet a new issue that is the only factor stopping me from adding on the last feature to the database; all help is very much appreciated! In my database is are two tables: one for inserting...
6
by: ramab | last post by:
Hi friends, Im getting an error when running my report which is related to a crosstab.my crosstab query will display null but when i run the report some of the fields are blanks. e.g In my cross...
4
by: tbramley | last post by:
Hi, I've got a cross tab query which is sorted by area then month but the month is sorted in alphabetical order and I was wondering if this can be done in Month order e.g. April, May, June, July...
1
ganeshkumar08
by: ganeshkumar08 | last post by:
Hi SQL Friends, What is cross tab query, In what situation it should be used. In cross tab how the PIVOT functions works. Please explain on it. GaneshKumar
14
by: govind73 | last post by:
Hi all, I would like help on the following problem. I would like to create a form that will have two drop downs (combo or list box), one of which will be a row and the other will be a column. ...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.