Help needed in using an array to replace nested sql queries

Printable View