You are on page 1of 3
DEMS Exe i 5 Neme: Xavier Moorkath’) XEID + oorr200} NIA: Write SEL querer using logical epoationn and oeretoes. Theory : An opeetor vee veerveh Urord or character vsed, Prvevly in a HL. stelemnrkls WHERE Clause Ke ferdper eakion(s) ,Sath ay Cemfons end arthmene — eperationt these Operators ave used ke Specthy Gendithons Wye SGL Stodeneck and te Seeve aa Conjunctions for mouigle conditions Yn ec Skecktmeck , « vithmediC operotors + Compensen operators t Logical — egvetors + Gferatrd osed te negate conditions « CUSTOMER TABLE AD | want ADDRESS SRUARY ' Nekay, Delt Zoo00 > | tenis, Mombad 35000 Z| Kashegr Kolkako Booea 4 Nkok Wydevebed 82.000 BS | Wimanaha, Chenmasr | 40000 | r 6 | Nery Node | acooc | 4 | Nishente Delhi | sco0o | FH f= O oe a = ae Dams Exh OB Nome! Xavier Noorkatti| ID: 201902200) Bi. wwite @ qpery + fo Hhe solo ofe— person where age 6 <=26 on Salery J= 25000 fron Gutomer foble -SGUSSELECT® FAORY CosTOMERS WHE! Rar <=26 AND SALARY y= 9.5000 5 Culp wD | Name | ABE | AoDRESS SALARY V} BKshey as Dali ae 3 | bushagre 26 kakake | 90000 Drews sele ches Ba Write © apery fe Anh Khe sles ober peter UREE ages K226 or Seley 7= 33000 Rom Cartomer Gable, S61 >SELECT FRON CUSTOMERS WHCRE A&E <=26 or SALARY Y= 32000 , Dubgu : ay D NAME | kOe | ADDRE: AUKEY ‘ Akshay 15 Dele Boooe 2 Manish oy Momber 25000 rs Kushagra 2G Kolker | S000 £ Winans an Chenne acces 6 | Meera = Netde BGO00 | Syous seleek, _ ts _ Dems exep . Beme: Aawier Moorkabh’| , IDs 201102200) 83 wett — Gacy Ke Appd the Meme of cutomer choie Neme ig i * ” + \Whe “Kay.” sgh Ssetect*FRoM CusTOMERS WHERE NAME Like” Koy.” Oedqeck ] ID | NAME AGE ADPRESS SNALY f 3B [ Kashagre | 26 hatkete | B0000 A voro selected, BY Wate — gpery be dink Khe customer detale wing “IN ert “betwe ppeahor Ghee age canbe 2S0r D4, SBLSELECT™* Ram cusTomens WHERE AQE W (25,24); SQUE ELECT FRO CUSTOMERS WHERE AGE BETWEEN 25 onq a ADDRESS Delhi Kolkete— D vows selected, Concbusior + Alter Completing he leberetery enpermek, Ge leant be este gi querier ries lege — ageretvony end operators -@

You might also like