context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_67 (frequency VARCHAR, format VARCHAR) | SELECT frequency FROM table_name_67 WHERE format = "talk" | What is the frequency of the talk station? | <s>[INST]What is the frequency of the talk station? Context: CREATE TABLE table_name_67 (frequency VARCHAR, format VARCHAR)[/INST]SELECT frequency FROM table_name_67 WHERE format = "talk"</s> |
CREATE TABLE table_name_82 (green INTEGER, year VARCHAR, labour VARCHAR) | SELECT MIN(green) FROM table_name_82 WHERE year > 2010 AND labour > 29 | Name the lowest Green with a Year larger than 2010, and a Labour larger than 29? Question 3 | <s>[INST]Name the lowest Green with a Year larger than 2010, and a Labour larger than 29? Question 3 Context: CREATE TABLE table_name_82 (green INTEGER, year VARCHAR, labour VARCHAR)[/INST]SELECT MIN(green) FROM table_name_82 WHERE year > 2010 AND labour > 29</s> |
CREATE TABLE table_name_6 (winning_score VARCHAR, margin_of_victory VARCHAR) | SELECT winning_score FROM table_name_6 WHERE margin_of_victory = "7 strokes" | What was the winning score for the tournament with a margin of victory of 7 strokes? | <s>[INST]What was the winning score for the tournament with a margin of victory of 7 strokes? Context: CREATE TABLE table_name_6 (winning_score VARCHAR, margin_of_victory VARCHAR)[/INST]SELECT winning_score FROM table_name_6 WHERE margin_of_victory = "7 strokes"</s> |
CREATE TABLE table_name_72 (date VARCHAR, result_f_a VARCHAR) | SELECT date FROM table_name_72 WHERE result_f_a = "5–0" | Result F–A of 5–0 had what date? | <s>[INST]Result F–A of 5–0 had what date? Context: CREATE TABLE table_name_72 (date VARCHAR, result_f_a VARCHAR)[/INST]SELECT date FROM table_name_72 WHERE result_f_a = "5–0"</s> |
CREATE TABLE table_name_22 (visiting_team VARCHAR, stadium VARCHAR) | SELECT visiting_team FROM table_name_22 WHERE stadium = "cleveland browns stadium" | What team visited the Cleveland Browns Stadium? | <s>[INST]What team visited the Cleveland Browns Stadium? Context: CREATE TABLE table_name_22 (visiting_team VARCHAR, stadium VARCHAR)[/INST]SELECT visiting_team FROM table_name_22 WHERE stadium = "cleveland browns stadium"</s> |
CREATE TABLE table_name_59 (position VARCHAR, against VARCHAR, played VARCHAR) | SELECT COUNT(position) FROM table_name_59 WHERE against < 27 AND played < 8 | How many positions have an against of less than 27, and a played number of less than 8? | <s>[INST]How many positions have an against of less than 27, and a played number of less than 8? Context: CREATE TABLE table_name_59 (position VARCHAR, against VARCHAR, played VARCHAR)[/INST]SELECT COUNT(position) FROM table_name_59 WHERE against < 27 AND played < 8</s> |
CREATE TABLE table_name_26 (division_two VARCHAR, premier_division VARCHAR) | SELECT division_two FROM table_name_26 WHERE premier_division = "leominster town" | Which Division Two team were champions as the same time the Premier Division Leominster town team were champs? | <s>[INST]Which Division Two team were champions as the same time the Premier Division Leominster town team were champs? Context: CREATE TABLE table_name_26 (division_two VARCHAR, premier_division VARCHAR)[/INST]SELECT division_two FROM table_name_26 WHERE premier_division = "leominster town"</s> |
CREATE TABLE table_name_65 (language VARCHAR, draw VARCHAR) | SELECT language FROM table_name_65 WHERE draw = 9 | What's the language of Draw number 9? | <s>[INST]What's the language of Draw number 9? Context: CREATE TABLE table_name_65 (language VARCHAR, draw VARCHAR)[/INST]SELECT language FROM table_name_65 WHERE draw = 9</s> |
CREATE TABLE table_name_66 (year VARCHAR, moves VARCHAR, opening VARCHAR) | SELECT year FROM table_name_66 WHERE moves = 14 AND opening = "c54 italian game" | What year has 14 moves and an opening of C54 Italian Game? | <s>[INST]What year has 14 moves and an opening of C54 Italian Game? Context: CREATE TABLE table_name_66 (year VARCHAR, moves VARCHAR, opening VARCHAR)[/INST]SELECT year FROM table_name_66 WHERE moves = 14 AND opening = "c54 italian game"</s> |
CREATE TABLE table_name_33 (years VARCHAR, finals VARCHAR) | SELECT years FROM table_name_33 WHERE finals = "10 (0)" | What years have 10 (0) in the finals? | <s>[INST]What years have 10 (0) in the finals? Context: CREATE TABLE table_name_33 (years VARCHAR, finals VARCHAR)[/INST]SELECT years FROM table_name_33 WHERE finals = "10 (0)"</s> |
CREATE TABLE table_name_4 (edition VARCHAR, java_ee_compatibility VARCHAR, release_date VARCHAR) | SELECT edition FROM table_name_4 WHERE java_ee_compatibility = "5" AND release_date = "2007-06-07" | Which edition released on 2007-06-07 has a Java EE compatibility of 5? | <s>[INST]Which edition released on 2007-06-07 has a Java EE compatibility of 5? Context: CREATE TABLE table_name_4 (edition VARCHAR, java_ee_compatibility VARCHAR, release_date VARCHAR)[/INST]SELECT edition FROM table_name_4 WHERE java_ee_compatibility = "5" AND release_date = "2007-06-07"</s> |
CREATE TABLE actor (last_name VARCHAR) | SELECT COUNT(DISTINCT last_name) FROM actor | How many different last names do the actors and actresses have? | <s>[INST]How many different last names do the actors and actresses have? Context: CREATE TABLE actor (last_name VARCHAR)[/INST]SELECT COUNT(DISTINCT last_name) FROM actor</s> |
CREATE TABLE table_name_74 (week VARCHAR, opponent VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_name_74 WHERE opponent = "washington redskins" AND attendance > 56 OFFSET 077 | Which Week has an Opponent of washington redskins, and an Attendance larger than 56,077? | <s>[INST]Which Week has an Opponent of washington redskins, and an Attendance larger than 56,077? Context: CREATE TABLE table_name_74 (week VARCHAR, opponent VARCHAR, attendance VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_74 WHERE opponent = "washington redskins" AND attendance > 56 OFFSET 077</s> |
CREATE TABLE table_name_22 (last_1_4 VARCHAR, race VARCHAR, fin_time VARCHAR) | SELECT last_1_4 FROM table_name_22 WHERE race = "qua" AND fin_time = "2:03.1" | What is the last 1/4 for the QUA race with a finishing time of 2:03.1? | <s>[INST]What is the last 1/4 for the QUA race with a finishing time of 2:03.1? Context: CREATE TABLE table_name_22 (last_1_4 VARCHAR, race VARCHAR, fin_time VARCHAR)[/INST]SELECT last_1_4 FROM table_name_22 WHERE race = "qua" AND fin_time = "2:03.1"</s> |
CREATE TABLE table_name_68 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_68 WHERE opponent = "mardy fish" | What is the score where the opponent was Mardy Fish? | <s>[INST]What is the score where the opponent was Mardy Fish? Context: CREATE TABLE table_name_68 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_68 WHERE opponent = "mardy fish"</s> |
CREATE TABLE table_10908676_7 (title VARCHAR, written_by VARCHAR) | SELECT title FROM table_10908676_7 WHERE written_by = "David Mamet" | What is the title written by David Mamet? | <s>[INST]What is the title written by David Mamet? Context: CREATE TABLE table_10908676_7 (title VARCHAR, written_by VARCHAR)[/INST]SELECT title FROM table_10908676_7 WHERE written_by = "David Mamet"</s> |
CREATE TABLE table_22903773_2 (opp_points INTEGER, location VARCHAR) | SELECT MIN(opp_points) FROM table_22903773_2 WHERE location = "Knoxville" | How many points did the opponents score at the game in Knoxville? | <s>[INST]How many points did the opponents score at the game in Knoxville? Context: CREATE TABLE table_22903773_2 (opp_points INTEGER, location VARCHAR)[/INST]SELECT MIN(opp_points) FROM table_22903773_2 WHERE location = "Knoxville"</s> |
CREATE TABLE table_name_84 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_84 WHERE player = "greg norman" | What country is Greg Norman from? | <s>[INST]What country is Greg Norman from? Context: CREATE TABLE table_name_84 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_84 WHERE player = "greg norman"</s> |
CREATE TABLE table_1166259_1 (points VARCHAR, lost VARCHAR) | SELECT points FROM table_1166259_1 WHERE lost = 26 | How many points are there when the lost is 26? | <s>[INST]How many points are there when the lost is 26? Context: CREATE TABLE table_1166259_1 (points VARCHAR, lost VARCHAR)[/INST]SELECT points FROM table_1166259_1 WHERE lost = 26</s> |
CREATE TABLE table_name_87 (score VARCHAR, attendance VARCHAR) | SELECT score FROM table_name_87 WHERE attendance = "32,036" | What was the score of the game that had an attendance of 32,036? | <s>[INST]What was the score of the game that had an attendance of 32,036? Context: CREATE TABLE table_name_87 (score VARCHAR, attendance VARCHAR)[/INST]SELECT score FROM table_name_87 WHERE attendance = "32,036"</s> |
CREATE TABLE table_20996923_20 (city VARCHAR, television VARCHAR) | SELECT city FROM table_20996923_20 WHERE television = "NFL Network" | What is the city when the Television network was the NFL Network? | <s>[INST]What is the city when the Television network was the NFL Network? Context: CREATE TABLE table_20996923_20 (city VARCHAR, television VARCHAR)[/INST]SELECT city FROM table_20996923_20 WHERE television = "NFL Network"</s> |
CREATE TABLE table_name_43 (points INTEGER, lost VARCHAR, against VARCHAR) | SELECT MIN(points) FROM table_name_43 WHERE lost < 4 AND against < 16 | What is the least amount of points when there were less than 4 losses and less than 16 against? | <s>[INST]What is the least amount of points when there were less than 4 losses and less than 16 against? Context: CREATE TABLE table_name_43 (points INTEGER, lost VARCHAR, against VARCHAR)[/INST]SELECT MIN(points) FROM table_name_43 WHERE lost < 4 AND against < 16</s> |
CREATE TABLE table_name_26 (set_3 VARCHAR, total VARCHAR) | SELECT set_3 FROM table_name_26 WHERE total = "53–75" | What is the Set 3 when the total was 53–75? | <s>[INST]What is the Set 3 when the total was 53–75? Context: CREATE TABLE table_name_26 (set_3 VARCHAR, total VARCHAR)[/INST]SELECT set_3 FROM table_name_26 WHERE total = "53–75"</s> |
CREATE TABLE table_name_24 (team VARCHAR, laps VARCHAR, driver VARCHAR) | SELECT team FROM table_name_24 WHERE laps = 10 AND driver = "alex yoong" | What team had 10 Labs and the Driver was Alex Yoong? | <s>[INST]What team had 10 Labs and the Driver was Alex Yoong? Context: CREATE TABLE table_name_24 (team VARCHAR, laps VARCHAR, driver VARCHAR)[/INST]SELECT team FROM table_name_24 WHERE laps = 10 AND driver = "alex yoong"</s> |
CREATE TABLE table_name_67 (gold INTEGER, silver INTEGER) | SELECT MIN(gold) FROM table_name_67 WHERE silver < 0 | What is the lowest number of gold medals the nation with less than 0 silver medals has? | <s>[INST]What is the lowest number of gold medals the nation with less than 0 silver medals has? Context: CREATE TABLE table_name_67 (gold INTEGER, silver INTEGER)[/INST]SELECT MIN(gold) FROM table_name_67 WHERE silver < 0</s> |
CREATE TABLE table_20183474_1 (total_points VARCHAR, draw VARCHAR) | SELECT total_points FROM table_20183474_1 WHERE draw = 3 | How many points did the song with a draw number 3 get? | <s>[INST]How many points did the song with a draw number 3 get? Context: CREATE TABLE table_20183474_1 (total_points VARCHAR, draw VARCHAR)[/INST]SELECT total_points FROM table_20183474_1 WHERE draw = 3</s> |
CREATE TABLE table_name_52 (away_team VARCHAR, match_no VARCHAR) | SELECT away_team FROM table_name_52 WHERE match_no = "9" | What is the away team of match 9? | <s>[INST]What is the away team of match 9? Context: CREATE TABLE table_name_52 (away_team VARCHAR, match_no VARCHAR)[/INST]SELECT away_team FROM table_name_52 WHERE match_no = "9"</s> |
CREATE TABLE user_profiles (email VARCHAR, name VARCHAR) | SELECT email FROM user_profiles WHERE name = 'Mary' | Find the emails of the user named "Mary". | <s>[INST]Find the emails of the user named "Mary". Context: CREATE TABLE user_profiles (email VARCHAR, name VARCHAR)[/INST]SELECT email FROM user_profiles WHERE name = 'Mary'</s> |
CREATE TABLE table_name_67 (college VARCHAR, position VARCHAR) | SELECT college FROM table_name_67 WHERE position = "placekicker" | What college did the placekicker go to? | <s>[INST]What college did the placekicker go to? Context: CREATE TABLE table_name_67 (college VARCHAR, position VARCHAR)[/INST]SELECT college FROM table_name_67 WHERE position = "placekicker"</s> |
CREATE TABLE table_name_70 (mission VARCHAR, service VARCHAR, age_on_mission VARCHAR) | SELECT mission FROM table_name_70 WHERE service = "nasa" AND age_on_mission = 38 | What mission did the astronaut who 38 years old on the mission and who served in NASA serve on? | <s>[INST]What mission did the astronaut who 38 years old on the mission and who served in NASA serve on? Context: CREATE TABLE table_name_70 (mission VARCHAR, service VARCHAR, age_on_mission VARCHAR)[/INST]SELECT mission FROM table_name_70 WHERE service = "nasa" AND age_on_mission = 38</s> |
CREATE TABLE products (product_id VARCHAR, product_price VARCHAR); CREATE TABLE complaints (staff_id VARCHAR, product_id VARCHAR); CREATE TABLE staff (last_name VARCHAR, staff_id VARCHAR) | SELECT t1.last_name FROM staff AS t1 JOIN complaints AS t2 ON t1.staff_id = t2.staff_id JOIN products AS t3 ON t2.product_id = t3.product_id ORDER BY t3.product_price LIMIT 1 | Find the last name of the staff member who processed the complaint of the cheapest product. | <s>[INST]Find the last name of the staff member who processed the complaint of the cheapest product. Context: CREATE TABLE products (product_id VARCHAR, product_price VARCHAR); CREATE TABLE complaints (staff_id VARCHAR, product_id VARCHAR); CREATE TABLE staff (last_name VARCHAR, staff_id VARCHAR)[/INST]SELECT t1.last_n... |
CREATE TABLE table_name_57 (high_assists VARCHAR, team VARCHAR) | SELECT high_assists FROM table_name_57 WHERE team = "indiana" | Who had the most assists in the game against Indiana? | <s>[INST]Who had the most assists in the game against Indiana? Context: CREATE TABLE table_name_57 (high_assists VARCHAR, team VARCHAR)[/INST]SELECT high_assists FROM table_name_57 WHERE team = "indiana"</s> |
CREATE TABLE table_12962773_13 (no VARCHAR, current_club VARCHAR) | SELECT COUNT(no) FROM table_12962773_13 WHERE current_club = "Grupo Capitol Valladolid" | Name the total number of grupo capitol valladolid | <s>[INST]Name the total number of grupo capitol valladolid Context: CREATE TABLE table_12962773_13 (no VARCHAR, current_club VARCHAR)[/INST]SELECT COUNT(no) FROM table_12962773_13 WHERE current_club = "Grupo Capitol Valladolid"</s> |
CREATE TABLE table_name_58 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_58 WHERE date = "march 22" | What was the record on March 22? | <s>[INST]What was the record on March 22? Context: CREATE TABLE table_name_58 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_58 WHERE date = "march 22"</s> |
CREATE TABLE table_name_53 (circuit VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR) | SELECT circuit FROM table_name_53 WHERE fastest_lap = "john surtees" AND winning_driver = "john surtees" | Name the circuit when the fastest lap was john surtees and the winning driver was john surtees. | <s>[INST]Name the circuit when the fastest lap was john surtees and the winning driver was john surtees. Context: CREATE TABLE table_name_53 (circuit VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)[/INST]SELECT circuit FROM table_name_53 WHERE fastest_lap = "john surtees" AND winning_driver = "john surtees"</s> |
CREATE TABLE table_19643196_1 (year VARCHAR, transmission VARCHAR, engine VARCHAR) | SELECT year FROM table_19643196_1 WHERE transmission = "Voith D863.4" AND engine = "Cummins ISM" | Which year had a transmission of Voith D863.4 and a Cummins ISM engine? | <s>[INST]Which year had a transmission of Voith D863.4 and a Cummins ISM engine? Context: CREATE TABLE table_19643196_1 (year VARCHAR, transmission VARCHAR, engine VARCHAR)[/INST]SELECT year FROM table_19643196_1 WHERE transmission = "Voith D863.4" AND engine = "Cummins ISM"</s> |
CREATE TABLE table_name_27 (pole_position VARCHAR, grand_prix VARCHAR) | SELECT pole_position FROM table_name_27 WHERE grand_prix = "belgian grand prix" | What is the pole position of the Belgian Grand Prix? | <s>[INST]What is the pole position of the Belgian Grand Prix? Context: CREATE TABLE table_name_27 (pole_position VARCHAR, grand_prix VARCHAR)[/INST]SELECT pole_position FROM table_name_27 WHERE grand_prix = "belgian grand prix"</s> |
CREATE TABLE table_name_7 (binibining_pilipinas_international VARCHAR, year VARCHAR, binibining_pilipinas_universe VARCHAR) | SELECT binibining_pilipinas_international FROM table_name_7 WHERE year > 1990 AND binibining_pilipinas_universe = "maria lourdes gonzalez" | What Binibining Pilipinas-International has a Year larger than 1990, and a Binibining Pilipinas-Universe of maria lourdes gonzalez? | <s>[INST]What Binibining Pilipinas-International has a Year larger than 1990, and a Binibining Pilipinas-Universe of maria lourdes gonzalez? Context: CREATE TABLE table_name_7 (binibining_pilipinas_international VARCHAR, year VARCHAR, binibining_pilipinas_universe VARCHAR)[/INST]SELECT binibining_pilipinas_internationa... |
CREATE TABLE table_name_56 (city_of_license VARCHAR, status VARCHAR) | SELECT city_of_license FROM table_name_56 WHERE status = "owned by coyote communications" | Which city station is owned by Coyote Communications? | <s>[INST]Which city station is owned by Coyote Communications? Context: CREATE TABLE table_name_56 (city_of_license VARCHAR, status VARCHAR)[/INST]SELECT city_of_license FROM table_name_56 WHERE status = "owned by coyote communications"</s> |
CREATE TABLE table_name_91 (competition VARCHAR, score VARCHAR) | SELECT competition FROM table_name_91 WHERE score = "2-0" | What is the name of the competition that has a score of 2-0? | <s>[INST]What is the name of the competition that has a score of 2-0? Context: CREATE TABLE table_name_91 (competition VARCHAR, score VARCHAR)[/INST]SELECT competition FROM table_name_91 WHERE score = "2-0"</s> |
CREATE TABLE table_name_48 (gold INTEGER, rank VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT MIN(gold) FROM table_name_48 WHERE bronze = 1 AND total = 3 AND rank > 7 | What is the smallest number of gold medals a country with 1 bronze, and a total of 3 medals which is lower than rank 7? | <s>[INST]What is the smallest number of gold medals a country with 1 bronze, and a total of 3 medals which is lower than rank 7? Context: CREATE TABLE table_name_48 (gold INTEGER, rank VARCHAR, bronze VARCHAR, total VARCHAR)[/INST]SELECT MIN(gold) FROM table_name_48 WHERE bronze = 1 AND total = 3 AND rank > 7</s> |
CREATE TABLE poker_player (Earnings VARCHAR) | SELECT Earnings FROM poker_player ORDER BY Earnings DESC | List the earnings of poker players in descending order. | <s>[INST]List the earnings of poker players in descending order. Context: CREATE TABLE poker_player (Earnings VARCHAR)[/INST]SELECT Earnings FROM poker_player ORDER BY Earnings DESC</s> |
CREATE TABLE table_22905641_2 (race_3_winner VARCHAR, race_2_winner VARCHAR) | SELECT COUNT(race_3_winner) FROM table_22905641_2 WHERE race_2_winner = "Mitch Evans" | How many race 3 winners were there when Mitch Evans won race 2? | <s>[INST]How many race 3 winners were there when Mitch Evans won race 2? Context: CREATE TABLE table_22905641_2 (race_3_winner VARCHAR, race_2_winner VARCHAR)[/INST]SELECT COUNT(race_3_winner) FROM table_22905641_2 WHERE race_2_winner = "Mitch Evans"</s> |
CREATE TABLE festival_detail (LOCATION VARCHAR, Num_of_Audience VARCHAR) | SELECT LOCATION FROM festival_detail ORDER BY Num_of_Audience DESC LIMIT 1 | What is the location of the festival with the largest number of audience? | <s>[INST]What is the location of the festival with the largest number of audience? Context: CREATE TABLE festival_detail (LOCATION VARCHAR, Num_of_Audience VARCHAR)[/INST]SELECT LOCATION FROM festival_detail ORDER BY Num_of_Audience DESC LIMIT 1</s> |
CREATE TABLE table_1881642_1 (socialist VARCHAR, social_democratic VARCHAR) | SELECT COUNT(socialist) FROM table_1881642_1 WHERE social_democratic = "42.2%" | How many figures are given for the Socialists in the case where the Social Democrats received 42.2%? | <s>[INST]How many figures are given for the Socialists in the case where the Social Democrats received 42.2%? Context: CREATE TABLE table_1881642_1 (socialist VARCHAR, social_democratic VARCHAR)[/INST]SELECT COUNT(socialist) FROM table_1881642_1 WHERE social_democratic = "42.2%"</s> |
CREATE TABLE table_21373283_3 (winning_team VARCHAR, pole_position VARCHAR, circuit VARCHAR) | SELECT winning_team FROM table_21373283_3 WHERE pole_position = "Max Chilton" AND circuit = "Oulton Park" | What is the winning team at Oulton Park when Max Chilton held the pole position? | <s>[INST]What is the winning team at Oulton Park when Max Chilton held the pole position? Context: CREATE TABLE table_21373283_3 (winning_team VARCHAR, pole_position VARCHAR, circuit VARCHAR)[/INST]SELECT winning_team FROM table_21373283_3 WHERE pole_position = "Max Chilton" AND circuit = "Oulton Park"</s> |
CREATE TABLE table_name_49 (name VARCHAR, term_end VARCHAR) | SELECT name FROM table_name_49 WHERE term_end = "2013" | What was the name of the leader whose term ended in 2013? | <s>[INST]What was the name of the leader whose term ended in 2013? Context: CREATE TABLE table_name_49 (name VARCHAR, term_end VARCHAR)[/INST]SELECT name FROM table_name_49 WHERE term_end = "2013"</s> |
CREATE TABLE table_name_10 (station VARCHAR, number VARCHAR, distance__km_ VARCHAR) | SELECT station FROM table_name_10 WHERE number > 9 AND distance__km_ = 16.4 | What is the station with a number greater than 9 and a distance of 16.4 km? | <s>[INST]What is the station with a number greater than 9 and a distance of 16.4 km? Context: CREATE TABLE table_name_10 (station VARCHAR, number VARCHAR, distance__km_ VARCHAR)[/INST]SELECT station FROM table_name_10 WHERE number > 9 AND distance__km_ = 16.4</s> |
CREATE TABLE table_name_53 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_53 WHERE grid < 5 AND driver = "jean alesi" | How much time does it take for jean alesi and grids lesser than 5? | <s>[INST]How much time does it take for jean alesi and grids lesser than 5? Context: CREATE TABLE table_name_53 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)[/INST]SELECT time_retired FROM table_name_53 WHERE grid < 5 AND driver = "jean alesi"</s> |
CREATE TABLE table_name_36 (caps INTEGER, player VARCHAR) | SELECT AVG(caps) FROM table_name_36 WHERE player = "ryota asano" | What is the mean number of caps for Ryota Asano? | <s>[INST]What is the mean number of caps for Ryota Asano? Context: CREATE TABLE table_name_36 (caps INTEGER, player VARCHAR)[/INST]SELECT AVG(caps) FROM table_name_36 WHERE player = "ryota asano"</s> |
CREATE TABLE table_name_3 (navigator VARCHAR, driver VARCHAR) | SELECT navigator FROM table_name_3 WHERE driver = "james" | What is the navigator for James? | <s>[INST]What is the navigator for James? Context: CREATE TABLE table_name_3 (navigator VARCHAR, driver VARCHAR)[/INST]SELECT navigator FROM table_name_3 WHERE driver = "james"</s> |
CREATE TABLE table_name_54 (number INTEGER, pieces VARCHAR, name VARCHAR) | SELECT AVG(number) FROM table_name_54 WHERE pieces < 511 AND name = "chauchilla cemetery battle" | What is the number for Chauchilla Cemetery Battle with less than 511 pieces? | <s>[INST]What is the number for Chauchilla Cemetery Battle with less than 511 pieces? Context: CREATE TABLE table_name_54 (number INTEGER, pieces VARCHAR, name VARCHAR)[/INST]SELECT AVG(number) FROM table_name_54 WHERE pieces < 511 AND name = "chauchilla cemetery battle"</s> |
CREATE TABLE table_23346303_5 (blocks VARCHAR, points VARCHAR) | SELECT COUNT(blocks) FROM table_23346303_5 WHERE points = 4 | What is the blocks total number if the points is 4? | <s>[INST]What is the blocks total number if the points is 4? Context: CREATE TABLE table_23346303_5 (blocks VARCHAR, points VARCHAR)[/INST]SELECT COUNT(blocks) FROM table_23346303_5 WHERE points = 4</s> |
CREATE TABLE table_name_62 (population_in_1000__1931_ VARCHAR, car_plates__since_1937_ VARCHAR) | SELECT population_in_1000__1931_ FROM table_name_62 WHERE car_plates__since_1937_ = "35-39" | tell me the population in 1000(1931) that has car plates since 1937 of 35-39. | <s>[INST]tell me the population in 1000(1931) that has car plates since 1937 of 35-39. Context: CREATE TABLE table_name_62 (population_in_1000__1931_ VARCHAR, car_plates__since_1937_ VARCHAR)[/INST]SELECT population_in_1000__1931_ FROM table_name_62 WHERE car_plates__since_1937_ = "35-39"</s> |
CREATE TABLE table_name_95 (team VARCHAR, replaced_by VARCHAR) | SELECT team FROM table_name_95 WHERE replaced_by = "mark mcghee" | I want the team for replaced by mark mcghee | <s>[INST]I want the team for replaced by mark mcghee Context: CREATE TABLE table_name_95 (team VARCHAR, replaced_by VARCHAR)[/INST]SELECT team FROM table_name_95 WHERE replaced_by = "mark mcghee"</s> |
CREATE TABLE table_name_36 (rank INTEGER, tally VARCHAR) | SELECT AVG(rank) FROM table_name_36 WHERE tally = "4-0" | Which Rank has a Tally of 4-0? | <s>[INST]Which Rank has a Tally of 4-0? Context: CREATE TABLE table_name_36 (rank INTEGER, tally VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_36 WHERE tally = "4-0"</s> |
CREATE TABLE table_name_85 (batting_style VARCHAR, player VARCHAR) | SELECT batting_style FROM table_name_85 WHERE player = "makhaya ntini" | What is the batting style of Makhaya Ntini? | <s>[INST]What is the batting style of Makhaya Ntini? Context: CREATE TABLE table_name_85 (batting_style VARCHAR, player VARCHAR)[/INST]SELECT batting_style FROM table_name_85 WHERE player = "makhaya ntini"</s> |
CREATE TABLE table_19161605_2 (title VARCHAR, _number VARCHAR) | SELECT title FROM table_19161605_2 WHERE _number = 14 | What is the title of episode number 14? | <s>[INST]What is the title of episode number 14? Context: CREATE TABLE table_19161605_2 (title VARCHAR, _number VARCHAR)[/INST]SELECT title FROM table_19161605_2 WHERE _number = 14</s> |
CREATE TABLE table_name_91 (writer VARCHAR, original_airdate VARCHAR) | SELECT writer FROM table_name_91 WHERE original_airdate = "september 4, 2005 (hbo)" | Who's the Writer with an Original Airdate of september 4, 2005 (hbo)? | <s>[INST]Who's the Writer with an Original Airdate of september 4, 2005 (hbo)? Context: CREATE TABLE table_name_91 (writer VARCHAR, original_airdate VARCHAR)[/INST]SELECT writer FROM table_name_91 WHERE original_airdate = "september 4, 2005 (hbo)"</s> |
CREATE TABLE table_name_74 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_74 WHERE away_team = "footscray" | What is the away team's score when footscray is the away team? | <s>[INST]What is the away team's score when footscray is the away team? Context: CREATE TABLE table_name_74 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_74 WHERE away_team = "footscray"</s> |
CREATE TABLE table_name_72 (time VARCHAR, event VARCHAR) | SELECT time FROM table_name_72 WHERE event = "adrenaline mma 3" | How long was the fight 'adrenaline mma 3'? | <s>[INST]How long was the fight 'adrenaline mma 3'? Context: CREATE TABLE table_name_72 (time VARCHAR, event VARCHAR)[/INST]SELECT time FROM table_name_72 WHERE event = "adrenaline mma 3"</s> |
CREATE TABLE table_name_80 (track VARCHAR, english_title VARCHAR, disc VARCHAR) | SELECT track AS time FROM table_name_80 WHERE disc > 2 AND track < 22 AND english_title = "younger girl" | Which Track time has a Disc larger than 2, a Track smaller than 22, and an English title of younger girl? | <s>[INST]Which Track time has a Disc larger than 2, a Track smaller than 22, and an English title of younger girl? Context: CREATE TABLE table_name_80 (track VARCHAR, english_title VARCHAR, disc VARCHAR)[/INST]SELECT track AS time FROM table_name_80 WHERE disc > 2 AND track < 22 AND english_title = "younger girl"</s> |
CREATE TABLE table_name_20 (name VARCHAR, red_list VARCHAR, species_authority VARCHAR) | SELECT name FROM table_name_20 WHERE red_list > 0 AND species_authority = "balaenoptera acutorostrata lacépède, 1804" | Which name has a Red List larger than 0, and a Species/Authority of balaenoptera acutorostrata lacépède, 1804? | <s>[INST]Which name has a Red List larger than 0, and a Species/Authority of balaenoptera acutorostrata lacépède, 1804? Context: CREATE TABLE table_name_20 (name VARCHAR, red_list VARCHAR, species_authority VARCHAR)[/INST]SELECT name FROM table_name_20 WHERE red_list > 0 AND species_authority = "balaenoptera acutorostr... |
CREATE TABLE table_name_89 (match_report VARCHAR, date VARCHAR, competition VARCHAR, venue VARCHAR) | SELECT match_report FROM table_name_89 WHERE competition = "euro2008q" AND venue = "athens olympic stadium" AND date = "november 17, 2007" | What was the Match Report for the Euro2008q at the Athens Olympic Stadium on November 17, 2007? | <s>[INST]What was the Match Report for the Euro2008q at the Athens Olympic Stadium on November 17, 2007? Context: CREATE TABLE table_name_89 (match_report VARCHAR, date VARCHAR, competition VARCHAR, venue VARCHAR)[/INST]SELECT match_report FROM table_name_89 WHERE competition = "euro2008q" AND venue = "athens olympic s... |
CREATE TABLE table_name_55 (release_format VARCHAR, release_date INTEGER) | SELECT release_format FROM table_name_55 WHERE release_date > 1983 | What is the release format for titles after 1983? | <s>[INST]What is the release format for titles after 1983? Context: CREATE TABLE table_name_55 (release_format VARCHAR, release_date INTEGER)[/INST]SELECT release_format FROM table_name_55 WHERE release_date > 1983</s> |
CREATE TABLE table_name_16 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_16 WHERE away_team = "hereford united" | Who played against the away team hereford united? | <s>[INST]Who played against the away team hereford united? Context: CREATE TABLE table_name_16 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_16 WHERE away_team = "hereford united"</s> |
CREATE TABLE table_name_42 (result VARCHAR, week VARCHAR) | SELECT result FROM table_name_42 WHERE week = 6 | What was the result on week 6? | <s>[INST]What was the result on week 6? Context: CREATE TABLE table_name_42 (result VARCHAR, week VARCHAR)[/INST]SELECT result FROM table_name_42 WHERE week = 6</s> |
CREATE TABLE table_name_62 (city VARCHAR, aam_member VARCHAR, astc_member VARCHAR, state VARCHAR) | SELECT city FROM table_name_62 WHERE astc_member = "no" AND state = "california" AND aam_member = "yes" | What is City, when ASTC Member is No, when State is California, and when AAM Member is Yes? | <s>[INST]What is City, when ASTC Member is No, when State is California, and when AAM Member is Yes? Context: CREATE TABLE table_name_62 (city VARCHAR, aam_member VARCHAR, astc_member VARCHAR, state VARCHAR)[/INST]SELECT city FROM table_name_62 WHERE astc_member = "no" AND state = "california" AND aam_member = "yes"</s... |
CREATE TABLE table_name_10 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_10 WHERE home_team = "hartlepool united" | who is the away team when the home team is hartlepool united? | <s>[INST]who is the away team when the home team is hartlepool united? Context: CREATE TABLE table_name_10 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_10 WHERE home_team = "hartlepool united"</s> |
CREATE TABLE table_29504351_2 (best_finish VARCHAR, player VARCHAR) | SELECT best_finish FROM table_29504351_2 WHERE player = "Sean O'Hair" | What is the best finish record for Sean O'hair? | <s>[INST]What is the best finish record for Sean O'hair? Context: CREATE TABLE table_29504351_2 (best_finish VARCHAR, player VARCHAR)[/INST]SELECT best_finish FROM table_29504351_2 WHERE player = "Sean O'Hair"</s> |
CREATE TABLE table_name_35 (name VARCHAR, time VARCHAR) | SELECT name FROM table_name_35 WHERE time = "3:50.90" | Who has a time of 3:50.90? | <s>[INST]Who has a time of 3:50.90? Context: CREATE TABLE table_name_35 (name VARCHAR, time VARCHAR)[/INST]SELECT name FROM table_name_35 WHERE time = "3:50.90"</s> |
CREATE TABLE table_1341690_5 (first_elected INTEGER, party VARCHAR) | SELECT MAX(first_elected) FROM table_1341690_5 WHERE party = "Republican" | What republican candidate was first elected most recently? | <s>[INST]What republican candidate was first elected most recently? Context: CREATE TABLE table_1341690_5 (first_elected INTEGER, party VARCHAR)[/INST]SELECT MAX(first_elected) FROM table_1341690_5 WHERE party = "Republican"</s> |
CREATE TABLE table_name_40 (championship_game VARCHAR, _number_of_bids VARCHAR, win__percentage VARCHAR) | SELECT championship_game FROM table_name_40 WHERE _number_of_bids = 4 AND win__percentage = ".600" | What is the Championship Game that has 4 Bids and a .600 Win %? | <s>[INST]What is the Championship Game that has 4 Bids and a .600 Win %? Context: CREATE TABLE table_name_40 (championship_game VARCHAR, _number_of_bids VARCHAR, win__percentage VARCHAR)[/INST]SELECT championship_game FROM table_name_40 WHERE _number_of_bids = 4 AND win__percentage = ".600"</s> |
CREATE TABLE table_name_5 (present_conference VARCHAR, location VARCHAR) | SELECT present_conference FROM table_name_5 WHERE location = "gainesville, florida" | Which conference does the school from Gainesville, Florida, play in? | <s>[INST]Which conference does the school from Gainesville, Florida, play in? Context: CREATE TABLE table_name_5 (present_conference VARCHAR, location VARCHAR)[/INST]SELECT present_conference FROM table_name_5 WHERE location = "gainesville, florida"</s> |
CREATE TABLE table_name_8 (year INTEGER, venue VARCHAR, event VARCHAR, result VARCHAR) | SELECT MIN(year) FROM table_name_8 WHERE event = "50km" AND result = "2nd" AND venue = "london, united kingdom" | What is earliest year that had a 50km event with a 2nd place result played in London, United Kingdom? | <s>[INST]What is earliest year that had a 50km event with a 2nd place result played in London, United Kingdom? Context: CREATE TABLE table_name_8 (year INTEGER, venue VARCHAR, event VARCHAR, result VARCHAR)[/INST]SELECT MIN(year) FROM table_name_8 WHERE event = "50km" AND result = "2nd" AND venue = "london, united king... |
CREATE TABLE table_name_6 (decision VARCHAR, attendance VARCHAR) | SELECT decision FROM table_name_6 WHERE attendance = "19,592" | What was the decision when the attendance was 19,592? | <s>[INST]What was the decision when the attendance was 19,592? Context: CREATE TABLE table_name_6 (decision VARCHAR, attendance VARCHAR)[/INST]SELECT decision FROM table_name_6 WHERE attendance = "19,592"</s> |
CREATE TABLE table_1140103_6 (date VARCHAR, _number VARCHAR) | SELECT date FROM table_1140103_6 WHERE _number = 13 | What date is listed at place 13 | <s>[INST]What date is listed at place 13 Context: CREATE TABLE table_1140103_6 (date VARCHAR, _number VARCHAR)[/INST]SELECT date FROM table_1140103_6 WHERE _number = 13</s> |
CREATE TABLE table_14945608_1 (attendance INTEGER) | SELECT MAX(attendance) FROM table_14945608_1 | What was the highest attendance? | <s>[INST]What was the highest attendance? Context: CREATE TABLE table_14945608_1 (attendance INTEGER)[/INST]SELECT MAX(attendance) FROM table_14945608_1</s> |
CREATE TABLE table_name_67 (round VARCHAR, date VARCHAR) | SELECT round FROM table_name_67 WHERE date = "7 january 2003" | What round was on 7 January 2003? | <s>[INST]What round was on 7 January 2003? Context: CREATE TABLE table_name_67 (round VARCHAR, date VARCHAR)[/INST]SELECT round FROM table_name_67 WHERE date = "7 january 2003"</s> |
CREATE TABLE table_18077713_1 (revenue__us_$million_ VARCHAR, net_profit__us_$m_ VARCHAR) | SELECT revenue__us_$million_ FROM table_18077713_1 WHERE net_profit__us_$m_ = "55.4" | How many dollars is the revenue when the net profit is 55.4 million dollars? | <s>[INST]How many dollars is the revenue when the net profit is 55.4 million dollars? Context: CREATE TABLE table_18077713_1 (revenue__us_$million_ VARCHAR, net_profit__us_$m_ VARCHAR)[/INST]SELECT revenue__us_$million_ FROM table_18077713_1 WHERE net_profit__us_$m_ = "55.4"</s> |
CREATE TABLE table_27786562_1 (starts VARCHAR, driver VARCHAR) | SELECT starts FROM table_27786562_1 WHERE driver = "Bobby Labonte" | Name the starts for bobby labonte | <s>[INST]Name the starts for bobby labonte Context: CREATE TABLE table_27786562_1 (starts VARCHAR, driver VARCHAR)[/INST]SELECT starts FROM table_27786562_1 WHERE driver = "Bobby Labonte"</s> |
CREATE TABLE table_name_28 (semifinalists VARCHAR, tournament VARCHAR) | SELECT semifinalists FROM table_name_28 WHERE tournament = "paris" | WHO ARE THE SEMIFINALISTS FOR TOURNAMENT OF PARIS? | <s>[INST]WHO ARE THE SEMIFINALISTS FOR TOURNAMENT OF PARIS? Context: CREATE TABLE table_name_28 (semifinalists VARCHAR, tournament VARCHAR)[/INST]SELECT semifinalists FROM table_name_28 WHERE tournament = "paris"</s> |
CREATE TABLE table_name_98 (previous_champion_s_ VARCHAR, date_won VARCHAR) | SELECT previous_champion_s_ FROM table_name_98 WHERE date_won = "july 7, 2010" | Who was the previous champion of the title won on July 7, 2010? | <s>[INST]Who was the previous champion of the title won on July 7, 2010? Context: CREATE TABLE table_name_98 (previous_champion_s_ VARCHAR, date_won VARCHAR)[/INST]SELECT previous_champion_s_ FROM table_name_98 WHERE date_won = "july 7, 2010"</s> |
CREATE TABLE table_name_92 (pick INTEGER, player VARCHAR) | SELECT AVG(pick) FROM table_name_92 WHERE player = "terry cook" | When was terry cook picked? | <s>[INST]When was terry cook picked? Context: CREATE TABLE table_name_92 (pick INTEGER, player VARCHAR)[/INST]SELECT AVG(pick) FROM table_name_92 WHERE player = "terry cook"</s> |
CREATE TABLE table_26166836_1 (distance VARCHAR, road_race VARCHAR) | SELECT distance FROM table_26166836_1 WHERE road_race = "Great Manchester Run" | How long was the great manchester run? | <s>[INST]How long was the great manchester run? Context: CREATE TABLE table_26166836_1 (distance VARCHAR, road_race VARCHAR)[/INST]SELECT distance FROM table_26166836_1 WHERE road_race = "Great Manchester Run"</s> |
CREATE TABLE table_1341884_20 (district VARCHAR, incumbent VARCHAR) | SELECT COUNT(district) FROM table_1341884_20 WHERE incumbent = "Edwin E. Willis" | How many districts represented Edwin E. Willis? | <s>[INST]How many districts represented Edwin E. Willis? Context: CREATE TABLE table_1341884_20 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(district) FROM table_1341884_20 WHERE incumbent = "Edwin E. Willis"</s> |
CREATE TABLE table_1213511_2 (nationality VARCHAR, nhl_team VARCHAR) | SELECT nationality FROM table_1213511_2 WHERE nhl_team = "Buffalo Sabres" | What is the nationality of the player from Buffalo Sabres? | <s>[INST]What is the nationality of the player from Buffalo Sabres? Context: CREATE TABLE table_1213511_2 (nationality VARCHAR, nhl_team VARCHAR)[/INST]SELECT nationality FROM table_1213511_2 WHERE nhl_team = "Buffalo Sabres"</s> |
CREATE TABLE table_name_17 (percentage___percentage_ VARCHAR, females VARCHAR) | SELECT percentage___percentage_ FROM table_name_17 WHERE females = "2" | Name the percentage which has females of 2 | <s>[INST]Name the percentage which has females of 2 Context: CREATE TABLE table_name_17 (percentage___percentage_ VARCHAR, females VARCHAR)[/INST]SELECT percentage___percentage_ FROM table_name_17 WHERE females = "2"</s> |
CREATE TABLE table_name_21 (team VARCHAR, driver VARCHAR) | SELECT team FROM table_name_21 WHERE driver = "toshihiro kaneishi" | Name the team for toshihiro kaneishi | <s>[INST]Name the team for toshihiro kaneishi Context: CREATE TABLE table_name_21 (team VARCHAR, driver VARCHAR)[/INST]SELECT team FROM table_name_21 WHERE driver = "toshihiro kaneishi"</s> |
CREATE TABLE table_name_52 (notes VARCHAR, rank VARCHAR) | SELECT notes FROM table_name_52 WHERE rank = 1 | What are the notes of the number 1 rank? | <s>[INST]What are the notes of the number 1 rank? Context: CREATE TABLE table_name_52 (notes VARCHAR, rank VARCHAR)[/INST]SELECT notes FROM table_name_52 WHERE rank = 1</s> |
CREATE TABLE table_name_48 (record VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_48 WHERE week < 15 AND opponent = "at new york jets" | Which Record has a Week smaller than 15, and an Opponent of at new york jets? | <s>[INST]Which Record has a Week smaller than 15, and an Opponent of at new york jets? Context: CREATE TABLE table_name_48 (record VARCHAR, week VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_48 WHERE week < 15 AND opponent = "at new york jets"</s> |
CREATE TABLE table_name_92 (lost VARCHAR, club VARCHAR) | SELECT lost FROM table_name_92 WHERE club = "mumbles rfc" | What did the loss come from a Club of mumbles rfc? | <s>[INST]What did the loss come from a Club of mumbles rfc? Context: CREATE TABLE table_name_92 (lost VARCHAR, club VARCHAR)[/INST]SELECT lost FROM table_name_92 WHERE club = "mumbles rfc"</s> |
CREATE TABLE table_name_15 (home VARCHAR, opponent VARCHAR) | SELECT home FROM table_name_15 WHERE opponent = "brøndby" | Which Home has an Opponent of brøndby? | <s>[INST]Which Home has an Opponent of brøndby? Context: CREATE TABLE table_name_15 (home VARCHAR, opponent VARCHAR)[/INST]SELECT home FROM table_name_15 WHERE opponent = "brøndby"</s> |
CREATE TABLE table_27832075_2 (directed_by VARCHAR, episode__number VARCHAR) | SELECT directed_by FROM table_27832075_2 WHERE episode__number = "23" | Who directed episode number 23 in the season? | <s>[INST]Who directed episode number 23 in the season? Context: CREATE TABLE table_27832075_2 (directed_by VARCHAR, episode__number VARCHAR)[/INST]SELECT directed_by FROM table_27832075_2 WHERE episode__number = "23"</s> |
CREATE TABLE table_25926120_7 (name_of_award VARCHAR, name_of_film VARCHAR) | SELECT name_of_award FROM table_25926120_7 WHERE name_of_film = "Sana Keithel" | what is the name of award when the name of film is sana keithel? | <s>[INST]what is the name of award when the name of film is sana keithel? Context: CREATE TABLE table_25926120_7 (name_of_award VARCHAR, name_of_film VARCHAR)[/INST]SELECT name_of_award FROM table_25926120_7 WHERE name_of_film = "Sana Keithel"</s> |
CREATE TABLE table_name_89 (venue VARCHAR, score VARCHAR) | SELECT venue FROM table_name_89 WHERE score = "2–0" | What is the Venue of the Competition with a Score of 2–0? | <s>[INST]What is the Venue of the Competition with a Score of 2–0? Context: CREATE TABLE table_name_89 (venue VARCHAR, score VARCHAR)[/INST]SELECT venue FROM table_name_89 WHERE score = "2–0"</s> |
CREATE TABLE table_name_90 (apps VARCHAR, goals VARCHAR) | SELECT COUNT(apps) FROM table_name_90 WHERE goals = 2 | What is the final number of apps with 2 goals? | <s>[INST]What is the final number of apps with 2 goals? Context: CREATE TABLE table_name_90 (apps VARCHAR, goals VARCHAR)[/INST]SELECT COUNT(apps) FROM table_name_90 WHERE goals = 2</s> |
CREATE TABLE table_name_47 (silver INTEGER, gold INTEGER) | SELECT AVG(silver) FROM table_name_47 WHERE gold < 0 | What is the average Silver, when Gold is less than 0? | <s>[INST]What is the average Silver, when Gold is less than 0? Context: CREATE TABLE table_name_47 (silver INTEGER, gold INTEGER)[/INST]SELECT AVG(silver) FROM table_name_47 WHERE gold < 0</s> |
CREATE TABLE table_name_2 (pos VARCHAR, year INTEGER) | SELECT pos FROM table_name_2 WHERE year < 1999 | What is the position for years under 1999? | <s>[INST]What is the position for years under 1999? Context: CREATE TABLE table_name_2 (pos VARCHAR, year INTEGER)[/INST]SELECT pos FROM table_name_2 WHERE year < 1999</s> |
CREATE TABLE table_name_83 (drawn INTEGER, played VARCHAR, _percentage_won VARCHAR) | SELECT MIN(drawn) FROM table_name_83 WHERE played > 2 AND _percentage_won > 100 | What is the smallest draws for a player larger than 2 with a 100% wins? | <s>[INST]What is the smallest draws for a player larger than 2 with a 100% wins? Context: CREATE TABLE table_name_83 (drawn INTEGER, played VARCHAR, _percentage_won VARCHAR)[/INST]SELECT MIN(drawn) FROM table_name_83 WHERE played > 2 AND _percentage_won > 100</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.