select statement inside loop
I am having multiple select statements inside loop. I need to write select query's outside loop and use read statement inside loop. Will the read statement fetch all the fields? I have no clear idea of writing the read table inside a loop. Can anyone provide me the sample code for writing multiple select outside loop?