Python Programming
Thursday, October 15, 2015
SQL -- Selecting Distinct
The following example displays a listing of each of the unique (distinct) items from the items_ordered table.
Select the distinct items in the items_ordered table. In other words, display a listing of each of the unique items from the items_ordered table.
SELECT DISTINCT item
FROM items_ordered;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment