Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Date: COMP122 Final Term test Question 2 CREATE a table called FINALSTUDENT with the following fields student no-> primary key with constraint name stu_name Coursename-create

image text in transcribed
Date: COMP122 Final Term test Question 2 CREATE a table called FINALSTUDENT with the following fields student no-> primary key with constraint name stu_name Coursename-create constraint which accept only 'TT' 'Mechanical', Management', Electrical Campus Create a composite primary key in the student table 1. 2. 3. Insert 3 records Write a sql command to Add two columns to student table which is Phone no and Date of joining (default value should be the system date) to the existing table Insert the phone number for all the 3 records 5. 4. Mark the phone no column as unused.verify that the column is no longer available 6. Delete the phone no column in the student table 7. Create a self join query 8. Display all the constraints in FINALSTUDENT table 9. Create a query using the SET operators 10. Create a query using %, like operator

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

Database Technology And Management Computers And Information Processing Systems For Business

Authors: Robert C. Goldstein

1st Edition

0471887374, 978-0471887379

More Books

Students also viewed these Databases questions

Question

Explain what a feasibility analysis is and why its important.

Answered: 1 week ago

Question

Discuss all branches of science

Answered: 1 week ago