What is the average total medals Egypt, who has less than 2 gold, has?
CREATE TABLE table_name_67 (total INTEGER, nation VARCHAR, gold VARCHAR)
SELECT AVG(total) FROM table_name_67 WHERE nation = "egypt" AND gold < 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (total INTEGER, nation VARCHAR, gold VARCHAR) Question: What is the average total medals Egypt, who has less than 2 gold, has? [/INST] SELECT AVG(total) FROM table_name_67 WHERE nation = "egypt" AND gold < 2 </s>