Question: In the RMA database, update a customer's records. Write a SQL statement to select the current fields of status and step for the record in
In the RMA database, update a customer's records.
Write a SQL statement to select the current fields of status and step for the record in the RMA table with an OrderID value of
What are the current status and step?
Write a SQL statement to update the status and step for the OrderID, to status "Complete" and step "Credit Customer Account".
What are the updated status and step values for this record?
e Delete RMA records.
Write a SQL statement to delete all records with a reason of "Rejected".
How many records were deleted? It says not sure if this because I am struggling with updating the status.
Right now I am getting an error and cannot seem to get it fixed and I don't understand why? mysql UPDATE RMA SET Status 'Complete', Step 'Credit Customer Account' WHERE OrderID ;
ERROR : Data too long for column 'Step' at row
mysql ALTER TABLE Orders MODIFY STEP Description VARCHAR;
ERROR : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near De scription VARCHAR at line
mysql
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
