Database: formula_1
Question: What are the drivers' first, last names and the id who had more than 8 pit stops or participated in more than 5 race results?
SQL: select t1.forename ,  t1.surname ,  t1.driverid from drivers as t1 join pitstops as t2 on t1.driverid  =  t2.driverid group by t1.driverid having count(*)  >  8 union select t1.forename ,  t1.surname ,  t1.driverid from drivers as t1 join results as t2 on t1.driverid  =  t2.driverid group by t1.driverid having count(*)  >  5