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 ( Rollno , Name, Sem, Degree,

Create a relational database schema for a Minor-Project, described by the following
relations and Insert tuples.
STUDENT (Rollno, Name, Sem, Degree, Contact no, Guide_No)
GUIDE (Guide_name, Guide_No, Guide_reserach_domain, Contat_No, Email_Id)
PROJECT (Project_No, Project_title, Project_Area, Start_dt, dt, Guide_No,) GROUP
(Group_Code, Roll_No,)
PROJECT_GROUP (Group_Code, Project_No, no_of_students)
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(10).
2) Add a Check constraint on Gender attribute(Student Table) such that this attribute
accept only (M,F,m,f) 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 7th
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

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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2014 Nancy France September 15 19 2014 Proceedings Part I Lnai 8724

Authors: Toon Calders ,Floriana Esposito ,Eyke Hullermeier ,Rosa Meo

2014th Edition

3662448475, 978-3662448472

More Books

Students also viewed these Databases questions