Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- insert into lokalizacja(id, nazwa, adres) values (3, "KAT1", "Katowice, Korfantego 105");
- select id from pogoda where temperatura > 20;
- select l.id, p.dataprog from lokalizacja l inner join prognoza p on l.id=p.lokalizacja_id inner join pogoda po on po.id=p.pogoda_id where po.wilgotnosc > 50;
- select l.nazwa, pr.pogoda_id from lokalizacja l inner join prognoza pr on l.id=pr.lokalizacja_id where pr.dataprog="2015-07-02";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement