You are on page 1of 1

SELECT Course.Course AS Expr6, college_profile.college_regno AS Expr1, Co urse_Category.CourseName, Course_fees.College_id AS Expr25, Course_fees.fee AS Expr26, state.state_id AS Expr2, sta te.

state_name AS Expr5, City.city_id AS Expr3, City.city_name AS Expr4, college_ profile.*, College_Course.College_id, College_Course.Course_cat_id AS Expr10, Course.course_cat_id, Course.course_id FROM state INNER JOIN City ON state.state_id = City.state_id CROSS JOIN Course_Category INNER JOIN Course ON Course_Category.Course_id = Course.course_cat _id LEFT OUTER JOIN College_Course ON Course_Category.Course_id = College_C ourse.Course_cat_id LEFT OUTER JOIN college_profile ON College_Course.College_id = college_ profile.college_regno CROSS JOIN Course_fees WHERE (state.state_id = @sateID) AND (City.city_id = @cityID) AND (Course _fees.College_id = @CollegeID) AND (Course.course_cat_id = @courseCatID) AND (Course.course_id = @courseID)

You might also like