difference between group clause and order clause



difference between group clause and order clause..

Answer / sathy

group by clause is used to group the column values using
corresponding column values
group by cannot use where condition, instead of where it can
use having which has same function as where

order by is used to order the records in order ie.,
ascending or descending.
order by can use where, but not having having is only for
group by.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More DB2 Interview Questions

Can a unique index have more than one null value? If not, what error code is given if an attempt is made to insert more than one null value?

3 Answers  


What is image copy in db2?

0 Answers  


Where can you declare a cursor in a cobol-db2 program?

0 Answers  


Comment whether dclgen is mandatorily used. If not, then what is the point of using it?

0 Answers  


What are iseries servers?

0 Answers  






What is the difference between plan and package in db2?

0 Answers  


What is role in db2?

0 Answers  


How many databases can be created inside an instance in db2 ?

0 Answers   MCN Solutions,


wht is d/f between union and joins ?

2 Answers  


select 100 records from million records ?

2 Answers   Verizon,


What is a cursor?

2 Answers  


what's the error code for Unique Index Violation?

2 Answers  


Categories