my notes and legacy of what do i know and have done
SELECT DISTINCT nsFROM (SELECT ns, MAX( `sloj` ) mFROM `w2` GROUP BY ns)fooWHERE m <2041ORDER BY `foo`.`ns` ASC
select id, max(vērtība) m from tabula group by id having m <= 5
Nav komentāru:
Ierakstīt komentāru