What is the total number of Podiums, when Position is "2nd", when Wins is less than 6, and when Poles is greater than 0?
CREATE TABLE table_name_31 (podiums VARCHAR, poles VARCHAR, position VARCHAR, wins VARCHAR)
SELECT COUNT(podiums) FROM table_name_31 WHERE position = "2nd" AND wins < 6 AND poles > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (podiums VARCHAR, poles VARCHAR, position VARCHAR, wins VARCHAR) Question: What is the total number of Podiums, when Position is "2nd", when Wins is less than 6, and when Poles is greater than 0? [/INST] SELECT COUNT(podiums) FROM table_name_31 WHERE position = "2nd" AND wins < 6 AND poles > 0 </s>