Which Average is the lowest one that has a Total smaller than 134, and a Number of dances smaller than 3, and a Rank by average smaller than 12?
CREATE TABLE table_name_38 (average INTEGER, rank_by_average VARCHAR, total VARCHAR, number_of_dances VARCHAR)
SELECT MIN(average) FROM table_name_38 WHERE total < 134 AND number_of_dances < 3 AND rank_by_average < 12
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (average INTEGER, rank_by_average VARCHAR, total VARCHAR, number_of_dances VARCHAR) Question: Which Average is the lowest one that has a Total smaller than 134, and a Number of dances smaller than 3, and a Rank by average smaller than 12? [/INST] SELECT MIN(average) FROM table_name_38 WHERE total < 134 AND number_of_dances < 3 AND rank_by_average < 12 </s>