Saturday 14 September 2013

Select Distinct


Select Distinct:-if our table contains the same value or same data and we want to select unique data use distinct keyword with select command.


this table contains same value and we perform distinct keyword on this table.

Ex:-in this we select the unique data from the entire table.

 Ex:-if you want to select unique data from the particular column then write like this

pass the column name after the distinct keyword.
























No comments :

Post a Comment