Buning uchun W H E R E so‘zidan keyin solishtirish am allarini
(<, >, =, <> va x.k.) va mantiqiy operatorlar qatnashgan ifodalarni
joylashtirish m um kin.
mysql> SELECT student.surname, student.nam e, subject.subj_nam e,
exam_marks.mark
FROM student, subject, exam_m arks
W H E R E student.stud_id=exam _m arks.stud_id
A N D subject.subj_id= exam _m arks.subj_id
A N D (( mark > = 4 ) A N D ( mark<= 5 ));______________________________
10.30-misolni IN operatoridan foydalanib yozamiz (im tihonlar-
da kamida bitta 4 yoki 5 baho olgan talabalar familiyasi, ismi, olgan
bahosini tanlab olish).
mysql> SELECT student.surname, student.nam e, subject.subj_name,
Do'stlaringiz bilan baham: