• SELECT column_names [,... n] FROM Table_1 CROSS JOIN Table_2
  • SELECT column_names [,... n] FROM Table_1 FULL JOIN Table_2 ON condition
  • So`rov: SELECT *FROM mutolachi INNER JOIN mutolachi_1 ONmutolachi.FISH= mutolachi_1.FISH; Natija: 12.5 - rasm. Inner join
  • Toshkent axborot texnologiyalari universiteti kompyuter injinering fakulteti




    Download 15,05 Mb.
    bet10/19
    Sana16.05.2024
    Hajmi15,05 Mb.
    #237968
    1   ...   6   7   8   9   10   11   12   13   ...   19
    Bog'liq
    mal.B.2-ish

    SELECT
    column_names [,... n]
    FROM
    Table_1 RIGHT JOIN Table_2 ON condition


    12.3– rasm. Right outer join operatorining Venn diagraamsi orqali ko’rinishi

    1. CROSS JOIN operatori 1 jadvaldagi xar bir element uchun 2 jadvaldagi elementlarni bog`lab chiqadi.

    SQL CROSS JOIN operatorining sintaksisi quyidagi ko`rinishda bo`ladi:




    SELECT_column_names_[,..._n]_FROM_Table_1_CROSS_JOIN_Table_2'>SELECT
    column_names [,... n]
    FROM
    Table_1 CROSS JOIN Table_2




    1. SQL FULL OUTER JOIN operatori 1 jadvaldagi xar bir element uchun 2 jadvaldagi elementlarni bog`lab chiqadi.

    SQL FULL OUTER JOIN operatorining sintaksisi quyidagi ko`rinishda bo`ladi:




    SELECT
    column_names [,... n]
    FROM
    Table_1 FULL JOIN Table_2
    ON condition


    12.4 – rasm. Full outer join operatorining Venn diagrammasi orqali ko’rinishi
    Ishni bajarish tartibi

    1. SQL INNER JOIN operatori

    So`rov: SELECT *FROM mutolachi INNER JOIN mutolachi_1 ONmutolachi.FISH= mutolachi_1.FISH;
    Natija:

    12.5 - rasm. Inner join qo’llanishi natijasi
    2. LEFT JOIN operatori
    So`rov: SELECT *FROM mutolachi left JOIN mutolachi_1 ON mutolachi.FISH= mutolachi_1.FISH;
    Natija:

    12.5 - rasm. Left join qo’llanishi natijasi



    1. Download 15,05 Mb.
    1   ...   6   7   8   9   10   11   12   13   ...   19




    Download 15,05 Mb.

    Bosh sahifa
    Aloqalar

        Bosh sahifa



    Toshkent axborot texnologiyalari universiteti kompyuter injinering fakulteti

    Download 15,05 Mb.