Databases · Junior · Question 20 of 75

Why is SELECT * often avoided in application code?

Explanation

Listing columns makes queries explicit and cheaper to transfer, especially when tables have large text or JSON columns.

Further reading

Problem with a question

Databases · Junior · question 20

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