Data access module: execute query