context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_97 (type VARCHAR, frequency VARCHAR) | SELECT type FROM table_name_97 WHERE frequency = 1480 | What is Type, when Frequency is "1480"? | <s>[INST]What is Type, when Frequency is "1480"? Context: CREATE TABLE table_name_97 (type VARCHAR, frequency VARCHAR)[/INST]SELECT type FROM table_name_97 WHERE frequency = 1480</s> |
CREATE TABLE table_name_79 (listed VARCHAR, county VARCHAR) | SELECT listed FROM table_name_79 WHERE county = "canyon" | When was the historic place listed that's in canyon county? | <s>[INST]When was the historic place listed that's in canyon county? Context: CREATE TABLE table_name_79 (listed VARCHAR, county VARCHAR)[/INST]SELECT listed FROM table_name_79 WHERE county = "canyon"</s> |
CREATE TABLE table_name_84 (country VARCHAR, icao VARCHAR) | SELECT country FROM table_name_84 WHERE icao = "tjig" | Tell me the country for ICAO of tjig | <s>[INST]Tell me the country for ICAO of tjig Context: CREATE TABLE table_name_84 (country VARCHAR, icao VARCHAR)[/INST]SELECT country FROM table_name_84 WHERE icao = "tjig"</s> |
CREATE TABLE table_name_50 (runner_up VARCHAR, score VARCHAR) | SELECT runner_up FROM table_name_50 WHERE score = "3–6, 6–3, [10–4]" | Who is the runner up when the score was 3–6, 6–3, [10–4]? | <s>[INST]Who is the runner up when the score was 3–6, 6–3, [10–4]? Context: CREATE TABLE table_name_50 (runner_up VARCHAR, score VARCHAR)[/INST]SELECT runner_up FROM table_name_50 WHERE score = "3–6, 6–3, [10–4]"</s> |
CREATE TABLE table_name_57 (evening_gown VARCHAR, swimsuit VARCHAR, average VARCHAR) | SELECT COUNT(evening_gown) FROM table_name_57 WHERE swimsuit < 9.36 AND average < 9.23 | Which is the total number of evening gowns for swimsui less than 9.36 and average less than 9.23? | <s>[INST]Which is the total number of evening gowns for swimsui less than 9.36 and average less than 9.23? Context: CREATE TABLE table_name_57 (evening_gown VARCHAR, swimsuit VARCHAR, average VARCHAR)[/INST]SELECT COUNT(evening_gown) FROM table_name_57 WHERE swimsuit < 9.36 AND average < 9.23</s> |
CREATE TABLE table_name_86 (average INTEGER, swimsuit INTEGER) | SELECT SUM(average) FROM table_name_86 WHERE swimsuit < 9.32 | What is the average of the contestant with a swimsuit less than 9.32? | <s>[INST]What is the average of the contestant with a swimsuit less than 9.32? Context: CREATE TABLE table_name_86 (average INTEGER, swimsuit INTEGER)[/INST]SELECT SUM(average) FROM table_name_86 WHERE swimsuit < 9.32</s> |
CREATE TABLE table_name_63 (assists INTEGER, total_attempts VARCHAR, percentage VARCHAR, solo_blocks VARCHAR) | SELECT MAX(assists) FROM table_name_63 WHERE percentage < 0.34900000000000003 AND solo_blocks > 13 AND total_attempts < 4713 | When the percentage is 0.34900000000000003 with more than 13 solo blocks and less than 4713 total attempts, what is the greatest assists? | <s>[INST]When the percentage is 0.34900000000000003 with more than 13 solo blocks and less than 4713 total attempts, what is the greatest assists? Context: CREATE TABLE table_name_63 (assists INTEGER, total_attempts VARCHAR, percentage VARCHAR, solo_blocks VARCHAR)[/INST]SELECT MAX(assists) FROM table_name_63 WHERE per... |
CREATE TABLE table_1682026_9 (country VARCHAR, market_value__billion_$_ VARCHAR) | SELECT country FROM table_1682026_9 WHERE market_value__billion_$_ = "188.77" | Name the country for 188.77 market value | <s>[INST]Name the country for 188.77 market value Context: CREATE TABLE table_1682026_9 (country VARCHAR, market_value__billion_$_ VARCHAR)[/INST]SELECT country FROM table_1682026_9 WHERE market_value__billion_$_ = "188.77"</s> |
CREATE TABLE table_name_18 (leading_scorer VARCHAR, record VARCHAR) | SELECT leading_scorer FROM table_name_18 WHERE record = "9–6" | What is the name of the leading scorer when the record was 9–6? | <s>[INST]What is the name of the leading scorer when the record was 9–6? Context: CREATE TABLE table_name_18 (leading_scorer VARCHAR, record VARCHAR)[/INST]SELECT leading_scorer FROM table_name_18 WHERE record = "9–6"</s> |
CREATE TABLE table_13700749_1 (result VARCHAR, film_title VARCHAR) | SELECT result FROM table_13700749_1 WHERE film_title = "Life, Above All" | What was the result for the film life, above all? | <s>[INST]What was the result for the film life, above all? Context: CREATE TABLE table_13700749_1 (result VARCHAR, film_title VARCHAR)[/INST]SELECT result FROM table_13700749_1 WHERE film_title = "Life, Above All"</s> |
CREATE TABLE table_name_3 (year INTEGER, result VARCHAR, extra VARCHAR) | SELECT MIN(year) FROM table_name_3 WHERE result = "1st" AND extra = "4 x 400 m relay" | Result of 1st, and an Extra of 4 x 400 m relay is in what lowest year? | <s>[INST]Result of 1st, and an Extra of 4 x 400 m relay is in what lowest year? Context: CREATE TABLE table_name_3 (year INTEGER, result VARCHAR, extra VARCHAR)[/INST]SELECT MIN(year) FROM table_name_3 WHERE result = "1st" AND extra = "4 x 400 m relay"</s> |
CREATE TABLE table_name_88 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_88 WHERE player = "steven anthony" | What nationality is Steven Anthony? | <s>[INST]What nationality is Steven Anthony? Context: CREATE TABLE table_name_88 (nationality VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_name_88 WHERE player = "steven anthony"</s> |
CREATE TABLE grants (grant_amount VARCHAR, grant_end_date INTEGER); CREATE TABLE Grants (grant_amount VARCHAR, grant_id VARCHAR); CREATE TABLE Documents (grant_id VARCHAR, sent_date INTEGER) | SELECT T1.grant_amount FROM Grants AS T1 JOIN Documents AS T2 ON T1.grant_id = T2.grant_id WHERE T2.sent_date < '1986-08-26 20:49:27' INTERSECT SELECT grant_amount FROM grants WHERE grant_end_date > '1989-03-16 18:27:16' | What are the distinct grant amount for the grants where the documents were sent before '1986-08-26 20:49:27' and grant were ended after '1989-03-16 18:27:16'? | <s>[INST]What are the distinct grant amount for the grants where the documents were sent before '1986-08-26 20:49:27' and grant were ended after '1989-03-16 18:27:16'? Context: CREATE TABLE grants (grant_amount VARCHAR, grant_end_date INTEGER); CREATE TABLE Grants (grant_amount VARCHAR, grant_id VARCHAR); CREATE TABLE ... |
CREATE TABLE table_name_61 (year_s__withdrawn VARCHAR, wheel_arrangement VARCHAR, year_made VARCHAR) | SELECT year_s__withdrawn FROM table_name_61 WHERE wheel_arrangement = "4-6-0" AND year_made = "1908" | What year was the 4-6-0 Wheel model train from 1908 withdrawn? | <s>[INST]What year was the 4-6-0 Wheel model train from 1908 withdrawn? Context: CREATE TABLE table_name_61 (year_s__withdrawn VARCHAR, wheel_arrangement VARCHAR, year_made VARCHAR)[/INST]SELECT year_s__withdrawn FROM table_name_61 WHERE wheel_arrangement = "4-6-0" AND year_made = "1908"</s> |
CREATE TABLE table_name_53 (ryusuke_taguchi VARCHAR, jushin_liger VARCHAR) | SELECT ryusuke_taguchi FROM table_name_53 WHERE jushin_liger = "liger (9:57)" | Name the ryusuke taguchi for Jushin Liger of liger (9:57) | <s>[INST]Name the ryusuke taguchi for Jushin Liger of liger (9:57) Context: CREATE TABLE table_name_53 (ryusuke_taguchi VARCHAR, jushin_liger VARCHAR)[/INST]SELECT ryusuke_taguchi FROM table_name_53 WHERE jushin_liger = "liger (9:57)"</s> |
CREATE TABLE table_name_77 (rank VARCHAR, country VARCHAR) | SELECT COUNT(rank) FROM table_name_77 WHERE country = "australia" | What rank was the team from Australia? | <s>[INST]What rank was the team from Australia? Context: CREATE TABLE table_name_77 (rank VARCHAR, country VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_77 WHERE country = "australia"</s> |
CREATE TABLE table_name_94 (rank VARCHAR, places VARCHAR, sp VARCHAR, fs VARCHAR) | SELECT COUNT(rank) FROM table_name_94 WHERE places = "233" AND sp + fs < 27 | What is the rank when 233 shows for places and SP+FS smaller than 27? | <s>[INST]What is the rank when 233 shows for places and SP+FS smaller than 27? Context: CREATE TABLE table_name_94 (rank VARCHAR, places VARCHAR, sp VARCHAR, fs VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_94 WHERE places = "233" AND sp + fs < 27</s> |
CREATE TABLE table_name_76 (name VARCHAR, role VARCHAR, period VARCHAR) | SELECT name FROM table_name_76 WHERE role = "midfielder" AND period = "1999-2003" | What name has the role of midfielder for 1999-2003? | <s>[INST]What name has the role of midfielder for 1999-2003? Context: CREATE TABLE table_name_76 (name VARCHAR, role VARCHAR, period VARCHAR)[/INST]SELECT name FROM table_name_76 WHERE role = "midfielder" AND period = "1999-2003"</s> |
CREATE TABLE table_name_32 (goals_against INTEGER, position VARCHAR, goals_for VARCHAR) | SELECT MAX(goals_against) FROM table_name_32 WHERE position > 19 AND goals_for < 36 | What were the highest goals against when the position was larger than 19 and the goals smaller than 36? | <s>[INST]What were the highest goals against when the position was larger than 19 and the goals smaller than 36? Context: CREATE TABLE table_name_32 (goals_against INTEGER, position VARCHAR, goals_for VARCHAR)[/INST]SELECT MAX(goals_against) FROM table_name_32 WHERE position > 19 AND goals_for < 36</s> |
CREATE TABLE table_name_53 (competition VARCHAR, rank VARCHAR) | SELECT competition FROM table_name_53 WHERE rank = 9 | Which competition was ranked 9? | <s>[INST]Which competition was ranked 9? Context: CREATE TABLE table_name_53 (competition VARCHAR, rank VARCHAR)[/INST]SELECT competition FROM table_name_53 WHERE rank = 9</s> |
CREATE TABLE table_name_64 (d_49 VARCHAR, d_46 VARCHAR) | SELECT d_49 FROM table_name_64 WHERE d_46 = "r 13" | Tell me the D 49 and D 46 of r 13 | <s>[INST]Tell me the D 49 and D 46 of r 13 Context: CREATE TABLE table_name_64 (d_49 VARCHAR, d_46 VARCHAR)[/INST]SELECT d_49 FROM table_name_64 WHERE d_46 = "r 13"</s> |
CREATE TABLE table_name_44 (site VARCHAR, date VARCHAR) | SELECT site FROM table_name_44 WHERE date = "october 7" | WHAT IS THE SITE ON OCTOBER 7? | <s>[INST]WHAT IS THE SITE ON OCTOBER 7? Context: CREATE TABLE table_name_44 (site VARCHAR, date VARCHAR)[/INST]SELECT site FROM table_name_44 WHERE date = "october 7"</s> |
CREATE TABLE table_name_76 (team__number1 VARCHAR, time___cest__ INTEGER) | SELECT team__number1 FROM table_name_76 WHERE time___cest__ < 18 | What id the team with a smaller Time than 18? | <s>[INST]What id the team with a smaller Time than 18? Context: CREATE TABLE table_name_76 (team__number1 VARCHAR, time___cest__ INTEGER)[/INST]SELECT team__number1 FROM table_name_76 WHERE time___cest__ < 18</s> |
CREATE TABLE vocals (bandmate VARCHAR); CREATE TABLE band (id VARCHAR) | SELECT TYPE FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate = T2.id WHERE lastname = "Heilo" GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1 | Which vocal type has the band mate with last name "Heilo" played the most? | <s>[INST]Which vocal type has the band mate with last name "Heilo" played the most? Context: CREATE TABLE vocals (bandmate VARCHAR); CREATE TABLE band (id VARCHAR)[/INST]SELECT TYPE FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate = T2.id WHERE lastname = "Heilo" GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_41 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_41 WHERE score = "4-3" | What is the date of the game with a score of 4-3? | <s>[INST]What is the date of the game with a score of 4-3? Context: CREATE TABLE table_name_41 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_41 WHERE score = "4-3"</s> |
CREATE TABLE table_27057070_3 (manner_of_departure VARCHAR, replaced_by VARCHAR) | SELECT manner_of_departure FROM table_27057070_3 WHERE replaced_by = "Bahman Hasanov" | What is the manner of departure when the replaced by is bahman hasanov? | <s>[INST]What is the manner of departure when the replaced by is bahman hasanov? Context: CREATE TABLE table_27057070_3 (manner_of_departure VARCHAR, replaced_by VARCHAR)[/INST]SELECT manner_of_departure FROM table_27057070_3 WHERE replaced_by = "Bahman Hasanov"</s> |
CREATE TABLE table_23680576_2 (aug_2008 VARCHAR, sep_2008 VARCHAR) | SELECT aug_2008 FROM table_23680576_2 WHERE sep_2008 = "5.0%" | What was the polling average in Aug 2009 when is was 5.0% in Sep 2009? | <s>[INST]What was the polling average in Aug 2009 when is was 5.0% in Sep 2009? Context: CREATE TABLE table_23680576_2 (aug_2008 VARCHAR, sep_2008 VARCHAR)[/INST]SELECT aug_2008 FROM table_23680576_2 WHERE sep_2008 = "5.0%"</s> |
CREATE TABLE table_name_18 (best_fit__all_data_ VARCHAR, parameter VARCHAR) | SELECT best_fit__all_data_ FROM table_name_18 WHERE parameter = "fluctuation amplitude at 8h −1 mpc" | What is the best fit (all data) when the parameter shows fluctuation amplitude at 8h −1 mpc? | <s>[INST]What is the best fit (all data) when the parameter shows fluctuation amplitude at 8h −1 mpc? Context: CREATE TABLE table_name_18 (best_fit__all_data_ VARCHAR, parameter VARCHAR)[/INST]SELECT best_fit__all_data_ FROM table_name_18 WHERE parameter = "fluctuation amplitude at 8h −1 mpc"</s> |
CREATE TABLE table_name_78 (year_s__won VARCHAR, player VARCHAR) | SELECT year_s__won FROM table_name_78 WHERE player = "tom watson" | What year did Tom Watson win? | <s>[INST]What year did Tom Watson win? Context: CREATE TABLE table_name_78 (year_s__won VARCHAR, player VARCHAR)[/INST]SELECT year_s__won FROM table_name_78 WHERE player = "tom watson"</s> |
CREATE TABLE table_name_22 (course VARCHAR, jockey VARCHAR) | SELECT course FROM table_name_22 WHERE jockey = "royston ffrench" | Which course had a jockey of Royston FFrench? | <s>[INST]Which course had a jockey of Royston FFrench? Context: CREATE TABLE table_name_22 (course VARCHAR, jockey VARCHAR)[/INST]SELECT course FROM table_name_22 WHERE jockey = "royston ffrench"</s> |
CREATE TABLE table_13836704_9 (aircraft_movements INTEGER, airport VARCHAR) | SELECT MAX(aircraft_movements) FROM table_13836704_9 WHERE airport = "Liverpool" | what is the maximum aircraft movements with airport being liverpool | <s>[INST]what is the maximum aircraft movements with airport being liverpool Context: CREATE TABLE table_13836704_9 (aircraft_movements INTEGER, airport VARCHAR)[/INST]SELECT MAX(aircraft_movements) FROM table_13836704_9 WHERE airport = "Liverpool"</s> |
CREATE TABLE table_name_27 (round INTEGER, pole_position VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR) | SELECT MIN(round) FROM table_name_27 WHERE fastest_lap = "michael schumacher" AND winning_driver = "michael schumacher" AND pole_position = "michael schumacher" | Name the lowest round for when pole position and winning driver is michael schumacher | <s>[INST]Name the lowest round for when pole position and winning driver is michael schumacher Context: CREATE TABLE table_name_27 (round INTEGER, pole_position VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)[/INST]SELECT MIN(round) FROM table_name_27 WHERE fastest_lap = "michael schumacher" AND winning_driver = ... |
CREATE TABLE table_27573848_18 (points_classification VARCHAR, general_classification VARCHAR, mountains_classification VARCHAR) | SELECT points_classification FROM table_27573848_18 WHERE general_classification = "Fabian Cancellara" AND mountains_classification = "Mathias Frank" | If the mountains classification is Mathias Frank, and the General Classification is Fabian Cancellara, what is the Points classification? | <s>[INST]If the mountains classification is Mathias Frank, and the General Classification is Fabian Cancellara, what is the Points classification? Context: CREATE TABLE table_27573848_18 (points_classification VARCHAR, general_classification VARCHAR, mountains_classification VARCHAR)[/INST]SELECT points_classification ... |
CREATE TABLE table_16278673_1 (population VARCHAR, municipality VARCHAR) | SELECT population FROM table_16278673_1 WHERE municipality = "Sørvágur" | Name the population for sørvágur | <s>[INST]Name the population for sørvágur Context: CREATE TABLE table_16278673_1 (population VARCHAR, municipality VARCHAR)[/INST]SELECT population FROM table_16278673_1 WHERE municipality = "Sørvágur"</s> |
CREATE TABLE table_name_22 (points INTEGER, year VARCHAR, chassis VARCHAR) | SELECT MAX(points) FROM table_name_22 WHERE year < 1953 AND chassis = "ferrari 375/50" | What is the most points earlier than 1953 with a Ferrari 375/50 chassis? | <s>[INST]What is the most points earlier than 1953 with a Ferrari 375/50 chassis? Context: CREATE TABLE table_name_22 (points INTEGER, year VARCHAR, chassis VARCHAR)[/INST]SELECT MAX(points) FROM table_name_22 WHERE year < 1953 AND chassis = "ferrari 375/50"</s> |
CREATE TABLE table_name_59 (mountain_range VARCHAR, rank VARCHAR) | SELECT mountain_range FROM table_name_59 WHERE rank = 5 | What is the ranked 5 mountain range? | <s>[INST]What is the ranked 5 mountain range? Context: CREATE TABLE table_name_59 (mountain_range VARCHAR, rank VARCHAR)[/INST]SELECT mountain_range FROM table_name_59 WHERE rank = 5</s> |
CREATE TABLE table_name_12 (height__ft_ VARCHAR, name VARCHAR, height__m_ VARCHAR) | SELECT COUNT(height__ft_) FROM table_name_12 WHERE name = "churchill house" AND height__m_ < 59 | What is the Height (ft) of the Churchill House with a Height (m) less than 59? | <s>[INST]What is the Height (ft) of the Churchill House with a Height (m) less than 59? Context: CREATE TABLE table_name_12 (height__ft_ VARCHAR, name VARCHAR, height__m_ VARCHAR)[/INST]SELECT COUNT(height__ft_) FROM table_name_12 WHERE name = "churchill house" AND height__m_ < 59</s> |
CREATE TABLE table_name_31 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR) | SELECT reserved_for___sc___st__none_ FROM table_name_31 WHERE name = "beohari" | What is Beohari's reserved for (SC/ST/None)? | <s>[INST]What is Beohari's reserved for (SC/ST/None)? Context: CREATE TABLE table_name_31 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR)[/INST]SELECT reserved_for___sc___st__none_ FROM table_name_31 WHERE name = "beohari"</s> |
CREATE TABLE table_name_12 (minister VARCHAR, end_date VARCHAR) | SELECT minister FROM table_name_12 WHERE end_date = "31 july 2004" | Name the minister for end date of 31 july 2004 | <s>[INST]Name the minister for end date of 31 july 2004 Context: CREATE TABLE table_name_12 (minister VARCHAR, end_date VARCHAR)[/INST]SELECT minister FROM table_name_12 WHERE end_date = "31 july 2004"</s> |
CREATE TABLE table_18600760_9 (longitude VARCHAR, ansi_code VARCHAR) | SELECT longitude FROM table_18600760_9 WHERE ansi_code = 1759682 | What is the longitude of the township at ANSI code 1759682? | <s>[INST]What is the longitude of the township at ANSI code 1759682? Context: CREATE TABLE table_18600760_9 (longitude VARCHAR, ansi_code VARCHAR)[/INST]SELECT longitude FROM table_18600760_9 WHERE ansi_code = 1759682</s> |
CREATE TABLE table_27547668_2 (original_airdate VARCHAR, viewers VARCHAR) | SELECT original_airdate FROM table_27547668_2 WHERE viewers = 908000 | What is the original air date of the episode with 908000 viewers? | <s>[INST]What is the original air date of the episode with 908000 viewers? Context: CREATE TABLE table_27547668_2 (original_airdate VARCHAR, viewers VARCHAR)[/INST]SELECT original_airdate FROM table_27547668_2 WHERE viewers = 908000</s> |
CREATE TABLE table_name_66 (director VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT director FROM table_name_66 WHERE film_title_used_in_nomination = "nick carter in prague" | Who is the Director that has a Film title of nick carter in prague? | <s>[INST]Who is the Director that has a Film title of nick carter in prague? Context: CREATE TABLE table_name_66 (director VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT director FROM table_name_66 WHERE film_title_used_in_nomination = "nick carter in prague"</s> |
CREATE TABLE table_name_16 (years VARCHAR, area VARCHAR) | SELECT years FROM table_name_16 WHERE area = "rangitoto" | Which years have an Area of rangitoto? | <s>[INST]Which years have an Area of rangitoto? Context: CREATE TABLE table_name_16 (years VARCHAR, area VARCHAR)[/INST]SELECT years FROM table_name_16 WHERE area = "rangitoto"</s> |
CREATE TABLE party (Location VARCHAR, Party_ID VARCHAR); CREATE TABLE party_host (Host_ID VARCHAR, Party_ID VARCHAR); CREATE TABLE HOST (Host_ID VARCHAR, Age INTEGER) | SELECT T3.Location FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID = T2.Host_ID JOIN party AS T3 ON T1.Party_ID = T3.Party_ID WHERE T2.Age > 50 | Show the locations of parties with hosts older than 50. | <s>[INST]Show the locations of parties with hosts older than 50. Context: CREATE TABLE party (Location VARCHAR, Party_ID VARCHAR); CREATE TABLE party_host (Host_ID VARCHAR, Party_ID VARCHAR); CREATE TABLE HOST (Host_ID VARCHAR, Age INTEGER)[/INST]SELECT T3.Location FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID = ... |
CREATE TABLE table_1147701_5 (model_name VARCHAR, engine_code VARCHAR) | SELECT model_name FROM table_1147701_5 WHERE engine_code = "D5252 T" | What is the model of the enginge d5252 t? | <s>[INST]What is the model of the enginge d5252 t? Context: CREATE TABLE table_1147701_5 (model_name VARCHAR, engine_code VARCHAR)[/INST]SELECT model_name FROM table_1147701_5 WHERE engine_code = "D5252 T"</s> |
CREATE TABLE table_name_1 (bronze INTEGER, rank VARCHAR, total VARCHAR) | SELECT AVG(bronze) FROM table_name_1 WHERE rank = "3" AND total > 8 | What is the average Bronze for rank 3 and total is more than 8? | <s>[INST]What is the average Bronze for rank 3 and total is more than 8? Context: CREATE TABLE table_name_1 (bronze INTEGER, rank VARCHAR, total VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_1 WHERE rank = "3" AND total > 8</s> |
CREATE TABLE table_name_35 (placing VARCHAR, weight__kg_ VARCHAR, barrier_ VARCHAR, b_ VARCHAR) | SELECT placing FROM table_name_35 WHERE weight__kg_ < 54 AND barrier_[b_] = "20" | What place was the horse with a barrier of 20 and weighing less than 54 kg | <s>[INST]What place was the horse with a barrier of 20 and weighing less than 54 kg Context: CREATE TABLE table_name_35 (placing VARCHAR, weight__kg_ VARCHAR, barrier_ VARCHAR, b_ VARCHAR)[/INST]SELECT placing FROM table_name_35 WHERE weight__kg_ < 54 AND barrier_[b_] = "20"</s> |
CREATE TABLE table_name_34 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) | SELECT runner_s__up FROM table_name_34 WHERE margin_of_victory = "1 stroke" AND tournament = "world seniors invitational" | Which Runner(s)-up has a Margin of victory of 1 stroke, and a Tournament of world seniors invitational? | <s>[INST]Which Runner(s)-up has a Margin of victory of 1 stroke, and a Tournament of world seniors invitational? Context: CREATE TABLE table_name_34 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)[/INST]SELECT runner_s__up FROM table_name_34 WHERE margin_of_victory = "1 stroke" AND tournament = "w... |
CREATE TABLE table_171236_1 (official_name VARCHAR, area_km_2 VARCHAR) | SELECT official_name FROM table_171236_1 WHERE area_km_2 = "59.73" | If the area is 59.73, what is the official name? | <s>[INST]If the area is 59.73, what is the official name? Context: CREATE TABLE table_171236_1 (official_name VARCHAR, area_km_2 VARCHAR)[/INST]SELECT official_name FROM table_171236_1 WHERE area_km_2 = "59.73"</s> |
CREATE TABLE table_29506171_2 (year INTEGER, earnings___€__ VARCHAR) | SELECT MIN(year) FROM table_29506171_2 WHERE earnings___€__ = "4,050 1" | In what year were Reid's earnings €4,050 1? | <s>[INST]In what year were Reid's earnings €4,050 1? Context: CREATE TABLE table_29506171_2 (year INTEGER, earnings___€__ VARCHAR)[/INST]SELECT MIN(year) FROM table_29506171_2 WHERE earnings___€__ = "4,050 1"</s> |
CREATE TABLE table_name_88 (previous_conference VARCHAR, conference_joined VARCHAR, mascot VARCHAR) | SELECT previous_conference FROM table_name_88 WHERE conference_joined = "indiana lake shore" AND mascot = "governors" | What was the previous conference for the team with the Governors as their mascot that joined the Indiana Lake Shore conference? | <s>[INST]What was the previous conference for the team with the Governors as their mascot that joined the Indiana Lake Shore conference? Context: CREATE TABLE table_name_88 (previous_conference VARCHAR, conference_joined VARCHAR, mascot VARCHAR)[/INST]SELECT previous_conference FROM table_name_88 WHERE conference_joine... |
CREATE TABLE table_1965650_6 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_1965650_6 WHERE player = "Neil Korzack" | What nationality for neil korzack? | <s>[INST]What nationality for neil korzack? Context: CREATE TABLE table_1965650_6 (nationality VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_1965650_6 WHERE player = "Neil Korzack"</s> |
CREATE TABLE table_name_31 (score VARCHAR, game VARCHAR, date VARCHAR) | SELECT score FROM table_name_31 WHERE game > 78 AND date = 4 | What is Score, when Game is greater than 78, and when Date is "4"? | <s>[INST]What is Score, when Game is greater than 78, and when Date is "4"? Context: CREATE TABLE table_name_31 (score VARCHAR, game VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_31 WHERE game > 78 AND date = 4</s> |
CREATE TABLE table_28138035_15 (womens_singles VARCHAR, mens_singles VARCHAR) | SELECT womens_singles FROM table_28138035_15 WHERE mens_singles = "Ma Lin" | Who won Womens Singles in the year that Ma Lin won Mens Singles? | <s>[INST]Who won Womens Singles in the year that Ma Lin won Mens Singles? Context: CREATE TABLE table_28138035_15 (womens_singles VARCHAR, mens_singles VARCHAR)[/INST]SELECT womens_singles FROM table_28138035_15 WHERE mens_singles = "Ma Lin"</s> |
CREATE TABLE table_name_81 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_81 WHERE team_2 = "sporting cp" | Which team is Team 1 with a Team 2 being Sporting CP? | <s>[INST]Which team is Team 1 with a Team 2 being Sporting CP? Context: CREATE TABLE table_name_81 (team_1 VARCHAR, team_2 VARCHAR)[/INST]SELECT team_1 FROM table_name_81 WHERE team_2 = "sporting cp"</s> |
CREATE TABLE table_name_16 (gdp_per_capita__nominal_ VARCHAR, population VARCHAR) | SELECT gdp_per_capita__nominal_ FROM table_name_16 WHERE population = "5,125,693" | What is the GDP (nominal) with Population of 5,125,693? | <s>[INST]What is the GDP (nominal) with Population of 5,125,693? Context: CREATE TABLE table_name_16 (gdp_per_capita__nominal_ VARCHAR, population VARCHAR)[/INST]SELECT gdp_per_capita__nominal_ FROM table_name_16 WHERE population = "5,125,693"</s> |
CREATE TABLE table_name_62 (category VARCHAR, result VARCHAR, year VARCHAR) | SELECT category FROM table_name_62 WHERE result = "won" AND year < 2007 | In 2007 what category won? | <s>[INST]In 2007 what category won? Context: CREATE TABLE table_name_62 (category VARCHAR, result VARCHAR, year VARCHAR)[/INST]SELECT category FROM table_name_62 WHERE result = "won" AND year < 2007</s> |
CREATE TABLE table_23117208_4 (no_in_season INTEGER, written_by VARCHAR) | SELECT MIN(no_in_season) FROM table_23117208_4 WHERE written_by = "Jessica Ball" | Name the least number in season for jessica ball | <s>[INST]Name the least number in season for jessica ball Context: CREATE TABLE table_23117208_4 (no_in_season INTEGER, written_by VARCHAR)[/INST]SELECT MIN(no_in_season) FROM table_23117208_4 WHERE written_by = "Jessica Ball"</s> |
CREATE TABLE table_name_54 (attendance INTEGER, home VARCHAR, round VARCHAR) | SELECT MAX(attendance) FROM table_name_54 WHERE home = "djurgårdens if" AND round = 53 | Which Attendance has a Home of djurgårdens if, and a Round of 53? | <s>[INST]Which Attendance has a Home of djurgårdens if, and a Round of 53? Context: CREATE TABLE table_name_54 (attendance INTEGER, home VARCHAR, round VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_54 WHERE home = "djurgårdens if" AND round = 53</s> |
CREATE TABLE table_name_81 (team VARCHAR, country VARCHAR, uci_points VARCHAR) | SELECT team FROM table_name_81 WHERE country = "france" AND uci_points = "15" | What team in France had 15 UCi points? | <s>[INST]What team in France had 15 UCi points? Context: CREATE TABLE table_name_81 (team VARCHAR, country VARCHAR, uci_points VARCHAR)[/INST]SELECT team FROM table_name_81 WHERE country = "france" AND uci_points = "15"</s> |
CREATE TABLE table_name_68 (tournament VARCHAR) | SELECT tournament FROM table_name_68 WHERE 2006 = "a" AND 1996 = "1r" AND 2004 = "1r" | Name the tournament for 2006 of a, 1996 of 1r and 2004 of 1r | <s>[INST]Name the tournament for 2006 of a, 1996 of 1r and 2004 of 1r Context: CREATE TABLE table_name_68 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_68 WHERE 2006 = "a" AND 1996 = "1r" AND 2004 = "1r"</s> |
CREATE TABLE table_18461635_1 (captain VARCHAR, team VARCHAR) | SELECT captain FROM table_18461635_1 WHERE team = "Gloucestershire Gladiators" | Who is the captain of the Gloucestershire Gladiators? | <s>[INST]Who is the captain of the Gloucestershire Gladiators? Context: CREATE TABLE table_18461635_1 (captain VARCHAR, team VARCHAR)[/INST]SELECT captain FROM table_18461635_1 WHERE team = "Gloucestershire Gladiators"</s> |
CREATE TABLE table_26519486_1 (population VARCHAR, languages VARCHAR) | SELECT population FROM table_26519486_1 WHERE languages = "11" | Name the population for 11 languages | <s>[INST]Name the population for 11 languages Context: CREATE TABLE table_26519486_1 (population VARCHAR, languages VARCHAR)[/INST]SELECT population FROM table_26519486_1 WHERE languages = "11"</s> |
CREATE TABLE table_name_43 (year_s__won VARCHAR, player VARCHAR) | SELECT year_s__won FROM table_name_43 WHERE player = "raymond floyd" | Which years did raymond floyd win? | <s>[INST]Which years did raymond floyd win? Context: CREATE TABLE table_name_43 (year_s__won VARCHAR, player VARCHAR)[/INST]SELECT year_s__won FROM table_name_43 WHERE player = "raymond floyd"</s> |
CREATE TABLE table_name_85 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_85 WHERE home_team = "manchester united" | What is the score for the game in which Manchester United was the home team? | <s>[INST]What is the score for the game in which Manchester United was the home team? Context: CREATE TABLE table_name_85 (score VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_85 WHERE home_team = "manchester united"</s> |
CREATE TABLE table_name_31 (chassis VARCHAR, year INTEGER) | SELECT chassis FROM table_name_31 WHERE year < 1988 | which chassis were in use prior to 1988? | <s>[INST]which chassis were in use prior to 1988? Context: CREATE TABLE table_name_31 (chassis VARCHAR, year INTEGER)[/INST]SELECT chassis FROM table_name_31 WHERE year < 1988</s> |
CREATE TABLE table_name_41 (incumbent VARCHAR, first_elected VARCHAR, district VARCHAR) | SELECT incumbent FROM table_name_41 WHERE first_elected < 2002 AND district = "maryland 3" | Who is the incumbent who was first elected before 2002 from the maryland 3 district? | <s>[INST]Who is the incumbent who was first elected before 2002 from the maryland 3 district? Context: CREATE TABLE table_name_41 (incumbent VARCHAR, first_elected VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_name_41 WHERE first_elected < 2002 AND district = "maryland 3"</s> |
CREATE TABLE table_name_54 (gold INTEGER, nation VARCHAR, bronze VARCHAR) | SELECT MIN(gold) FROM table_name_54 WHERE nation = "tanzania" AND bronze < 0 | Name the fewest gold for tanzania with bronze less than 0 | <s>[INST]Name the fewest gold for tanzania with bronze less than 0 Context: CREATE TABLE table_name_54 (gold INTEGER, nation VARCHAR, bronze VARCHAR)[/INST]SELECT MIN(gold) FROM table_name_54 WHERE nation = "tanzania" AND bronze < 0</s> |
CREATE TABLE table_2139390_2 (race_time VARCHAR, year VARCHAR) | SELECT race_time FROM table_2139390_2 WHERE year = 2002 | Name the race time for 2002 | <s>[INST]Name the race time for 2002 Context: CREATE TABLE table_2139390_2 (race_time VARCHAR, year VARCHAR)[/INST]SELECT race_time FROM table_2139390_2 WHERE year = 2002</s> |
CREATE TABLE table_1341453_45 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341453_45 WHERE incumbent = "Nick Lampson" | What district is nick lampson from? | <s>[INST]What district is nick lampson from? Context: CREATE TABLE table_1341453_45 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1341453_45 WHERE incumbent = "Nick Lampson"</s> |
CREATE TABLE table_16494599_2 (player VARCHAR, school_club_team VARCHAR) | SELECT COUNT(player) FROM table_16494599_2 WHERE school_club_team = "DePaul" | How many players went to depaul? | <s>[INST]How many players went to depaul? Context: CREATE TABLE table_16494599_2 (player VARCHAR, school_club_team VARCHAR)[/INST]SELECT COUNT(player) FROM table_16494599_2 WHERE school_club_team = "DePaul"</s> |
CREATE TABLE table_name_8 (number INTEGER, film VARCHAR, pieces VARCHAR) | SELECT MIN(number) FROM table_name_8 WHERE film = "raiders of the lost ark" AND pieces = 277 | Raiders of the Lost Ark had pieces of 277 for what lowest number? | <s>[INST]Raiders of the Lost Ark had pieces of 277 for what lowest number? Context: CREATE TABLE table_name_8 (number INTEGER, film VARCHAR, pieces VARCHAR)[/INST]SELECT MIN(number) FROM table_name_8 WHERE film = "raiders of the lost ark" AND pieces = 277</s> |
CREATE TABLE table_name_33 (song VARCHAR, label VARCHAR, album VARCHAR) | SELECT song FROM table_name_33 WHERE label = "central station" AND album = "various - wild nights 4" | Which song had Central Station as a label and whose album was Various - Wild Nights 4? | <s>[INST]Which song had Central Station as a label and whose album was Various - Wild Nights 4? Context: CREATE TABLE table_name_33 (song VARCHAR, label VARCHAR, album VARCHAR)[/INST]SELECT song FROM table_name_33 WHERE label = "central station" AND album = "various - wild nights 4"</s> |
CREATE TABLE table_name_81 (silver VARCHAR, bronze VARCHAR, gold VARCHAR, rank VARCHAR) | SELECT COUNT(silver) FROM table_name_81 WHERE gold > 0 AND rank = "14" AND bronze > 4 | What is number of silver for the country with more than 0 gold, rank of 14, and more than 4 bronze? | <s>[INST]What is number of silver for the country with more than 0 gold, rank of 14, and more than 4 bronze? Context: CREATE TABLE table_name_81 (silver VARCHAR, bronze VARCHAR, gold VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(silver) FROM table_name_81 WHERE gold > 0 AND rank = "14" AND bronze > 4</s> |
CREATE TABLE table_1425958_1 (population_rank INTEGER, _percentage_change VARCHAR) | SELECT MIN(population_rank) FROM table_1425958_1 WHERE _percentage_change = "8.4" | When the % change is 8.4, what is the population rank? | <s>[INST]When the % change is 8.4, what is the population rank? Context: CREATE TABLE table_1425958_1 (population_rank INTEGER, _percentage_change VARCHAR)[/INST]SELECT MIN(population_rank) FROM table_1425958_1 WHERE _percentage_change = "8.4"</s> |
CREATE TABLE table_name_74 (second_vice_president VARCHAR, third_vice_president VARCHAR, inaugurated VARCHAR) | SELECT second_vice_president FROM table_name_74 WHERE third_vice_president = "gen. juan alonso" AND inaugurated = "15 march 1940" | What is Second Vice President, when Third Vice President is "Gen. Juan Alonso", and when Inaugurated is "15 March 1940"? | <s>[INST]What is Second Vice President, when Third Vice President is "Gen. Juan Alonso", and when Inaugurated is "15 March 1940"? Context: CREATE TABLE table_name_74 (second_vice_president VARCHAR, third_vice_president VARCHAR, inaugurated VARCHAR)[/INST]SELECT second_vice_president FROM table_name_74 WHERE third_vice_... |
CREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Hometown VARCHAR, People_ID VARCHAR) | SELECT T2.Hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID GROUP BY T2.Hometown HAVING COUNT(*) >= 2 | What are the hometowns that are shared by at least two gymnasts? | <s>[INST]What are the hometowns that are shared by at least two gymnasts? Context: CREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Hometown VARCHAR, People_ID VARCHAR)[/INST]SELECT T2.Hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID GROUP BY T2.Hometown HAVING COUNT(*) >= 2<... |
CREATE TABLE table_name_77 (team__number2 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_77 WHERE team__number2 = "kk borac" | What was the 2nd leg score in the matchup with a team 2 of KK Borac? | <s>[INST]What was the 2nd leg score in the matchup with a team 2 of KK Borac? Context: CREATE TABLE table_name_77 (team__number2 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_77 WHERE team__number2 = "kk borac"</s> |
CREATE TABLE table_name_80 (games INTEGER, manager VARCHAR, wins VARCHAR) | SELECT SUM(games) FROM table_name_80 WHERE manager = "richie hebner" AND wins < 34 | What was the sum of Richie Hebner winning games that were smaller 34? | <s>[INST]What was the sum of Richie Hebner winning games that were smaller 34? Context: CREATE TABLE table_name_80 (games INTEGER, manager VARCHAR, wins VARCHAR)[/INST]SELECT SUM(games) FROM table_name_80 WHERE manager = "richie hebner" AND wins < 34</s> |
CREATE TABLE table_name_99 (total INTEGER, rank VARCHAR, silver VARCHAR) | SELECT MIN(total) FROM table_name_99 WHERE rank = 4 AND silver > 3 | What is the least total number with a rank of 4 and a total silver number bigger than 3? | <s>[INST]What is the least total number with a rank of 4 and a total silver number bigger than 3? Context: CREATE TABLE table_name_99 (total INTEGER, rank VARCHAR, silver VARCHAR)[/INST]SELECT MIN(total) FROM table_name_99 WHERE rank = 4 AND silver > 3</s> |
CREATE TABLE table_name_59 (athlete VARCHAR, notes VARCHAR, time VARCHAR) | SELECT athlete FROM table_name_59 WHERE notes = "sc/d" AND time = "7:26.85" | Who has a time of 7:26.85 and notes of sc/d? | <s>[INST]Who has a time of 7:26.85 and notes of sc/d? Context: CREATE TABLE table_name_59 (athlete VARCHAR, notes VARCHAR, time VARCHAR)[/INST]SELECT athlete FROM table_name_59 WHERE notes = "sc/d" AND time = "7:26.85"</s> |
CREATE TABLE table_name_57 (seats INTEGER, model VARCHAR) | SELECT SUM(seats) FROM table_name_57 WHERE model = "btc-5" | How many seats does the BTC-5 model have? | <s>[INST]How many seats does the BTC-5 model have? Context: CREATE TABLE table_name_57 (seats INTEGER, model VARCHAR)[/INST]SELECT SUM(seats) FROM table_name_57 WHERE model = "btc-5"</s> |
CREATE TABLE table_name_96 (round INTEGER, time VARCHAR) | SELECT MIN(round) FROM table_name_96 WHERE time = "1:12" | What is the smallest round with a time of 1:12? | <s>[INST]What is the smallest round with a time of 1:12? Context: CREATE TABLE table_name_96 (round INTEGER, time VARCHAR)[/INST]SELECT MIN(round) FROM table_name_96 WHERE time = "1:12"</s> |
CREATE TABLE table_name_82 (nationality VARCHAR, athlete VARCHAR, time VARCHAR) | SELECT nationality FROM table_name_82 WHERE athlete = "henry carr" AND time = "20.3y" | What's the nationality of Henry Carr having a time of 20.3y? | <s>[INST]What's the nationality of Henry Carr having a time of 20.3y? Context: CREATE TABLE table_name_82 (nationality VARCHAR, athlete VARCHAR, time VARCHAR)[/INST]SELECT nationality FROM table_name_82 WHERE athlete = "henry carr" AND time = "20.3y"</s> |
CREATE TABLE table_name_6 (team VARCHAR, grid VARCHAR) | SELECT team FROM table_name_6 WHERE grid = 15 | What team has a grid of 15? | <s>[INST]What team has a grid of 15? Context: CREATE TABLE table_name_6 (team VARCHAR, grid VARCHAR)[/INST]SELECT team FROM table_name_6 WHERE grid = 15</s> |
CREATE TABLE table_name_81 (title VARCHAR, director VARCHAR, production_number VARCHAR) | SELECT title FROM table_name_81 WHERE director = "friz freleng" AND production_number = "443" | What is the name of the title that was directed by Friz Freleng and has a production number of 443? | <s>[INST]What is the name of the title that was directed by Friz Freleng and has a production number of 443? Context: CREATE TABLE table_name_81 (title VARCHAR, director VARCHAR, production_number VARCHAR)[/INST]SELECT title FROM table_name_81 WHERE director = "friz freleng" AND production_number = "443"</s> |
CREATE TABLE table_name_23 (governments VARCHAR, party VARCHAR) | SELECT governments FROM table_name_23 WHERE party = "kadima" | What is the Government the has the Kadima Party? | <s>[INST]What is the Government the has the Kadima Party? Context: CREATE TABLE table_name_23 (governments VARCHAR, party VARCHAR)[/INST]SELECT governments FROM table_name_23 WHERE party = "kadima"</s> |
CREATE TABLE table_name_92 (code INTEGER, area__km_2__ VARCHAR, most_spoken_language VARCHAR, place VARCHAR) | SELECT MIN(code) FROM table_name_92 WHERE most_spoken_language = "xhosa" AND place = "addo elephant national park" AND area__km_2__ < 1.08 | What's the lowest Code that's got a Most Spoke Language of Xhosa, a Place of Addo Elephant National Park, and an Area (KM 2) that's smaller than 1.08? | <s>[INST]What's the lowest Code that's got a Most Spoke Language of Xhosa, a Place of Addo Elephant National Park, and an Area (KM 2) that's smaller than 1.08? Context: CREATE TABLE table_name_92 (code INTEGER, area__km_2__ VARCHAR, most_spoken_language VARCHAR, place VARCHAR)[/INST]SELECT MIN(code) FROM table_name_92 ... |
CREATE TABLE table_name_72 (theme VARCHAR, issue_price VARCHAR) | SELECT theme FROM table_name_72 WHERE issue_price = "$508.95" | What was the theme when the issue price was $508.95? | <s>[INST]What was the theme when the issue price was $508.95? Context: CREATE TABLE table_name_72 (theme VARCHAR, issue_price VARCHAR)[/INST]SELECT theme FROM table_name_72 WHERE issue_price = "$508.95"</s> |
CREATE TABLE table_name_71 (region VARCHAR, catalog VARCHAR) | SELECT region FROM table_name_71 WHERE catalog = "1766390" | What is the Region of the 1766390 Catalog? | <s>[INST]What is the Region of the 1766390 Catalog? Context: CREATE TABLE table_name_71 (region VARCHAR, catalog VARCHAR)[/INST]SELECT region FROM table_name_71 WHERE catalog = "1766390"</s> |
CREATE TABLE table_name_87 (game VARCHAR, april VARCHAR) | SELECT game FROM table_name_87 WHERE april = 6 | Which game took place April 6? | <s>[INST]Which game took place April 6? Context: CREATE TABLE table_name_87 (game VARCHAR, april VARCHAR)[/INST]SELECT game FROM table_name_87 WHERE april = 6</s> |
CREATE TABLE TRANSACTIONS (amount_of_transaction INTEGER) | SELECT MAX(amount_of_transaction) FROM TRANSACTIONS | Show the maximum amount of transaction. | <s>[INST]Show the maximum amount of transaction. Context: CREATE TABLE TRANSACTIONS (amount_of_transaction INTEGER)[/INST]SELECT MAX(amount_of_transaction) FROM TRANSACTIONS</s> |
CREATE TABLE table_name_39 (mutated_from VARCHAR, plant_patent_number VARCHAR) | SELECT mutated_from FROM table_name_39 WHERE plant_patent_number = "us plant patent 9645" | What's the mutated having a patent number of US plant patent 9645? | <s>[INST]What's the mutated having a patent number of US plant patent 9645? Context: CREATE TABLE table_name_39 (mutated_from VARCHAR, plant_patent_number VARCHAR)[/INST]SELECT mutated_from FROM table_name_39 WHERE plant_patent_number = "us plant patent 9645"</s> |
CREATE TABLE table_15637071_1 (fleet_size VARCHAR, iata VARCHAR) | SELECT COUNT(fleet_size) FROM table_15637071_1 WHERE iata = "5J" | How large is the fleet size of the airline with the IATA code of 5j? | <s>[INST]How large is the fleet size of the airline with the IATA code of 5j? Context: CREATE TABLE table_15637071_1 (fleet_size VARCHAR, iata VARCHAR)[/INST]SELECT COUNT(fleet_size) FROM table_15637071_1 WHERE iata = "5J"</s> |
CREATE TABLE table_name_57 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_57 WHERE date = "august 29" | What was the opponent on August 29? | <s>[INST]What was the opponent on August 29? Context: CREATE TABLE table_name_57 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_57 WHERE date = "august 29"</s> |
CREATE TABLE table_25655781_17 (stage INTEGER) | SELECT MAX(stage) FROM table_25655781_17 | How many stages are there? | <s>[INST]How many stages are there? Context: CREATE TABLE table_25655781_17 (stage INTEGER)[/INST]SELECT MAX(stage) FROM table_25655781_17</s> |
CREATE TABLE table_name_59 (pick VARCHAR, position VARCHAR, round VARCHAR) | SELECT pick FROM table_name_59 WHERE position = "ol" AND round < 6 | What is Pick, when Position is OL, and when Round is less than 6? | <s>[INST]What is Pick, when Position is OL, and when Round is less than 6? Context: CREATE TABLE table_name_59 (pick VARCHAR, position VARCHAR, round VARCHAR)[/INST]SELECT pick FROM table_name_59 WHERE position = "ol" AND round < 6</s> |
CREATE TABLE table_name_23 (total_matches INTEGER, draw VARCHAR, swansea_win VARCHAR, competition VARCHAR) | SELECT AVG(total_matches) FROM table_name_23 WHERE swansea_win < 3 AND competition = "fa cup" AND draw < 0 | How many average total matches have a swansea win less than 3, fa cup as the competition, with a draw less than 0? | <s>[INST]How many average total matches have a swansea win less than 3, fa cup as the competition, with a draw less than 0? Context: CREATE TABLE table_name_23 (total_matches INTEGER, draw VARCHAR, swansea_win VARCHAR, competition VARCHAR)[/INST]SELECT AVG(total_matches) FROM table_name_23 WHERE swansea_win < 3 AND com... |
CREATE TABLE table_name_25 (main_use VARCHAR, town VARCHAR) | SELECT main_use FROM table_name_25 WHERE town = "walker city, iowa" | What is the main use for the structure listed in walker city, iowa? | <s>[INST]What is the main use for the structure listed in walker city, iowa? Context: CREATE TABLE table_name_25 (main_use VARCHAR, town VARCHAR)[/INST]SELECT main_use FROM table_name_25 WHERE town = "walker city, iowa"</s> |
CREATE TABLE table_1140078_2 (report VARCHAR, race VARCHAR) | SELECT report FROM table_1140078_2 WHERE race = "United States Grand Prix West" | What is the report of the united states grand prix west? | <s>[INST]What is the report of the united states grand prix west? Context: CREATE TABLE table_1140078_2 (report VARCHAR, race VARCHAR)[/INST]SELECT report FROM table_1140078_2 WHERE race = "United States Grand Prix West"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.