DBMS

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

PRINCIPLES OF DATABASE MANAGEMENT SYSTEM (any one) Q1) CONSIDER THE FOLLOWING ENTITIES AND THEIR RELATIONSHIPS: subject(sb_no,

sb_name, sb_score) student(st_no, st_name, st_class, st_age) subject and student are related with many to many relationships. CREATE A RELATIONSHIP DATABASE FOR ABOVE .

Q2) USE THE ABOVE DATA FOR SOLVING FOLLOWING QUERIES. a. write a trigger, which will get activated when subject statistics is updated. it should update the marks entered in the range of 28 to 31 to passing marks 32. b. write a stored procedure,which will take subject name as parameter and will find out names of students those who had attempted the subject.

Q3) Create a database in the SQL server with a table named student having fields - "student name", "class", and "percentage". Fill in the data. Write a program that would use the SQL server.NET data provider to retrieve and display the list of students that have percentage above 60%.

You might also like