question
stringlengths
16
239
answer
stringlengths
18
400
context
stringlengths
30
308
text
stringlengths
108
764
If there are 18 villages, what is the minimum area ?
SELECT MIN(area___ha__) FROM table_21302_1 WHERE no_of_villages = 18
CREATE TABLE table_21302_1 (area___ha__ INTEGER, no_of_villages VARCHAR)
<s>[INST] If there are 18 villages, what is the minimum area ? context: CREATE TABLE table_21302_1 (area___ha__ INTEGER, no_of_villages VARCHAR) [/INST] SELECT MIN(area___ha__) FROM table_21302_1 WHERE no_of_villages = 18 </s>
who is the manufacturer is no.50?
SELECT manufacturer FROM table_27821519_1 WHERE no = 50
CREATE TABLE table_27821519_1 (manufacturer VARCHAR, no VARCHAR)
<s>[INST] who is the manufacturer is no.50? context: CREATE TABLE table_27821519_1 (manufacturer VARCHAR, no VARCHAR) [/INST] SELECT manufacturer FROM table_27821519_1 WHERE no = 50 </s>
What is Trailing Party % Votes, when Party Won is "Bharatiya Janta Party", and when Trailing Party is "Indian National Congress"?
SELECT trailing_party % votes FROM table_name_74 WHERE party_won = "bharatiya janta party" AND trailing_party = "indian national congress"
CREATE TABLE table_name_74 (trailing_party VARCHAR, votes VARCHAR, party_won VARCHAR)
<s>[INST] What is Trailing Party % Votes, when Party Won is "Bharatiya Janta Party", and when Trailing Party is "Indian National Congress"? context: CREATE TABLE table_name_74 (trailing_party VARCHAR, votes VARCHAR, party_won VARCHAR) [/INST] SELECT trailing_party % votes FROM table_name_74 WHERE party_won = "bharatiy...
What is Name, when WSU Year(s) is 1981-82?
SELECT name FROM table_name_89 WHERE wsu_year_s_ = "1981-82"
CREATE TABLE table_name_89 (name VARCHAR, wsu_year_s_ VARCHAR)
<s>[INST] What is Name, when WSU Year(s) is 1981-82? context: CREATE TABLE table_name_89 (name VARCHAR, wsu_year_s_ VARCHAR) [/INST] SELECT name FROM table_name_89 WHERE wsu_year_s_ = "1981-82" </s>
What is the goal difference for entries with more than 6 draws, a position lower than 12, and fewer than 9 wins?
SELECT goal_difference FROM table_name_97 WHERE draws > 6 AND position > 12 AND wins < 9
CREATE TABLE table_name_97 (goal_difference VARCHAR, wins VARCHAR, draws VARCHAR, position VARCHAR)
<s>[INST] What is the goal difference for entries with more than 6 draws, a position lower than 12, and fewer than 9 wins? context: CREATE TABLE table_name_97 (goal_difference VARCHAR, wins VARCHAR, draws VARCHAR, position VARCHAR) [/INST] SELECT goal_difference FROM table_name_97 WHERE draws > 6 AND position > 12 AND...
The United States, with a total medal count of less than 171, and a bronze medal count less than 9, has how many gold medals?
SELECT MAX(gold) FROM table_name_1 WHERE total < 171 AND nation = "united states" AND bronze < 9
CREATE TABLE table_name_1 (gold INTEGER, bronze VARCHAR, total VARCHAR, nation VARCHAR)
<s>[INST] The United States, with a total medal count of less than 171, and a bronze medal count less than 9, has how many gold medals? context: CREATE TABLE table_name_1 (gold INTEGER, bronze VARCHAR, total VARCHAR, nation VARCHAR) [/INST] SELECT MAX(gold) FROM table_name_1 WHERE total < 171 AND nation = "united stat...
Which Frequency has a Socket of socket 370, and a Model Number of c3 1.4a?
SELECT frequency FROM table_name_15 WHERE socket = "socket 370" AND model_number = "c3 1.4a"
CREATE TABLE table_name_15 (frequency VARCHAR, socket VARCHAR, model_number VARCHAR)
<s>[INST] Which Frequency has a Socket of socket 370, and a Model Number of c3 1.4a? context: CREATE TABLE table_name_15 (frequency VARCHAR, socket VARCHAR, model_number VARCHAR) [/INST] SELECT frequency FROM table_name_15 WHERE socket = "socket 370" AND model_number = "c3 1.4a" </s>
What is the highest number of laps when the Time/Retired is differential?
SELECT MAX(laps) FROM table_name_76 WHERE time_retired = "differential"
CREATE TABLE table_name_76 (laps INTEGER, time_retired VARCHAR)
<s>[INST] What is the highest number of laps when the Time/Retired is differential? context: CREATE TABLE table_name_76 (laps INTEGER, time_retired VARCHAR) [/INST] SELECT MAX(laps) FROM table_name_76 WHERE time_retired = "differential" </s>
How many times did Viorel Moldovan replaced a manager?
SELECT COUNT(date_of_vacancy) FROM table_17115950_2 WHERE replaced_by = "Viorel Moldovan"
CREATE TABLE table_17115950_2 (date_of_vacancy VARCHAR, replaced_by VARCHAR)
<s>[INST] How many times did Viorel Moldovan replaced a manager? context: CREATE TABLE table_17115950_2 (date_of_vacancy VARCHAR, replaced_by VARCHAR) [/INST] SELECT COUNT(date_of_vacancy) FROM table_17115950_2 WHERE replaced_by = "Viorel Moldovan" </s>
What is the tenure of the person with revenues of 60,000-->58,000 koku?
SELECT tenure FROM table_name_90 WHERE revenues = "60,000-->58,000 koku"
CREATE TABLE table_name_90 (tenure VARCHAR, revenues VARCHAR)
<s>[INST] What is the tenure of the person with revenues of 60,000-->58,000 koku? context: CREATE TABLE table_name_90 (tenure VARCHAR, revenues VARCHAR) [/INST] SELECT tenure FROM table_name_90 WHERE revenues = "60,000-->58,000 koku" </s>
What was the penalty for the gymnast with average above 9.662 and total is more than 9.706?
SELECT penalty FROM table_name_13 WHERE average > 9.662 AND total > 9.706
CREATE TABLE table_name_13 (penalty VARCHAR, average VARCHAR, total VARCHAR)
<s>[INST] What was the penalty for the gymnast with average above 9.662 and total is more than 9.706? context: CREATE TABLE table_name_13 (penalty VARCHAR, average VARCHAR, total VARCHAR) [/INST] SELECT penalty FROM table_name_13 WHERE average > 9.662 AND total > 9.706 </s>
What is the default desktop environment when the edition is kde and the compatible repository is ubuntu 13.04?
SELECT default_desktop_environment FROM table_27329061_2 WHERE edition = "KDE" AND compatible_repository = "Ubuntu 13.04"
CREATE TABLE table_27329061_2 (default_desktop_environment VARCHAR, edition VARCHAR, compatible_repository VARCHAR)
<s>[INST] What is the default desktop environment when the edition is kde and the compatible repository is ubuntu 13.04? context: CREATE TABLE table_27329061_2 (default_desktop_environment VARCHAR, edition VARCHAR, compatible_repository VARCHAR) [/INST] SELECT default_desktop_environment FROM table_27329061_2 WHERE ed...
What was the score for the South American Championship dated December 13, 1925?
SELECT result FROM table_name_40 WHERE competition = "south american championship" AND date = "december 13, 1925"
CREATE TABLE table_name_40 (result VARCHAR, competition VARCHAR, date VARCHAR)
<s>[INST] What was the score for the South American Championship dated December 13, 1925? context: CREATE TABLE table_name_40 (result VARCHAR, competition VARCHAR, date VARCHAR) [/INST] SELECT result FROM table_name_40 WHERE competition = "south american championship" AND date = "december 13, 1925" </s>
What is the record at Columbia for the team overall record of MU, 3-1?
SELECT at_columbia FROM table_16201038_5 WHERE overall_record = "MU, 3-1"
CREATE TABLE table_16201038_5 (at_columbia VARCHAR, overall_record VARCHAR)
<s>[INST] What is the record at Columbia for the team overall record of MU, 3-1? context: CREATE TABLE table_16201038_5 (at_columbia VARCHAR, overall_record VARCHAR) [/INST] SELECT at_columbia FROM table_16201038_5 WHERE overall_record = "MU, 3-1" </s>
What tournament is in Arizona?
SELECT tournament FROM table_name_70 WHERE location = "arizona"
CREATE TABLE table_name_70 (tournament VARCHAR, location VARCHAR)
<s>[INST] What tournament is in Arizona? context: CREATE TABLE table_name_70 (tournament VARCHAR, location VARCHAR) [/INST] SELECT tournament FROM table_name_70 WHERE location = "arizona" </s>
What is the evening gown score of the contestant from the District of Columbia with preliminaries smaller than 8.647?
SELECT COUNT(evening_gown) FROM table_name_79 WHERE preliminaries < 8.647 AND state = "district of columbia"
CREATE TABLE table_name_79 (evening_gown VARCHAR, preliminaries VARCHAR, state VARCHAR)
<s>[INST] What is the evening gown score of the contestant from the District of Columbia with preliminaries smaller than 8.647? context: CREATE TABLE table_name_79 (evening_gown VARCHAR, preliminaries VARCHAR, state VARCHAR) [/INST] SELECT COUNT(evening_gown) FROM table_name_79 WHERE preliminaries < 8.647 AND state = ...
Name the city of license which has age Watt of 160 watts
SELECT city_of_license FROM table_name_56 WHERE age_watt = "160 watts"
CREATE TABLE table_name_56 (city_of_license VARCHAR, age_watt VARCHAR)
<s>[INST] Name the city of license which has age Watt of 160 watts context: CREATE TABLE table_name_56 (city_of_license VARCHAR, age_watt VARCHAR) [/INST] SELECT city_of_license FROM table_name_56 WHERE age_watt = "160 watts" </s>
How many faculty members participate in an activity?
SELECT COUNT(DISTINCT FacID) FROM Faculty_participates_in
CREATE TABLE Faculty_participates_in (FacID VARCHAR)
<s>[INST] How many faculty members participate in an activity? context: CREATE TABLE Faculty_participates_in (FacID VARCHAR) [/INST] SELECT COUNT(DISTINCT FacID) FROM Faculty_participates_in </s>
What is the Bello when Ben-Tahir is 296?
SELECT bello FROM table_11447995_2 WHERE ben_tahir = "296"
CREATE TABLE table_11447995_2 (bello VARCHAR, ben_tahir VARCHAR)
<s>[INST] What is the Bello when Ben-Tahir is 296? context: CREATE TABLE table_11447995_2 (bello VARCHAR, ben_tahir VARCHAR) [/INST] SELECT bello FROM table_11447995_2 WHERE ben_tahir = "296" </s>
What is the Record with a Date with 29 march 2008?
SELECT record FROM table_name_27 WHERE date = "29 march 2008"
CREATE TABLE table_name_27 (record VARCHAR, date VARCHAR)
<s>[INST] What is the Record with a Date with 29 march 2008? context: CREATE TABLE table_name_27 (record VARCHAR, date VARCHAR) [/INST] SELECT record FROM table_name_27 WHERE date = "29 march 2008" </s>
At what Location did Robert Morris University (Illinois) Host the Lindenwood National Chamption?
SELECT location FROM table_name_71 WHERE host = "robert morris university (illinois)" AND national_champion = "lindenwood"
CREATE TABLE table_name_71 (location VARCHAR, host VARCHAR, national_champion VARCHAR)
<s>[INST] At what Location did Robert Morris University (Illinois) Host the Lindenwood National Chamption? context: CREATE TABLE table_name_71 (location VARCHAR, host VARCHAR, national_champion VARCHAR) [/INST] SELECT location FROM table_name_71 WHERE host = "robert morris university (illinois)" AND national_champion ...
What is the average life expectancy in African countries that are republics?
SELECT AVG(LifeExpectancy) FROM country WHERE Continent = "Africa" AND GovernmentForm = "Republic"
CREATE TABLE country (LifeExpectancy INTEGER, Continent VARCHAR, GovernmentForm VARCHAR)
<s>[INST] What is the average life expectancy in African countries that are republics? context: CREATE TABLE country (LifeExpectancy INTEGER, Continent VARCHAR, GovernmentForm VARCHAR) [/INST] SELECT AVG(LifeExpectancy) FROM country WHERE Continent = "Africa" AND GovernmentForm = "Republic" </s>
How many weeks total are there?
SELECT MAX(week) FROM table_24989925_2
CREATE TABLE table_24989925_2 (week INTEGER)
<s>[INST] How many weeks total are there? context: CREATE TABLE table_24989925_2 (week INTEGER) [/INST] SELECT MAX(week) FROM table_24989925_2 </s>
What was the original air date of series number 10?
SELECT AVG(original_air_date) FROM table_name_20 WHERE series_number = 10
CREATE TABLE table_name_20 (original_air_date INTEGER, series_number VARCHAR)
<s>[INST] What was the original air date of series number 10? context: CREATE TABLE table_name_20 (original_air_date INTEGER, series_number VARCHAR) [/INST] SELECT AVG(original_air_date) FROM table_name_20 WHERE series_number = 10 </s>
What Place has a Player of seve ballesteros?
SELECT place FROM table_name_89 WHERE player = "seve ballesteros"
CREATE TABLE table_name_89 (place VARCHAR, player VARCHAR)
<s>[INST] What Place has a Player of seve ballesteros? context: CREATE TABLE table_name_89 (place VARCHAR, player VARCHAR) [/INST] SELECT place FROM table_name_89 WHERE player = "seve ballesteros" </s>
What is Relax-Gam's average UCI Rating?
SELECT AVG(uci_rating) FROM table_name_88 WHERE team = "relax-gam"
CREATE TABLE table_name_88 (uci_rating INTEGER, team VARCHAR)
<s>[INST] What is Relax-Gam's average UCI Rating? context: CREATE TABLE table_name_88 (uci_rating INTEGER, team VARCHAR) [/INST] SELECT AVG(uci_rating) FROM table_name_88 WHERE team = "relax-gam" </s>
Which Hometown has a Height of 6-10?
SELECT hometown FROM table_name_90 WHERE height = "6-10"
CREATE TABLE table_name_90 (hometown VARCHAR, height VARCHAR)
<s>[INST] Which Hometown has a Height of 6-10? context: CREATE TABLE table_name_90 (hometown VARCHAR, height VARCHAR) [/INST] SELECT hometown FROM table_name_90 WHERE height = "6-10" </s>
What was the position in 1999?
SELECT position FROM table_name_58 WHERE years = "1999"
CREATE TABLE table_name_58 (position VARCHAR, years VARCHAR)
<s>[INST] What was the position in 1999? context: CREATE TABLE table_name_58 (position VARCHAR, years VARCHAR) [/INST] SELECT position FROM table_name_58 WHERE years = "1999" </s>
When us open (2) is the championship what is the surface?
SELECT surface FROM table_24901152_2 WHERE championship = "US Open (2)"
CREATE TABLE table_24901152_2 (surface VARCHAR, championship VARCHAR)
<s>[INST] When us open (2) is the championship what is the surface? context: CREATE TABLE table_24901152_2 (surface VARCHAR, championship VARCHAR) [/INST] SELECT surface FROM table_24901152_2 WHERE championship = "US Open (2)" </s>
Name the manner of departure for date of vacancy 25 august 2008
SELECT manner_of_departure FROM table_18522916_5 WHERE date_of_vacancy = "25 August 2008"
CREATE TABLE table_18522916_5 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR)
<s>[INST] Name the manner of departure for date of vacancy 25 august 2008 context: CREATE TABLE table_18522916_5 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR) [/INST] SELECT manner_of_departure FROM table_18522916_5 WHERE date_of_vacancy = "25 August 2008" </s>
Which long range AM station has the lowest frequency and includes a webcast of listen live, was licensed in the city of Monterrey, and uses the Callsign of xet?
SELECT MIN(frequency) FROM table_name_2 WHERE webcast = "listen live" AND city_of_license = "monterrey" AND callsign = "xet"
CREATE TABLE table_name_2 (frequency INTEGER, callsign VARCHAR, webcast VARCHAR, city_of_license VARCHAR)
<s>[INST] Which long range AM station has the lowest frequency and includes a webcast of listen live, was licensed in the city of Monterrey, and uses the Callsign of xet? context: CREATE TABLE table_name_2 (frequency INTEGER, callsign VARCHAR, webcast VARCHAR, city_of_license VARCHAR) [/INST] SELECT MIN(frequency) FRO...
When the under-11 was Aly Abou El Einen, who was the under-13?
SELECT under_13 FROM table_26368963_1 WHERE under_11 = "Aly Abou El Einen"
CREATE TABLE table_26368963_1 (under_13 VARCHAR, under_11 VARCHAR)
<s>[INST] When the under-11 was Aly Abou El Einen, who was the under-13? context: CREATE TABLE table_26368963_1 (under_13 VARCHAR, under_11 VARCHAR) [/INST] SELECT under_13 FROM table_26368963_1 WHERE under_11 = "Aly Abou El Einen" </s>
For a Team 1 of Al-Merrikh, what was the aggregate?
SELECT agg FROM table_name_47 WHERE team_1 = "al-merrikh"
CREATE TABLE table_name_47 (agg VARCHAR, team_1 VARCHAR)
<s>[INST] For a Team 1 of Al-Merrikh, what was the aggregate? context: CREATE TABLE table_name_47 (agg VARCHAR, team_1 VARCHAR) [/INST] SELECT agg FROM table_name_47 WHERE team_1 = "al-merrikh" </s>
Name the country for hannes arch
SELECT country FROM table_20036882_2 WHERE winning_pilot = "Hannes Arch"
CREATE TABLE table_20036882_2 (country VARCHAR, winning_pilot VARCHAR)
<s>[INST] Name the country for hannes arch context: CREATE TABLE table_20036882_2 (country VARCHAR, winning_pilot VARCHAR) [/INST] SELECT country FROM table_20036882_2 WHERE winning_pilot = "Hannes Arch" </s>
What is the to par of player hunter mahan?
SELECT to_par FROM table_name_87 WHERE player = "hunter mahan"
CREATE TABLE table_name_87 (to_par VARCHAR, player VARCHAR)
<s>[INST] What is the to par of player hunter mahan? context: CREATE TABLE table_name_87 (to_par VARCHAR, player VARCHAR) [/INST] SELECT to_par FROM table_name_87 WHERE player = "hunter mahan" </s>
In which league would you find the player with a comp percentage of 54.0?
SELECT leagues FROM table_18686317_1 WHERE comp__percentage = "54.0"
CREATE TABLE table_18686317_1 (leagues VARCHAR, comp__percentage VARCHAR)
<s>[INST] In which league would you find the player with a comp percentage of 54.0? context: CREATE TABLE table_18686317_1 (leagues VARCHAR, comp__percentage VARCHAR) [/INST] SELECT leagues FROM table_18686317_1 WHERE comp__percentage = "54.0" </s>
what's the points with driver  rusty wallace
SELECT points FROM table_10160447_1 WHERE driver = "Rusty Wallace"
CREATE TABLE table_10160447_1 (points VARCHAR, driver VARCHAR)
<s>[INST] what's the points with driver  rusty wallace context: CREATE TABLE table_10160447_1 (points VARCHAR, driver VARCHAR) [/INST] SELECT points FROM table_10160447_1 WHERE driver = "Rusty Wallace" </s>
What is the country sergio garcía, who has a score of 69-70-67=206, is from?
SELECT country FROM table_name_43 WHERE score = 69 - 70 - 67 = 206 AND player = "sergio garcía"
CREATE TABLE table_name_43 (country VARCHAR, player VARCHAR, score VARCHAR)
<s>[INST] What is the country sergio garcía, who has a score of 69-70-67=206, is from? context: CREATE TABLE table_name_43 (country VARCHAR, player VARCHAR, score VARCHAR) [/INST] SELECT country FROM table_name_43 WHERE score = 69 - 70 - 67 = 206 AND player = "sergio garcía" </s>
In what year was anna university - panruti campus established?
SELECT SUM(estd) FROM table_name_14 WHERE college_or_campus_name = "anna university - panruti campus"
CREATE TABLE table_name_14 (estd INTEGER, college_or_campus_name VARCHAR)
<s>[INST] In what year was anna university - panruti campus established? context: CREATE TABLE table_name_14 (estd INTEGER, college_or_campus_name VARCHAR) [/INST] SELECT SUM(estd) FROM table_name_14 WHERE college_or_campus_name = "anna university - panruti campus" </s>
What is the grid total for cars that went 17 laps?
SELECT SUM(grid) FROM table_name_60 WHERE laps = 17
CREATE TABLE table_name_60 (grid INTEGER, laps VARCHAR)
<s>[INST] What is the grid total for cars that went 17 laps? context: CREATE TABLE table_name_60 (grid INTEGER, laps VARCHAR) [/INST] SELECT SUM(grid) FROM table_name_60 WHERE laps = 17 </s>
What are the notes for the Mandarin Chinese program on CTV earlier than 2013?
SELECT notes FROM table_name_40 WHERE year < 2013 AND language = "mandarin chinese" AND network = "ctv"
CREATE TABLE table_name_40 (notes VARCHAR, network VARCHAR, year VARCHAR, language VARCHAR)
<s>[INST] What are the notes for the Mandarin Chinese program on CTV earlier than 2013? context: CREATE TABLE table_name_40 (notes VARCHAR, network VARCHAR, year VARCHAR, language VARCHAR) [/INST] SELECT notes FROM table_name_40 WHERE year < 2013 AND language = "mandarin chinese" AND network = "ctv" </s>
WHAT IS THE PM THAT HAS NO BLOGS, NO XML Forms Management and workflow, NO SEARCH, AND NO SOCIAL SOFTWARE?
SELECT project_management FROM table_name_9 WHERE blogs = "no" AND xml_forms_management_and_workflow = "no" AND enterprise_search = "no" AND social_software = "no"
CREATE TABLE table_name_9 (project_management VARCHAR, social_software VARCHAR, enterprise_search VARCHAR, blogs VARCHAR, xml_forms_management_and_workflow VARCHAR)
<s>[INST] WHAT IS THE PM THAT HAS NO BLOGS, NO XML Forms Management and workflow, NO SEARCH, AND NO SOCIAL SOFTWARE? context: CREATE TABLE table_name_9 (project_management VARCHAR, social_software VARCHAR, enterprise_search VARCHAR, blogs VARCHAR, xml_forms_management_and_workflow VARCHAR) [/INST] SELECT project_manag...
With the distribution mechanism of Microsoft website and the security issues of 98-004, what is the version?
SELECT version FROM table_2263152_1 WHERE security_issues = "98-004" AND distribution_mechanism = "Microsoft website"
CREATE TABLE table_2263152_1 (version VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR)
<s>[INST] With the distribution mechanism of Microsoft website and the security issues of 98-004, what is the version? context: CREATE TABLE table_2263152_1 (version VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR) [/INST] SELECT version FROM table_2263152_1 WHERE security_issues = "98-004" AND distri...
what is the latest episode in the series that had 16.17 million u.s. viewers?
SELECT MAX(no_in_series) FROM table_25997153_1 WHERE us_viewers__million_ = "16.17"
CREATE TABLE table_25997153_1 (no_in_series INTEGER, us_viewers__million_ VARCHAR)
<s>[INST] what is the latest episode in the series that had 16.17 million u.s. viewers? context: CREATE TABLE table_25997153_1 (no_in_series INTEGER, us_viewers__million_ VARCHAR) [/INST] SELECT MAX(no_in_series) FROM table_25997153_1 WHERE us_viewers__million_ = "16.17" </s>
Who were the opponents of the final on June 23, 2003?
SELECT opponents_in_the_final FROM table_name_4 WHERE date = "june 23, 2003"
CREATE TABLE table_name_4 (opponents_in_the_final VARCHAR, date VARCHAR)
<s>[INST] Who were the opponents of the final on June 23, 2003? context: CREATE TABLE table_name_4 (opponents_in_the_final VARCHAR, date VARCHAR) [/INST] SELECT opponents_in_the_final FROM table_name_4 WHERE date = "june 23, 2003" </s>
Which number has 11 males?
SELECT number FROM table_name_41 WHERE males = "11"
CREATE TABLE table_name_41 (number VARCHAR, males VARCHAR)
<s>[INST] Which number has 11 males? context: CREATE TABLE table_name_41 (number VARCHAR, males VARCHAR) [/INST] SELECT number FROM table_name_41 WHERE males = "11" </s>
What is the draw number of the song with a place lower than 6 and more than 38 votes?
SELECT SUM(draw) FROM table_name_49 WHERE place > 6 AND votes > 38
CREATE TABLE table_name_49 (draw INTEGER, place VARCHAR, votes VARCHAR)
<s>[INST] What is the draw number of the song with a place lower than 6 and more than 38 votes? context: CREATE TABLE table_name_49 (draw INTEGER, place VARCHAR, votes VARCHAR) [/INST] SELECT SUM(draw) FROM table_name_49 WHERE place > 6 AND votes > 38 </s>
How many fast laps have 0 points in the World Series by Nissan?
SELECT fast_laps FROM table_name_54 WHERE points = "0" AND series = "world series by nissan"
CREATE TABLE table_name_54 (fast_laps VARCHAR, points VARCHAR, series VARCHAR)
<s>[INST] How many fast laps have 0 points in the World Series by Nissan? context: CREATE TABLE table_name_54 (fast_laps VARCHAR, points VARCHAR, series VARCHAR) [/INST] SELECT fast_laps FROM table_name_54 WHERE points = "0" AND series = "world series by nissan" </s>
If a team had a percentage of games won recorded as .429, what Championship Game was played?
SELECT championship_game FROM table_name_82 WHERE win__percentage = ".429"
CREATE TABLE table_name_82 (championship_game VARCHAR, win__percentage VARCHAR)
<s>[INST] If a team had a percentage of games won recorded as .429, what Championship Game was played? context: CREATE TABLE table_name_82 (championship_game VARCHAR, win__percentage VARCHAR) [/INST] SELECT championship_game FROM table_name_82 WHERE win__percentage = ".429" </s>
Which song has a ending theme, and is sung by miriam yeung?
SELECT name_of_the_song FROM table_name_75 WHERE kind_of_the_song = "ending theme" AND singer = "miriam yeung"
CREATE TABLE table_name_75 (name_of_the_song VARCHAR, kind_of_the_song VARCHAR, singer VARCHAR)
<s>[INST] Which song has a ending theme, and is sung by miriam yeung? context: CREATE TABLE table_name_75 (name_of_the_song VARCHAR, kind_of_the_song VARCHAR, singer VARCHAR) [/INST] SELECT name_of_the_song FROM table_name_75 WHERE kind_of_the_song = "ending theme" AND singer = "miriam yeung" </s>
What game has a 6-12-8 record?
SELECT game FROM table_name_65 WHERE record = "6-12-8"
CREATE TABLE table_name_65 (game VARCHAR, record VARCHAR)
<s>[INST] What game has a 6-12-8 record? context: CREATE TABLE table_name_65 (game VARCHAR, record VARCHAR) [/INST] SELECT game FROM table_name_65 WHERE record = "6-12-8" </s>
Name the location attendance for l 93-105
SELECT location_attendance FROM table_27882867_4 WHERE score = "L 93-105"
CREATE TABLE table_27882867_4 (location_attendance VARCHAR, score VARCHAR)
<s>[INST] Name the location attendance for l 93-105 context: CREATE TABLE table_27882867_4 (location_attendance VARCHAR, score VARCHAR) [/INST] SELECT location_attendance FROM table_27882867_4 WHERE score = "L 93-105" </s>
What is ISBN US, when Title is "Mission To Venus"?
SELECT isbn_us FROM table_name_55 WHERE title = "mission to venus"
CREATE TABLE table_name_55 (isbn_us VARCHAR, title VARCHAR)
<s>[INST] What is ISBN US, when Title is "Mission To Venus"? context: CREATE TABLE table_name_55 (isbn_us VARCHAR, title VARCHAR) [/INST] SELECT isbn_us FROM table_name_55 WHERE title = "mission to venus" </s>
What was the result in the district represented by Thomas R. Gold?
SELECT result FROM table_2668367_13 WHERE incumbent = "Thomas R. Gold"
CREATE TABLE table_2668367_13 (result VARCHAR, incumbent VARCHAR)
<s>[INST] What was the result in the district represented by Thomas R. Gold? context: CREATE TABLE table_2668367_13 (result VARCHAR, incumbent VARCHAR) [/INST] SELECT result FROM table_2668367_13 WHERE incumbent = "Thomas R. Gold" </s>
What is the home team score with Away team Richmond?
SELECT home_team AS score FROM table_name_20 WHERE away_team = "richmond"
CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR)
<s>[INST] What is the home team score with Away team Richmond? context: CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR) [/INST] SELECT home_team AS score FROM table_name_20 WHERE away_team = "richmond" </s>
What TV channel had a license from Boston?
SELECT channel_tv___dt__ FROM table_1353096_2 WHERE city_of_license_market = "Boston"
CREATE TABLE table_1353096_2 (channel_tv___dt__ VARCHAR, city_of_license_market VARCHAR)
<s>[INST] What TV channel had a license from Boston? context: CREATE TABLE table_1353096_2 (channel_tv___dt__ VARCHAR, city_of_license_market VARCHAR) [/INST] SELECT channel_tv___dt__ FROM table_1353096_2 WHERE city_of_license_market = "Boston" </s>
What's Francis Harris' position?
SELECT position FROM table_name_83 WHERE name = "francis harris"
CREATE TABLE table_name_83 (position VARCHAR, name VARCHAR)
<s>[INST] What's Francis Harris' position? context: CREATE TABLE table_name_83 (position VARCHAR, name VARCHAR) [/INST] SELECT position FROM table_name_83 WHERE name = "francis harris" </s>
When did the elections take place in district Maryland 2?
SELECT MIN(first_elected) FROM table_1341453_22 WHERE district = "Maryland 2"
CREATE TABLE table_1341453_22 (first_elected INTEGER, district VARCHAR)
<s>[INST] When did the elections take place in district Maryland 2? context: CREATE TABLE table_1341453_22 (first_elected INTEGER, district VARCHAR) [/INST] SELECT MIN(first_elected) FROM table_1341453_22 WHERE district = "Maryland 2" </s>
What was the 2012 result associated with a 2007 finish of 2R and a 2009 of 1R?
SELECT 2012 FROM table_name_18 WHERE 2007 = "2r" AND 2009 = "1r"
CREATE TABLE table_name_18 (Id VARCHAR)
<s>[INST] What was the 2012 result associated with a 2007 finish of 2R and a 2009 of 1R? context: CREATE TABLE table_name_18 (Id VARCHAR) [/INST] SELECT 2012 FROM table_name_18 WHERE 2007 = "2r" AND 2009 = "1r" </s>
What is the total qual where the grid number is 24?
SELECT SUM(qual) FROM table_name_57 WHERE grid = 24
CREATE TABLE table_name_57 (qual INTEGER, grid VARCHAR)
<s>[INST] What is the total qual where the grid number is 24? context: CREATE TABLE table_name_57 (qual INTEGER, grid VARCHAR) [/INST] SELECT SUM(qual) FROM table_name_57 WHERE grid = 24 </s>
What is Date, when Venue is "Taunton", and when Name is "SC Ganguly"?
SELECT date FROM table_name_78 WHERE venue = "taunton" AND name = "sc ganguly"
CREATE TABLE table_name_78 (date VARCHAR, venue VARCHAR, name VARCHAR)
<s>[INST] What is Date, when Venue is "Taunton", and when Name is "SC Ganguly"? context: CREATE TABLE table_name_78 (date VARCHAR, venue VARCHAR, name VARCHAR) [/INST] SELECT date FROM table_name_78 WHERE venue = "taunton" AND name = "sc ganguly" </s>
What is the position of the player with a round less than 8 and an overall of 48?
SELECT position FROM table_name_81 WHERE round < 8 AND overall = 48
CREATE TABLE table_name_81 (position VARCHAR, round VARCHAR, overall VARCHAR)
<s>[INST] What is the position of the player with a round less than 8 and an overall of 48? context: CREATE TABLE table_name_81 (position VARCHAR, round VARCHAR, overall VARCHAR) [/INST] SELECT position FROM table_name_81 WHERE round < 8 AND overall = 48 </s>
In what season did the Sporting CP Club have a 1. round?
SELECT season FROM table_name_78 WHERE round = "1. round" AND club = "sporting cp"
CREATE TABLE table_name_78 (season VARCHAR, round VARCHAR, club VARCHAR)
<s>[INST] In what season did the Sporting CP Club have a 1. round? context: CREATE TABLE table_name_78 (season VARCHAR, round VARCHAR, club VARCHAR) [/INST] SELECT season FROM table_name_78 WHERE round = "1. round" AND club = "sporting cp" </s>
What label has cd single as the format?
SELECT label FROM table_name_20 WHERE format = "cd single"
CREATE TABLE table_name_20 (label VARCHAR, format VARCHAR)
<s>[INST] What label has cd single as the format? context: CREATE TABLE table_name_20 (label VARCHAR, format VARCHAR) [/INST] SELECT label FROM table_name_20 WHERE format = "cd single" </s>
Is prothrombin time long when thromboplastin is prolonged?
SELECT prothrombin_time FROM table_1226250_1 WHERE bleeding_time = "Prolonged" AND partial_thromboplastin_time = "Prolonged"
CREATE TABLE table_1226250_1 (prothrombin_time VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR)
<s>[INST] Is prothrombin time long when thromboplastin is prolonged? context: CREATE TABLE table_1226250_1 (prothrombin_time VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR) [/INST] SELECT prothrombin_time FROM table_1226250_1 WHERE bleeding_time = "Prolonged" AND partial_thromboplastin_time = "Pro...
Which VIETNAMESE has a CHINESE of 婆須密 / póxūmì?
SELECT vietnamese FROM table_name_35 WHERE chinese = "婆須密 / póxūmì"
CREATE TABLE table_name_35 (vietnamese VARCHAR, chinese VARCHAR)
<s>[INST] Which VIETNAMESE has a CHINESE of 婆須密 / póxūmì? context: CREATE TABLE table_name_35 (vietnamese VARCHAR, chinese VARCHAR) [/INST] SELECT vietnamese FROM table_name_35 WHERE chinese = "婆須密 / póxūmì" </s>
What is the city the track of manzanita speedway is in?
SELECT city FROM table_name_89 WHERE track = "manzanita speedway"
CREATE TABLE table_name_89 (city VARCHAR, track VARCHAR)
<s>[INST] What is the city the track of manzanita speedway is in? context: CREATE TABLE table_name_89 (city VARCHAR, track VARCHAR) [/INST] SELECT city FROM table_name_89 WHERE track = "manzanita speedway" </s>
Who wrote when the original airdate is April 5, 1987?
SELECT written_by FROM table_2226817_2 WHERE original_air_date = "April 5, 1987"
CREATE TABLE table_2226817_2 (written_by VARCHAR, original_air_date VARCHAR)
<s>[INST] Who wrote when the original airdate is April 5, 1987? context: CREATE TABLE table_2226817_2 (written_by VARCHAR, original_air_date VARCHAR) [/INST] SELECT written_by FROM table_2226817_2 WHERE original_air_date = "April 5, 1987" </s>
Which Total has a Rank of 9, and a Silver smaller than 2?
SELECT MAX(total) FROM table_name_37 WHERE rank = 9 AND silver < 2
CREATE TABLE table_name_37 (total INTEGER, rank VARCHAR, silver VARCHAR)
<s>[INST] Which Total has a Rank of 9, and a Silver smaller than 2? context: CREATE TABLE table_name_37 (total INTEGER, rank VARCHAR, silver VARCHAR) [/INST] SELECT MAX(total) FROM table_name_37 WHERE rank = 9 AND silver < 2 </s>
what is the institution located in north newton, kansas?
SELECT institution FROM table_262527_1 WHERE location = "North Newton, Kansas"
CREATE TABLE table_262527_1 (institution VARCHAR, location VARCHAR)
<s>[INST] what is the institution located in north newton, kansas? context: CREATE TABLE table_262527_1 (institution VARCHAR, location VARCHAR) [/INST] SELECT institution FROM table_262527_1 WHERE location = "North Newton, Kansas" </s>
Give me the maximum low temperature and average precipitation at the Amersham station.
SELECT MAX(t1.low_temperature), AVG(t1.precipitation) FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id = t2.id WHERE t2.network_name = "Amersham"
CREATE TABLE weekly_weather (low_temperature INTEGER, precipitation INTEGER, station_id VARCHAR); CREATE TABLE station (id VARCHAR, network_name VARCHAR)
<s>[INST] Give me the maximum low temperature and average precipitation at the Amersham station. context: CREATE TABLE weekly_weather (low_temperature INTEGER, precipitation INTEGER, station_id VARCHAR); CREATE TABLE station (id VARCHAR, network_name VARCHAR) [/INST] SELECT MAX(t1.low_temperature), AVG(t1.precipitatio...
Find the id and name of customers whose address contains WY state and do not use credit card for payment.
SELECT customer_id, customer_name FROM customers WHERE customer_address LIKE "%WY%" AND payment_method_code <> "Credit Card"
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR, customer_address VARCHAR, payment_method_code VARCHAR)
<s>[INST] Find the id and name of customers whose address contains WY state and do not use credit card for payment. context: CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR, customer_address VARCHAR, payment_method_code VARCHAR) [/INST] SELECT customer_id, customer_name FROM customers WHERE customer...
Who had high assists in the game played at Oklahoma city arena 17,509?
SELECT high_assists FROM table_27712702_7 WHERE location_attendance = "Oklahoma City Arena 17,509"
CREATE TABLE table_27712702_7 (high_assists VARCHAR, location_attendance VARCHAR)
<s>[INST] Who had high assists in the game played at Oklahoma city arena 17,509? context: CREATE TABLE table_27712702_7 (high_assists VARCHAR, location_attendance VARCHAR) [/INST] SELECT high_assists FROM table_27712702_7 WHERE location_attendance = "Oklahoma City Arena 17,509" </s>
What is the oldest log id and its corresponding problem id?
SELECT problem_log_id, problem_id FROM problem_log ORDER BY log_entry_date LIMIT 1
CREATE TABLE problem_log (problem_log_id VARCHAR, problem_id VARCHAR, log_entry_date VARCHAR)
<s>[INST] What is the oldest log id and its corresponding problem id? context: CREATE TABLE problem_log (problem_log_id VARCHAR, problem_id VARCHAR, log_entry_date VARCHAR) [/INST] SELECT problem_log_id, problem_id FROM problem_log ORDER BY log_entry_date LIMIT 1 </s>
What is the number of sort values associated with 389 births?
SELECT COUNT(sort_restore) FROM table_name_27 WHERE births = "389"
CREATE TABLE table_name_27 (sort_restore VARCHAR, births VARCHAR)
<s>[INST] What is the number of sort values associated with 389 births? context: CREATE TABLE table_name_27 (sort_restore VARCHAR, births VARCHAR) [/INST] SELECT COUNT(sort_restore) FROM table_name_27 WHERE births = "389" </s>
For opponent is sandra kristjánsdóttir, outcome is winner and edition is 2009 europe/africa group iiib mention all the opponent team.
SELECT opponent_team FROM table_27877656_7 WHERE edition = "2009 Europe/Africa Group IIIB" AND outcome = "Winner" AND opponent = "Sandra Kristjánsdóttir"
CREATE TABLE table_27877656_7 (opponent_team VARCHAR, opponent VARCHAR, edition VARCHAR, outcome VARCHAR)
<s>[INST] For opponent is sandra kristjánsdóttir, outcome is winner and edition is 2009 europe/africa group iiib mention all the opponent team. context: CREATE TABLE table_27877656_7 (opponent_team VARCHAR, opponent VARCHAR, edition VARCHAR, outcome VARCHAR) [/INST] SELECT opponent_team FROM table_27877656_7 WHERE edi...
Who directed the episode whose production code is pabf05?
SELECT directed_by FROM table_28194879_1 WHERE production_code = "PABF05"
CREATE TABLE table_28194879_1 (directed_by VARCHAR, production_code VARCHAR)
<s>[INST] Who directed the episode whose production code is pabf05? context: CREATE TABLE table_28194879_1 (directed_by VARCHAR, production_code VARCHAR) [/INST] SELECT directed_by FROM table_28194879_1 WHERE production_code = "PABF05" </s>
What is the Against when the drawn is 5?
SELECT against FROM table_name_21 WHERE drawn = 5
CREATE TABLE table_name_21 (against VARCHAR, drawn VARCHAR)
<s>[INST] What is the Against when the drawn is 5? context: CREATE TABLE table_name_21 (against VARCHAR, drawn VARCHAR) [/INST] SELECT against FROM table_name_21 WHERE drawn = 5 </s>
What is the location of the match where the method was submission (armbar) and Mayra Conde was the opponent?
SELECT location FROM table_name_19 WHERE method = "submission (armbar)" AND opponent = "mayra conde"
CREATE TABLE table_name_19 (location VARCHAR, method VARCHAR, opponent VARCHAR)
<s>[INST] What is the location of the match where the method was submission (armbar) and Mayra Conde was the opponent? context: CREATE TABLE table_name_19 (location VARCHAR, method VARCHAR, opponent VARCHAR) [/INST] SELECT location FROM table_name_19 WHERE method = "submission (armbar)" AND opponent = "mayra conde" </...
How many joined Manchester University?
SELECT joined FROM table_255205_1 WHERE institution = "Manchester University"
CREATE TABLE table_255205_1 (joined VARCHAR, institution VARCHAR)
<s>[INST] How many joined Manchester University? context: CREATE TABLE table_255205_1 (joined VARCHAR, institution VARCHAR) [/INST] SELECT joined FROM table_255205_1 WHERE institution = "Manchester University" </s>
What internet explorer has 29.07% for the chrome?
SELECT internet_explorer FROM table_name_91 WHERE chrome = "29.07%"
CREATE TABLE table_name_91 (internet_explorer VARCHAR, chrome VARCHAR)
<s>[INST] What internet explorer has 29.07% for the chrome? context: CREATE TABLE table_name_91 (internet_explorer VARCHAR, chrome VARCHAR) [/INST] SELECT internet_explorer FROM table_name_91 WHERE chrome = "29.07%" </s>
What is the highest CPC blend Kazakhstan number when Barrow Island Australia is smaller than 12?
SELECT MAX(cpc_blend_kazakhstan) FROM table_name_48 WHERE barrow_island_australia < 12
CREATE TABLE table_name_48 (cpc_blend_kazakhstan INTEGER, barrow_island_australia INTEGER)
<s>[INST] What is the highest CPC blend Kazakhstan number when Barrow Island Australia is smaller than 12? context: CREATE TABLE table_name_48 (cpc_blend_kazakhstan INTEGER, barrow_island_australia INTEGER) [/INST] SELECT MAX(cpc_blend_kazakhstan) FROM table_name_48 WHERE barrow_island_australia < 12 </s>
How many subsidiaries of Postermobile Limited?
SELECT subsidiaries FROM table_1756264_2 WHERE company_name = "POSTERMOBILE LIMITED"
CREATE TABLE table_1756264_2 (subsidiaries VARCHAR, company_name VARCHAR)
<s>[INST] How many subsidiaries of Postermobile Limited? context: CREATE TABLE table_1756264_2 (subsidiaries VARCHAR, company_name VARCHAR) [/INST] SELECT subsidiaries FROM table_1756264_2 WHERE company_name = "POSTERMOBILE LIMITED" </s>
what's the win with points for being 376
SELECT won FROM table_12828723_3 WHERE points_for = "376"
CREATE TABLE table_12828723_3 (won VARCHAR, points_for VARCHAR)
<s>[INST] what's the win with points for being 376 context: CREATE TABLE table_12828723_3 (won VARCHAR, points_for VARCHAR) [/INST] SELECT won FROM table_12828723_3 WHERE points_for = "376" </s>
Which Game has an Opponent of at kansas city chiefs, and an Attendance smaller than 40,213?
SELECT SUM(game) FROM table_name_60 WHERE opponent = "at kansas city chiefs" AND attendance < 40 OFFSET 213
CREATE TABLE table_name_60 (game INTEGER, opponent VARCHAR, attendance VARCHAR)
<s>[INST] Which Game has an Opponent of at kansas city chiefs, and an Attendance smaller than 40,213? context: CREATE TABLE table_name_60 (game INTEGER, opponent VARCHAR, attendance VARCHAR) [/INST] SELECT SUM(game) FROM table_name_60 WHERE opponent = "at kansas city chiefs" AND attendance < 40 OFFSET 213 </s>
What is the max speed when the vessel is gallion?
SELECT max_speed FROM table_28132970_5 WHERE vessel = "Gallion"
CREATE TABLE table_28132970_5 (max_speed VARCHAR, vessel VARCHAR)
<s>[INST] What is the max speed when the vessel is gallion? context: CREATE TABLE table_28132970_5 (max_speed VARCHAR, vessel VARCHAR) [/INST] SELECT max_speed FROM table_28132970_5 WHERE vessel = "Gallion" </s>
What position is todd hammel?
SELECT position FROM table_name_99 WHERE player = "todd hammel"
CREATE TABLE table_name_99 (position VARCHAR, player VARCHAR)
<s>[INST] What position is todd hammel? context: CREATE TABLE table_name_99 (position VARCHAR, player VARCHAR) [/INST] SELECT position FROM table_name_99 WHERE player = "todd hammel" </s>
Where was the Singapore Charity Shield tournament played?
SELECT location FROM table_name_8 WHERE tournament = "singapore charity shield"
CREATE TABLE table_name_8 (location VARCHAR, tournament VARCHAR)
<s>[INST] Where was the Singapore Charity Shield tournament played? context: CREATE TABLE table_name_8 (location VARCHAR, tournament VARCHAR) [/INST] SELECT location FROM table_name_8 WHERE tournament = "singapore charity shield" </s>
how many primary payload(s) with shuttle being columbia and duration being 13 days, 19 hours, 30 minutes, 4 seconds
SELECT COUNT(primary_payload_s_) FROM table_14118521_1 WHERE shuttle = "Columbia" AND duration = "13 days, 19 hours, 30 minutes, 4 seconds"
CREATE TABLE table_14118521_1 (primary_payload_s_ VARCHAR, shuttle VARCHAR, duration VARCHAR)
<s>[INST] how many primary payload(s) with shuttle being columbia and duration being 13 days, 19 hours, 30 minutes, 4 seconds context: CREATE TABLE table_14118521_1 (primary_payload_s_ VARCHAR, shuttle VARCHAR, duration VARCHAR) [/INST] SELECT COUNT(primary_payload_s_) FROM table_14118521_1 WHERE shuttle = "Columbia"...
How many sets lost have a loss smaller than 3 and a rank larger than 1?
SELECT SUM(sets_lost) FROM table_name_26 WHERE loss < 3 AND rank > 1
CREATE TABLE table_name_26 (sets_lost INTEGER, loss VARCHAR, rank VARCHAR)
<s>[INST] How many sets lost have a loss smaller than 3 and a rank larger than 1? context: CREATE TABLE table_name_26 (sets_lost INTEGER, loss VARCHAR, rank VARCHAR) [/INST] SELECT SUM(sets_lost) FROM table_name_26 WHERE loss < 3 AND rank > 1 </s>
How many championships does Evergreen Premier League have?
SELECT MAX(championships) FROM table_name_48 WHERE league = "evergreen premier league"
CREATE TABLE table_name_48 (championships INTEGER, league VARCHAR)
<s>[INST] How many championships does Evergreen Premier League have? context: CREATE TABLE table_name_48 (championships INTEGER, league VARCHAR) [/INST] SELECT MAX(championships) FROM table_name_48 WHERE league = "evergreen premier league" </s>
What was the score of the game when the record was 50-85?
SELECT score FROM table_name_73 WHERE record = "50-85"
CREATE TABLE table_name_73 (score VARCHAR, record VARCHAR)
<s>[INST] What was the score of the game when the record was 50-85? context: CREATE TABLE table_name_73 (score VARCHAR, record VARCHAR) [/INST] SELECT score FROM table_name_73 WHERE record = "50-85" </s>
What was the nationality of the athlete with a final result of 4.50?
SELECT nationality FROM table_name_92 WHERE result = "4.50"
CREATE TABLE table_name_92 (nationality VARCHAR, result VARCHAR)
<s>[INST] What was the nationality of the athlete with a final result of 4.50? context: CREATE TABLE table_name_92 (nationality VARCHAR, result VARCHAR) [/INST] SELECT nationality FROM table_name_92 WHERE result = "4.50" </s>
How many laps did Emerson Fittipaldi do on a grid larger than 14, and when was the Time/Retired of accident?
SELECT COUNT(laps) FROM table_name_98 WHERE grid > 14 AND time_retired = "accident" AND driver = "emerson fittipaldi"
CREATE TABLE table_name_98 (laps VARCHAR, driver VARCHAR, grid VARCHAR, time_retired VARCHAR)
<s>[INST] How many laps did Emerson Fittipaldi do on a grid larger than 14, and when was the Time/Retired of accident? context: CREATE TABLE table_name_98 (laps VARCHAR, driver VARCHAR, grid VARCHAR, time_retired VARCHAR) [/INST] SELECT COUNT(laps) FROM table_name_98 WHERE grid > 14 AND time_retired = "accident" AND d...
What is Player, when Total is greater than 148, and when To Par is "12"?
SELECT player FROM table_name_83 WHERE total > 148 AND to_par = 12
CREATE TABLE table_name_83 (player VARCHAR, total VARCHAR, to_par VARCHAR)
<s>[INST] What is Player, when Total is greater than 148, and when To Par is "12"? context: CREATE TABLE table_name_83 (player VARCHAR, total VARCHAR, to_par VARCHAR) [/INST] SELECT player FROM table_name_83 WHERE total > 148 AND to_par = 12 </s>
Find the first names of students whose first names contain letter "a".
SELECT DISTINCT Fname FROM STUDENT WHERE Fname LIKE '%a%'
CREATE TABLE STUDENT (Fname VARCHAR)
<s>[INST] Find the first names of students whose first names contain letter "a". context: CREATE TABLE STUDENT (Fname VARCHAR) [/INST] SELECT DISTINCT Fname FROM STUDENT WHERE Fname LIKE '%a%' </s>
What competition had a final round in the finals and the final position winners?
SELECT competition FROM table_name_66 WHERE final_position = "winners" AND final_round = "finals"
CREATE TABLE table_name_66 (competition VARCHAR, final_position VARCHAR, final_round VARCHAR)
<s>[INST] What competition had a final round in the finals and the final position winners? context: CREATE TABLE table_name_66 (competition VARCHAR, final_position VARCHAR, final_round VARCHAR) [/INST] SELECT competition FROM table_name_66 WHERE final_position = "winners" AND final_round = "finals" </s>
Which tournament in 2012 had a 2007 and 2011 finishes of "A"?
SELECT 2012 FROM table_name_91 WHERE 2007 = "a" AND 2011 = "a"
CREATE TABLE table_name_91 (Id VARCHAR)
<s>[INST] Which tournament in 2012 had a 2007 and 2011 finishes of "A"? context: CREATE TABLE table_name_91 (Id VARCHAR) [/INST] SELECT 2012 FROM table_name_91 WHERE 2007 = "a" AND 2011 = "a" </s>
What is the Name of the player with less than 342 Block, less than 87 Weight and Height more than 187?
SELECT name FROM table_name_50 WHERE block < 342 AND weight < 87 AND height > 187
CREATE TABLE table_name_50 (name VARCHAR, height VARCHAR, block VARCHAR, weight VARCHAR)
<s>[INST] What is the Name of the player with less than 342 Block, less than 87 Weight and Height more than 187? context: CREATE TABLE table_name_50 (name VARCHAR, height VARCHAR, block VARCHAR, weight VARCHAR) [/INST] SELECT name FROM table_name_50 WHERE block < 342 AND weight < 87 AND height > 187 </s>
What was the losing team in the 1993 season?
SELECT losingteam FROM table_11236195_2 WHERE season = 1993
CREATE TABLE table_11236195_2 (losingteam VARCHAR, season VARCHAR)
<s>[INST] What was the losing team in the 1993 season? context: CREATE TABLE table_11236195_2 (losingteam VARCHAR, season VARCHAR) [/INST] SELECT losingteam FROM table_11236195_2 WHERE season = 1993 </s>