context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_14 (film_title_used_in_nomination VARCHAR, language VARCHAR, original_name VARCHAR) | SELECT film_title_used_in_nomination FROM table_name_14 WHERE language = "german" AND original_name = "mama, ich lebe" | What is the title of the German film that is originally called Mama, Ich Lebe? | <s>[INST]What is the title of the German film that is originally called Mama, Ich Lebe? Context: CREATE TABLE table_name_14 (film_title_used_in_nomination VARCHAR, language VARCHAR, original_name VARCHAR)[/INST]SELECT film_title_used_in_nomination FROM table_name_14 WHERE language = "german" AND original_name = "mama, ... |
CREATE TABLE table_name_10 (german VARCHAR, icelandic VARCHAR) | SELECT german FROM table_name_10 WHERE icelandic = "efja" | What word in German translates into the Icelandic word efja? | <s>[INST]What word in German translates into the Icelandic word efja? Context: CREATE TABLE table_name_10 (german VARCHAR, icelandic VARCHAR)[/INST]SELECT german FROM table_name_10 WHERE icelandic = "efja"</s> |
CREATE TABLE table_name_31 (team__number2 VARCHAR, team__number1 VARCHAR) | SELECT team__number2 FROM table_name_31 WHERE team__number1 = "deport" | What is the team #2 with Deport as team #1? | <s>[INST]What is the team #2 with Deport as team #1? Context: CREATE TABLE table_name_31 (team__number2 VARCHAR, team__number1 VARCHAR)[/INST]SELECT team__number2 FROM table_name_31 WHERE team__number1 = "deport"</s> |
CREATE TABLE table_name_32 (object_type VARCHAR, declination___j2000__ VARCHAR, constellation VARCHAR, ngc_number VARCHAR) | SELECT object_type FROM table_name_32 WHERE constellation = "orion" AND ngc_number > 2174 AND declination___j2000__ = "°48′06″" | Which Object type has a Constellation of orion, and an NGC number larger than 2174, and a Declination (J2000) of °48′06″? | <s>[INST]Which Object type has a Constellation of orion, and an NGC number larger than 2174, and a Declination (J2000) of °48′06″? Context: CREATE TABLE table_name_32 (object_type VARCHAR, declination___j2000__ VARCHAR, constellation VARCHAR, ngc_number VARCHAR)[/INST]SELECT object_type FROM table_name_32 WHERE constel... |
CREATE TABLE table_20360535_2 (television_order VARCHAR, original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR) | SELECT television_order FROM table_20360535_2 WHERE directed_by = "Ben Jones" AND written_by = "J. M. DeMatteis" AND original_air_date = "February6,2009" | what is the television order of the episode directed by ben jones, written by j. m. dematteis and originally aired on february6,2009 | <s>[INST]what is the television order of the episode directed by ben jones, written by j. m. dematteis and originally aired on february6,2009 Context: CREATE TABLE table_20360535_2 (television_order VARCHAR, original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR)[/INST]SELECT television_order FROM table_203... |
CREATE TABLE table_12444503_1 (season VARCHAR, runner_up VARCHAR) | SELECT season FROM table_12444503_1 WHERE runner_up = "Jeanne d'Arc (Bamako)" | In which season was Jeanne d'Arc (Bamako) the runner-up? | <s>[INST]In which season was Jeanne d'Arc (Bamako) the runner-up? Context: CREATE TABLE table_12444503_1 (season VARCHAR, runner_up VARCHAR)[/INST]SELECT season FROM table_12444503_1 WHERE runner_up = "Jeanne d'Arc (Bamako)"</s> |
CREATE TABLE table_name_63 (shooter VARCHAR, total VARCHAR) | SELECT shooter FROM table_name_63 WHERE total = "defending champion" | Who is the shooter that is the Defending Champion? | <s>[INST]Who is the shooter that is the Defending Champion? Context: CREATE TABLE table_name_63 (shooter VARCHAR, total VARCHAR)[/INST]SELECT shooter FROM table_name_63 WHERE total = "defending champion"</s> |
CREATE TABLE table_name_29 (off_reb INTEGER, ftm_fta VARCHAR, steals VARCHAR) | SELECT AVG(off_reb) FROM table_name_29 WHERE ftm_fta = "16-17" AND steals < 8 | What was the average of the Off Reb with steals less than 8 and FTM-FTA of 16-17? | <s>[INST]What was the average of the Off Reb with steals less than 8 and FTM-FTA of 16-17? Context: CREATE TABLE table_name_29 (off_reb INTEGER, ftm_fta VARCHAR, steals VARCHAR)[/INST]SELECT AVG(off_reb) FROM table_name_29 WHERE ftm_fta = "16-17" AND steals < 8</s> |
CREATE TABLE table_name_81 (home VARCHAR, date VARCHAR) | SELECT home FROM table_name_81 WHERE date = "june 9" | Who was the home team on June 9? | <s>[INST]Who was the home team on June 9? Context: CREATE TABLE table_name_81 (home VARCHAR, date VARCHAR)[/INST]SELECT home FROM table_name_81 WHERE date = "june 9"</s> |
CREATE TABLE table_name_81 (rank VARCHAR, time VARCHAR) | SELECT rank FROM table_name_81 WHERE time = "5:56.73" | Which Rank has a Time of 5:56.73? | <s>[INST]Which Rank has a Time of 5:56.73? Context: CREATE TABLE table_name_81 (rank VARCHAR, time VARCHAR)[/INST]SELECT rank FROM table_name_81 WHERE time = "5:56.73"</s> |
CREATE TABLE table_name_33 (losses INTEGER, draws VARCHAR, position VARCHAR, wins VARCHAR, goal_difference VARCHAR) | SELECT MAX(losses) FROM table_name_33 WHERE wins > 11 AND goal_difference > 5 AND position = 3 AND draws > 3 | What is the highest losses for more than 11 wins, a goal difference greater than 5, a 3 position, and more than 3 draws? | <s>[INST]What is the highest losses for more than 11 wins, a goal difference greater than 5, a 3 position, and more than 3 draws? Context: CREATE TABLE table_name_33 (losses INTEGER, draws VARCHAR, position VARCHAR, wins VARCHAR, goal_difference VARCHAR)[/INST]SELECT MAX(losses) FROM table_name_33 WHERE wins > 11 AND g... |
CREATE TABLE table_24547593_1 (pole_position VARCHAR, circuit VARCHAR) | SELECT pole_position FROM table_24547593_1 WHERE circuit = "Knockhill" | Who was in the pole position for knockhill? | <s>[INST]Who was in the pole position for knockhill? Context: CREATE TABLE table_24547593_1 (pole_position VARCHAR, circuit VARCHAR)[/INST]SELECT pole_position FROM table_24547593_1 WHERE circuit = "Knockhill"</s> |
CREATE TABLE table_name_67 (poll_source VARCHAR, john_oxendine VARCHAR) | SELECT poll_source FROM table_name_67 WHERE john_oxendine = "32%" | In what poll is John Oxendine at 32%? | <s>[INST]In what poll is John Oxendine at 32%? Context: CREATE TABLE table_name_67 (poll_source VARCHAR, john_oxendine VARCHAR)[/INST]SELECT poll_source FROM table_name_67 WHERE john_oxendine = "32%"</s> |
CREATE TABLE table_name_24 (scored INTEGER, competition VARCHAR, venue VARCHAR) | SELECT AVG(scored) FROM table_name_24 WHERE competition = "friendly" AND venue = "kryoia soveto, moscow" | What is the average number scored in a friendly at kryoia soveto, moscow? | <s>[INST]What is the average number scored in a friendly at kryoia soveto, moscow? Context: CREATE TABLE table_name_24 (scored INTEGER, competition VARCHAR, venue VARCHAR)[/INST]SELECT AVG(scored) FROM table_name_24 WHERE competition = "friendly" AND venue = "kryoia soveto, moscow"</s> |
CREATE TABLE table_name_40 (crowd VARCHAR, away_team VARCHAR) | SELECT crowd FROM table_name_40 WHERE away_team = "essendon" | What was the size of the crowd when Essendon was the away team? | <s>[INST]What was the size of the crowd when Essendon was the away team? Context: CREATE TABLE table_name_40 (crowd VARCHAR, away_team VARCHAR)[/INST]SELECT crowd FROM table_name_40 WHERE away_team = "essendon"</s> |
CREATE TABLE table_name_53 (date VARCHAR, arena VARCHAR) | SELECT date FROM table_name_53 WHERE arena = "joe louis arena" | What date has joe louis arena as the arena? | <s>[INST]What date has joe louis arena as the arena? Context: CREATE TABLE table_name_53 (date VARCHAR, arena VARCHAR)[/INST]SELECT date FROM table_name_53 WHERE arena = "joe louis arena"</s> |
CREATE TABLE table_name_15 (type VARCHAR, unit VARCHAR) | SELECT type FROM table_name_15 WHERE unit = "greifswald - 7 (kgr 7)" | Which type had the unit greifswald - 7 (kgr 7) ? | <s>[INST]Which type had the unit greifswald - 7 (kgr 7) ? Context: CREATE TABLE table_name_15 (type VARCHAR, unit VARCHAR)[/INST]SELECT type FROM table_name_15 WHERE unit = "greifswald - 7 (kgr 7)"</s> |
CREATE TABLE table_1134091_4 (successor VARCHAR, vacator VARCHAR) | SELECT successor FROM table_1134091_4 WHERE vacator = "Chester E. Holifield (D)" | Who was the successor when the vacator was chester e. holifield (d)? | <s>[INST]Who was the successor when the vacator was chester e. holifield (d)? Context: CREATE TABLE table_1134091_4 (successor VARCHAR, vacator VARCHAR)[/INST]SELECT successor FROM table_1134091_4 WHERE vacator = "Chester E. Holifield (D)"</s> |
CREATE TABLE table_name_44 (mountain_pass VARCHAR, elevation VARCHAR) | SELECT mountain_pass FROM table_name_44 WHERE elevation = "10,001 feet 3048 m" | What Mountain Pass has an Elevation of 10,001 feet 3048 m? | <s>[INST]What Mountain Pass has an Elevation of 10,001 feet 3048 m? Context: CREATE TABLE table_name_44 (mountain_pass VARCHAR, elevation VARCHAR)[/INST]SELECT mountain_pass FROM table_name_44 WHERE elevation = "10,001 feet 3048 m"</s> |
CREATE TABLE table_name_84 (result VARCHAR, week__number VARCHAR) | SELECT result FROM table_name_84 WHERE week__number = "top 11" | What was the result after the week # top 11? | <s>[INST]What was the result after the week # top 11? Context: CREATE TABLE table_name_84 (result VARCHAR, week__number VARCHAR)[/INST]SELECT result FROM table_name_84 WHERE week__number = "top 11"</s> |
CREATE TABLE table_name_48 (name VARCHAR, employed VARCHAR) | SELECT name FROM table_name_48 WHERE employed = "1970–2005" | What is the name of the person employed 1970–2005? | <s>[INST]What is the name of the person employed 1970–2005? Context: CREATE TABLE table_name_48 (name VARCHAR, employed VARCHAR)[/INST]SELECT name FROM table_name_48 WHERE employed = "1970–2005"</s> |
CREATE TABLE table_name_70 (year_s__won VARCHAR, to_par VARCHAR) | SELECT year_s__won FROM table_name_70 WHERE to_par = 8 | What is the Year won for the player with a To par of 8? | <s>[INST]What is the Year won for the player with a To par of 8? Context: CREATE TABLE table_name_70 (year_s__won VARCHAR, to_par VARCHAR)[/INST]SELECT year_s__won FROM table_name_70 WHERE to_par = 8</s> |
CREATE TABLE city (Name VARCHAR, White VARCHAR) | SELECT Name FROM city ORDER BY White DESC LIMIT 5 | List the names of the city with the top 5 white percentages. | <s>[INST]List the names of the city with the top 5 white percentages. Context: CREATE TABLE city (Name VARCHAR, White VARCHAR)[/INST]SELECT Name FROM city ORDER BY White DESC LIMIT 5</s> |
CREATE TABLE table_19769687_3 (_number_of_seats_won INTEGER) | SELECT MAX(_number_of_seats_won) FROM table_19769687_3 | Name the most # of seats won | <s>[INST]Name the most # of seats won Context: CREATE TABLE table_19769687_3 (_number_of_seats_won INTEGER)[/INST]SELECT MAX(_number_of_seats_won) FROM table_19769687_3</s> |
CREATE TABLE table_name_34 (club VARCHAR, lost VARCHAR) | SELECT club FROM table_name_34 WHERE lost = "19" | Can you tell me the Club that has the Lost of 19? | <s>[INST]Can you tell me the Club that has the Lost of 19? Context: CREATE TABLE table_name_34 (club VARCHAR, lost VARCHAR)[/INST]SELECT club FROM table_name_34 WHERE lost = "19"</s> |
CREATE TABLE table_15581223_8 (tackles INTEGER, player VARCHAR) | SELECT MIN(tackles) FROM table_15581223_8 WHERE player = "Danny Clark" | Name the least amount of tackles for danny clark | <s>[INST]Name the least amount of tackles for danny clark Context: CREATE TABLE table_15581223_8 (tackles INTEGER, player VARCHAR)[/INST]SELECT MIN(tackles) FROM table_15581223_8 WHERE player = "Danny Clark"</s> |
CREATE TABLE table_name_37 (week INTEGER, date VARCHAR) | SELECT AVG(week) FROM table_name_37 WHERE date = "november 10, 1963" | During what week was the match on November 10, 1963? | <s>[INST]During what week was the match on November 10, 1963? Context: CREATE TABLE table_name_37 (week INTEGER, date VARCHAR)[/INST]SELECT AVG(week) FROM table_name_37 WHERE date = "november 10, 1963"</s> |
CREATE TABLE table_16226584_1 (parish VARCHAR, name VARCHAR) | SELECT parish FROM table_16226584_1 WHERE name = "Highworth" | Which parishes have the highworth railroad? | <s>[INST]Which parishes have the highworth railroad? Context: CREATE TABLE table_16226584_1 (parish VARCHAR, name VARCHAR)[/INST]SELECT parish FROM table_16226584_1 WHERE name = "Highworth"</s> |
CREATE TABLE table_name_80 (player VARCHAR, school_country VARCHAR) | SELECT player FROM table_name_80 WHERE school_country = "gonzaga" | Which player went to Gonzaga? | <s>[INST]Which player went to Gonzaga? Context: CREATE TABLE table_name_80 (player VARCHAR, school_country VARCHAR)[/INST]SELECT player FROM table_name_80 WHERE school_country = "gonzaga"</s> |
CREATE TABLE table_2259502_2 (outcome VARCHAR, score VARCHAR) | SELECT outcome FROM table_2259502_2 WHERE score = "7-5, 2-6, [6-10]" | What was the outcome in games where the score was 7-5, 2-6, [6-10]? | <s>[INST]What was the outcome in games where the score was 7-5, 2-6, [6-10]? Context: CREATE TABLE table_2259502_2 (outcome VARCHAR, score VARCHAR)[/INST]SELECT outcome FROM table_2259502_2 WHERE score = "7-5, 2-6, [6-10]"</s> |
CREATE TABLE table_name_25 (completed VARCHAR, name VARCHAR) | SELECT completed FROM table_name_25 WHERE name = "satsuki dd-27" | When was satsuki dd-27 completed? | <s>[INST]When was satsuki dd-27 completed? Context: CREATE TABLE table_name_25 (completed VARCHAR, name VARCHAR)[/INST]SELECT completed FROM table_name_25 WHERE name = "satsuki dd-27"</s> |
CREATE TABLE table_name_15 (school_club_team VARCHAR, player VARCHAR) | SELECT school_club_team FROM table_name_15 WHERE player = "jeremy evans" | Who does jeremy evans play for? | <s>[INST]Who does jeremy evans play for? Context: CREATE TABLE table_name_15 (school_club_team VARCHAR, player VARCHAR)[/INST]SELECT school_club_team FROM table_name_15 WHERE player = "jeremy evans"</s> |
CREATE TABLE table_name_68 (record VARCHAR, location_attendance VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_68 WHERE location_attendance = "delta center" AND opponent = "vs vancouver grizzlies" | What Record has a Location Attendance of delta center, and an Opponent of vs vancouver grizzlies? | <s>[INST]What Record has a Location Attendance of delta center, and an Opponent of vs vancouver grizzlies? Context: CREATE TABLE table_name_68 (record VARCHAR, location_attendance VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_68 WHERE location_attendance = "delta center" AND opponent = "vs vancouver gr... |
CREATE TABLE table_11497980_1 (model VARCHAR, transmission_make_type_speed VARCHAR) | SELECT model FROM table_11497980_1 WHERE transmission_make_type_speed = "Eaton FS-6306 A Manual Synchromesh 6 Speed" | Which model possesses a transmission make/type/speed of eaton fs-6306 a manual synchromesh 6 speed? | <s>[INST]Which model possesses a transmission make/type/speed of eaton fs-6306 a manual synchromesh 6 speed? Context: CREATE TABLE table_11497980_1 (model VARCHAR, transmission_make_type_speed VARCHAR)[/INST]SELECT model FROM table_11497980_1 WHERE transmission_make_type_speed = "Eaton FS-6306 A Manual Synchromesh 6 Sp... |
CREATE TABLE table_name_61 (december INTEGER, points VARCHAR, game VARCHAR, opponent VARCHAR) | SELECT MAX(december) FROM table_name_61 WHERE game > 27 AND opponent = "pittsburgh penguins" AND points < 41 | What's the highest December against the Pittsburgh Penguins in a game larger than 27, with less than 41 points? | <s>[INST]What's the highest December against the Pittsburgh Penguins in a game larger than 27, with less than 41 points? Context: CREATE TABLE table_name_61 (december INTEGER, points VARCHAR, game VARCHAR, opponent VARCHAR)[/INST]SELECT MAX(december) FROM table_name_61 WHERE game > 27 AND opponent = "pittsburgh penguin... |
CREATE TABLE table_24399615_10 (viewers VARCHAR, bbc_three_weekly_ranking VARCHAR) | SELECT COUNT(viewers) FROM table_24399615_10 WHERE bbc_three_weekly_ranking = "6" | How many individuals watched the show that had a bbc ranking of 6? | <s>[INST]How many individuals watched the show that had a bbc ranking of 6? Context: CREATE TABLE table_24399615_10 (viewers VARCHAR, bbc_three_weekly_ranking VARCHAR)[/INST]SELECT COUNT(viewers) FROM table_24399615_10 WHERE bbc_three_weekly_ranking = "6"</s> |
CREATE TABLE table_22998777_1 (season VARCHAR, points VARCHAR) | SELECT season FROM table_22998777_1 WHERE points = "41" | If the points is 41, what is the season? | <s>[INST]If the points is 41, what is the season? Context: CREATE TABLE table_22998777_1 (season VARCHAR, points VARCHAR)[/INST]SELECT season FROM table_22998777_1 WHERE points = "41"</s> |
CREATE TABLE table_name_46 (mintage INTEGER, artist VARCHAR, year VARCHAR) | SELECT MAX(mintage) FROM table_name_46 WHERE artist = "royal canadian mint engravers" AND year > 2008 | When the Year is over 2008, what is the highest Mintage for the Royal Canadian Mint Engravers Artist? | <s>[INST]When the Year is over 2008, what is the highest Mintage for the Royal Canadian Mint Engravers Artist? Context: CREATE TABLE table_name_46 (mintage INTEGER, artist VARCHAR, year VARCHAR)[/INST]SELECT MAX(mintage) FROM table_name_46 WHERE artist = "royal canadian mint engravers" AND year > 2008</s> |
CREATE TABLE table_name_61 (year INTEGER, us_captain VARCHAR) | SELECT MAX(year) FROM table_name_61 WHERE us_captain = "ken venturi" | what is the highest year that the U.S. captain is ken venturi? | <s>[INST]what is the highest year that the U.S. captain is ken venturi? Context: CREATE TABLE table_name_61 (year INTEGER, us_captain VARCHAR)[/INST]SELECT MAX(year) FROM table_name_61 WHERE us_captain = "ken venturi"</s> |
CREATE TABLE table_30058355_2 (thurs_25_aug VARCHAR, fri_26_aug VARCHAR) | SELECT thurs_25_aug FROM table_30058355_2 WHERE fri_26_aug = "19' 30.70 116.023mph" | What shows for thurs 25 aug when fri 26 aug is 19' 30.70 116.023mph? | <s>[INST]What shows for thurs 25 aug when fri 26 aug is 19' 30.70 116.023mph? Context: CREATE TABLE table_30058355_2 (thurs_25_aug VARCHAR, fri_26_aug VARCHAR)[/INST]SELECT thurs_25_aug FROM table_30058355_2 WHERE fri_26_aug = "19' 30.70 116.023mph"</s> |
CREATE TABLE table_name_52 (lost VARCHAR, points_against VARCHAR) | SELECT lost FROM table_name_52 WHERE points_against = "479" | How many resulted in a loss with 479 points against? | <s>[INST]How many resulted in a loss with 479 points against? Context: CREATE TABLE table_name_52 (lost VARCHAR, points_against VARCHAR)[/INST]SELECT lost FROM table_name_52 WHERE points_against = "479"</s> |
CREATE TABLE table_2562572_53 (population__2011_ VARCHAR, cyrillic_name VARCHAR) | SELECT COUNT(population__2011_) FROM table_2562572_53 WHERE cyrillic_name = "Сурдук" | What was the population of сурдук in 2011? | <s>[INST]What was the population of сурдук in 2011? Context: CREATE TABLE table_2562572_53 (population__2011_ VARCHAR, cyrillic_name VARCHAR)[/INST]SELECT COUNT(population__2011_) FROM table_2562572_53 WHERE cyrillic_name = "Сурдук"</s> |
CREATE TABLE table_name_76 (rank VARCHAR, height_feet___m VARCHAR) | SELECT rank FROM table_name_76 WHERE height_feet___m = "427 / 130" | What is the rank associated with a Height feet / m of 427 / 130? | <s>[INST]What is the rank associated with a Height feet / m of 427 / 130? Context: CREATE TABLE table_name_76 (rank VARCHAR, height_feet___m VARCHAR)[/INST]SELECT rank FROM table_name_76 WHERE height_feet___m = "427 / 130"</s> |
CREATE TABLE table_name_10 (provider VARCHAR, up__up_to_kbit_s_ VARCHAR) | SELECT provider FROM table_name_10 WHERE up__up_to_kbit_s_ = 1180 | who is the provider when up (up to kbit/s) is 1180? | <s>[INST]who is the provider when up (up to kbit/s) is 1180? Context: CREATE TABLE table_name_10 (provider VARCHAR, up__up_to_kbit_s_ VARCHAR)[/INST]SELECT provider FROM table_name_10 WHERE up__up_to_kbit_s_ = 1180</s> |
CREATE TABLE table_1342233_11 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1342233_11 WHERE incumbent = "Carl Vinson" | Which district is associated with the incumbent Carl Vinson? | <s>[INST]Which district is associated with the incumbent Carl Vinson? Context: CREATE TABLE table_1342233_11 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1342233_11 WHERE incumbent = "Carl Vinson"</s> |
CREATE TABLE table_name_65 (away_team VARCHAR, ground VARCHAR) | SELECT away_team FROM table_name_65 WHERE ground = "gabba" | Which Away team has a Ground of gabba? | <s>[INST]Which Away team has a Ground of gabba? Context: CREATE TABLE table_name_65 (away_team VARCHAR, ground VARCHAR)[/INST]SELECT away_team FROM table_name_65 WHERE ground = "gabba"</s> |
CREATE TABLE table_name_39 (pole_position VARCHAR, location VARCHAR) | SELECT pole_position FROM table_name_39 WHERE location = "jerez" | What was the pole position for jerez? | <s>[INST]What was the pole position for jerez? Context: CREATE TABLE table_name_39 (pole_position VARCHAR, location VARCHAR)[/INST]SELECT pole_position FROM table_name_39 WHERE location = "jerez"</s> |
CREATE TABLE table_name_17 (party VARCHAR, left_office VARCHAR, portfolio VARCHAR) | SELECT party FROM table_name_17 WHERE left_office = "23 april 2005" AND portfolio = "minister of reforms and devolutions" | What is Party, when Left Office is "23 April 2005", when Portfolio is "Minister of Reforms and Devolutions"? | <s>[INST]What is Party, when Left Office is "23 April 2005", when Portfolio is "Minister of Reforms and Devolutions"? Context: CREATE TABLE table_name_17 (party VARCHAR, left_office VARCHAR, portfolio VARCHAR)[/INST]SELECT party FROM table_name_17 WHERE left_office = "23 april 2005" AND portfolio = "minister of reforms... |
CREATE TABLE table_28759261_5 (united_fc VARCHAR, pifa_colaba_fc_u_17 VARCHAR) | SELECT united_fc FROM table_28759261_5 WHERE pifa_colaba_fc_u_17 = "Maratha United" | what is the united fc wehre pifa colaba is maratha united? | <s>[INST]what is the united fc wehre pifa colaba is maratha united? Context: CREATE TABLE table_28759261_5 (united_fc VARCHAR, pifa_colaba_fc_u_17 VARCHAR)[/INST]SELECT united_fc FROM table_28759261_5 WHERE pifa_colaba_fc_u_17 = "Maratha United"</s> |
CREATE TABLE table_name_84 (format VARCHAR, catalog VARCHAR) | SELECT format FROM table_name_84 WHERE catalog = "080 360-2" | What format has 080 360-2 as the catalog? | <s>[INST]What format has 080 360-2 as the catalog? Context: CREATE TABLE table_name_84 (format VARCHAR, catalog VARCHAR)[/INST]SELECT format FROM table_name_84 WHERE catalog = "080 360-2"</s> |
CREATE TABLE table_name_42 (time VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT time FROM table_name_42 WHERE laps = 22 AND grid = 15 | What is Time, when Laps is 22, and when Grid is 15? | <s>[INST]What is Time, when Laps is 22, and when Grid is 15? Context: CREATE TABLE table_name_42 (time VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT time FROM table_name_42 WHERE laps = 22 AND grid = 15</s> |
CREATE TABLE table_name_9 (status VARCHAR, opposing_teams VARCHAR) | SELECT status FROM table_name_9 WHERE opposing_teams = "south africa" | What was the status for the opposing team South Africa? | <s>[INST]What was the status for the opposing team South Africa? Context: CREATE TABLE table_name_9 (status VARCHAR, opposing_teams VARCHAR)[/INST]SELECT status FROM table_name_9 WHERE opposing_teams = "south africa"</s> |
CREATE TABLE table_name_54 (pct INTEGER, independent VARCHAR, years VARCHAR) | SELECT MIN(pct) FROM table_name_54 WHERE independent = "old dominion" AND years > 4 | What is the lowest PCT when Old Dominion is the independent and the years is more than 4? | <s>[INST]What is the lowest PCT when Old Dominion is the independent and the years is more than 4? Context: CREATE TABLE table_name_54 (pct INTEGER, independent VARCHAR, years VARCHAR)[/INST]SELECT MIN(pct) FROM table_name_54 WHERE independent = "old dominion" AND years > 4</s> |
CREATE TABLE table_name_99 (largest_metropolitan_area VARCHAR, name VARCHAR) | SELECT largest_metropolitan_area FROM table_name_99 WHERE name = "central-west" | What is the largest metropolitan area of the Central-West? | <s>[INST]What is the largest metropolitan area of the Central-West? Context: CREATE TABLE table_name_99 (largest_metropolitan_area VARCHAR, name VARCHAR)[/INST]SELECT largest_metropolitan_area FROM table_name_99 WHERE name = "central-west"</s> |
CREATE TABLE table_158282_1 (senate_seats VARCHAR, political_leader VARCHAR) | SELECT COUNT(senate_seats) FROM table_158282_1 WHERE political_leader = "Emile Roemer" | How many categories of Senate Seats does Emile Roemer have? | <s>[INST]How many categories of Senate Seats does Emile Roemer have? Context: CREATE TABLE table_158282_1 (senate_seats VARCHAR, political_leader VARCHAR)[/INST]SELECT COUNT(senate_seats) FROM table_158282_1 WHERE political_leader = "Emile Roemer"</s> |
CREATE TABLE table_name_19 (match VARCHAR, competition VARCHAR, location VARCHAR) | SELECT match FROM table_name_19 WHERE competition = "semifinal" AND location = "san francisco" | Which Match played in a Location of San Francisco has a Competition of Semifinal? | <s>[INST]Which Match played in a Location of San Francisco has a Competition of Semifinal? Context: CREATE TABLE table_name_19 (match VARCHAR, competition VARCHAR, location VARCHAR)[/INST]SELECT match FROM table_name_19 WHERE competition = "semifinal" AND location = "san francisco"</s> |
CREATE TABLE Transcript_Contents (student_course_id VARCHAR) | SELECT COUNT(*), student_course_id FROM Transcript_Contents GROUP BY student_course_id ORDER BY COUNT(*) DESC LIMIT 1 | How many times at most can a course enrollment result show in different transcripts? Also show the course enrollment id. | <s>[INST]How many times at most can a course enrollment result show in different transcripts? Also show the course enrollment id. Context: CREATE TABLE Transcript_Contents (student_course_id VARCHAR)[/INST]SELECT COUNT(*), student_course_id FROM Transcript_Contents GROUP BY student_course_id ORDER BY COUNT(*) DESC LIMI... |
CREATE TABLE table_22917458_15 (winner VARCHAR, stage VARCHAR) | SELECT winner FROM table_22917458_15 WHERE stage = 1 | Who was the Stage 1 winner? | <s>[INST]Who was the Stage 1 winner? Context: CREATE TABLE table_22917458_15 (winner VARCHAR, stage VARCHAR)[/INST]SELECT winner FROM table_22917458_15 WHERE stage = 1</s> |
CREATE TABLE journal_committee (journal_ID VARCHAR); CREATE TABLE journal (date VARCHAR, theme VARCHAR, sales VARCHAR); CREATE TABLE journal (date VARCHAR, theme VARCHAR, sales VARCHAR, journal_ID VARCHAR) | SELECT date, theme, sales FROM journal EXCEPT SELECT T1.date, T1.theme, T1.sales FROM journal AS T1 JOIN journal_committee AS T2 ON T1.journal_ID = T2.journal_ID | List the date, theme and sales of the journal which did not have any of the listed editors serving on committee. | <s>[INST]List the date, theme and sales of the journal which did not have any of the listed editors serving on committee. Context: CREATE TABLE journal_committee (journal_ID VARCHAR); CREATE TABLE journal (date VARCHAR, theme VARCHAR, sales VARCHAR); CREATE TABLE journal (date VARCHAR, theme VARCHAR, sales VARCHAR, jou... |
CREATE TABLE table_name_92 (runners_up VARCHAR, winning_years VARCHAR) | SELECT COUNT(runners_up) FROM table_name_92 WHERE winning_years = "2010" | What is the total number of runners-up for a club with winning years of 2010? | <s>[INST]What is the total number of runners-up for a club with winning years of 2010? Context: CREATE TABLE table_name_92 (runners_up VARCHAR, winning_years VARCHAR)[/INST]SELECT COUNT(runners_up) FROM table_name_92 WHERE winning_years = "2010"</s> |
CREATE TABLE table_2182654_3 (no_in_season VARCHAR, directed_by VARCHAR) | SELECT COUNT(no_in_season) FROM table_2182654_3 WHERE directed_by = "Jeremy Podeswa" | How many episodes in the season were directed by Jeremy Podeswa? | <s>[INST]How many episodes in the season were directed by Jeremy Podeswa? Context: CREATE TABLE table_2182654_3 (no_in_season VARCHAR, directed_by VARCHAR)[/INST]SELECT COUNT(no_in_season) FROM table_2182654_3 WHERE directed_by = "Jeremy Podeswa"</s> |
CREATE TABLE table_name_83 (seats INTEGER, votes VARCHAR) | SELECT MAX(seats) FROM table_name_83 WHERE votes = 244 OFFSET 867 | Which highest number of Seats has votes of 244,867? | <s>[INST]Which highest number of Seats has votes of 244,867? Context: CREATE TABLE table_name_83 (seats INTEGER, votes VARCHAR)[/INST]SELECT MAX(seats) FROM table_name_83 WHERE votes = 244 OFFSET 867</s> |
CREATE TABLE table_name_56 (laps INTEGER, grid VARCHAR, time_retired VARCHAR) | SELECT AVG(laps) FROM table_name_56 WHERE grid < 19 AND time_retired = "+21.3 secs" | What is the mean number of laps when the grid is less than 19 and time/retired is +21.3 secs? | <s>[INST]What is the mean number of laps when the grid is less than 19 and time/retired is +21.3 secs? Context: CREATE TABLE table_name_56 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_56 WHERE grid < 19 AND time_retired = "+21.3 secs"</s> |
CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rank INTEGER, rating INTEGER) | SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rank > 3 INTERSECT SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id GROUP BY T2.i_id HAVING AVG(T2.rating) > 5 | Find the names of items whose rank is higher than 3 and whose average rating is above 5. | <s>[INST]Find the names of items whose rank is higher than 3 and whose average rating is above 5. Context: CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rank INTEGER, rating INTEGER)[/INST]SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rank > 3 INTE... |
CREATE TABLE table_name_72 (country VARCHAR, place VARCHAR) | SELECT country FROM table_name_72 WHERE place = "torino" | What is Country, when Place is "Torino"? | <s>[INST]What is Country, when Place is "Torino"? Context: CREATE TABLE table_name_72 (country VARCHAR, place VARCHAR)[/INST]SELECT country FROM table_name_72 WHERE place = "torino"</s> |
CREATE TABLE table_1341453_7 (party VARCHAR, first_elected VARCHAR) | SELECT party FROM table_1341453_7 WHERE first_elected = 1974 | What party was first elected in 1974? | <s>[INST]What party was first elected in 1974? Context: CREATE TABLE table_1341453_7 (party VARCHAR, first_elected VARCHAR)[/INST]SELECT party FROM table_1341453_7 WHERE first_elected = 1974</s> |
CREATE TABLE table_name_18 (circumstances VARCHAR, nature_of_incident VARCHAR, location VARCHAR) | SELECT circumstances FROM table_name_18 WHERE nature_of_incident = "hostile" AND location = "road to jalalabad" | What were the circumstances of the Hostile incident on the road to Jalalabad? | <s>[INST]What were the circumstances of the Hostile incident on the road to Jalalabad? Context: CREATE TABLE table_name_18 (circumstances VARCHAR, nature_of_incident VARCHAR, location VARCHAR)[/INST]SELECT circumstances FROM table_name_18 WHERE nature_of_incident = "hostile" AND location = "road to jalalabad"</s> |
CREATE TABLE table_13981938_1 (wine_style VARCHAR, grand_cru VARCHAR) | SELECT wine_style FROM table_13981938_1 WHERE grand_cru = "Romanée-Conti" | what's the wine style with grand cru being romanée-conti | <s>[INST]what's the wine style with grand cru being romanée-conti Context: CREATE TABLE table_13981938_1 (wine_style VARCHAR, grand_cru VARCHAR)[/INST]SELECT wine_style FROM table_13981938_1 WHERE grand_cru = "Romanée-Conti"</s> |
CREATE TABLE table_name_87 (nation VARCHAR, gold VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT nation FROM table_name_87 WHERE bronze < 1 AND silver < 1 AND gold > 1 | Which nation has a Bronze and Silver smaller than 1 and a Gold larger than 1? | <s>[INST]Which nation has a Bronze and Silver smaller than 1 and a Gold larger than 1? Context: CREATE TABLE table_name_87 (nation VARCHAR, gold VARCHAR, bronze VARCHAR, silver VARCHAR)[/INST]SELECT nation FROM table_name_87 WHERE bronze < 1 AND silver < 1 AND gold > 1</s> |
CREATE TABLE table_name_72 (county VARCHAR, license_plate_code VARCHAR) | SELECT county AS seat FROM table_name_72 WHERE license_plate_code = "5c" | What is the country seat for the license plate code 5c? | <s>[INST]What is the country seat for the license plate code 5c? Context: CREATE TABLE table_name_72 (county VARCHAR, license_plate_code VARCHAR)[/INST]SELECT county AS seat FROM table_name_72 WHERE license_plate_code = "5c"</s> |
CREATE TABLE phone (Accreditation_level VARCHAR) | SELECT Accreditation_level FROM phone GROUP BY Accreditation_level HAVING COUNT(*) > 3 | Find the accreditation level that more than 3 phones use. | <s>[INST]Find the accreditation level that more than 3 phones use. Context: CREATE TABLE phone (Accreditation_level VARCHAR)[/INST]SELECT Accreditation_level FROM phone GROUP BY Accreditation_level HAVING COUNT(*) > 3</s> |
CREATE TABLE table_27021001_1 (status VARCHAR, district VARCHAR) | SELECT status FROM table_27021001_1 WHERE district = "Georgia's 10th" | What is the status for district georgia's 10th? | <s>[INST]What is the status for district georgia's 10th? Context: CREATE TABLE table_27021001_1 (status VARCHAR, district VARCHAR)[/INST]SELECT status FROM table_27021001_1 WHERE district = "Georgia's 10th"</s> |
CREATE TABLE table_22854436_1 (average_annual_rainfall__mm_ VARCHAR, population__2002_census_data_ VARCHAR) | SELECT average_annual_rainfall__mm_ FROM table_22854436_1 WHERE population__2002_census_data_ = 493984 | Name the annual rainfail for 2002 population being 493984 | <s>[INST]Name the annual rainfail for 2002 population being 493984 Context: CREATE TABLE table_22854436_1 (average_annual_rainfall__mm_ VARCHAR, population__2002_census_data_ VARCHAR)[/INST]SELECT average_annual_rainfall__mm_ FROM table_22854436_1 WHERE population__2002_census_data_ = 493984</s> |
CREATE TABLE table_24425976_2 (episode_title VARCHAR, production_code VARCHAR) | SELECT episode_title FROM table_24425976_2 WHERE production_code = "107" | What is the name of the episode with a production code of 107? | <s>[INST]What is the name of the episode with a production code of 107? Context: CREATE TABLE table_24425976_2 (episode_title VARCHAR, production_code VARCHAR)[/INST]SELECT episode_title FROM table_24425976_2 WHERE production_code = "107"</s> |
CREATE TABLE table_189598_7 (population__2011_ INTEGER, land_area__km²_ VARCHAR) | SELECT MAX(population__2011_) FROM table_189598_7 WHERE land_area__km²_ = "6.00" | When 6.00 is the land area in kilometers squared what is the highest population of 2011? | <s>[INST]When 6.00 is the land area in kilometers squared what is the highest population of 2011? Context: CREATE TABLE table_189598_7 (population__2011_ INTEGER, land_area__km²_ VARCHAR)[/INST]SELECT MAX(population__2011_) FROM table_189598_7 WHERE land_area__km²_ = "6.00"</s> |
CREATE TABLE table_name_93 (ends INTEGER, since VARCHAR, name VARCHAR) | SELECT AVG(ends) FROM table_name_93 WHERE since = 2003 AND name = "márquez" | What is the average Ends with a Since of 2003, and a Name with márquez? | <s>[INST]What is the average Ends with a Since of 2003, and a Name with márquez? Context: CREATE TABLE table_name_93 (ends INTEGER, since VARCHAR, name VARCHAR)[/INST]SELECT AVG(ends) FROM table_name_93 WHERE since = 2003 AND name = "márquez"</s> |
CREATE TABLE table_name_83 (date VARCHAR, circuit VARCHAR) | SELECT date FROM table_name_83 WHERE circuit = "indianapolis" | What was the date of the Circuit of Indianapolis? | <s>[INST]What was the date of the Circuit of Indianapolis? Context: CREATE TABLE table_name_83 (date VARCHAR, circuit VARCHAR)[/INST]SELECT date FROM table_name_83 WHERE circuit = "indianapolis"</s> |
CREATE TABLE table_name_99 (round INTEGER, time VARCHAR) | SELECT AVG(round) FROM table_name_99 WHERE time = "1:15" | What the round with the time 1:15? | <s>[INST]What the round with the time 1:15? Context: CREATE TABLE table_name_99 (round INTEGER, time VARCHAR)[/INST]SELECT AVG(round) FROM table_name_99 WHERE time = "1:15"</s> |
CREATE TABLE shop (Shop_Name VARCHAR, Open_Year VARCHAR) | SELECT Shop_Name FROM shop ORDER BY Open_Year | What are the names of shops in ascending order of open year? | <s>[INST]What are the names of shops in ascending order of open year? Context: CREATE TABLE shop (Shop_Name VARCHAR, Open_Year VARCHAR)[/INST]SELECT Shop_Name FROM shop ORDER BY Open_Year</s> |
CREATE TABLE table_name_44 (distance VARCHAR, speed VARCHAR) | SELECT distance FROM table_name_44 WHERE speed = "124.1km/h" | How far did the pilot go when averaging 124.1km/h? | <s>[INST]How far did the pilot go when averaging 124.1km/h? Context: CREATE TABLE table_name_44 (distance VARCHAR, speed VARCHAR)[/INST]SELECT distance FROM table_name_44 WHERE speed = "124.1km/h"</s> |
CREATE TABLE table_name_5 (total VARCHAR, silver VARCHAR, bronze VARCHAR) | SELECT COUNT(total) FROM table_name_5 WHERE silver = "1" AND bronze = "7" | What is the total number of Total, when Silver is 1, and when Bronze is 7? | <s>[INST]What is the total number of Total, when Silver is 1, and when Bronze is 7? Context: CREATE TABLE table_name_5 (total VARCHAR, silver VARCHAR, bronze VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_5 WHERE silver = "1" AND bronze = "7"</s> |
CREATE TABLE table_name_15 (wins INTEGER, tournament VARCHAR, cuts_made VARCHAR) | SELECT AVG(wins) FROM table_name_15 WHERE tournament = "the open championship" AND cuts_made > 3 | In the Open Championship with more than 3 cuts made, what is the average wins? | <s>[INST]In the Open Championship with more than 3 cuts made, what is the average wins? Context: CREATE TABLE table_name_15 (wins INTEGER, tournament VARCHAR, cuts_made VARCHAR)[/INST]SELECT AVG(wins) FROM table_name_15 WHERE tournament = "the open championship" AND cuts_made > 3</s> |
CREATE TABLE table_name_94 (model VARCHAR, engine_make_capacity VARCHAR, gcm__kg__technical_capacity VARCHAR, gvm__kg__technical_capacity VARCHAR) | SELECT model FROM table_name_94 WHERE gcm__kg__technical_capacity = "35000" AND gvm__kg__technical_capacity = "16000" AND engine_make_capacity = "cummins interact 6.0-euro iii (turbo intercooler)" | Which Model has a GCM (kg) Technical Capacity of 35000, a GVM (kg) Technical Capacity of 16000, and Cummins Interact 6.0-euro III (turbo intercooler) for the Engine? | <s>[INST]Which Model has a GCM (kg) Technical Capacity of 35000, a GVM (kg) Technical Capacity of 16000, and Cummins Interact 6.0-euro III (turbo intercooler) for the Engine? Context: CREATE TABLE table_name_94 (model VARCHAR, engine_make_capacity VARCHAR, gcm__kg__technical_capacity VARCHAR, gvm__kg__technical_capacit... |
CREATE TABLE table_name_85 (high_assists VARCHAR, score VARCHAR) | SELECT high_assists FROM table_name_85 WHERE score = "w 71-56" | Which High assists has a Score of w 71-56? | <s>[INST]Which High assists has a Score of w 71-56? Context: CREATE TABLE table_name_85 (high_assists VARCHAR, score VARCHAR)[/INST]SELECT high_assists FROM table_name_85 WHERE score = "w 71-56"</s> |
CREATE TABLE table_name_38 (result VARCHAR, week VARCHAR) | SELECT result FROM table_name_38 WHERE week = 13 | What was the result of week 13? | <s>[INST]What was the result of week 13? Context: CREATE TABLE table_name_38 (result VARCHAR, week VARCHAR)[/INST]SELECT result FROM table_name_38 WHERE week = 13</s> |
CREATE TABLE table_name_73 (torque VARCHAR, engine_code VARCHAR) | SELECT torque FROM table_name_73 WHERE engine_code = "m54b25" | What is the Torque of the model with the engine code of M54B25? | <s>[INST]What is the Torque of the model with the engine code of M54B25? Context: CREATE TABLE table_name_73 (torque VARCHAR, engine_code VARCHAR)[/INST]SELECT torque FROM table_name_73 WHERE engine_code = "m54b25"</s> |
CREATE TABLE table_name_91 (score VARCHAR, result VARCHAR) | SELECT score FROM table_name_91 WHERE result = "3-0 win" | What was the score of the 3-0 Win result? | <s>[INST]What was the score of the 3-0 Win result? Context: CREATE TABLE table_name_91 (score VARCHAR, result VARCHAR)[/INST]SELECT score FROM table_name_91 WHERE result = "3-0 win"</s> |
CREATE TABLE table_name_1 (characters VARCHAR, construction VARCHAR, name__wade_giles_ VARCHAR) | SELECT characters FROM table_name_1 WHERE construction = "1870, foochow navy yard" AND name__wade_giles_ = "fu-hsing" | Who has a Construction of 1870, foochow navy yard, and a Name (Wade Giles) of fu-hsing? | <s>[INST]Who has a Construction of 1870, foochow navy yard, and a Name (Wade Giles) of fu-hsing? Context: CREATE TABLE table_name_1 (characters VARCHAR, construction VARCHAR, name__wade_giles_ VARCHAR)[/INST]SELECT characters FROM table_name_1 WHERE construction = "1870, foochow navy yard" AND name__wade_giles_ = "fu-h... |
CREATE TABLE table_name_89 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_89 WHERE player = "greg norman" | What is Greg Norman's place? | <s>[INST]What is Greg Norman's place? Context: CREATE TABLE table_name_89 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_89 WHERE player = "greg norman"</s> |
CREATE TABLE table_19722436_2 (results VARCHAR, gt1_winning_team VARCHAR) | SELECT results FROM table_19722436_2 WHERE gt1_winning_team = "No.55 IPB Spartak Racing" | When no.55 ipb spartak racing is the g1 winning team what are the results? | <s>[INST]When no.55 ipb spartak racing is the g1 winning team what are the results? Context: CREATE TABLE table_19722436_2 (results VARCHAR, gt1_winning_team VARCHAR)[/INST]SELECT results FROM table_19722436_2 WHERE gt1_winning_team = "No.55 IPB Spartak Racing"</s> |
CREATE TABLE table_name_96 (award VARCHAR, group VARCHAR, film_show VARCHAR, year VARCHAR) | SELECT award FROM table_name_96 WHERE film_show = "east west 101" AND year < 2009 AND group = "logie award" | What is the Award, when the Film/Show is East West 101, and when the year is before 2009, and when the Group is Logie Award? | <s>[INST]What is the Award, when the Film/Show is East West 101, and when the year is before 2009, and when the Group is Logie Award? Context: CREATE TABLE table_name_96 (award VARCHAR, group VARCHAR, film_show VARCHAR, year VARCHAR)[/INST]SELECT award FROM table_name_96 WHERE film_show = "east west 101" AND year < 200... |
CREATE TABLE table_name_93 (event VARCHAR, name VARCHAR) | SELECT event FROM table_name_93 WHERE name = "sudesh peiris" | Name the Event of sudesh peiris? | <s>[INST]Name the Event of sudesh peiris? Context: CREATE TABLE table_name_93 (event VARCHAR, name VARCHAR)[/INST]SELECT event FROM table_name_93 WHERE name = "sudesh peiris"</s> |
CREATE TABLE table_name_12 (fa_cup_goals INTEGER, total_apps VARCHAR) | SELECT SUM(fa_cup_goals) FROM table_name_12 WHERE total_apps = "10 (4)" | what is the fa cup goals when total apps is 10 (4)? | <s>[INST]what is the fa cup goals when total apps is 10 (4)? Context: CREATE TABLE table_name_12 (fa_cup_goals INTEGER, total_apps VARCHAR)[/INST]SELECT SUM(fa_cup_goals) FROM table_name_12 WHERE total_apps = "10 (4)"</s> |
CREATE TABLE table_name_46 (goals INTEGER, name VARCHAR) | SELECT AVG(goals) FROM table_name_46 WHERE name = "sawyer" | What is the average goals Sawyer has? | <s>[INST]What is the average goals Sawyer has? Context: CREATE TABLE table_name_46 (goals INTEGER, name VARCHAR)[/INST]SELECT AVG(goals) FROM table_name_46 WHERE name = "sawyer"</s> |
CREATE TABLE table_name_34 (rank INTEGER, loss VARCHAR, sets_lost VARCHAR) | SELECT MIN(rank) FROM table_name_34 WHERE loss > 3 AND sets_lost < 25 | What is the least rank with more than 3 losses and less than 25 sets lost? | <s>[INST]What is the least rank with more than 3 losses and less than 25 sets lost? Context: CREATE TABLE table_name_34 (rank INTEGER, loss VARCHAR, sets_lost VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_34 WHERE loss > 3 AND sets_lost < 25</s> |
CREATE TABLE student (name VARCHAR, id VARCHAR); CREATE TABLE course (course_id VARCHAR, title VARCHAR); CREATE TABLE prereq (prereq_id VARCHAR, course_id VARCHAR); CREATE TABLE takes (id VARCHAR, course_id VARCHAR) | SELECT T1.name FROM student AS T1 JOIN takes AS T2 ON T1.id = T2.id WHERE T2.course_id IN (SELECT T4.prereq_id FROM course AS T3 JOIN prereq AS T4 ON T3.course_id = T4.course_id WHERE T3.title = 'International Finance') | Find the name of students who have taken the prerequisite course of the course with title International Finance. | <s>[INST]Find the name of students who have taken the prerequisite course of the course with title International Finance. Context: CREATE TABLE student (name VARCHAR, id VARCHAR); CREATE TABLE course (course_id VARCHAR, title VARCHAR); CREATE TABLE prereq (prereq_id VARCHAR, course_id VARCHAR); CREATE TABLE takes (id V... |
CREATE TABLE table_16815824_1 (round4 INTEGER, team VARCHAR) | SELECT MIN(round4) FROM table_16815824_1 WHERE team = "team Toshiba" | What was team Toshiba's round 4 score? | <s>[INST]What was team Toshiba's round 4 score? Context: CREATE TABLE table_16815824_1 (round4 INTEGER, team VARCHAR)[/INST]SELECT MIN(round4) FROM table_16815824_1 WHERE team = "team Toshiba"</s> |
CREATE TABLE table_name_81 (nominee VARCHAR, category VARCHAR, award VARCHAR, result VARCHAR) | SELECT nominee FROM table_name_81 WHERE award = "drama desk award" AND result = "won" AND category = "outstanding choreography" | Which nominee won the Drama Desk Award for outstanding choreography? | <s>[INST]Which nominee won the Drama Desk Award for outstanding choreography? Context: CREATE TABLE table_name_81 (nominee VARCHAR, category VARCHAR, award VARCHAR, result VARCHAR)[/INST]SELECT nominee FROM table_name_81 WHERE award = "drama desk award" AND result = "won" AND category = "outstanding choreography"</s> |
CREATE TABLE table_21761882_4 (final_score VARCHAR, attendance VARCHAR) | SELECT final_score FROM table_21761882_4 WHERE attendance = 25598 | What was the final score when the attendance was 25598? | <s>[INST]What was the final score when the attendance was 25598? Context: CREATE TABLE table_21761882_4 (final_score VARCHAR, attendance VARCHAR)[/INST]SELECT final_score FROM table_21761882_4 WHERE attendance = 25598</s> |
CREATE TABLE table_name_41 (year_startup VARCHAR, operator VARCHAR) | SELECT year_startup FROM table_name_41 WHERE operator = "apache energy/inpex" | What was the startup year for the project with apache energy/inpex as the operator? | <s>[INST]What was the startup year for the project with apache energy/inpex as the operator? Context: CREATE TABLE table_name_41 (year_startup VARCHAR, operator VARCHAR)[/INST]SELECT year_startup FROM table_name_41 WHERE operator = "apache energy/inpex"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.