Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a relational database schema for a Minor - Project, described by the following relations and Insert tuples. STUDENT ( Rollnea _ Name, Sem, Degree,

Create a relational database schema for a Minor-Project, described by the following
relations and Insert tuples.
STUDENT (Rollnea_Name, Sem, Degree, Contact no, Guide_No)
GUIDE (Guide_name, Contat_No, Email_ld)
PROJECT Project_Area, Start_dt, dt, Guide_No,) GROUP
(Group-Code.-RQlLNQ.)
PROJECT_GROUP (Group Code. Project No.
Specify the following queries in SQL on the database schema Minor_Project .
1) Change the data type of attribute Rollo (Student Table), from Number (10) to
Varchar2(IO).
2) Add a Check constraint on Gender attribute(Student Table) such that this attribute
accept only values.
3) Add a constraint on Degree (Student table), such that no null values be inserted.
4) Find the list of guide, who are guiding more than two student groups.
5) Find the list of project no, project name & name of guide, in domain of DataBase.
6) Update the project start_date with 01 July 2015 for student, who enrolled in 7
semester.
7) Update guide details of a roll no '110011', new guide is 'Ram Mohan' & id
'112200'.
8) Remove the Guide details, guide no is '112211' and assign guide no "133113" to
all respective students project group.

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_2

Step: 3

blur-text-image_3

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

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

3rd Edition

978-1119907466

Students also viewed these Databases questions

Question

What is mediator and how does it work?

Answered: 1 week ago

Question

Find the exact length of the polar curve. r = 5 , 0 2

Answered: 1 week ago

Question

What does Processing of an OLAP Cube accomplish?

Answered: 1 week ago