Professional Documents
Culture Documents
Quiz 02 - Solution
Quiz 02 - Solution
Quiz 02 - Solution
Database Management Systems/ Introduction To Database Systems, Spring 2024
Teacher Name: Sadia Zar Class: BS (SE/AI) Date: April 16, 2024, Total Marks: 10
-------------------------------------------------------------------------------------------------------- -----------------------------------------
Instructions: Copied or shown Quizes will be marked zero. Late submissions are not
entertained in any case.
2. Retrieve the names and ages of students who are older than 25:
3. Retrieve the names and ages of students who are enrolled in a class called 'Physics101'
4. Retrieve the name and age of students who are at junior level (slevel) and are enrolled in the
department with ID 102
5. Retrieve the names and ages of students who are at least 18 years old and not older than 25
6. Retrieve the names and ages of students who are not in the sophomore level (slevel !=
'Sophomore')
7. Add a new student named "John" with age 20, enrolled in department with ID 101, and at
sophomore level.