0% found this document useful (0 votes)
7 views3 pages

Database Frist Assignment - 111143

database presentation

Uploaded by

mrcharmming.007
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views3 pages

Database Frist Assignment - 111143

database presentation

Uploaded by

mrcharmming.007
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Ghazi University, Dera Ghazi Khan

------------------( Assignment )------------------


 Submitted To,
Dr. Abubakar Siddique
 Submitted By,
Muhammad Yousaf
 Registration No #,
2022-GU-0624
 Subject,
Database System
 Topic,
Formation of Tables and statements
to write quries.
 Class,
Bs-IT ( 4th E-A )
 Department,
Department of CS & IT

---------------------( Assignment No 1 )---------------------


 There are two tables of data in which the different
data of a university exists. The tables are
1. Students_Data
2. Department_Data

Reg-No Name CNIC City Department Gender


2022GU0624 Muhammad 3210281595871 DG D001 M
Yousaf Khan
2022GU0534 Mansoor 3210256789455 Tounsa D005 M
Khosa
2022GU0378 Syed 3210267823671 Jampur D006 M
Hasnain
khan
2022GU0444 Shakeel 3210287651233 Multan D004 M
Abbas
2022GU0245 M Suleman 3220467892345 DG D002 M
Saleem khan
2022GU0678 Samreen 3210566884562 Tounsa D003 F
Gull
2022GU0910 Nasreen 3210678892344 Jampur D001 F
Alam
Table : Students_Data
Dep_ID Dep_name location HOD
D001 Cs IT IT Building Dr. Gulfam
D002 English English literature Center Dr. Haider
D003 Urdu Iqbal Block Dr. Ali Raza
D004 Zoology Science Building Mehmood Khan
D005 Physics Physics block Aman Ullah
D006 Botany Science Building Dr. Farooq
Table : Students_Data

 The statements are given below.


1. Find all those students who are from Zoology
department.
2. Permanently change the name of HOD of department of
Urdu. The new HOD is ‘Dr. Muhammad Qasim’.
3. Who is the student whose CNIC is (3210566884562 )
4. List all detail of those students who are the students of
Dr. Gulfam.
5. Write the CNIC of all those students who are from Tounsa
and are enrolled in Dep of URDU.

You might also like