adding table alias t, returning result.rows