SELECT * FROM xyz WHERE NOT city='New York'OR grade>100 SELECT * FROM xyz WHERE city='London' AND grade=300 UPDATE xyz SET grade=250 WHERE city='London' AND grade=300