run multiple sql queries