instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
What's the score of the game with 31-29 record?
CREATE TABLE table_22669044_10 (score VARCHAR, record VARCHAR)
SELECT score FROM table_22669044_10 WHERE record = "31-29"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22669044_10 (score VARCHAR, record VARCHAR) Question: What's the score of the game with 31-29 record? [/INST] SELECT score FROM table_22669044_10 WHERE record = "31-29" </s>
Name the country for gerrard
CREATE TABLE table_22667773_8 (country VARCHAR, name VARCHAR)
SELECT country FROM table_22667773_8 WHERE name = "Gerrard"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22667773_8 (country VARCHAR, name VARCHAR) Question: Name the country for gerrard [/INST] SELECT country FROM table_22667773_8 WHERE name = "Gerrard" </s>
Name the total number of eu for quinn
CREATE TABLE table_22667773_8 (COUnT VARCHAR, name VARCHAR)
SELECT COUnT AS eu FROM table_22667773_8 WHERE name = "Quinn"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22667773_8 (COUnT VARCHAR, name VARCHAR) Question: Name the total number of eu for quinn [/INST] SELECT COUnT AS eu FROM table_22667773_8 WHERE name = "Quinn" </s>
Name the team for w 115–104 (ot)
CREATE TABLE table_22669044_8 (team VARCHAR, score VARCHAR)
SELECT team FROM table_22669044_8 WHERE score = "W 115–104 (OT)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22669044_8 (team VARCHAR, score VARCHAR) Question: Name the team for w 115–104 (ot) [/INST] SELECT team FROM table_22669044_8 WHERE score = "W 115–104 (OT)" </s>
Name the number of record for united center 18,838
CREATE TABLE table_22669044_8 (record VARCHAR, location_attendance VARCHAR)
SELECT COUNT(record) FROM table_22669044_8 WHERE location_attendance = "United Center 18,838"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22669044_8 (record VARCHAR, location_attendance VARCHAR) Question: Name the number of record for united center 18,838 [/INST] SELECT COUNT(record) FROM table_22669044_8 WHERE location_attendance = "United Center 18,838" </s>
Name the team for united center 22,147
CREATE TABLE table_22669044_9 (team VARCHAR, location_attendance VARCHAR)
SELECT team FROM table_22669044_9 WHERE location_attendance = "United Center 22,147"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22669044_9 (team VARCHAR, location_attendance VARCHAR) Question: Name the team for united center 22,147 [/INST] SELECT team FROM table_22669044_9 WHERE location_attendance = "United Center 22,147" </s>
Name the high rebounds for new york
CREATE TABLE table_22669044_9 (high_rebounds VARCHAR, team VARCHAR)
SELECT high_rebounds FROM table_22669044_9 WHERE team = "New York"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22669044_9 (high_rebounds VARCHAR, team VARCHAR) Question: Name the high rebounds for new york [/INST] SELECT high_rebounds FROM table_22669044_9 WHERE team = "New York" </s>
Name the number of high rebounds for united center 19,335
CREATE TABLE table_22669044_9 (high_rebounds VARCHAR, location_attendance VARCHAR)
SELECT COUNT(high_rebounds) FROM table_22669044_9 WHERE location_attendance = "United Center 19,335"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22669044_9 (high_rebounds VARCHAR, location_attendance VARCHAR) Question: Name the number of high rebounds for united center 19,335 [/INST] SELECT COUNT(high_rebounds) FROM table_22669044_9 WHERE location_attendance = "United Center 19,335" </s>
Name the team for kirk hinrich , derrick rose , john salmons (6)
CREATE TABLE table_22669044_9 (team VARCHAR, high_assists VARCHAR)
SELECT team FROM table_22669044_9 WHERE high_assists = "Kirk Hinrich , Derrick Rose , John Salmons (6)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22669044_9 (team VARCHAR, high_assists VARCHAR) Question: Name the team for kirk hinrich , derrick rose , john salmons (6) [/INST] SELECT team FROM table_22669044_9 WHERE high_assists = "Kirk Hinrich , Derrick Rose , John Salmons (6)" </s>
Name the high points 31-27
CREATE TABLE table_22669044_9 (high_points VARCHAR, record VARCHAR)
SELECT high_points FROM table_22669044_9 WHERE record = "31-27"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22669044_9 (high_points VARCHAR, record VARCHAR) Question: Name the high points 31-27 [/INST] SELECT high_points FROM table_22669044_9 WHERE record = "31-27" </s>
What is the location is the winning driver is Bill Vukovich II?
CREATE TABLE table_22670216_1 (location VARCHAR, winning_driver VARCHAR)
SELECT location FROM table_22670216_1 WHERE winning_driver = "Bill Vukovich II"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22670216_1 (location VARCHAR, winning_driver VARCHAR) Question: What is the location is the winning driver is Bill Vukovich II? [/INST] SELECT location FROM table_22670216_1 WHERE winning_driver = "Bill Vukovich II" </s>
If the track is the Wisconsin State Fair Park Speedway and the winning driver is Wally Dallenbach, what was the location?
CREATE TABLE table_22670216_1 (location VARCHAR, winning_driver VARCHAR, track VARCHAR)
SELECT location FROM table_22670216_1 WHERE winning_driver = "Wally Dallenbach" AND track = "Wisconsin State Fair Park Speedway"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22670216_1 (location VARCHAR, winning_driver VARCHAR, track VARCHAR) Question: If the track is the Wisconsin State Fair Park Speedway and the winning driver is Wally Dallenbach, what was the location? [/INST] SELECT location FROM table_22670216_1 WHERE winning_driver = "Wally Dallenbach" AND track = "Wisconsin State Fair Park Speedway" </s>
If the location is Brooklyn, Michigan and the pole position is Bobby Unser, what is the RND total number?
CREATE TABLE table_22670216_1 (rnd VARCHAR, location VARCHAR, pole_position VARCHAR)
SELECT COUNT(rnd) FROM table_22670216_1 WHERE location = "Brooklyn, Michigan" AND pole_position = "Bobby Unser"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22670216_1 (rnd VARCHAR, location VARCHAR, pole_position VARCHAR) Question: If the location is Brooklyn, Michigan and the pole position is Bobby Unser, what is the RND total number? [/INST] SELECT COUNT(rnd) FROM table_22670216_1 WHERE location = "Brooklyn, Michigan" AND pole_position = "Bobby Unser" </s>
If the pole position is Johnny Rutherford and the track is the Ontario Motor Speedway, what is the RND total number?
CREATE TABLE table_22670216_1 (rnd VARCHAR, track VARCHAR, pole_position VARCHAR)
SELECT COUNT(rnd) FROM table_22670216_1 WHERE track = "Ontario Motor Speedway" AND pole_position = "Johnny Rutherford"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22670216_1 (rnd VARCHAR, track VARCHAR, pole_position VARCHAR) Question: If the pole position is Johnny Rutherford and the track is the Ontario Motor Speedway, what is the RND total number? [/INST] SELECT COUNT(rnd) FROM table_22670216_1 WHERE track = "Ontario Motor Speedway" AND pole_position = "Johnny Rutherford" </s>
Name the laps of october 26
CREATE TABLE table_2267857_1 (laps VARCHAR, date VARCHAR)
SELECT laps FROM table_2267857_1 WHERE date = "October 26"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2267857_1 (laps VARCHAR, date VARCHAR) Question: Name the laps of october 26 [/INST] SELECT laps FROM table_2267857_1 WHERE date = "October 26" </s>
Name the date for 2006
CREATE TABLE table_2267857_1 (date VARCHAR, year VARCHAR)
SELECT date FROM table_2267857_1 WHERE year = 2006
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2267857_1 (date VARCHAR, year VARCHAR) Question: Name the date for 2006 [/INST] SELECT date FROM table_2267857_1 WHERE year = 2006 </s>
Name the number of year for dick hutcherson
CREATE TABLE table_2267857_1 (year VARCHAR, driver VARCHAR)
SELECT COUNT(year) FROM table_2267857_1 WHERE driver = "Dick Hutcherson"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2267857_1 (year VARCHAR, driver VARCHAR) Question: Name the number of year for dick hutcherson [/INST] SELECT COUNT(year) FROM table_2267857_1 WHERE driver = "Dick Hutcherson" </s>
Name the total number for report july 23
CREATE TABLE table_2267857_1 (report VARCHAR, date VARCHAR)
SELECT COUNT(report) FROM table_2267857_1 WHERE date = "July 23"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2267857_1 (report VARCHAR, date VARCHAR) Question: Name the total number for report july 23 [/INST] SELECT COUNT(report) FROM table_2267857_1 WHERE date = "July 23" </s>
What party won with a margin of 105731?
CREATE TABLE table_22756549_1 (party VARCHAR, margin VARCHAR)
SELECT party FROM table_22756549_1 WHERE margin = 105731
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22756549_1 (party VARCHAR, margin VARCHAR) Question: What party won with a margin of 105731? [/INST] SELECT party FROM table_22756549_1 WHERE margin = 105731 </s>
What party is the winner K. Anbazhagan from?
CREATE TABLE table_22756549_1 (party VARCHAR, winner VARCHAR)
SELECT party AS a FROM table_22756549_1 WHERE winner = "K. Anbazhagan"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22756549_1 (party VARCHAR, winner VARCHAR) Question: What party is the winner K. Anbazhagan from? [/INST] SELECT party AS a FROM table_22756549_1 WHERE winner = "K. Anbazhagan" </s>
How many times did M. Gounder win for Party A?
CREATE TABLE table_22756549_1 (party VARCHAR, winner VARCHAR)
SELECT COUNT(party) AS a FROM table_22756549_1 WHERE winner = "M. Gounder"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22756549_1 (party VARCHAR, winner VARCHAR) Question: How many times did M. Gounder win for Party A? [/INST] SELECT COUNT(party) AS a FROM table_22756549_1 WHERE winner = "M. Gounder" </s>
Who won when V. A. Muthiah was the runner-up?
CREATE TABLE table_22756549_1 (winner VARCHAR, runner_up_a VARCHAR)
SELECT winner FROM table_22756549_1 WHERE runner_up_a = "V. A. Muthiah"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22756549_1 (winner VARCHAR, runner_up_a VARCHAR) Question: Who won when V. A. Muthiah was the runner-up? [/INST] SELECT winner FROM table_22756549_1 WHERE runner_up_a = "V. A. Muthiah" </s>
What party was the winner when A. Krishnaswamy was the runner-up?
CREATE TABLE table_22756549_1 (party VARCHAR, runner_up_a VARCHAR)
SELECT party FROM table_22756549_1 WHERE runner_up_a = "A. Krishnaswamy"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22756549_1 (party VARCHAR, runner_up_a VARCHAR) Question: What party was the winner when A. Krishnaswamy was the runner-up? [/INST] SELECT party FROM table_22756549_1 WHERE runner_up_a = "A. Krishnaswamy" </s>
Who was the runner up for the Nagapattinam constituency?
CREATE TABLE table_22756549_1 (runner_up_a VARCHAR, constituency VARCHAR)
SELECT runner_up_a FROM table_22756549_1 WHERE constituency = "Nagapattinam"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22756549_1 (runner_up_a VARCHAR, constituency VARCHAR) Question: Who was the runner up for the Nagapattinam constituency? [/INST] SELECT runner_up_a FROM table_22756549_1 WHERE constituency = "Nagapattinam" </s>
who ended runner-up to sankar adhi?
CREATE TABLE table_22757733_4 (runner_up_a VARCHAR, winner VARCHAR)
SELECT runner_up_a FROM table_22757733_4 WHERE winner = "Sankar Adhi"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22757733_4 (runner_up_a VARCHAR, winner VARCHAR) Question: who ended runner-up to sankar adhi? [/INST] SELECT runner_up_a FROM table_22757733_4 WHERE winner = "Sankar Adhi" </s>
which was k. annamalai´s party a?
CREATE TABLE table_22757733_4 (party VARCHAR, runner_up_a VARCHAR)
SELECT party AS a FROM table_22757733_4 WHERE runner_up_a = "K. Annamalai"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22757733_4 (party VARCHAR, runner_up_a VARCHAR) Question: which was k. annamalai´s party a? [/INST] SELECT party AS a FROM table_22757733_4 WHERE runner_up_a = "K. Annamalai" </s>
What is the population in those place where the market income per capita is $17,362?
CREATE TABLE table_22815568_7 (population VARCHAR, market_income_per_capita VARCHAR)
SELECT population FROM table_22815568_7 WHERE market_income_per_capita = "$17,362"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22815568_7 (population VARCHAR, market_income_per_capita VARCHAR) Question: What is the population in those place where the market income per capita is $17,362? [/INST] SELECT population FROM table_22815568_7 WHERE market_income_per_capita = "$17,362" </s>
What is the unemployment rate in those places where the market income per capita is $16,981?
CREATE TABLE table_22815568_7 (unemployment_rate VARCHAR, market_income_per_capita VARCHAR)
SELECT COUNT(unemployment_rate) FROM table_22815568_7 WHERE market_income_per_capita = "$16,981"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22815568_7 (unemployment_rate VARCHAR, market_income_per_capita VARCHAR) Question: What is the unemployment rate in those places where the market income per capita is $16,981? [/INST] SELECT COUNT(unemployment_rate) FROM table_22815568_7 WHERE market_income_per_capita = "$16,981" </s>
What is the status in those places where the poverty rate is 8.6%?
CREATE TABLE table_22815568_7 (status VARCHAR, poverty_rate VARCHAR)
SELECT status FROM table_22815568_7 WHERE poverty_rate = "8.6%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22815568_7 (status VARCHAR, poverty_rate VARCHAR) Question: What is the status in those places where the poverty rate is 8.6%? [/INST] SELECT status FROM table_22815568_7 WHERE poverty_rate = "8.6%" </s>
What is the unemployment rate in those places in Alexander county whose status is transitional?
CREATE TABLE table_22815568_7 (unemployment_rate VARCHAR, status VARCHAR, county VARCHAR)
SELECT unemployment_rate FROM table_22815568_7 WHERE status = "Transitional" AND county = "Alexander"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22815568_7 (unemployment_rate VARCHAR, status VARCHAR, county VARCHAR) Question: What is the unemployment rate in those places in Alexander county whose status is transitional? [/INST] SELECT unemployment_rate FROM table_22815568_7 WHERE status = "Transitional" AND county = "Alexander" </s>
What is the population of the country of McDowell?
CREATE TABLE table_22815568_7 (population VARCHAR, county VARCHAR)
SELECT population FROM table_22815568_7 WHERE county = "McDowell"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22815568_7 (population VARCHAR, county VARCHAR) Question: What is the population of the country of McDowell? [/INST] SELECT population FROM table_22815568_7 WHERE county = "McDowell" </s>
In what counties is the unemployment rate 5.8% and the market income per capita is $22,866?
CREATE TABLE table_22815568_7 (county VARCHAR, unemployment_rate VARCHAR, market_income_per_capita VARCHAR)
SELECT county FROM table_22815568_7 WHERE unemployment_rate = "5.8%" AND market_income_per_capita = "$22,866"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22815568_7 (county VARCHAR, unemployment_rate VARCHAR, market_income_per_capita VARCHAR) Question: In what counties is the unemployment rate 5.8% and the market income per capita is $22,866? [/INST] SELECT county FROM table_22815568_7 WHERE unemployment_rate = "5.8%" AND market_income_per_capita = "$22,866" </s>
Name the partnering for round sf
CREATE TABLE table_22825058_23 (partnering VARCHAR, round VARCHAR)
SELECT partnering FROM table_22825058_23 WHERE round = "SF"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22825058_23 (partnering VARCHAR, round VARCHAR) Question: Name the partnering for round sf [/INST] SELECT partnering FROM table_22825058_23 WHERE round = "SF" </s>
Name the total number of round for against the netherlands
CREATE TABLE table_22825058_23 (round VARCHAR, against VARCHAR)
SELECT COUNT(round) FROM table_22825058_23 WHERE against = "The Netherlands"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22825058_23 (round VARCHAR, against VARCHAR) Question: Name the total number of round for against the netherlands [/INST] SELECT COUNT(round) FROM table_22825058_23 WHERE against = "The Netherlands" </s>
Name the round for john van lottum martin verkerk
CREATE TABLE table_22825058_23 (round VARCHAR, opponents VARCHAR)
SELECT round FROM table_22825058_23 WHERE opponents = "John Van Lottum Martin Verkerk"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22825058_23 (round VARCHAR, opponents VARCHAR) Question: Name the round for john van lottum martin verkerk [/INST] SELECT round FROM table_22825058_23 WHERE opponents = "John Van Lottum Martin Verkerk" </s>
Name the w/l for czech republic
CREATE TABLE table_22825058_23 (w_l VARCHAR, against VARCHAR)
SELECT w_l FROM table_22825058_23 WHERE against = "Czech Republic"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22825058_23 (w_l VARCHAR, against VARCHAR) Question: Name the w/l for czech republic [/INST] SELECT w_l FROM table_22825058_23 WHERE against = "Czech Republic" </s>
Name the result for jiří novák radek štěpánek
CREATE TABLE table_22825058_23 (result VARCHAR, opponents VARCHAR)
SELECT result FROM table_22825058_23 WHERE opponents = "Jiří Novák Radek Štěpánek"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22825058_23 (result VARCHAR, opponents VARCHAR) Question: Name the result for jiří novák radek štěpánek [/INST] SELECT result FROM table_22825058_23 WHERE opponents = "Jiří Novák Radek Štěpánek" </s>
Name the tournament venue for big sky conference
CREATE TABLE table_22849575_6 (tournament_venue__city_ VARCHAR, conference VARCHAR)
SELECT tournament_venue__city_ FROM table_22849575_6 WHERE conference = "Big Sky conference"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22849575_6 (tournament_venue__city_ VARCHAR, conference VARCHAR) Question: Name the tournament venue for big sky conference [/INST] SELECT tournament_venue__city_ FROM table_22849575_6 WHERE conference = "Big Sky conference" </s>
Name the number of conference tournament for james madison
CREATE TABLE table_22849575_6 (conference VARCHAR, tournament_winner VARCHAR)
SELECT COUNT(conference) AS Tournament FROM table_22849575_6 WHERE tournament_winner = "James Madison"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22849575_6 (conference VARCHAR, tournament_winner VARCHAR) Question: Name the number of conference tournament for james madison [/INST] SELECT COUNT(conference) AS Tournament FROM table_22849575_6 WHERE tournament_winner = "James Madison" </s>
Name the team for arif asadov
CREATE TABLE table_22848931_3 (team VARCHAR, replaced_by VARCHAR)
SELECT team FROM table_22848931_3 WHERE replaced_by = "Arif Asadov"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22848931_3 (team VARCHAR, replaced_by VARCHAR) Question: Name the team for arif asadov [/INST] SELECT team FROM table_22848931_3 WHERE replaced_by = "Arif Asadov" </s>
Name the manner of departure for 1 december 2009
CREATE TABLE table_22848931_3 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR)
SELECT manner_of_departure FROM table_22848931_3 WHERE date_of_vacancy = "1 December 2009"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22848931_3 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR) Question: Name the manner of departure for 1 december 2009 [/INST] SELECT manner_of_departure FROM table_22848931_3 WHERE date_of_vacancy = "1 December 2009" </s>
Name the outgoing manager for 10 june 2009
CREATE TABLE table_22848931_3 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR)
SELECT COUNT(outgoing_manager) FROM table_22848931_3 WHERE date_of_vacancy = "10 June 2009"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22848931_3 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR) Question: Name the outgoing manager for 10 june 2009 [/INST] SELECT COUNT(outgoing_manager) FROM table_22848931_3 WHERE date_of_vacancy = "10 June 2009" </s>
What is every entry for Atlantic Europe when Central Europe is Wisconsin stage?
CREATE TABLE table_22860_1 (atlantic_europe VARCHAR, central_europe VARCHAR)
SELECT atlantic_europe FROM table_22860_1 WHERE central_europe = "Wisconsin Stage"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22860_1 (atlantic_europe VARCHAR, central_europe VARCHAR) Question: What is every entry for Atlantic Europe when Central Europe is Wisconsin stage? [/INST] SELECT atlantic_europe FROM table_22860_1 WHERE central_europe = "Wisconsin Stage" </s>
How many values for Maghreb with Mediterranean Europe is Siciliense?
CREATE TABLE table_22860_1 (maghreb VARCHAR, mediterranean_europe VARCHAR)
SELECT COUNT(maghreb) FROM table_22860_1 WHERE mediterranean_europe = "Siciliense"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22860_1 (maghreb VARCHAR, mediterranean_europe VARCHAR) Question: How many values for Maghreb with Mediterranean Europe is Siciliense? [/INST] SELECT COUNT(maghreb) FROM table_22860_1 WHERE mediterranean_europe = "Siciliense" </s>
What is the Atlantic Europe when age is 10,000 years?
CREATE TABLE table_22860_1 (atlantic_europe VARCHAR, age__before_ VARCHAR)
SELECT atlantic_europe FROM table_22860_1 WHERE age__before_ = "10,000 years"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22860_1 (atlantic_europe VARCHAR, age__before_ VARCHAR) Question: What is the Atlantic Europe when age is 10,000 years? [/INST] SELECT atlantic_europe FROM table_22860_1 WHERE age__before_ = "10,000 years" </s>
What is every entry for America when Atlantic Europe is Hoxniense?
CREATE TABLE table_22860_1 (america VARCHAR, atlantic_europe VARCHAR)
SELECT america FROM table_22860_1 WHERE atlantic_europe = "Hoxniense"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22860_1 (america VARCHAR, atlantic_europe VARCHAR) Question: What is every entry for America when Atlantic Europe is Hoxniense? [/INST] SELECT america FROM table_22860_1 WHERE atlantic_europe = "Hoxniense" </s>
What are all ages for Maghreb is Maarifiense?
CREATE TABLE table_22860_1 (age__before_ VARCHAR, maghreb VARCHAR)
SELECT age__before_ FROM table_22860_1 WHERE maghreb = "Maarifiense"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22860_1 (age__before_ VARCHAR, maghreb VARCHAR) Question: What are all ages for Maghreb is Maarifiense? [/INST] SELECT age__before_ FROM table_22860_1 WHERE maghreb = "Maarifiense" </s>
How many points did the opponents with a 6-2 record against the Spartans score?
CREATE TABLE table_22860990_3 (opp_points INTEGER, record VARCHAR)
SELECT MIN(opp_points) FROM table_22860990_3 WHERE record = "6-2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22860990_3 (opp_points INTEGER, record VARCHAR) Question: How many points did the opponents with a 6-2 record against the Spartans score? [/INST] SELECT MIN(opp_points) FROM table_22860990_3 WHERE record = "6-2" </s>
Against whom did the Spartans score 73 points?
CREATE TABLE table_22860990_3 (opponent VARCHAR, spartans_points VARCHAR)
SELECT opponent FROM table_22860990_3 WHERE spartans_points = 73
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22860990_3 (opponent VARCHAR, spartans_points VARCHAR) Question: Against whom did the Spartans score 73 points? [/INST] SELECT opponent FROM table_22860990_3 WHERE spartans_points = 73 </s>
Who had highest points in game 5?
CREATE TABLE table_22883210_5 (high_points VARCHAR, game VARCHAR)
SELECT high_points FROM table_22883210_5 WHERE game = 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22883210_5 (high_points VARCHAR, game VARCHAR) Question: Who had highest points in game 5? [/INST] SELECT high_points FROM table_22883210_5 WHERE game = 5 </s>
What was the final score of the game held on February 24?
CREATE TABLE table_22883210_8 (score VARCHAR, date VARCHAR)
SELECT score FROM table_22883210_8 WHERE date = "February 24"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22883210_8 (score VARCHAR, date VARCHAR) Question: What was the final score of the game held on February 24? [/INST] SELECT score FROM table_22883210_8 WHERE date = "February 24" </s>
Who was the opponent in the game held on February 4?
CREATE TABLE table_22883210_8 (team VARCHAR, date VARCHAR)
SELECT team FROM table_22883210_8 WHERE date = "February 4"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22883210_8 (team VARCHAR, date VARCHAR) Question: Who was the opponent in the game held on February 4? [/INST] SELECT team FROM table_22883210_8 WHERE date = "February 4" </s>
If the region is the Southern district of Texas, what is the citation?
CREATE TABLE table_22901612_2 (citation VARCHAR, region VARCHAR)
SELECT citation FROM table_22901612_2 WHERE region = "Southern District of Texas"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22901612_2 (citation VARCHAR, region VARCHAR) Question: If the region is the Southern district of Texas, what is the citation? [/INST] SELECT citation FROM table_22901612_2 WHERE region = "Southern District of Texas" </s>
If the chief judge is Jeffrey L. Viken, what is the region?
CREATE TABLE table_22901612_2 (region VARCHAR, chief_judge VARCHAR)
SELECT region FROM table_22901612_2 WHERE chief_judge = "Jeffrey L. Viken"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22901612_2 (region VARCHAR, chief_judge VARCHAR) Question: If the chief judge is Jeffrey L. Viken, what is the region? [/INST] SELECT region FROM table_22901612_2 WHERE chief_judge = "Jeffrey L. Viken" </s>
If the chief judge is Glen E. Conrad, what is the region?
CREATE TABLE table_22901612_2 (region VARCHAR, chief_judge VARCHAR)
SELECT region FROM table_22901612_2 WHERE chief_judge = "Glen E. Conrad"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22901612_2 (region VARCHAR, chief_judge VARCHAR) Question: If the chief judge is Glen E. Conrad, what is the region? [/INST] SELECT region FROM table_22901612_2 WHERE chief_judge = "Glen E. Conrad" </s>
What was the name of the episode that had 14.52 viewers?
CREATE TABLE table_22904707_1 (title VARCHAR, us_viewers__million_ VARCHAR)
SELECT title FROM table_22904707_1 WHERE us_viewers__million_ = "14.52"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22904707_1 (title VARCHAR, us_viewers__million_ VARCHAR) Question: What was the name of the episode that had 14.52 viewers? [/INST] SELECT title FROM table_22904707_1 WHERE us_viewers__million_ = "14.52" </s>
How many million viewers did episode number 63 have?
CREATE TABLE table_22904707_1 (us_viewers__million_ VARCHAR, no VARCHAR)
SELECT us_viewers__million_ FROM table_22904707_1 WHERE no = 63
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22904707_1 (us_viewers__million_ VARCHAR, no VARCHAR) Question: How many million viewers did episode number 63 have? [/INST] SELECT us_viewers__million_ FROM table_22904707_1 WHERE no = 63 </s>
What number in the season was episode 52 in the series?
CREATE TABLE table_22904707_1 (_number INTEGER, no VARCHAR)
SELECT MIN(_number) FROM table_22904707_1 WHERE no = 52
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22904707_1 (_number INTEGER, no VARCHAR) Question: What number in the season was episode 52 in the series? [/INST] SELECT MIN(_number) FROM table_22904707_1 WHERE no = 52 </s>
which area has a rank of 60?
CREATE TABLE table_22916979_2 (metropolitan_area VARCHAR, rank VARCHAR)
SELECT metropolitan_area FROM table_22916979_2 WHERE rank = 60
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22916979_2 (metropolitan_area VARCHAR, rank VARCHAR) Question: which area has a rank of 60? [/INST] SELECT metropolitan_area FROM table_22916979_2 WHERE rank = 60 </s>
what is the total number of population where census designated place is westmont?
CREATE TABLE table_22916979_2 (population__2000_census_ VARCHAR, census_designated_place VARCHAR)
SELECT COUNT(population__2000_census_) FROM table_22916979_2 WHERE census_designated_place = "Westmont"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22916979_2 (population__2000_census_ VARCHAR, census_designated_place VARCHAR) Question: what is the total number of population where census designated place is westmont? [/INST] SELECT COUNT(population__2000_census_) FROM table_22916979_2 WHERE census_designated_place = "Westmont" </s>
what is the total number of census designated places with a population of 10581?
CREATE TABLE table_22916979_2 (census_designated_place VARCHAR, population__2000_census_ VARCHAR)
SELECT COUNT(census_designated_place) FROM table_22916979_2 WHERE population__2000_census_ = 10581
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22916979_2 (census_designated_place VARCHAR, population__2000_census_ VARCHAR) Question: what is the total number of census designated places with a population of 10581? [/INST] SELECT COUNT(census_designated_place) FROM table_22916979_2 WHERE population__2000_census_ = 10581 </s>
Name the most number of contestants
CREATE TABLE table_22951646_1 (number_of_contestants INTEGER)
SELECT MAX(number_of_contestants) FROM table_22951646_1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22951646_1 (number_of_contestants INTEGER) Question: Name the most number of contestants [/INST] SELECT MAX(number_of_contestants) FROM table_22951646_1 </s>
Name the premiere for 8 episodes
CREATE TABLE table_22951646_1 (premiere VARCHAR, number_of_episodes VARCHAR)
SELECT premiere FROM table_22951646_1 WHERE number_of_episodes = 8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22951646_1 (premiere VARCHAR, number_of_episodes VARCHAR) Question: Name the premiere for 8 episodes [/INST] SELECT premiere FROM table_22951646_1 WHERE number_of_episodes = 8 </s>
Name the league finish for w being 11
CREATE TABLE table_22962745_12 (league_finish VARCHAR, w VARCHAR)
SELECT league_finish FROM table_22962745_12 WHERE w = 11
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22962745_12 (league_finish VARCHAR, w VARCHAR) Question: Name the league finish for w being 11 [/INST] SELECT league_finish FROM table_22962745_12 WHERE w = 11 </s>
What's LSU's overall record/
CREATE TABLE table_22993636_2 (overall_record VARCHAR, team VARCHAR)
SELECT overall_record FROM table_22993636_2 WHERE team = "LSU"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22993636_2 (overall_record VARCHAR, team VARCHAR) Question: What's LSU's overall record/ [/INST] SELECT overall_record FROM table_22993636_2 WHERE team = "LSU" </s>
How many different SEC Win counts does the team with an overall record of 30-4 have?
CREATE TABLE table_22993636_2 (sec_wins VARCHAR, overall_record VARCHAR)
SELECT COUNT(sec_wins) FROM table_22993636_2 WHERE overall_record = "30-4"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22993636_2 (sec_wins VARCHAR, overall_record VARCHAR) Question: How many different SEC Win counts does the team with an overall record of 30-4 have? [/INST] SELECT COUNT(sec_wins) FROM table_22993636_2 WHERE overall_record = "30-4" </s>
What's Auburn's percentage?
CREATE TABLE table_22993636_2 (percentage VARCHAR, team VARCHAR)
SELECT percentage FROM table_22993636_2 WHERE team = "Auburn"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22993636_2 (percentage VARCHAR, team VARCHAR) Question: What's Auburn's percentage? [/INST] SELECT percentage FROM table_22993636_2 WHERE team = "Auburn" </s>
What's the overall record of the team with 4-3 road record?
CREATE TABLE table_22993636_2 (overall_record VARCHAR, road_record VARCHAR)
SELECT overall_record FROM table_22993636_2 WHERE road_record = "4-3"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22993636_2 (overall_record VARCHAR, road_record VARCHAR) Question: What's the overall record of the team with 4-3 road record? [/INST] SELECT overall_record FROM table_22993636_2 WHERE road_record = "4-3" </s>
What's the home record of the team with percentage of .168?
CREATE TABLE table_22993636_2 (home_record VARCHAR, percentage VARCHAR)
SELECT home_record FROM table_22993636_2 WHERE percentage = ".168"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_22993636_2 (home_record VARCHAR, percentage VARCHAR) Question: What's the home record of the team with percentage of .168? [/INST] SELECT home_record FROM table_22993636_2 WHERE percentage = ".168" </s>
What was the average speed where lap four's time was 22.9049?
CREATE TABLE table_23018775_3 (avg_speed VARCHAR, lap_four VARCHAR)
SELECT avg_speed FROM table_23018775_3 WHERE lap_four = "22.9049"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23018775_3 (avg_speed VARCHAR, lap_four VARCHAR) Question: What was the average speed where lap four's time was 22.9049? [/INST] SELECT avg_speed FROM table_23018775_3 WHERE lap_four = "22.9049" </s>
How many lap two's did marco andretti do?
CREATE TABLE table_23018775_3 (lap_two VARCHAR, name VARCHAR)
SELECT COUNT(lap_two) FROM table_23018775_3 WHERE name = "Marco Andretti"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23018775_3 (lap_two VARCHAR, name VARCHAR) Question: How many lap two's did marco andretti do? [/INST] SELECT COUNT(lap_two) FROM table_23018775_3 WHERE name = "Marco Andretti" </s>
What is tthe lowest number on team 3g?
CREATE TABLE table_23018775_3 (_number_number INTEGER, team VARCHAR)
SELECT MIN(_number_number) FROM table_23018775_3 WHERE team = "team 3G"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23018775_3 (_number_number INTEGER, team VARCHAR) Question: What is tthe lowest number on team 3g? [/INST] SELECT MIN(_number_number) FROM table_23018775_3 WHERE team = "team 3G" </s>
How many positions have a total time of 1:30.4135?
CREATE TABLE table_23018775_3 (pos VARCHAR, total_time VARCHAR)
SELECT COUNT(pos) FROM table_23018775_3 WHERE total_time = "1:30.4135"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23018775_3 (pos VARCHAR, total_time VARCHAR) Question: How many positions have a total time of 1:30.4135? [/INST] SELECT COUNT(pos) FROM table_23018775_3 WHERE total_time = "1:30.4135" </s>
Which positions have a lap two time of 22.7290?
CREATE TABLE table_23018775_3 (pos VARCHAR, lap_two VARCHAR)
SELECT pos FROM table_23018775_3 WHERE lap_two = "22.7290"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23018775_3 (pos VARCHAR, lap_two VARCHAR) Question: Which positions have a lap two time of 22.7290? [/INST] SELECT pos FROM table_23018775_3 WHERE lap_two = "22.7290" </s>
What was the average speed where the total time was 1:30.4842?
CREATE TABLE table_23018775_3 (avg_speed VARCHAR, total_time VARCHAR)
SELECT avg_speed FROM table_23018775_3 WHERE total_time = "1:30.4842"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23018775_3 (avg_speed VARCHAR, total_time VARCHAR) Question: What was the average speed where the total time was 1:30.4842? [/INST] SELECT avg_speed FROM table_23018775_3 WHERE total_time = "1:30.4842" </s>
Name the poles for avg start being 4.7
CREATE TABLE table_2308381_2 (poles VARCHAR, avg_start VARCHAR)
SELECT poles FROM table_2308381_2 WHERE avg_start = "4.7"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2308381_2 (poles VARCHAR, avg_start VARCHAR) Question: Name the poles for avg start being 4.7 [/INST] SELECT poles FROM table_2308381_2 WHERE avg_start = "4.7" </s>
Name the avg finish for position of 70th
CREATE TABLE table_2308381_2 (avg_finish VARCHAR, position VARCHAR)
SELECT avg_finish FROM table_2308381_2 WHERE position = "70th"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2308381_2 (avg_finish VARCHAR, position VARCHAR) Question: Name the avg finish for position of 70th [/INST] SELECT avg_finish FROM table_2308381_2 WHERE position = "70th" </s>
Name the year for 15 starts
CREATE TABLE table_2308381_2 (year VARCHAR, starts VARCHAR)
SELECT year FROM table_2308381_2 WHERE starts = 15
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2308381_2 (year VARCHAR, starts VARCHAR) Question: Name the year for 15 starts [/INST] SELECT year FROM table_2308381_2 WHERE starts = 15 </s>
How many directors directed episode 3 of the season?
CREATE TABLE table_23097214_1 (directed_by VARCHAR, season__number VARCHAR)
SELECT COUNT(directed_by) FROM table_23097214_1 WHERE season__number = 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23097214_1 (directed_by VARCHAR, season__number VARCHAR) Question: How many directors directed episode 3 of the season? [/INST] SELECT COUNT(directed_by) FROM table_23097214_1 WHERE season__number = 3 </s>
Who wrote the episode directed by Ken Whittingham?
CREATE TABLE table_23097214_1 (written_by VARCHAR, directed_by VARCHAR)
SELECT written_by FROM table_23097214_1 WHERE directed_by = "Ken Whittingham"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23097214_1 (written_by VARCHAR, directed_by VARCHAR) Question: Who wrote the episode directed by Ken Whittingham? [/INST] SELECT written_by FROM table_23097214_1 WHERE directed_by = "Ken Whittingham" </s>
What is the production code for Episode 153 in the series?
CREATE TABLE table_23097214_1 (production_code INTEGER, series__number VARCHAR)
SELECT MIN(production_code) FROM table_23097214_1 WHERE series__number = 153
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23097214_1 (production_code INTEGER, series__number VARCHAR) Question: What is the production code for Episode 153 in the series? [/INST] SELECT MIN(production_code) FROM table_23097214_1 WHERE series__number = 153 </s>
What is the name of the episode where the season number is 13?
CREATE TABLE table_23114705_3 (title VARCHAR, no_in_season VARCHAR)
SELECT title FROM table_23114705_3 WHERE no_in_season = 13
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23114705_3 (title VARCHAR, no_in_season VARCHAR) Question: What is the name of the episode where the season number is 13? [/INST] SELECT title FROM table_23114705_3 WHERE no_in_season = 13 </s>
If the episode was written by Tim Balme, what was the original air date?
CREATE TABLE table_23114705_3 (original_air_date VARCHAR, written_by VARCHAR)
SELECT original_air_date FROM table_23114705_3 WHERE written_by = "Tim Balme"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23114705_3 (original_air_date VARCHAR, written_by VARCHAR) Question: If the episode was written by Tim Balme, what was the original air date? [/INST] SELECT original_air_date FROM table_23114705_3 WHERE written_by = "Tim Balme" </s>
What date did the show air when Rhod Gilbert was the headliner?
CREATE TABLE table_23122988_1 (airdate VARCHAR, headliner VARCHAR)
SELECT airdate FROM table_23122988_1 WHERE headliner = "Rhod Gilbert"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23122988_1 (airdate VARCHAR, headliner VARCHAR) Question: What date did the show air when Rhod Gilbert was the headliner? [/INST] SELECT airdate FROM table_23122988_1 WHERE headliner = "Rhod Gilbert" </s>
What date did the show air when Sean Lock was the headliner?
CREATE TABLE table_23122988_1 (airdate VARCHAR, headliner VARCHAR)
SELECT airdate FROM table_23122988_1 WHERE headliner = "Sean Lock"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23122988_1 (airdate VARCHAR, headliner VARCHAR) Question: What date did the show air when Sean Lock was the headliner? [/INST] SELECT airdate FROM table_23122988_1 WHERE headliner = "Sean Lock" </s>
Who were the comedians on episode 1x03?
CREATE TABLE table_23122988_1 (comedians VARCHAR, episode VARCHAR)
SELECT comedians FROM table_23122988_1 WHERE episode = "1x03"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23122988_1 (comedians VARCHAR, episode VARCHAR) Question: Who were the comedians on episode 1x03? [/INST] SELECT comedians FROM table_23122988_1 WHERE episode = "1x03" </s>
What episode took place in Belfast Waterfront Hall?
CREATE TABLE table_23122988_1 (episode VARCHAR, location VARCHAR)
SELECT episode FROM table_23122988_1 WHERE location = "Belfast Waterfront Hall"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23122988_1 (episode VARCHAR, location VARCHAR) Question: What episode took place in Belfast Waterfront Hall? [/INST] SELECT episode FROM table_23122988_1 WHERE location = "Belfast Waterfront Hall" </s>
Who were the comedians during the episode located in Birmingham Hippodrome?
CREATE TABLE table_23122988_1 (comedians VARCHAR, location VARCHAR)
SELECT comedians FROM table_23122988_1 WHERE location = "Birmingham Hippodrome"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23122988_1 (comedians VARCHAR, location VARCHAR) Question: Who were the comedians during the episode located in Birmingham Hippodrome? [/INST] SELECT comedians FROM table_23122988_1 WHERE location = "Birmingham Hippodrome" </s>
Name the total number of director for vesničko má středisková
CREATE TABLE table_23141790_1 (director VARCHAR, original_title VARCHAR)
SELECT COUNT(director) FROM table_23141790_1 WHERE original_title = "Vesničko má středisková"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23141790_1 (director VARCHAR, original_title VARCHAR) Question: Name the total number of director for vesničko má středisková [/INST] SELECT COUNT(director) FROM table_23141790_1 WHERE original_title = "Vesničko má středisková" </s>
Name the growth rate for density of 1087
CREATE TABLE table_231623_3 (growth_rate VARCHAR, density_per_kilometer VARCHAR)
SELECT COUNT(growth_rate) FROM table_231623_3 WHERE density_per_kilometer = 1087
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_231623_3 (growth_rate VARCHAR, density_per_kilometer VARCHAR) Question: Name the growth rate for density of 1087 [/INST] SELECT COUNT(growth_rate) FROM table_231623_3 WHERE density_per_kilometer = 1087 </s>
Name the sex ratio lowest for population 4773138
CREATE TABLE table_231623_3 (sex_ratio INTEGER, population VARCHAR)
SELECT MAX(sex_ratio) FROM table_231623_3 WHERE population = 4773138
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_231623_3 (sex_ratio INTEGER, population VARCHAR) Question: Name the sex ratio lowest for population 4773138 [/INST] SELECT MAX(sex_ratio) FROM table_231623_3 WHERE population = 4773138 </s>
What is the original air date of the episode that had a week ranking of 21?
CREATE TABLE table_23177573_1 (original_air_date VARCHAR, rank__week_ VARCHAR)
SELECT original_air_date FROM table_23177573_1 WHERE rank__week_ = 21
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23177573_1 (original_air_date VARCHAR, rank__week_ VARCHAR) Question: What is the original air date of the episode that had a week ranking of 21? [/INST] SELECT original_air_date FROM table_23177573_1 WHERE rank__week_ = 21 </s>
What was the week ranking of the episode written by Russel Friend & Garrett Lerner?
CREATE TABLE table_23177573_1 (rank__week_ VARCHAR, written_by VARCHAR)
SELECT rank__week_ FROM table_23177573_1 WHERE written_by = "Russel Friend & Garrett Lerner"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23177573_1 (rank__week_ VARCHAR, written_by VARCHAR) Question: What was the week ranking of the episode written by Russel Friend & Garrett Lerner? [/INST] SELECT rank__week_ FROM table_23177573_1 WHERE written_by = "Russel Friend & Garrett Lerner" </s>
What was the week ranking of the episode written by Thomas L. Moran and directed by Andrew Bernstein?
CREATE TABLE table_23177573_1 (rank__week_ VARCHAR, written_by VARCHAR, directed_by VARCHAR)
SELECT rank__week_ FROM table_23177573_1 WHERE written_by = "Thomas L. Moran" AND directed_by = "Andrew Bernstein"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23177573_1 (rank__week_ VARCHAR, written_by VARCHAR, directed_by VARCHAR) Question: What was the week ranking of the episode written by Thomas L. Moran and directed by Andrew Bernstein? [/INST] SELECT rank__week_ FROM table_23177573_1 WHERE written_by = "Thomas L. Moran" AND directed_by = "Andrew Bernstein" </s>
Name the position for chivu
CREATE TABLE table (position VARCHAR, player VARCHAR, Chivu VARCHAR)
SELECT position FROM table WHERE player = Chivu
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table (position VARCHAR, player VARCHAR, Chivu VARCHAR) Question: Name the position for chivu [/INST] SELECT position FROM table WHERE player = Chivu </s>
Name the total number of r for coppa italia larger than 1.0
CREATE TABLE table (r VARCHAR, coppa_italia INTEGER)
SELECT COUNT(r) FROM table WHERE coppa_italia > 1.0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table (r VARCHAR, coppa_italia INTEGER) Question: Name the total number of r for coppa italia larger than 1.0 [/INST] SELECT COUNT(r) FROM table WHERE coppa_italia > 1.0 </s>
Which charts had debut sales of of more than 339333.011497678?
CREATE TABLE table_23180638_1 (oricon_albums_chart VARCHAR, debut_sales__copies_ INTEGER)
SELECT oricon_albums_chart FROM table_23180638_1 WHERE debut_sales__copies_ > 339333.011497678
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23180638_1 (oricon_albums_chart VARCHAR, debut_sales__copies_ INTEGER) Question: Which charts had debut sales of of more than 339333.011497678? [/INST] SELECT oricon_albums_chart FROM table_23180638_1 WHERE debut_sales__copies_ > 339333.011497678 </s>
How many peak positions were there on the weekly charts?
CREATE TABLE table_23180638_1 (peak_position VARCHAR, oricon_albums_chart VARCHAR)
SELECT COUNT(peak_position) FROM table_23180638_1 WHERE oricon_albums_chart = "Weekly Charts"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23180638_1 (peak_position VARCHAR, oricon_albums_chart VARCHAR) Question: How many peak positions were there on the weekly charts? [/INST] SELECT COUNT(peak_position) FROM table_23180638_1 WHERE oricon_albums_chart = "Weekly Charts" </s>
How many peak positions were there on the daily charts?
CREATE TABLE table_23180638_1 (peak_position VARCHAR, oricon_albums_chart VARCHAR)
SELECT peak_position FROM table_23180638_1 WHERE oricon_albums_chart = "Daily Charts"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23180638_1 (peak_position VARCHAR, oricon_albums_chart VARCHAR) Question: How many peak positions were there on the daily charts? [/INST] SELECT peak_position FROM table_23180638_1 WHERE oricon_albums_chart = "Daily Charts" </s>
Which charts had debut sales of 101976?
CREATE TABLE table_23180638_1 (oricon_albums_chart VARCHAR, debut_sales__copies_ VARCHAR)
SELECT oricon_albums_chart FROM table_23180638_1 WHERE debut_sales__copies_ = 101976
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_23180638_1 (oricon_albums_chart VARCHAR, debut_sales__copies_ VARCHAR) Question: Which charts had debut sales of 101976? [/INST] SELECT oricon_albums_chart FROM table_23180638_1 WHERE debut_sales__copies_ = 101976 </s>