`supermarket`


Download 0.66 Mb.
bet5/7
Sana25.11.2020
Hajmi0.66 Mb.
#151524
1   2   3   4   5   6   7
Bog'liq
Murod


CREATE TABLE `baza`.`uqituvchi` ( `id` INT(10NOT NULL AUTO_INCREMENT , `F.I.Sh`VARCHAR(30NOT NULL , `yoshi` INT(50NOT NULL , `tel nomeri` INT(30NOT NULL , PRIMARYKEY (`id`)) ENGINE = InnoDB;



INSERT INTO `uqituvchi` (`id``F.I.Sh``yoshi``tel nomeri`VALUES (NULL'Alimov Suhrob''35''913427658'), (NULL'Kamilov Bobur''56''971234567'), (NULL'Jabborov Jamshid''35''989998781'), (NULL'Halimov Elyor''67''338798900'), (NULL'Asadov Bobur''45''712597733')

SELECT talaba.`F.I.Sh`, talaba.guruh_name, uqituvchi.`F.I.Sh`, uqituvchi.yoshi FROM `talaba` LEFT JOIN uqituvchi ON uqituvchi.id=talaba.id


Download 0.66 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling