context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE Ref_Transaction_Types (transaction_type_description VARCHAR, transaction_type_code VARCHAR) | SELECT transaction_type_description FROM Ref_Transaction_Types WHERE transaction_type_code = "PUR" | Show the description of transaction type with code "PUR". | <s>[INST]Show the description of transaction type with code "PUR". Context: CREATE TABLE Ref_Transaction_Types (transaction_type_description VARCHAR, transaction_type_code VARCHAR)[/INST]SELECT transaction_type_description FROM Ref_Transaction_Types WHERE transaction_type_code = "PUR"</s> |
CREATE TABLE table_name_4 (crowd INTEGER, away_team VARCHAR) | SELECT SUM(crowd) FROM table_name_4 WHERE away_team = "melbourne" | How many people attended Melbourne's away game? | <s>[INST]How many people attended Melbourne's away game? Context: CREATE TABLE table_name_4 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_4 WHERE away_team = "melbourne"</s> |
CREATE TABLE table_1147705_1 (model VARCHAR, engine_type VARCHAR) | SELECT COUNT(model) FROM table_1147705_1 WHERE engine_type = "B5234 T3" | How many engine b5234 t3? | <s>[INST]How many engine b5234 t3? Context: CREATE TABLE table_1147705_1 (model VARCHAR, engine_type VARCHAR)[/INST]SELECT COUNT(model) FROM table_1147705_1 WHERE engine_type = "B5234 T3"</s> |
CREATE TABLE table_name_48 (attendance VARCHAR, week VARCHAR) | SELECT attendance FROM table_name_48 WHERE week = 1 | What was the attendance for Week 1? | <s>[INST]What was the attendance for Week 1? Context: CREATE TABLE table_name_48 (attendance VARCHAR, week VARCHAR)[/INST]SELECT attendance FROM table_name_48 WHERE week = 1</s> |
CREATE TABLE table_name_71 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_71 WHERE date = "april 6" | What is the Score on April 6? | <s>[INST]What is the Score on April 6? Context: CREATE TABLE table_name_71 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_71 WHERE date = "april 6"</s> |
CREATE TABLE instruments (bandmateid VARCHAR); CREATE TABLE Band (id VARCHAR, lastname VARCHAR) | SELECT COUNT(DISTINCT instrument) FROM instruments AS T1 JOIN Band AS T2 ON T1.bandmateid = T2.id WHERE T2.lastname = "Heilo" | How many instrument does the musician with last name "Heilo" use? | <s>[INST]How many instrument does the musician with last name "Heilo" use? Context: CREATE TABLE instruments (bandmateid VARCHAR); CREATE TABLE Band (id VARCHAR, lastname VARCHAR)[/INST]SELECT COUNT(DISTINCT instrument) FROM instruments AS T1 JOIN Band AS T2 ON T1.bandmateid = T2.id WHERE T2.lastname = "Heilo"</s> |
CREATE TABLE table_name_67 (name VARCHAR, rank VARCHAR) | SELECT name FROM table_name_67 WHERE rank = 18 | What is the Name of the Players with a Rank of 18? | <s>[INST]What is the Name of the Players with a Rank of 18? Context: CREATE TABLE table_name_67 (name VARCHAR, rank VARCHAR)[/INST]SELECT name FROM table_name_67 WHERE rank = 18</s> |
CREATE TABLE table_name_95 (years_as_tallest VARCHAR, height_metres___ft VARCHAR) | SELECT years_as_tallest FROM table_name_95 WHERE height_metres___ft = "07.0 150 / 493 [b ]" | Name the Years as tallest has a Height metres / ft of 07.0 150 / 493 [b ]? | <s>[INST]Name the Years as tallest has a Height metres / ft of 07.0 150 / 493 [b ]? Context: CREATE TABLE table_name_95 (years_as_tallest VARCHAR, height_metres___ft VARCHAR)[/INST]SELECT years_as_tallest FROM table_name_95 WHERE height_metres___ft = "07.0 150 / 493 [b ]"</s> |
CREATE TABLE table_15929156_3 (mccain__percentage VARCHAR, county VARCHAR) | SELECT mccain__percentage FROM table_15929156_3 WHERE county = "Dukes" | Name the mccain % for dukes | <s>[INST]Name the mccain % for dukes Context: CREATE TABLE table_15929156_3 (mccain__percentage VARCHAR, county VARCHAR)[/INST]SELECT mccain__percentage FROM table_15929156_3 WHERE county = "Dukes"</s> |
CREATE TABLE table_name_48 (position INTEGER, difference VARCHAR, played VARCHAR) | SELECT AVG(position) FROM table_name_48 WHERE difference = "- 5" AND played > 14 | What position was played with a Difference of - 5, and a Played larger than 14? | <s>[INST]What position was played with a Difference of - 5, and a Played larger than 14? Context: CREATE TABLE table_name_48 (position INTEGER, difference VARCHAR, played VARCHAR)[/INST]SELECT AVG(position) FROM table_name_48 WHERE difference = "- 5" AND played > 14</s> |
CREATE TABLE table_2328113_1 (population__2011_ INTEGER) | SELECT MIN(population__2011_) FROM table_2328113_1 | What was the minimum population in 2011? | <s>[INST]What was the minimum population in 2011? Context: CREATE TABLE table_2328113_1 (population__2011_ INTEGER)[/INST]SELECT MIN(population__2011_) FROM table_2328113_1</s> |
CREATE TABLE table_26454128_4 (country VARCHAR, athlete VARCHAR) | SELECT country FROM table_26454128_4 WHERE athlete = "Paavo Yrjölä" | What is the country of Paavo Yrjölä? | <s>[INST]What is the country of Paavo Yrjölä? Context: CREATE TABLE table_26454128_4 (country VARCHAR, athlete VARCHAR)[/INST]SELECT country FROM table_26454128_4 WHERE athlete = "Paavo Yrjölä"</s> |
CREATE TABLE table_name_80 (callsign VARCHAR, icao VARCHAR) | SELECT callsign FROM table_name_80 WHERE icao = "aar" | What is the callsign where the ICAO is AAR? | <s>[INST]What is the callsign where the ICAO is AAR? Context: CREATE TABLE table_name_80 (callsign VARCHAR, icao VARCHAR)[/INST]SELECT callsign FROM table_name_80 WHERE icao = "aar"</s> |
CREATE TABLE table_name_63 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_63 WHERE record = "12-9" | What date was the game when the liberty had a record of 12-9? | <s>[INST]What date was the game when the liberty had a record of 12-9? Context: CREATE TABLE table_name_63 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_63 WHERE record = "12-9"</s> |
CREATE TABLE table_name_57 (length VARCHAR, route_name VARCHAR) | SELECT length FROM table_name_57 WHERE route_name = "sh 2" | What is the length of the highway with the route name sh 2? | <s>[INST]What is the length of the highway with the route name sh 2? Context: CREATE TABLE table_name_57 (length VARCHAR, route_name VARCHAR)[/INST]SELECT length FROM table_name_57 WHERE route_name = "sh 2"</s> |
CREATE TABLE table_name_74 (average INTEGER, sr VARCHAR, runs_scored VARCHAR) | SELECT MIN(average) FROM table_name_74 WHERE sr = 70.43 AND runs_scored < 293 | What kind of Average has a S.R. of 70.43 and Runs Scored smaller than 293? | <s>[INST]What kind of Average has a S.R. of 70.43 and Runs Scored smaller than 293? Context: CREATE TABLE table_name_74 (average INTEGER, sr VARCHAR, runs_scored VARCHAR)[/INST]SELECT MIN(average) FROM table_name_74 WHERE sr = 70.43 AND runs_scored < 293</s> |
CREATE TABLE table_name_74 (goals_for INTEGER, goals_against VARCHAR, team VARCHAR, position VARCHAR, lost VARCHAR) | SELECT MAX(goals_for) FROM table_name_74 WHERE position > 2 AND lost > 18 AND team = "matlock town" AND goals_against > 79 | Which Goals For has a Position larger than 2, a Lost larger than 18, a Team of matlock town, and a Goals Against larger than 79? | <s>[INST]Which Goals For has a Position larger than 2, a Lost larger than 18, a Team of matlock town, and a Goals Against larger than 79? Context: CREATE TABLE table_name_74 (goals_for INTEGER, goals_against VARCHAR, team VARCHAR, position VARCHAR, lost VARCHAR)[/INST]SELECT MAX(goals_for) FROM table_name_74 WHERE position > 2 AND lost > 18 AND team = "matlock town" AND goals_against > 79</s> |
CREATE TABLE table_name_31 (percent_of_slovenes_1951 VARCHAR, village__german_ VARCHAR) | SELECT percent_of_slovenes_1951 FROM table_name_31 WHERE village__german_ = "roach" | What percentage of Slovenes lived in the village of Roach in 1951? | <s>[INST]What percentage of Slovenes lived in the village of Roach in 1951? Context: CREATE TABLE table_name_31 (percent_of_slovenes_1951 VARCHAR, village__german_ VARCHAR)[/INST]SELECT percent_of_slovenes_1951 FROM table_name_31 WHERE village__german_ = "roach"</s> |
CREATE TABLE table_name_55 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_55 WHERE venue = "junction oval" | What is the date of the game at Junction Oval? | <s>[INST]What is the date of the game at Junction Oval? Context: CREATE TABLE table_name_55 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_55 WHERE venue = "junction oval"</s> |
CREATE TABLE table_name_90 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_90 WHERE home_team = "south melbourne" | What was South Melbourne's home team score? | <s>[INST]What was South Melbourne's home team score? Context: CREATE TABLE table_name_90 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_90 WHERE home_team = "south melbourne"</s> |
CREATE TABLE table_name_2 (city VARCHAR, stadium VARCHAR) | SELECT city FROM table_name_2 WHERE stadium = "gwang-yang stadium" | What city is Gwang-Yang stadium in? | <s>[INST]What city is Gwang-Yang stadium in? Context: CREATE TABLE table_name_2 (city VARCHAR, stadium VARCHAR)[/INST]SELECT city FROM table_name_2 WHERE stadium = "gwang-yang stadium"</s> |
CREATE TABLE table_name_19 (school_club_team VARCHAR, player VARCHAR) | SELECT school_club_team FROM table_name_19 WHERE player = "derek fisher" | What college team did Derek Fisher play for? | <s>[INST]What college team did Derek Fisher play for? Context: CREATE TABLE table_name_19 (school_club_team VARCHAR, player VARCHAR)[/INST]SELECT school_club_team FROM table_name_19 WHERE player = "derek fisher"</s> |
CREATE TABLE table_1571238_2 (third_place VARCHAR, team VARCHAR) | SELECT COUNT(third_place) FROM table_1571238_2 WHERE team = "Toronto" | When the team is Toronto how many times did they place third? | <s>[INST]When the team is Toronto how many times did they place third? Context: CREATE TABLE table_1571238_2 (third_place VARCHAR, team VARCHAR)[/INST]SELECT COUNT(third_place) FROM table_1571238_2 WHERE team = "Toronto"</s> |
CREATE TABLE table_22460085_1 (original_broadway_performer VARCHAR, original_west_end_performer VARCHAR) | SELECT original_broadway_performer FROM table_22460085_1 WHERE original_west_end_performer = "Sharon D. Clarke" | Who was the Broadway equivalent of Sharon D. Clarke's character? | <s>[INST]Who was the Broadway equivalent of Sharon D. Clarke's character? Context: CREATE TABLE table_22460085_1 (original_broadway_performer VARCHAR, original_west_end_performer VARCHAR)[/INST]SELECT original_broadway_performer FROM table_22460085_1 WHERE original_west_end_performer = "Sharon D. Clarke"</s> |
CREATE TABLE table_name_4 (county VARCHAR, name VARCHAR) | SELECT county FROM table_name_4 WHERE name = "swann covered bridge" | In which county is the swann covered bridge located? | <s>[INST]In which county is the swann covered bridge located? Context: CREATE TABLE table_name_4 (county VARCHAR, name VARCHAR)[/INST]SELECT county FROM table_name_4 WHERE name = "swann covered bridge"</s> |
CREATE TABLE table_name_19 (round INTEGER, overall VARCHAR, pick__number VARCHAR, college VARCHAR) | SELECT MIN(round) FROM table_name_19 WHERE pick__number = 8 AND college = "temple" AND overall > 72 | What is the lowest round of the pick #8 player with an overall greater than 72 from the college of temple? | <s>[INST]What is the lowest round of the pick #8 player with an overall greater than 72 from the college of temple? Context: CREATE TABLE table_name_19 (round INTEGER, overall VARCHAR, pick__number VARCHAR, college VARCHAR)[/INST]SELECT MIN(round) FROM table_name_19 WHERE pick__number = 8 AND college = "temple" AND overall > 72</s> |
CREATE TABLE table_name_27 (draws INTEGER, wins VARCHAR, played VARCHAR) | SELECT MIN(draws) FROM table_name_27 WHERE wins < 12 AND played < 30 | What is the lowest amount of draws with less than 12 wins and less than 30 played? | <s>[INST]What is the lowest amount of draws with less than 12 wins and less than 30 played? Context: CREATE TABLE table_name_27 (draws INTEGER, wins VARCHAR, played VARCHAR)[/INST]SELECT MIN(draws) FROM table_name_27 WHERE wins < 12 AND played < 30</s> |
CREATE TABLE table_23308178_9 (score VARCHAR, date VARCHAR) | SELECT COUNT(score) FROM table_23308178_9 WHERE date = "March 6" | How many scores had a date of March 6? | <s>[INST]How many scores had a date of March 6? Context: CREATE TABLE table_23308178_9 (score VARCHAR, date VARCHAR)[/INST]SELECT COUNT(score) FROM table_23308178_9 WHERE date = "March 6"</s> |
CREATE TABLE table_12454156_1 (losing_hand VARCHAR, winning_hand VARCHAR) | SELECT losing_hand FROM table_12454156_1 WHERE winning_hand = "7h 7s" | What was the losing hand where the winning hand was 7h 7s? | <s>[INST]What was the losing hand where the winning hand was 7h 7s? Context: CREATE TABLE table_12454156_1 (losing_hand VARCHAR, winning_hand VARCHAR)[/INST]SELECT losing_hand FROM table_12454156_1 WHERE winning_hand = "7h 7s"</s> |
CREATE TABLE table_18987377_1 (director VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT director FROM table_18987377_1 WHERE film_title_used_in_nomination = "Coup de Torchon" | Name the director for coup de torchon | <s>[INST]Name the director for coup de torchon Context: CREATE TABLE table_18987377_1 (director VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT director FROM table_18987377_1 WHERE film_title_used_in_nomination = "Coup de Torchon"</s> |
CREATE TABLE table_name_98 (seasons VARCHAR, name VARCHAR, lost VARCHAR) | SELECT COUNT(seasons) FROM table_name_98 WHERE name = "joe grugin" AND lost > 8 | Which Seasons has a Name of joe grugin, and a Lost larger than 8? | <s>[INST]Which Seasons has a Name of joe grugin, and a Lost larger than 8? Context: CREATE TABLE table_name_98 (seasons VARCHAR, name VARCHAR, lost VARCHAR)[/INST]SELECT COUNT(seasons) FROM table_name_98 WHERE name = "joe grugin" AND lost > 8</s> |
CREATE TABLE Financial_transactions (transaction_type VARCHAR) | SELECT transaction_type, COUNT(*) FROM Financial_transactions GROUP BY transaction_type | Show the transaction type and the number of transactions. | <s>[INST]Show the transaction type and the number of transactions. Context: CREATE TABLE Financial_transactions (transaction_type VARCHAR)[/INST]SELECT transaction_type, COUNT(*) FROM Financial_transactions GROUP BY transaction_type</s> |
CREATE TABLE table_name_94 (opponent VARCHAR, round VARCHAR) | SELECT opponent FROM table_name_94 WHERE round = "world group" | What is Opponent, when Round is World Group? | <s>[INST]What is Opponent, when Round is World Group? Context: CREATE TABLE table_name_94 (opponent VARCHAR, round VARCHAR)[/INST]SELECT opponent FROM table_name_94 WHERE round = "world group"</s> |
CREATE TABLE table_name_46 (fa_cup_goals INTEGER, league_goals VARCHAR, total VARCHAR) | SELECT MIN(fa_cup_goals) FROM table_name_46 WHERE league_goals = "12" AND total = 14 | What is the lowest number of FA Cup goals for players with 12 League goals and 14 total goals? | <s>[INST]What is the lowest number of FA Cup goals for players with 12 League goals and 14 total goals? Context: CREATE TABLE table_name_46 (fa_cup_goals INTEGER, league_goals VARCHAR, total VARCHAR)[/INST]SELECT MIN(fa_cup_goals) FROM table_name_46 WHERE league_goals = "12" AND total = 14</s> |
CREATE TABLE table_23563375_11 (w_l VARCHAR, result VARCHAR) | SELECT w_l FROM table_23563375_11 WHERE result = "2–6, 5–7, 7–6 (11–9) , 1–6" | What were the w/l when the final score was 2–6, 5–7, 7–6 (11–9) , 1–6? | <s>[INST]What were the w/l when the final score was 2–6, 5–7, 7–6 (11–9) , 1–6? Context: CREATE TABLE table_23563375_11 (w_l VARCHAR, result VARCHAR)[/INST]SELECT w_l FROM table_23563375_11 WHERE result = "2–6, 5–7, 7–6 (11–9) , 1–6"</s> |
CREATE TABLE table_name_85 (episode VARCHAR, first_aired VARCHAR) | SELECT episode FROM table_name_85 WHERE first_aired = "1976" | What episode was first aired in 1976? | <s>[INST]What episode was first aired in 1976? Context: CREATE TABLE table_name_85 (episode VARCHAR, first_aired VARCHAR)[/INST]SELECT episode FROM table_name_85 WHERE first_aired = "1976"</s> |
CREATE TABLE table_name_2 (played INTEGER, drawn VARCHAR, lost VARCHAR, percentage VARCHAR) | SELECT MAX(played) FROM table_name_2 WHERE lost = 2 AND percentage = "0.00%" AND drawn > 0 | what is the highest number of games played when there was 2 losses, percentage was 0.00% and more than 0 draws? | <s>[INST]what is the highest number of games played when there was 2 losses, percentage was 0.00% and more than 0 draws? Context: CREATE TABLE table_name_2 (played INTEGER, drawn VARCHAR, lost VARCHAR, percentage VARCHAR)[/INST]SELECT MAX(played) FROM table_name_2 WHERE lost = 2 AND percentage = "0.00%" AND drawn > 0</s> |
CREATE TABLE table_27734769_8 (date VARCHAR, high_rebounds VARCHAR) | SELECT COUNT(date) FROM table_27734769_8 WHERE high_rebounds = "Marcus Camby (18)" | How many times was the high rebounds by marcus camby (18)? | <s>[INST]How many times was the high rebounds by marcus camby (18)? Context: CREATE TABLE table_27734769_8 (date VARCHAR, high_rebounds VARCHAR)[/INST]SELECT COUNT(date) FROM table_27734769_8 WHERE high_rebounds = "Marcus Camby (18)"</s> |
CREATE TABLE table_name_19 (year VARCHAR) | SELECT 250 AS _cc FROM table_name_19 WHERE year = "1985" | Who won the 250 cc in 1985? | <s>[INST]Who won the 250 cc in 1985? Context: CREATE TABLE table_name_19 (year VARCHAR)[/INST]SELECT 250 AS _cc FROM table_name_19 WHERE year = "1985"</s> |
CREATE TABLE table_2538117_5 (founding_university VARCHAR, organization VARCHAR) | SELECT founding_university FROM table_2538117_5 WHERE organization = "Tau Epsilon Phi 1" | What was the founding university of the organization Tau Epsilon Phi 1? | <s>[INST]What was the founding university of the organization Tau Epsilon Phi 1? Context: CREATE TABLE table_2538117_5 (founding_university VARCHAR, organization VARCHAR)[/INST]SELECT founding_university FROM table_2538117_5 WHERE organization = "Tau Epsilon Phi 1"</s> |
CREATE TABLE table_23918997_1 (title VARCHAR, directed_by VARCHAR) | SELECT title FROM table_23918997_1 WHERE directed_by = "Rowan Woods" | What was the title of the episode directed by Rowan Woods? | <s>[INST]What was the title of the episode directed by Rowan Woods? Context: CREATE TABLE table_23918997_1 (title VARCHAR, directed_by VARCHAR)[/INST]SELECT title FROM table_23918997_1 WHERE directed_by = "Rowan Woods"</s> |
CREATE TABLE table_27700375_8 (high_assists VARCHAR, team VARCHAR) | SELECT high_assists FROM table_27700375_8 WHERE team = "@ Indiana" | Who got high assists for team @ Indiana? | <s>[INST]Who got high assists for team @ Indiana? Context: CREATE TABLE table_27700375_8 (high_assists VARCHAR, team VARCHAR)[/INST]SELECT high_assists FROM table_27700375_8 WHERE team = "@ Indiana"</s> |
CREATE TABLE table_name_28 (captain VARCHAR, lost VARCHAR) | SELECT captain FROM table_name_28 WHERE lost = 13 | What Captain has Lost 13? | <s>[INST]What Captain has Lost 13? Context: CREATE TABLE table_name_28 (captain VARCHAR, lost VARCHAR)[/INST]SELECT captain FROM table_name_28 WHERE lost = 13</s> |
CREATE TABLE table_name_91 (location VARCHAR, stadium VARCHAR) | SELECT location FROM table_name_91 WHERE stadium = "gortakeegan" | Where is the Stadium of Gortakeegan located? | <s>[INST]Where is the Stadium of Gortakeegan located? Context: CREATE TABLE table_name_91 (location VARCHAR, stadium VARCHAR)[/INST]SELECT location FROM table_name_91 WHERE stadium = "gortakeegan"</s> |
CREATE TABLE table_25851971_1 (directed_by VARCHAR, production_code VARCHAR) | SELECT directed_by FROM table_25851971_1 WHERE production_code = "2J5457" | Who directed the episode that had a production code of 2j5457? | <s>[INST]Who directed the episode that had a production code of 2j5457? Context: CREATE TABLE table_25851971_1 (directed_by VARCHAR, production_code VARCHAR)[/INST]SELECT directed_by FROM table_25851971_1 WHERE production_code = "2J5457"</s> |
CREATE TABLE table_19753079_41 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_19753079_41 WHERE incumbent = "Chris Carney" | When chris carney is the incumbent what are the results? | <s>[INST]When chris carney is the incumbent what are the results? Context: CREATE TABLE table_19753079_41 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_19753079_41 WHERE incumbent = "Chris Carney"</s> |
CREATE TABLE table_name_17 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_17 WHERE attendance = "57,234" | What is the result of the game with 57,234 people in attendance? | <s>[INST]What is the result of the game with 57,234 people in attendance? Context: CREATE TABLE table_name_17 (result VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_17 WHERE attendance = "57,234"</s> |
CREATE TABLE table_name_44 (nationality VARCHAR, round VARCHAR) | SELECT nationality FROM table_name_44 WHERE round = 6 | What nationality was the round 6 draft pick? | <s>[INST]What nationality was the round 6 draft pick? Context: CREATE TABLE table_name_44 (nationality VARCHAR, round VARCHAR)[/INST]SELECT nationality FROM table_name_44 WHERE round = 6</s> |
CREATE TABLE table_1965650_11 (nhl_team VARCHAR, college_junior_club_team VARCHAR) | SELECT nhl_team FROM table_1965650_11 WHERE college_junior_club_team = "Calgary Centennials (WCHL)" | What NHL team was the player from Calgary Centennials (WCHL) drafted for? | <s>[INST]What NHL team was the player from Calgary Centennials (WCHL) drafted for? Context: CREATE TABLE table_1965650_11 (nhl_team VARCHAR, college_junior_club_team VARCHAR)[/INST]SELECT nhl_team FROM table_1965650_11 WHERE college_junior_club_team = "Calgary Centennials (WCHL)"</s> |
CREATE TABLE table_name_79 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_79 WHERE record = "15-14-4" | What date had a record of 15-14-4? | <s>[INST]What date had a record of 15-14-4? Context: CREATE TABLE table_name_79 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_79 WHERE record = "15-14-4"</s> |
CREATE TABLE table_name_47 (particulate_size_approaching_100_percentage_retention VARCHAR, usage VARCHAR, class VARCHAR) | SELECT particulate_size_approaching_100_percentage_retention FROM table_name_47 WHERE usage = "semi hepa" AND class = "h12" | Which Particulate size approaching 100% retention has a Usage of semi hepa and a Class of h12? | <s>[INST]Which Particulate size approaching 100% retention has a Usage of semi hepa and a Class of h12? Context: CREATE TABLE table_name_47 (particulate_size_approaching_100_percentage_retention VARCHAR, usage VARCHAR, class VARCHAR)[/INST]SELECT particulate_size_approaching_100_percentage_retention FROM table_name_47 WHERE usage = "semi hepa" AND class = "h12"</s> |
CREATE TABLE table_name_74 (born_died VARCHAR, left_office VARCHAR, throne_name VARCHAR) | SELECT born_died FROM table_name_74 WHERE left_office = "1021" AND throne_name = "315" | What is teh born-died dates of the king with a throne name 315 and left office in 1021? | <s>[INST]What is teh born-died dates of the king with a throne name 315 and left office in 1021? Context: CREATE TABLE table_name_74 (born_died VARCHAR, left_office VARCHAR, throne_name VARCHAR)[/INST]SELECT born_died FROM table_name_74 WHERE left_office = "1021" AND throne_name = "315"</s> |
CREATE TABLE table_name_16 (tries VARCHAR, date VARCHAR) | SELECT tries FROM table_name_16 WHERE date = "06/07/1996" | How many tries took place on 06/07/1996? | <s>[INST]How many tries took place on 06/07/1996? Context: CREATE TABLE table_name_16 (tries VARCHAR, date VARCHAR)[/INST]SELECT tries FROM table_name_16 WHERE date = "06/07/1996"</s> |
CREATE TABLE table_name_9 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_9 WHERE away_team = "hull city" | What score has hull city as the away team? | <s>[INST]What score has hull city as the away team? Context: CREATE TABLE table_name_9 (score VARCHAR, away_team VARCHAR)[/INST]SELECT score FROM table_name_9 WHERE away_team = "hull city"</s> |
CREATE TABLE table_27723228_8 (record VARCHAR, high_points VARCHAR) | SELECT record FROM table_27723228_8 WHERE high_points = "Chris Paul (16)" | What was the record when chris paul (16) had the high points? | <s>[INST]What was the record when chris paul (16) had the high points? Context: CREATE TABLE table_27723228_8 (record VARCHAR, high_points VARCHAR)[/INST]SELECT record FROM table_27723228_8 WHERE high_points = "Chris Paul (16)"</s> |
CREATE TABLE table_name_63 (overall VARCHAR, position VARCHAR, round VARCHAR) | SELECT COUNT(overall) FROM table_name_63 WHERE position = "c" AND round > 9 | What is the total number of overall draft picks for player whose position is C and was picked after round 9? | <s>[INST]What is the total number of overall draft picks for player whose position is C and was picked after round 9? Context: CREATE TABLE table_name_63 (overall VARCHAR, position VARCHAR, round VARCHAR)[/INST]SELECT COUNT(overall) FROM table_name_63 WHERE position = "c" AND round > 9</s> |
CREATE TABLE table_name_43 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_43 WHERE away_team = "northampton town" | What date was the game when away team northampton town played? | <s>[INST]What date was the game when away team northampton town played? Context: CREATE TABLE table_name_43 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_43 WHERE away_team = "northampton town"</s> |
CREATE TABLE table_name_83 (draws INTEGER, south_west_dfl VARCHAR, wins VARCHAR) | SELECT SUM(draws) FROM table_name_83 WHERE south_west_dfl = "tyrendarra" AND wins < 10 | How many Draws have a South West DFL of tyrendarra, and less than 10 wins? | <s>[INST]How many Draws have a South West DFL of tyrendarra, and less than 10 wins? Context: CREATE TABLE table_name_83 (draws INTEGER, south_west_dfl VARCHAR, wins VARCHAR)[/INST]SELECT SUM(draws) FROM table_name_83 WHERE south_west_dfl = "tyrendarra" AND wins < 10</s> |
CREATE TABLE table_name_31 (date VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_31 WHERE week < 8 AND opponent = "atlanta falcons" | Which Date has a Week smaller than 8, and an Opponent of atlanta falcons? | <s>[INST]Which Date has a Week smaller than 8, and an Opponent of atlanta falcons? Context: CREATE TABLE table_name_31 (date VARCHAR, week VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_31 WHERE week < 8 AND opponent = "atlanta falcons"</s> |
CREATE TABLE table_1139835_1 (venue VARCHAR, margin VARCHAR) | SELECT venue FROM table_1139835_1 WHERE margin = 4 | what is the venue where the margin is 4? | <s>[INST]what is the venue where the margin is 4? Context: CREATE TABLE table_1139835_1 (venue VARCHAR, margin VARCHAR)[/INST]SELECT venue FROM table_1139835_1 WHERE margin = 4</s> |
CREATE TABLE table_name_49 (losses VARCHAR, ties VARCHAR, poll_wins VARCHAR) | SELECT COUNT(losses) FROM table_name_49 WHERE ties = 1 AND poll_wins > 3 | What are the number of losses that have Ties of 1 and 3 or more poll wins? | <s>[INST]What are the number of losses that have Ties of 1 and 3 or more poll wins? Context: CREATE TABLE table_name_49 (losses VARCHAR, ties VARCHAR, poll_wins VARCHAR)[/INST]SELECT COUNT(losses) FROM table_name_49 WHERE ties = 1 AND poll_wins > 3</s> |
CREATE TABLE table_name_72 (median_family_income VARCHAR, median_household_income VARCHAR) | SELECT median_family_income FROM table_name_72 WHERE median_household_income = "$25,583" | What's the median family income with a household income of $25,583? | <s>[INST]What's the median family income with a household income of $25,583? Context: CREATE TABLE table_name_72 (median_family_income VARCHAR, median_household_income VARCHAR)[/INST]SELECT median_family_income FROM table_name_72 WHERE median_household_income = "$25,583"</s> |
CREATE TABLE Ref_locations (Id VARCHAR) | SELECT COUNT(*) FROM Ref_locations | Show the number of locations. | <s>[INST]Show the number of locations. Context: CREATE TABLE Ref_locations (Id VARCHAR)[/INST]SELECT COUNT(*) FROM Ref_locations</s> |
CREATE TABLE table_name_28 (nation VARCHAR, gold VARCHAR, bronze VARCHAR) | SELECT nation FROM table_name_28 WHERE gold = 0 AND bronze < 1 | For what nation is the gold medals 0, and the bronze medals less than 1? | <s>[INST]For what nation is the gold medals 0, and the bronze medals less than 1? Context: CREATE TABLE table_name_28 (nation VARCHAR, gold VARCHAR, bronze VARCHAR)[/INST]SELECT nation FROM table_name_28 WHERE gold = 0 AND bronze < 1</s> |
CREATE TABLE table_name_9 (nationality VARCHAR, pick VARCHAR, school_club_team VARCHAR) | SELECT nationality FROM table_name_9 WHERE pick > 183 AND school_club_team = "drexel" | What is the nationality of the player from Drexel who had a pick larger than 183? | <s>[INST]What is the nationality of the player from Drexel who had a pick larger than 183? Context: CREATE TABLE table_name_9 (nationality VARCHAR, pick VARCHAR, school_club_team VARCHAR)[/INST]SELECT nationality FROM table_name_9 WHERE pick > 183 AND school_club_team = "drexel"</s> |
CREATE TABLE table_name_31 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_31 WHERE record = "10-1" | What opponent does she fight when she is 10-1? | <s>[INST]What opponent does she fight when she is 10-1? Context: CREATE TABLE table_name_31 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_31 WHERE record = "10-1"</s> |
CREATE TABLE table_name_13 (season VARCHAR, winner VARCHAR) | SELECT season FROM table_name_13 WHERE winner = "stoke city" | What season did Stoke City win? | <s>[INST]What season did Stoke City win? Context: CREATE TABLE table_name_13 (season VARCHAR, winner VARCHAR)[/INST]SELECT season FROM table_name_13 WHERE winner = "stoke city"</s> |
CREATE TABLE table_27319183_7 (episode VARCHAR, share___percentage_ VARCHAR) | SELECT episode FROM table_27319183_7 WHERE share___percentage_ = "41.5" | What episode had a share percentage of 41.5%? | <s>[INST]What episode had a share percentage of 41.5%? Context: CREATE TABLE table_27319183_7 (episode VARCHAR, share___percentage_ VARCHAR)[/INST]SELECT episode FROM table_27319183_7 WHERE share___percentage_ = "41.5"</s> |
CREATE TABLE table_2508633_2 (pick__number INTEGER, position VARCHAR, nfl_team VARCHAR) | SELECT MAX(pick__number) FROM table_2508633_2 WHERE position = "Guard" AND nfl_team = "Kansas City Chiefs" | Name the most pick number for guard and kansas city chiefs | <s>[INST]Name the most pick number for guard and kansas city chiefs Context: CREATE TABLE table_2508633_2 (pick__number INTEGER, position VARCHAR, nfl_team VARCHAR)[/INST]SELECT MAX(pick__number) FROM table_2508633_2 WHERE position = "Guard" AND nfl_team = "Kansas City Chiefs"</s> |
CREATE TABLE table_name_65 (last_year VARCHAR, first_year VARCHAR, publisher VARCHAR) | SELECT last_year FROM table_name_65 WHERE first_year = "1937" AND publisher = "dc comics" | When did the DC Comics title that debuted in 1937 end? | <s>[INST]When did the DC Comics title that debuted in 1937 end? Context: CREATE TABLE table_name_65 (last_year VARCHAR, first_year VARCHAR, publisher VARCHAR)[/INST]SELECT last_year FROM table_name_65 WHERE first_year = "1937" AND publisher = "dc comics"</s> |
CREATE TABLE table_22329326_1 (owned_since VARCHAR, station VARCHAR) | SELECT owned_since FROM table_22329326_1 WHERE station = "WLS-TV" | When was the station WLS-TV owned since? | <s>[INST]When was the station WLS-TV owned since? Context: CREATE TABLE table_22329326_1 (owned_since VARCHAR, station VARCHAR)[/INST]SELECT owned_since FROM table_22329326_1 WHERE station = "WLS-TV"</s> |
CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, director VARCHAR, mID VARCHAR) | SELECT T2.title, T1.stars, T2.director, MAX(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE director <> "null" GROUP BY director | For each director, return the director's name together with the title of the movie they directed that received the highest rating among all of their movies, and the value of that rating. Ignore movies whose director is NULL. | <s>[INST]For each director, return the director's name together with the title of the movie they directed that received the highest rating among all of their movies, and the value of that rating. Ignore movies whose director is NULL. Context: CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, director VARCHAR, mID VARCHAR)[/INST]SELECT T2.title, T1.stars, T2.director, MAX(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE director <> "null" GROUP BY director</s> |
CREATE TABLE table_2062148_4 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_2062148_4 WHERE venue = "Moonee Valley" | Name the date for moonee valley | <s>[INST]Name the date for moonee valley Context: CREATE TABLE table_2062148_4 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_2062148_4 WHERE venue = "Moonee Valley"</s> |
CREATE TABLE table_name_24 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_24 WHERE date = "30 january 2013" | Name the score for 30 january 2013 | <s>[INST]Name the score for 30 january 2013 Context: CREATE TABLE table_name_24 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_24 WHERE date = "30 january 2013"</s> |
CREATE TABLE table_25363904_2 (season__number INTEGER, title_english VARCHAR) | SELECT MIN(season__number) FROM table_25363904_2 WHERE title_english = "Two marriage proposals" | Name the least season number for two marriage proposals | <s>[INST]Name the least season number for two marriage proposals Context: CREATE TABLE table_25363904_2 (season__number INTEGER, title_english VARCHAR)[/INST]SELECT MIN(season__number) FROM table_25363904_2 WHERE title_english = "Two marriage proposals"</s> |
CREATE TABLE table_name_7 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_7 WHERE venue = "arden street oval" | When did the game at Arden Street Oval occur? | <s>[INST]When did the game at Arden Street Oval occur? Context: CREATE TABLE table_name_7 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_7 WHERE venue = "arden street oval"</s> |
CREATE TABLE table_11019212_1 (thursday VARCHAR, location VARCHAR) | SELECT thursday FROM table_11019212_1 WHERE location = "Hawthorne" | what's the thursday time with location being hawthorne | <s>[INST]what's the thursday time with location being hawthorne Context: CREATE TABLE table_11019212_1 (thursday VARCHAR, location VARCHAR)[/INST]SELECT thursday FROM table_11019212_1 WHERE location = "Hawthorne"</s> |
CREATE TABLE table_name_57 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_57 WHERE away_team = "fitzroy" | Which venue does Fitzroy play as an away team? | <s>[INST]Which venue does Fitzroy play as an away team? Context: CREATE TABLE table_name_57 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_57 WHERE away_team = "fitzroy"</s> |
CREATE TABLE table_name_19 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_19 WHERE venue = "moorabbin oval" | What away team is based in moorabbin oval? | <s>[INST]What away team is based in moorabbin oval? Context: CREATE TABLE table_name_19 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_19 WHERE venue = "moorabbin oval"</s> |
CREATE TABLE table_26263322_1 (age INTEGER, result VARCHAR) | SELECT MIN(age) FROM table_26263322_1 WHERE result = "Fired in week 8" | What is the age when the result is fired in week 8 | <s>[INST]What is the age when the result is fired in week 8 Context: CREATE TABLE table_26263322_1 (age INTEGER, result VARCHAR)[/INST]SELECT MIN(age) FROM table_26263322_1 WHERE result = "Fired in week 8"</s> |
CREATE TABLE table_12784134_1 (meaning VARCHAR, basic_stem__root_ VARCHAR) | SELECT meaning FROM table_12784134_1 WHERE basic_stem__root_ = "-rama-" | What does the basic stem (root) -rama- mean? | <s>[INST]What does the basic stem (root) -rama- mean? Context: CREATE TABLE table_12784134_1 (meaning VARCHAR, basic_stem__root_ VARCHAR)[/INST]SELECT meaning FROM table_12784134_1 WHERE basic_stem__root_ = "-rama-"</s> |
CREATE TABLE table_27922491_20 (wickets INTEGER) | SELECT MIN(wickets) FROM table_27922491_20 | What is the fewest number of wickets recorded? | <s>[INST]What is the fewest number of wickets recorded? Context: CREATE TABLE table_27922491_20 (wickets INTEGER)[/INST]SELECT MIN(wickets) FROM table_27922491_20</s> |
CREATE TABLE table_29572583_20 (status VARCHAR, seed VARCHAR) | SELECT status FROM table_29572583_20 WHERE seed = 14 | what is the status for seed 14 | <s>[INST]what is the status for seed 14 Context: CREATE TABLE table_29572583_20 (status VARCHAR, seed VARCHAR)[/INST]SELECT status FROM table_29572583_20 WHERE seed = 14</s> |
CREATE TABLE table_name_44 (entrant VARCHAR, engine VARCHAR, points VARCHAR) | SELECT entrant FROM table_name_44 WHERE engine = "climax straight-4" AND points > 0 | Which Entrant has an Engine of climax straight-4, and Points larger than 0? | <s>[INST]Which Entrant has an Engine of climax straight-4, and Points larger than 0? Context: CREATE TABLE table_name_44 (entrant VARCHAR, engine VARCHAR, points VARCHAR)[/INST]SELECT entrant FROM table_name_44 WHERE engine = "climax straight-4" AND points > 0</s> |
CREATE TABLE table_name_79 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_79 WHERE player = "britton johnsen" | What was the Position of the Player, Britton Johnsen? | <s>[INST]What was the Position of the Player, Britton Johnsen? Context: CREATE TABLE table_name_79 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_79 WHERE player = "britton johnsen"</s> |
CREATE TABLE table_name_12 (team VARCHAR, driver VARCHAR) | SELECT team FROM table_name_12 WHERE driver = "colin moore" | Which team does Colin Moore drive for? | <s>[INST]Which team does Colin Moore drive for? Context: CREATE TABLE table_name_12 (team VARCHAR, driver VARCHAR)[/INST]SELECT team FROM table_name_12 WHERE driver = "colin moore"</s> |
CREATE TABLE competition (Competition_type VARCHAR) | SELECT Competition_type, COUNT(*) FROM competition GROUP BY Competition_type | List the types of competition and the number of competitions of each type. | <s>[INST]List the types of competition and the number of competitions of each type. Context: CREATE TABLE competition (Competition_type VARCHAR)[/INST]SELECT Competition_type, COUNT(*) FROM competition GROUP BY Competition_type</s> |
CREATE TABLE table_name_50 (gold VARCHAR, bronze VARCHAR) | SELECT gold FROM table_name_50 WHERE bronze = "chinese taipei" | What country won gold in the year(s) that Chinese Taipei won bronze? | <s>[INST]What country won gold in the year(s) that Chinese Taipei won bronze? Context: CREATE TABLE table_name_50 (gold VARCHAR, bronze VARCHAR)[/INST]SELECT gold FROM table_name_50 WHERE bronze = "chinese taipei"</s> |
CREATE TABLE table_name_79 (lost INTEGER, team VARCHAR, goals_against VARCHAR) | SELECT AVG(lost) FROM table_name_79 WHERE team = "matlock town" AND goals_against > 66 | What is the average Lost for Team Matlock Town when the Goals Against is higher than 66? | <s>[INST]What is the average Lost for Team Matlock Town when the Goals Against is higher than 66? Context: CREATE TABLE table_name_79 (lost INTEGER, team VARCHAR, goals_against VARCHAR)[/INST]SELECT AVG(lost) FROM table_name_79 WHERE team = "matlock town" AND goals_against > 66</s> |
CREATE TABLE table_name_96 (byes VARCHAR, wins VARCHAR, losses VARCHAR) | SELECT COUNT(byes) FROM table_name_96 WHERE wins = 8 AND losses > 10 | What is the sum of byes when wins are 8, and losses are larger than 10? | <s>[INST]What is the sum of byes when wins are 8, and losses are larger than 10? Context: CREATE TABLE table_name_96 (byes VARCHAR, wins VARCHAR, losses VARCHAR)[/INST]SELECT COUNT(byes) FROM table_name_96 WHERE wins = 8 AND losses > 10</s> |
CREATE TABLE table_2781227_10 (college_junior_club_team VARCHAR, pick VARCHAR) | SELECT college_junior_club_team FROM table_2781227_10 WHERE pick = 255 | Which school players have a number of 255 | <s>[INST]Which school players have a number of 255 Context: CREATE TABLE table_2781227_10 (college_junior_club_team VARCHAR, pick VARCHAR)[/INST]SELECT college_junior_club_team FROM table_2781227_10 WHERE pick = 255</s> |
CREATE TABLE table_name_19 (college_junior_club_team VARCHAR, round VARCHAR, pick VARCHAR) | SELECT college_junior_club_team FROM table_name_19 WHERE round < 8 AND pick = 50 | What College/Junior/Club Team has Pick 50 before Round 8? | <s>[INST]What College/Junior/Club Team has Pick 50 before Round 8? Context: CREATE TABLE table_name_19 (college_junior_club_team VARCHAR, round VARCHAR, pick VARCHAR)[/INST]SELECT college_junior_club_team FROM table_name_19 WHERE round < 8 AND pick = 50</s> |
CREATE TABLE table_11900773_6 (first_day_cover_cancellation VARCHAR, date_of_issue VARCHAR, theme VARCHAR) | SELECT first_day_cover_cancellation FROM table_11900773_6 WHERE date_of_issue = "3 April 2008" AND theme = "IIHF World Championships, Quebec City" | Where is the first day cover cancellation for the 3 April 2008 IIHF World Championships, Quebec City stamp? | <s>[INST]Where is the first day cover cancellation for the 3 April 2008 IIHF World Championships, Quebec City stamp? Context: CREATE TABLE table_11900773_6 (first_day_cover_cancellation VARCHAR, date_of_issue VARCHAR, theme VARCHAR)[/INST]SELECT first_day_cover_cancellation FROM table_11900773_6 WHERE date_of_issue = "3 April 2008" AND theme = "IIHF World Championships, Quebec City"</s> |
CREATE TABLE table_name_54 (category VARCHAR, for_the_show VARCHAR, year VARCHAR) | SELECT category FROM table_name_54 WHERE for_the_show = "kasautii zindagii kay" AND year = 2006 | For 2006 what category has the Show of kasautii zindagii kay? | <s>[INST]For 2006 what category has the Show of kasautii zindagii kay? Context: CREATE TABLE table_name_54 (category VARCHAR, for_the_show VARCHAR, year VARCHAR)[/INST]SELECT category FROM table_name_54 WHERE for_the_show = "kasautii zindagii kay" AND year = 2006</s> |
CREATE TABLE table_29273057_1 (directed_by VARCHAR, production_code VARCHAR) | SELECT directed_by FROM table_29273057_1 WHERE production_code = "IP01003" | Who directed the episode with production code ip01003? | <s>[INST]Who directed the episode with production code ip01003? Context: CREATE TABLE table_29273057_1 (directed_by VARCHAR, production_code VARCHAR)[/INST]SELECT directed_by FROM table_29273057_1 WHERE production_code = "IP01003"</s> |
CREATE TABLE table_name_47 (position INTEGER, lost VARCHAR, points VARCHAR, name VARCHAR) | SELECT MIN(position) FROM table_name_47 WHERE points > 11 AND name = "ea schongau" AND lost < 3 | what is the lowest position when points is more than 11, name is ea schongau and lost is less than 3? | <s>[INST]what is the lowest position when points is more than 11, name is ea schongau and lost is less than 3? Context: CREATE TABLE table_name_47 (position INTEGER, lost VARCHAR, points VARCHAR, name VARCHAR)[/INST]SELECT MIN(position) FROM table_name_47 WHERE points > 11 AND name = "ea schongau" AND lost < 3</s> |
CREATE TABLE table_name_89 (driver VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT driver FROM table_name_89 WHERE laps < 19 AND grid < 10 | What driver has under 19 laps and a grid under 10? | <s>[INST]What driver has under 19 laps and a grid under 10? Context: CREATE TABLE table_name_89 (driver VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT driver FROM table_name_89 WHERE laps < 19 AND grid < 10</s> |
CREATE TABLE table_2182573_2 (avg_finish VARCHAR, year VARCHAR) | SELECT avg_finish FROM table_2182573_2 WHERE year = 2007 | What was the average finish in 2007? | <s>[INST]What was the average finish in 2007? Context: CREATE TABLE table_2182573_2 (avg_finish VARCHAR, year VARCHAR)[/INST]SELECT avg_finish FROM table_2182573_2 WHERE year = 2007</s> |
CREATE TABLE table_name_23 (result VARCHAR, rank_number VARCHAR, date VARCHAR) | SELECT result FROM table_name_23 WHERE rank_number = "2" AND date = "december 6, 1969" | What was the result for Rank 2 on December 6, 1969? | <s>[INST]What was the result for Rank 2 on December 6, 1969? Context: CREATE TABLE table_name_23 (result VARCHAR, rank_number VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_23 WHERE rank_number = "2" AND date = "december 6, 1969"</s> |
CREATE TABLE table_name_42 (points VARCHAR, position VARCHAR, played VARCHAR) | SELECT COUNT(points) FROM table_name_42 WHERE position > 3 AND played < 14 | How many Points have a Position larger than 3, and a Played smaller than 14? | <s>[INST]How many Points have a Position larger than 3, and a Played smaller than 14? Context: CREATE TABLE table_name_42 (points VARCHAR, position VARCHAR, played VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_42 WHERE position > 3 AND played < 14</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.