Professional Documents
Culture Documents
E-8, ISLAMABAD
LAB JOURNAL 14
Set Operations
Make two tables for Engineering student and Management Student. Insert the records
shown below:
Engineering Table:
Output:
2. Show students from both tables whose CGPA is below 2.00
Query:
SELECT *
FROM ENGINEERING_STUDENT
JOIN MANAGEMENT_STUDENT
ON ENGINEERING_STUDENT.Semester_Number =
MANAGEMENT_STUDENT.Semester_Number
WHERE ENGINEERING_STUDENT.CGPA < 2
AND MANAGEMENT_STUDENT.CGPA < 2 ;
Output:
Output:
Output:
End of Assessment