Izvini, ali sto uopste pravis JOIN na tabelu OblastiPitanja kada Oblast izvlacis iz tabele Pitanja?
Evo ti moj predlog:
Code:
SELECT MAX(Broj), Oblast FROM
(SELECT Count(Oblast) AS Broj, Oblast
FROM Pitanja GROUP BY Oblast) AS BrojPojava
GROUP BY Oblast