Consider the Recreation relation in the exhibit. A data operation that changes one of the tuples for Student_ID 1003 mus

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Consider the Recreation relation in the exhibit. A data operation that changes one of the tuples for Student_ID 1003 mus

Post by answerhappygod »

Consider the Recreation relation in the exhibit. A data operation that changes one of the tuples for Student_ID 1003 must be performed. It is necessary to change one of the activities from swimming to tennis. The Student_ID and Activity attributes make up the primary key for the Recreation relation. All related information must be altered, as well. Which SQL statement or statements would best accomplish this?
Consider The Re 1
Consider The Re 1 (79.12 KiB) Viewed 64 times
A. UPDATE Recreation SET Activity, Activity_Fee (Tennis,100) WHERE Student_ID = 1003;
B. UPDATE TABLE Recreation ALTER COLUMN ACTIVITY SET ACTIVITY = Tennis', Activity_Fee = 100 WHERE Student__ID = 1003 AND Activity = wimming?AND Activity = ?wimming?
C. UPDATE Recreation SET Activity = Tennis', Activity_Fee = 100 WHERE Student_ID = 1003 AND Activity = 'Swimming';
D. DELETE Activity FROM Recreation WHERE Student_ID = 1003; INSERT INTO Recreation VALUES (1003, Tennis', 100);
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!

This topic has 1 reply

You must be a registered member and logged in to view the replies in this topic.


Register Login
 
Post Reply