Question: 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
Get step-by-step solutions from verified subject matter experts
