context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_15 (runs VARCHAR, player VARCHAR) | SELECT runs FROM table_name_15 WHERE player = "b lee" | Tell me the runs for b lee | <s>[INST]Tell me the runs for b lee Context: CREATE TABLE table_name_15 (runs VARCHAR, player VARCHAR)[/INST]SELECT runs FROM table_name_15 WHERE player = "b lee"</s> |
CREATE TABLE table_16724844_1 (mens_45 VARCHAR, mens_40 VARCHAR) | SELECT mens_45 FROM table_16724844_1 WHERE mens_40 = "SunWest Razorbacks def Sydney Mets" | What was the mens 45 when mens 40 was Sunwest Razorbacks def Sydney Mets? | <s>[INST]What was the mens 45 when mens 40 was Sunwest Razorbacks def Sydney Mets? Context: CREATE TABLE table_16724844_1 (mens_45 VARCHAR, mens_40 VARCHAR)[/INST]SELECT mens_45 FROM table_16724844_1 WHERE mens_40 = "SunWest Razorbacks def Sydney Mets"</s> |
CREATE TABLE table_name_29 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_29 WHERE laps > 67 AND grid < 18 AND driver = "phil hill" | What is the time/retired for phil hill with over 67 laps and a grad smaller than 18? | <s>[INST]What is the time/retired for phil hill with over 67 laps and a grad smaller than 18? Context: CREATE TABLE table_name_29 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT time_retired FROM table_name_29 WHERE laps > 67 AND grid < 18 AND driver = "phil hill"</s> |
CREATE TABLE table_181240_1 (modern_german__standard_wording_ VARCHAR, english___bcp__ VARCHAR) | SELECT modern_german__standard_wording_ FROM table_181240_1 WHERE english___bcp__ = "For thine is the kingdom, the power" | What is the english (bcp) phrase "for thine is the kingdom, the power" in modern german with standard wording? | <s>[INST]What is the english (bcp) phrase "for thine is the kingdom, the power" in modern german with standard wording? Context: CREATE TABLE table_181240_1 (modern_german__standard_wording_ VARCHAR, english___bcp__ VARCHAR)[/INST]SELECT modern_german__standard_wording_ FROM table_181240_1 WHERE english___bcp__ = "For ... |
CREATE TABLE table_name_48 (player_name VARCHAR, year VARCHAR, college VARCHAR) | SELECT player_name FROM table_name_48 WHERE year > 1989 AND college = "washington state" | What is the name of the player from after 1989 from Washington State? | <s>[INST]What is the name of the player from after 1989 from Washington State? Context: CREATE TABLE table_name_48 (player_name VARCHAR, year VARCHAR, college VARCHAR)[/INST]SELECT player_name FROM table_name_48 WHERE year > 1989 AND college = "washington state"</s> |
CREATE TABLE table_name_52 (season VARCHAR, ufl_cup VARCHAR) | SELECT season FROM table_name_52 WHERE ufl_cup = "tbd" | Which Season has a UFL Cup of tbd? | <s>[INST]Which Season has a UFL Cup of tbd? Context: CREATE TABLE table_name_52 (season VARCHAR, ufl_cup VARCHAR)[/INST]SELECT season FROM table_name_52 WHERE ufl_cup = "tbd"</s> |
CREATE TABLE table_1108394_6 (staten_island VARCHAR, brooklyn VARCHAR) | SELECT staten_island FROM table_1108394_6 WHERE brooklyn = "940" | What was Staten Island when Brooklyn was 940? | <s>[INST]What was Staten Island when Brooklyn was 940? Context: CREATE TABLE table_1108394_6 (staten_island VARCHAR, brooklyn VARCHAR)[/INST]SELECT staten_island FROM table_1108394_6 WHERE brooklyn = "940"</s> |
CREATE TABLE table_name_27 (tennessee VARCHAR, georgia VARCHAR) | SELECT tennessee FROM table_name_27 WHERE georgia = "kevin butler" | What is the Tennessee that Georgia of kevin butler is in? | <s>[INST]What is the Tennessee that Georgia of kevin butler is in? Context: CREATE TABLE table_name_27 (tennessee VARCHAR, georgia VARCHAR)[/INST]SELECT tennessee FROM table_name_27 WHERE georgia = "kevin butler"</s> |
CREATE TABLE table_name_78 (against INTEGER, team VARCHAR, position VARCHAR) | SELECT AVG(against) FROM table_name_78 WHERE team = "estudantes paulista" AND position < 4 | Team Estudantes Paulista with a position less than 4 has what average against? | <s>[INST]Team Estudantes Paulista with a position less than 4 has what average against? Context: CREATE TABLE table_name_78 (against INTEGER, team VARCHAR, position VARCHAR)[/INST]SELECT AVG(against) FROM table_name_78 WHERE team = "estudantes paulista" AND position < 4</s> |
CREATE TABLE table_name_59 (attendance INTEGER, home VARCHAR, date VARCHAR) | SELECT SUM(attendance) FROM table_name_59 WHERE home = "montreal" AND date = "march 24" | What was the Attendance when the Home team was Montreal, on the Date of March 24? | <s>[INST]What was the Attendance when the Home team was Montreal, on the Date of March 24? Context: CREATE TABLE table_name_59 (attendance INTEGER, home VARCHAR, date VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_59 WHERE home = "montreal" AND date = "march 24"</s> |
CREATE TABLE table_name_3 (silver INTEGER, nation VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT MIN(silver) FROM table_name_3 WHERE bronze = 1 AND total > 1 AND nation = "croatia" | How many Silver medals did the Nation of Croatia receive with a Total medal of more than 1? | <s>[INST]How many Silver medals did the Nation of Croatia receive with a Total medal of more than 1? Context: CREATE TABLE table_name_3 (silver INTEGER, nation VARCHAR, bronze VARCHAR, total VARCHAR)[/INST]SELECT MIN(silver) FROM table_name_3 WHERE bronze = 1 AND total > 1 AND nation = "croatia"</s> |
CREATE TABLE table_name_66 (position VARCHAR, pick VARCHAR) | SELECT position FROM table_name_66 WHERE pick = 174 | Which Position has a Pick of 174? | <s>[INST]Which Position has a Pick of 174? Context: CREATE TABLE table_name_66 (position VARCHAR, pick VARCHAR)[/INST]SELECT position FROM table_name_66 WHERE pick = 174</s> |
CREATE TABLE table_name_32 (country VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT country FROM table_name_32 WHERE to_par = "–2" AND player = "jim thorpe" | Which Country has a To par of –2, and a Player of jim thorpe? | <s>[INST]Which Country has a To par of –2, and a Player of jim thorpe? Context: CREATE TABLE table_name_32 (country VARCHAR, to_par VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_32 WHERE to_par = "–2" AND player = "jim thorpe"</s> |
CREATE TABLE table_name_23 (crowd INTEGER, home_team VARCHAR) | SELECT MIN(crowd) FROM table_name_23 WHERE home_team = "geelong" | When the Home team of geelong played, what was their lowest Crowd number? | <s>[INST]When the Home team of geelong played, what was their lowest Crowd number? Context: CREATE TABLE table_name_23 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_23 WHERE home_team = "geelong"</s> |
CREATE TABLE table_22673872_1 (track VARCHAR, race_name VARCHAR) | SELECT track FROM table_22673872_1 WHERE race_name = "International 500 Mile Sweepstakes" | What is the name of the track for the International 500 mile Sweepstakes race? | <s>[INST]What is the name of the track for the International 500 mile Sweepstakes race? Context: CREATE TABLE table_22673872_1 (track VARCHAR, race_name VARCHAR)[/INST]SELECT track FROM table_22673872_1 WHERE race_name = "International 500 Mile Sweepstakes"</s> |
CREATE TABLE table_20760407_1 (record VARCHAR, bruins_points VARCHAR) | SELECT record FROM table_20760407_1 WHERE bruins_points = 41 | What was the record when the Bruins had 41 points? | <s>[INST]What was the record when the Bruins had 41 points? Context: CREATE TABLE table_20760407_1 (record VARCHAR, bruins_points VARCHAR)[/INST]SELECT record FROM table_20760407_1 WHERE bruins_points = 41</s> |
CREATE TABLE table_name_10 (record VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT record FROM table_name_10 WHERE opponent = "twins" AND date = "july 25" | Which Record has an Opponent of twins, and a Date of july 25? | <s>[INST]Which Record has an Opponent of twins, and a Date of july 25? Context: CREATE TABLE table_name_10 (record VARCHAR, opponent VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_10 WHERE opponent = "twins" AND date = "july 25"</s> |
CREATE TABLE people (People_ID VARCHAR, Height INTEGER); CREATE TABLE entrepreneur (Money_Requested INTEGER, People_ID VARCHAR) | SELECT SUM(T1.Money_Requested) FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Height > 1.85 | What is the total money requested by entrepreneurs with height more than 1.85? | <s>[INST]What is the total money requested by entrepreneurs with height more than 1.85? Context: CREATE TABLE people (People_ID VARCHAR, Height INTEGER); CREATE TABLE entrepreneur (Money_Requested INTEGER, People_ID VARCHAR)[/INST]SELECT SUM(T1.Money_Requested) FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID ... |
CREATE TABLE table_name_96 (format VARCHAR, owner VARCHAR) | SELECT format FROM table_name_96 WHERE owner = "laval university" | What is the Format of the Frequency owned by Laval University? | <s>[INST]What is the Format of the Frequency owned by Laval University? Context: CREATE TABLE table_name_96 (format VARCHAR, owner VARCHAR)[/INST]SELECT format FROM table_name_96 WHERE owner = "laval university"</s> |
CREATE TABLE table_16575609_1 (position VARCHAR, cfl_team VARCHAR) | SELECT position FROM table_16575609_1 WHERE cfl_team = "Winnipeg Blue Bombers" | What position did the winnipeg blue bombers draft? | <s>[INST]What position did the winnipeg blue bombers draft? Context: CREATE TABLE table_16575609_1 (position VARCHAR, cfl_team VARCHAR)[/INST]SELECT position FROM table_16575609_1 WHERE cfl_team = "Winnipeg Blue Bombers"</s> |
CREATE TABLE table_name_33 (location_attendance VARCHAR, score VARCHAR) | SELECT location_attendance FROM table_name_33 WHERE score = "w 95-93" | What is the location/attendance for the w 95-93 score? | <s>[INST]What is the location/attendance for the w 95-93 score? Context: CREATE TABLE table_name_33 (location_attendance VARCHAR, score VARCHAR)[/INST]SELECT location_attendance FROM table_name_33 WHERE score = "w 95-93"</s> |
CREATE TABLE table_name_36 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_36 WHERE date = "26 october 1993" | What was the result on 26 October 1993? | <s>[INST]What was the result on 26 October 1993? Context: CREATE TABLE table_name_36 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_36 WHERE date = "26 october 1993"</s> |
CREATE TABLE table_name_15 (name VARCHAR, round VARCHAR, pick VARCHAR) | SELECT name FROM table_name_15 WHERE round < 11 AND pick = 13 | Which Name has a Round smaller than 11, and a Pick of 13? | <s>[INST]Which Name has a Round smaller than 11, and a Pick of 13? Context: CREATE TABLE table_name_15 (name VARCHAR, round VARCHAR, pick VARCHAR)[/INST]SELECT name FROM table_name_15 WHERE round < 11 AND pick = 13</s> |
CREATE TABLE table_name_2 (yards INTEGER, long INTEGER) | SELECT AVG(yards) FROM table_name_2 WHERE long < 3 | Which Yards has a Long smaller than 3? | <s>[INST]Which Yards has a Long smaller than 3? Context: CREATE TABLE table_name_2 (yards INTEGER, long INTEGER)[/INST]SELECT AVG(yards) FROM table_name_2 WHERE long < 3</s> |
CREATE TABLE table_name_9 (prominence__m_ INTEGER, col__m_ INTEGER) | SELECT AVG(prominence__m_) FROM table_name_9 WHERE col__m_ < 0 | Count the Prominence (m) of Col (m) smaller than 0? | <s>[INST]Count the Prominence (m) of Col (m) smaller than 0? Context: CREATE TABLE table_name_9 (prominence__m_ INTEGER, col__m_ INTEGER)[/INST]SELECT AVG(prominence__m_) FROM table_name_9 WHERE col__m_ < 0</s> |
CREATE TABLE table_18600760_9 (geo_id VARCHAR, ansi_code VARCHAR) | SELECT geo_id FROM table_18600760_9 WHERE ansi_code = 1759243 | What is the geo code of the township with ANSI code 1759243? | <s>[INST]What is the geo code of the township with ANSI code 1759243? Context: CREATE TABLE table_18600760_9 (geo_id VARCHAR, ansi_code VARCHAR)[/INST]SELECT geo_id FROM table_18600760_9 WHERE ansi_code = 1759243</s> |
CREATE TABLE table_12108_1 (population VARCHAR) | SELECT population FROM table_12108_1 WHERE "area__sq_mi_" = "area__sq_mi_" | what is the population where the area (sq. mi.) is area (sq. mi.)? | <s>[INST]what is the population where the area (sq. mi.) is area (sq. mi.)? Context: CREATE TABLE table_12108_1 (population VARCHAR)[/INST]SELECT population FROM table_12108_1 WHERE "area__sq_mi_" = "area__sq_mi_"</s> |
CREATE TABLE table_name_90 (base_pairs VARCHAR, strain VARCHAR) | SELECT base_pairs FROM table_name_90 WHERE strain = "tohamai" | How many base pairs are there in the tohamai strain? | <s>[INST]How many base pairs are there in the tohamai strain? Context: CREATE TABLE table_name_90 (base_pairs VARCHAR, strain VARCHAR)[/INST]SELECT base_pairs FROM table_name_90 WHERE strain = "tohamai"</s> |
CREATE TABLE table_name_36 (to_par VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR) | SELECT to_par FROM table_name_36 WHERE place = "t9" AND country = "united states" AND player = "john buczek" | What is the to par of player john buczek, who has a t9 place and is from the United States? | <s>[INST]What is the to par of player john buczek, who has a t9 place and is from the United States? Context: CREATE TABLE table_name_36 (to_par VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR)[/INST]SELECT to_par FROM table_name_36 WHERE place = "t9" AND country = "united states" AND player = "john buczek"</s> |
CREATE TABLE table_name_36 (cardinalatial_title VARCHAR, elevated VARCHAR, elector VARCHAR) | SELECT cardinalatial_title FROM table_name_36 WHERE elevated = "september 18, 1294" AND elector = "bérard de got" | What is the cardinalatial title when the elevated is September 18, 1294, and elector is Bérard De Got? | <s>[INST]What is the cardinalatial title when the elevated is September 18, 1294, and elector is Bérard De Got? Context: CREATE TABLE table_name_36 (cardinalatial_title VARCHAR, elevated VARCHAR, elector VARCHAR)[/INST]SELECT cardinalatial_title FROM table_name_36 WHERE elevated = "september 18, 1294" AND elector = "bé... |
CREATE TABLE table_name_16 (visitor VARCHAR, score VARCHAR) | SELECT visitor FROM table_name_16 WHERE score = "1–3" | Who was the visiting team when the score was 1–3? | <s>[INST]Who was the visiting team when the score was 1–3? Context: CREATE TABLE table_name_16 (visitor VARCHAR, score VARCHAR)[/INST]SELECT visitor FROM table_name_16 WHERE score = "1–3"</s> |
CREATE TABLE table_name_72 (laps INTEGER, grid VARCHAR, time_retired VARCHAR, driver VARCHAR) | SELECT SUM(laps) FROM table_name_72 WHERE time_retired = "gearbox" AND driver = "george eaton" AND grid < 17 | What is the lap total for george eaton, with a grid under 17 retiring due to gearbox? | <s>[INST]What is the lap total for george eaton, with a grid under 17 retiring due to gearbox? Context: CREATE TABLE table_name_72 (laps INTEGER, grid VARCHAR, time_retired VARCHAR, driver VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_72 WHERE time_retired = "gearbox" AND driver = "george eaton" AND grid < 17</s> |
CREATE TABLE table_10548224_1 (sport VARCHAR, final_score VARCHAR) | SELECT sport FROM table_10548224_1 WHERE final_score = "3-2" | What sport had a final score of 3-2? | <s>[INST]What sport had a final score of 3-2? Context: CREATE TABLE table_10548224_1 (sport VARCHAR, final_score VARCHAR)[/INST]SELECT sport FROM table_10548224_1 WHERE final_score = "3-2"</s> |
CREATE TABLE table_name_65 (champion VARCHAR, result VARCHAR, venue VARCHAR, attendance VARCHAR) | SELECT champion FROM table_name_65 WHERE venue = "berlin" AND attendance = "100,000" AND result = "2-0" | Who was the champion at berlin when the result was 2-0 with 100,000 fans in attendance? | <s>[INST]Who was the champion at berlin when the result was 2-0 with 100,000 fans in attendance? Context: CREATE TABLE table_name_65 (champion VARCHAR, result VARCHAR, venue VARCHAR, attendance VARCHAR)[/INST]SELECT champion FROM table_name_65 WHERE venue = "berlin" AND attendance = "100,000" AND result = "2-0"</s> |
CREATE TABLE table_name_96 (sri_lankans_admitted INTEGER, year VARCHAR, nepalis_admitted VARCHAR) | SELECT SUM(sri_lankans_admitted) FROM table_name_96 WHERE year = "2004" AND nepalis_admitted > 594 | How many Sri Lankans were admitted in 2004 when more than 594 Nepalis were admitted? | <s>[INST]How many Sri Lankans were admitted in 2004 when more than 594 Nepalis were admitted? Context: CREATE TABLE table_name_96 (sri_lankans_admitted INTEGER, year VARCHAR, nepalis_admitted VARCHAR)[/INST]SELECT SUM(sri_lankans_admitted) FROM table_name_96 WHERE year = "2004" AND nepalis_admitted > 594</s> |
CREATE TABLE table_1816947_2 (highest_attendance_away VARCHAR, average_attendance_home VARCHAR) | SELECT highest_attendance_away FROM table_1816947_2 WHERE average_attendance_home = "3.123" | When the home attendance is 3.123, what's the highest away attendance? | <s>[INST]When the home attendance is 3.123, what's the highest away attendance? Context: CREATE TABLE table_1816947_2 (highest_attendance_away VARCHAR, average_attendance_home VARCHAR)[/INST]SELECT highest_attendance_away FROM table_1816947_2 WHERE average_attendance_home = "3.123"</s> |
CREATE TABLE table_name_95 (team VARCHAR, player VARCHAR) | SELECT team FROM table_name_95 WHERE player = "jim garcia category:articles with hcards" | What team is Jim Garcia category:Articles with Hcards on? | <s>[INST]What team is Jim Garcia category:Articles with Hcards on? Context: CREATE TABLE table_name_95 (team VARCHAR, player VARCHAR)[/INST]SELECT team FROM table_name_95 WHERE player = "jim garcia category:articles with hcards"</s> |
CREATE TABLE table_name_57 (origin VARCHAR, versions VARCHAR) | SELECT origin FROM table_name_57 WHERE versions = "mi-2" | Tell me the origin for mi-2 | <s>[INST]Tell me the origin for mi-2 Context: CREATE TABLE table_name_57 (origin VARCHAR, versions VARCHAR)[/INST]SELECT origin FROM table_name_57 WHERE versions = "mi-2"</s> |
CREATE TABLE table_name_11 (winning_driver VARCHAR, circuit VARCHAR) | SELECT winning_driver FROM table_name_11 WHERE circuit = "saint-raphaël" | What kind of the Winning driver has a Circuit of saint-raphaël? | <s>[INST]What kind of the Winning driver has a Circuit of saint-raphaël? Context: CREATE TABLE table_name_11 (winning_driver VARCHAR, circuit VARCHAR)[/INST]SELECT winning_driver FROM table_name_11 WHERE circuit = "saint-raphaël"</s> |
CREATE TABLE table_name_95 (location VARCHAR, record VARCHAR) | SELECT location FROM table_name_95 WHERE record = "9-0-0" | What was the location that led to a record of 9-0-0? | <s>[INST]What was the location that led to a record of 9-0-0? Context: CREATE TABLE table_name_95 (location VARCHAR, record VARCHAR)[/INST]SELECT location FROM table_name_95 WHERE record = "9-0-0"</s> |
CREATE TABLE table_name_91 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_91 WHERE home_team = "north melbourne" | What was the away score when North Melbourne was played? | <s>[INST]What was the away score when North Melbourne was played? Context: CREATE TABLE table_name_91 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_91 WHERE home_team = "north melbourne"</s> |
CREATE TABLE table_23910822_1 (frequency VARCHAR, callsign VARCHAR) | SELECT frequency FROM table_23910822_1 WHERE callsign = "DYMY" | Which frequency is DYMY? | <s>[INST]Which frequency is DYMY? Context: CREATE TABLE table_23910822_1 (frequency VARCHAR, callsign VARCHAR)[/INST]SELECT frequency FROM table_23910822_1 WHERE callsign = "DYMY"</s> |
CREATE TABLE table_name_70 (avg_g VARCHAR, effic VARCHAR, name VARCHAR) | SELECT avg_g FROM table_name_70 WHERE effic > 73.95 AND name = "rhines, chris" | What is the avg/g of Rhines, Chris, who has an effic greater than 73.95? | <s>[INST]What is the avg/g of Rhines, Chris, who has an effic greater than 73.95? Context: CREATE TABLE table_name_70 (avg_g VARCHAR, effic VARCHAR, name VARCHAR)[/INST]SELECT avg_g FROM table_name_70 WHERE effic > 73.95 AND name = "rhines, chris"</s> |
CREATE TABLE table_name_41 (year_born__age_ VARCHAR, current_club VARCHAR, position VARCHAR) | SELECT year_born__age_ FROM table_name_41 WHERE current_club = "sporting al riyadi beirut" AND position = "pf" | Which Year born (Age) has a Current Club of sporting al riyadi beirut, and a Position of pf? | <s>[INST]Which Year born (Age) has a Current Club of sporting al riyadi beirut, and a Position of pf? Context: CREATE TABLE table_name_41 (year_born__age_ VARCHAR, current_club VARCHAR, position VARCHAR)[/INST]SELECT year_born__age_ FROM table_name_41 WHERE current_club = "sporting al riyadi beirut" AND position = "pf"... |
CREATE TABLE table_name_77 (round INTEGER, pick INTEGER) | SELECT SUM(round) FROM table_name_77 WHERE pick < 6 | Which Round has a Pick smaller than 6? | <s>[INST]Which Round has a Pick smaller than 6? Context: CREATE TABLE table_name_77 (round INTEGER, pick INTEGER)[/INST]SELECT SUM(round) FROM table_name_77 WHERE pick < 6</s> |
CREATE TABLE table_228973_5 (written_by VARCHAR, no_in_series VARCHAR) | SELECT COUNT(written_by) FROM table_228973_5 WHERE no_in_series = 68 | How many people wrote episode 68 in the series? | <s>[INST]How many people wrote episode 68 in the series? Context: CREATE TABLE table_228973_5 (written_by VARCHAR, no_in_series VARCHAR)[/INST]SELECT COUNT(written_by) FROM table_228973_5 WHERE no_in_series = 68</s> |
CREATE TABLE table_name_12 (catalogue_no VARCHAR, format VARCHAR, country VARCHAR) | SELECT catalogue_no FROM table_name_12 WHERE format = "cd (limited edition steel-box)" AND country = "germany" | what is the catalogue no when the format is cd (limited edition steel-box) and the country is germany? | <s>[INST]what is the catalogue no when the format is cd (limited edition steel-box) and the country is germany? Context: CREATE TABLE table_name_12 (catalogue_no VARCHAR, format VARCHAR, country VARCHAR)[/INST]SELECT catalogue_no FROM table_name_12 WHERE format = "cd (limited edition steel-box)" AND country = "germany"... |
CREATE TABLE table_name_13 (chassis VARCHAR, drivers VARCHAR) | SELECT chassis FROM table_name_13 WHERE drivers = "gary bettenhausen" | What chassis does Gary Bettenhausen use? | <s>[INST]What chassis does Gary Bettenhausen use? Context: CREATE TABLE table_name_13 (chassis VARCHAR, drivers VARCHAR)[/INST]SELECT chassis FROM table_name_13 WHERE drivers = "gary bettenhausen"</s> |
CREATE TABLE table_name_75 (loss INTEGER, avg_g VARCHAR, long VARCHAR, gain VARCHAR) | SELECT MAX(loss) FROM table_name_75 WHERE long > 0 AND gain > 484 AND avg_g > 126.4 | What is the highest Loss, when Long is greater than 0, when Gain is greater than 484, and when Avg/g is greater than 126.4? | <s>[INST]What is the highest Loss, when Long is greater than 0, when Gain is greater than 484, and when Avg/g is greater than 126.4? Context: CREATE TABLE table_name_75 (loss INTEGER, avg_g VARCHAR, long VARCHAR, gain VARCHAR)[/INST]SELECT MAX(loss) FROM table_name_75 WHERE long > 0 AND gain > 484 AND avg_g > 126.4</s> |
CREATE TABLE table_name_58 (political_group VARCHAR, name VARCHAR) | SELECT political_group FROM table_name_58 WHERE name = "p. maelius capitolinus" | What is the Political group for p. maelius capitolinus? | <s>[INST]What is the Political group for p. maelius capitolinus? Context: CREATE TABLE table_name_58 (political_group VARCHAR, name VARCHAR)[/INST]SELECT political_group FROM table_name_58 WHERE name = "p. maelius capitolinus"</s> |
CREATE TABLE table_name_42 (position VARCHAR, channel VARCHAR) | SELECT position FROM table_name_42 WHERE channel = "channel 4" | What is the position when the channel shows channel 4? | <s>[INST]What is the position when the channel shows channel 4? Context: CREATE TABLE table_name_42 (position VARCHAR, channel VARCHAR)[/INST]SELECT position FROM table_name_42 WHERE channel = "channel 4"</s> |
CREATE TABLE table_name_16 (tournament VARCHAR) | SELECT tournament FROM table_name_16 WHERE 2012 = "a" AND 2011 = "a" AND 2008 = "a" | What is Tournament, when 2012 is "A", when 2011 is "A", and when 2008 is "A"? | <s>[INST]What is Tournament, when 2012 is "A", when 2011 is "A", and when 2008 is "A"? Context: CREATE TABLE table_name_16 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_16 WHERE 2012 = "a" AND 2011 = "a" AND 2008 = "a"</s> |
CREATE TABLE table_name_46 (result VARCHAR, week VARCHAR) | SELECT result FROM table_name_46 WHERE week = 4 | Tell me the result for week of 4 | <s>[INST]Tell me the result for week of 4 Context: CREATE TABLE table_name_46 (result VARCHAR, week VARCHAR)[/INST]SELECT result FROM table_name_46 WHERE week = 4</s> |
CREATE TABLE table_name_15 (ihsaa_class VARCHAR, year_joined VARCHAR) | SELECT ihsaa_class AS Football FROM table_name_15 WHERE year_joined = 1968 | What is the IHSAA Class for football for the team joining in 1968? | <s>[INST]What is the IHSAA Class for football for the team joining in 1968? Context: CREATE TABLE table_name_15 (ihsaa_class VARCHAR, year_joined VARCHAR)[/INST]SELECT ihsaa_class AS Football FROM table_name_15 WHERE year_joined = 1968</s> |
CREATE TABLE table_name_20 (pick__number VARCHAR, player VARCHAR) | SELECT pick__number FROM table_name_20 WHERE player = "jason french" | Which pick number was there for Jason French? | <s>[INST]Which pick number was there for Jason French? Context: CREATE TABLE table_name_20 (pick__number VARCHAR, player VARCHAR)[/INST]SELECT pick__number FROM table_name_20 WHERE player = "jason french"</s> |
CREATE TABLE table_name_52 (final_score VARCHAR, opponent VARCHAR, season VARCHAR) | SELECT final_score FROM table_name_52 WHERE opponent = "real españa" AND season = "2008–09" | What is the final score when the opponent was Real España, in the 2008–09 season? | <s>[INST]What is the final score when the opponent was Real España, in the 2008–09 season? Context: CREATE TABLE table_name_52 (final_score VARCHAR, opponent VARCHAR, season VARCHAR)[/INST]SELECT final_score FROM table_name_52 WHERE opponent = "real españa" AND season = "2008–09"</s> |
CREATE TABLE table_12280396_1 (county VARCHAR, peak VARCHAR) | SELECT county FROM table_12280396_1 WHERE peak = "Indre Russetind" | Name the county with the peak being indre russetind? | <s>[INST]Name the county with the peak being indre russetind? Context: CREATE TABLE table_12280396_1 (county VARCHAR, peak VARCHAR)[/INST]SELECT county FROM table_12280396_1 WHERE peak = "Indre Russetind"</s> |
CREATE TABLE table_name_24 (constructor VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_24 WHERE driver = "clay regazzoni" | Tell me the constructor for clay regazzoni | <s>[INST]Tell me the constructor for clay regazzoni Context: CREATE TABLE table_name_24 (constructor VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_24 WHERE driver = "clay regazzoni"</s> |
CREATE TABLE table_name_47 (school_club_team VARCHAR, round VARCHAR, player VARCHAR) | SELECT school_club_team FROM table_name_47 WHERE round < 4 AND player = "jan van breda kolff" | Which team has fewer than 4 rounds for Jan Van Breda Kolff? | <s>[INST]Which team has fewer than 4 rounds for Jan Van Breda Kolff? Context: CREATE TABLE table_name_47 (school_club_team VARCHAR, round VARCHAR, player VARCHAR)[/INST]SELECT school_club_team FROM table_name_47 WHERE round < 4 AND player = "jan van breda kolff"</s> |
CREATE TABLE customers (state VARCHAR) | SELECT state FROM customers GROUP BY state ORDER BY COUNT(*) LIMIT 1 | Which state has the most customers? | <s>[INST]Which state has the most customers? Context: CREATE TABLE customers (state VARCHAR)[/INST]SELECT state FROM customers GROUP BY state ORDER BY COUNT(*) LIMIT 1</s> |
CREATE TABLE table_name_19 (engine VARCHAR, start VARCHAR, finish VARCHAR) | SELECT engine FROM table_name_19 WHERE start < 7 AND finish = 23 | What engine has a start less than 7, and 23 as a finish? | <s>[INST]What engine has a start less than 7, and 23 as a finish? Context: CREATE TABLE table_name_19 (engine VARCHAR, start VARCHAR, finish VARCHAR)[/INST]SELECT engine FROM table_name_19 WHERE start < 7 AND finish = 23</s> |
CREATE TABLE table_name_71 (date VARCHAR, game VARCHAR) | SELECT date FROM table_name_71 WHERE game = 37 | What date was game 37? | <s>[INST]What date was game 37? Context: CREATE TABLE table_name_71 (date VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_name_71 WHERE game = 37</s> |
CREATE TABLE projects (code VARCHAR, name VARCHAR); CREATE TABLE scientists (name VARCHAR, SSN VARCHAR); CREATE TABLE assignedto (project VARCHAR, scientist VARCHAR) | SELECT T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T2.name = 'Matter of Time' INTERSECT SELECT T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T2.name = 'A Pu... | Find the name of the scientist who worked on both a project named 'Matter of Time' and a project named 'A Puzzling Parallax'. | <s>[INST]Find the name of the scientist who worked on both a project named 'Matter of Time' and a project named 'A Puzzling Parallax'. Context: CREATE TABLE projects (code VARCHAR, name VARCHAR); CREATE TABLE scientists (name VARCHAR, SSN VARCHAR); CREATE TABLE assignedto (project VARCHAR, scientist VARCHAR)[/INST]SELE... |
CREATE TABLE table_name_75 (record VARCHAR, score VARCHAR, date VARCHAR) | SELECT record FROM table_name_75 WHERE score = "6–2" AND date = "november 24" | What is the Record of the game on November 24 with a Score of 6–2? | <s>[INST]What is the Record of the game on November 24 with a Score of 6–2? Context: CREATE TABLE table_name_75 (record VARCHAR, score VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_75 WHERE score = "6–2" AND date = "november 24"</s> |
CREATE TABLE table_16376436_1 (nfl_team VARCHAR, college VARCHAR) | SELECT nfl_team FROM table_16376436_1 WHERE college = "Norfolk State" | What is the NFL team for the player who's college was Norfolk State? | <s>[INST]What is the NFL team for the player who's college was Norfolk State? Context: CREATE TABLE table_16376436_1 (nfl_team VARCHAR, college VARCHAR)[/INST]SELECT nfl_team FROM table_16376436_1 WHERE college = "Norfolk State"</s> |
CREATE TABLE table_name_41 (division_record VARCHAR, school VARCHAR) | SELECT division_record FROM table_name_41 WHERE school = "sussex central" | What is the division record of Sussex Central? | <s>[INST]What is the division record of Sussex Central? Context: CREATE TABLE table_name_41 (division_record VARCHAR, school VARCHAR)[/INST]SELECT division_record FROM table_name_41 WHERE school = "sussex central"</s> |
CREATE TABLE table_name_28 (total_seats INTEGER, pr_seats VARCHAR, district_seats VARCHAR) | SELECT MAX(total_seats) FROM table_name_28 WHERE pr_seats = 48 AND district_seats > 73 | Who had the highest total PR seats of 48 with a District seat larger than than 73? | <s>[INST]Who had the highest total PR seats of 48 with a District seat larger than than 73? Context: CREATE TABLE table_name_28 (total_seats INTEGER, pr_seats VARCHAR, district_seats VARCHAR)[/INST]SELECT MAX(total_seats) FROM table_name_28 WHERE pr_seats = 48 AND district_seats > 73</s> |
CREATE TABLE table_29295463_9 (champion VARCHAR, runner_up VARCHAR) | SELECT champion FROM table_29295463_9 WHERE runner_up = "Marty Davis" | Who became the champion for the 1984 Grand Prix where Marty Davis was the runner-up? | <s>[INST]Who became the champion for the 1984 Grand Prix where Marty Davis was the runner-up? Context: CREATE TABLE table_29295463_9 (champion VARCHAR, runner_up VARCHAR)[/INST]SELECT champion FROM table_29295463_9 WHERE runner_up = "Marty Davis"</s> |
CREATE TABLE table_name_25 (name VARCHAR, sport VARCHAR) | SELECT name FROM table_name_25 WHERE sport = "canoeing" | What is the names for the medalist in the sport of canoeing? | <s>[INST]What is the names for the medalist in the sport of canoeing? Context: CREATE TABLE table_name_25 (name VARCHAR, sport VARCHAR)[/INST]SELECT name FROM table_name_25 WHERE sport = "canoeing"</s> |
CREATE TABLE table_name_64 (voltage VARCHAR, frequency VARCHAR, release_date VARCHAR) | SELECT voltage FROM table_name_64 WHERE frequency = "2000mhz" AND release_date = "q3 2008" | What kind of Voltage has a Frequency of 2000mhz, and a Release date in q3 2008? | <s>[INST]What kind of Voltage has a Frequency of 2000mhz, and a Release date in q3 2008? Context: CREATE TABLE table_name_64 (voltage VARCHAR, frequency VARCHAR, release_date VARCHAR)[/INST]SELECT voltage FROM table_name_64 WHERE frequency = "2000mhz" AND release_date = "q3 2008"</s> |
CREATE TABLE table_name_25 (carrier VARCHAR, package_version VARCHAR) | SELECT carrier FROM table_name_25 WHERE package_version = "4.7.0.208" | WHAT IS THE CARRIER FOR 4.7.0.208 VERSION? | <s>[INST]WHAT IS THE CARRIER FOR 4.7.0.208 VERSION? Context: CREATE TABLE table_name_25 (carrier VARCHAR, package_version VARCHAR)[/INST]SELECT carrier FROM table_name_25 WHERE package_version = "4.7.0.208"</s> |
CREATE TABLE table_name_7 (reg_season VARCHAR, record VARCHAR) | SELECT reg_season FROM table_name_7 WHERE record = "16-12" | What regular season had a record of 16-12? | <s>[INST]What regular season had a record of 16-12? Context: CREATE TABLE table_name_7 (reg_season VARCHAR, record VARCHAR)[/INST]SELECT reg_season FROM table_name_7 WHERE record = "16-12"</s> |
CREATE TABLE table_name_44 (build_year VARCHAR, total_production VARCHAR) | SELECT build_year FROM table_name_44 WHERE total_production = 150 | Tell me the build year for total production of 150 | <s>[INST]Tell me the build year for total production of 150 Context: CREATE TABLE table_name_44 (build_year VARCHAR, total_production VARCHAR)[/INST]SELECT build_year FROM table_name_44 WHERE total_production = 150</s> |
CREATE TABLE table_name_58 (manufacturer VARCHAR, engine_make_capacity VARCHAR, year VARCHAR) | SELECT manufacturer FROM table_name_58 WHERE engine_make_capacity = "jawa 249cc" AND year = "1956-1963" | Who manufactured the car with the jawa 249cc engine that was made in the years 1956-1963? | <s>[INST]Who manufactured the car with the jawa 249cc engine that was made in the years 1956-1963? Context: CREATE TABLE table_name_58 (manufacturer VARCHAR, engine_make_capacity VARCHAR, year VARCHAR)[/INST]SELECT manufacturer FROM table_name_58 WHERE engine_make_capacity = "jawa 249cc" AND year = "1956-1963"</s> |
CREATE TABLE table_name_28 (grid INTEGER, driver VARCHAR, laps VARCHAR) | SELECT SUM(grid) FROM table_name_28 WHERE driver = "johnny herbert" AND laps > 52 | What is the number of the grid for Johnny Herbert with more than 52 laps? | <s>[INST]What is the number of the grid for Johnny Herbert with more than 52 laps? Context: CREATE TABLE table_name_28 (grid INTEGER, driver VARCHAR, laps VARCHAR)[/INST]SELECT SUM(grid) FROM table_name_28 WHERE driver = "johnny herbert" AND laps > 52</s> |
CREATE TABLE table_name_98 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_98 WHERE date = "31 may 2010" | The game played 31 May 2010 was played on what surface? | <s>[INST]The game played 31 May 2010 was played on what surface? Context: CREATE TABLE table_name_98 (surface VARCHAR, date VARCHAR)[/INST]SELECT surface FROM table_name_98 WHERE date = "31 may 2010"</s> |
CREATE TABLE table_name_83 (skip VARCHAR, third VARCHAR) | SELECT skip FROM table_name_83 WHERE third = "alasdair guthrie" | Who is the Skip when Alasdair Guthrie is the third? | <s>[INST]Who is the Skip when Alasdair Guthrie is the third? Context: CREATE TABLE table_name_83 (skip VARCHAR, third VARCHAR)[/INST]SELECT skip FROM table_name_83 WHERE third = "alasdair guthrie"</s> |
CREATE TABLE first_notification_of_loss (customer_id VARCHAR, service_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE services (service_id VARCHAR, service_name VARCHAR) | SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_id = t2.customer_id JOIN services AS t3 ON t2.service_id = t3.service_id WHERE t3.service_name = "Close a policy" OR t3.service_name = "Upgrade a policy" | Find the names of customers who have used either the service "Close a policy" or the service "Upgrade a policy". | <s>[INST]Find the names of customers who have used either the service "Close a policy" or the service "Upgrade a policy". Context: CREATE TABLE first_notification_of_loss (customer_id VARCHAR, service_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE services (service_id VAR... |
CREATE TABLE film_actor (actor_id VARCHAR); CREATE TABLE actor (first_name VARCHAR, last_name VARCHAR, actor_id VARCHAR) | SELECT T2.first_name, T2.last_name, T2.actor_id FROM film_actor AS T1 JOIN actor AS T2 ON T1.actor_id = T2.actor_id GROUP BY T2.actor_id ORDER BY COUNT(*) DESC LIMIT 1 | Which film actor (actress) starred the most films? List his or her first name, last name and actor id. | <s>[INST]Which film actor (actress) starred the most films? List his or her first name, last name and actor id. Context: CREATE TABLE film_actor (actor_id VARCHAR); CREATE TABLE actor (first_name VARCHAR, last_name VARCHAR, actor_id VARCHAR)[/INST]SELECT T2.first_name, T2.last_name, T2.actor_id FROM film_actor AS T1 JO... |
CREATE TABLE table_name_42 (entered VARCHAR, known_for VARCHAR) | SELECT entered FROM table_name_42 WHERE known_for = "the only way is essex star" | On which day did the person who is known for the only way is essex star enter? | <s>[INST]On which day did the person who is known for the only way is essex star enter? Context: CREATE TABLE table_name_42 (entered VARCHAR, known_for VARCHAR)[/INST]SELECT entered FROM table_name_42 WHERE known_for = "the only way is essex star"</s> |
CREATE TABLE table_name_16 (total VARCHAR, sport VARCHAR, bronze VARCHAR) | SELECT COUNT(total) FROM table_name_16 WHERE sport = "vovinam" AND bronze < 3 | Tell me the total number of total for vovinam and bronze less than 3 | <s>[INST]Tell me the total number of total for vovinam and bronze less than 3 Context: CREATE TABLE table_name_16 (total VARCHAR, sport VARCHAR, bronze VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_16 WHERE sport = "vovinam" AND bronze < 3</s> |
CREATE TABLE table_17326036_5 (high_rebounds VARCHAR, date VARCHAR) | SELECT high_rebounds FROM table_17326036_5 WHERE date = "November 1" | Who did the most high rebounds in the game played on November 1? | <s>[INST]Who did the most high rebounds in the game played on November 1? Context: CREATE TABLE table_17326036_5 (high_rebounds VARCHAR, date VARCHAR)[/INST]SELECT high_rebounds FROM table_17326036_5 WHERE date = "November 1"</s> |
CREATE TABLE table_24099476_8 (round VARCHAR, opponent VARCHAR) | SELECT round FROM table_24099476_8 WHERE opponent = "Sergiy Stakhovsky" | In what round did he play against Sergiy Stakhovsky? | <s>[INST]In what round did he play against Sergiy Stakhovsky? Context: CREATE TABLE table_24099476_8 (round VARCHAR, opponent VARCHAR)[/INST]SELECT round FROM table_24099476_8 WHERE opponent = "Sergiy Stakhovsky"</s> |
CREATE TABLE table_name_88 (name VARCHAR, nationality VARCHAR, lane VARCHAR) | SELECT name FROM table_name_88 WHERE nationality = "france" AND lane < 3 | Who has less than 3 lanes for France? | <s>[INST]Who has less than 3 lanes for France? Context: CREATE TABLE table_name_88 (name VARCHAR, nationality VARCHAR, lane VARCHAR)[/INST]SELECT name FROM table_name_88 WHERE nationality = "france" AND lane < 3</s> |
CREATE TABLE table_name_58 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_58 WHERE score = 67 - 72 = 139 | What player has the score of 67-72=139? | <s>[INST]What player has the score of 67-72=139? Context: CREATE TABLE table_name_58 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_58 WHERE score = 67 - 72 = 139</s> |
CREATE TABLE table_18483171_1 (founded VARCHAR, location VARCHAR) | SELECT COUNT(founded) FROM table_18483171_1 WHERE location = "Rock Island, Illinois" | List the total number of institutions founded in Rock Island, Illinois. | <s>[INST]List the total number of institutions founded in Rock Island, Illinois. Context: CREATE TABLE table_18483171_1 (founded VARCHAR, location VARCHAR)[/INST]SELECT COUNT(founded) FROM table_18483171_1 WHERE location = "Rock Island, Illinois"</s> |
CREATE TABLE table_name_89 (bodyweight INTEGER, snatch VARCHAR) | SELECT AVG(bodyweight) FROM table_name_89 WHERE snatch = 80 | what is the average bodyweight when snatch is 80? | <s>[INST]what is the average bodyweight when snatch is 80? Context: CREATE TABLE table_name_89 (bodyweight INTEGER, snatch VARCHAR)[/INST]SELECT AVG(bodyweight) FROM table_name_89 WHERE snatch = 80</s> |
CREATE TABLE table_name_74 (viewers__millions_ INTEGER, episode__number VARCHAR, rating VARCHAR) | SELECT MIN(viewers__millions_) FROM table_name_74 WHERE rating / SHARE(18 AS –49) = 1.1 / 3 AND episode__number < 5 | What is the lowest number of million viewers for an episode before episode 5 with a rating/share of 1.1/3? | <s>[INST]What is the lowest number of million viewers for an episode before episode 5 with a rating/share of 1.1/3? Context: CREATE TABLE table_name_74 (viewers__millions_ INTEGER, episode__number VARCHAR, rating VARCHAR)[/INST]SELECT MIN(viewers__millions_) FROM table_name_74 WHERE rating / SHARE(18 AS –49) = 1.1 / 3 ... |
CREATE TABLE table_name_32 (d_47 VARCHAR, d_45 VARCHAR) | SELECT d_47 FROM table_name_32 WHERE d_45 = "d 32" | Name the D 47 when it has a D 45 of d 32 | <s>[INST]Name the D 47 when it has a D 45 of d 32 Context: CREATE TABLE table_name_32 (d_47 VARCHAR, d_45 VARCHAR)[/INST]SELECT d_47 FROM table_name_32 WHERE d_45 = "d 32"</s> |
CREATE TABLE table_name_31 (bleeding_time VARCHAR, condition VARCHAR) | SELECT bleeding_time FROM table_name_31 WHERE condition = "factor x deficiency as seen in amyloid purpura" | Which Bleeding time has a Condition of factor x deficiency as seen in amyloid purpura? | <s>[INST]Which Bleeding time has a Condition of factor x deficiency as seen in amyloid purpura? Context: CREATE TABLE table_name_31 (bleeding_time VARCHAR, condition VARCHAR)[/INST]SELECT bleeding_time FROM table_name_31 WHERE condition = "factor x deficiency as seen in amyloid purpura"</s> |
CREATE TABLE table_name_65 (director VARCHAR, country VARCHAR) | SELECT director FROM table_name_65 WHERE country = "poland" | What director is from Poland? | <s>[INST]What director is from Poland? Context: CREATE TABLE table_name_65 (director VARCHAR, country VARCHAR)[/INST]SELECT director FROM table_name_65 WHERE country = "poland"</s> |
CREATE TABLE table_name_66 (week VARCHAR, opponent VARCHAR) | SELECT week FROM table_name_66 WHERE opponent = "bye" | What week did they have a bye? | <s>[INST]What week did they have a bye? Context: CREATE TABLE table_name_66 (week VARCHAR, opponent VARCHAR)[/INST]SELECT week FROM table_name_66 WHERE opponent = "bye"</s> |
CREATE TABLE table_name_21 (points VARCHAR, engine VARCHAR, year VARCHAR) | SELECT COUNT(points) FROM table_name_21 WHERE engine = "ford cosworth" AND year > 1991 | What is total amount of points of entrants with a ford cosworth engine and a year later than 1991? | <s>[INST]What is total amount of points of entrants with a ford cosworth engine and a year later than 1991? Context: CREATE TABLE table_name_21 (points VARCHAR, engine VARCHAR, year VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_21 WHERE engine = "ford cosworth" AND year > 1991</s> |
CREATE TABLE table_name_34 (school_club_team VARCHAR, player VARCHAR) | SELECT school_club_team FROM table_name_34 WHERE player = "deandre liggins" | Which School/Club Team has a Player of deandre liggins? | <s>[INST]Which School/Club Team has a Player of deandre liggins? Context: CREATE TABLE table_name_34 (school_club_team VARCHAR, player VARCHAR)[/INST]SELECT school_club_team FROM table_name_34 WHERE player = "deandre liggins"</s> |
CREATE TABLE table_name_68 (location VARCHAR, score VARCHAR) | SELECT location FROM table_name_68 WHERE score = "w 82-76" | At what location was the score W 82-76? | <s>[INST]At what location was the score W 82-76? Context: CREATE TABLE table_name_68 (location VARCHAR, score VARCHAR)[/INST]SELECT location FROM table_name_68 WHERE score = "w 82-76"</s> |
CREATE TABLE table_10953197_4 (writer_s_ VARCHAR, production_code VARCHAR) | SELECT writer_s_ FROM table_10953197_4 WHERE production_code = "2395096" | Who was the writer for the episode with production code 2395096? | <s>[INST]Who was the writer for the episode with production code 2395096? Context: CREATE TABLE table_10953197_4 (writer_s_ VARCHAR, production_code VARCHAR)[/INST]SELECT writer_s_ FROM table_10953197_4 WHERE production_code = "2395096"</s> |
CREATE TABLE table_name_34 (density___km²_ VARCHAR, hanzi VARCHAR) | SELECT density___km²_ FROM table_name_34 WHERE hanzi = "昌黎县" | What is the density of 昌黎县? | <s>[INST]What is the density of 昌黎县? Context: CREATE TABLE table_name_34 (density___km²_ VARCHAR, hanzi VARCHAR)[/INST]SELECT density___km²_ FROM table_name_34 WHERE hanzi = "昌黎县"</s> |
CREATE TABLE table_29704430_1 (stolen_ends INTEGER) | SELECT MAX(stolen_ends) FROM table_29704430_1 | What is the most stolen ends? | <s>[INST]What is the most stolen ends? Context: CREATE TABLE table_29704430_1 (stolen_ends INTEGER)[/INST]SELECT MAX(stolen_ends) FROM table_29704430_1</s> |
CREATE TABLE table_name_9 (result VARCHAR, site VARCHAR) | SELECT result FROM table_name_9 WHERE site = "rice stadium • houston, tx" | Which Result has a Site of rice stadium • houston, tx? | <s>[INST]Which Result has a Site of rice stadium • houston, tx? Context: CREATE TABLE table_name_9 (result VARCHAR, site VARCHAR)[/INST]SELECT result FROM table_name_9 WHERE site = "rice stadium • houston, tx"</s> |
CREATE TABLE table_name_63 (Id VARCHAR) | SELECT SUM(1891) FROM table_name_63 WHERE 1872 < 685 AND 1881 < 348 | What is the sum of 1891(s), when 1872 is less than 685, and when 1881 is less than 348? | <s>[INST]What is the sum of 1891(s), when 1872 is less than 685, and when 1881 is less than 348? Context: CREATE TABLE table_name_63 (Id VARCHAR)[/INST]SELECT SUM(1891) FROM table_name_63 WHERE 1872 < 685 AND 1881 < 348</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.