Which Constructor has a Grid smaller than 24, more than 77 laps, and a Driver of jean-pierre beltoise?
CREATE TABLE table_name_53 (constructor VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT constructor FROM table_name_53 WHERE grid < 24 AND laps > 77 AND driver = "jean-pierre beltoise"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (constructor VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR) Question: Which Constructor has a Grid smaller than 24, more than 77 laps, and a Driver of jean-pierre beltoise? [/INST] SELECT constructor FROM table_name_53 WHERE grid < 24 AND laps > 77 AND driver = "jean-pierre beltoise" </s>