Computer scienceFundamentalsSQL and DatabasesBasics SQLData Modification Language

Basic UPDATE statement

Update Age with SQL Magic

Report a typo

Given a database table 'Customers' with columns 'birth_date', 'current_date' and 'age'. Which of the following SQL UPDATE statements correctly apply the arithmetic expression to calculate and update the 'age' column (based on the 'birth_date' and 'current_date' columns), where 'age' is NULL or less than 18?

Select one option from the list
___

Create a free account to access the full topic