Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between distinct clause and group by
clause?

Answer Posted / rkvenky

distinct suppress the duplicates of data in the select stmt.
where as group by combines the data which we willgive in
order.
2.group by used at the end of select stmt
distint used in select stmt to columns
3.
group by is function where distinct is keyword

Is This Answer Correct ?    8 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are trace flags and mention a few common trace flags used with sql server?

1078


Why I have to use stored procedures?

1029


What is logon trigger?

1081


What is trigger in salesforce?

973


Explain use of expression builder.

1005


What is spid in sql server profiler?

1092


what is database replication? : Sql server database administration

1049


Do you know what is rank function?

1071


What are the different kinds of ssrs reports?

214


What is sqlservr.exe - process - sql server (sqlex?press)?

1098


What are policy management terms?

981


how to control the amount of free space in your index pages? : Sql server database administration

1026


How you can find out if an index is useful to the optimizer?

929


What is change data capture (cdc) feature?

1050


What is the difference between Normalization and De-normalization?

1078