Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create the required tables and triggers for the following BITS Database: a . Create a table Student with name, register number, courses ( SDP ,
Create the required tables and triggers for the following BITS Database:
a Create a table Student with name, register number, courses SDP SIA, DD total and average. mark
b Create table Result with attributes register number and result. mark
c Create a trigger that inserts data into the result table as soon as data is entered in the student table. The result of the student is PASS if he obtains more than marks in all courses. marks
dInsert data into the table Student. mark
e Create table Class with attributes register number and semester. mark.
fCreate a trigger that updates the attribute semester in the Class table by incrementing the value by one whenever the data in the student result table is updated and the student has passed in all the subjects. marks
g Give the sample input and the contents of the tables to show the effect of the triggers. marks
PLEASE DONT GIVE CHATGPT ANSWER
Give the answer within mins please
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started