Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Sql ques - we have two tables students and course and we have to write a query where student selected physics and math individual or both?
- SELECT DISTINCT students.student_id, students.student_name
- FROM students
- JOIN course ON students.student_id = course.student_id
- WHERE course.course_name IN ('Physics', 'Math');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement