Professional Documents
Culture Documents
Lab 7
Lab 7
Section B
Lab Report # 07
Muhammad Jahangir
21-cs-089
Basit Ali
21-cs-104
Muhammad Alrayan
21-cs-107
Instructor: Fatima Rauf
1 Create a table student having primary key with the following schema:
(std_ID, std_Name, DB_marks,DB_paperdate, CN_marks, CN_paperdate)
2 Insert at least 7 rows in the table
3 Calculate average of database and computer networks marks
4 Minimum of database marks
Conclusion
The provided SQL queries allow for the creation, insertion, and effective querying of a "student"
table. They help calculate averages, find minimum and maximum values, count distinct records,
and display results sorted by student name and database marks. These operations provide valuable
insights into student performance in database and computer networks courses.