context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_49 (score VARCHAR, result VARCHAR, date VARCHAR) | SELECT score FROM table_name_49 WHERE result = "won" AND date = "december 14, 2004" | What score has won as the result on the date of December 14, 2004? | <s>[INST]What score has won as the result on the date of December 14, 2004? Context: CREATE TABLE table_name_49 (score VARCHAR, result VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_49 WHERE result = "won" AND date = "december 14, 2004"</s> |
CREATE TABLE table_23465864_3 (sat_29_aug VARCHAR, rider VARCHAR) | SELECT sat_29_aug FROM table_23465864_3 WHERE rider = "Roy Richardson 476cc Aermacchi" | When roy richardson 476cc aermacchi is the rider what is the time for saturday august 9th? | <s>[INST]When roy richardson 476cc aermacchi is the rider what is the time for saturday august 9th? Context: CREATE TABLE table_23465864_3 (sat_29_aug VARCHAR, rider VARCHAR)[/INST]SELECT sat_29_aug FROM table_23465864_3 WHERE rider = "Roy Richardson 476cc Aermacchi"</s> |
CREATE TABLE CMI_Cross_References (master_customer_id VARCHAR, source_system_code VARCHAR); CREATE TABLE Customer_Master_Index (cmi_details VARCHAR, master_customer_id VARCHAR) | SELECT T1.cmi_details FROM Customer_Master_Index AS T1 JOIN CMI_Cross_References AS T2 ON T1.master_customer_id = T2.master_customer_id WHERE T2.source_system_code = 'Tax' | what are the details of the cmi masters that have the cross reference code 'Tax'? | <s>[INST]what are the details of the cmi masters that have the cross reference code 'Tax'? Context: CREATE TABLE CMI_Cross_References (master_customer_id VARCHAR, source_system_code VARCHAR); CREATE TABLE Customer_Master_Index (cmi_details VARCHAR, master_customer_id VARCHAR)[/INST]SELECT T1.cmi_details FROM Customer_M... |
CREATE TABLE table_name_16 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_16 WHERE home_team = "fitzroy" | What was Fitzroy's score when they were the home team? | <s>[INST]What was Fitzroy's score when they were the home team? Context: CREATE TABLE table_name_16 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_16 WHERE home_team = "fitzroy"</s> |
CREATE TABLE table_2259502_2 (opponents VARCHAR, championship VARCHAR) | SELECT opponents FROM table_2259502_2 WHERE championship = "Tokyo" | Who were the opponents in the Tokyo championships? | <s>[INST]Who were the opponents in the Tokyo championships? Context: CREATE TABLE table_2259502_2 (opponents VARCHAR, championship VARCHAR)[/INST]SELECT opponents FROM table_2259502_2 WHERE championship = "Tokyo"</s> |
CREATE TABLE table_17650725_1 (transfers_out INTEGER, total_transfers VARCHAR) | SELECT MIN(transfers_out) FROM table_17650725_1 WHERE total_transfers = 21 | Name the least transfers out when transfers is 21 | <s>[INST]Name the least transfers out when transfers is 21 Context: CREATE TABLE table_17650725_1 (transfers_out INTEGER, total_transfers VARCHAR)[/INST]SELECT MIN(transfers_out) FROM table_17650725_1 WHERE total_transfers = 21</s> |
CREATE TABLE table_name_17 (score VARCHAR, opponent VARCHAR, game VARCHAR) | SELECT score FROM table_name_17 WHERE opponent = "florida panthers" AND game = 2 | What was the score of Game 2 in the series against the Florida Panthers? | <s>[INST]What was the score of Game 2 in the series against the Florida Panthers? Context: CREATE TABLE table_name_17 (score VARCHAR, opponent VARCHAR, game VARCHAR)[/INST]SELECT score FROM table_name_17 WHERE opponent = "florida panthers" AND game = 2</s> |
CREATE TABLE conductor (Name VARCHAR, Conductor_ID VARCHAR); CREATE TABLE orchestra (Orchestra VARCHAR, Conductor_ID VARCHAR) | SELECT T1.Name, T2.Orchestra FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID | Show the names of conductors and the orchestras they have conducted. | <s>[INST]Show the names of conductors and the orchestras they have conducted. Context: CREATE TABLE conductor (Name VARCHAR, Conductor_ID VARCHAR); CREATE TABLE orchestra (Orchestra VARCHAR, Conductor_ID VARCHAR)[/INST]SELECT T1.Name, T2.Orchestra FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conduc... |
CREATE TABLE table_name_97 (fall_06 INTEGER, fall_09 VARCHAR) | SELECT AVG(fall_06) FROM table_name_97 WHERE fall_09 = 34 | What number is Fall 06 from the state with 34 for Fall 09? | <s>[INST]What number is Fall 06 from the state with 34 for Fall 09? Context: CREATE TABLE table_name_97 (fall_06 INTEGER, fall_09 VARCHAR)[/INST]SELECT AVG(fall_06) FROM table_name_97 WHERE fall_09 = 34</s> |
CREATE TABLE Cartoon (Channel VARCHAR, Title VARCHAR); CREATE TABLE TV_Channel (series_name VARCHAR, id VARCHAR) | SELECT T1.series_name FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T2.Title = "The Rise of the Blue Beetle!" | What is the TV Channel that shows the cartoon "The Rise of the Blue Beetle!"? List the TV Channel's series name. | <s>[INST]What is the TV Channel that shows the cartoon "The Rise of the Blue Beetle!"? List the TV Channel's series name. Context: CREATE TABLE Cartoon (Channel VARCHAR, Title VARCHAR); CREATE TABLE TV_Channel (series_name VARCHAR, id VARCHAR)[/INST]SELECT T1.series_name FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.i... |
CREATE TABLE table_11734041_9 (no_s_ VARCHAR, school_club_team_country VARCHAR) | SELECT no_s_ FROM table_11734041_9 WHERE school_club_team_country = "Southern University" | What is the number of the player who went to Southern University? | <s>[INST]What is the number of the player who went to Southern University? Context: CREATE TABLE table_11734041_9 (no_s_ VARCHAR, school_club_team_country VARCHAR)[/INST]SELECT no_s_ FROM table_11734041_9 WHERE school_club_team_country = "Southern University"</s> |
CREATE TABLE table_name_45 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_45 WHERE attendance = "19,423" | Who did the argonauts play against during the game that had 19,423 fans in attendance? | <s>[INST]Who did the argonauts play against during the game that had 19,423 fans in attendance? Context: CREATE TABLE table_name_45 (opponent VARCHAR, attendance VARCHAR)[/INST]SELECT opponent FROM table_name_45 WHERE attendance = "19,423"</s> |
CREATE TABLE table_name_39 (host_team VARCHAR, date VARCHAR) | SELECT host_team FROM table_name_39 WHERE date = "december 16" | What was the name of the host team dated December 16? | <s>[INST]What was the name of the host team dated December 16? Context: CREATE TABLE table_name_39 (host_team VARCHAR, date VARCHAR)[/INST]SELECT host_team FROM table_name_39 WHERE date = "december 16"</s> |
CREATE TABLE table_15187735_13 (segment_c VARCHAR, segment_a VARCHAR) | SELECT COUNT(segment_c) FROM table_15187735_13 WHERE segment_a = "Pressure Cookers" | Name the total number of segment c for pressure cookers | <s>[INST]Name the total number of segment c for pressure cookers Context: CREATE TABLE table_15187735_13 (segment_c VARCHAR, segment_a VARCHAR)[/INST]SELECT COUNT(segment_c) FROM table_15187735_13 WHERE segment_a = "Pressure Cookers"</s> |
CREATE TABLE rent_arrears (Id VARCHAR) | SELECT COUNT(*) FROM rent_arrears | How many council taxes are collected for renting arrears ? | <s>[INST]How many council taxes are collected for renting arrears ? Context: CREATE TABLE rent_arrears (Id VARCHAR)[/INST]SELECT COUNT(*) FROM rent_arrears</s> |
CREATE TABLE table_name_22 (abbr VARCHAR, zodiac_sign VARCHAR) | SELECT abbr FROM table_name_22 WHERE zodiac_sign = "capricorn" | What is the abbreviation for the sign of Capricorn? | <s>[INST]What is the abbreviation for the sign of Capricorn? Context: CREATE TABLE table_name_22 (abbr VARCHAR, zodiac_sign VARCHAR)[/INST]SELECT abbr FROM table_name_22 WHERE zodiac_sign = "capricorn"</s> |
CREATE TABLE table_name_80 (team VARCHAR, laps VARCHAR, points VARCHAR, time_retired VARCHAR) | SELECT team FROM table_name_80 WHERE points = 0 AND time_retired = "contact" AND laps = 71 | What team has 0 points and a contact tired/retired, and 71 laps? | <s>[INST]What team has 0 points and a contact tired/retired, and 71 laps? Context: CREATE TABLE table_name_80 (team VARCHAR, laps VARCHAR, points VARCHAR, time_retired VARCHAR)[/INST]SELECT team FROM table_name_80 WHERE points = 0 AND time_retired = "contact" AND laps = 71</s> |
CREATE TABLE table_name_28 (quarterfinal VARCHAR, rank INTEGER) | SELECT quarterfinal FROM table_name_28 WHERE rank > 9 | Which Quarterfinal has a Rank larger than 9? | <s>[INST]Which Quarterfinal has a Rank larger than 9? Context: CREATE TABLE table_name_28 (quarterfinal VARCHAR, rank INTEGER)[/INST]SELECT quarterfinal FROM table_name_28 WHERE rank > 9</s> |
CREATE TABLE table_name_2 (number_of_electorates__2009_ INTEGER, name VARCHAR) | SELECT MIN(number_of_electorates__2009_) FROM table_name_2 WHERE name = "churai" | Churai has what as the fewest number of electorates? | <s>[INST]Churai has what as the fewest number of electorates? Context: CREATE TABLE table_name_2 (number_of_electorates__2009_ INTEGER, name VARCHAR)[/INST]SELECT MIN(number_of_electorates__2009_) FROM table_name_2 WHERE name = "churai"</s> |
CREATE TABLE table_name_17 (against INTEGER, draws VARCHAR, losses VARCHAR) | SELECT SUM(against) FROM table_name_17 WHERE draws = 2 AND losses < 4 | How much Against has Draws of 2, and Losses smaller than 4? | <s>[INST]How much Against has Draws of 2, and Losses smaller than 4? Context: CREATE TABLE table_name_17 (against INTEGER, draws VARCHAR, losses VARCHAR)[/INST]SELECT SUM(against) FROM table_name_17 WHERE draws = 2 AND losses < 4</s> |
CREATE TABLE table_name_6 (score VARCHAR, loss VARCHAR) | SELECT score FROM table_name_6 WHERE loss = "smith (2-4)" | The game with a loss of smith (2-4) ended with what score? | <s>[INST]The game with a loss of smith (2-4) ended with what score? Context: CREATE TABLE table_name_6 (score VARCHAR, loss VARCHAR)[/INST]SELECT score FROM table_name_6 WHERE loss = "smith (2-4)"</s> |
CREATE TABLE table_name_53 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_53 WHERE date = "november 1, 1992" | What is the result on November 1, 1992? | <s>[INST]What is the result on November 1, 1992? Context: CREATE TABLE table_name_53 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_53 WHERE date = "november 1, 1992"</s> |
CREATE TABLE table_name_40 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_40 WHERE record = "9-24" | With a Record of 9-24, what was the Score? | <s>[INST]With a Record of 9-24, what was the Score? Context: CREATE TABLE table_name_40 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_40 WHERE record = "9-24"</s> |
CREATE TABLE table_16710829_2 (falcons_points VARCHAR, record VARCHAR) | SELECT falcons_points FROM table_16710829_2 WHERE record = "3-2" | Name the falcons points for record of 3-2 | <s>[INST]Name the falcons points for record of 3-2 Context: CREATE TABLE table_16710829_2 (falcons_points VARCHAR, record VARCHAR)[/INST]SELECT falcons_points FROM table_16710829_2 WHERE record = "3-2"</s> |
CREATE TABLE votes (contestant_number VARCHAR, state VARCHAR); CREATE TABLE contestants (contestant_number VARCHAR, contestant_name VARCHAR); CREATE TABLE area_code_state (area_code VARCHAR, state VARCHAR) | SELECT T3.area_code FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number JOIN area_code_state AS T3 ON T2.state = T3.state WHERE T1.contestant_name = 'Tabatha Gehling' INTERSECT SELECT T3.area_code FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number J... | List the area codes in which voters voted both for the contestant 'Tabatha Gehling' and the contestant 'Kelly Clauss'. | <s>[INST]List the area codes in which voters voted both for the contestant 'Tabatha Gehling' and the contestant 'Kelly Clauss'. Context: CREATE TABLE votes (contestant_number VARCHAR, state VARCHAR); CREATE TABLE contestants (contestant_number VARCHAR, contestant_name VARCHAR); CREATE TABLE area_code_state (area_code V... |
CREATE TABLE table_name_72 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_72 WHERE opponent = "phoenix suns" | What is the game that has the phoenix suns as the opponent played against? | <s>[INST]What is the game that has the phoenix suns as the opponent played against? Context: CREATE TABLE table_name_72 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_72 WHERE opponent = "phoenix suns"</s> |
CREATE TABLE table_name_89 (games INTEGER, years_at_club VARCHAR, goals VARCHAR) | SELECT AVG(games) FROM table_name_89 WHERE years_at_club = "1974–1975" AND goals = 4 | Which Games have Years at club of 1974–1975, and Goals of 4? | <s>[INST]Which Games have Years at club of 1974–1975, and Goals of 4? Context: CREATE TABLE table_name_89 (games INTEGER, years_at_club VARCHAR, goals VARCHAR)[/INST]SELECT AVG(games) FROM table_name_89 WHERE years_at_club = "1974–1975" AND goals = 4</s> |
CREATE TABLE table_name_58 (opponent VARCHAR, season VARCHAR, final_score VARCHAR) | SELECT opponent FROM table_name_58 WHERE season = "2008–09" AND final_score = "2–3 l" | What was the opponent in the 2008–09 season, with a final score of 2–3 l? | <s>[INST]What was the opponent in the 2008–09 season, with a final score of 2–3 l? Context: CREATE TABLE table_name_58 (opponent VARCHAR, season VARCHAR, final_score VARCHAR)[/INST]SELECT opponent FROM table_name_58 WHERE season = "2008–09" AND final_score = "2–3 l"</s> |
CREATE TABLE table_name_15 (score VARCHAR, game VARCHAR, time VARCHAR) | SELECT score FROM table_name_15 WHERE game > 4 AND time = "2:26" | Game larger than 4, and a Time of 2:26 resulted in what score? | <s>[INST]Game larger than 4, and a Time of 2:26 resulted in what score? Context: CREATE TABLE table_name_15 (score VARCHAR, game VARCHAR, time VARCHAR)[/INST]SELECT score FROM table_name_15 WHERE game > 4 AND time = "2:26"</s> |
CREATE TABLE table_name_97 (opponent VARCHAR, round VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_97 WHERE round = "sf" AND result = "0-0" | Who was the opponent of the match in round sf with a result of 0-0? | <s>[INST]Who was the opponent of the match in round sf with a result of 0-0? Context: CREATE TABLE table_name_97 (opponent VARCHAR, round VARCHAR, result VARCHAR)[/INST]SELECT opponent FROM table_name_97 WHERE round = "sf" AND result = "0-0"</s> |
CREATE TABLE table_name_51 (year_s__won VARCHAR, total VARCHAR, player VARCHAR) | SELECT year_s__won FROM table_name_51 WHERE total < 285 AND player = "tom watson" | Which Year(s) won has a Total smaller than 285, and a Player of tom watson? | <s>[INST]Which Year(s) won has a Total smaller than 285, and a Player of tom watson? Context: CREATE TABLE table_name_51 (year_s__won VARCHAR, total VARCHAR, player VARCHAR)[/INST]SELECT year_s__won FROM table_name_51 WHERE total < 285 AND player = "tom watson"</s> |
CREATE TABLE table_name_80 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_80 WHERE away_team = "lincoln city" | What is the Home team at the Lincoln City Away game? | <s>[INST]What is the Home team at the Lincoln City Away game? Context: CREATE TABLE table_name_80 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_80 WHERE away_team = "lincoln city"</s> |
CREATE TABLE table_name_20 (date VARCHAR, opponents_in_the_final VARCHAR) | SELECT date FROM table_name_20 WHERE opponents_in_the_final = "claire de gubernatis alexandra dulgheru" | Which date has opponents, Claire De Gubernatis Alexandra Dulgheru, in the final? | <s>[INST]Which date has opponents, Claire De Gubernatis Alexandra Dulgheru, in the final? Context: CREATE TABLE table_name_20 (date VARCHAR, opponents_in_the_final VARCHAR)[/INST]SELECT date FROM table_name_20 WHERE opponents_in_the_final = "claire de gubernatis alexandra dulgheru"</s> |
CREATE TABLE table_name_47 (fa_cup_goals VARCHAR, flt_goals INTEGER) | SELECT COUNT(fa_cup_goals) FROM table_name_47 WHERE flt_goals > 0 | What is the total number of FA Cup Goals, when FLT Goals is greater than 0? | <s>[INST]What is the total number of FA Cup Goals, when FLT Goals is greater than 0? Context: CREATE TABLE table_name_47 (fa_cup_goals VARCHAR, flt_goals INTEGER)[/INST]SELECT COUNT(fa_cup_goals) FROM table_name_47 WHERE flt_goals > 0</s> |
CREATE TABLE table_name_6 (airport VARCHAR, icao VARCHAR) | SELECT airport FROM table_name_6 WHERE icao = "flls" | Name the airport for ICAO of flls | <s>[INST]Name the airport for ICAO of flls Context: CREATE TABLE table_name_6 (airport VARCHAR, icao VARCHAR)[/INST]SELECT airport FROM table_name_6 WHERE icao = "flls"</s> |
CREATE TABLE table_name_7 (position VARCHAR, first_team_appearances VARCHAR) | SELECT position FROM table_name_7 WHERE first_team_appearances = "7" | Which position has had 7 first-team appearances? | <s>[INST]Which position has had 7 first-team appearances? Context: CREATE TABLE table_name_7 (position VARCHAR, first_team_appearances VARCHAR)[/INST]SELECT position FROM table_name_7 WHERE first_team_appearances = "7"</s> |
CREATE TABLE table_name_90 (score_in_the_final VARCHAR, partner VARCHAR) | SELECT score_in_the_final FROM table_name_90 WHERE partner = "lindsay lee-waters" | With Lindsay Lee-Waters as a partner, what was the final score? | <s>[INST]With Lindsay Lee-Waters as a partner, what was the final score? Context: CREATE TABLE table_name_90 (score_in_the_final VARCHAR, partner VARCHAR)[/INST]SELECT score_in_the_final FROM table_name_90 WHERE partner = "lindsay lee-waters"</s> |
CREATE TABLE table_25716399_1 (no_in_season INTEGER, written_by VARCHAR) | SELECT MAX(no_in_season) FROM table_25716399_1 WHERE written_by = "Jonathan Collier" | what season was written by jonathan collier? | <s>[INST]what season was written by jonathan collier? Context: CREATE TABLE table_25716399_1 (no_in_season INTEGER, written_by VARCHAR)[/INST]SELECT MAX(no_in_season) FROM table_25716399_1 WHERE written_by = "Jonathan Collier"</s> |
CREATE TABLE table_17080868_8 (high_points VARCHAR, team VARCHAR) | SELECT high_points FROM table_17080868_8 WHERE team = "New York" | All high points are team new york. | <s>[INST]All high points are team new york. Context: CREATE TABLE table_17080868_8 (high_points VARCHAR, team VARCHAR)[/INST]SELECT high_points FROM table_17080868_8 WHERE team = "New York"</s> |
CREATE TABLE table_name_92 (bronze INTEGER, silver VARCHAR, total VARCHAR) | SELECT MAX(bronze) FROM table_name_92 WHERE silver = 0 AND total < 1 | What is the highest bronze number when silver is 0, and the total is smaller than 1? | <s>[INST]What is the highest bronze number when silver is 0, and the total is smaller than 1? Context: CREATE TABLE table_name_92 (bronze INTEGER, silver VARCHAR, total VARCHAR)[/INST]SELECT MAX(bronze) FROM table_name_92 WHERE silver = 0 AND total < 1</s> |
CREATE TABLE table_name_31 (lifespan VARCHAR, party VARCHAR, years VARCHAR) | SELECT lifespan FROM table_name_31 WHERE party = "republican" AND years = "1953–1970" | What was the lifespan of the Representative from the Republican Party during the years of 1953–1970? | <s>[INST]What was the lifespan of the Representative from the Republican Party during the years of 1953–1970? Context: CREATE TABLE table_name_31 (lifespan VARCHAR, party VARCHAR, years VARCHAR)[/INST]SELECT lifespan FROM table_name_31 WHERE party = "republican" AND years = "1953–1970"</s> |
CREATE TABLE table_name_95 (gold INTEGER, rank VARCHAR, total VARCHAR, silver VARCHAR) | SELECT AVG(gold) FROM table_name_95 WHERE total = 2 AND silver < 1 AND rank > 5 | What is the average Gold, when Total is 2, when Silver is less than 1, and when Rank is greater than 5? | <s>[INST]What is the average Gold, when Total is 2, when Silver is less than 1, and when Rank is greater than 5? Context: CREATE TABLE table_name_95 (gold INTEGER, rank VARCHAR, total VARCHAR, silver VARCHAR)[/INST]SELECT AVG(gold) FROM table_name_95 WHERE total = 2 AND silver < 1 AND rank > 5</s> |
CREATE TABLE table_name_99 (country VARCHAR, date VARCHAR) | SELECT country FROM table_name_99 WHERE date = "december 8, 1968" | What was the nationality of the winner on December 8, 1968? | <s>[INST]What was the nationality of the winner on December 8, 1968? Context: CREATE TABLE table_name_99 (country VARCHAR, date VARCHAR)[/INST]SELECT country FROM table_name_99 WHERE date = "december 8, 1968"</s> |
CREATE TABLE table_24370270_10 (weight_lost__kg_ VARCHAR, starting_weight__kg_ VARCHAR) | SELECT weight_lost__kg_ FROM table_24370270_10 WHERE starting_weight__kg_ = "97.4" | What is every amount for weight lost if the starting weight is 97.4? | <s>[INST]What is every amount for weight lost if the starting weight is 97.4? Context: CREATE TABLE table_24370270_10 (weight_lost__kg_ VARCHAR, starting_weight__kg_ VARCHAR)[/INST]SELECT weight_lost__kg_ FROM table_24370270_10 WHERE starting_weight__kg_ = "97.4"</s> |
CREATE TABLE table_name_12 (crowd INTEGER, venue VARCHAR) | SELECT SUM(crowd) FROM table_name_12 WHERE venue = "vfl park" | How many people attended games at vfl park? | <s>[INST]How many people attended games at vfl park? Context: CREATE TABLE table_name_12 (crowd INTEGER, venue VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_12 WHERE venue = "vfl park"</s> |
CREATE TABLE table_19681738_1 (total VARCHAR, hancock__number VARCHAR) | SELECT COUNT(total) FROM table_19681738_1 WHERE hancock__number = 1394 | how many times was total considered when hancock # was 1394 | <s>[INST]how many times was total considered when hancock # was 1394 Context: CREATE TABLE table_19681738_1 (total VARCHAR, hancock__number VARCHAR)[/INST]SELECT COUNT(total) FROM table_19681738_1 WHERE hancock__number = 1394</s> |
CREATE TABLE table_name_6 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_6 WHERE home_team = "geelong" | When the home team was geelong, what did the away team score? | <s>[INST]When the home team was geelong, what did the away team score? Context: CREATE TABLE table_name_6 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_6 WHERE home_team = "geelong"</s> |
CREATE TABLE table_name_40 (opinion_research_centre__opc_ VARCHAR, party VARCHAR) | SELECT opinion_research_centre__opc_ FROM table_name_40 WHERE party = "conservative" | What is Opinion Research Centre (OPC), when Party is Conservative? | <s>[INST]What is Opinion Research Centre (OPC), when Party is Conservative? Context: CREATE TABLE table_name_40 (opinion_research_centre__opc_ VARCHAR, party VARCHAR)[/INST]SELECT opinion_research_centre__opc_ FROM table_name_40 WHERE party = "conservative"</s> |
CREATE TABLE table_17675675_2 (tries_against VARCHAR, points_for VARCHAR) | SELECT tries_against FROM table_17675675_2 WHERE points_for = "667" | With the given points of 667, what was the number of tries against? | <s>[INST]With the given points of 667, what was the number of tries against? Context: CREATE TABLE table_17675675_2 (tries_against VARCHAR, points_for VARCHAR)[/INST]SELECT tries_against FROM table_17675675_2 WHERE points_for = "667"</s> |
CREATE TABLE table_name_93 (group_position VARCHAR, result_f_a VARCHAR) | SELECT group_position FROM table_name_93 WHERE result_f_a = "5–0" | Result F–A of 5–0 had what group position? | <s>[INST]Result F–A of 5–0 had what group position? Context: CREATE TABLE table_name_93 (group_position VARCHAR, result_f_a VARCHAR)[/INST]SELECT group_position FROM table_name_93 WHERE result_f_a = "5–0"</s> |
CREATE TABLE table_name_89 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_89 WHERE away_team = "vitória" | Who played as the home team when Vitória was the away team? | <s>[INST]Who played as the home team when Vitória was the away team? Context: CREATE TABLE table_name_89 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_89 WHERE away_team = "vitória"</s> |
CREATE TABLE table_name_63 (year INTEGER, game VARCHAR) | SELECT MAX(year) FROM table_name_63 WHERE game = "call of duty 4: modern warfare" | What is the latest year when Call of Duty 4: Modern Warfare was the game? | <s>[INST]What is the latest year when Call of Duty 4: Modern Warfare was the game? Context: CREATE TABLE table_name_63 (year INTEGER, game VARCHAR)[/INST]SELECT MAX(year) FROM table_name_63 WHERE game = "call of duty 4: modern warfare"</s> |
CREATE TABLE table_name_70 (event VARCHAR, games VARCHAR) | SELECT event FROM table_name_70 WHERE games = "2012 london" | Tell me the event for 2012 london games | <s>[INST]Tell me the event for 2012 london games Context: CREATE TABLE table_name_70 (event VARCHAR, games VARCHAR)[/INST]SELECT event FROM table_name_70 WHERE games = "2012 london"</s> |
CREATE TABLE table_20872722_1 (round INTEGER) | SELECT MIN(round) FROM table_20872722_1 | What is the round? | <s>[INST]What is the round? Context: CREATE TABLE table_20872722_1 (round INTEGER)[/INST]SELECT MIN(round) FROM table_20872722_1</s> |
CREATE TABLE table_name_44 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_44 WHERE venue = "mcg" | What was the away team's score at the game held at MCG? | <s>[INST]What was the away team's score at the game held at MCG? Context: CREATE TABLE table_name_44 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_44 WHERE venue = "mcg"</s> |
CREATE TABLE table_name_33 (design VARCHAR, denomination VARCHAR) | SELECT design FROM table_name_33 WHERE denomination = "$1.18" | What stamp design has a denomination of $1.18? | <s>[INST]What stamp design has a denomination of $1.18? Context: CREATE TABLE table_name_33 (design VARCHAR, denomination VARCHAR)[/INST]SELECT design FROM table_name_33 WHERE denomination = "$1.18"</s> |
CREATE TABLE table_name_86 (gold INTEGER, rank VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR) | SELECT SUM(gold) FROM table_name_86 WHERE silver = 1 AND bronze < 2 AND total = 1 AND rank < 10 | What is the sum of gold medal totals for nations with 1 silver, less than 2 bronze, and ranked below 10? | <s>[INST]What is the sum of gold medal totals for nations with 1 silver, less than 2 bronze, and ranked below 10? Context: CREATE TABLE table_name_86 (gold INTEGER, rank VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR)[/INST]SELECT SUM(gold) FROM table_name_86 WHERE silver = 1 AND bronze < 2 AND total = 1 AND ra... |
CREATE TABLE table_2897457_5 (pick__number VARCHAR, player VARCHAR) | SELECT pick__number FROM table_2897457_5 WHERE player = "Marc Deschamps" | What pick number was marc deschamps? | <s>[INST]What pick number was marc deschamps? Context: CREATE TABLE table_2897457_5 (pick__number VARCHAR, player VARCHAR)[/INST]SELECT pick__number FROM table_2897457_5 WHERE player = "Marc Deschamps"</s> |
CREATE TABLE table_name_75 (tournament VARCHAR) | SELECT tournament FROM table_name_75 WHERE 1996 = "a" AND 1998 = "a" AND 1994 = "rr" | Which tournament had a 1994 finish of RR and 1996 and 1998 finishes of A? | <s>[INST]Which tournament had a 1994 finish of RR and 1996 and 1998 finishes of A? Context: CREATE TABLE table_name_75 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_75 WHERE 1996 = "a" AND 1998 = "a" AND 1994 = "rr"</s> |
CREATE TABLE table_14603212_1 (school_year VARCHAR, class_aA VARCHAR, Franklin VARCHAR) | SELECT school_year FROM table_14603212_1 WHERE class_aA = Franklin | For franklin of class aa, which school years does this occur? | <s>[INST]For franklin of class aa, which school years does this occur? Context: CREATE TABLE table_14603212_1 (school_year VARCHAR, class_aA VARCHAR, Franklin VARCHAR)[/INST]SELECT school_year FROM table_14603212_1 WHERE class_aA = Franklin</s> |
CREATE TABLE Apartment_Facilities (facility_code VARCHAR, apt_id VARCHAR); CREATE TABLE Apartments (apt_id VARCHAR, bedroom_count INTEGER) | SELECT T1.facility_code FROM Apartment_Facilities AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.bedroom_count > 4 | Show the facility codes of apartments with more than 4 bedrooms. | <s>[INST]Show the facility codes of apartments with more than 4 bedrooms. Context: CREATE TABLE Apartment_Facilities (facility_code VARCHAR, apt_id VARCHAR); CREATE TABLE Apartments (apt_id VARCHAR, bedroom_count INTEGER)[/INST]SELECT T1.facility_code FROM Apartment_Facilities AS T1 JOIN Apartments AS T2 ON T1.apt_id =... |
CREATE TABLE table_13018116_1 (pts_for INTEGER, won VARCHAR) | SELECT MAX(pts_for) FROM table_13018116_1 WHERE won = 9 | What is the most points when the won is 9? | <s>[INST]What is the most points when the won is 9? Context: CREATE TABLE table_13018116_1 (pts_for INTEGER, won VARCHAR)[/INST]SELECT MAX(pts_for) FROM table_13018116_1 WHERE won = 9</s> |
CREATE TABLE table_name_28 (first_elected VARCHAR, party VARCHAR, incumbent VARCHAR) | SELECT first_elected FROM table_name_28 WHERE party = "republican" AND incumbent = "joseph mckenna" | When was republican incumbent Joseph McKenna first elected? | <s>[INST]When was republican incumbent Joseph McKenna first elected? Context: CREATE TABLE table_name_28 (first_elected VARCHAR, party VARCHAR, incumbent VARCHAR)[/INST]SELECT first_elected FROM table_name_28 WHERE party = "republican" AND incumbent = "joseph mckenna"</s> |
CREATE TABLE table_26996293_7 (pick__number VARCHAR, cfl_team VARCHAR) | SELECT pick__number FROM table_26996293_7 WHERE cfl_team = "BC Lions (7)" | What is the pick # of cfl team bc lions (7) | <s>[INST]What is the pick # of cfl team bc lions (7) Context: CREATE TABLE table_26996293_7 (pick__number VARCHAR, cfl_team VARCHAR)[/INST]SELECT pick__number FROM table_26996293_7 WHERE cfl_team = "BC Lions (7)"</s> |
CREATE TABLE table_1949994_8 (no INTEGER, start_date VARCHAR) | SELECT MIN(no) FROM table_1949994_8 WHERE start_date = "June 6" | What series number started production on June 6? | <s>[INST]What series number started production on June 6? Context: CREATE TABLE table_1949994_8 (no INTEGER, start_date VARCHAR)[/INST]SELECT MIN(no) FROM table_1949994_8 WHERE start_date = "June 6"</s> |
CREATE TABLE table_name_88 (margin VARCHAR, year VARCHAR, runner_s__up VARCHAR) | SELECT margin FROM table_name_88 WHERE year > 1981 AND runner_s__up = "roberto de vicenzo" | What margin was in after 1981, and was Roberto De Vicenzo runner-up? | <s>[INST]What margin was in after 1981, and was Roberto De Vicenzo runner-up? Context: CREATE TABLE table_name_88 (margin VARCHAR, year VARCHAR, runner_s__up VARCHAR)[/INST]SELECT margin FROM table_name_88 WHERE year > 1981 AND runner_s__up = "roberto de vicenzo"</s> |
CREATE TABLE table_27155990_1 (_percentage_funded INTEGER, closing_date VARCHAR) | SELECT MIN(_percentage_funded) FROM table_27155990_1 WHERE closing_date = "2012-05-18" | What was the minimum % funded of the project that was closed on 2012-05-18? | <s>[INST]What was the minimum % funded of the project that was closed on 2012-05-18? Context: CREATE TABLE table_27155990_1 (_percentage_funded INTEGER, closing_date VARCHAR)[/INST]SELECT MIN(_percentage_funded) FROM table_27155990_1 WHERE closing_date = "2012-05-18"</s> |
CREATE TABLE table_20745746_1 (attendance INTEGER, date VARCHAR) | SELECT MIN(attendance) FROM table_20745746_1 WHERE date = "March 11, 1995" | What was attendance on March 11, 1995? | <s>[INST]What was attendance on March 11, 1995? Context: CREATE TABLE table_20745746_1 (attendance INTEGER, date VARCHAR)[/INST]SELECT MIN(attendance) FROM table_20745746_1 WHERE date = "March 11, 1995"</s> |
CREATE TABLE table_name_56 (performer_3 VARCHAR, date VARCHAR) | SELECT performer_3 FROM table_name_56 WHERE date = "15 july 1994" | Date of 15 july 1994 involves which performer 3? | <s>[INST]Date of 15 july 1994 involves which performer 3? Context: CREATE TABLE table_name_56 (performer_3 VARCHAR, date VARCHAR)[/INST]SELECT performer_3 FROM table_name_56 WHERE date = "15 july 1994"</s> |
CREATE TABLE table_name_86 (border VARCHAR, background_colour VARCHAR, shape VARCHAR) | SELECT border FROM table_name_86 WHERE background_colour = "yellow" AND shape = "triangular" | Which sign had a yellow background and a triangular shape? | <s>[INST]Which sign had a yellow background and a triangular shape? Context: CREATE TABLE table_name_86 (border VARCHAR, background_colour VARCHAR, shape VARCHAR)[/INST]SELECT border FROM table_name_86 WHERE background_colour = "yellow" AND shape = "triangular"</s> |
CREATE TABLE ENROLLED_IN (Grade VARCHAR, StuID VARCHAR); CREATE TABLE STUDENT (LName VARCHAR, StuID VARCHAR); CREATE TABLE GRADECONVERSION (gradepoint INTEGER, lettergrade VARCHAR) | SELECT AVG(T2.gradepoint) FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade = T2.lettergrade AND T1.StuID = T3.StuID WHERE T3.LName = "Smith" | Find the average grade point of student whose last name is Smith. | <s>[INST]Find the average grade point of student whose last name is Smith. Context: CREATE TABLE ENROLLED_IN (Grade VARCHAR, StuID VARCHAR); CREATE TABLE STUDENT (LName VARCHAR, StuID VARCHAR); CREATE TABLE GRADECONVERSION (gradepoint INTEGER, lettergrade VARCHAR)[/INST]SELECT AVG(T2.gradepoint) FROM ENROLLED_IN AS T1 ... |
CREATE TABLE table_name_14 (draws INTEGER, club VARCHAR, goal_difference VARCHAR) | SELECT MIN(draws) FROM table_name_14 WHERE club = "levante ud" AND goal_difference < 6 | What was the low number of draws for Levante Ud when their goal difference was smaller than 6? | <s>[INST]What was the low number of draws for Levante Ud when their goal difference was smaller than 6? Context: CREATE TABLE table_name_14 (draws INTEGER, club VARCHAR, goal_difference VARCHAR)[/INST]SELECT MIN(draws) FROM table_name_14 WHERE club = "levante ud" AND goal_difference < 6</s> |
CREATE TABLE table_name_45 (wins INTEGER, defeated_by VARCHAR) | SELECT AVG(wins) FROM table_name_45 WHERE defeated_by = "furuichi" | How many wins, on average, were defeated by furuichi? | <s>[INST]How many wins, on average, were defeated by furuichi? Context: CREATE TABLE table_name_45 (wins INTEGER, defeated_by VARCHAR)[/INST]SELECT AVG(wins) FROM table_name_45 WHERE defeated_by = "furuichi"</s> |
CREATE TABLE table_name_19 (rank VARCHAR, country VARCHAR) | SELECT COUNT(rank) FROM table_name_19 WHERE country = "greece" | What is the total number of rank for the country of greece? | <s>[INST]What is the total number of rank for the country of greece? Context: CREATE TABLE table_name_19 (rank VARCHAR, country VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_19 WHERE country = "greece"</s> |
CREATE TABLE table_name_38 (silver INTEGER, bronze VARCHAR, rank VARCHAR, total VARCHAR) | SELECT AVG(silver) FROM table_name_38 WHERE rank > 7 AND total = 6 AND bronze < 2 | On average, what is the number of silver medals for nations ranking higher than 7, with a total of 6 medals and fewer than 2 bronze medals? | <s>[INST]On average, what is the number of silver medals for nations ranking higher than 7, with a total of 6 medals and fewer than 2 bronze medals? Context: CREATE TABLE table_name_38 (silver INTEGER, bronze VARCHAR, rank VARCHAR, total VARCHAR)[/INST]SELECT AVG(silver) FROM table_name_38 WHERE rank > 7 AND total = 6 ... |
CREATE TABLE table_name_11 (team VARCHAR, year VARCHAR, versus VARCHAR) | SELECT team FROM table_name_11 WHERE year = 1999 AND versus = "zimbabwe" | what team played against zimbabwe in 1999? | <s>[INST]what team played against zimbabwe in 1999? Context: CREATE TABLE table_name_11 (team VARCHAR, year VARCHAR, versus VARCHAR)[/INST]SELECT team FROM table_name_11 WHERE year = 1999 AND versus = "zimbabwe"</s> |
CREATE TABLE table_name_58 (number_stayed_in_southeast VARCHAR, total_number_emigrated_or_forcibly_removed VARCHAR) | SELECT number_stayed_in_southeast FROM table_name_58 WHERE total_number_emigrated_or_forcibly_removed = "19,600" | How many of those who stayed in the southeast had 19,600 emigrated or forcibly removed? | <s>[INST]How many of those who stayed in the southeast had 19,600 emigrated or forcibly removed? Context: CREATE TABLE table_name_58 (number_stayed_in_southeast VARCHAR, total_number_emigrated_or_forcibly_removed VARCHAR)[/INST]SELECT number_stayed_in_southeast FROM table_name_58 WHERE total_number_emigrated_or_forcibl... |
CREATE TABLE table_name_44 (competition VARCHAR, result VARCHAR) | SELECT competition FROM table_name_44 WHERE result = "1-0" | Which competition had a result of 1-0? | <s>[INST]Which competition had a result of 1-0? Context: CREATE TABLE table_name_44 (competition VARCHAR, result VARCHAR)[/INST]SELECT competition FROM table_name_44 WHERE result = "1-0"</s> |
CREATE TABLE table_name_68 (score VARCHAR, outcome VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_68 WHERE outcome = "runner-up" AND opponent = "tim gullikson" | What is the Score of the of the Tournament against Tim Gullikson with Outcome of runner-up? | <s>[INST]What is the Score of the of the Tournament against Tim Gullikson with Outcome of runner-up? Context: CREATE TABLE table_name_68 (score VARCHAR, outcome VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_68 WHERE outcome = "runner-up" AND opponent = "tim gullikson"</s> |
CREATE TABLE table_11167610_1 (engine VARCHAR, performance VARCHAR) | SELECT engine FROM table_11167610_1 WHERE performance = "0–100km/h: 10.5s, VMax km/h (mph)" | what's the engine where performance is 0–100km/h: 10.5s, vmax km/h (mph) | <s>[INST] what's the engine where performance is 0–100km/h: 10.5s, vmax km/h (mph) Context: CREATE TABLE table_11167610_1 (engine VARCHAR, performance VARCHAR)[/INST]SELECT engine FROM table_11167610_1 WHERE performance = "0–100km/h: 10.5s, VMax km/h (mph)"</s> |
CREATE TABLE table_name_13 (nation VARCHAR, total VARCHAR) | SELECT nation FROM table_name_13 WHERE total = 6 | What is the nation for 6 total? | <s>[INST]What is the nation for 6 total? Context: CREATE TABLE table_name_13 (nation VARCHAR, total VARCHAR)[/INST]SELECT nation FROM table_name_13 WHERE total = 6</s> |
CREATE TABLE table_name_27 (rape__art_190_stgb_ VARCHAR, embezzlement__art_138_stgb_ VARCHAR, total_convictions VARCHAR) | SELECT COUNT(rape__art_190_stgb_) FROM table_name_27 WHERE embezzlement__art_138_stgb_ = 820 AND total_convictions < 94 OFFSET 574 | What is the total number of Rapes that have Embezzlements a figure of 820 and total number of convictions less than 94,574? | <s>[INST]What is the total number of Rapes that have Embezzlements a figure of 820 and total number of convictions less than 94,574? Context: CREATE TABLE table_name_27 (rape__art_190_stgb_ VARCHAR, embezzlement__art_138_stgb_ VARCHAR, total_convictions VARCHAR)[/INST]SELECT COUNT(rape__art_190_stgb_) FROM table_name_2... |
CREATE TABLE table_name_43 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_name_43 WHERE result = "l 24–14" | What venue held that game with a result of l 24–14? | <s>[INST]What venue held that game with a result of l 24–14? Context: CREATE TABLE table_name_43 (venue VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_43 WHERE result = "l 24–14"</s> |
CREATE TABLE table_name_13 (period VARCHAR, built VARCHAR) | SELECT period FROM table_name_13 WHERE built = "354" | In what time period were 354 built? | <s>[INST]In what time period were 354 built? Context: CREATE TABLE table_name_13 (period VARCHAR, built VARCHAR)[/INST]SELECT period FROM table_name_13 WHERE built = "354"</s> |
CREATE TABLE table_1231316_4 (wind__m_s_ VARCHAR, country VARCHAR) | SELECT wind__m_s_ FROM table_1231316_4 WHERE country = "Trinidad and Tobago" | What was the stats of Trinidad and Tobago | <s>[INST]What was the stats of Trinidad and Tobago Context: CREATE TABLE table_1231316_4 (wind__m_s_ VARCHAR, country VARCHAR)[/INST]SELECT wind__m_s_ FROM table_1231316_4 WHERE country = "Trinidad and Tobago"</s> |
CREATE TABLE table_name_21 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_21 WHERE week = 3 | What is the Opponent of the game in Week 3? | <s>[INST]What is the Opponent of the game in Week 3? Context: CREATE TABLE table_name_21 (opponent VARCHAR, week VARCHAR)[/INST]SELECT opponent FROM table_name_21 WHERE week = 3</s> |
CREATE TABLE Prescribes (Patient VARCHAR, Medication VARCHAR); CREATE TABLE Medication (Code VARCHAR, name VARCHAR); CREATE TABLE patient (name VARCHAR, SSN VARCHAR); CREATE TABLE patient (name VARCHAR) | SELECT name FROM patient EXCEPT SELECT T1.name FROM patient AS T1 JOIN Prescribes AS T2 ON T2.Patient = T1.SSN JOIN Medication AS T3 ON T2.Medication = T3.Code WHERE T3.name = 'Procrastin-X' | Find the names of patients who are not using the medication of Procrastin-X. | <s>[INST]Find the names of patients who are not using the medication of Procrastin-X. Context: CREATE TABLE Prescribes (Patient VARCHAR, Medication VARCHAR); CREATE TABLE Medication (Code VARCHAR, name VARCHAR); CREATE TABLE patient (name VARCHAR, SSN VARCHAR); CREATE TABLE patient (name VARCHAR)[/INST]SELECT name FROM... |
CREATE TABLE table_name_59 (attendance INTEGER, score VARCHAR, away VARCHAR) | SELECT MAX(attendance) FROM table_name_59 WHERE score = "2:0" AND away = "vida" | What is the highest attendance of the match with a 2:0 score and vida as the away team? | <s>[INST]What is the highest attendance of the match with a 2:0 score and vida as the away team? Context: CREATE TABLE table_name_59 (attendance INTEGER, score VARCHAR, away VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_59 WHERE score = "2:0" AND away = "vida"</s> |
CREATE TABLE table_name_31 (pick INTEGER, round VARCHAR, player VARCHAR) | SELECT SUM(pick) FROM table_name_31 WHERE round = 1 AND player = "paul seymour" | What number pick was Paul Seymour in round 1? | <s>[INST]What number pick was Paul Seymour in round 1? Context: CREATE TABLE table_name_31 (pick INTEGER, round VARCHAR, player VARCHAR)[/INST]SELECT SUM(pick) FROM table_name_31 WHERE round = 1 AND player = "paul seymour"</s> |
CREATE TABLE table_name_66 (dutch VARCHAR, old_english VARCHAR) | SELECT dutch FROM table_name_66 WHERE old_english = "/d/" | What's the Dutch when then Old English is /d/? | <s>[INST]What's the Dutch when then Old English is /d/? Context: CREATE TABLE table_name_66 (dutch VARCHAR, old_english VARCHAR)[/INST]SELECT dutch FROM table_name_66 WHERE old_english = "/d/"</s> |
CREATE TABLE table_name_67 (year INTEGER, total_score VARCHAR, country VARCHAR) | SELECT AVG(year) FROM table_name_67 WHERE total_score = "274" AND country = "united states" | When the United States had a total score of 274 what was the average year? | <s>[INST]When the United States had a total score of 274 what was the average year? Context: CREATE TABLE table_name_67 (year INTEGER, total_score VARCHAR, country VARCHAR)[/INST]SELECT AVG(year) FROM table_name_67 WHERE total_score = "274" AND country = "united states"</s> |
CREATE TABLE table_name_65 (goals VARCHAR, games VARCHAR) | SELECT goals FROM table_name_65 WHERE games = "6" | Name the goals with games of 6 | <s>[INST]Name the goals with games of 6 Context: CREATE TABLE table_name_65 (goals VARCHAR, games VARCHAR)[/INST]SELECT goals FROM table_name_65 WHERE games = "6"</s> |
CREATE TABLE table_name_95 (event VARCHAR, class VARCHAR) | SELECT event FROM table_name_95 WHERE class = "time trial hc a" | What is the event when the class is time trial hc a? | <s>[INST]What is the event when the class is time trial hc a? Context: CREATE TABLE table_name_95 (event VARCHAR, class VARCHAR)[/INST]SELECT event FROM table_name_95 WHERE class = "time trial hc a"</s> |
CREATE TABLE table_26996293_1 (college VARCHAR, position VARCHAR) | SELECT college FROM table_26996293_1 WHERE position = "DE" | What college did the player who played DE go to? | <s>[INST]What college did the player who played DE go to? Context: CREATE TABLE table_26996293_1 (college VARCHAR, position VARCHAR)[/INST]SELECT college FROM table_26996293_1 WHERE position = "DE"</s> |
CREATE TABLE table_15887683_15 (television_service VARCHAR, language VARCHAR, n° VARCHAR) | SELECT television_service FROM table_15887683_15 WHERE language = "Italian" AND n° > 856.0 | How many television service are in italian and n°is greater than 856.0? | <s>[INST]How many television service are in italian and n°is greater than 856.0? Context: CREATE TABLE table_15887683_15 (television_service VARCHAR, language VARCHAR, n° VARCHAR)[/INST]SELECT television_service FROM table_15887683_15 WHERE language = "Italian" AND n° > 856.0</s> |
CREATE TABLE table_20396_1 (poles VARCHAR, season VARCHAR) | SELECT poles FROM table_20396_1 WHERE season = 2000 | How many poles were there in season 2000? | <s>[INST]How many poles were there in season 2000? Context: CREATE TABLE table_20396_1 (poles VARCHAR, season VARCHAR)[/INST]SELECT poles FROM table_20396_1 WHERE season = 2000</s> |
CREATE TABLE table_2562572_39 (dominant_religion__2002_ VARCHAR, population__2011_ VARCHAR) | SELECT dominant_religion__2002_ FROM table_2562572_39 WHERE population__2011_ = "2,107" | The population is 2,107's dominant religion is? | <s>[INST]The population is 2,107's dominant religion is? Context: CREATE TABLE table_2562572_39 (dominant_religion__2002_ VARCHAR, population__2011_ VARCHAR)[/INST]SELECT dominant_religion__2002_ FROM table_2562572_39 WHERE population__2011_ = "2,107"</s> |
CREATE TABLE table_name_95 (height VARCHAR, contestant VARCHAR) | SELECT height FROM table_name_95 WHERE contestant = "niurbi encarnación ynoa" | What is niurbi encarnación ynoa's height? | <s>[INST]What is niurbi encarnación ynoa's height? Context: CREATE TABLE table_name_95 (height VARCHAR, contestant VARCHAR)[/INST]SELECT height FROM table_name_95 WHERE contestant = "niurbi encarnación ynoa"</s> |
CREATE TABLE table_name_8 (bronze VARCHAR, rank VARCHAR, total VARCHAR) | SELECT COUNT(bronze) FROM table_name_8 WHERE rank = "11" AND total < 1 | What is the total number of Bronze when rank is 11, and the total is less than 1? | <s>[INST]What is the total number of Bronze when rank is 11, and the total is less than 1? Context: CREATE TABLE table_name_8 (bronze VARCHAR, rank VARCHAR, total VARCHAR)[/INST]SELECT COUNT(bronze) FROM table_name_8 WHERE rank = "11" AND total < 1</s> |
CREATE TABLE table_name_97 (team VARCHAR, game VARCHAR) | SELECT team FROM table_name_97 WHERE game = 41 | What is the Team in Game 41? | <s>[INST]What is the Team in Game 41? Context: CREATE TABLE table_name_97 (team VARCHAR, game VARCHAR)[/INST]SELECT team FROM table_name_97 WHERE game = 41</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.