621-21-guruh talabasi Toshpo’latov Azizbek
Har bir talaba o’ziga berilgan predmet soha mavzusi bo’yicha AND, OR, NOT operatorlaridan foydalanib so’rovlar yaratishi va natijasi bilan ko’rsatib o’tishi kerak.
AND:
mysql> select*from oq_guruxlari;
+----------------------+--------+--------+---------+
| NOMI | T_soni | Q_yili | O_kursi |
+----------------------+--------+--------+---------+
| Axborot xavfsizligi |
|
40 |
|
2021 |
|
2 |
|
| Axborot xavfsizligi1 |
|
30 |
|
2020 |
|
3 |
|
| Axborot xavfsizligi2 |
|
45 |
|
2019 |
|
4 |
|
| Dasturiy injiniring |
|
60 |
|
2021 |
|
2 |
|
| Dasturiy injiniring1 |
|
50 |
|
2020 |
|
3 |
|
| Dasturiy injiniring2 |
|
70 |
|
2019 |
|
4 |
|
| Raqamli iqtisodiyot |
|
80 |
|
2021 |
|
2 |
|
| Raqamli iqtisodiyot1 |
|
90 |
|
2020 |
|
3 |
|
| Raqamli iqtisodiyot2 |
|
65 |
|
2019 |
|
4 |
|
+----------------------+--------+--------+---------+
9 rows in set (0.00 sec)
mysql> select*from oq_guruxlari where nomi = 'Axborot xavfsizligi2' and Q_yili = '2019';
+----------------------+--------+--------+---------+
| NOMI | T_soni | Q_yili | O_kursi |
+----------------------+--------+--------+---------+
| Axborot xavfsizligi2 | 45 | 2019 | 4 |
+----------------------+--------+--------+---------+
OR: