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

Create the following tables with appropriate constraints and display the contents of each

table.

Student Table:
REGNO Name Contact_No DNO Total_marks
65001 Akila 8989767787 1 496
65002 Anita 6756456545 1 450
65004 Bala 5656788989 2 475
65005 Bharath 7878787899 2 488
65006 Charu 6767676767 3 476
65007 Chandru 7878799999 3 467

Department Table:
DNo DNAME
1 IT
2 ECE
3 EEE

Faculty Table:
FID FName DNO Salary
101 Ramkumar 1 Rs.28,000/-
102 Raj 1 Rs.30,000/-
103 Anitha 2 Rs.29,000/-
104 Sheela 2 Rs.40,000/-
105 Vinoth 3 Rs.45,000/-

Courses:

CID CNAME DNO FID


501 DBMS 1 101
502 Big data 1 101
601 Image Processing 2 103
602 DSP 2 104
701 GA 3 105

You might also like