0% found this document useful (0 votes)
11 views2 pages

Lab Assignment - 04

The document describes a lab assignment to create a student and course database with specified tables and fields. It provides 15 queries to perform on the databases including listing students by course, grade, year of admission and other criteria as well as courses by fee amount, credit hours and other attributes.

Uploaded by

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

Lab Assignment - 04

The document describes a lab assignment to create a student and course database with specified tables and fields. It provides 15 queries to perform on the databases including listing students by course, grade, year of admission and other criteria as well as courses by fee amount, credit hours and other attributes.

Uploaded by

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

Lab Assignment: 04

Create a database of any college and include the following tables:


Student
Sr.No PRN Name Year of Course Grade Subject Duration Credit Year
Admission Name of
course
1 XX XX 2020 BCA A AI 3 6 I
2 MBA B Maths 2 4 II
CSE F Data 4 6 I
Science

Course
Course-id Name Fee Duration in
year

1. Create a student table of minimum of 20 entries according to the below queries and a
course table of minimum of 5 entries.(Note: prepare database so that at least 3 entries will
get for queries, refer above table for references. Students can update the fields the same )
2. List all those students who opted for the CSE course.
3. List all those students who opted for CSE and MBA courses.
4. List all those courses whose fee is greater than that of the BBA course.
5. List all students who got grades A
6. List all students who got grade A in BCA in 2020
7. Find a list of students who took admissions in the year 2022
8. List courses of credit 6
9. List courses of credit 6 and 8
10. Drop the Duration of course column from the Student database
11. Update Row 5 with Name – Ram Kumar, course BBA Subject Maths ( fill other data of
your choice)
12. Assign Primary key to right field
13. List all the entries of the subject AI
14. List all students whose duration of course is greater than or equal to 3
15. Fire 5 queries of your choices
a) List all those students with subject eco and math
b) List all those students who took admission in 2020 in the aesc order of their name
c) List all those students whose name start with letter ‘r’.
d) List all those students who are studying in 1st year.
e) List all those students with credit 8 and studying in 3rd year.

You might also like