CDB 503 และ CDB 599 สามารถเรียนในภาคการศึกษาเดียวกันได้หรือไม่ ?ไม่จำเป็นต้องใช้ตารางทั้งหมด
Can CDB 503 and CDB 599 be taken in the same semester ?It is not neccessary to use all the tables.
 ta:  campus_job_id [ int]  student_id [ int]  location [ varchar] 
SELECT COUNT(*) > 0 FROM course AS COURSE_0, course AS COURSE_1, course_offering AS COURSE_OFFERING_0, course_offering AS COURSE_OFFERING_1, course_prerequisite WHERE COURSE_OFFERING_1.semester = COURSE_OFFERING_0.semester AND COURSE_0.course_id = COURSE_OFFERING_0.course_id AND COURSE_0.department = 'CDB' AND COURSE_0.number = 503 AND COURSE_1.course_id = COURSE_OFFERING_1.course_id AND COURSE_1.department = 'CDB' AND COURSE_1.number = 599 AND (NOT ((COURSE_1.course_id = course_prerequisite.course_id AND COURSE_0.course_id = course_prerequisite.pre_course_id) OR (COURSE_1.course_id = course_prerequisite.pre_course_id AND COURSE_0.course_id = course_prerequisite.course_id)))