Professional Documents
Culture Documents
My QueriSQL QUERIES
My QueriSQL QUERIES
/* cross join */
/* cross join */
JOIN student_grades
ON students.id = student_grades.student_id
/* outer join */
SELECT students.first_name, students.last_name, student_projects.title
FROM students
ON students.id = student_projects.student_id;
/* self join */
FROM students
ON students.buddy_id = buddies.id;
DELETE
FROM Act
WHERE Act_ID is NULL