select director_id,data from
(
select * from filmy order by data desc
)
group by director_id;


select director_id,tytul from
(
select * from filmy order by dochod-budzet desc
)
group by director_id;

Add a code snippet to your website: www.paste.org