Le1 DBMS1

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

First City Providential College

Brgy. Narra St., Francisco Homes, City of San Jose del Monte Bulacan

LONG EXAMINATION 1

Course: FUNDAMENTALS OF DATABASE SYSTEMS Date: ________________


Year/Section: ____________________ Score: _______________

Coding/Querying (60 pts. Total):


Write the proper query needed in order to accomplish the task indicated

1. Change John Kenneth’s last name to Delos Santos and his section to BA305.
2. Display all the records of students whose lastname begins in ‘T’, ‘D’, or ‘M’.
3. Display all the records of the students who are currently enrolled in the BSIT, BSCS, or BSAT programs.
4. Display the student id and student’s full name (e.g. Juan A. Dela Cruz) of every student who’s studying at the school’s 2nd branch (ID starts with 002).
5. Identify the lowest Semester Grade from the BSCS program.
6. Display the student id, student’s full name (e.g. Juan A. Dela Cruz), and program of every student whose age is within 18-25 and is currently enrolled in the CoE program.
7. Display all student id, student’s full name (e.g. Juan A. Dela Cruz), age, and Semester grade of each and every one who is considered a 3rd year student.
Note: Semester Grade is the average of all quarter grades
Prepared by: Approved by:

Ronald Abubakr V. Hassan Dr. Leonila Valdez


Faculty, CCS Program Coordinator/Dean, CCS

You might also like