context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_73 (athlete VARCHAR, place VARCHAR) | SELECT athlete FROM table_name_73 WHERE place = "reno" | What athlete has reno as the place? | <s>[INST]What athlete has reno as the place? Context: CREATE TABLE table_name_73 (athlete VARCHAR, place VARCHAR)[/INST]SELECT athlete FROM table_name_73 WHERE place = "reno"</s> |
CREATE TABLE table_27257896_2 (indians VARCHAR, salary_range VARCHAR) | SELECT indians FROM table_27257896_2 WHERE salary_range = "4,000-9,000" | If the salary range is 4,000-9,000, what is the Indians %? | <s>[INST]If the salary range is 4,000-9,000, what is the Indians %? Context: CREATE TABLE table_27257896_2 (indians VARCHAR, salary_range VARCHAR)[/INST]SELECT indians FROM table_27257896_2 WHERE salary_range = "4,000-9,000"</s> |
CREATE TABLE table_name_91 (player VARCHAR, year_s__won VARCHAR) | SELECT player FROM table_name_91 WHERE year_s__won = "1994" | Who is the player who won in 1994? | <s>[INST]Who is the player who won in 1994? Context: CREATE TABLE table_name_91 (player VARCHAR, year_s__won VARCHAR)[/INST]SELECT player FROM table_name_91 WHERE year_s__won = "1994"</s> |
CREATE TABLE table_name_89 (nation VARCHAR, time VARCHAR, heat_semifinal_final VARCHAR) | SELECT nation FROM table_name_89 WHERE time = "51.35" AND heat_semifinal_final = "final" | What nation has a time of 51.35 in the final heat? | <s>[INST]What nation has a time of 51.35 in the final heat? Context: CREATE TABLE table_name_89 (nation VARCHAR, time VARCHAR, heat_semifinal_final VARCHAR)[/INST]SELECT nation FROM table_name_89 WHERE time = "51.35" AND heat_semifinal_final = "final"</s> |
CREATE TABLE table_25517718_3 (starter VARCHAR, position VARCHAR) | SELECT COUNT(starter) FROM table_25517718_3 WHERE position = "Right tackle" | How many starters are there at right tackle? | <s>[INST]How many starters are there at right tackle? Context: CREATE TABLE table_25517718_3 (starter VARCHAR, position VARCHAR)[/INST]SELECT COUNT(starter) FROM table_25517718_3 WHERE position = "Right tackle"</s> |
CREATE TABLE table_name_31 (date VARCHAR, race VARCHAR) | SELECT date FROM table_name_31 WHERE race = "northern spur breeders' cup stakes" | What Date is Northern Spur Breeders' Cup Stakes Race? | <s>[INST]What Date is Northern Spur Breeders' Cup Stakes Race? Context: CREATE TABLE table_name_31 (date VARCHAR, race VARCHAR)[/INST]SELECT date FROM table_name_31 WHERE race = "northern spur breeders' cup stakes"</s> |
CREATE TABLE table_name_25 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_name_25 WHERE result = "won 5-0" | Where was the game with a result of won 5-0? | <s>[INST]Where was the game with a result of won 5-0? Context: CREATE TABLE table_name_25 (venue VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_25 WHERE result = "won 5-0"</s> |
CREATE TABLE table_name_83 (east VARCHAR, west VARCHAR) | SELECT east FROM table_name_83 WHERE west = "ev landsberg" | What is the east with ev landsberg as the west? | <s>[INST]What is the east with ev landsberg as the west? Context: CREATE TABLE table_name_83 (east VARCHAR, west VARCHAR)[/INST]SELECT east FROM table_name_83 WHERE west = "ev landsberg"</s> |
CREATE TABLE table_name_17 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_17 WHERE player = "jack nicklaus" | What country is Jack Nicklaus from? | <s>[INST]What country is Jack Nicklaus from? Context: CREATE TABLE table_name_17 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_17 WHERE player = "jack nicklaus"</s> |
CREATE TABLE table_name_64 (apps INTEGER, player VARCHAR, goals VARCHAR) | SELECT AVG(apps) FROM table_name_64 WHERE player = "gilberto" AND goals > 1 | How many Apps did Player Gilberto with more than 1 Goals have? | <s>[INST]How many Apps did Player Gilberto with more than 1 Goals have? Context: CREATE TABLE table_name_64 (apps INTEGER, player VARCHAR, goals VARCHAR)[/INST]SELECT AVG(apps) FROM table_name_64 WHERE player = "gilberto" AND goals > 1</s> |
CREATE TABLE table_name_46 (total INTEGER, gold VARCHAR, silver VARCHAR) | SELECT MIN(total) FROM table_name_46 WHERE gold = 3 AND silver < 3 | What is the lowest total of medals that has a gold of 3 and a silver less than 3? | <s>[INST]What is the lowest total of medals that has a gold of 3 and a silver less than 3? Context: CREATE TABLE table_name_46 (total INTEGER, gold VARCHAR, silver VARCHAR)[/INST]SELECT MIN(total) FROM table_name_46 WHERE gold = 3 AND silver < 3</s> |
CREATE TABLE table_17323092_7 (high_rebounds VARCHAR, high_assists VARCHAR) | SELECT high_rebounds FROM table_17323092_7 WHERE high_assists = "Shawn Marion (6)" | When the high assists were Shawn Marion (6) who had high rebounds? | <s>[INST]When the high assists were Shawn Marion (6) who had high rebounds? Context: CREATE TABLE table_17323092_7 (high_rebounds VARCHAR, high_assists VARCHAR)[/INST]SELECT high_rebounds FROM table_17323092_7 WHERE high_assists = "Shawn Marion (6)"</s> |
CREATE TABLE table_name_91 (_jerk VARCHAR, clean_ INTEGER, snatch VARCHAR, bodyweight VARCHAR) | SELECT MAX(clean_) & _jerk FROM table_name_91 WHERE snatch < 150 AND bodyweight > 93.13 | What is the biggest clean and jerk number when snatch was less than 150 and the bodyweight was bigger than 93.13? | <s>[INST]What is the biggest clean and jerk number when snatch was less than 150 and the bodyweight was bigger than 93.13? Context: CREATE TABLE table_name_91 (_jerk VARCHAR, clean_ INTEGER, snatch VARCHAR, bodyweight VARCHAR)[/INST]SELECT MAX(clean_) & _jerk FROM table_name_91 WHERE snatch < 150 AND bodyweight > 93.13... |
CREATE TABLE table_name_27 (interview INTEGER, state VARCHAR) | SELECT AVG(interview) FROM table_name_27 WHERE state = "kentucky" | What is the average interview score from Kentucky? | <s>[INST]What is the average interview score from Kentucky? Context: CREATE TABLE table_name_27 (interview INTEGER, state VARCHAR)[/INST]SELECT AVG(interview) FROM table_name_27 WHERE state = "kentucky"</s> |
CREATE TABLE table_name_6 (opening_date VARCHAR, classification VARCHAR, theatre VARCHAR) | SELECT opening_date FROM table_name_6 WHERE classification = "musical" AND theatre = "adelphi theatre" | What is the opening date of the musical at the adelphi theatre? | <s>[INST]What is the opening date of the musical at the adelphi theatre? Context: CREATE TABLE table_name_6 (opening_date VARCHAR, classification VARCHAR, theatre VARCHAR)[/INST]SELECT opening_date FROM table_name_6 WHERE classification = "musical" AND theatre = "adelphi theatre"</s> |
CREATE TABLE table_26137666_3 (pole_position VARCHAR, circuit VARCHAR, winning_driver VARCHAR) | SELECT pole_position FROM table_26137666_3 WHERE circuit = "Castle Combe" AND winning_driver = "Robbie Kerr" | What is every pole position for the Castle Combe circuit and Robbie Kerr is the winning driver? | <s>[INST]What is every pole position for the Castle Combe circuit and Robbie Kerr is the winning driver? Context: CREATE TABLE table_26137666_3 (pole_position VARCHAR, circuit VARCHAR, winning_driver VARCHAR)[/INST]SELECT pole_position FROM table_26137666_3 WHERE circuit = "Castle Combe" AND winning_driver = "Robbie Ke... |
CREATE TABLE table_name_68 (losses INTEGER, byes VARCHAR, draws VARCHAR, wins VARCHAR) | SELECT MIN(losses) FROM table_name_68 WHERE draws = 0 AND wins < 4 AND byes < 0 | What is the lowest losses for a team that has 0 draws, fewer than 4 wins, and no Byes? | <s>[INST]What is the lowest losses for a team that has 0 draws, fewer than 4 wins, and no Byes? Context: CREATE TABLE table_name_68 (losses INTEGER, byes VARCHAR, draws VARCHAR, wins VARCHAR)[/INST]SELECT MIN(losses) FROM table_name_68 WHERE draws = 0 AND wins < 4 AND byes < 0</s> |
CREATE TABLE table_name_27 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR) | SELECT reserved_for___sc___st__none_ FROM table_name_27 WHERE name = "jawad" | What is reserved for Jawad? | <s>[INST]What is reserved for Jawad? Context: CREATE TABLE table_name_27 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR)[/INST]SELECT reserved_for___sc___st__none_ FROM table_name_27 WHERE name = "jawad"</s> |
CREATE TABLE table_name_36 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_36 WHERE home_team = "footscray" | What is the average home team score for Footscray? | <s>[INST]What is the average home team score for Footscray? Context: CREATE TABLE table_name_36 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_36 WHERE home_team = "footscray"</s> |
CREATE TABLE table_name_61 (candidate_name VARCHAR, list VARCHAR, gender VARCHAR, votes VARCHAR, rank VARCHAR) | SELECT candidate_name FROM table_name_61 WHERE votes > 279 AND rank < 50 AND gender = "♀" AND list = "al-ahd" | Which candidate has more than 279 votes, rank less than 50, is ♀ and al-ahd? | <s>[INST]Which candidate has more than 279 votes, rank less than 50, is ♀ and al-ahd? Context: CREATE TABLE table_name_61 (candidate_name VARCHAR, list VARCHAR, gender VARCHAR, votes VARCHAR, rank VARCHAR)[/INST]SELECT candidate_name FROM table_name_61 WHERE votes > 279 AND rank < 50 AND gender = "♀" AND list = "al-ahd... |
CREATE TABLE table_name_16 (race_name VARCHAR, winning_team VARCHAR, pole_position VARCHAR) | SELECT race_name FROM table_name_16 WHERE winning_team = "mi-jack conquest racing" AND pole_position = "andreas wirth" | What race did the team Mi-Jack Conquest racing win with a pole position of andreas wirth? | <s>[INST]What race did the team Mi-Jack Conquest racing win with a pole position of andreas wirth? Context: CREATE TABLE table_name_16 (race_name VARCHAR, winning_team VARCHAR, pole_position VARCHAR)[/INST]SELECT race_name FROM table_name_16 WHERE winning_team = "mi-jack conquest racing" AND pole_position = "andreas wi... |
CREATE TABLE table_30049462_5 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_30049462_5 WHERE date = "December 7" | in december 7 who made the high points | <s>[INST]in december 7 who made the high points Context: CREATE TABLE table_30049462_5 (high_points VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_30049462_5 WHERE date = "December 7"</s> |
CREATE TABLE table_name_85 (tournament VARCHAR, partner VARCHAR, score VARCHAR) | SELECT tournament FROM table_name_85 WHERE partner = "barbara jordan" AND score = "6-2, 3-6, 3-6" | In what Tournament was Barbara Jordan a Partner with a Score of 6-2, 3-6, 3-6? | <s>[INST]In what Tournament was Barbara Jordan a Partner with a Score of 6-2, 3-6, 3-6? Context: CREATE TABLE table_name_85 (tournament VARCHAR, partner VARCHAR, score VARCHAR)[/INST]SELECT tournament FROM table_name_85 WHERE partner = "barbara jordan" AND score = "6-2, 3-6, 3-6"</s> |
CREATE TABLE table_name_67 (circuit VARCHAR, winning_team VARCHAR, fastest_lap VARCHAR) | SELECT circuit FROM table_name_67 WHERE winning_team = "marlboro team penske" AND fastest_lap = "unknown" | What circuit did marlboro team penske win with an unknown fastest lap? | <s>[INST]What circuit did marlboro team penske win with an unknown fastest lap? Context: CREATE TABLE table_name_67 (circuit VARCHAR, winning_team VARCHAR, fastest_lap VARCHAR)[/INST]SELECT circuit FROM table_name_67 WHERE winning_team = "marlboro team penske" AND fastest_lap = "unknown"</s> |
CREATE TABLE table_name_62 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_62 WHERE date = "october 14, 1984" | Who was the opponent on October 14, 1984? | <s>[INST]Who was the opponent on October 14, 1984? Context: CREATE TABLE table_name_62 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_62 WHERE date = "october 14, 1984"</s> |
CREATE TABLE table_name_51 (pick INTEGER, position VARCHAR, player VARCHAR) | SELECT MIN(pick) FROM table_name_51 WHERE position = "back" AND player = "chuck morris" | When was chuck morris, back, drafted? | <s>[INST]When was chuck morris, back, drafted? Context: CREATE TABLE table_name_51 (pick INTEGER, position VARCHAR, player VARCHAR)[/INST]SELECT MIN(pick) FROM table_name_51 WHERE position = "back" AND player = "chuck morris"</s> |
CREATE TABLE table_name_33 (date VARCHAR, week VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_33 WHERE week < 4 AND attendance > 54 OFFSET 015 | What date was the game that was before week 4 and was attended by over 54,015 people ? | <s>[INST]What date was the game that was before week 4 and was attended by over 54,015 people ? Context: CREATE TABLE table_name_33 (date VARCHAR, week VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_33 WHERE week < 4 AND attendance > 54 OFFSET 015</s> |
CREATE TABLE table_name_62 (co_drivers VARCHAR, laps VARCHAR, pos VARCHAR) | SELECT co_drivers FROM table_name_62 WHERE laps > 377 AND pos = "1st" | Who were the co-drivers with more than 377 laps in 1st position? | <s>[INST]Who were the co-drivers with more than 377 laps in 1st position? Context: CREATE TABLE table_name_62 (co_drivers VARCHAR, laps VARCHAR, pos VARCHAR)[/INST]SELECT co_drivers FROM table_name_62 WHERE laps > 377 AND pos = "1st"</s> |
CREATE TABLE table_name_75 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_75 WHERE result = "3–0" | What is the Date of the Competition with a Result of 3–0? | <s>[INST]What is the Date of the Competition with a Result of 3–0? Context: CREATE TABLE table_name_75 (date VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_75 WHERE result = "3–0"</s> |
CREATE TABLE table_name_10 (format VARCHAR, catalog VARCHAR) | SELECT format FROM table_name_10 WHERE catalog = "alca-9196" | What formated cataloged alca-9196? | <s>[INST]What formated cataloged alca-9196? Context: CREATE TABLE table_name_10 (format VARCHAR, catalog VARCHAR)[/INST]SELECT format FROM table_name_10 WHERE catalog = "alca-9196"</s> |
CREATE TABLE Courses (subject_id VARCHAR); CREATE TABLE Subjects (subject_name VARCHAR, subject_id VARCHAR) | SELECT T1.subject_id, T2.subject_name, COUNT(*) FROM Courses AS T1 JOIN Subjects AS T2 ON T1.subject_id = T2.subject_id GROUP BY T1.subject_id ORDER BY COUNT(*) | Find the subject ID, name of subject and the corresponding number of courses for each subject, and sort by the course count in ascending order. | <s>[INST]Find the subject ID, name of subject and the corresponding number of courses for each subject, and sort by the course count in ascending order. Context: CREATE TABLE Courses (subject_id VARCHAR); CREATE TABLE Subjects (subject_name VARCHAR, subject_id VARCHAR)[/INST]SELECT T1.subject_id, T2.subject_name, COUNT... |
CREATE TABLE table_name_56 (to_par VARCHAR, runner_up VARCHAR) | SELECT to_par FROM table_name_56 WHERE runner_up = "ken duke" | What was the to par of the tournament that had Ken Duke as a runner-up? | <s>[INST]What was the to par of the tournament that had Ken Duke as a runner-up? Context: CREATE TABLE table_name_56 (to_par VARCHAR, runner_up VARCHAR)[/INST]SELECT to_par FROM table_name_56 WHERE runner_up = "ken duke"</s> |
CREATE TABLE table_name_57 (week VARCHAR, tournament VARCHAR) | SELECT week FROM table_name_57 WHERE tournament = "cincinnati" | What week was the tournament at Cincinnati? | <s>[INST]What week was the tournament at Cincinnati? Context: CREATE TABLE table_name_57 (week VARCHAR, tournament VARCHAR)[/INST]SELECT week FROM table_name_57 WHERE tournament = "cincinnati"</s> |
CREATE TABLE table_23837321_4 (brooklyn VARCHAR, manhattan VARCHAR) | SELECT brooklyn FROM table_23837321_4 WHERE manhattan = "15.5_percentage" | what percentage is brooklyn when manhattan is 15.5%? | <s>[INST]what percentage is brooklyn when manhattan is 15.5%? Context: CREATE TABLE table_23837321_4 (brooklyn VARCHAR, manhattan VARCHAR)[/INST]SELECT brooklyn FROM table_23837321_4 WHERE manhattan = "15.5_percentage"</s> |
CREATE TABLE table_23649244_2 (release_date VARCHAR, artist_1 VARCHAR) | SELECT release_date FROM table_23649244_2 WHERE artist_1 = "Wolfgang Gartner" | If artist 1 is Wolfgang Gartner, what is the release date? | <s>[INST]If artist 1 is Wolfgang Gartner, what is the release date? Context: CREATE TABLE table_23649244_2 (release_date VARCHAR, artist_1 VARCHAR)[/INST]SELECT release_date FROM table_23649244_2 WHERE artist_1 = "Wolfgang Gartner"</s> |
CREATE TABLE table_name_20 (pts INTEGER, chassis VARCHAR) | SELECT MIN(pts) FROM table_name_20 WHERE chassis = "jordan 192" | What is the lowest number of points for an entrant with a Jordan 192 chassis? | <s>[INST]What is the lowest number of points for an entrant with a Jordan 192 chassis? Context: CREATE TABLE table_name_20 (pts INTEGER, chassis VARCHAR)[/INST]SELECT MIN(pts) FROM table_name_20 WHERE chassis = "jordan 192"</s> |
CREATE TABLE table_name_20 (player VARCHAR, round VARCHAR) | SELECT player FROM table_name_20 WHERE round = 8 | Who is the player from round 8? | <s>[INST]Who is the player from round 8? Context: CREATE TABLE table_name_20 (player VARCHAR, round VARCHAR)[/INST]SELECT player FROM table_name_20 WHERE round = 8</s> |
CREATE TABLE table_name_36 (class VARCHAR, quantity_made VARCHAR, fleet_number_s_ VARCHAR) | SELECT class FROM table_name_36 WHERE quantity_made = "1" AND fleet_number_s_ = "406" | What class had 1 made and fleet number of 406? | <s>[INST]What class had 1 made and fleet number of 406? Context: CREATE TABLE table_name_36 (class VARCHAR, quantity_made VARCHAR, fleet_number_s_ VARCHAR)[/INST]SELECT class FROM table_name_36 WHERE quantity_made = "1" AND fleet_number_s_ = "406"</s> |
CREATE TABLE table_name_98 (high_points VARCHAR, team VARCHAR) | SELECT high_points FROM table_name_98 WHERE team = "@ charlotte" | Who had the high points in the game @ Charlotte? | <s>[INST]Who had the high points in the game @ Charlotte? Context: CREATE TABLE table_name_98 (high_points VARCHAR, team VARCHAR)[/INST]SELECT high_points FROM table_name_98 WHERE team = "@ charlotte"</s> |
CREATE TABLE table_name_73 (enrollment INTEGER, location VARCHAR) | SELECT MAX(enrollment) FROM table_name_73 WHERE location = "kendallville" | What's the enrollment for Kendallville? | <s>[INST]What's the enrollment for Kendallville? Context: CREATE TABLE table_name_73 (enrollment INTEGER, location VARCHAR)[/INST]SELECT MAX(enrollment) FROM table_name_73 WHERE location = "kendallville"</s> |
CREATE TABLE table_1341453_11 (results VARCHAR, incumbent VARCHAR) | SELECT results FROM table_1341453_11 WHERE incumbent = "Peter Deutsch" | What are the results in the county with Peter Deutsch as a candidate? | <s>[INST]What are the results in the county with Peter Deutsch as a candidate? Context: CREATE TABLE table_1341453_11 (results VARCHAR, incumbent VARCHAR)[/INST]SELECT results FROM table_1341453_11 WHERE incumbent = "Peter Deutsch"</s> |
CREATE TABLE table_2588674_1 (population__2000_census__ INTEGER, area_km² VARCHAR) | SELECT MAX(population__2000_census__) FROM table_2588674_1 WHERE area_km² = "2.33" | What is the population for the place with an area of 2.33 km2? | <s>[INST]What is the population for the place with an area of 2.33 km2? Context: CREATE TABLE table_2588674_1 (population__2000_census__ INTEGER, area_km² VARCHAR)[/INST]SELECT MAX(population__2000_census__) FROM table_2588674_1 WHERE area_km² = "2.33"</s> |
CREATE TABLE table_name_48 (team_1 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_48 WHERE team_1 = "internacional" | What is the 2nd leg of the Internacional Team 1? | <s>[INST]What is the 2nd leg of the Internacional Team 1? Context: CREATE TABLE table_name_48 (team_1 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_48 WHERE team_1 = "internacional"</s> |
CREATE TABLE table_name_67 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_67 WHERE date = "february 27" | Name the record for february 27 | <s>[INST]Name the record for february 27 Context: CREATE TABLE table_name_67 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_67 WHERE date = "february 27"</s> |
CREATE TABLE table_name_69 (clock_multiplier VARCHAR, clock_speed VARCHAR, model_number VARCHAR) | SELECT clock_multiplier FROM table_name_69 WHERE clock_speed = "1.6 ghz" AND model_number = "c7-m 764" | Which Clock Multiplier has a Clock Speed of 1.6 ghz, and a Model Number of c7-m 764? | <s>[INST]Which Clock Multiplier has a Clock Speed of 1.6 ghz, and a Model Number of c7-m 764? Context: CREATE TABLE table_name_69 (clock_multiplier VARCHAR, clock_speed VARCHAR, model_number VARCHAR)[/INST]SELECT clock_multiplier FROM table_name_69 WHERE clock_speed = "1.6 ghz" AND model_number = "c7-m 764"</s> |
CREATE TABLE table_name_14 (school VARCHAR, player VARCHAR) | SELECT school FROM table_name_14 WHERE player = "jason fraser" | Tell me the school that jason fraser went to | <s>[INST]Tell me the school that jason fraser went to Context: CREATE TABLE table_name_14 (school VARCHAR, player VARCHAR)[/INST]SELECT school FROM table_name_14 WHERE player = "jason fraser"</s> |
CREATE TABLE table_name_21 (result VARCHAR, season VARCHAR, coach VARCHAR, division VARCHAR) | SELECT result FROM table_name_21 WHERE coach = "dave farrish" AND division = "southwest" AND season = "2000-01" | What was the result of the 2000-01 season in which the IceGators were part of the Southwest division and were coached by Dave Farrish? | <s>[INST]What was the result of the 2000-01 season in which the IceGators were part of the Southwest division and were coached by Dave Farrish? Context: CREATE TABLE table_name_21 (result VARCHAR, season VARCHAR, coach VARCHAR, division VARCHAR)[/INST]SELECT result FROM table_name_21 WHERE coach = "dave farrish" AND di... |
CREATE TABLE table_name_34 (score VARCHAR, team VARCHAR) | SELECT score FROM table_name_34 WHERE team = "toronto" | What was the score when the jazz played against toronto? | <s>[INST]What was the score when the jazz played against toronto? Context: CREATE TABLE table_name_34 (score VARCHAR, team VARCHAR)[/INST]SELECT score FROM table_name_34 WHERE team = "toronto"</s> |
CREATE TABLE table_21378339_5 (score VARCHAR, artist VARCHAR) | SELECT score FROM table_21378339_5 WHERE artist = "Rebeka Dremelj" | Name the score for rebeka dremelj | <s>[INST]Name the score for rebeka dremelj Context: CREATE TABLE table_21378339_5 (score VARCHAR, artist VARCHAR)[/INST]SELECT score FROM table_21378339_5 WHERE artist = "Rebeka Dremelj"</s> |
CREATE TABLE table_name_57 (record VARCHAR, method VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_57 WHERE method = "tko (strikes)" AND opponent = "daan kooiman" | Which record has tko (strikes) as the method, and daan kooiman as the opponent? | <s>[INST]Which record has tko (strikes) as the method, and daan kooiman as the opponent? Context: CREATE TABLE table_name_57 (record VARCHAR, method VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_57 WHERE method = "tko (strikes)" AND opponent = "daan kooiman"</s> |
CREATE TABLE table_name_91 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR) | SELECT driver FROM table_name_91 WHERE time_retired = "engine" AND grid < 9 | Who drive the car that retired due to engine failure and a grid of less than 9? | <s>[INST]Who drive the car that retired due to engine failure and a grid of less than 9? Context: CREATE TABLE table_name_91 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR)[/INST]SELECT driver FROM table_name_91 WHERE time_retired = "engine" AND grid < 9</s> |
CREATE TABLE table_name_13 (opponents VARCHAR, score_f_a VARCHAR, date VARCHAR) | SELECT opponents FROM table_name_13 WHERE score_f_a = "3–0" AND date = "31 july 2007" | Score F–A of 3–0, and a Date of 31 july 2007 had what opponents? | <s>[INST]Score F–A of 3–0, and a Date of 31 july 2007 had what opponents? Context: CREATE TABLE table_name_13 (opponents VARCHAR, score_f_a VARCHAR, date VARCHAR)[/INST]SELECT opponents FROM table_name_13 WHERE score_f_a = "3–0" AND date = "31 july 2007"</s> |
CREATE TABLE table_name_38 (title VARCHAR, directed_by VARCHAR) | SELECT title FROM table_name_38 WHERE directed_by = "roy dupuis" | What is the title of the episode that was directed by Roy Dupuis? | <s>[INST]What is the title of the episode that was directed by Roy Dupuis? Context: CREATE TABLE table_name_38 (title VARCHAR, directed_by VARCHAR)[/INST]SELECT title FROM table_name_38 WHERE directed_by = "roy dupuis"</s> |
CREATE TABLE school (School_name VARCHAR, Mascot VARCHAR, IHSAA_Football_Class VARCHAR, school_id VARCHAR); CREATE TABLE budget (school_id VARCHAR, total_budget_percent_invested VARCHAR, total_budget_percent_budgeted VARCHAR) | SELECT T1.School_name, T1.Mascot, T1.IHSAA_Football_Class FROM school AS T1 JOIN budget AS T2 ON T1.school_id = T2.school_id WHERE Budgeted > 6000 OR YEAR < 2003 ORDER BY T2.total_budget_percent_invested, T2.total_budget_percent_budgeted | List the name, IHSAA Football Class, and Mascot of the schools that have more than 6000 of budgeted amount or were founded before 2003, in the order of percent of total invested budget and total budgeted budget. | <s>[INST]List the name, IHSAA Football Class, and Mascot of the schools that have more than 6000 of budgeted amount or were founded before 2003, in the order of percent of total invested budget and total budgeted budget. Context: CREATE TABLE school (School_name VARCHAR, Mascot VARCHAR, IHSAA_Football_Class VARCHAR, sc... |
CREATE TABLE table_20018310_1 (juntas_de_regantes__wub_ VARCHAR, irrigation_district VARCHAR) | SELECT juntas_de_regantes__wub_ FROM table_20018310_1 WHERE irrigation_district = "Azua Valley" | What are the Juntas de Regantes (WUB) within the Azua Valley? | <s>[INST]What are the Juntas de Regantes (WUB) within the Azua Valley? Context: CREATE TABLE table_20018310_1 (juntas_de_regantes__wub_ VARCHAR, irrigation_district VARCHAR)[/INST]SELECT juntas_de_regantes__wub_ FROM table_20018310_1 WHERE irrigation_district = "Azua Valley"</s> |
CREATE TABLE table_name_46 (governors_1950 VARCHAR, general_1950 VARCHAR) | SELECT governors_1950 FROM table_name_46 WHERE general_1950 = "general 1979" | What is the Governors 1950 when the General 1950 is general 1979? | <s>[INST]What is the Governors 1950 when the General 1950 is general 1979? Context: CREATE TABLE table_name_46 (governors_1950 VARCHAR, general_1950 VARCHAR)[/INST]SELECT governors_1950 FROM table_name_46 WHERE general_1950 = "general 1979"</s> |
CREATE TABLE table_name_19 (govt_salary VARCHAR, romanised_name VARCHAR) | SELECT govt_salary FROM table_name_19 WHERE romanised_name = "chen wei-on, kenneth" | What is the government salary of the Undersecretary with a Romanised name of Chen Wei-On, Kenneth? | <s>[INST]What is the government salary of the Undersecretary with a Romanised name of Chen Wei-On, Kenneth? Context: CREATE TABLE table_name_19 (govt_salary VARCHAR, romanised_name VARCHAR)[/INST]SELECT govt_salary FROM table_name_19 WHERE romanised_name = "chen wei-on, kenneth"</s> |
CREATE TABLE table_name_16 (sydney INTEGER, weekly_rank VARCHAR, brisbane VARCHAR) | SELECT MIN(sydney) FROM table_name_16 WHERE weekly_rank < 8 AND brisbane > 252 OFFSET 000 | What is the lowest value for Sydney, when WEEKLY RANK is less than 8, and when Brisbane is greater than 252,000? | <s>[INST]What is the lowest value for Sydney, when WEEKLY RANK is less than 8, and when Brisbane is greater than 252,000? Context: CREATE TABLE table_name_16 (sydney INTEGER, weekly_rank VARCHAR, brisbane VARCHAR)[/INST]SELECT MIN(sydney) FROM table_name_16 WHERE weekly_rank < 8 AND brisbane > 252 OFFSET 000</s> |
CREATE TABLE table_245801_1 (launch_date VARCHAR, crew VARCHAR) | SELECT launch_date FROM table_245801_1 WHERE crew = "Vladimir Lyakhov , Aleksandr Pavlovich Aleksandrov" | Name the launch date for vladimir lyakhov , aleksandr pavlovich aleksandrov | <s>[INST]Name the launch date for vladimir lyakhov , aleksandr pavlovich aleksandrov Context: CREATE TABLE table_245801_1 (launch_date VARCHAR, crew VARCHAR)[/INST]SELECT launch_date FROM table_245801_1 WHERE crew = "Vladimir Lyakhov , Aleksandr Pavlovich Aleksandrov"</s> |
CREATE TABLE table_10342194_3 (total_amount_of_trees INTEGER, district VARCHAR) | SELECT MAX(total_amount_of_trees) FROM table_10342194_3 WHERE district = "Leninsky" | What is the total amount of trees when district is leninsky? | <s>[INST]What is the total amount of trees when district is leninsky? Context: CREATE TABLE table_10342194_3 (total_amount_of_trees INTEGER, district VARCHAR)[/INST]SELECT MAX(total_amount_of_trees) FROM table_10342194_3 WHERE district = "Leninsky"</s> |
CREATE TABLE table_name_65 (res VARCHAR, method VARCHAR, opponent VARCHAR) | SELECT res FROM table_name_65 WHERE method = "submission (guillotine choke)" AND opponent = "tom bolger" | What was the resolution for the fight against tom bolger by submission (guillotine choke)? | <s>[INST]What was the resolution for the fight against tom bolger by submission (guillotine choke)? Context: CREATE TABLE table_name_65 (res VARCHAR, method VARCHAR, opponent VARCHAR)[/INST]SELECT res FROM table_name_65 WHERE method = "submission (guillotine choke)" AND opponent = "tom bolger"</s> |
CREATE TABLE table_name_97 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_97 WHERE home_team = "melbourne" | What is melbourne's home team score? | <s>[INST]What is melbourne's home team score? Context: CREATE TABLE table_name_97 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_97 WHERE home_team = "melbourne"</s> |
CREATE TABLE table_name_22 (military_deaths INTEGER, civilian_deaths__including_foreigners_ VARCHAR, military_and_or_civilian_wounded VARCHAR) | SELECT AVG(military_deaths) FROM table_name_22 WHERE civilian_deaths__including_foreigners_ < 38 AND military_and_or_civilian_wounded = "33" | What is the average number of military deaths when there are fewer than 38 civilian deaths (including foreigners) and 33 military and/or civilian wounded? | <s>[INST]What is the average number of military deaths when there are fewer than 38 civilian deaths (including foreigners) and 33 military and/or civilian wounded? Context: CREATE TABLE table_name_22 (military_deaths INTEGER, civilian_deaths__including_foreigners_ VARCHAR, military_and_or_civilian_wounded VARCHAR)[/INS... |
CREATE TABLE table_name_21 (rank INTEGER, name VARCHAR, goals VARCHAR) | SELECT MIN(rank) FROM table_name_21 WHERE name = "oscar míguez" AND goals > 107 | When Oscar Míguez had over 107 goals, what was the lowest he ranked? | <s>[INST]When Oscar Míguez had over 107 goals, what was the lowest he ranked? Context: CREATE TABLE table_name_21 (rank INTEGER, name VARCHAR, goals VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_21 WHERE name = "oscar míguez" AND goals > 107</s> |
CREATE TABLE table_name_12 (name VARCHAR, time VARCHAR, lane VARCHAR, heat VARCHAR) | SELECT name FROM table_name_12 WHERE lane < 3 AND heat > 4 AND time = "2:00.80" | Which name has a Lane smaller than 3, a Heat larger than 4, and a Time of 2:00.80? | <s>[INST]Which name has a Lane smaller than 3, a Heat larger than 4, and a Time of 2:00.80? Context: CREATE TABLE table_name_12 (name VARCHAR, time VARCHAR, lane VARCHAR, heat VARCHAR)[/INST]SELECT name FROM table_name_12 WHERE lane < 3 AND heat > 4 AND time = "2:00.80"</s> |
CREATE TABLE table_name_94 (census_ranking VARCHAR, area_km_2 VARCHAR, official_name VARCHAR) | SELECT census_ranking FROM table_name_94 WHERE area_km_2 > 753.06 AND official_name = "stanley" | Which Census Ranking has an Area km 2 larger than 753.06, and an Official Name of stanley? | <s>[INST]Which Census Ranking has an Area km 2 larger than 753.06, and an Official Name of stanley? Context: CREATE TABLE table_name_94 (census_ranking VARCHAR, area_km_2 VARCHAR, official_name VARCHAR)[/INST]SELECT census_ranking FROM table_name_94 WHERE area_km_2 > 753.06 AND official_name = "stanley"</s> |
CREATE TABLE table_name_28 (date VARCHAR, home VARCHAR) | SELECT date FROM table_name_28 WHERE home = "dallas" | What was the date when the home team was Dallas? | <s>[INST]What was the date when the home team was Dallas? Context: CREATE TABLE table_name_28 (date VARCHAR, home VARCHAR)[/INST]SELECT date FROM table_name_28 WHERE home = "dallas"</s> |
CREATE TABLE table_name_44 (time_retired VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_44 WHERE driver = "jan heylen (r)" | What is the Time of Driver Jan Heylen (r)? | <s>[INST]What is the Time of Driver Jan Heylen (r)? Context: CREATE TABLE table_name_44 (time_retired VARCHAR, driver VARCHAR)[/INST]SELECT time_retired FROM table_name_44 WHERE driver = "jan heylen (r)"</s> |
CREATE TABLE table_14951643_1 (record VARCHAR, result VARCHAR) | SELECT record FROM table_14951643_1 WHERE result = "W 21–7" | what's the record with result being w 21–7 | <s>[INST]what's the record with result being w 21–7 Context: CREATE TABLE table_14951643_1 (record VARCHAR, result VARCHAR)[/INST]SELECT record FROM table_14951643_1 WHERE result = "W 21–7"</s> |
CREATE TABLE table_name_46 (notes VARCHAR, athlete VARCHAR) | SELECT notes FROM table_name_46 WHERE athlete = "lassi karonen" | What is listed in notes for the athlete, lassi karonen? | <s>[INST]What is listed in notes for the athlete, lassi karonen? Context: CREATE TABLE table_name_46 (notes VARCHAR, athlete VARCHAR)[/INST]SELECT notes FROM table_name_46 WHERE athlete = "lassi karonen"</s> |
CREATE TABLE table_name_87 (scores_by_each_individual_judge VARCHAR, date_performed VARCHAR, main_contestant VARCHAR) | SELECT scores_by_each_individual_judge FROM table_name_87 WHERE date_performed = "august 7" AND main_contestant = "karanvir bohra" | Which Scores by each individual judge has a Date performed of august 7, and a Main contestant of karanvir bohra? | <s>[INST]Which Scores by each individual judge has a Date performed of august 7, and a Main contestant of karanvir bohra? Context: CREATE TABLE table_name_87 (scores_by_each_individual_judge VARCHAR, date_performed VARCHAR, main_contestant VARCHAR)[/INST]SELECT scores_by_each_individual_judge FROM table_name_87 WHERE d... |
CREATE TABLE table_name_9 (uk_singles_chart VARCHAR, release_date VARCHAR) | SELECT uk_singles_chart FROM table_name_9 WHERE release_date = "26 february 1990" | What is the UK singles chart rank of the single released on 26 February 1990? | <s>[INST]What is the UK singles chart rank of the single released on 26 February 1990? Context: CREATE TABLE table_name_9 (uk_singles_chart VARCHAR, release_date VARCHAR)[/INST]SELECT uk_singles_chart FROM table_name_9 WHERE release_date = "26 february 1990"</s> |
CREATE TABLE table_186462_1 (western_name VARCHAR, sanskrit VARCHAR) | SELECT COUNT(western_name) FROM table_186462_1 WHERE sanskrit = "धनुष" | When धनुष is the sankrit how many western names are there? | <s>[INST]When धनुष is the sankrit how many western names are there? Context: CREATE TABLE table_186462_1 (western_name VARCHAR, sanskrit VARCHAR)[/INST]SELECT COUNT(western_name) FROM table_186462_1 WHERE sanskrit = "धनुष"</s> |
CREATE TABLE table_10966926_2 (position VARCHAR, player_name VARCHAR) | SELECT position FROM table_10966926_2 WHERE player_name = "Colt Brennan" | Which position does Colt Brennan play? | <s>[INST]Which position does Colt Brennan play? Context: CREATE TABLE table_10966926_2 (position VARCHAR, player_name VARCHAR)[/INST]SELECT position FROM table_10966926_2 WHERE player_name = "Colt Brennan"</s> |
CREATE TABLE table_name_65 (label VARCHAR, format VARCHAR) | SELECT label FROM table_name_65 WHERE format = "cd maxi" | What is the Label of the release in CD Maxi Format? | <s>[INST]What is the Label of the release in CD Maxi Format? Context: CREATE TABLE table_name_65 (label VARCHAR, format VARCHAR)[/INST]SELECT label FROM table_name_65 WHERE format = "cd maxi"</s> |
CREATE TABLE table_name_51 (first_issued INTEGER, color VARCHAR) | SELECT MIN(first_issued) FROM table_name_51 WHERE color = "green" | When was Color of green first issued? | <s>[INST]When was Color of green first issued? Context: CREATE TABLE table_name_51 (first_issued INTEGER, color VARCHAR)[/INST]SELECT MIN(first_issued) FROM table_name_51 WHERE color = "green"</s> |
CREATE TABLE table_name_29 (attendance INTEGER, score VARCHAR) | SELECT MAX(attendance) FROM table_name_29 WHERE score = "0:2" | Which Attendance has a Score of 0:2? | <s>[INST]Which Attendance has a Score of 0:2? Context: CREATE TABLE table_name_29 (attendance INTEGER, score VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_29 WHERE score = "0:2"</s> |
CREATE TABLE table_name_98 (director_s_ VARCHAR, date VARCHAR) | SELECT director_s_ FROM table_name_98 WHERE date = "14/6/6" | What directors won an award on 14/6/6? | <s>[INST]What directors won an award on 14/6/6? Context: CREATE TABLE table_name_98 (director_s_ VARCHAR, date VARCHAR)[/INST]SELECT director_s_ FROM table_name_98 WHERE date = "14/6/6"</s> |
CREATE TABLE table_name_6 (week VARCHAR, finalist VARCHAR) | SELECT week FROM table_name_6 WHERE finalist = "martina hingis" | What week was the finalist Martina Hingis? | <s>[INST]What week was the finalist Martina Hingis? Context: CREATE TABLE table_name_6 (week VARCHAR, finalist VARCHAR)[/INST]SELECT week FROM table_name_6 WHERE finalist = "martina hingis"</s> |
CREATE TABLE table_27786562_1 (points__margin_ VARCHAR, top_tens VARCHAR, owner VARCHAR) | SELECT points__margin_ FROM table_27786562_1 WHERE top_tens = 24 AND owner = "David Pearson" | Name the points for top tens being 24 and ownder david pearson | <s>[INST]Name the points for top tens being 24 and ownder david pearson Context: CREATE TABLE table_27786562_1 (points__margin_ VARCHAR, top_tens VARCHAR, owner VARCHAR)[/INST]SELECT points__margin_ FROM table_27786562_1 WHERE top_tens = 24 AND owner = "David Pearson"</s> |
CREATE TABLE table_name_22 (laps INTEGER, grid VARCHAR, points VARCHAR, team VARCHAR) | SELECT MIN(laps) FROM table_name_22 WHERE points > 5 AND team = "forsythe racing" AND grid = 5 | WHAT ARE THE LAPS WITH POINTS LARGER THAN 5, WITH FORSYTHE RACING, AND GRID 5? | <s>[INST]WHAT ARE THE LAPS WITH POINTS LARGER THAN 5, WITH FORSYTHE RACING, AND GRID 5? Context: CREATE TABLE table_name_22 (laps INTEGER, grid VARCHAR, points VARCHAR, team VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_22 WHERE points > 5 AND team = "forsythe racing" AND grid = 5</s> |
CREATE TABLE table_name_25 (year VARCHAR, uk_albums VARCHAR) | SELECT year FROM table_name_25 WHERE uk_albums = "15" | 15 albums were released in the UK during which year? | <s>[INST]15 albums were released in the UK during which year? Context: CREATE TABLE table_name_25 (year VARCHAR, uk_albums VARCHAR)[/INST]SELECT year FROM table_name_25 WHERE uk_albums = "15"</s> |
CREATE TABLE table_name_25 (school_club_team VARCHAR, player VARCHAR, pick VARCHAR, round VARCHAR) | SELECT school_club_team FROM table_name_25 WHERE pick < 196 AND round > 5 AND player = "blake miller" | Which school/club has a pick smaller than 196, a round higher than 5 and has Blake Miller? | <s>[INST]Which school/club has a pick smaller than 196, a round higher than 5 and has Blake Miller? Context: CREATE TABLE table_name_25 (school_club_team VARCHAR, player VARCHAR, pick VARCHAR, round VARCHAR)[/INST]SELECT school_club_team FROM table_name_25 WHERE pick < 196 AND round > 5 AND player = "blake miller"</s> |
CREATE TABLE table_name_18 (years VARCHAR, actor VARCHAR) | SELECT years FROM table_name_18 WHERE actor = "claudia ruffo" | What years have claudia ruffo as the actor? | <s>[INST]What years have claudia ruffo as the actor? Context: CREATE TABLE table_name_18 (years VARCHAR, actor VARCHAR)[/INST]SELECT years FROM table_name_18 WHERE actor = "claudia ruffo"</s> |
CREATE TABLE table_name_42 (artist VARCHAR, certification VARCHAR) | SELECT artist FROM table_name_42 WHERE certification = "4x platinum" | Which artist had a 4x platinum? | <s>[INST]Which artist had a 4x platinum? Context: CREATE TABLE table_name_42 (artist VARCHAR, certification VARCHAR)[/INST]SELECT artist FROM table_name_42 WHERE certification = "4x platinum"</s> |
CREATE TABLE table_17355716_10 (score VARCHAR, high_points VARCHAR) | SELECT score FROM table_17355716_10 WHERE high_points = "Carlos Boozer (20)" | what is the score of the match with high points carlos boozer (20) | <s>[INST]what is the score of the match with high points carlos boozer (20) Context: CREATE TABLE table_17355716_10 (score VARCHAR, high_points VARCHAR)[/INST]SELECT score FROM table_17355716_10 WHERE high_points = "Carlos Boozer (20)"</s> |
CREATE TABLE table_name_49 (first_pref_votes VARCHAR, _percentage_of_seats VARCHAR) | SELECT first_pref_votes FROM table_name_49 WHERE _percentage_of_seats = "0.8" | Which First Pref votes have a % of seats of 0.8? | <s>[INST]Which First Pref votes have a % of seats of 0.8? Context: CREATE TABLE table_name_49 (first_pref_votes VARCHAR, _percentage_of_seats VARCHAR)[/INST]SELECT first_pref_votes FROM table_name_49 WHERE _percentage_of_seats = "0.8"</s> |
CREATE TABLE table_name_35 (manufacturer VARCHAR, time_retired VARCHAR) | SELECT manufacturer FROM table_name_35 WHERE time_retired = "+15.665" | Which manufacturer has a Time/Retired of +15.665? | <s>[INST]Which manufacturer has a Time/Retired of +15.665? Context: CREATE TABLE table_name_35 (manufacturer VARCHAR, time_retired VARCHAR)[/INST]SELECT manufacturer FROM table_name_35 WHERE time_retired = "+15.665"</s> |
CREATE TABLE TRANSACTIONS (investor_id VARCHAR, share_count INTEGER) | SELECT investor_id, AVG(share_count) FROM TRANSACTIONS GROUP BY investor_id ORDER BY AVG(share_count) | Show the average share count of transactions each each investor, ordered by average share count. | <s>[INST]Show the average share count of transactions each each investor, ordered by average share count. Context: CREATE TABLE TRANSACTIONS (investor_id VARCHAR, share_count INTEGER)[/INST]SELECT investor_id, AVG(share_count) FROM TRANSACTIONS GROUP BY investor_id ORDER BY AVG(share_count)</s> |
CREATE TABLE table_name_17 (crowd VARCHAR, home_team VARCHAR) | SELECT crowd FROM table_name_17 WHERE home_team = "st kilda" | What is the crowd size for st kilda as the home team? | <s>[INST]What is the crowd size for st kilda as the home team? Context: CREATE TABLE table_name_17 (crowd VARCHAR, home_team VARCHAR)[/INST]SELECT crowd FROM table_name_17 WHERE home_team = "st kilda"</s> |
CREATE TABLE drivers (forename VARCHAR, surname VARCHAR, driverid VARCHAR); CREATE TABLE laptimes (driverid VARCHAR, milliseconds INTEGER) | SELECT DISTINCT T1.forename, T1.surname FROM drivers AS T1 JOIN laptimes AS T2 ON T1.driverid = T2.driverid WHERE T2.milliseconds < 93000 | List the forename and surname of all distinct drivers who once had laptime less than 93000 milliseconds? | <s>[INST]List the forename and surname of all distinct drivers who once had laptime less than 93000 milliseconds? Context: CREATE TABLE drivers (forename VARCHAR, surname VARCHAR, driverid VARCHAR); CREATE TABLE laptimes (driverid VARCHAR, milliseconds INTEGER)[/INST]SELECT DISTINCT T1.forename, T1.surname FROM drivers... |
CREATE TABLE table_13258972_2 (week INTEGER, record VARCHAR) | SELECT MAX(week) FROM table_13258972_2 WHERE record = "5-9" | In what week was the record 5-9? | <s>[INST]In what week was the record 5-9? Context: CREATE TABLE table_13258972_2 (week INTEGER, record VARCHAR)[/INST]SELECT MAX(week) FROM table_13258972_2 WHERE record = "5-9"</s> |
CREATE TABLE table_name_8 (opponent_in_the_final VARCHAR, outcome VARCHAR, venue VARCHAR) | SELECT opponent_in_the_final FROM table_name_8 WHERE outcome = "1" AND venue = "london, england" | Who was the Opponent in London, England with an Outcome of 1? | <s>[INST]Who was the Opponent in London, England with an Outcome of 1? Context: CREATE TABLE table_name_8 (opponent_in_the_final VARCHAR, outcome VARCHAR, venue VARCHAR)[/INST]SELECT opponent_in_the_final FROM table_name_8 WHERE outcome = "1" AND venue = "london, england"</s> |
CREATE TABLE table_1368649_9 (year_s_ INTEGER, spokesperson VARCHAR) | SELECT MIN(year_s_) FROM table_1368649_9 WHERE spokesperson = "Thierry Beccaro" | What year was Thierry Beccaro the spokesperson? | <s>[INST]What year was Thierry Beccaro the spokesperson? Context: CREATE TABLE table_1368649_9 (year_s_ INTEGER, spokesperson VARCHAR)[/INST]SELECT MIN(year_s_) FROM table_1368649_9 WHERE spokesperson = "Thierry Beccaro"</s> |
CREATE TABLE table_name_87 (prime_mover VARCHAR, model VARCHAR) | SELECT prime_mover FROM table_name_87 WHERE model = "fm cfa-16-4" | What is Prime Mover of Model FM CFA-16-4? | <s>[INST]What is Prime Mover of Model FM CFA-16-4? Context: CREATE TABLE table_name_87 (prime_mover VARCHAR, model VARCHAR)[/INST]SELECT prime_mover FROM table_name_87 WHERE model = "fm cfa-16-4"</s> |
CREATE TABLE table_name_38 (match INTEGER, date VARCHAR) | SELECT MAX(match) FROM table_name_38 WHERE date = "august 3, 2007" | What match number took place on August 3, 2007? | <s>[INST]What match number took place on August 3, 2007? Context: CREATE TABLE table_name_38 (match INTEGER, date VARCHAR)[/INST]SELECT MAX(match) FROM table_name_38 WHERE date = "august 3, 2007"</s> |
CREATE TABLE table_17104539_9 (record VARCHAR, score VARCHAR) | SELECT record FROM table_17104539_9 WHERE score = "W 76-67" | Name the record for score of w 76-67 | <s>[INST]Name the record for score of w 76-67 Context: CREATE TABLE table_17104539_9 (record VARCHAR, score VARCHAR)[/INST]SELECT record FROM table_17104539_9 WHERE score = "W 76-67"</s> |
CREATE TABLE LOTS (lot_details VARCHAR, lot_id VARCHAR); CREATE TABLE TRANSACTIONS_LOTS (transaction_id VARCHAR); CREATE TABLE TRANSACTIONS (transaction_id VARCHAR, share_count VARCHAR, transaction_type_code VARCHAR) | SELECT T1.lot_details FROM LOTS AS T1 JOIN TRANSACTIONS_LOTS AS T2 ON T1.lot_id = T2.transaction_id JOIN TRANSACTIONS AS T3 ON T2.transaction_id = T3.transaction_id WHERE T3.share_count > 100 AND T3.transaction_type_code = "PUR" | What are the lot details of lots associated with transactions whose share count is bigger than 100 and whose type code is "PUR"? | <s>[INST]What are the lot details of lots associated with transactions whose share count is bigger than 100 and whose type code is "PUR"? Context: CREATE TABLE LOTS (lot_details VARCHAR, lot_id VARCHAR); CREATE TABLE TRANSACTIONS_LOTS (transaction_id VARCHAR); CREATE TABLE TRANSACTIONS (transaction_id VARCHAR, share_co... |
CREATE TABLE table_name_88 (heat VARCHAR, name VARCHAR) | SELECT COUNT(heat) FROM table_name_88 WHERE name = "julia wilkinson" | How many heats does Julia Wilkinson have? | <s>[INST]How many heats does Julia Wilkinson have? Context: CREATE TABLE table_name_88 (heat VARCHAR, name VARCHAR)[/INST]SELECT COUNT(heat) FROM table_name_88 WHERE name = "julia wilkinson"</s> |
CREATE TABLE district (city_population INTEGER, city_area VARCHAR) | SELECT SUM(city_population) FROM district ORDER BY city_area DESC LIMIT 3 | Find the total population of the top 3 districts with the largest area. | <s>[INST]Find the total population of the top 3 districts with the largest area. Context: CREATE TABLE district (city_population INTEGER, city_area VARCHAR)[/INST]SELECT SUM(city_population) FROM district ORDER BY city_area DESC LIMIT 3</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.