distinct
SELECT DISTINCT "column_name"
FROM "table_name"
The SELECT keyword allows us to grab all information from a column (or columns) on a table. This, of course, necessarily mean that there will be redundancies. What if we only want to select each DISTINCT element? This is easy to accomplish in SQL. All we need to do is to add DISTINCT after SELECT.

0 Comments:
Post a Comment
<< Home