|
|
|
ibexpert,ошибка в запросе
|
|||
|---|---|---|---|
|
#18+
Выведите количество сданных экзаменов студента на «3», «4» и «5» «<номер студента>», «<кол-во сданных экзаменов на “3”>», «<кол-во сданных экзаменов на “4”>», «<кол-во сданных экзаменов на “5”>» select distinct nozach, count(case when f.typeoch=3 then f.typeoch_id end), count(case when f.typeoch=4 then f.typeoch_id end), count(case when f.typeoch=5 then f.typeoch_id end) from stud s, ekzamen e ,typeoch f group by 1 Но выводит одинаковое количество оценок Модератор: Тема перенесена из форума "Другие СУБД". ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 18.12.2017, 17:09 |
|
||
|
|

start [/forum/topic.php?fid=40&msg=39571554&tid=1561299]: |
0ms |
get settings: |
5ms |
get forum list: |
8ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
142ms |
get topic data: |
6ms |
get forum data: |
2ms |
get page messages: |
17ms |
get tp. blocked users: |
1ms |
| others: | 228ms |
| total: | 413ms |

| 0 / 0 |
