Distinct values
SQL
Easy
3 views
Problem Description
From Orders(status), list all different statuses available. You should not repeat the same status in output.
Sample Test Case
Output:
Distinct status list
Constraints
Think: DISTINCT removes duplicates
Official Solution
SELECT DISTINCT status FROM Orders;
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!