Run query to database query adventure