Untitled - MARKUP 0.16 KB
                                
                                    SELECT TOP 1 g.nazwa AS tytul_gry, COUNT(o.ocena) AS liczba_ocen
FROM oceny o
JOIN gry g ON o.id_gry = g.id_gry
GROUP BY g.nazwa
ORDER BY liczba_ocen DESC;
                                
                            

Paste Hosted With By Wklejamy.pl