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 the grouping functions?

936


What is the meaning of lock escalation and why/how to stop this? : sql server database administration

1041


What is the purpose of sql profiler in sql server? : sql server database administration

1111


Explain external key management in sql server 2008

892


Can we write ddl in trigger?

921


Explain the microsoft sql server delete command?

1026


What is read uncmmited?

1063


Which table keeps the locking information?

931


What are the types of user defined functions in sql server?

1053


What is implicit cursors?

1089


Explain isolation levels that sql server supports?

1044


How to create a new table in a given schema?

1190


What are the methods used to protect against sql injection attack?

1069


What is SQL Azure?

107


Is it true, that there is no difference between a rule and a check constraint?

1060