8 kyu

Easy SQL - Ordering

20,951 of 20,957PG1

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. Ruby is only used in test cases.

Fundamentals
SQL

More By Author:

Check out these other kata created by PG1

Stats:

CreatedJun 12, 2017
PublishedJun 12, 2017
Warriors Trained23309
Total Skips667
Total Code Submissions31054
Total Times Completed20957
SQL Completions20951
Total Stars51
% of votes with a positive feedback rating92% of 2337
Total "Very Satisfied" Votes2018
Total "Somewhat Satisfied" Votes276
Total "Not Satisfied" Votes43
Total Rank Assessments77
Average Assessed Rank
7 kyu
Highest Assessed Rank
3 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • PG1 Avatar
  • Voile Avatar
Ad