query: SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend IN (SELECT name FROM Person WHERE age  >  40) INTERSECT SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name  =  T2.name WHERE T2.friend IN (SELECT name FROM Person WHERE age  <  30)
question: What name every person who have friend 40 and under 30?
query_toks: SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend IN ( SELECT name FROM Person WHERE age > 40 ) INTERSECT SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend IN ( SELECT name FROM Person WHERE age < 30 )
query_toks_no_value: select t1 . name from person as t1 join personfriend as t2 on t1 . name = t2 . name where t2 . friend in ( select name from person where age > value ) intersect select t1 . name from person as t1 join personfriend as t2 on t1 . name = t2 . name where t2 . friend in ( select name from person where age < value )
question_toks: What name every person who have friend 40 and under 30?