SQL_Join
SQL_Join
Inner Join -
Return Records that have matching values in both tables
Syntax –
SELECT column(s)
FROM tableA
INNER JOIN tableB
ON tableA.col_name = tableB.col_name;
Student
Student_id Name
101 Adam
102 Bob
103 Casey
course
Student_id Course
102 English
105 Math
103 Science
107 Computer Science
SELECT *
FROM student
INNER JOIN course
ON student.student_id = course.student_id
RESULT –
Rest of the queries are same just change the query and execute each query according to you
and prac ce more!!!