Все базы данных в одной репе

This commit is contained in:
2024-10-29 08:23:11 +03:00
parent 71ef9e72b6
commit be4aeb5975
19 changed files with 1093 additions and 0 deletions

16
view2.sql Normal file
View File

@@ -0,0 +1,16 @@
-- Запрос с использованием view
select
srsc.id_sportsman,
s.name,
srsc.pr_count,
srsc.ss_count
from
sportsman_requests_series_count as srsc
join sportsman as s on srsc.id_sportsman = s.id_sportsman
where
s.gender = 'Мужчина'
and s.club = 'ЛК Парадокс Лучника'
order by
srsc.pr_count desc
limit 10;