Databases · Junior · Question 33 of 75

Which statement adds a row?

Explanation

List the columns explicitly so the statement keeps working if columns are added. PostgreSQL's RETURNING id returns generated values in the same query.

Further reading

Problem with a question

Databases · Junior · question 33

Test yourself

Take the Databases · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz