80% of programs read/fetch from some input (table) , process, and write/insert some output (table). That's almost the definition of "a program". Why it should be in batches of 5 I have no idea. maybe he needs to print them side by side, package 5 items in a box, commit every 5, ... He could just fetch 5 times, but multi-row is faster
I can explain it to you, but i can not understand it for you.