Question: Consider the following command: UPDATE customer SET customer _ id = customer _ id - - 1 ; What happens if we run this command
Consider the following command:
UPDATE customer
SET customerid customerid ;
What happens if we run this command in MySQL
The customer table has every customerid set to the same value as it previously had.
The customerid in the customer table for all records is decremented by
The customerid in the customer table for all records is incremented by
An error is thrown due to the
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
