Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE pitstops ( driverid VARCHAR )
TABLE: CREATE TABLE results ( driverid VARCHAR )
TABLE: CREATE TABLE drivers ( surname VARCHAR, driverid VARCHAR )

### Question ###
What are the drivers' last names and id who had 11 pit stops and participated in more than 5 race results?

### Accurate SQL ###

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