0% found this document useful (0 votes)
16 views19 pages

Merged Dbms Final)

The document outlines a series of assignments related to student data management in a Computer Science and Engineering department. It includes tasks such as displaying student details based on specific criteria, finding marks and subjects, and creating database views for various student and faculty information. The assignments cover a range of queries focusing on student performance, departmental statistics, and data organization.

Uploaded by

Anik Poddar
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)
16 views19 pages

Merged Dbms Final)

The document outlines a series of assignments related to student data management in a Computer Science and Engineering department. It includes tasks such as displaying student details based on specific criteria, finding marks and subjects, and creating database views for various student and faculty information. The assignments cover a range of queries focusing on student performance, departmental statistics, and data organization.

Uploaded by

Anik Poddar
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/ 19

1

ASSIGNMENT - 6

1. Display name, phone number of students with ‘a’ as the second letter in their names who read
subject CS301.

2. Display the marks for all available subjects for the students who born in JUNE.

3. Show the student details of 5th semester Computer science and engineering Department.

4. Show the subject details of 3rd semester Computer science and engineering Department.

5. Display the department name for which some student get more than 90.
2

6. Display the student name who reads in 5th semester and get more than 80 in any subject.
3

7. Display the name of CSE student who born in 2000 and get more than 80 in CS301.

8. Display the department details with less than 80 students which has subject name Data
Communication.

9. Display subject name, subject code of the department with allotted student less than 100.

10. Show Roll number, subject code and marks for CSE 3rd year students where subject name starts
with D.

11. Display roll number, subject and marks of students who took admission in the year 2017 and
read subject CS505.

12. Find the student details of CSE students whose marks are not available in result.
4

13. Find the subject name, subject code which is not included in result.
5

Assignment – 7

1. Display student names along with the department name.

2. Display student names, subject code and marks of students who took admission in the year 2017
and read subject CS502.

3. Find the name of the students who got marks between 70 to 89 in CS501.

4. Find the student name, roll no who appeared in the examination for paper DBMS.
6
7

5. Show student names, subject code and marks for CSE 3rd year students.

6. Show student names, department name for 5 th semester students who born in MAY.

7. Show student names, subject name for 5th semester student where subject name contains the
word ‘DATA’

8. Show student names, subject name and marks for 5th semester students.
8

9. Find the roll number, student names and marks for CSE students who get more than 80 in Data
Structure.
9

10. Show student names, department name, subject name and subject wise marks for which the
student get more than 90.

11. Add column HOD in DEPARTMENT. Insert faculty id in place of HoD.

12. Add column TEACHER in table SUBJECT. Insert faculty id in this column.

13. Show the department name, semester, subject name along with faculty name.

14. Find the names of all faculties whose HOD name is given.
10

15. Display subject name, subject code, marks including all subjects. [Outer join]
11

16. Display students name, subject code, marks. Include all students. [Outer join]
12

Assignment – 8

1. Find the number of student in CSE second year.

2. Find the number of students whose marks of any subject is available.

3. Find total number of faculty.

4. Find the 5th semester student(s) who got maximum marks in a subject.

5. Find the roll number of a student who got maximum marks in CS501.

6. Display average marks of CS502.


13
14

7. Find the number of students in each department with their department code.

8. Find the number of students in each department with their department name.

9. Find the Department with more than three faculty.

10. Find the student name and roll no who get more than 80 in at least two subject.

11. Find the student name and roll no who get more than 70 in average.

12. Display number of subject semester wise in dept CSE.


15

13. Find the department name with maximum number of student.


16

14. Find the second highest marks of the result table.

15. Find the students name who got highest marks, subjectwise.
17

ASSIGNMENT – 9
1. Create view V_MARKS with roll no, student name, subject code, marks of all
CSE students.

2. Create view V_CLASSTAKEN with subject code, subject name, Faculty code,
faculty name where the subject is taught by that faculty.
18

3. Create view V_SUBJECT with subject_code, subject_name, teacher name


where number of student in the subject is more than 1.

4. Create view V_STUDENT with student name, roll number, department who
appeared in at least one examination.
19

5. Create view V_DEPT with dept code, semester, number of student with more
than 75 marks in at least one subject.

You might also like