|
|
|
Помогите сделать задание
|
|||
|---|---|---|---|
|
#18+
We have two tables. Table: department Fields: id Number (pk) name Varchar(100) Table: employee Fields: id Number (pk) department_id Number chief_id Number name Varchar(100) salary Number Please write SQL queries for: - Display a list of employees, who receive salary greater than the direct supervisor's salary - Display a list of employees, who receive the maximum salary in his department - Display a list of employees, who have no subordinates working in the same department - Display a list of departments sorted by total salary of employees in it, descending ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.08.2016, 11:04 |
|
||
|
Помогите сделать задание
|
|||
|---|---|---|---|
|
#18+
malin, Вопрос-то в чем? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.08.2016, 12:42 |
|
||
|
|

start [/forum/topic.php?fid=47&fpage=94&tid=1831489]: |
0ms |
get settings: |
6ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
70ms |
get topic data: |
10ms |
get forum data: |
3ms |
get page messages: |
32ms |
get tp. blocked users: |
2ms |
| others: | 232ms |
| total: | 377ms |

| 0 / 0 |
