<Table> 2017 Spanish Grand Prix <Tr> <Th_colspan="4"> Race details </Th> </Tr> <Tr> <Td_colspan="4"> Race 5 of 20 in the 2017 FIA Formula One World Championship </Td> </Tr> <Tr> <Td_colspan="4"> Layout of the Circuit de Barcelona - Catalunya </Td> </Tr> <Tr> <Th> Date </Th> <Td_colspan="3"> 14 May 2017 (2017 - 05 - 14) </Td> </Tr> <Tr> <Th> Official name </Th> <Td_colspan="3"> Formula 1 Gran Premio de España Pirelli 2017 </Td> </Tr> <Tr> <Th> Location </Th> <Td_colspan="3"> Circuit de Barcelona - Catalunya Montmeló, Spain </Td> </Tr> <Tr> <Th> Course </Th> <Td_colspan="3"> Permanent racing facility </Td> </Tr> <Tr> <Th> Course length </Th> <Td_colspan="3"> 4.655 km (2.892 mi) </Td> </Tr> <Tr> <Th> Distance </Th> <Td_colspan="3"> 66 laps, 307.104 km (190.825 mi) </Td> </Tr> <Tr> <Th> Attendance </Th> <Td_colspan="3"> 177,984 </Td> </Tr> <Tr> <Th_colspan="4"> Pole position </Th> </Tr> <Tr> <Th> Driver </Th> <Td> <Ul> <Li> Lewis Hamilton </Li> </Ul> </Td> <Td> Mercedes </Td> </Tr> <Tr> <Th> Time </Th> <Td_colspan="3"> 1: 19.149 </Td> </Tr> <Tr> <Th_colspan="4"> Fastest lap </Th> </Tr> <Tr> <Th> Driver </Th> <Td> Lewis Hamilton </Td> <Td> Mercedes </Td> </Tr> <Tr> <Th> Time </Th> <Td_colspan="3"> 1: 23.593 on lap 64 </Td> </Tr> <Tr> <Th_colspan="4"> Podium </Th> </Tr> <Tr> <Th> First </Th> <Td> <Ul> <Li> Lewis Hamilton </Li> </Ul> </Td> <Td> Mercedes </Td> </Tr> <Tr> <Th> Second </Th> <Td> <Ul> <Li> Sebastian Vettel </Li> </Ul> </Td> <Td> Ferrari </Td> </Tr> <Tr> <Th> Third </Th> <Td> <Ul> <Li> Daniel Ricciardo </Li> </Ul> </Td> <Td> Red Bull - TAG Heuer </Td> </Tr> <Tr> <Td_colspan="4"> Lap leaders (show) <Ul> <Li> </Li> </Ul> </Td> </Tr> </Table> <Tr> <Th_colspan="4"> Race details </Th> </Tr>

Who won the 2017 formula 1 spanish grand prix