Answered step by step
Verified Expert Solution
Link Copied!

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. 1 mark
b. Create table Result with attributes register number and result. 1 mark
c.Create a trigger that inserts data into the result
table as soon as data is entered in the student lable. The result of the stud
obtains more than 40 marks in all courses. 2 marks
d.Insert data into the table Student. 1 mark
4522-890
+
e.Create table Class with attributes register number and semester. 1 mark.
f. Create a trigger that updates the attribute semester in the Class table by incrementing the value by one whenever the data se
table is updated and the student has passed in all the subjects. 2 marks
g. Give the sample input and the contents of the tables to show the effect of the triggers. 2 mark

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases In Action

Authors: Dave Bechberger, Josh Perryman

1st Edition

1617296376, 978-1617296376

More Books

Students also viewed these Databases questions