Can someone tell me the correct syntax for the following SQL statement using C#?
SELECT COURSESNEEDED.CourseNumber, COURSESNEEDED.CourseName, COURSESNEEDED.CreditHours, REQUISITE.CourseName, REQUISITE.ReqType
FROM COURSESNEEDED, REQUISITE
WHERE COURSESNEEDED.CourseName = REQUISITE.CourseName
AND COURSESNEEDED.CourseNumber < 2000
AND REQUISITE.ReqType = Prerequisite
Thanks in advance.
SELECT COURSESNEEDED.CourseNumber, COURSESNEEDED.CourseName, COURSESNEEDED.CreditHours, REQUISITE.CourseName, REQUISITE.ReqType
FROM COURSESNEEDED, REQUISITE
WHERE COURSESNEEDED.CourseName = REQUISITE.CourseName
AND COURSESNEEDED.CourseNumber < 2000
AND REQUISITE.ReqType = Prerequisite
Thanks in advance.