Skip to content

Hexlet/example_challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Таблица employees содержит все работников включая их менеджеров. Каждый работник имеет id и колонку для id менеджера manager_id.

+----+-------+--------+------------+
| id | name  | salary | manager_id |
+----+-------+--------+------------+
| 1  | Joe   | 70000  | 3          |
| 2  | Henry | 80000  | 4          |
| 3  | Sam   | 60000  | NULL       |
| 4  | Max   | 90000  | NULL       |
+----+-------+--------+------------+

solution.sql

  • Напишите SQL запрос который найдет имена всех работников, которые получают больше чем их менеджеры.
  • Запишите запрос в файл solution.sql;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published