SELECT lname FROM student WHERE sex  =  'F' AND city_code  =  'BAL' UNION SELECT lname FROM student WHERE sex  =  'M' AND age  <  20
Find the last name of students who is either female (sex is F) and living in the city of code BAL or male (sex is M) and in age of below 20.
SELECT lname FROM student WHERE sex = 'F ' AND city_code = 'BAL ' UNION SELECT lname FROM student WHERE sex = 'M ' AND age < 20
select lname from student where sex = value and city_code = value union select lname from student where sex = value and age < value
Find the last name of students who is either female ( sex is F ) and living in the city of code BAL or male ( sex is M ) and in age of below 20 .