SELECT type,
       term
  FROM query;
