8.4 – rasm. Full outer join operatorining Venn diagrammasi orqali ko’rinishi
Ishni bajarish tartibi SQL INNER JOIN operatori
So`rov: SELECT *FROM zavod_xodimlari INNER JOIN kon_xodimlari ON zavod_xodimlari.FISH=kon_xodimlari.FISH;
Natija:
8.5 - rasm. Inner joinqo’llanishi natijasi
2. LEFT JOIN operatori So`rov: SELECT * FROM zavod_xodimlari LEFT JOIN kon_xodimlari ON zavod_xodimlari.manzili = kon_xodimlari.manzili; Natija: 8.6 - rasm. Left join qo’llanishi natijasi RIGHT JOIN operatori
So`rov: SELECT *FROM zavod_xodimlari RIGHT JOIN kon_xodimlari ON zavod_xodimlari.oyligi = kon_xodimlari.oyligi; Natija:
8.7 – rasm. Right join qo’llanishi natijasi
3. CROSS JOIN operatori So`rov: SELECT *FROM zavod_xodimlari CROSS JOIN kon_xodimlari ON zavod_xodimlari.ish_staji = kon_xodimlari.ish_staji; Natija:
8.8– rasm. Cross join qo’llanishi natijasi
4. FULL OUTER JOIN operatori: So`rov: SELECT *FROM zavod_xodimlari FULL OUTER JOIN kon_xodimlari ON zavod_xodimlari.FISH=kon_xodimlari.FISH; Natija: 12.1– jadval. Full outer join qo’llanishi natijasi