What's the average number of played games from Rayo Vallecano with less than 12 wins?
CREATE TABLE table_name_81 (played INTEGER, club VARCHAR, wins VARCHAR)
SELECT AVG(played) FROM table_name_81 WHERE club = "rayo vallecano" AND wins < 12
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (played INTEGER, club VARCHAR, wins VARCHAR) Question: What's the average number of played games from Rayo Vallecano with less than 12 wins? [/INST] SELECT AVG(played) FROM table_name_81 WHERE club = "rayo vallecano" AND wins < 12 </s>