|
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&fpage=38&tid=1561299]: |
0ms |
get settings: |
8ms |
get forum list: |
13ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
40ms |
get topic data: |
13ms |
get forum data: |
3ms |
get page messages: |
33ms |
get tp. blocked users: |
2ms |
others: | 319ms |
total: | 437ms |
0 / 0 |