Amaliy matematika informatika yo’nalishi


SQLda INSERT operatorlari yordamida jadvallarga yozuvlar qo’shish


Download 0.7 Mb.
Pdf ko'rish
bet7/10
Sana22.01.2023
Hajmi0.7 Mb.
#1109950
1   2   3   4   5   6   7   8   9   10
Bog'liq
Meliboyev Azizmurot kurs ishi..

 
SQLda INSERT operatorlari yordamida jadvallarga yozuvlar qo’shish 
“Supermarket” jadvaliga INSERT operatori yordamida yozuv qo’shish 
Supermarket jadvalini INSERT operatori yordamida hosil qilish. 
1.INSERT INTO supermarket VALUES (1, 'idsupermarket' ,'Supermarketname', 
'supermarketsite','supermarketnumber','supermaketmanager'); 
2.INSERT 
INTO 
supermarket 
VALUES 
(2, 
'idsupermarket1' 
,'Supermarketname', 'supermarketsite','supermarketnumber','supermaketmanager'); 
3.INSERT 
INTO 
supermarket 
VALUES 
(3, 
'idsupermarket2' 
,'Supermarketname', 'supermarketsite','supermarketnumber','supermaketmanager'); 
Employee jadvalini INSERT operatori yordamida hosil qilish. 
1.INSERT INTO employee VALUES (1, 'idemployee1', 'employeename', 
'employeesalary','employeetelephone','employeeadress'); 
2.INSERT INTO employee VALUES (2, 'idemployee2', 'employeename', 
'employeesalary','employeetelephone','employeeadress'); 
3.INSERT INTO employee VALUES (3, 'idemployee3', 'employeename', 
'employeesalary','employeetelephone','employeeadress'); 
4.INSERT INTO employee VALUES (4, 'idemployee4', 'employeename', 
'employeesalary','employeetelephone','employeeadress'); 
5.INSERT INTO employee VALUES (5, 'idemployee5', 'employeename', 
'employeesalary','employeetelephone','employeeadress'); 
 


24 
24 
Department jadvalini department operatori yordamida hosil qilish 
1.INSERT INTO departmentVALUES (1, 'iddepartment','departmentname', 
'departmentleader','departmentnumber','departmentemployee'); 
2.INSERT INTO departmentVALUES (2, 'iddepartment','departmentname', 
'departmentleader','departmentnumber','departmentemployee'); 
3.INSERT INTO departmentVALUES (3, 'iddepartment','departmentname', 
'departmentleader','departmentnumber','departmentemployee'); 
4.INSERT INTO departmentVALUES (4, 'iddepartment','departmentname', 
'departmentleader','departmentnumber','departmentemployee'); 
5.INSERT INTO departmentVALUES (5, 'iddepartment','departmentname', 
'departmentleader','departmentnumber','departmentemployee'); 

Download 0.7 Mb.

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




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