Multiple choice technology databases

Can we use a subquery in insert statement

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Yes, subqueries are valid in INSERT statements. You can use INSERT INTO table SELECT ... to populate a table from query results. Both single-row and multi-row inserts support subqueries as the value source.