|
|
|
Помогите сделать задание
|
|||
|---|---|---|---|
|
#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&gotonew=1&tid=1831489]: |
0ms |
get settings: |
4ms |
get forum list: |
9ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
155ms |
get topic data: |
6ms |
get first new msg: |
3ms |
get forum data: |
1ms |
get page messages: |
22ms |
get tp. blocked users: |
1ms |
| others: | 186ms |
| total: | 391ms |

| 0 / 0 |
