Multiple choice technology programming languages

How many times pre query and post query fired when we fetch 10 record from a table ?

  1. 1,1

  2. 1,10

  3. 10,10

  4. 10,1

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

Pre-query trigger fires once before the query executes. Post-query trigger fires once per record fetched, so for 10 records it fires 10 times. This makes option B (1,10) correct.