context
stringlengths 27
489
| answer
stringlengths 18
557
| question
stringlengths 12
243
| text
stringlengths 103
1.05k
|
|---|---|---|---|
CREATE TABLE table_10706961_2 (winning_driver VARCHAR, fastest_lap VARCHAR)
|
SELECT COUNT(winning_driver) FROM table_10706961_2 WHERE fastest_lap = "56.920"
|
How many winning drivers were there in the race that had a fastest lap time of 56.920?
|
<s>[INST]How many winning drivers were there in the race that had a fastest lap time of 56.920? Context: CREATE TABLE table_10706961_2 (winning_driver VARCHAR, fastest_lap VARCHAR)[/INST]SELECT COUNT(winning_driver) FROM table_10706961_2 WHERE fastest_lap = "56.920"</s>
|
CREATE TABLE table_name_53 (golden_point_s__scorer VARCHAR, away VARCHAR, home VARCHAR)
|
SELECT golden_point_s__scorer FROM table_name_53 WHERE away = "sydney roosters" AND home = "cronulla sharks"
|
What Golden point(s) scorer has the Away Sydney Roosters and Home Cronulla Sharks?
|
<s>[INST]What Golden point(s) scorer has the Away Sydney Roosters and Home Cronulla Sharks? Context: CREATE TABLE table_name_53 (golden_point_s__scorer VARCHAR, away VARCHAR, home VARCHAR)[/INST]SELECT golden_point_s__scorer FROM table_name_53 WHERE away = "sydney roosters" AND home = "cronulla sharks"</s>
|
CREATE TABLE table_2013618_1 (traditional VARCHAR, area VARCHAR)
|
SELECT traditional FROM table_2013618_1 WHERE area = 544
|
Name the traditional for area 544
|
<s>[INST]Name the traditional for area 544 Context: CREATE TABLE table_2013618_1 (traditional VARCHAR, area VARCHAR)[/INST]SELECT traditional FROM table_2013618_1 WHERE area = 544</s>
|
CREATE TABLE table_name_34 (record VARCHAR, loss VARCHAR)
|
SELECT record FROM table_name_34 WHERE loss = "lemanczyk (0–1)"
|
What was the record at the game that had a loss of Lemanczyk (0–1)?
|
<s>[INST]What was the record at the game that had a loss of Lemanczyk (0–1)? Context: CREATE TABLE table_name_34 (record VARCHAR, loss VARCHAR)[/INST]SELECT record FROM table_name_34 WHERE loss = "lemanczyk (0–1)"</s>
|
CREATE TABLE table_name_19 (laps VARCHAR, grid VARCHAR)
|
SELECT laps FROM table_name_19 WHERE grid = "10"
|
What is the number of laps completed by the car in grid 10?
|
<s>[INST]What is the number of laps completed by the car in grid 10? Context: CREATE TABLE table_name_19 (laps VARCHAR, grid VARCHAR)[/INST]SELECT laps FROM table_name_19 WHERE grid = "10"</s>
|
CREATE TABLE table_name_88 (game_site VARCHAR, result VARCHAR)
|
SELECT game_site FROM table_name_88 WHERE result = "w 20-14"
|
Name the game site with result of w 20-14
|
<s>[INST]Name the game site with result of w 20-14 Context: CREATE TABLE table_name_88 (game_site VARCHAR, result VARCHAR)[/INST]SELECT game_site FROM table_name_88 WHERE result = "w 20-14"</s>
|
CREATE TABLE table_name_79 (roll INTEGER, authority VARCHAR, decile VARCHAR)
|
SELECT MAX(roll) FROM table_name_79 WHERE authority = "state" AND decile < 8
|
What is the highest roll number of the school with a state authority and a decile smaller than 8?
|
<s>[INST]What is the highest roll number of the school with a state authority and a decile smaller than 8? Context: CREATE TABLE table_name_79 (roll INTEGER, authority VARCHAR, decile VARCHAR)[/INST]SELECT MAX(roll) FROM table_name_79 WHERE authority = "state" AND decile < 8</s>
|
CREATE TABLE table_12134383_1 (date_of_birth VARCHAR, _number VARCHAR)
|
SELECT date_of_birth FROM table_12134383_1 WHERE _number = 2
|
what's the date of birth with # being 2
|
<s>[INST]what's the date of birth with # being 2 Context: CREATE TABLE table_12134383_1 (date_of_birth VARCHAR, _number VARCHAR)[/INST]SELECT date_of_birth FROM table_12134383_1 WHERE _number = 2</s>
|
CREATE TABLE table_name_13 (week INTEGER, attendance VARCHAR)
|
SELECT MAX(week) FROM table_name_13 WHERE attendance = 43 OFFSET 430
|
In what Week was the Attendance 43,430?
|
<s>[INST]In what Week was the Attendance 43,430? Context: CREATE TABLE table_name_13 (week INTEGER, attendance VARCHAR)[/INST]SELECT MAX(week) FROM table_name_13 WHERE attendance = 43 OFFSET 430</s>
|
CREATE TABLE table_name_19 (opponents_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR)
|
SELECT opponents_in_the_final FROM table_name_19 WHERE outcome = "runner-up" AND date = "august 7, 2011"
|
Name the opponents for outcome of runner-up and date of august 7, 2011
|
<s>[INST]Name the opponents for outcome of runner-up and date of august 7, 2011 Context: CREATE TABLE table_name_19 (opponents_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR)[/INST]SELECT opponents_in_the_final FROM table_name_19 WHERE outcome = "runner-up" AND date = "august 7, 2011"</s>
|
CREATE TABLE table_name_17 (nationality VARCHAR, ship VARCHAR)
|
SELECT nationality FROM table_name_17 WHERE ship = "aracataca"
|
What is the Nationality of the Aracataca Ship?
|
<s>[INST]What is the Nationality of the Aracataca Ship? Context: CREATE TABLE table_name_17 (nationality VARCHAR, ship VARCHAR)[/INST]SELECT nationality FROM table_name_17 WHERE ship = "aracataca"</s>
|
CREATE TABLE table_name_26 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, outgoing_manager VARCHAR)
|
SELECT date_of_appointment FROM table_name_26 WHERE manner_of_departure = "sacked" AND outgoing_manager = "fred rutten"
|
What is the date of appointment of outgoing manager fred rutten, who had a sacked manner of departure?
|
<s>[INST]What is the date of appointment of outgoing manager fred rutten, who had a sacked manner of departure? Context: CREATE TABLE table_name_26 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT date_of_appointment FROM table_name_26 WHERE manner_of_departure = "sacked" AND outgoing_manager = "fred rutten"</s>
|
CREATE TABLE table_26609690_1 (top_10 INTEGER)
|
SELECT MIN(top_10) FROM table_26609690_1
|
What is the smallest top 10 figure?
|
<s>[INST]What is the smallest top 10 figure? Context: CREATE TABLE table_26609690_1 (top_10 INTEGER)[/INST]SELECT MIN(top_10) FROM table_26609690_1</s>
|
CREATE TABLE table_name_3 (ncaa_tourn_appearances VARCHAR, coach VARCHAR, conference_titles VARCHAR, ncaa_titles VARCHAR)
|
SELECT ncaa_tourn_appearances FROM table_name_3 WHERE conference_titles > "0" AND ncaa_titles = "0" AND coach = "lou watson"
|
Which NCAA Tournament Appearances have Conference Titles that are larger than 0, NCAA Titles of 0, and were coached by Lou Watson?
|
<s>[INST]Which NCAA Tournament Appearances have Conference Titles that are larger than 0, NCAA Titles of 0, and were coached by Lou Watson? Context: CREATE TABLE table_name_3 (ncaa_tourn_appearances VARCHAR, coach VARCHAR, conference_titles VARCHAR, ncaa_titles VARCHAR)[/INST]SELECT ncaa_tourn_appearances FROM table_name_3 WHERE conference_titles > "0" AND ncaa_titles = "0" AND coach = "lou watson"</s>
|
CREATE TABLE table_17325580_6 (high_points VARCHAR, team VARCHAR)
|
SELECT high_points FROM table_17325580_6 WHERE team = "Washington"
|
What is every high point when the team is Washington?
|
<s>[INST]What is every high point when the team is Washington? Context: CREATE TABLE table_17325580_6 (high_points VARCHAR, team VARCHAR)[/INST]SELECT high_points FROM table_17325580_6 WHERE team = "Washington"</s>
|
CREATE TABLE table_25716397_1 (directed_by VARCHAR, series_no VARCHAR)
|
SELECT COUNT(directed_by) FROM table_25716397_1 WHERE series_no = 55
|
How many directors of episode 55?
|
<s>[INST]How many directors of episode 55? Context: CREATE TABLE table_25716397_1 (directed_by VARCHAR, series_no VARCHAR)[/INST]SELECT COUNT(directed_by) FROM table_25716397_1 WHERE series_no = 55</s>
|
CREATE TABLE table_name_91 (to_par VARCHAR, player VARCHAR, total VARCHAR)
|
SELECT COUNT(to_par) FROM table_name_91 WHERE player = "andy north" AND total > 153
|
What is the To par of Player Andy North with a Total larger than 153?
|
<s>[INST]What is the To par of Player Andy North with a Total larger than 153? Context: CREATE TABLE table_name_91 (to_par VARCHAR, player VARCHAR, total VARCHAR)[/INST]SELECT COUNT(to_par) FROM table_name_91 WHERE player = "andy north" AND total > 153</s>
|
CREATE TABLE table_13557843_7 (date VARCHAR, game VARCHAR)
|
SELECT date FROM table_13557843_7 WHERE game = 72
|
what's the date with game being 72
|
<s>[INST]what's the date with game being 72 Context: CREATE TABLE table_13557843_7 (date VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_13557843_7 WHERE game = 72</s>
|
CREATE TABLE table_29329432_1 (no VARCHAR, written_by VARCHAR, us_viewers__million_ VARCHAR)
|
SELECT COUNT(no) FROM table_29329432_1 WHERE written_by = "Jim Barnes" AND us_viewers__million_ = "1.82"
|
Name the number of episodes that jim barnes wrote for 1.82 million viewers
|
<s>[INST]Name the number of episodes that jim barnes wrote for 1.82 million viewers Context: CREATE TABLE table_29329432_1 (no VARCHAR, written_by VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT COUNT(no) FROM table_29329432_1 WHERE written_by = "Jim Barnes" AND us_viewers__million_ = "1.82"</s>
|
CREATE TABLE table_27277284_8 (v_core VARCHAR, model_number VARCHAR)
|
SELECT COUNT(v_core) FROM table_27277284_8 WHERE model_number = "Mobile Athlon 64 3000+"
|
Name the number of v core for model number mobile athlon 64 3000+
|
<s>[INST]Name the number of v core for model number mobile athlon 64 3000+ Context: CREATE TABLE table_27277284_8 (v_core VARCHAR, model_number VARCHAR)[/INST]SELECT COUNT(v_core) FROM table_27277284_8 WHERE model_number = "Mobile Athlon 64 3000+"</s>
|
CREATE TABLE table_name_23 (overall INTEGER, player VARCHAR, round VARCHAR)
|
SELECT MIN(overall) FROM table_name_23 WHERE player = "dan jennings" AND round > 9
|
What is the lowest Overall, when Player is "Dan Jennings", and when Round is greater than 9?
|
<s>[INST]What is the lowest Overall, when Player is "Dan Jennings", and when Round is greater than 9? Context: CREATE TABLE table_name_23 (overall INTEGER, player VARCHAR, round VARCHAR)[/INST]SELECT MIN(overall) FROM table_name_23 WHERE player = "dan jennings" AND round > 9</s>
|
CREATE TABLE table_name_47 (date VARCHAR, results¹ VARCHAR)
|
SELECT date FROM table_name_47 WHERE results¹ = "4:0"
|
On what Date were the Results¹ 4:0?
|
<s>[INST]On what Date were the Results¹ 4:0? Context: CREATE TABLE table_name_47 (date VARCHAR, results¹ VARCHAR)[/INST]SELECT date FROM table_name_47 WHERE results¹ = "4:0"</s>
|
CREATE TABLE table_name_90 (overall INTEGER, name VARCHAR, pick VARCHAR)
|
SELECT SUM(overall) FROM table_name_90 WHERE name = "charley barnes" AND pick < 3
|
How many overalls have charley barnes as the name, with a pick less than 3?
|
<s>[INST]How many overalls have charley barnes as the name, with a pick less than 3? Context: CREATE TABLE table_name_90 (overall INTEGER, name VARCHAR, pick VARCHAR)[/INST]SELECT SUM(overall) FROM table_name_90 WHERE name = "charley barnes" AND pick < 3</s>
|
CREATE TABLE table_name_57 (date VARCHAR, tie_no VARCHAR, away_team VARCHAR)
|
SELECT date FROM table_name_57 WHERE tie_no = "replay" AND away_team = "watford"
|
What date had a tie no of replay, and an away team of watford?
|
<s>[INST]What date had a tie no of replay, and an away team of watford? Context: CREATE TABLE table_name_57 (date VARCHAR, tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_57 WHERE tie_no = "replay" AND away_team = "watford"</s>
|
CREATE TABLE table_20042805_2 (african_spoonbill VARCHAR, hadeda_ibis VARCHAR)
|
SELECT african_spoonbill FROM table_20042805_2 WHERE hadeda_ibis = "Flernecked Nightjar"
|
What is the African Spoonbill when the Hadeda Ibis is Flernecked Nightjar?
|
<s>[INST]What is the African Spoonbill when the Hadeda Ibis is Flernecked Nightjar? Context: CREATE TABLE table_20042805_2 (african_spoonbill VARCHAR, hadeda_ibis VARCHAR)[/INST]SELECT african_spoonbill FROM table_20042805_2 WHERE hadeda_ibis = "Flernecked Nightjar"</s>
|
CREATE TABLE table_19130829_4 (team__number1 VARCHAR)
|
SELECT 1 AS st_leg FROM table_19130829_4 WHERE team__number1 = "Iraklis"
|
What's the 1st leg result in the round where team #1 is Iraklis?
|
<s>[INST]What's the 1st leg result in the round where team #1 is Iraklis? Context: CREATE TABLE table_19130829_4 (team__number1 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_19130829_4 WHERE team__number1 = "Iraklis"</s>
|
CREATE TABLE table_14342210_13 (games_started VARCHAR, player VARCHAR)
|
SELECT games_started FROM table_14342210_13 WHERE player = "Hugh White"
|
How many Games Started are there for Hugh White ?
|
<s>[INST]How many Games Started are there for Hugh White ? Context: CREATE TABLE table_14342210_13 (games_started VARCHAR, player VARCHAR)[/INST]SELECT games_started FROM table_14342210_13 WHERE player = "Hugh White"</s>
|
CREATE TABLE table_name_26 (class_aA VARCHAR, school_year VARCHAR)
|
SELECT class_aA FROM table_name_26 WHERE school_year = "1994-95"
|
Who was Class AA in School Year 1994-95?
|
<s>[INST]Who was Class AA in School Year 1994-95? Context: CREATE TABLE table_name_26 (class_aA VARCHAR, school_year VARCHAR)[/INST]SELECT class_aA FROM table_name_26 WHERE school_year = "1994-95"</s>
|
CREATE TABLE table_name_52 (annual_ridership__2012_ INTEGER, stations VARCHAR, lines VARCHAR)
|
SELECT SUM(annual_ridership__2012_) FROM table_name_52 WHERE stations = 13 AND lines > 4
|
What is the number of annual ridership with a station that has more than 13 stations and larger than 4 lines?
|
<s>[INST]What is the number of annual ridership with a station that has more than 13 stations and larger than 4 lines? Context: CREATE TABLE table_name_52 (annual_ridership__2012_ INTEGER, stations VARCHAR, lines VARCHAR)[/INST]SELECT SUM(annual_ridership__2012_) FROM table_name_52 WHERE stations = 13 AND lines > 4</s>
|
CREATE TABLE table_name_86 (order_year VARCHAR, length__ft_ VARCHAR, model VARCHAR)
|
SELECT order_year FROM table_name_86 WHERE length__ft_ = "30" AND model = "05.505"
|
What order year has a 30 Length (ft.) and 05.505 model?
|
<s>[INST]What order year has a 30 Length (ft.) and 05.505 model? Context: CREATE TABLE table_name_86 (order_year VARCHAR, length__ft_ VARCHAR, model VARCHAR)[/INST]SELECT order_year FROM table_name_86 WHERE length__ft_ = "30" AND model = "05.505"</s>
|
CREATE TABLE table_name_68 (height_metres___ft VARCHAR, years_as_tallest VARCHAR)
|
SELECT height_metres___ft FROM table_name_68 WHERE years_as_tallest = "1098–1310"
|
Name the Height metres / ft of Years with tallest of 1098–1310?
|
<s>[INST]Name the Height metres / ft of Years with tallest of 1098–1310? Context: CREATE TABLE table_name_68 (height_metres___ft VARCHAR, years_as_tallest VARCHAR)[/INST]SELECT height_metres___ft FROM table_name_68 WHERE years_as_tallest = "1098–1310"</s>
|
CREATE TABLE table_name_84 (order VARCHAR, species_authority VARCHAR)
|
SELECT order FROM table_name_84 WHERE species_authority = "hydrochaeris hydrochaeris (linnaeus, 1766)"
|
What order has the Species Authority of hydrochaeris hydrochaeris (linnaeus, 1766)?
|
<s>[INST]What order has the Species Authority of hydrochaeris hydrochaeris (linnaeus, 1766)? Context: CREATE TABLE table_name_84 (order VARCHAR, species_authority VARCHAR)[/INST]SELECT order FROM table_name_84 WHERE species_authority = "hydrochaeris hydrochaeris (linnaeus, 1766)"</s>
|
CREATE TABLE campuses (campus VARCHAR, LOCATION VARCHAR, county VARCHAR)
|
SELECT campus FROM campuses WHERE LOCATION = "Northridge" AND county = "Los Angeles" UNION SELECT campus FROM campuses WHERE LOCATION = "San Francisco" AND county = "San Francisco"
|
Find the name of the campuses that is in Northridge, Los Angeles or in San Francisco, San Francisco.
|
<s>[INST]Find the name of the campuses that is in Northridge, Los Angeles or in San Francisco, San Francisco. Context: CREATE TABLE campuses (campus VARCHAR, LOCATION VARCHAR, county VARCHAR)[/INST]SELECT campus FROM campuses WHERE LOCATION = "Northridge" AND county = "Los Angeles" UNION SELECT campus FROM campuses WHERE LOCATION = "San Francisco" AND county = "San Francisco"</s>
|
CREATE TABLE table_1341663_11 (incumbent VARCHAR, first_elected VARCHAR)
|
SELECT COUNT(incumbent) FROM table_1341663_11 WHERE first_elected = 1972
|
How many sitting politicians were originally elected in 1972?
|
<s>[INST]How many sitting politicians were originally elected in 1972? Context: CREATE TABLE table_1341663_11 (incumbent VARCHAR, first_elected VARCHAR)[/INST]SELECT COUNT(incumbent) FROM table_1341663_11 WHERE first_elected = 1972</s>
|
CREATE TABLE table_name_2 (games INTEGER, position VARCHAR, number VARCHAR)
|
SELECT MIN(games) AS ↑ FROM table_name_2 WHERE position = "re" AND number < 95
|
What is the earliest game with a position of Re and a smaller number than 95?
|
<s>[INST]What is the earliest game with a position of Re and a smaller number than 95? Context: CREATE TABLE table_name_2 (games INTEGER, position VARCHAR, number VARCHAR)[/INST]SELECT MIN(games) AS ↑ FROM table_name_2 WHERE position = "re" AND number < 95</s>
|
CREATE TABLE table_name_44 (runners_up INTEGER, team VARCHAR, winners VARCHAR)
|
SELECT MIN(runners_up) FROM table_name_44 WHERE team = "pachuca" AND winners > 1
|
When there are more than 1 winners and the team playing is pachuca, what's the lowest runners-up found?
|
<s>[INST]When there are more than 1 winners and the team playing is pachuca, what's the lowest runners-up found? Context: CREATE TABLE table_name_44 (runners_up INTEGER, team VARCHAR, winners VARCHAR)[/INST]SELECT MIN(runners_up) FROM table_name_44 WHERE team = "pachuca" AND winners > 1</s>
|
CREATE TABLE table_name_79 (position INTEGER, played INTEGER)
|
SELECT SUM(position) FROM table_name_79 WHERE played < 12
|
How many positions have Played smaller than 12?
|
<s>[INST]How many positions have Played smaller than 12? Context: CREATE TABLE table_name_79 (position INTEGER, played INTEGER)[/INST]SELECT SUM(position) FROM table_name_79 WHERE played < 12</s>
|
CREATE TABLE table_name_96 (loss VARCHAR, date VARCHAR)
|
SELECT loss FROM table_name_96 WHERE date = "june 30"
|
Name the loss for june 30
|
<s>[INST]Name the loss for june 30 Context: CREATE TABLE table_name_96 (loss VARCHAR, date VARCHAR)[/INST]SELECT loss FROM table_name_96 WHERE date = "june 30"</s>
|
CREATE TABLE table_name_56 (laps INTEGER, time VARCHAR, grid VARCHAR)
|
SELECT SUM(laps) FROM table_name_56 WHERE time = "+7.277" AND grid > 6
|
What is the total number of laps for the time of +7.277 and the grid number of more than 6?
|
<s>[INST]What is the total number of laps for the time of +7.277 and the grid number of more than 6? Context: CREATE TABLE table_name_56 (laps INTEGER, time VARCHAR, grid VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_56 WHERE time = "+7.277" AND grid > 6</s>
|
CREATE TABLE table_name_35 (tie_no VARCHAR, home_team VARCHAR)
|
SELECT tie_no FROM table_name_35 WHERE home_team = "orient"
|
What is the tie number for the home team Orient?
|
<s>[INST]What is the tie number for the home team Orient? Context: CREATE TABLE table_name_35 (tie_no VARCHAR, home_team VARCHAR)[/INST]SELECT tie_no FROM table_name_35 WHERE home_team = "orient"</s>
|
CREATE TABLE table_20722805_1 (mccain_percentage VARCHAR, obama_percentage VARCHAR)
|
SELECT mccain_percentage FROM table_20722805_1 WHERE obama_percentage = "64.39%"
|
What was McCain's percentage when Obama had 64.39% of the vote?
|
<s>[INST]What was McCain's percentage when Obama had 64.39% of the vote? Context: CREATE TABLE table_20722805_1 (mccain_percentage VARCHAR, obama_percentage VARCHAR)[/INST]SELECT mccain_percentage FROM table_20722805_1 WHERE obama_percentage = "64.39%"</s>
|
CREATE TABLE table_name_61 (game INTEGER, opponent VARCHAR, record VARCHAR)
|
SELECT MIN(game) FROM table_name_61 WHERE opponent = "phoenix" AND record = "29-17"
|
What is the lowest numbered game against Phoenix with a record of 29-17?
|
<s>[INST]What is the lowest numbered game against Phoenix with a record of 29-17? Context: CREATE TABLE table_name_61 (game INTEGER, opponent VARCHAR, record VARCHAR)[/INST]SELECT MIN(game) FROM table_name_61 WHERE opponent = "phoenix" AND record = "29-17"</s>
|
CREATE TABLE table_name_41 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
|
SELECT MIN(laps) FROM table_name_41 WHERE time_retired = "accident" AND grid > 13
|
Name the least Laps for accident and gird more than 13
|
<s>[INST]Name the least Laps for accident and gird more than 13 Context: CREATE TABLE table_name_41 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_41 WHERE time_retired = "accident" AND grid > 13</s>
|
CREATE TABLE table_name_43 (main_span_feet VARCHAR, main_span_metres VARCHAR, rank VARCHAR, year_opened VARCHAR, country VARCHAR)
|
SELECT main_span_feet FROM table_name_43 WHERE year_opened = 1936 AND country = "united states" AND rank > 47 AND main_span_metres = "421"
|
What is the main span feet from opening year of 1936 in the United States with a rank greater than 47 and 421 main span metres?
|
<s>[INST]What is the main span feet from opening year of 1936 in the United States with a rank greater than 47 and 421 main span metres? Context: CREATE TABLE table_name_43 (main_span_feet VARCHAR, main_span_metres VARCHAR, rank VARCHAR, year_opened VARCHAR, country VARCHAR)[/INST]SELECT main_span_feet FROM table_name_43 WHERE year_opened = 1936 AND country = "united states" AND rank > 47 AND main_span_metres = "421"</s>
|
CREATE TABLE table_25042332_33 (gdp__ppp__per_capita__2008_ INTEGER, combined_gross_enrollment_ratio__2009_ VARCHAR)
|
SELECT MAX(gdp__ppp__per_capita__2008_) FROM table_25042332_33 WHERE combined_gross_enrollment_ratio__2009_ = "86.6"
|
What is the gdp per capita in 2008 for the region with a combined gross enrollment ratio of 86.6 in 2009?
|
<s>[INST]What is the gdp per capita in 2008 for the region with a combined gross enrollment ratio of 86.6 in 2009? Context: CREATE TABLE table_25042332_33 (gdp__ppp__per_capita__2008_ INTEGER, combined_gross_enrollment_ratio__2009_ VARCHAR)[/INST]SELECT MAX(gdp__ppp__per_capita__2008_) FROM table_25042332_33 WHERE combined_gross_enrollment_ratio__2009_ = "86.6"</s>
|
CREATE TABLE table_name_15 (date VARCHAR, away VARCHAR)
|
SELECT date FROM table_name_15 WHERE away = "high park demons"
|
What date has high park demons as the away?
|
<s>[INST]What date has high park demons as the away? Context: CREATE TABLE table_name_15 (date VARCHAR, away VARCHAR)[/INST]SELECT date FROM table_name_15 WHERE away = "high park demons"</s>
|
CREATE TABLE table_name_6 (date VARCHAR, away VARCHAR)
|
SELECT date FROM table_name_6 WHERE away = "high park demons"
|
What is Date, when Away is High Park Demons?
|
<s>[INST]What is Date, when Away is High Park Demons? Context: CREATE TABLE table_name_6 (date VARCHAR, away VARCHAR)[/INST]SELECT date FROM table_name_6 WHERE away = "high park demons"</s>
|
CREATE TABLE table_name_76 (metacritic VARCHAR, gamerankings VARCHAR, year_released VARCHAR, platform VARCHAR)
|
SELECT metacritic FROM table_name_76 WHERE year_released > 2005 AND platform = "playstation 3" AND gamerankings = "84.44%"
|
What is the Metacritic released after 2005, with a Platform of playstation 3 and a GameRankings of 84.44%?
|
<s>[INST]What is the Metacritic released after 2005, with a Platform of playstation 3 and a GameRankings of 84.44%? Context: CREATE TABLE table_name_76 (metacritic VARCHAR, gamerankings VARCHAR, year_released VARCHAR, platform VARCHAR)[/INST]SELECT metacritic FROM table_name_76 WHERE year_released > 2005 AND platform = "playstation 3" AND gamerankings = "84.44%"</s>
|
CREATE TABLE students (student_id VARCHAR); CREATE TABLE student_course_registrations (student_id VARCHAR)
|
SELECT T1.student_id, COUNT(*) FROM students AS T1 JOIN student_course_registrations AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id
|
List the id of students who registered some courses and the number of their registered courses?
|
<s>[INST]List the id of students who registered some courses and the number of their registered courses? Context: CREATE TABLE students (student_id VARCHAR); CREATE TABLE student_course_registrations (student_id VARCHAR)[/INST]SELECT T1.student_id, COUNT(*) FROM students AS T1 JOIN student_course_registrations AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id</s>
|
CREATE TABLE table_name_44 (total INTEGER, year_s__won VARCHAR)
|
SELECT AVG(total) FROM table_name_44 WHERE year_s__won = "1922, 1932"
|
What is the Total for the Player who won in 1922, 1932?
|
<s>[INST]What is the Total for the Player who won in 1922, 1932? Context: CREATE TABLE table_name_44 (total INTEGER, year_s__won VARCHAR)[/INST]SELECT AVG(total) FROM table_name_44 WHERE year_s__won = "1922, 1932"</s>
|
CREATE TABLE table_name_97 (points VARCHAR, combined_elapsed_time VARCHAR)
|
SELECT points FROM table_name_97 WHERE combined_elapsed_time = "175d 20h 46m 04s"
|
Which points have a Combined elapsed time of 175d 20h 46m 04s?
|
<s>[INST]Which points have a Combined elapsed time of 175d 20h 46m 04s? Context: CREATE TABLE table_name_97 (points VARCHAR, combined_elapsed_time VARCHAR)[/INST]SELECT points FROM table_name_97 WHERE combined_elapsed_time = "175d 20h 46m 04s"</s>
|
CREATE TABLE table_name_74 (episode_title VARCHAR, presenter VARCHAR)
|
SELECT episode_title FROM table_name_74 WHERE presenter = "ben okri"
|
What is the episode title of the episode with Ben Okri as the presenter?
|
<s>[INST]What is the episode title of the episode with Ben Okri as the presenter? Context: CREATE TABLE table_name_74 (episode_title VARCHAR, presenter VARCHAR)[/INST]SELECT episode_title FROM table_name_74 WHERE presenter = "ben okri"</s>
|
CREATE TABLE table_name_79 (high_points VARCHAR, location_attendance VARCHAR)
|
SELECT high_points FROM table_name_79 WHERE location_attendance = "conseco fieldhouse 7,134"
|
What is the highest number of points of the game in Conseco fieldhouse 7,134?
|
<s>[INST]What is the highest number of points of the game in Conseco fieldhouse 7,134? Context: CREATE TABLE table_name_79 (high_points VARCHAR, location_attendance VARCHAR)[/INST]SELECT high_points FROM table_name_79 WHERE location_attendance = "conseco fieldhouse 7,134"</s>
|
CREATE TABLE table_1140077_2 (fastest_lap VARCHAR, race VARCHAR)
|
SELECT fastest_lap FROM table_1140077_2 WHERE race = "Dutch Grand Prix"
|
Who did the fastest lap in the dutch grand prix?
|
<s>[INST]Who did the fastest lap in the dutch grand prix? Context: CREATE TABLE table_1140077_2 (fastest_lap VARCHAR, race VARCHAR)[/INST]SELECT fastest_lap FROM table_1140077_2 WHERE race = "Dutch Grand Prix"</s>
|
CREATE TABLE table_name_32 (played VARCHAR, tries_for VARCHAR)
|
SELECT played FROM table_name_32 WHERE tries_for = "50"
|
What is the played for tries for 50?
|
<s>[INST]What is the played for tries for 50? Context: CREATE TABLE table_name_32 (played VARCHAR, tries_for VARCHAR)[/INST]SELECT played FROM table_name_32 WHERE tries_for = "50"</s>
|
CREATE TABLE table_20170644_1 (college VARCHAR, player VARCHAR)
|
SELECT college FROM table_20170644_1 WHERE player = "Étienne Légaré"
|
What college did étienne légaré play for?
|
<s>[INST]What college did étienne légaré play for? Context: CREATE TABLE table_20170644_1 (college VARCHAR, player VARCHAR)[/INST]SELECT college FROM table_20170644_1 WHERE player = "Étienne Légaré"</s>
|
CREATE TABLE table_name_75 (laps INTEGER, driver VARCHAR)
|
SELECT AVG(laps) FROM table_name_75 WHERE driver = "david coulthard"
|
What's the average laps driven by david coulthard?
|
<s>[INST]What's the average laps driven by david coulthard? Context: CREATE TABLE table_name_75 (laps INTEGER, driver VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_75 WHERE driver = "david coulthard"</s>
|
CREATE TABLE table_name_9 (majority VARCHAR, winner VARCHAR)
|
SELECT COUNT(majority) FROM table_name_9 WHERE winner = "dan sullivan"
|
How many in the majority when Dan Sullivan won?
|
<s>[INST]How many in the majority when Dan Sullivan won? Context: CREATE TABLE table_name_9 (majority VARCHAR, winner VARCHAR)[/INST]SELECT COUNT(majority) FROM table_name_9 WHERE winner = "dan sullivan"</s>
|
CREATE TABLE table_name_68 (score VARCHAR, player VARCHAR)
|
SELECT score FROM table_name_68 WHERE player = "tom lehman"
|
What was the score for Tom Lehman?
|
<s>[INST]What was the score for Tom Lehman? Context: CREATE TABLE table_name_68 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_68 WHERE player = "tom lehman"</s>
|
CREATE TABLE table_name_32 (launch_date__utc_ VARCHAR, cospar_id_satcat_№ VARCHAR)
|
SELECT launch_date__utc_ FROM table_name_32 WHERE cospar_id_satcat_№ = "1995-022a"
|
What is the launch date of the satellite with a COSPAR ID of 1995-022a?
|
<s>[INST]What is the launch date of the satellite with a COSPAR ID of 1995-022a? Context: CREATE TABLE table_name_32 (launch_date__utc_ VARCHAR, cospar_id_satcat_№ VARCHAR)[/INST]SELECT launch_date__utc_ FROM table_name_32 WHERE cospar_id_satcat_№ = "1995-022a"</s>
|
CREATE TABLE table_name_27 (attendance VARCHAR, result VARCHAR)
|
SELECT attendance FROM table_name_27 WHERE result = "w 16-10* o.t."
|
Result of w 16-10* o.t. had what attendance?
|
<s>[INST]Result of w 16-10* o.t. had what attendance? Context: CREATE TABLE table_name_27 (attendance VARCHAR, result VARCHAR)[/INST]SELECT attendance FROM table_name_27 WHERE result = "w 16-10* o.t."</s>
|
CREATE TABLE table_name_81 (tonnage VARCHAR, date VARCHAR, ship VARCHAR)
|
SELECT tonnage FROM table_name_81 WHERE date = "27 september 1941" AND ship = "hmsspringbank"
|
Name Tonnage on 27 september 1941 and a Ship of hmsspringbank?
|
<s>[INST]Name Tonnage on 27 september 1941 and a Ship of hmsspringbank? Context: CREATE TABLE table_name_81 (tonnage VARCHAR, date VARCHAR, ship VARCHAR)[/INST]SELECT tonnage FROM table_name_81 WHERE date = "27 september 1941" AND ship = "hmsspringbank"</s>
|
CREATE TABLE table_name_58 (losses INTEGER, draws INTEGER)
|
SELECT MAX(losses) FROM table_name_58 WHERE draws > 0
|
How many Losses have Draws larger than 0?
|
<s>[INST]How many Losses have Draws larger than 0? Context: CREATE TABLE table_name_58 (losses INTEGER, draws INTEGER)[/INST]SELECT MAX(losses) FROM table_name_58 WHERE draws > 0</s>
|
CREATE TABLE table_12834315_8 (barrel_twist VARCHAR, barrel_profile VARCHAR)
|
SELECT barrel_twist FROM table_12834315_8 WHERE barrel_profile = "SFW"
|
What is the value of barrel twist when the barrel profile is SFW?
|
<s>[INST]What is the value of barrel twist when the barrel profile is SFW? Context: CREATE TABLE table_12834315_8 (barrel_twist VARCHAR, barrel_profile VARCHAR)[/INST]SELECT barrel_twist FROM table_12834315_8 WHERE barrel_profile = "SFW"</s>
|
CREATE TABLE table_1701371_2 (char_cells VARCHAR, hardware_colours VARCHAR)
|
SELECT char_cells FROM table_1701371_2 WHERE hardware_colours = 8
|
If hardware colours is 8 what would the char cells be?
|
<s>[INST]If hardware colours is 8 what would the char cells be? Context: CREATE TABLE table_1701371_2 (char_cells VARCHAR, hardware_colours VARCHAR)[/INST]SELECT char_cells FROM table_1701371_2 WHERE hardware_colours = 8</s>
|
CREATE TABLE table_name_49 (canadian_kennel_club_toy_dogs_group VARCHAR, australian_national_kennel_council_toy_dogs_group VARCHAR)
|
SELECT canadian_kennel_club_toy_dogs_group FROM table_name_49 WHERE australian_national_kennel_council_toy_dogs_group = "australian silky terrier"
|
What is the Canadian Kennel Club Toy Dogs Group with the australian silky terrier as the Australian National Kennel Council Toy Dogs Group breed?
|
<s>[INST]What is the Canadian Kennel Club Toy Dogs Group with the australian silky terrier as the Australian National Kennel Council Toy Dogs Group breed? Context: CREATE TABLE table_name_49 (canadian_kennel_club_toy_dogs_group VARCHAR, australian_national_kennel_council_toy_dogs_group VARCHAR)[/INST]SELECT canadian_kennel_club_toy_dogs_group FROM table_name_49 WHERE australian_national_kennel_council_toy_dogs_group = "australian silky terrier"</s>
|
CREATE TABLE table_name_12 (extra_points VARCHAR, position VARCHAR, player VARCHAR)
|
SELECT extra_points FROM table_name_12 WHERE position = "right halfback" AND player = "roswell wendell"
|
How many extra points did right halfback Roswell Wendell have?
|
<s>[INST]How many extra points did right halfback Roswell Wendell have? Context: CREATE TABLE table_name_12 (extra_points VARCHAR, position VARCHAR, player VARCHAR)[/INST]SELECT extra_points FROM table_name_12 WHERE position = "right halfback" AND player = "roswell wendell"</s>
|
CREATE TABLE table_name_13 (year INTEGER, entrant VARCHAR, pts VARCHAR)
|
SELECT MAX(year) FROM table_name_13 WHERE entrant = "shadow racing team" AND pts > 0
|
What is the latest year that shadow racing team scored more than 0 points?
|
<s>[INST]What is the latest year that shadow racing team scored more than 0 points? Context: CREATE TABLE table_name_13 (year INTEGER, entrant VARCHAR, pts VARCHAR)[/INST]SELECT MAX(year) FROM table_name_13 WHERE entrant = "shadow racing team" AND pts > 0</s>
|
CREATE TABLE table_name_5 (Id VARCHAR)
|
SELECT 2012 FROM table_name_5 WHERE 2011 = "1r"
|
Name the 2012 for 2011 being 1r
|
<s>[INST]Name the 2012 for 2011 being 1r Context: CREATE TABLE table_name_5 (Id VARCHAR)[/INST]SELECT 2012 FROM table_name_5 WHERE 2011 = "1r"</s>
|
CREATE TABLE table_2897457_2 (nationality VARCHAR, nhl_team VARCHAR)
|
SELECT nationality FROM table_2897457_2 WHERE nhl_team = "Washington Capitals"
|
What is the nationality of the player picked to go to Washington Capitals?
|
<s>[INST]What is the nationality of the player picked to go to Washington Capitals? Context: CREATE TABLE table_2897457_2 (nationality VARCHAR, nhl_team VARCHAR)[/INST]SELECT nationality FROM table_2897457_2 WHERE nhl_team = "Washington Capitals"</s>
|
CREATE TABLE table_name_37 (year INTEGER, rank VARCHAR, moving_to VARCHAR, name VARCHAR)
|
SELECT MIN(year) FROM table_name_37 WHERE moving_to = "milan" AND name = "kakha kaladze" AND rank < 9
|
When was the earliest year that kakha kaladze moved to milan with a rank above 9?
|
<s>[INST]When was the earliest year that kakha kaladze moved to milan with a rank above 9? Context: CREATE TABLE table_name_37 (year INTEGER, rank VARCHAR, moving_to VARCHAR, name VARCHAR)[/INST]SELECT MIN(year) FROM table_name_37 WHERE moving_to = "milan" AND name = "kakha kaladze" AND rank < 9</s>
|
CREATE TABLE table_name_46 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR)
|
SELECT broadcast_date FROM table_name_46 WHERE viewers__in_millions_ = "7.0"
|
What is the broadcast date with 7.0 million viewers?
|
<s>[INST]What is the broadcast date with 7.0 million viewers? Context: CREATE TABLE table_name_46 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR)[/INST]SELECT broadcast_date FROM table_name_46 WHERE viewers__in_millions_ = "7.0"</s>
|
CREATE TABLE table_10812938_3 (college VARCHAR, cfl_team VARCHAR)
|
SELECT college FROM table_10812938_3 WHERE cfl_team = "Edmonton Eskimos (via Calgary)"
|
What was the college for the player with the cfl team of Edmonton Eskimos (via calgary)?
|
<s>[INST]What was the college for the player with the cfl team of Edmonton Eskimos (via calgary)? Context: CREATE TABLE table_10812938_3 (college VARCHAR, cfl_team VARCHAR)[/INST]SELECT college FROM table_10812938_3 WHERE cfl_team = "Edmonton Eskimos (via Calgary)"</s>
|
CREATE TABLE table_name_63 (year_of_recording INTEGER, orchestra VARCHAR, record_company VARCHAR)
|
SELECT MIN(year_of_recording) FROM table_name_63 WHERE orchestra = "royal philharmonic orchestra" AND record_company = "decca records"
|
What is the oldest year that the Royal Philharmonic Orchestra released a record with Decca Records?
|
<s>[INST]What is the oldest year that the Royal Philharmonic Orchestra released a record with Decca Records? Context: CREATE TABLE table_name_63 (year_of_recording INTEGER, orchestra VARCHAR, record_company VARCHAR)[/INST]SELECT MIN(year_of_recording) FROM table_name_63 WHERE orchestra = "royal philharmonic orchestra" AND record_company = "decca records"</s>
|
CREATE TABLE table_name_61 (october VARCHAR, november VARCHAR)
|
SELECT october FROM table_name_61 WHERE november = "carina ragnarsson"
|
Who is in October when Carina Ragnarsson is in November?
|
<s>[INST]Who is in October when Carina Ragnarsson is in November? Context: CREATE TABLE table_name_61 (october VARCHAR, november VARCHAR)[/INST]SELECT october FROM table_name_61 WHERE november = "carina ragnarsson"</s>
|
CREATE TABLE table_name_87 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)
|
SELECT manner_of_departure FROM table_name_87 WHERE date_of_appointment = "12 october 2007"
|
I want the manner of departure for date of appointment being 12 october 2007
|
<s>[INST]I want the manner of departure for date of appointment being 12 october 2007 Context: CREATE TABLE table_name_87 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)[/INST]SELECT manner_of_departure FROM table_name_87 WHERE date_of_appointment = "12 october 2007"</s>
|
CREATE TABLE table_name_85 (against INTEGER, favour VARCHAR, lost VARCHAR, draw VARCHAR)
|
SELECT MAX(against) FROM table_name_85 WHERE lost < 20 AND draw > 2 AND favour < 11
|
What is the highest Against where they lost less than 20 games, tied more than 2 of them, and they had Favour less than 11?
|
<s>[INST]What is the highest Against where they lost less than 20 games, tied more than 2 of them, and they had Favour less than 11? Context: CREATE TABLE table_name_85 (against INTEGER, favour VARCHAR, lost VARCHAR, draw VARCHAR)[/INST]SELECT MAX(against) FROM table_name_85 WHERE lost < 20 AND draw > 2 AND favour < 11</s>
|
CREATE TABLE table_name_61 (games VARCHAR, assists VARCHAR)
|
SELECT games FROM table_name_61 WHERE assists = "127"
|
How many games were played by the player with 127 assists?
|
<s>[INST]How many games were played by the player with 127 assists? Context: CREATE TABLE table_name_61 (games VARCHAR, assists VARCHAR)[/INST]SELECT games FROM table_name_61 WHERE assists = "127"</s>
|
CREATE TABLE table_14253123_1 (in_no VARCHAR, county_name VARCHAR)
|
SELECT in_no FROM table_14253123_1 WHERE county_name = "Spencer"
|
When Spencer is the county what is the in no.?
|
<s>[INST]When Spencer is the county what is the in no.? Context: CREATE TABLE table_14253123_1 (in_no VARCHAR, county_name VARCHAR)[/INST]SELECT in_no FROM table_14253123_1 WHERE county_name = "Spencer"</s>
|
CREATE TABLE table_name_87 (venue VARCHAR, score VARCHAR, result VARCHAR)
|
SELECT venue FROM table_name_87 WHERE score = "1 – 1" AND result = "2 – 2"
|
What is the Venue when the score was 1 – 1, and the result was 2 – 2?
|
<s>[INST]What is the Venue when the score was 1 – 1, and the result was 2 – 2? Context: CREATE TABLE table_name_87 (venue VARCHAR, score VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_87 WHERE score = "1 – 1" AND result = "2 – 2"</s>
|
CREATE TABLE table_name_23 (number INTEGER, player VARCHAR, yards VARCHAR)
|
SELECT AVG(number) FROM table_name_23 WHERE player = "larry centers" AND yards < 600
|
What is Larry Centers' average number when there were less than 600 yards?
|
<s>[INST]What is Larry Centers' average number when there were less than 600 yards? Context: CREATE TABLE table_name_23 (number INTEGER, player VARCHAR, yards VARCHAR)[/INST]SELECT AVG(number) FROM table_name_23 WHERE player = "larry centers" AND yards < 600</s>
|
CREATE TABLE table_name_10 (visiting_team VARCHAR, date VARCHAR)
|
SELECT visiting_team FROM table_name_10 WHERE date = "october 23"
|
What was the visiting team on october 23?
|
<s>[INST]What was the visiting team on october 23? Context: CREATE TABLE table_name_10 (visiting_team VARCHAR, date VARCHAR)[/INST]SELECT visiting_team FROM table_name_10 WHERE date = "october 23"</s>
|
CREATE TABLE table_15187735_11 (segment_c VARCHAR, series_ep VARCHAR)
|
SELECT segment_c FROM table_15187735_11 WHERE series_ep = "11-02"
|
What is the name of series episode 11-02's segment c?
|
<s>[INST]What is the name of series episode 11-02's segment c? Context: CREATE TABLE table_15187735_11 (segment_c VARCHAR, series_ep VARCHAR)[/INST]SELECT segment_c FROM table_15187735_11 WHERE series_ep = "11-02"</s>
|
CREATE TABLE table_name_36 (year VARCHAR, first VARCHAR)
|
SELECT COUNT(year) FROM table_name_36 WHERE first = "antonio pompa-baldi italy"
|
How many years is Antonio Pompa-Baldi Italy first?
|
<s>[INST]How many years is Antonio Pompa-Baldi Italy first? Context: CREATE TABLE table_name_36 (year VARCHAR, first VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_36 WHERE first = "antonio pompa-baldi italy"</s>
|
CREATE TABLE region (region_name VARCHAR)
|
SELECT region_name FROM region WHERE region_name <> 'Denmark'
|
Show names for all regions except for Denmark.
|
<s>[INST]Show names for all regions except for Denmark. Context: CREATE TABLE region (region_name VARCHAR)[/INST]SELECT region_name FROM region WHERE region_name <> 'Denmark'</s>
|
CREATE TABLE table_name_45 (engine VARCHAR, chassis VARCHAR, rank VARCHAR)
|
SELECT engine FROM table_name_45 WHERE chassis = "lola b02/00" AND rank = "1st"
|
What engine was used by the teams that used a Lola b02/00 chassis and ranked 1st?
|
<s>[INST]What engine was used by the teams that used a Lola b02/00 chassis and ranked 1st? Context: CREATE TABLE table_name_45 (engine VARCHAR, chassis VARCHAR, rank VARCHAR)[/INST]SELECT engine FROM table_name_45 WHERE chassis = "lola b02/00" AND rank = "1st"</s>
|
CREATE TABLE table_name_27 (winning_score VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR)
|
SELECT winning_score FROM table_name_27 WHERE margin_of_victory = "1 stroke" AND runner_s__up = "robert-jan derksen"
|
What is the winning score where the runner-up is Robert-Jan Derksen and the margin of victory is 1 stroke?
|
<s>[INST]What is the winning score where the runner-up is Robert-Jan Derksen and the margin of victory is 1 stroke? Context: CREATE TABLE table_name_27 (winning_score VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR)[/INST]SELECT winning_score FROM table_name_27 WHERE margin_of_victory = "1 stroke" AND runner_s__up = "robert-jan derksen"</s>
|
CREATE TABLE table_name_55 (club_team VARCHAR, pick INTEGER)
|
SELECT club_team FROM table_name_55 WHERE pick > 139
|
Which Club team has a Pick larger than 139?
|
<s>[INST]Which Club team has a Pick larger than 139? Context: CREATE TABLE table_name_55 (club_team VARCHAR, pick INTEGER)[/INST]SELECT club_team FROM table_name_55 WHERE pick > 139</s>
|
CREATE TABLE table_name_28 (format VARCHAR, country VARCHAR, date VARCHAR)
|
SELECT format FROM table_name_28 WHERE country = "united kingdom" AND date = "20 october 2008"
|
what is the format for the country united kingdom on 20 october 2008?
|
<s>[INST]what is the format for the country united kingdom on 20 october 2008? Context: CREATE TABLE table_name_28 (format VARCHAR, country VARCHAR, date VARCHAR)[/INST]SELECT format FROM table_name_28 WHERE country = "united kingdom" AND date = "20 october 2008"</s>
|
CREATE TABLE table_name_89 (wards__branches_in_arkansas VARCHAR, stake VARCHAR)
|
SELECT wards__branches_in_arkansas FROM table_name_89 WHERE stake = "fort smith arkansas"
|
What is the wards/branches of the fort smith Arkansas stake?
|
<s>[INST]What is the wards/branches of the fort smith Arkansas stake? Context: CREATE TABLE table_name_89 (wards__branches_in_arkansas VARCHAR, stake VARCHAR)[/INST]SELECT wards__branches_in_arkansas FROM table_name_89 WHERE stake = "fort smith arkansas"</s>
|
CREATE TABLE table_2731431_1 (elevation__m_ INTEGER, location VARCHAR, peak VARCHAR)
|
SELECT MIN(elevation__m_) FROM table_2731431_1 WHERE location = "Austria" AND peak = "Wildspitze"
|
What is the elevation for the peak wildspitze in Austria?
|
<s>[INST]What is the elevation for the peak wildspitze in Austria? Context: CREATE TABLE table_2731431_1 (elevation__m_ INTEGER, location VARCHAR, peak VARCHAR)[/INST]SELECT MIN(elevation__m_) FROM table_2731431_1 WHERE location = "Austria" AND peak = "Wildspitze"</s>
|
CREATE TABLE table_13940275_5 (losing_bonus VARCHAR, played VARCHAR, tries_against VARCHAR)
|
SELECT losing_bonus FROM table_13940275_5 WHERE played = "22" AND tries_against = "38"
|
what's the losing bonus with played being 22 and tries against being 38
|
<s>[INST]what's the losing bonus with played being 22 and tries against being 38 Context: CREATE TABLE table_13940275_5 (losing_bonus VARCHAR, played VARCHAR, tries_against VARCHAR)[/INST]SELECT losing_bonus FROM table_13940275_5 WHERE played = "22" AND tries_against = "38"</s>
|
CREATE TABLE table_name_56 (years VARCHAR, points VARCHAR, goals VARCHAR)
|
SELECT years FROM table_name_56 WHERE points = "78" AND goals = "22"
|
What years did the player play when he scored 78 points and 22 goals?
|
<s>[INST]What years did the player play when he scored 78 points and 22 goals? Context: CREATE TABLE table_name_56 (years VARCHAR, points VARCHAR, goals VARCHAR)[/INST]SELECT years FROM table_name_56 WHERE points = "78" AND goals = "22"</s>
|
CREATE TABLE table_name_26 (avg_seek_time_ VARCHAR, ms VARCHAR, device INTEGER)
|
SELECT avg_seek_time_[ms] FROM table_name_26 WHERE device < 3231
|
What is the avg seek time for a device that is less than 3231?
|
<s>[INST]What is the avg seek time for a device that is less than 3231? Context: CREATE TABLE table_name_26 (avg_seek_time_ VARCHAR, ms VARCHAR, device INTEGER)[/INST]SELECT avg_seek_time_[ms] FROM table_name_26 WHERE device < 3231</s>
|
CREATE TABLE table_name_62 (score VARCHAR, record VARCHAR)
|
SELECT score FROM table_name_62 WHERE record = "28–19"
|
What was the score of the game when the record was 28–19?
|
<s>[INST]What was the score of the game when the record was 28–19? Context: CREATE TABLE table_name_62 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_62 WHERE record = "28–19"</s>
|
CREATE TABLE table_name_87 (constituency_number VARCHAR, name VARCHAR)
|
SELECT constituency_number FROM table_name_87 WHERE name = "amritpur"
|
Amritpur has what constituency number?
|
<s>[INST]Amritpur has what constituency number? Context: CREATE TABLE table_name_87 (constituency_number VARCHAR, name VARCHAR)[/INST]SELECT constituency_number FROM table_name_87 WHERE name = "amritpur"</s>
|
CREATE TABLE table_name_35 (crowd VARCHAR, venue VARCHAR)
|
SELECT crowd FROM table_name_35 WHERE venue = "brunswick street oval"
|
How large was the crowd at Brunswick Street Oval?
|
<s>[INST]How large was the crowd at Brunswick Street Oval? Context: CREATE TABLE table_name_35 (crowd VARCHAR, venue VARCHAR)[/INST]SELECT crowd FROM table_name_35 WHERE venue = "brunswick street oval"</s>
|
CREATE TABLE table_name_53 (drawn INTEGER, played INTEGER)
|
SELECT AVG(drawn) FROM table_name_53 WHERE played > 14
|
What is the average number of games drawn among teams that played over 14 games?
|
<s>[INST]What is the average number of games drawn among teams that played over 14 games? Context: CREATE TABLE table_name_53 (drawn INTEGER, played INTEGER)[/INST]SELECT AVG(drawn) FROM table_name_53 WHERE played > 14</s>
|
CREATE TABLE table_name_52 (time VARCHAR, round VARCHAR, record VARCHAR)
|
SELECT time FROM table_name_52 WHERE round = 3 AND record = "9-3"
|
What is the time of the match with 3 rounds and a 9-3 record?
|
<s>[INST]What is the time of the match with 3 rounds and a 9-3 record? Context: CREATE TABLE table_name_52 (time VARCHAR, round VARCHAR, record VARCHAR)[/INST]SELECT time FROM table_name_52 WHERE round = 3 AND record = "9-3"</s>
|
CREATE TABLE table_name_74 (ties VARCHAR, drawn VARCHAR)
|
SELECT ties FROM table_name_74 WHERE drawn = "20"
|
How many ties drawed at 20?
|
<s>[INST]How many ties drawed at 20? Context: CREATE TABLE table_name_74 (ties VARCHAR, drawn VARCHAR)[/INST]SELECT ties FROM table_name_74 WHERE drawn = "20"</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.