some time we may need to use all the few of the sql commands together like Select, distinct, from, where,group by, having and orderby.
Here is an example on how to use all these commands together :
http://learnsqltips.blogspot.in/2012/04/select-distinct-from-where-group.html Thanks & Regards,
SQL Developer,
http://learnsqltips.blogspot.in