SELECT T1.surname ,  T1.driverid FROM drivers AS T1 JOIN pitstops AS T2 ON T1.driverid  =  T2.driverid GROUP BY T1.driverid HAVING count(*)  =  11 INTERSECT SELECT T1.surname ,  T1.driverid FROM drivers AS T1 JOIN results AS T2 ON T1.driverid  =  T2.driverid GROUP BY T1.driverid HAVING count(*)  >  5
What are the last names and ids of all drivers who had 11 pit stops and participated in more than 5 races?
SELECT T1.surname , T1.driverid FROM drivers AS T1 JOIN pitstops AS T2 ON T1.driverid = T2.driverid GROUP BY T1.driverid HAVING count ( * ) = 11 INTERSECT SELECT T1.surname , T1.driverid FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid GROUP BY T1.driverid HAVING count ( * ) > 5
select t1 . surname , t1 . driverid from drivers as t1 join pitstops as t2 on t1 . driverid = t2 . driverid group by t1 . driverid having count ( * ) = value intersect select t1 . surname , t1 . driverid from drivers as t1 join results as t2 on t1 . driverid = t2 . driverid group by t1 . driverid having count ( * ) > value
What are the last names and ids of all drivers who had 11 pit stops and participated in more than 5 races ?