instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
How many people wrote the episode with a production code of 2j5507?
|
CREATE TABLE table_27450976_1 (written_by VARCHAR, production_code VARCHAR)
|
SELECT COUNT(written_by) FROM table_27450976_1 WHERE production_code = "2J5507"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27450976_1 (written_by VARCHAR, production_code VARCHAR) Question: How many people wrote the episode with a production code of 2j5507? [/INST] SELECT COUNT(written_by) FROM table_27450976_1 WHERE production_code = "2J5507" </s>
|
What was the latest number in series that was directed by Skip Sudduth?
|
CREATE TABLE table_27491610_2 (no_in_series INTEGER, directed_by VARCHAR)
|
SELECT MAX(no_in_series) FROM table_27491610_2 WHERE directed_by = "Skip Sudduth"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27491610_2 (no_in_series INTEGER, directed_by VARCHAR) Question: What was the latest number in series that was directed by Skip Sudduth? [/INST] SELECT MAX(no_in_series) FROM table_27491610_2 WHERE directed_by = "Skip Sudduth" </s>
|
What number in season had 10.18 million US viewers?
|
CREATE TABLE table_27491610_2 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR)
|
SELECT no_in_season FROM table_27491610_2 WHERE us_viewers__millions_ = "10.18"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27491610_2 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR) Question: What number in season had 10.18 million US viewers? [/INST] SELECT no_in_season FROM table_27491610_2 WHERE us_viewers__millions_ = "10.18" </s>
|
What was the original air date of the episode that was directed by Alex Zakrzewski?
|
CREATE TABLE table_27491610_2 (original_air_date VARCHAR, directed_by VARCHAR)
|
SELECT original_air_date FROM table_27491610_2 WHERE directed_by = "Alex Zakrzewski"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27491610_2 (original_air_date VARCHAR, directed_by VARCHAR) Question: What was the original air date of the episode that was directed by Alex Zakrzewski? [/INST] SELECT original_air_date FROM table_27491610_2 WHERE directed_by = "Alex Zakrzewski" </s>
|
What number in season is number 141 in series?
|
CREATE TABLE table_27491610_2 (no_in_season INTEGER, no_in_series VARCHAR)
|
SELECT MAX(no_in_season) FROM table_27491610_2 WHERE no_in_series = 141
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27491610_2 (no_in_season INTEGER, no_in_series VARCHAR) Question: What number in season is number 141 in series? [/INST] SELECT MAX(no_in_season) FROM table_27491610_2 WHERE no_in_series = 141 </s>
|
What province was New Plymouth formed from?
|
CREATE TABLE table_275023_1 (formed_from VARCHAR, province VARCHAR)
|
SELECT formed_from FROM table_275023_1 WHERE province = "New Plymouth"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_275023_1 (formed_from VARCHAR, province VARCHAR) Question: What province was New Plymouth formed from? [/INST] SELECT formed_from FROM table_275023_1 WHERE province = "New Plymouth" </s>
|
Why was Otago formed?
|
CREATE TABLE table_275023_1 (reason VARCHAR, province VARCHAR)
|
SELECT reason FROM table_275023_1 WHERE province = "Otago"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_275023_1 (reason VARCHAR, province VARCHAR) Question: Why was Otago formed? [/INST] SELECT reason FROM table_275023_1 WHERE province = "Otago" </s>
|
What provinces were formed from New Munster?
|
CREATE TABLE table_275023_1 (province VARCHAR, formed_from VARCHAR)
|
SELECT province FROM table_275023_1 WHERE formed_from = "New Munster"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_275023_1 (province VARCHAR, formed_from VARCHAR) Question: What provinces were formed from New Munster? [/INST] SELECT province FROM table_275023_1 WHERE formed_from = "New Munster" </s>
|
How many provinces are named Wellington?
|
CREATE TABLE table_275023_1 (formed_date VARCHAR, province VARCHAR)
|
SELECT COUNT(formed_date) FROM table_275023_1 WHERE province = "Wellington"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_275023_1 (formed_date VARCHAR, province VARCHAR) Question: How many provinces are named Wellington? [/INST] SELECT COUNT(formed_date) FROM table_275023_1 WHERE province = "Wellington" </s>
|
If the decision was by Lalime, when in January was it made?
|
CREATE TABLE table_27537870_6 (january VARCHAR, decision VARCHAR)
|
SELECT january FROM table_27537870_6 WHERE decision = "Lalime"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27537870_6 (january VARCHAR, decision VARCHAR) Question: If the decision was by Lalime, when in January was it made? [/INST] SELECT january FROM table_27537870_6 WHERE decision = "Lalime" </s>
|
If the game was on January 21, which game was it?
|
CREATE TABLE table_27537870_6 (game INTEGER, january VARCHAR)
|
SELECT MAX(game) FROM table_27537870_6 WHERE january = 21
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27537870_6 (game INTEGER, january VARCHAR) Question: If the game was on January 21, which game was it? [/INST] SELECT MAX(game) FROM table_27537870_6 WHERE january = 21 </s>
|
If the score is 5-3, who made the decision?
|
CREATE TABLE table_27537870_6 (decision VARCHAR, score VARCHAR)
|
SELECT decision FROM table_27537870_6 WHERE score = "5-3"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27537870_6 (decision VARCHAR, score VARCHAR) Question: If the score is 5-3, who made the decision? [/INST] SELECT decision FROM table_27537870_6 WHERE score = "5-3" </s>
|
If the opponent was the Philadelphia flyers, what was the record?
|
CREATE TABLE table_27537870_6 (record VARCHAR, opponent VARCHAR)
|
SELECT record FROM table_27537870_6 WHERE opponent = "Philadelphia Flyers"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27537870_6 (record VARCHAR, opponent VARCHAR) Question: If the opponent was the Philadelphia flyers, what was the record? [/INST] SELECT record FROM table_27537870_6 WHERE opponent = "Philadelphia Flyers" </s>
|
If the record was 22-21-5, who was the opponent?
|
CREATE TABLE table_27537870_6 (opponent VARCHAR, record VARCHAR)
|
SELECT opponent FROM table_27537870_6 WHERE record = "22-21-5"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27537870_6 (opponent VARCHAR, record VARCHAR) Question: If the record was 22-21-5, who was the opponent? [/INST] SELECT opponent FROM table_27537870_6 WHERE record = "22-21-5" </s>
|
If the opponent was @ Boston Bruins, what was the Location/Attendance?
|
CREATE TABLE table_27537870_6 (location_attendance VARCHAR, opponent VARCHAR)
|
SELECT location_attendance FROM table_27537870_6 WHERE opponent = "@ Boston Bruins"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27537870_6 (location_attendance VARCHAR, opponent VARCHAR) Question: If the opponent was @ Boston Bruins, what was the Location/Attendance? [/INST] SELECT location_attendance FROM table_27537870_6 WHERE opponent = "@ Boston Bruins" </s>
|
What day in February was the team 17-29-7?
|
CREATE TABLE table_27539535_7 (february INTEGER, record VARCHAR)
|
SELECT MAX(february) FROM table_27539535_7 WHERE record = "17-29-7"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27539535_7 (february INTEGER, record VARCHAR) Question: What day in February was the team 17-29-7? [/INST] SELECT MAX(february) FROM table_27539535_7 WHERE record = "17-29-7" </s>
|
What was the teams record when they played the ottawa senators?
|
CREATE TABLE table_27539535_7 (record VARCHAR, opponent VARCHAR)
|
SELECT record FROM table_27539535_7 WHERE opponent = "Ottawa Senators"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27539535_7 (record VARCHAR, opponent VARCHAR) Question: What was the teams record when they played the ottawa senators? [/INST] SELECT record FROM table_27539535_7 WHERE opponent = "Ottawa Senators" </s>
|
What was the team's rcord on february 1?
|
CREATE TABLE table_27539535_7 (record VARCHAR, february VARCHAR)
|
SELECT record FROM table_27539535_7 WHERE february = 1
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27539535_7 (record VARCHAR, february VARCHAR) Question: What was the team's rcord on february 1? [/INST] SELECT record FROM table_27539535_7 WHERE february = 1 </s>
|
What day in February did the team play the boston bruins?
|
CREATE TABLE table_27539535_7 (february VARCHAR, opponent VARCHAR)
|
SELECT february FROM table_27539535_7 WHERE opponent = "Boston Bruins"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27539535_7 (february VARCHAR, opponent VARCHAR) Question: What day in February did the team play the boston bruins? [/INST] SELECT february FROM table_27539535_7 WHERE opponent = "Boston Bruins" </s>
|
In what season did Pons Racing compete?
|
CREATE TABLE table_27571406_1 (season VARCHAR, team_name VARCHAR)
|
SELECT season FROM table_27571406_1 WHERE team_name = "Pons Racing"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27571406_1 (season VARCHAR, team_name VARCHAR) Question: In what season did Pons Racing compete? [/INST] SELECT season FROM table_27571406_1 WHERE team_name = "Pons Racing" </s>
|
What's the f/laps count for the team with 8 podiums?
|
CREATE TABLE table_27571406_1 (f_laps VARCHAR, podiums VARCHAR)
|
SELECT f_laps FROM table_27571406_1 WHERE podiums = 8
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27571406_1 (f_laps VARCHAR, podiums VARCHAR) Question: What's the f/laps count for the team with 8 podiums? [/INST] SELECT f_laps FROM table_27571406_1 WHERE podiums = 8 </s>
|
What is the lowest stage when the yellow jersey is Ronan Pensec?
|
CREATE TABLE table_275506_1 (stage INTEGER, yellow_jersey VARCHAR)
|
SELECT MIN(stage) FROM table_275506_1 WHERE yellow_jersey = "Ronan Pensec"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_275506_1 (stage INTEGER, yellow_jersey VARCHAR) Question: What is the lowest stage when the yellow jersey is Ronan Pensec? [/INST] SELECT MIN(stage) FROM table_275506_1 WHERE yellow_jersey = "Ronan Pensec" </s>
|
What is every yellow jersey entry for the distance 125?
|
CREATE TABLE table_275506_1 (yellow_jersey VARCHAR, distance__km_ VARCHAR)
|
SELECT yellow_jersey FROM table_275506_1 WHERE distance__km_ = "125"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_275506_1 (yellow_jersey VARCHAR, distance__km_ VARCHAR) Question: What is every yellow jersey entry for the distance 125? [/INST] SELECT yellow_jersey FROM table_275506_1 WHERE distance__km_ = "125" </s>
|
Who is every stage winner at the distance of 162.5?
|
CREATE TABLE table_275506_1 (stage VARCHAR, distance__km_ VARCHAR)
|
SELECT stage AS winner FROM table_275506_1 WHERE distance__km_ = "162.5"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_275506_1 (stage VARCHAR, distance__km_ VARCHAR) Question: Who is every stage winner at the distance of 162.5? [/INST] SELECT stage AS winner FROM table_275506_1 WHERE distance__km_ = "162.5" </s>
|
How many entries for start of stage occur in the year 2006?
|
CREATE TABLE table_275506_1 (start_of_stage VARCHAR, year VARCHAR)
|
SELECT COUNT(start_of_stage) FROM table_275506_1 WHERE year = "2006"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_275506_1 (start_of_stage VARCHAR, year VARCHAR) Question: How many entries for start of stage occur in the year 2006? [/INST] SELECT COUNT(start_of_stage) FROM table_275506_1 WHERE year = "2006" </s>
|
How much power does dwzf have?
|
CREATE TABLE table_27588823_2 (power__kw_ VARCHAR, callsign VARCHAR)
|
SELECT power__kw_ FROM table_27588823_2 WHERE callsign = "DWZF"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27588823_2 (power__kw_ VARCHAR, callsign VARCHAR) Question: How much power does dwzf have? [/INST] SELECT power__kw_ FROM table_27588823_2 WHERE callsign = "DWZF" </s>
|
What is the branding for callsign dypv?
|
CREATE TABLE table_27588823_2 (branding VARCHAR, callsign VARCHAR)
|
SELECT branding FROM table_27588823_2 WHERE callsign = "DYPV"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27588823_2 (branding VARCHAR, callsign VARCHAR) Question: What is the branding for callsign dypv? [/INST] SELECT branding FROM table_27588823_2 WHERE callsign = "DYPV" </s>
|
What is the branding for the station located in san jose del monte?
|
CREATE TABLE table_27588823_2 (branding VARCHAR, location VARCHAR)
|
SELECT branding FROM table_27588823_2 WHERE location = "San Jose Del Monte"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27588823_2 (branding VARCHAR, location VARCHAR) Question: What is the branding for the station located in san jose del monte? [/INST] SELECT branding FROM table_27588823_2 WHERE location = "San Jose Del Monte" </s>
|
How many call signs does the location masinloc, zambales have?
|
CREATE TABLE table_27588823_2 (callsign VARCHAR, location VARCHAR)
|
SELECT COUNT(callsign) FROM table_27588823_2 WHERE location = "Masinloc, Zambales"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27588823_2 (callsign VARCHAR, location VARCHAR) Question: How many call signs does the location masinloc, zambales have? [/INST] SELECT COUNT(callsign) FROM table_27588823_2 WHERE location = "Masinloc, Zambales" </s>
|
What is the frequency of the station located in polangui, albay?
|
CREATE TABLE table_27588823_2 (frequency VARCHAR, location VARCHAR)
|
SELECT frequency FROM table_27588823_2 WHERE location = "Polangui, Albay"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27588823_2 (frequency VARCHAR, location VARCHAR) Question: What is the frequency of the station located in polangui, albay? [/INST] SELECT frequency FROM table_27588823_2 WHERE location = "Polangui, Albay" </s>
|
If the mountains classification is Mathias Frank, and the General Classification is Fabian Cancellara, what is the Points classification?
|
CREATE TABLE table_27573848_18 (points_classification VARCHAR, general_classification VARCHAR, mountains_classification VARCHAR)
|
SELECT points_classification FROM table_27573848_18 WHERE general_classification = "Fabian Cancellara" AND mountains_classification = "Mathias Frank"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27573848_18 (points_classification VARCHAR, general_classification VARCHAR, mountains_classification VARCHAR) Question: If the mountains classification is Mathias Frank, and the General Classification is Fabian Cancellara, what is the Points classification? [/INST] SELECT points_classification FROM table_27573848_18 WHERE general_classification = "Fabian Cancellara" AND mountains_classification = "Mathias Frank" </s>
|
If the stage is smaller than 5.0, and the points classification is by Marco Marcato, who is the General classification by?
|
CREATE TABLE table_27573848_18 (general_classification VARCHAR, points_classification VARCHAR, stage VARCHAR)
|
SELECT general_classification FROM table_27573848_18 WHERE points_classification = "Marco Marcato" AND stage < 5.0
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27573848_18 (general_classification VARCHAR, points_classification VARCHAR, stage VARCHAR) Question: If the stage is smaller than 5.0, and the points classification is by Marco Marcato, who is the General classification by? [/INST] SELECT general_classification FROM table_27573848_18 WHERE points_classification = "Marco Marcato" AND stage < 5.0 </s>
|
How many different people had a General Classification on Stage 5?
|
CREATE TABLE table_27573848_18 (general_classification VARCHAR, stage VARCHAR)
|
SELECT COUNT(general_classification) FROM table_27573848_18 WHERE stage = 5
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27573848_18 (general_classification VARCHAR, stage VARCHAR) Question: How many different people had a General Classification on Stage 5? [/INST] SELECT COUNT(general_classification) FROM table_27573848_18 WHERE stage = 5 </s>
|
How many times was Robert Gesink a winner?
|
CREATE TABLE table_27573848_18 (mountains_classification VARCHAR, winner VARCHAR)
|
SELECT COUNT(mountains_classification) FROM table_27573848_18 WHERE winner = "Robert Gesink"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27573848_18 (mountains_classification VARCHAR, winner VARCHAR) Question: How many times was Robert Gesink a winner? [/INST] SELECT COUNT(mountains_classification) FROM table_27573848_18 WHERE winner = "Robert Gesink" </s>
|
If the winner is Rui Costa, who made the mountains classification?
|
CREATE TABLE table_27573848_18 (mountains_classification VARCHAR, winner VARCHAR)
|
SELECT mountains_classification FROM table_27573848_18 WHERE winner = "Rui Costa"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27573848_18 (mountains_classification VARCHAR, winner VARCHAR) Question: If the winner is Rui Costa, who made the mountains classification? [/INST] SELECT mountains_classification FROM table_27573848_18 WHERE winner = "Rui Costa" </s>
|
What was Team 1 Junior's points?
|
CREATE TABLE table_27603010_14 (points VARCHAR, team__number1 VARCHAR)
|
SELECT points FROM table_27603010_14 WHERE team__number1 = "Junior"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27603010_14 (points VARCHAR, team__number1 VARCHAR) Question: What was Team 1 Junior's points? [/INST] SELECT points FROM table_27603010_14 WHERE team__number1 = "Junior" </s>
|
What was the 2nd leg score if the team 1 is Deportivo Pasto?
|
CREATE TABLE table_27603010_14 (team__number1 VARCHAR)
|
SELECT 2 AS nd_leg FROM table_27603010_14 WHERE team__number1 = "Deportivo Pasto"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27603010_14 (team__number1 VARCHAR) Question: What was the 2nd leg score if the team 1 is Deportivo Pasto? [/INST] SELECT 2 AS nd_leg FROM table_27603010_14 WHERE team__number1 = "Deportivo Pasto" </s>
|
Who was the team 2 that played against team 1 Atlético la Sabana?
|
CREATE TABLE table_27603010_14 (team__number2 VARCHAR, team__number1 VARCHAR)
|
SELECT team__number2 FROM table_27603010_14 WHERE team__number1 = "Atlético La Sabana"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27603010_14 (team__number2 VARCHAR, team__number1 VARCHAR) Question: Who was the team 2 that played against team 1 Atlético la Sabana? [/INST] SELECT team__number2 FROM table_27603010_14 WHERE team__number1 = "Atlético La Sabana" </s>
|
How many new points were earned by rk 26?
|
CREATE TABLE table_27615896_18 (new_points VARCHAR, rk VARCHAR)
|
SELECT new_points FROM table_27615896_18 WHERE rk = 26
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27615896_18 (new_points VARCHAR, rk VARCHAR) Question: How many new points were earned by rk 26? [/INST] SELECT new_points FROM table_27615896_18 WHERE rk = 26 </s>
|
How many points were won where new points was 1680?
|
CREATE TABLE table_27615896_18 (points INTEGER, new_points VARCHAR)
|
SELECT MIN(points) AS won FROM table_27615896_18 WHERE new_points = 1680
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27615896_18 (points INTEGER, new_points VARCHAR) Question: How many points were won where new points was 1680? [/INST] SELECT MIN(points) AS won FROM table_27615896_18 WHERE new_points = 1680 </s>
|
What are the total points for sd 15?
|
CREATE TABLE table_27615896_18 (points INTEGER, sd VARCHAR)
|
SELECT MAX(points) FROM table_27615896_18 WHERE sd = 15
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27615896_18 (points INTEGER, sd VARCHAR) Question: What are the total points for sd 15? [/INST] SELECT MAX(points) FROM table_27615896_18 WHERE sd = 15 </s>
|
What is the total number of sd listings where the status is quarterfinals lost to Novak Djokovic [1]?
|
CREATE TABLE table_27615896_18 (sd VARCHAR, status VARCHAR)
|
SELECT COUNT(sd) FROM table_27615896_18 WHERE status = "Quarterfinals lost to Novak Djokovic [1]"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27615896_18 (sd VARCHAR, status VARCHAR) Question: What is the total number of sd listings where the status is quarterfinals lost to Novak Djokovic [1]? [/INST] SELECT COUNT(sd) FROM table_27615896_18 WHERE status = "Quarterfinals lost to Novak Djokovic [1]" </s>
|
How many different counts for won points does Flavia Pennetta have?
|
CREATE TABLE table_27615896_20 (points VARCHAR, player VARCHAR)
|
SELECT COUNT(points) AS won FROM table_27615896_20 WHERE player = "Flavia Pennetta"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27615896_20 (points VARCHAR, player VARCHAR) Question: How many different counts for won points does Flavia Pennetta have? [/INST] SELECT COUNT(points) AS won FROM table_27615896_20 WHERE player = "Flavia Pennetta" </s>
|
What's Kaia Kanepi's Sd?
|
CREATE TABLE table_27615896_20 (sd INTEGER, player VARCHAR)
|
SELECT MIN(sd) FROM table_27615896_20 WHERE player = "Kaia Kanepi"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27615896_20 (sd INTEGER, player VARCHAR) Question: What's Kaia Kanepi's Sd? [/INST] SELECT MIN(sd) FROM table_27615896_20 WHERE player = "Kaia Kanepi" </s>
|
What's the status of the player with 3041 points?
|
CREATE TABLE table_27615896_20 (status VARCHAR, points VARCHAR)
|
SELECT status FROM table_27615896_20 WHERE points = 3041
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27615896_20 (status VARCHAR, points VARCHAR) Question: What's the status of the player with 3041 points? [/INST] SELECT status FROM table_27615896_20 WHERE points = 3041 </s>
|
When 62 is the number in series who is the writer?
|
CREATE TABLE table_27657925_1 (written_by VARCHAR, no_in_series VARCHAR)
|
SELECT written_by FROM table_27657925_1 WHERE no_in_series = "62"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27657925_1 (written_by VARCHAR, no_in_series VARCHAR) Question: When 62 is the number in series who is the writer? [/INST] SELECT written_by FROM table_27657925_1 WHERE no_in_series = "62" </s>
|
When steve holland is the writer what is the air date?
|
CREATE TABLE table_27657925_1 (original_air_date VARCHAR, written_by VARCHAR)
|
SELECT original_air_date FROM table_27657925_1 WHERE written_by = "Steve Holland"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27657925_1 (original_air_date VARCHAR, written_by VARCHAR) Question: When steve holland is the writer what is the air date? [/INST] SELECT original_air_date FROM table_27657925_1 WHERE written_by = "Steve Holland" </s>
|
When 231 is the production code what is the title?
|
CREATE TABLE table_27657925_1 (title VARCHAR, production_code VARCHAR)
|
SELECT title FROM table_27657925_1 WHERE production_code = "231"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27657925_1 (title VARCHAR, production_code VARCHAR) Question: When 231 is the production code what is the title? [/INST] SELECT title FROM table_27657925_1 WHERE production_code = "231" </s>
|
When there are 5.2 million u.s. viewers how many numbers in series are there?
|
CREATE TABLE table_27657925_1 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR)
|
SELECT COUNT(no_in_series) FROM table_27657925_1 WHERE us_viewers__millions_ = "5.2"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27657925_1 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR) Question: When there are 5.2 million u.s. viewers how many numbers in series are there? [/INST] SELECT COUNT(no_in_series) FROM table_27657925_1 WHERE us_viewers__millions_ = "5.2" </s>
|
Name the total number of outgoing manager for villarreal b
|
CREATE TABLE table_27666856_3 (outgoing_manager VARCHAR, team VARCHAR)
|
SELECT COUNT(outgoing_manager) FROM table_27666856_3 WHERE team = "Villarreal B"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27666856_3 (outgoing_manager VARCHAR, team VARCHAR) Question: Name the total number of outgoing manager for villarreal b [/INST] SELECT COUNT(outgoing_manager) FROM table_27666856_3 WHERE team = "Villarreal B" </s>
|
Name the date of appointment for 26 may 2011
|
CREATE TABLE table_27666856_3 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR)
|
SELECT COUNT(date_of_appointment) FROM table_27666856_3 WHERE date_of_vacancy = "26 May 2011"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27666856_3 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR) Question: Name the date of appointment for 26 may 2011 [/INST] SELECT COUNT(date_of_appointment) FROM table_27666856_3 WHERE date_of_vacancy = "26 May 2011" </s>
|
Name the outgoing manager for esteban vigo
|
CREATE TABLE table_27666856_3 (outgoing_manager VARCHAR, replaced_by VARCHAR)
|
SELECT COUNT(outgoing_manager) FROM table_27666856_3 WHERE replaced_by = "Esteban Vigo"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27666856_3 (outgoing_manager VARCHAR, replaced_by VARCHAR) Question: Name the outgoing manager for esteban vigo [/INST] SELECT COUNT(outgoing_manager) FROM table_27666856_3 WHERE replaced_by = "Esteban Vigo" </s>
|
Name the number of team for 19th position
|
CREATE TABLE table_27666856_3 (team VARCHAR, position_in_table VARCHAR)
|
SELECT COUNT(team) FROM table_27666856_3 WHERE position_in_table = "19th"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27666856_3 (team VARCHAR, position_in_table VARCHAR) Question: Name the number of team for 19th position [/INST] SELECT COUNT(team) FROM table_27666856_3 WHERE position_in_table = "19th" </s>
|
Name the manner of departure for luis enrique
|
CREATE TABLE table_27666856_3 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)
|
SELECT manner_of_departure FROM table_27666856_3 WHERE outgoing_manager = "Luis Enrique"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27666856_3 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) Question: Name the manner of departure for luis enrique [/INST] SELECT manner_of_departure FROM table_27666856_3 WHERE outgoing_manager = "Luis Enrique" </s>
|
Who was the opponent in the Women's Cup 0 0 where Brancão Couto 0 is the scorer?
|
CREATE TABLE table_27654988_1 (opponent VARCHAR, competition VARCHAR, scorers VARCHAR)
|
SELECT opponent FROM table_27654988_1 WHERE competition = "Women's Cup 0 0" AND scorers = "Brancão Couto 0"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27654988_1 (opponent VARCHAR, competition VARCHAR, scorers VARCHAR) Question: Who was the opponent in the Women's Cup 0 0 where Brancão Couto 0 is the scorer? [/INST] SELECT opponent FROM table_27654988_1 WHERE competition = "Women's Cup 0 0" AND scorers = "Brancão Couto 0" </s>
|
What is the result of the game where the opponent is Innsbrucker Kilmarnock CSK VVS Samara?
|
CREATE TABLE table_27654988_1 (result VARCHAR, opponent VARCHAR)
|
SELECT result FROM table_27654988_1 WHERE opponent = "Innsbrucker Kilmarnock CSK VVS Samara"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27654988_1 (result VARCHAR, opponent VARCHAR) Question: What is the result of the game where the opponent is Innsbrucker Kilmarnock CSK VVS Samara? [/INST] SELECT result FROM table_27654988_1 WHERE opponent = "Innsbrucker Kilmarnock CSK VVS Samara" </s>
|
How many seasons was the opponent Vamos Idaliou Krka Novo Mesto SV Neulengbach?
|
CREATE TABLE table_27654988_1 (season VARCHAR, opponent VARCHAR)
|
SELECT COUNT(season) FROM table_27654988_1 WHERE opponent = "Vamos Idaliou Krka Novo Mesto SV Neulengbach"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27654988_1 (season VARCHAR, opponent VARCHAR) Question: How many seasons was the opponent Vamos Idaliou Krka Novo Mesto SV Neulengbach? [/INST] SELECT COUNT(season) FROM table_27654988_1 WHERE opponent = "Vamos Idaliou Krka Novo Mesto SV Neulengbach" </s>
|
Who were the scorers in the game with final score 0–4 7–1 0–3?
|
CREATE TABLE table_27654988_1 (scorers VARCHAR, result VARCHAR)
|
SELECT scorers FROM table_27654988_1 WHERE result = "0–4 7–1 0–3"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27654988_1 (scorers VARCHAR, result VARCHAR) Question: Who were the scorers in the game with final score 0–4 7–1 0–3? [/INST] SELECT scorers FROM table_27654988_1 WHERE result = "0–4 7–1 0–3" </s>
|
Name the kickoff for rheinstadion
|
CREATE TABLE table_27690037_2 (kickoff VARCHAR, game_site VARCHAR)
|
SELECT kickoff FROM table_27690037_2 WHERE game_site = "Rheinstadion"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27690037_2 (kickoff VARCHAR, game_site VARCHAR) Question: Name the kickoff for rheinstadion [/INST] SELECT kickoff FROM table_27690037_2 WHERE game_site = "Rheinstadion" </s>
|
Who had the high point total on october 20?
|
CREATE TABLE table_27700530_5 (high_points VARCHAR, date VARCHAR)
|
SELECT high_points FROM table_27700530_5 WHERE date = "October 20"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27700530_5 (high_points VARCHAR, date VARCHAR) Question: Who had the high point total on october 20? [/INST] SELECT high_points FROM table_27700530_5 WHERE date = "October 20" </s>
|
What was the series record at after game 3?
|
CREATE TABLE table_27700530_15 (series VARCHAR, game VARCHAR)
|
SELECT series FROM table_27700530_15 WHERE game = 3
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27700530_15 (series VARCHAR, game VARCHAR) Question: What was the series record at after game 3? [/INST] SELECT series FROM table_27700530_15 WHERE game = 3 </s>
|
What was the location and attendance for game 2?
|
CREATE TABLE table_27700530_15 (location_attendance VARCHAR, game VARCHAR)
|
SELECT location_attendance FROM table_27700530_15 WHERE game = 2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27700530_15 (location_attendance VARCHAR, game VARCHAR) Question: What was the location and attendance for game 2? [/INST] SELECT location_attendance FROM table_27700530_15 WHERE game = 2 </s>
|
Who had the most points and how many did they have on April 22?
|
CREATE TABLE table_27700530_15 (high_points VARCHAR, date VARCHAR)
|
SELECT high_points FROM table_27700530_15 WHERE date = "April 22"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27700530_15 (high_points VARCHAR, date VARCHAR) Question: Who had the most points and how many did they have on April 22? [/INST] SELECT high_points FROM table_27700530_15 WHERE date = "April 22" </s>
|
Who had the most assists and how many did they have on October 5?
|
CREATE TABLE table_27704187_2 (high_assists VARCHAR, date VARCHAR)
|
SELECT high_assists FROM table_27704187_2 WHERE date = "October 5"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27704187_2 (high_assists VARCHAR, date VARCHAR) Question: Who had the most assists and how many did they have on October 5? [/INST] SELECT high_assists FROM table_27704187_2 WHERE date = "October 5" </s>
|
List all artists with choreographer Marcos Aguirre and a simple rating.
|
CREATE TABLE table_27711947_1 (artist VARCHAR, choreographer VARCHAR, rating VARCHAR)
|
SELECT artist FROM table_27711947_1 WHERE choreographer = "Marcos Aguirre" AND rating = "Simple"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27711947_1 (artist VARCHAR, choreographer VARCHAR, rating VARCHAR) Question: List all artists with choreographer Marcos Aguirre and a simple rating. [/INST] SELECT artist FROM table_27711947_1 WHERE choreographer = "Marcos Aguirre" AND rating = "Simple" </s>
|
How many times was the overall attendance 17807?
|
CREATE TABLE table_2771237_1 (overall_attendance VARCHAR, average_attendance VARCHAR)
|
SELECT COUNT(overall_attendance) FROM table_2771237_1 WHERE average_attendance = 17807
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2771237_1 (overall_attendance VARCHAR, average_attendance VARCHAR) Question: How many times was the overall attendance 17807? [/INST] SELECT COUNT(overall_attendance) FROM table_2771237_1 WHERE average_attendance = 17807 </s>
|
What is the overall attendance in the places where the average attendance was 17148?
|
CREATE TABLE table_2771237_1 (overall_attendance VARCHAR, average_attendance VARCHAR)
|
SELECT overall_attendance FROM table_2771237_1 WHERE average_attendance = 17148
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2771237_1 (overall_attendance VARCHAR, average_attendance VARCHAR) Question: What is the overall attendance in the places where the average attendance was 17148? [/INST] SELECT overall_attendance FROM table_2771237_1 WHERE average_attendance = 17148 </s>
|
What season was the average attendance is 16043?
|
CREATE TABLE table_2771237_1 (season VARCHAR, average_attendance VARCHAR)
|
SELECT season FROM table_2771237_1 WHERE average_attendance = 16043
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2771237_1 (season VARCHAR, average_attendance VARCHAR) Question: What season was the average attendance is 16043? [/INST] SELECT season FROM table_2771237_1 WHERE average_attendance = 16043 </s>
|
What was the overall record in the season where average attendance was 16720?
|
CREATE TABLE table_2771237_1 (overall_record VARCHAR, average_attendance VARCHAR)
|
SELECT overall_record FROM table_2771237_1 WHERE average_attendance = 16720
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2771237_1 (overall_record VARCHAR, average_attendance VARCHAR) Question: What was the overall record in the season where average attendance was 16720? [/INST] SELECT overall_record FROM table_2771237_1 WHERE average_attendance = 16720 </s>
|
Name the high assists for march 14
|
CREATE TABLE table_27712451_9 (high_assists VARCHAR, date VARCHAR)
|
SELECT high_assists FROM table_27712451_9 WHERE date = "March 14"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27712451_9 (high_assists VARCHAR, date VARCHAR) Question: Name the high assists for march 14 [/INST] SELECT high_assists FROM table_27712451_9 WHERE date = "March 14" </s>
|
Who had high assists in game number 9?
|
CREATE TABLE table_27712702_7 (high_assists VARCHAR, game VARCHAR)
|
SELECT high_assists FROM table_27712702_7 WHERE game = 9
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27712702_7 (high_assists VARCHAR, game VARCHAR) Question: Who had high assists in game number 9? [/INST] SELECT high_assists FROM table_27712702_7 WHERE game = 9 </s>
|
Who had high assists in the game played at Oklahoma city arena 17,509?
|
CREATE TABLE table_27712702_7 (high_assists VARCHAR, location_attendance VARCHAR)
|
SELECT high_assists FROM table_27712702_7 WHERE location_attendance = "Oklahoma City Arena 17,509"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27712702_7 (high_assists VARCHAR, location_attendance VARCHAR) Question: Who had high assists in the game played at Oklahoma city arena 17,509? [/INST] SELECT high_assists FROM table_27712702_7 WHERE location_attendance = "Oklahoma City Arena 17,509" </s>
|
Which team played on November 15?
|
CREATE TABLE table_27712702_7 (team VARCHAR, date VARCHAR)
|
SELECT team FROM table_27712702_7 WHERE date = "November 15"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27712702_7 (team VARCHAR, date VARCHAR) Question: Which team played on November 15? [/INST] SELECT team FROM table_27712702_7 WHERE date = "November 15" </s>
|
Which series had a score of l 103–112 (ot)?
|
CREATE TABLE table_27713030_16 (series VARCHAR, score VARCHAR)
|
SELECT series FROM table_27713030_16 WHERE score = "L 103–112 (OT)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27713030_16 (series VARCHAR, score VARCHAR) Question: Which series had a score of l 103–112 (ot)? [/INST] SELECT series FROM table_27713030_16 WHERE score = "L 103–112 (OT)" </s>
|
What was the location and attendance when lebron james (10) had the high assists?
|
CREATE TABLE table_27713030_16 (location_attendance VARCHAR, high_assists VARCHAR)
|
SELECT location_attendance FROM table_27713030_16 WHERE high_assists = "LeBron James (10)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27713030_16 (location_attendance VARCHAR, high_assists VARCHAR) Question: What was the location and attendance when lebron james (10) had the high assists? [/INST] SELECT location_attendance FROM table_27713030_16 WHERE high_assists = "LeBron James (10)" </s>
|
How many teams were there when chris bosh , lebron james (8) had the high rebounds?
|
CREATE TABLE table_27713030_16 (team VARCHAR, high_rebounds VARCHAR)
|
SELECT COUNT(team) FROM table_27713030_16 WHERE high_rebounds = "Chris Bosh , LeBron James (8)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27713030_16 (team VARCHAR, high_rebounds VARCHAR) Question: How many teams were there when chris bosh , lebron james (8) had the high rebounds? [/INST] SELECT COUNT(team) FROM table_27713030_16 WHERE high_rebounds = "Chris Bosh , LeBron James (8)" </s>
|
Who led in assists on January 17, and with how many?
|
CREATE TABLE table_27712702_9 (high_assists VARCHAR, date VARCHAR)
|
SELECT high_assists FROM table_27712702_9 WHERE date = "January 17"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27712702_9 (high_assists VARCHAR, date VARCHAR) Question: Who led in assists on January 17, and with how many? [/INST] SELECT high_assists FROM table_27712702_9 WHERE date = "January 17" </s>
|
What was the score of the January 8 game?
|
CREATE TABLE table_27712702_9 (score VARCHAR, date VARCHAR)
|
SELECT score FROM table_27712702_9 WHERE date = "January 8"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27712702_9 (score VARCHAR, date VARCHAR) Question: What was the score of the January 8 game? [/INST] SELECT score FROM table_27712702_9 WHERE date = "January 8" </s>
|
What game number was on January 14?
|
CREATE TABLE table_27713583_8 (game VARCHAR, date VARCHAR)
|
SELECT game FROM table_27713583_8 WHERE date = "January 14"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27713583_8 (game VARCHAR, date VARCHAR) Question: What game number was on January 14? [/INST] SELECT game FROM table_27713583_8 WHERE date = "January 14" </s>
|
what is the date of the game that the high assists is raymond felton (4)?
|
CREATE TABLE table_27713583_2 (date VARCHAR, high_assists VARCHAR)
|
SELECT date FROM table_27713583_2 WHERE high_assists = "Raymond Felton (4)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27713583_2 (date VARCHAR, high_assists VARCHAR) Question: what is the date of the game that the high assists is raymond felton (4)? [/INST] SELECT date FROM table_27713583_2 WHERE high_assists = "Raymond Felton (4)" </s>
|
How many games were on october 17?
|
CREATE TABLE table_27713583_2 (high_points VARCHAR, date VARCHAR)
|
SELECT COUNT(high_points) FROM table_27713583_2 WHERE date = "October 17"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27713583_2 (high_points VARCHAR, date VARCHAR) Question: How many games were on october 17? [/INST] SELECT COUNT(high_points) FROM table_27713583_2 WHERE date = "October 17" </s>
|
What is the record for the game against team @ Minnesota?
|
CREATE TABLE table_27713583_2 (record VARCHAR, team VARCHAR)
|
SELECT record FROM table_27713583_2 WHERE team = "@ Minnesota"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27713583_2 (record VARCHAR, team VARCHAR) Question: What is the record for the game against team @ Minnesota? [/INST] SELECT record FROM table_27713583_2 WHERE team = "@ Minnesota" </s>
|
What is the date the high points was by toney douglas (23)?
|
CREATE TABLE table_27713583_2 (date VARCHAR, high_points VARCHAR)
|
SELECT date FROM table_27713583_2 WHERE high_points = "Toney Douglas (23)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27713583_2 (date VARCHAR, high_points VARCHAR) Question: What is the date the high points was by toney douglas (23)? [/INST] SELECT date FROM table_27713583_2 WHERE high_points = "Toney Douglas (23)" </s>
|
How many episodes had an audience of exactly 25.3 million viewers in the U.S.A.?
|
CREATE TABLE table_27713721_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)
|
SELECT COUNT(production_code) FROM table_27713721_1 WHERE us_viewers__millions_ = "25.3"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27713721_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR) Question: How many episodes had an audience of exactly 25.3 million viewers in the U.S.A.? [/INST] SELECT COUNT(production_code) FROM table_27713721_1 WHERE us_viewers__millions_ = "25.3" </s>
|
Who had the high points when high assists is tim duncan (5)?
|
CREATE TABLE table_27715173_8 (high_points VARCHAR, high_assists VARCHAR)
|
SELECT high_points FROM table_27715173_8 WHERE high_assists = "Tim Duncan (5)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27715173_8 (high_points VARCHAR, high_assists VARCHAR) Question: Who had the high points when high assists is tim duncan (5)? [/INST] SELECT high_points FROM table_27715173_8 WHERE high_assists = "Tim Duncan (5)" </s>
|
what is the date when the location attendance is energysolutions arena 19,911?
|
CREATE TABLE table_27715173_8 (date VARCHAR, location_attendance VARCHAR)
|
SELECT date FROM table_27715173_8 WHERE location_attendance = "EnergySolutions Arena 19,911"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27715173_8 (date VARCHAR, location_attendance VARCHAR) Question: what is the date when the location attendance is energysolutions arena 19,911? [/INST] SELECT date FROM table_27715173_8 WHERE location_attendance = "EnergySolutions Arena 19,911" </s>
|
how many times is the team oklahoma city?
|
CREATE TABLE table_27715173_8 (high_points VARCHAR, team VARCHAR)
|
SELECT COUNT(high_points) FROM table_27715173_8 WHERE team = "Oklahoma City"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27715173_8 (high_points VARCHAR, team VARCHAR) Question: how many times is the team oklahoma city? [/INST] SELECT COUNT(high_points) FROM table_27715173_8 WHERE team = "Oklahoma City" </s>
|
what is the game where the high points is by manu ginóbili (26)?
|
CREATE TABLE table_27715173_8 (game VARCHAR, high_points VARCHAR)
|
SELECT game FROM table_27715173_8 WHERE high_points = "Manu Ginóbili (26)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27715173_8 (game VARCHAR, high_points VARCHAR) Question: what is the game where the high points is by manu ginóbili (26)? [/INST] SELECT game FROM table_27715173_8 WHERE high_points = "Manu Ginóbili (26)" </s>
|
what is the location attendance when the record is 39–7?
|
CREATE TABLE table_27715173_8 (location_attendance VARCHAR, record VARCHAR)
|
SELECT location_attendance FROM table_27715173_8 WHERE record = "39–7"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27715173_8 (location_attendance VARCHAR, record VARCHAR) Question: what is the location attendance when the record is 39–7? [/INST] SELECT location_attendance FROM table_27715173_8 WHERE record = "39–7" </s>
|
What is the maximum basketball game?
|
CREATE TABLE table_27715173_2 (game INTEGER)
|
SELECT MAX(game) FROM table_27715173_2
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27715173_2 (game INTEGER) Question: What is the maximum basketball game? [/INST] SELECT MAX(game) FROM table_27715173_2 </s>
|
How many entries are shown for high points when the score was l 87–89 (ot)?
|
CREATE TABLE table_27722408_6 (high_points VARCHAR, score VARCHAR)
|
SELECT COUNT(high_points) FROM table_27722408_6 WHERE score = "L 87–89 (OT)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27722408_6 (high_points VARCHAR, score VARCHAR) Question: How many entries are shown for high points when the score was l 87–89 (ot)? [/INST] SELECT COUNT(high_points) FROM table_27722408_6 WHERE score = "L 87–89 (OT)" </s>
|
What was the other team in game 11?
|
CREATE TABLE table_27722408_6 (team VARCHAR, game VARCHAR)
|
SELECT team FROM table_27722408_6 WHERE game = 11
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27722408_6 (team VARCHAR, game VARCHAR) Question: What was the other team in game 11? [/INST] SELECT team FROM table_27722408_6 WHERE game = 11 </s>
|
Who scored the high points for the game with record 9–3?
|
CREATE TABLE table_27722408_6 (high_points VARCHAR, record VARCHAR)
|
SELECT high_points FROM table_27722408_6 WHERE record = "9–3"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27722408_6 (high_points VARCHAR, record VARCHAR) Question: Who scored the high points for the game with record 9–3? [/INST] SELECT high_points FROM table_27722408_6 WHERE record = "9–3" </s>
|
Name the date for washington
|
CREATE TABLE table_27722734_7 (date VARCHAR, team VARCHAR)
|
SELECT date FROM table_27722734_7 WHERE team = "Washington"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27722734_7 (date VARCHAR, team VARCHAR) Question: Name the date for washington [/INST] SELECT date FROM table_27722734_7 WHERE team = "Washington" </s>
|
Name the record for 23 game
|
CREATE TABLE table_27722734_7 (record VARCHAR, game VARCHAR)
|
SELECT record FROM table_27722734_7 WHERE game = 23
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27722734_7 (record VARCHAR, game VARCHAR) Question: Name the record for 23 game [/INST] SELECT record FROM table_27722734_7 WHERE game = 23 </s>
|
Name the most game for december 1
|
CREATE TABLE table_27722734_7 (game INTEGER, date VARCHAR)
|
SELECT MAX(game) FROM table_27722734_7 WHERE date = "December 1"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27722734_7 (game INTEGER, date VARCHAR) Question: Name the most game for december 1 [/INST] SELECT MAX(game) FROM table_27722734_7 WHERE date = "December 1" </s>
|
What was the score of the game against portland?
|
CREATE TABLE table_27723526_10 (score VARCHAR, team VARCHAR)
|
SELECT score FROM table_27723526_10 WHERE team = "Portland"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27723526_10 (score VARCHAR, team VARCHAR) Question: What was the score of the game against portland? [/INST] SELECT score FROM table_27723526_10 WHERE team = "Portland" </s>
|
Who had the high assist total on january 27?
|
CREATE TABLE table_27723526_10 (high_assists VARCHAR, date VARCHAR)
|
SELECT high_assists FROM table_27723526_10 WHERE date = "January 27"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27723526_10 (high_assists VARCHAR, date VARCHAR) Question: Who had the high assist total on january 27? [/INST] SELECT high_assists FROM table_27723526_10 WHERE date = "January 27" </s>
|
What is the location and attendance of game 70?
|
CREATE TABLE table_27733909_9 (location_attendance VARCHAR, game VARCHAR)
|
SELECT location_attendance FROM table_27733909_9 WHERE game = 70
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27733909_9 (location_attendance VARCHAR, game VARCHAR) Question: What is the location and attendance of game 70? [/INST] SELECT location_attendance FROM table_27733909_9 WHERE game = 70 </s>
|
What team was the opponent when josh smith (8) had the high assists?
|
CREATE TABLE table_27734577_13 (team VARCHAR, high_assists VARCHAR)
|
SELECT team FROM table_27734577_13 WHERE high_assists = "Josh Smith (8)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27734577_13 (team VARCHAR, high_assists VARCHAR) Question: What team was the opponent when josh smith (8) had the high assists? [/INST] SELECT team FROM table_27734577_13 WHERE high_assists = "Josh Smith (8)" </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.