Lab Assignment - 04
Lab Assignment - 04
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.