ในวันจันทร์และวันพุธ สามารถรับ 522 ได้หรือไม่ ?ไม่จำเป็นต้องใช้ทุกตาราง
On Mondays and Wednesdays is it possible to take 522 ?It is not neccessary to use all the tables.
 jobs:  job_id [ int]  job_title [ varchar]  description [ varchar]  requirement [ varchar]  city [ varchar]  state [ varchar]  country [ varchar]  zip [ int] 
SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course_offering.friday = 'N' AND course_offering.monday = 'Y' AND course_offering.thursday = 'N' AND course_offering.tuesday = 'N' AND course_offering.wednesday = 'Y' AND course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number = 522 AND semester.semester = 'WN' AND semester.semester_id = course_offering.semester AND semester.year = 2016