query: SELECT TYPE FROM ship WHERE Tonnage  >  6000 INTERSECT SELECT TYPE FROM ship WHERE Tonnage  <  4000
question: What are the types of the ships have both shiips with tonnage more than 6000 and those with tonnage less than 4000?
query_toks: SELECT TYPE FROM ship WHERE Tonnage > 6000 INTERSECT SELECT TYPE FROM ship WHERE Tonnage < 4000
query_toks_no_value: select type from ship where tonnage > value intersect select type from ship where tonnage < value
question_toks: What are the types of the ships have both shiips with tonnage more than 6000 and those with tonnage less than 4000?