What were the lowest laps of Luigi Musso driving a Ferrari with a Grid larger than 2?
CREATE TABLE table_name_31 (laps INTEGER, driver VARCHAR, constructor VARCHAR, grid VARCHAR)
SELECT MIN(laps) FROM table_name_31 WHERE constructor = "ferrari" AND grid > 2 AND driver = "luigi musso"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (laps INTEGER, driver VARCHAR, constructor VARCHAR, grid VARCHAR) Question: What were the lowest laps of Luigi Musso driving a Ferrari with a Grid larger than 2? [/INST] SELECT MIN(laps) FROM table_name_31 WHERE constructor = "ferrari" AND grid > 2 AND driver = "luigi musso" </s>