As you have only one query to execute for each table, don't use an array here