Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 428 Bytes

easy_sql_ordering.md

File metadata and controls

20 lines (15 loc) · 428 Bytes

Description

Your task is to sort the information in the provided table 'companies' by number of employees (high to low). Returned table should be in the same format as provided:

companies table schema

  • id
  • ceo
  • motto
  • employees

Solution should use pure SQL.

My Solution

SELECT * FROM companies
ORDER BY employees DESC;