Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I'm having a bit of trouble setting up a command for this, any tips? (MySQL) Update table room to set the value of column roomtype

I'm having a bit of trouble setting up a command for this, any tips? (MySQL)

Update table room to set the value of column roomtype equal to the corresponding id value in the table roomtype. This requires a select * from roomtype; to see what the id value is for each roomDesc. For example, in my database

a. 1 | Critical

b. 2 | Private

c. 3 | Semi-Private

I think i need to use a Join but I'm not sure, any tips are appreciated !

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

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

Students also viewed these Databases questions

Question

Describe the options and trends in management education

Answered: 1 week ago