context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_9 (record VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT record FROM table_name_9 WHERE opponent = "orioles" AND date = "april 14" | Which record has an Opponent of orioles and a Date of april 14? | <s>[INST]Which record has an Opponent of orioles and a Date of april 14? Context: CREATE TABLE table_name_9 (record VARCHAR, opponent VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_9 WHERE opponent = "orioles" AND date = "april 14"</s> |
CREATE TABLE table_name_22 (launched VARCHAR, commissioned VARCHAR, bow_number VARCHAR) | SELECT launched FROM table_name_22 WHERE commissioned = "july 1948" AND bow_number = "ps-31" | When did the ship that was commissioned July 1948 with a bow number of ps-31 launch? | <s>[INST]When did the ship that was commissioned July 1948 with a bow number of ps-31 launch? Context: CREATE TABLE table_name_22 (launched VARCHAR, commissioned VARCHAR, bow_number VARCHAR)[/INST]SELECT launched FROM table_name_22 WHERE commissioned = "july 1948" AND bow_number = "ps-31"</s> |
CREATE TABLE table_2351952_1 (railroad VARCHAR, numbers VARCHAR) | SELECT COUNT(railroad) FROM table_2351952_1 WHERE numbers = "864-873" | How many railroads have the numbers 864-873? | <s>[INST]How many railroads have the numbers 864-873? Context: CREATE TABLE table_2351952_1 (railroad VARCHAR, numbers VARCHAR)[/INST]SELECT COUNT(railroad) FROM table_2351952_1 WHERE numbers = "864-873"</s> |
CREATE TABLE table_2562572_9 (type VARCHAR, cyrillic_name_other_names VARCHAR) | SELECT type FROM table_2562572_9 WHERE cyrillic_name_other_names = "Футог" | What type of settlement is футог? | <s>[INST]What type of settlement is футог? Context: CREATE TABLE table_2562572_9 (type VARCHAR, cyrillic_name_other_names VARCHAR)[/INST]SELECT type FROM table_2562572_9 WHERE cyrillic_name_other_names = "Футог"</s> |
CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_8 WHERE away_team = "fitzroy" | What did the home team score when playing Fitzroy as the away team? | <s>[INST]What did the home team score when playing Fitzroy as the away team? Context: CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_8 WHERE away_team = "fitzroy"</s> |
CREATE TABLE table_name_36 (composer VARCHAR, track INTEGER) | SELECT composer FROM table_name_36 WHERE track < 4 | Who is the composer on the tracks less than 4? | <s>[INST]Who is the composer on the tracks less than 4? Context: CREATE TABLE table_name_36 (composer VARCHAR, track INTEGER)[/INST]SELECT composer FROM table_name_36 WHERE track < 4</s> |
CREATE TABLE table_name_56 (elevator VARCHAR, order_and_title VARCHAR) | SELECT elevator FROM table_name_56 WHERE order_and_title = "cardinal-deacon of s. nicola in carcere tulliano" | Who was the elevator when the Cardinal-Deacon of S. Nicola in Carcere Tulliano was the order and title? | <s>[INST]Who was the elevator when the Cardinal-Deacon of S. Nicola in Carcere Tulliano was the order and title? Context: CREATE TABLE table_name_56 (elevator VARCHAR, order_and_title VARCHAR)[/INST]SELECT elevator FROM table_name_56 WHERE order_and_title = "cardinal-deacon of s. nicola in carcere tulliano"</s> |
CREATE TABLE table_name_55 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_name_55 WHERE date = "february 11" | What was the High points when date was February 11? | <s>[INST]What was the High points when date was February 11? Context: CREATE TABLE table_name_55 (high_points VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_name_55 WHERE date = "february 11"</s> |
CREATE TABLE table_name_7 (rank INTEGER, lane VARCHAR, nationality VARCHAR) | SELECT AVG(rank) FROM table_name_7 WHERE lane < 4 AND nationality = "san marino" | What is the total average for Rank entries where the Lane listed is smaller than 4 and the Nationality listed is San Marino? | <s>[INST]What is the total average for Rank entries where the Lane listed is smaller than 4 and the Nationality listed is San Marino? Context: CREATE TABLE table_name_7 (rank INTEGER, lane VARCHAR, nationality VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_7 WHERE lane < 4 AND nationality = "san marino"</s> |
CREATE TABLE table_name_36 (score VARCHAR, date VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_36 WHERE date = "17 november 1956" AND home_team = "derby county" | What is the score on 17 November 1956 when home team is Derby County? | <s>[INST]What is the score on 17 November 1956 when home team is Derby County? Context: CREATE TABLE table_name_36 (score VARCHAR, date VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_36 WHERE date = "17 november 1956" AND home_team = "derby county"</s> |
CREATE TABLE table_name_23 (cfl_team VARCHAR, player VARCHAR) | SELECT cfl_team FROM table_name_23 WHERE player = "peter hogarth" | which CFL team has a player called Peter Hogarth? | <s>[INST]which CFL team has a player called Peter Hogarth? Context: CREATE TABLE table_name_23 (cfl_team VARCHAR, player VARCHAR)[/INST]SELECT cfl_team FROM table_name_23 WHERE player = "peter hogarth"</s> |
CREATE TABLE table_name_5 (score VARCHAR, tournament VARCHAR) | SELECT score FROM table_name_5 WHERE tournament = "wellington" | What was the score of the tournament in Wellington? | <s>[INST]What was the score of the tournament in Wellington? Context: CREATE TABLE table_name_5 (score VARCHAR, tournament VARCHAR)[/INST]SELECT score FROM table_name_5 WHERE tournament = "wellington"</s> |
CREATE TABLE table_name_71 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_71 WHERE score = "70-76-68-214" | Which country has the score 70-76-68-214? | <s>[INST]Which country has the score 70-76-68-214? Context: CREATE TABLE table_name_71 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_71 WHERE score = "70-76-68-214"</s> |
CREATE TABLE table_name_30 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_30 WHERE date = "november 11" | WHich Score has a Date on november 11? | <s>[INST]WHich Score has a Date on november 11? Context: CREATE TABLE table_name_30 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_30 WHERE date = "november 11"</s> |
CREATE TABLE table_19930660_1 (rufus_guest VARCHAR, first_broadcast VARCHAR) | SELECT COUNT(rufus_guest) FROM table_19930660_1 WHERE first_broadcast = "15 December 2008" | Name the rufus guest for 15 december 2008 | <s>[INST]Name the rufus guest for 15 december 2008 Context: CREATE TABLE table_19930660_1 (rufus_guest VARCHAR, first_broadcast VARCHAR)[/INST]SELECT COUNT(rufus_guest) FROM table_19930660_1 WHERE first_broadcast = "15 December 2008"</s> |
CREATE TABLE table_name_66 (grid INTEGER, laps VARCHAR) | SELECT AVG(grid) FROM table_name_66 WHERE laps = 88 | What's the average Grid with Laps of 88? | <s>[INST]What's the average Grid with Laps of 88? Context: CREATE TABLE table_name_66 (grid INTEGER, laps VARCHAR)[/INST]SELECT AVG(grid) FROM table_name_66 WHERE laps = 88</s> |
CREATE TABLE table_name_40 (ning INTEGER, plaxo VARCHAR, bebo VARCHAR, orkut VARCHAR) | SELECT MAX(ning) FROM table_name_40 WHERE bebo < 4 AND orkut < 100 AND plaxo > 0 | What is the highest Ning that has a bebo less than 4, an orkut less than 100, with a plaxo greater than 0? | <s>[INST]What is the highest Ning that has a bebo less than 4, an orkut less than 100, with a plaxo greater than 0? Context: CREATE TABLE table_name_40 (ning INTEGER, plaxo VARCHAR, bebo VARCHAR, orkut VARCHAR)[/INST]SELECT MAX(ning) FROM table_name_40 WHERE bebo < 4 AND orkut < 100 AND plaxo > 0</s> |
CREATE TABLE table_name_76 (date VARCHAR, goal VARCHAR) | SELECT date FROM table_name_76 WHERE goal = 24 | On what date did Goal 24 take place? | <s>[INST]On what date did Goal 24 take place? Context: CREATE TABLE table_name_76 (date VARCHAR, goal VARCHAR)[/INST]SELECT date FROM table_name_76 WHERE goal = 24</s> |
CREATE TABLE table_name_1 (semi_finalists VARCHAR, fourth_place VARCHAR) | SELECT semi_finalists FROM table_name_1 WHERE fourth_place = "2 (1993, 2003)" | What semi-finalists has 2 (1993, 2003) as the fourth-place? | <s>[INST]What semi-finalists has 2 (1993, 2003) as the fourth-place? Context: CREATE TABLE table_name_1 (semi_finalists VARCHAR, fourth_place VARCHAR)[/INST]SELECT semi_finalists FROM table_name_1 WHERE fourth_place = "2 (1993, 2003)"</s> |
CREATE TABLE table_name_58 (akira VARCHAR, milano_collection_at VARCHAR) | SELECT akira FROM table_name_58 WHERE milano_collection_at = "milano (10:29)" | What is the corresponding Akira when Milano Collection A.T is Milano (10:29)? | <s>[INST]What is the corresponding Akira when Milano Collection A.T is Milano (10:29)? Context: CREATE TABLE table_name_58 (akira VARCHAR, milano_collection_at VARCHAR)[/INST]SELECT akira FROM table_name_58 WHERE milano_collection_at = "milano (10:29)"</s> |
CREATE TABLE table_name_93 (induction VARCHAR, years VARCHAR) | SELECT induction FROM table_name_93 WHERE years = "1975–1976" | What is the inductioin for 1975–1976? | <s>[INST]What is the inductioin for 1975–1976? Context: CREATE TABLE table_name_93 (induction VARCHAR, years VARCHAR)[/INST]SELECT induction FROM table_name_93 WHERE years = "1975–1976"</s> |
CREATE TABLE table_name_47 (total_attempts INTEGER, percentage VARCHAR, service_aces VARCHAR) | SELECT MIN(total_attempts) FROM table_name_47 WHERE percentage > 0.34900000000000003 AND service_aces < 13 | When there is less than 13 services aces with a percentage greater than 0.34900000000000003, what is the smallest total attempts? | <s>[INST]When there is less than 13 services aces with a percentage greater than 0.34900000000000003, what is the smallest total attempts? Context: CREATE TABLE table_name_47 (total_attempts INTEGER, percentage VARCHAR, service_aces VARCHAR)[/INST]SELECT MIN(total_attempts) FROM table_name_47 WHERE percentage > 0.34900000000000003 AND service_aces < 13</s> |
CREATE TABLE table_name_37 (january INTEGER, record VARCHAR, points VARCHAR) | SELECT SUM(january) FROM table_name_37 WHERE record = "26–12–6" AND points < 58 | How much January has a Record of 26–12–6, and Points smaller than 58? | <s>[INST]How much January has a Record of 26–12–6, and Points smaller than 58? Context: CREATE TABLE table_name_37 (january INTEGER, record VARCHAR, points VARCHAR)[/INST]SELECT SUM(january) FROM table_name_37 WHERE record = "26–12–6" AND points < 58</s> |
CREATE TABLE table_name_41 (points INTEGER, attendance VARCHAR, date VARCHAR) | SELECT SUM(points) FROM table_name_41 WHERE attendance = "8,000" AND date = "february 22" | What's the sum of the points when attendance is 8,000 on february 22? | <s>[INST]What's the sum of the points when attendance is 8,000 on february 22? Context: CREATE TABLE table_name_41 (points INTEGER, attendance VARCHAR, date VARCHAR)[/INST]SELECT SUM(points) FROM table_name_41 WHERE attendance = "8,000" AND date = "february 22"</s> |
CREATE TABLE table_name_37 (muslim___percentage_of_total_population_ INTEGER, census_year INTEGER) | SELECT MIN(muslim___percentage_of_total_population_) FROM table_name_37 WHERE census_year > 2011 | What is the lowest Muslim (% of Total population) of a year after 2011? | <s>[INST]What is the lowest Muslim (% of Total population) of a year after 2011? Context: CREATE TABLE table_name_37 (muslim___percentage_of_total_population_ INTEGER, census_year INTEGER)[/INST]SELECT MIN(muslim___percentage_of_total_population_) FROM table_name_37 WHERE census_year > 2011</s> |
CREATE TABLE table_name_98 (pick VARCHAR, school VARCHAR) | SELECT COUNT(pick) FROM table_name_98 WHERE school = "southern mississippi" | What is the Pick # of the Player from Southern MIssissippi? | <s>[INST]What is the Pick # of the Player from Southern MIssissippi? Context: CREATE TABLE table_name_98 (pick VARCHAR, school VARCHAR)[/INST]SELECT COUNT(pick) FROM table_name_98 WHERE school = "southern mississippi"</s> |
CREATE TABLE table_28677723_16 (couple VARCHAR, total VARCHAR) | SELECT couple FROM table_28677723_16 WHERE total = 38 | What is the couple that received a total score of 38? | <s>[INST]What is the couple that received a total score of 38? Context: CREATE TABLE table_28677723_16 (couple VARCHAR, total VARCHAR)[/INST]SELECT couple FROM table_28677723_16 WHERE total = 38</s> |
CREATE TABLE table_name_86 (driver VARCHAR, class VARCHAR, navigator VARCHAR) | SELECT driver FROM table_name_86 WHERE class = "cm22" AND navigator = "macneall" | Who was the driver of the vehicle having class of CM22 and navigator of Macneall? | <s>[INST]Who was the driver of the vehicle having class of CM22 and navigator of Macneall? Context: CREATE TABLE table_name_86 (driver VARCHAR, class VARCHAR, navigator VARCHAR)[/INST]SELECT driver FROM table_name_86 WHERE class = "cm22" AND navigator = "macneall"</s> |
CREATE TABLE table_17968229_1 (home__2nd_leg_ VARCHAR) | SELECT 1 AS st_leg FROM table_17968229_1 WHERE home__2nd_leg_ = "Atlético Tucumán" | If the home is Atlético Tucumán, what is the name of the first leg? | <s>[INST]If the home is Atlético Tucumán, what is the name of the first leg? Context: CREATE TABLE table_17968229_1 (home__2nd_leg_ VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_17968229_1 WHERE home__2nd_leg_ = "Atlético Tucumán"</s> |
CREATE TABLE table_27730_9 (ikavian VARCHAR, ijekavian VARCHAR) | SELECT ikavian FROM table_27730_9 WHERE ijekavian = "lijep" | What's the Ikavian translation of the Ijekavian word lijep? | <s>[INST]What's the Ikavian translation of the Ijekavian word lijep? Context: CREATE TABLE table_27730_9 (ikavian VARCHAR, ijekavian VARCHAR)[/INST]SELECT ikavian FROM table_27730_9 WHERE ijekavian = "lijep"</s> |
CREATE TABLE table_name_15 (bronze INTEGER, rank VARCHAR, silver VARCHAR) | SELECT MAX(bronze) FROM table_name_15 WHERE rank = "2" AND silver < 3 | What was the highest number of bronze medals for the entry with rank 2 and fewer than 3 silver medals? | <s>[INST]What was the highest number of bronze medals for the entry with rank 2 and fewer than 3 silver medals? Context: CREATE TABLE table_name_15 (bronze INTEGER, rank VARCHAR, silver VARCHAR)[/INST]SELECT MAX(bronze) FROM table_name_15 WHERE rank = "2" AND silver < 3</s> |
CREATE TABLE table_name_97 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_97 WHERE away_team = "cardiff city" | What day was the away team Cardiff City? | <s>[INST]What day was the away team Cardiff City? Context: CREATE TABLE table_name_97 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_97 WHERE away_team = "cardiff city"</s> |
CREATE TABLE table_name_67 (winning_driver VARCHAR, winning_team VARCHAR, name VARCHAR) | SELECT winning_driver FROM table_name_67 WHERE winning_team = "chaparral" AND name = "indianapolis 500" | Which driver won the Indianapolis 500 the year the Chaparral team also won it? | <s>[INST]Which driver won the Indianapolis 500 the year the Chaparral team also won it? Context: CREATE TABLE table_name_67 (winning_driver VARCHAR, winning_team VARCHAR, name VARCHAR)[/INST]SELECT winning_driver FROM table_name_67 WHERE winning_team = "chaparral" AND name = "indianapolis 500"</s> |
CREATE TABLE member (member_name VARCHAR); CREATE TABLE party_events (member_in_charge_id VARCHAR); CREATE TABLE member (member_name VARCHAR, member_id VARCHAR) | SELECT member_name FROM member EXCEPT SELECT T1.member_name FROM member AS T1 JOIN party_events AS T2 ON T1.member_id = T2.member_in_charge_id | Show all member names who are not in charge of any event. | <s>[INST]Show all member names who are not in charge of any event. Context: CREATE TABLE member (member_name VARCHAR); CREATE TABLE party_events (member_in_charge_id VARCHAR); CREATE TABLE member (member_name VARCHAR, member_id VARCHAR)[/INST]SELECT member_name FROM member EXCEPT SELECT T1.member_name FROM member AS T1 JOIN party_events AS T2 ON T1.member_id = T2.member_in_charge_id</s> |
CREATE TABLE table_name_23 (score VARCHAR, tournament VARCHAR) | SELECT score FROM table_name_23 WHERE tournament = "danny thomas memphis classic" | What is the score of the Tournament named danny thomas memphis classic? | <s>[INST]What is the score of the Tournament named danny thomas memphis classic? Context: CREATE TABLE table_name_23 (score VARCHAR, tournament VARCHAR)[/INST]SELECT score FROM table_name_23 WHERE tournament = "danny thomas memphis classic"</s> |
CREATE TABLE table_15352382_1 (drawn VARCHAR, team VARCHAR) | SELECT drawn FROM table_15352382_1 WHERE team = "Portuguesa Santista" | How many Drawn does the team Portuguesa Santista have? | <s>[INST]How many Drawn does the team Portuguesa Santista have? Context: CREATE TABLE table_15352382_1 (drawn VARCHAR, team VARCHAR)[/INST]SELECT drawn FROM table_15352382_1 WHERE team = "Portuguesa Santista"</s> |
CREATE TABLE Project_Staff (date_from VARCHAR, date_to VARCHAR, role_code VARCHAR) | SELECT date_from, date_to FROM Project_Staff WHERE role_code = 'researcher' | When do all the researcher role staff start to work, and when do they stop working? | <s>[INST]When do all the researcher role staff start to work, and when do they stop working? Context: CREATE TABLE Project_Staff (date_from VARCHAR, date_to VARCHAR, role_code VARCHAR)[/INST]SELECT date_from, date_to FROM Project_Staff WHERE role_code = 'researcher'</s> |
CREATE TABLE table_name_64 (total INTEGER, finish VARCHAR, year_won VARCHAR) | SELECT MAX(total) FROM table_name_64 WHERE finish = "t64" AND year_won > 2006 | Which Total has a Finish of t64, and a Year won larger than 2006? | <s>[INST]Which Total has a Finish of t64, and a Year won larger than 2006? Context: CREATE TABLE table_name_64 (total INTEGER, finish VARCHAR, year_won VARCHAR)[/INST]SELECT MAX(total) FROM table_name_64 WHERE finish = "t64" AND year_won > 2006</s> |
CREATE TABLE table_1733513_1 (others_percentage VARCHAR, others_number VARCHAR) | SELECT others_percentage FROM table_1733513_1 WHERE others_number = 2286 | What is the percentage of others when the number of others is 2286? | <s>[INST]What is the percentage of others when the number of others is 2286? Context: CREATE TABLE table_1733513_1 (others_percentage VARCHAR, others_number VARCHAR)[/INST]SELECT others_percentage FROM table_1733513_1 WHERE others_number = 2286</s> |
CREATE TABLE table_name_77 (games_played VARCHAR, trophy VARCHAR) | SELECT games_played FROM table_name_77 WHERE trophy = "sawhorse dollar" | Who many games were played for the series with the Sawhorse Dollar trophy? | <s>[INST]Who many games were played for the series with the Sawhorse Dollar trophy? Context: CREATE TABLE table_name_77 (games_played VARCHAR, trophy VARCHAR)[/INST]SELECT games_played FROM table_name_77 WHERE trophy = "sawhorse dollar"</s> |
CREATE TABLE table_2930244_4 (deaths VARCHAR, number_of_hurricanes VARCHAR, number_of_major_hurricanes VARCHAR) | SELECT deaths FROM table_2930244_4 WHERE number_of_hurricanes = 10 AND number_of_major_hurricanes = 1 | How many deaths did the year with 10 hurricanes and exactly 1 major hurricane have? | <s>[INST]How many deaths did the year with 10 hurricanes and exactly 1 major hurricane have? Context: CREATE TABLE table_2930244_4 (deaths VARCHAR, number_of_hurricanes VARCHAR, number_of_major_hurricanes VARCHAR)[/INST]SELECT deaths FROM table_2930244_4 WHERE number_of_hurricanes = 10 AND number_of_major_hurricanes = 1</s> |
CREATE TABLE technician (Team VARCHAR) | SELECT Team FROM technician GROUP BY Team HAVING COUNT(*) >= 2 | Show the team that have at least two technicians. | <s>[INST]Show the team that have at least two technicians. Context: CREATE TABLE technician (Team VARCHAR)[/INST]SELECT Team FROM technician GROUP BY Team HAVING COUNT(*) >= 2</s> |
CREATE TABLE table_name_2 (manuals VARCHAR, opus VARCHAR) | SELECT manuals FROM table_name_2 WHERE opus = "147" | What are the manuals with an opus of 147? | <s>[INST]What are the manuals with an opus of 147? Context: CREATE TABLE table_name_2 (manuals VARCHAR, opus VARCHAR)[/INST]SELECT manuals FROM table_name_2 WHERE opus = "147"</s> |
CREATE TABLE table_16387653_1 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_16387653_1 WHERE away_team = "Richmond" | What did the home team score against Richmond? | <s>[INST]What did the home team score against Richmond? Context: CREATE TABLE table_16387653_1 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_16387653_1 WHERE away_team = "Richmond"</s> |
CREATE TABLE table_name_20 (college VARCHAR, round__number VARCHAR) | SELECT college FROM table_name_20 WHERE round__number = 290 | What is the College with a Round # that is 290? | <s>[INST]What is the College with a Round # that is 290? Context: CREATE TABLE table_name_20 (college VARCHAR, round__number VARCHAR)[/INST]SELECT college FROM table_name_20 WHERE round__number = 290</s> |
CREATE TABLE table_name_26 (episode__number INTEGER, format__number VARCHAR) | SELECT AVG(episode__number) FROM table_name_26 WHERE format__number = "q146" | What is the average episode number with q146 format? | <s>[INST]What is the average episode number with q146 format? Context: CREATE TABLE table_name_26 (episode__number INTEGER, format__number VARCHAR)[/INST]SELECT AVG(episode__number) FROM table_name_26 WHERE format__number = "q146"</s> |
CREATE TABLE table_name_56 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_56 WHERE score = 69 - 70 - 72 - 72 = 283 | what is the to par when the score is 69-70-72-72=283? | <s>[INST]what is the to par when the score is 69-70-72-72=283? Context: CREATE TABLE table_name_56 (to_par VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_56 WHERE score = 69 - 70 - 72 - 72 = 283</s> |
CREATE TABLE table_name_16 (school_club_team VARCHAR, round INTEGER) | SELECT school_club_team FROM table_name_16 WHERE round > 16 | Which School/Club Team has a Round larger than 16? | <s>[INST]Which School/Club Team has a Round larger than 16? Context: CREATE TABLE table_name_16 (school_club_team VARCHAR, round INTEGER)[/INST]SELECT school_club_team FROM table_name_16 WHERE round > 16</s> |
CREATE TABLE table_name_19 (conv VARCHAR, span VARCHAR) | SELECT conv FROM table_name_19 WHERE span = "1992-2000" | on the span of 1992-2000, what was the conv ? | <s>[INST]on the span of 1992-2000, what was the conv ? Context: CREATE TABLE table_name_19 (conv VARCHAR, span VARCHAR)[/INST]SELECT conv FROM table_name_19 WHERE span = "1992-2000"</s> |
CREATE TABLE table_11326124_3 (against VARCHAR, opponent VARCHAR) | SELECT against FROM table_11326124_3 WHERE opponent = "Tina Pisnik" | Who did Tina Pisnik verse? | <s>[INST]Who did Tina Pisnik verse? Context: CREATE TABLE table_11326124_3 (against VARCHAR, opponent VARCHAR)[/INST]SELECT against FROM table_11326124_3 WHERE opponent = "Tina Pisnik"</s> |
CREATE TABLE table_name_9 (local_affairs VARCHAR, human_resources_ VARCHAR, _operations VARCHAR) | SELECT local_affairs FROM table_name_9 WHERE human_resources_ & _operations = "n. charles hamilton" | Who was in local affairs when the Human Resources & Operations was N. Charles Hamilton? | <s>[INST]Who was in local affairs when the Human Resources & Operations was N. Charles Hamilton? Context: CREATE TABLE table_name_9 (local_affairs VARCHAR, human_resources_ VARCHAR, _operations VARCHAR)[/INST]SELECT local_affairs FROM table_name_9 WHERE human_resources_ & _operations = "n. charles hamilton"</s> |
CREATE TABLE table_name_84 (release_date VARCHAR, format VARCHAR, title VARCHAR) | SELECT release_date FROM table_name_84 WHERE format = "cd" AND title = "tsar wars" | What is Release Date, when Format is CD, and when Title is Tsar Wars? | <s>[INST]What is Release Date, when Format is CD, and when Title is Tsar Wars? Context: CREATE TABLE table_name_84 (release_date VARCHAR, format VARCHAR, title VARCHAR)[/INST]SELECT release_date FROM table_name_84 WHERE format = "cd" AND title = "tsar wars"</s> |
CREATE TABLE table_24765815_2 (competition VARCHAR, vote_percentage VARCHAR, nationality VARCHAR) | SELECT competition FROM table_24765815_2 WHERE vote_percentage = "N/A" AND nationality = "Brazil" | What's the name of the competition where the nationality is Brazil and the voting percentage is n/a? | <s>[INST]What's the name of the competition where the nationality is Brazil and the voting percentage is n/a? Context: CREATE TABLE table_24765815_2 (competition VARCHAR, vote_percentage VARCHAR, nationality VARCHAR)[/INST]SELECT competition FROM table_24765815_2 WHERE vote_percentage = "N/A" AND nationality = "Brazil"</s> |
CREATE TABLE table_name_56 (money___£__ VARCHAR, player VARCHAR) | SELECT money___£__ FROM table_name_56 WHERE player = "pádraig harrington" | Name the money for pádraig harrington | <s>[INST]Name the money for pádraig harrington Context: CREATE TABLE table_name_56 (money___£__ VARCHAR, player VARCHAR)[/INST]SELECT money___£__ FROM table_name_56 WHERE player = "pádraig harrington"</s> |
CREATE TABLE table_11964047_5 (home VARCHAR, streak VARCHAR, leading_scorer VARCHAR) | SELECT home FROM table_11964047_5 WHERE streak = "L3" AND leading_scorer = "Roy : 23" | what's the home team where streak is l3 and leading scorer is roy : 23 | <s>[INST] what's the home team where streak is l3 and leading scorer is roy : 23 Context: CREATE TABLE table_11964047_5 (home VARCHAR, streak VARCHAR, leading_scorer VARCHAR)[/INST]SELECT home FROM table_11964047_5 WHERE streak = "L3" AND leading_scorer = "Roy : 23"</s> |
CREATE TABLE table_name_95 (rank INTEGER, taijiquan VARCHAR, total VARCHAR) | SELECT MAX(rank) FROM table_name_95 WHERE taijiquan > 9.64 AND total > 19.69 | What is the highest rank of the athlete with a Taijiquan higher than 9.64 and a total more than 19.69? | <s>[INST]What is the highest rank of the athlete with a Taijiquan higher than 9.64 and a total more than 19.69? Context: CREATE TABLE table_name_95 (rank INTEGER, taijiquan VARCHAR, total VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_95 WHERE taijiquan > 9.64 AND total > 19.69</s> |
CREATE TABLE table_1014206_2 (laid_down VARCHAR, commissioned VARCHAR) | SELECT laid_down FROM table_1014206_2 WHERE commissioned = "October 29, 1965" | When were ships laid down that were commissioned on october 29, 1965? | <s>[INST]When were ships laid down that were commissioned on october 29, 1965? Context: CREATE TABLE table_1014206_2 (laid_down VARCHAR, commissioned VARCHAR)[/INST]SELECT laid_down FROM table_1014206_2 WHERE commissioned = "October 29, 1965"</s> |
CREATE TABLE table_name_79 (lens__35mm_equiv__zoom VARCHAR, _aperture VARCHAR, model VARCHAR) | SELECT lens__35mm_equiv__zoom, _aperture FROM table_name_79 WHERE model = "coolpix 5400" | What is the lens zoom and aperture for the coolpix 5400? | <s>[INST]What is the lens zoom and aperture for the coolpix 5400? Context: CREATE TABLE table_name_79 (lens__35mm_equiv__zoom VARCHAR, _aperture VARCHAR, model VARCHAR)[/INST]SELECT lens__35mm_equiv__zoom, _aperture FROM table_name_79 WHERE model = "coolpix 5400"</s> |
CREATE TABLE table_name_46 (elected VARCHAR) | SELECT 2 AS nd_member FROM table_name_46 WHERE elected = "1461" | Who is the 2nd member elected in 1461? | <s>[INST]Who is the 2nd member elected in 1461? Context: CREATE TABLE table_name_46 (elected VARCHAR)[/INST]SELECT 2 AS nd_member FROM table_name_46 WHERE elected = "1461"</s> |
CREATE TABLE table_name_63 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_63 WHERE date = "december 20, 1998" | Which opponent was playing on December 20, 1998? | <s>[INST]Which opponent was playing on December 20, 1998? Context: CREATE TABLE table_name_63 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_63 WHERE date = "december 20, 1998"</s> |
CREATE TABLE table_name_4 (win__percentage VARCHAR, conference VARCHAR) | SELECT win__percentage FROM table_name_4 WHERE conference = "metro" | What is Metro's win percentage? | <s>[INST]What is Metro's win percentage? Context: CREATE TABLE table_name_4 (win__percentage VARCHAR, conference VARCHAR)[/INST]SELECT win__percentage FROM table_name_4 WHERE conference = "metro"</s> |
CREATE TABLE table_28628309_9 (totals VARCHAR, player VARCHAR) | SELECT COUNT(totals) FROM table_28628309_9 WHERE player = "Jay Washington" | How many times is a total listed when the player is Jay Washington? | <s>[INST]How many times is a total listed when the player is Jay Washington? Context: CREATE TABLE table_28628309_9 (totals VARCHAR, player VARCHAR)[/INST]SELECT COUNT(totals) FROM table_28628309_9 WHERE player = "Jay Washington"</s> |
CREATE TABLE table_name_38 (position VARCHAR, level VARCHAR, season VARCHAR) | SELECT position FROM table_name_38 WHERE level = "tier 3" AND season < 1999 | Which Position has a Level of tier 3 and a Season smaller than 1999? | <s>[INST]Which Position has a Level of tier 3 and a Season smaller than 1999? Context: CREATE TABLE table_name_38 (position VARCHAR, level VARCHAR, season VARCHAR)[/INST]SELECT position FROM table_name_38 WHERE level = "tier 3" AND season < 1999</s> |
CREATE TABLE table_1638437_2 (pinyin VARCHAR, simplified VARCHAR) | SELECT COUNT(pinyin) FROM table_1638437_2 WHERE simplified = "河西区" | Name the number of pinyin where simplified is 河西区 | <s>[INST]Name the number of pinyin where simplified is 河西区 Context: CREATE TABLE table_1638437_2 (pinyin VARCHAR, simplified VARCHAR)[/INST]SELECT COUNT(pinyin) FROM table_1638437_2 WHERE simplified = "河西区"</s> |
CREATE TABLE table_name_87 (artist VARCHAR, mintage VARCHAR, issue_price VARCHAR) | SELECT artist FROM table_name_87 WHERE mintage = "40,000" AND issue_price = "45.95" | Who was the artist with a mintage of 40,000 and an issue price of $45.95? | <s>[INST]Who was the artist with a mintage of 40,000 and an issue price of $45.95? Context: CREATE TABLE table_name_87 (artist VARCHAR, mintage VARCHAR, issue_price VARCHAR)[/INST]SELECT artist FROM table_name_87 WHERE mintage = "40,000" AND issue_price = "45.95"</s> |
CREATE TABLE table_name_3 (byes VARCHAR, wins VARCHAR, tallangatta_dfl VARCHAR) | SELECT COUNT(byes) FROM table_name_3 WHERE wins = 11 AND tallangatta_dfl = "barnawartha" | What is the total number of byes that has 11 wins and a Tallangatta DFL of Barnawartha? | <s>[INST]What is the total number of byes that has 11 wins and a Tallangatta DFL of Barnawartha? Context: CREATE TABLE table_name_3 (byes VARCHAR, wins VARCHAR, tallangatta_dfl VARCHAR)[/INST]SELECT COUNT(byes) FROM table_name_3 WHERE wins = 11 AND tallangatta_dfl = "barnawartha"</s> |
CREATE TABLE table_140297_1 (population_2011_census VARCHAR, local_government_area VARCHAR) | SELECT population_2011_census FROM table_140297_1 WHERE local_government_area = "Sorell" | How many people live in the area of Sorell according to the Census of 2011? | <s>[INST]How many people live in the area of Sorell according to the Census of 2011? Context: CREATE TABLE table_140297_1 (population_2011_census VARCHAR, local_government_area VARCHAR)[/INST]SELECT population_2011_census FROM table_140297_1 WHERE local_government_area = "Sorell"</s> |
CREATE TABLE table_name_86 (score_in_final VARCHAR, partnering VARCHAR, opponents_in_final VARCHAR) | SELECT score_in_final FROM table_name_86 WHERE partnering = "robin ammerlaan" AND opponents_in_final = "shingo kunieda maikel scheffers" | What was the final score of the game against shingo kunieda maikel scheffers when robin ammerlaan was Ronald Vink's partner? | <s>[INST]What was the final score of the game against shingo kunieda maikel scheffers when robin ammerlaan was Ronald Vink's partner? Context: CREATE TABLE table_name_86 (score_in_final VARCHAR, partnering VARCHAR, opponents_in_final VARCHAR)[/INST]SELECT score_in_final FROM table_name_86 WHERE partnering = "robin ammerlaan" AND opponents_in_final = "shingo kunieda maikel scheffers"</s> |
CREATE TABLE products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE complaints (product_id VARCHAR) | SELECT t1.product_name, COUNT(*) FROM products AS t1 JOIN complaints AS t2 ON t1.product_id = t2.product_id GROUP BY t1.product_name | List the name of all products along with the number of complaints that they have received. | <s>[INST]List the name of all products along with the number of complaints that they have received. Context: CREATE TABLE products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE complaints (product_id VARCHAR)[/INST]SELECT t1.product_name, COUNT(*) FROM products AS t1 JOIN complaints AS t2 ON t1.product_id = t2.product_id GROUP BY t1.product_name</s> |
CREATE TABLE table_name_67 (city_of_license VARCHAR, erp_w VARCHAR) | SELECT city_of_license FROM table_name_67 WHERE erp_w = "2,000" | What City of license has a ERP W of 2,000? | <s>[INST]What City of license has a ERP W of 2,000? Context: CREATE TABLE table_name_67 (city_of_license VARCHAR, erp_w VARCHAR)[/INST]SELECT city_of_license FROM table_name_67 WHERE erp_w = "2,000"</s> |
CREATE TABLE table_1342256_38 (candidates VARCHAR, incumbent VARCHAR) | SELECT COUNT(candidates) FROM table_1342256_38 WHERE incumbent = "Leon Sacks" | what was the number of candidates when Leon Sacks was incumbent? | <s>[INST]what was the number of candidates when Leon Sacks was incumbent? Context: CREATE TABLE table_1342256_38 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(candidates) FROM table_1342256_38 WHERE incumbent = "Leon Sacks"</s> |
CREATE TABLE table_name_65 (fastest_laps INTEGER, season VARCHAR, poles VARCHAR) | SELECT MAX(fastest_laps) FROM table_name_65 WHERE season = "2009" AND poles < 0 | Which the Fastest Lap has a Season of 2009 and Poles smaller than 0? | <s>[INST]Which the Fastest Lap has a Season of 2009 and Poles smaller than 0? Context: CREATE TABLE table_name_65 (fastest_laps INTEGER, season VARCHAR, poles VARCHAR)[/INST]SELECT MAX(fastest_laps) FROM table_name_65 WHERE season = "2009" AND poles < 0</s> |
CREATE TABLE table_name_47 (titles INTEGER, city VARCHAR, rank VARCHAR) | SELECT SUM(titles) FROM table_name_47 WHERE city = "győr" AND rank > 4 | What is the number of titles for the city of győr with a rank larger than 4? | <s>[INST]What is the number of titles for the city of győr with a rank larger than 4? Context: CREATE TABLE table_name_47 (titles INTEGER, city VARCHAR, rank VARCHAR)[/INST]SELECT SUM(titles) FROM table_name_47 WHERE city = "győr" AND rank > 4</s> |
CREATE TABLE table_12886178_5 (club VARCHAR, won VARCHAR) | SELECT COUNT(club) FROM table_12886178_5 WHERE won = "6" | How many clubs have won 6 games? | <s>[INST]How many clubs have won 6 games? Context: CREATE TABLE table_12886178_5 (club VARCHAR, won VARCHAR)[/INST]SELECT COUNT(club) FROM table_12886178_5 WHERE won = "6"</s> |
CREATE TABLE table_23117208_3 (title VARCHAR, viewers__millions_ VARCHAR) | SELECT title FROM table_23117208_3 WHERE viewers__millions_ = "5.60" | what is the name of the episode when the number of spectators was 5.60 millions? | <s>[INST]what is the name of the episode when the number of spectators was 5.60 millions? Context: CREATE TABLE table_23117208_3 (title VARCHAR, viewers__millions_ VARCHAR)[/INST]SELECT title FROM table_23117208_3 WHERE viewers__millions_ = "5.60"</s> |
CREATE TABLE table_name_36 (land___sqmi__ INTEGER, water__sqmi_ VARCHAR, longitude VARCHAR, ansi_code VARCHAR, pop__2010_ VARCHAR) | SELECT SUM(land___sqmi__) FROM table_name_36 WHERE ansi_code < 1036538 AND pop__2010_ < 42 AND longitude > -99.442872 AND water__sqmi_ > 0.882 | What is the sum of the land in sq mi with an ansi code less than 1036538, a 2010 population less than 42, a longitude greater than -99.442872, and more than 0.882 sq mi of water? | <s>[INST]What is the sum of the land in sq mi with an ansi code less than 1036538, a 2010 population less than 42, a longitude greater than -99.442872, and more than 0.882 sq mi of water? Context: CREATE TABLE table_name_36 (land___sqmi__ INTEGER, water__sqmi_ VARCHAR, longitude VARCHAR, ansi_code VARCHAR, pop__2010_ VARCHAR)[/INST]SELECT SUM(land___sqmi__) FROM table_name_36 WHERE ansi_code < 1036538 AND pop__2010_ < 42 AND longitude > -99.442872 AND water__sqmi_ > 0.882</s> |
CREATE TABLE table_name_76 (position VARCHAR, round VARCHAR) | SELECT position FROM table_name_76 WHERE round = 2 | What is the position played for the player drafted in round 2? | <s>[INST]What is the position played for the player drafted in round 2? Context: CREATE TABLE table_name_76 (position VARCHAR, round VARCHAR)[/INST]SELECT position FROM table_name_76 WHERE round = 2</s> |
CREATE TABLE table_name_13 (week INTEGER, game_site VARCHAR, attendance VARCHAR) | SELECT SUM(week) FROM table_name_13 WHERE game_site = "the meadowlands" AND attendance = "78,161" | What week did the Jets play in the meadowlands with and attendance of 78,161? | <s>[INST]What week did the Jets play in the meadowlands with and attendance of 78,161? Context: CREATE TABLE table_name_13 (week INTEGER, game_site VARCHAR, attendance VARCHAR)[/INST]SELECT SUM(week) FROM table_name_13 WHERE game_site = "the meadowlands" AND attendance = "78,161"</s> |
CREATE TABLE table_30120619_1 (barony VARCHAR, townland VARCHAR) | SELECT barony FROM table_30120619_1 WHERE townland = "Ballintaggart" | What is the barony for the Ballintaggart townland? | <s>[INST]What is the barony for the Ballintaggart townland? Context: CREATE TABLE table_30120619_1 (barony VARCHAR, townland VARCHAR)[/INST]SELECT barony FROM table_30120619_1 WHERE townland = "Ballintaggart"</s> |
CREATE TABLE CARS_DATA (horsepower INTEGER) | SELECT COUNT(*) FROM CARS_DATA WHERE horsepower > 150 | What is the number of the cars with horsepower more than 150? | <s>[INST]What is the number of the cars with horsepower more than 150? Context: CREATE TABLE CARS_DATA (horsepower INTEGER)[/INST]SELECT COUNT(*) FROM CARS_DATA WHERE horsepower > 150</s> |
CREATE TABLE table_name_89 (laps INTEGER, time_retired VARCHAR) | SELECT AVG(laps) FROM table_name_89 WHERE time_retired = "+48.325" | What is the average number of laps that were made when the race took a time of +48.325? | <s>[INST]What is the average number of laps that were made when the race took a time of +48.325? Context: CREATE TABLE table_name_89 (laps INTEGER, time_retired VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_89 WHERE time_retired = "+48.325"</s> |
CREATE TABLE table_name_93 (tournament VARCHAR) | SELECT 2010 FROM table_name_93 WHERE 2012 = "2r" AND tournament = "miami masters" | WHAT IS THE 2010 WITH 2012 OF 2R AT MIAMI MASTERS? | <s>[INST]WHAT IS THE 2010 WITH 2012 OF 2R AT MIAMI MASTERS? Context: CREATE TABLE table_name_93 (tournament VARCHAR)[/INST]SELECT 2010 FROM table_name_93 WHERE 2012 = "2r" AND tournament = "miami masters"</s> |
CREATE TABLE table_name_87 (losses INTEGER, games VARCHAR, season VARCHAR) | SELECT MAX(losses) FROM table_name_87 WHERE games < 25 AND season = "2010" | What is the greatest number of losses a team that played fewer than 25 games in 2010 had? | <s>[INST]What is the greatest number of losses a team that played fewer than 25 games in 2010 had? Context: CREATE TABLE table_name_87 (losses INTEGER, games VARCHAR, season VARCHAR)[/INST]SELECT MAX(losses) FROM table_name_87 WHERE games < 25 AND season = "2010"</s> |
CREATE TABLE table_name_24 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_24 WHERE player = "wayne ellington" | What position does Wayne Ellington play? | <s>[INST]What position does Wayne Ellington play? Context: CREATE TABLE table_name_24 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_24 WHERE player = "wayne ellington"</s> |
CREATE TABLE table_name_1 (servedby VARCHAR, station VARCHAR, local_authority_ VARCHAR, a_ VARCHAR) | SELECT servedby FROM table_name_1 WHERE local_authority_[a_] = "thurrock" AND station = "ockendon" | Which Servedby has a Local authority [a ] of thurrock, and a Station of ockendon? | <s>[INST]Which Servedby has a Local authority [a ] of thurrock, and a Station of ockendon? Context: CREATE TABLE table_name_1 (servedby VARCHAR, station VARCHAR, local_authority_ VARCHAR, a_ VARCHAR)[/INST]SELECT servedby FROM table_name_1 WHERE local_authority_[a_] = "thurrock" AND station = "ockendon"</s> |
CREATE TABLE table_23183195_5 (field_goals INTEGER, player VARCHAR) | SELECT MIN(field_goals) FROM table_23183195_5 WHERE player = "Chantel Hilliard" | Name the least field goals for chantel hilliard | <s>[INST]Name the least field goals for chantel hilliard Context: CREATE TABLE table_23183195_5 (field_goals INTEGER, player VARCHAR)[/INST]SELECT MIN(field_goals) FROM table_23183195_5 WHERE player = "Chantel Hilliard"</s> |
CREATE TABLE table_name_6 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_6 WHERE player = "ryan russell" | What Position is Ryan Russell? | <s>[INST]What Position is Ryan Russell? Context: CREATE TABLE table_name_6 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_6 WHERE player = "ryan russell"</s> |
CREATE TABLE patient (SSN VARCHAR); CREATE TABLE prescribes (patient VARCHAR, physician VARCHAR); CREATE TABLE physician (employeeid VARCHAR, name VARCHAR) | SELECT COUNT(T1.SSN) FROM patient AS T1 JOIN prescribes AS T2 ON T1.SSN = T2.patient JOIN physician AS T3 ON T2.physician = T3.employeeid WHERE T3.name = "John Dorian" | How many patients' prescriptions are made by physician John Dorian? | <s>[INST]How many patients' prescriptions are made by physician John Dorian? Context: CREATE TABLE patient (SSN VARCHAR); CREATE TABLE prescribes (patient VARCHAR, physician VARCHAR); CREATE TABLE physician (employeeid VARCHAR, name VARCHAR)[/INST]SELECT COUNT(T1.SSN) FROM patient AS T1 JOIN prescribes AS T2 ON T1.SSN = T2.patient JOIN physician AS T3 ON T2.physician = T3.employeeid WHERE T3.name = "John Dorian"</s> |
CREATE TABLE table_name_67 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_67 WHERE player = "vijay singh" | What is the To par has the presence of Vijay Singh? | <s>[INST]What is the To par has the presence of Vijay Singh? Context: CREATE TABLE table_name_67 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_67 WHERE player = "vijay singh"</s> |
CREATE TABLE table_26845668_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR) | SELECT production_code FROM table_26845668_1 WHERE us_viewers__millions_ = "4.32" | What is the production code for the movie with 4.32 million U.S. viewers? | <s>[INST]What is the production code for the movie with 4.32 million U.S. viewers? Context: CREATE TABLE table_26845668_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT production_code FROM table_26845668_1 WHERE us_viewers__millions_ = "4.32"</s> |
CREATE TABLE table_27744844_7 (high_rebounds VARCHAR, date VARCHAR) | SELECT high_rebounds FROM table_27744844_7 WHERE date = "January 19" | Who had the most rebounds and how many did they have on January 19? | <s>[INST]Who had the most rebounds and how many did they have on January 19? Context: CREATE TABLE table_27744844_7 (high_rebounds VARCHAR, date VARCHAR)[/INST]SELECT high_rebounds FROM table_27744844_7 WHERE date = "January 19"</s> |
CREATE TABLE table_name_67 (quantity VARCHAR, seats VARCHAR, class VARCHAR) | SELECT quantity FROM table_name_67 WHERE seats = 16 AND class = "kss 1913" | What is the quantity when the seats number was 16 and the class was kss 1913? | <s>[INST]What is the quantity when the seats number was 16 and the class was kss 1913? Context: CREATE TABLE table_name_67 (quantity VARCHAR, seats VARCHAR, class VARCHAR)[/INST]SELECT quantity FROM table_name_67 WHERE seats = 16 AND class = "kss 1913"</s> |
CREATE TABLE table_name_56 (population INTEGER, country VARCHAR, urban_area VARCHAR) | SELECT AVG(population) FROM table_name_56 WHERE country = "spain" AND urban_area = "valencia" | what is the population of Valencia, Spain? | <s>[INST]what is the population of Valencia, Spain? Context: CREATE TABLE table_name_56 (population INTEGER, country VARCHAR, urban_area VARCHAR)[/INST]SELECT AVG(population) FROM table_name_56 WHERE country = "spain" AND urban_area = "valencia"</s> |
CREATE TABLE table_18304259_1 (year_to_april VARCHAR, ebit__£m_ VARCHAR) | SELECT COUNT(year_to_april) FROM table_18304259_1 WHERE ebit__£m_ = "24.5" | Name the total number of year to april for ebit being 24.5 | <s>[INST]Name the total number of year to april for ebit being 24.5 Context: CREATE TABLE table_18304259_1 (year_to_april VARCHAR, ebit__£m_ VARCHAR)[/INST]SELECT COUNT(year_to_april) FROM table_18304259_1 WHERE ebit__£m_ = "24.5"</s> |
CREATE TABLE table_name_22 (fall_05 INTEGER, fall_09 VARCHAR, fall_08 VARCHAR) | SELECT MIN(fall_05) FROM table_name_22 WHERE fall_09 < 14 AND fall_08 > 5 | What's the smallest fall 05 number when fall 09 is less than 14 and fall 08 is more than 5? | <s>[INST]What's the smallest fall 05 number when fall 09 is less than 14 and fall 08 is more than 5? Context: CREATE TABLE table_name_22 (fall_05 INTEGER, fall_09 VARCHAR, fall_08 VARCHAR)[/INST]SELECT MIN(fall_05) FROM table_name_22 WHERE fall_09 < 14 AND fall_08 > 5</s> |
CREATE TABLE table_name_95 (season VARCHAR, away_result VARCHAR) | SELECT season FROM table_name_95 WHERE away_result = "1-2" | Away result of 1-2 has what season? | <s>[INST]Away result of 1-2 has what season? Context: CREATE TABLE table_name_95 (season VARCHAR, away_result VARCHAR)[/INST]SELECT season FROM table_name_95 WHERE away_result = "1-2"</s> |
CREATE TABLE table_name_77 (airport VARCHAR, country VARCHAR) | SELECT airport FROM table_name_77 WHERE country = "vietnam" | What airport is in Vietnam? | <s>[INST]What airport is in Vietnam? Context: CREATE TABLE table_name_77 (airport VARCHAR, country VARCHAR)[/INST]SELECT airport FROM table_name_77 WHERE country = "vietnam"</s> |
CREATE TABLE table_21481509_4 (COUnT VARCHAR, r1b1a2__r_m269_ VARCHAR) | SELECT COUnT AS n FROM table_21481509_4 WHERE r1b1a2__r_m269_ = "0.6%" | How many n are listed for 0.6% r1b1a2 (r-m269)? | <s>[INST]How many n are listed for 0.6% r1b1a2 (r-m269)? Context: CREATE TABLE table_21481509_4 (COUnT VARCHAR, r1b1a2__r_m269_ VARCHAR)[/INST]SELECT COUnT AS n FROM table_21481509_4 WHERE r1b1a2__r_m269_ = "0.6%"</s> |
CREATE TABLE table_name_23 (social_sec_leeds VARCHAR, season VARCHAR, fixtures_sec VARCHAR, general_sec VARCHAR) | SELECT social_sec_leeds FROM table_name_23 WHERE fixtures_sec = "n/a" AND general_sec = "n/a" AND season = "2005–2006" | Name the Social Sec Leeds has Fixtures Sec of n/a, and a General Sec of n/a, and the Season of 2005–2006? | <s>[INST]Name the Social Sec Leeds has Fixtures Sec of n/a, and a General Sec of n/a, and the Season of 2005–2006? Context: CREATE TABLE table_name_23 (social_sec_leeds VARCHAR, season VARCHAR, fixtures_sec VARCHAR, general_sec VARCHAR)[/INST]SELECT social_sec_leeds FROM table_name_23 WHERE fixtures_sec = "n/a" AND general_sec = "n/a" AND season = "2005–2006"</s> |
CREATE TABLE table_name_50 (goals INTEGER, transfer_fee VARCHAR) | SELECT MAX(goals) FROM table_name_50 WHERE transfer_fee = "£0.8m" | What is the largest goal number when the transfer fee was £0.8m? | <s>[INST]What is the largest goal number when the transfer fee was £0.8m? Context: CREATE TABLE table_name_50 (goals INTEGER, transfer_fee VARCHAR)[/INST]SELECT MAX(goals) FROM table_name_50 WHERE transfer_fee = "£0.8m"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.