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

How to create a view using data from another view?

903


What is transaction server auto commit?

984


Explain magic tables in sql server?

981


What is the difference between a function and a stored procedure?

1005


What authentication modes does sql server support?

1018


Difference between LEN() and DATALENGTH() in sql server ?

1057


What are the advantages of having an index on the sql server?

872


What are the transaction properties?

963


Explain sub-query?

898


What is the server name for sql management studio?

947


How to change a login name in ms sql server?

1023


What is merge replication?

1064


What the class forname () does?

974


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

972


How to run sql server 2005 books online on your local system?

917