Use proper query formatting and loop over an array of table names?