context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_86 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_86 WHERE opponent = "tonbridge angels" | What is the number of people in attendance when Tonbridge Angels is the opponent? | <s>[INST]What is the number of people in attendance when Tonbridge Angels is the opponent? Context: CREATE TABLE table_name_86 (attendance VARCHAR, opponent VARCHAR)[/INST]SELECT attendance FROM table_name_86 WHERE opponent = "tonbridge angels"</s> |
CREATE TABLE table_191105_2 (performed_by VARCHAR, subject VARCHAR) | SELECT COUNT(performed_by) FROM table_191105_2 WHERE subject = "interjection" | When interjection is the subject how many performers are there? | <s>[INST]When interjection is the subject how many performers are there? Context: CREATE TABLE table_191105_2 (performed_by VARCHAR, subject VARCHAR)[/INST]SELECT COUNT(performed_by) FROM table_191105_2 WHERE subject = "interjection"</s> |
CREATE TABLE table_name_16 (year_named INTEGER, name VARCHAR, diameter__km_ VARCHAR) | SELECT AVG(year_named) FROM table_name_16 WHERE name = "aida-wedo dorsa" AND diameter__km_ < 450 | What's the average year for the name aida-wedo dorsa with a diameter less than 450? | <s>[INST]What's the average year for the name aida-wedo dorsa with a diameter less than 450? Context: CREATE TABLE table_name_16 (year_named INTEGER, name VARCHAR, diameter__km_ VARCHAR)[/INST]SELECT AVG(year_named) FROM table_name_16 WHERE name = "aida-wedo dorsa" AND diameter__km_ < 450</s> |
CREATE TABLE table_1331313_1 (office VARCHAR, incumbent VARCHAR) | SELECT office FROM table_1331313_1 WHERE incumbent = "Ramon R. Jimenez, Jr." | who is the the office with incumbent being ramon r. jimenez, jr. | <s>[INST]who is the the office with incumbent being ramon r. jimenez, jr. Context: CREATE TABLE table_1331313_1 (office VARCHAR, incumbent VARCHAR)[/INST]SELECT office FROM table_1331313_1 WHERE incumbent = "Ramon R. Jimenez, Jr."</s> |
CREATE TABLE table_name_23 (round VARCHAR, player VARCHAR) | SELECT COUNT(round) FROM table_name_23 WHERE player = "jamie arniel" | WHAT IS THE ROUND FOR JAMIE ARNIEL? | <s>[INST]WHAT IS THE ROUND FOR JAMIE ARNIEL? Context: CREATE TABLE table_name_23 (round VARCHAR, player VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_23 WHERE player = "jamie arniel"</s> |
CREATE TABLE table_name_60 (started VARCHAR, ended VARCHAR) | SELECT started FROM table_name_60 WHERE ended = "15 january" | When did the loan that Ended on 15 January Start? | <s>[INST]When did the loan that Ended on 15 January Start? Context: CREATE TABLE table_name_60 (started VARCHAR, ended VARCHAR)[/INST]SELECT started FROM table_name_60 WHERE ended = "15 january"</s> |
CREATE TABLE table_name_44 (engine_s_ VARCHAR, points VARCHAR, year VARCHAR) | SELECT engine_s_ FROM table_name_44 WHERE points = 0 AND year = 1988 | Which engine received 0 points in 1988? | <s>[INST]Which engine received 0 points in 1988? Context: CREATE TABLE table_name_44 (engine_s_ VARCHAR, points VARCHAR, year VARCHAR)[/INST]SELECT engine_s_ FROM table_name_44 WHERE points = 0 AND year = 1988</s> |
CREATE TABLE table_name_61 (pick VARCHAR, college VARCHAR) | SELECT pick FROM table_name_61 WHERE college = "boston college" | College of boston college has what pick? | <s>[INST]College of boston college has what pick? Context: CREATE TABLE table_name_61 (pick VARCHAR, college VARCHAR)[/INST]SELECT pick FROM table_name_61 WHERE college = "boston college"</s> |
CREATE TABLE table_24765815_2 (player VARCHAR, nationality VARCHAR, team VARCHAR) | SELECT player FROM table_24765815_2 WHERE nationality = "Netherlands" AND team = "Netherlands" | What's the player's name whose nationality and team are Netherlands? | <s>[INST]What's the player's name whose nationality and team are Netherlands? Context: CREATE TABLE table_24765815_2 (player VARCHAR, nationality VARCHAR, team VARCHAR)[/INST]SELECT player FROM table_24765815_2 WHERE nationality = "Netherlands" AND team = "Netherlands"</s> |
CREATE TABLE table_name_65 (year INTEGER, publication VARCHAR, rank VARCHAR) | SELECT SUM(year) FROM table_name_65 WHERE publication = "vh1" AND rank > 11 | What is the sum of Year, when Publication is "VH1", and when Rank is greater than 11? | <s>[INST]What is the sum of Year, when Publication is "VH1", and when Rank is greater than 11? Context: CREATE TABLE table_name_65 (year INTEGER, publication VARCHAR, rank VARCHAR)[/INST]SELECT SUM(year) FROM table_name_65 WHERE publication = "vh1" AND rank > 11</s> |
CREATE TABLE table_name_12 (year INTEGER, team VARCHAR, position VARCHAR) | SELECT MIN(year) FROM table_name_12 WHERE team = "first team" AND position = "midfield" | What was the lowest year that a player from midfield won first team honors? | <s>[INST]What was the lowest year that a player from midfield won first team honors? Context: CREATE TABLE table_name_12 (year INTEGER, team VARCHAR, position VARCHAR)[/INST]SELECT MIN(year) FROM table_name_12 WHERE team = "first team" AND position = "midfield"</s> |
CREATE TABLE table_name_6 (seats INTEGER, general_election VARCHAR, share_of_votes VARCHAR, share_of_seats VARCHAR) | SELECT MIN(seats) FROM table_name_6 WHERE share_of_votes = "18%" AND share_of_seats = "3%" AND general_election < 1992 | Which Seatshave a Share of votes of 18%, and a Share of seats of 3%, and a General election smaller than 1992? | <s>[INST]Which Seatshave a Share of votes of 18%, and a Share of seats of 3%, and a General election smaller than 1992? Context: CREATE TABLE table_name_6 (seats INTEGER, general_election VARCHAR, share_of_votes VARCHAR, share_of_seats VARCHAR)[/INST]SELECT MIN(seats) FROM table_name_6 WHERE share_of_votes = "18%" AND share_of_seats = "3%" AND general_election < 1992</s> |
CREATE TABLE table_name_20 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR) | SELECT score FROM table_name_20 WHERE tournament = "rabat" AND opponent_in_the_final = "yannik reuter" | What was the Score of the Rabat Tournament with Opponent in the final Yannik Reuter? | <s>[INST]What was the Score of the Rabat Tournament with Opponent in the final Yannik Reuter? Context: CREATE TABLE table_name_20 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT score FROM table_name_20 WHERE tournament = "rabat" AND opponent_in_the_final = "yannik reuter"</s> |
CREATE TABLE table_name_29 (away_team VARCHAR, score VARCHAR) | SELECT away_team FROM table_name_29 WHERE score = "4 – 2" | What is the Away team at the game with a Score of 4 – 2? | <s>[INST]What is the Away team at the game with a Score of 4 – 2? Context: CREATE TABLE table_name_29 (away_team VARCHAR, score VARCHAR)[/INST]SELECT away_team FROM table_name_29 WHERE score = "4 – 2"</s> |
CREATE TABLE table_name_20 (ast_avg INTEGER, rank VARCHAR, games VARCHAR) | SELECT SUM(ast_avg) FROM table_name_20 WHERE rank = 5 AND games > 108 | WHAT IS THE SUM OF AST AVG WITH RANK 5 AND GAMES BIGGER THAN 108? | <s>[INST]WHAT IS THE SUM OF AST AVG WITH RANK 5 AND GAMES BIGGER THAN 108? Context: CREATE TABLE table_name_20 (ast_avg INTEGER, rank VARCHAR, games VARCHAR)[/INST]SELECT SUM(ast_avg) FROM table_name_20 WHERE rank = 5 AND games > 108</s> |
CREATE TABLE table_name_43 (draw VARCHAR, televote_points VARCHAR) | SELECT COUNT(draw) FROM table_name_43 WHERE televote_points = "8" | Which Draw had 8 Televote Points? | <s>[INST]Which Draw had 8 Televote Points? Context: CREATE TABLE table_name_43 (draw VARCHAR, televote_points VARCHAR)[/INST]SELECT COUNT(draw) FROM table_name_43 WHERE televote_points = "8"</s> |
CREATE TABLE table_2076608_3 (control VARCHAR, founded VARCHAR) | SELECT control FROM table_2076608_3 WHERE founded = "1818" | What is the control type which was founded in 1818? | <s>[INST]What is the control type which was founded in 1818? Context: CREATE TABLE table_2076608_3 (control VARCHAR, founded VARCHAR)[/INST]SELECT control FROM table_2076608_3 WHERE founded = "1818"</s> |
CREATE TABLE table_name_30 (score VARCHAR, arena VARCHAR) | SELECT score FROM table_name_30 WHERE arena = "jobing.com arena" | What is the Score at Jobing.com Arena? | <s>[INST]What is the Score at Jobing.com Arena? Context: CREATE TABLE table_name_30 (score VARCHAR, arena VARCHAR)[/INST]SELECT score FROM table_name_30 WHERE arena = "jobing.com arena"</s> |
CREATE TABLE table_name_51 (recnet VARCHAR, frequency VARCHAR) | SELECT recnet FROM table_name_51 WHERE frequency = "91.1 fm" | What is listed for the RECNet that also has a Frequency of 91.1 FM? | <s>[INST]What is listed for the RECNet that also has a Frequency of 91.1 FM? Context: CREATE TABLE table_name_51 (recnet VARCHAR, frequency VARCHAR)[/INST]SELECT recnet FROM table_name_51 WHERE frequency = "91.1 fm"</s> |
CREATE TABLE table_name_35 (rank VARCHAR, player VARCHAR, titles VARCHAR) | SELECT COUNT(rank) FROM table_name_35 WHERE player = "giuseppe meazza" AND titles > 3 | How many rankings are associated with giuseppe meazza holding over 3 titles? | <s>[INST]How many rankings are associated with giuseppe meazza holding over 3 titles? Context: CREATE TABLE table_name_35 (rank VARCHAR, player VARCHAR, titles VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_35 WHERE player = "giuseppe meazza" AND titles > 3</s> |
CREATE TABLE table_12078626_1 (deadline_for_completion VARCHAR, description VARCHAR) | SELECT deadline_for_completion FROM table_12078626_1 WHERE description = "iPhone recall within the first 3 months of release" | what's the deadline for completion where description is iphone recall within the first 3 months of release | <s>[INST] what's the deadline for completion where description is iphone recall within the first 3 months of release Context: CREATE TABLE table_12078626_1 (deadline_for_completion VARCHAR, description VARCHAR)[/INST]SELECT deadline_for_completion FROM table_12078626_1 WHERE description = "iPhone recall within the first 3 months of release"</s> |
CREATE TABLE table_name_15 (location VARCHAR, mascot VARCHAR) | SELECT location FROM table_name_15 WHERE mascot = "royals" | Where is the school with Royals as their mascot? | <s>[INST]Where is the school with Royals as their mascot? Context: CREATE TABLE table_name_15 (location VARCHAR, mascot VARCHAR)[/INST]SELECT location FROM table_name_15 WHERE mascot = "royals"</s> |
CREATE TABLE table_2076608_1 (type VARCHAR, school VARCHAR) | SELECT type FROM table_2076608_1 WHERE school = "Jefferson College of Health Sciences" | What type of school is Jefferson College of Health Sciences? | <s>[INST]What type of school is Jefferson College of Health Sciences? Context: CREATE TABLE table_2076608_1 (type VARCHAR, school VARCHAR)[/INST]SELECT type FROM table_2076608_1 WHERE school = "Jefferson College of Health Sciences"</s> |
CREATE TABLE table_name_15 (date VARCHAR, score VARCHAR, competition VARCHAR) | SELECT date FROM table_name_15 WHERE score = "1-0" AND competition = "fifa world cup" | What is the Date of the Fifa World Cup with a Score of 1-0? | <s>[INST]What is the Date of the Fifa World Cup with a Score of 1-0? Context: CREATE TABLE table_name_15 (date VARCHAR, score VARCHAR, competition VARCHAR)[/INST]SELECT date FROM table_name_15 WHERE score = "1-0" AND competition = "fifa world cup"</s> |
CREATE TABLE college (cName VARCHAR, state VARCHAR, enr INTEGER) | SELECT cName, state, MIN(enr) FROM college GROUP BY state | What is the name of school that has the smallest enrollment in each state? | <s>[INST]What is the name of school that has the smallest enrollment in each state? Context: CREATE TABLE college (cName VARCHAR, state VARCHAR, enr INTEGER)[/INST]SELECT cName, state, MIN(enr) FROM college GROUP BY state</s> |
CREATE TABLE table_name_92 (laps INTEGER, grid VARCHAR, manufacturer VARCHAR, time_retired VARCHAR) | SELECT AVG(laps) FROM table_name_92 WHERE manufacturer = "ktm" AND time_retired = "+56.440" AND grid < 11 | What was the average number of laps completed by KTM riders, with times of +56.440 and grid values under 11? | <s>[INST]What was the average number of laps completed by KTM riders, with times of +56.440 and grid values under 11? Context: CREATE TABLE table_name_92 (laps INTEGER, grid VARCHAR, manufacturer VARCHAR, time_retired VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_92 WHERE manufacturer = "ktm" AND time_retired = "+56.440" AND grid < 11</s> |
CREATE TABLE table_name_55 (caps INTEGER, position VARCHAR, club_province VARCHAR) | SELECT MAX(caps) FROM table_name_55 WHERE position = "lock" AND club_province = "vicenza rangers" | What is the high cap total for a lock with the vicenza rangers? | <s>[INST]What is the high cap total for a lock with the vicenza rangers? Context: CREATE TABLE table_name_55 (caps INTEGER, position VARCHAR, club_province VARCHAR)[/INST]SELECT MAX(caps) FROM table_name_55 WHERE position = "lock" AND club_province = "vicenza rangers"</s> |
CREATE TABLE table_name_42 (gp_gs INTEGER, avg_g VARCHAR, effic VARCHAR) | SELECT MIN(gp_gs) FROM table_name_42 WHERE avg_g < 234.3 AND effic = "410.80" | What is the lowest gp-gs that has an avg/g less than 234.3, with 410.80 as the effic? | <s>[INST]What is the lowest gp-gs that has an avg/g less than 234.3, with 410.80 as the effic? Context: CREATE TABLE table_name_42 (gp_gs INTEGER, avg_g VARCHAR, effic VARCHAR)[/INST]SELECT MIN(gp_gs) FROM table_name_42 WHERE avg_g < 234.3 AND effic = "410.80"</s> |
CREATE TABLE table_27722734_10 (location_attendance VARCHAR, team VARCHAR) | SELECT location_attendance FROM table_27722734_10 WHERE team = "Charlotte" | what was the location for charlotte? | <s>[INST]what was the location for charlotte? Context: CREATE TABLE table_27722734_10 (location_attendance VARCHAR, team VARCHAR)[/INST]SELECT location_attendance FROM table_27722734_10 WHERE team = "Charlotte"</s> |
CREATE TABLE table_16799784_7 (diameter__km_ VARCHAR, latitude VARCHAR) | SELECT diameter__km_ FROM table_16799784_7 WHERE latitude = "40.5S" | what is the diameter (km) of feature of latitude 40.5s | <s>[INST]what is the diameter (km) of feature of latitude 40.5s Context: CREATE TABLE table_16799784_7 (diameter__km_ VARCHAR, latitude VARCHAR)[/INST]SELECT diameter__km_ FROM table_16799784_7 WHERE latitude = "40.5S"</s> |
CREATE TABLE table_name_10 (attendance INTEGER, record VARCHAR) | SELECT AVG(attendance) FROM table_name_10 WHERE record = "11–12" | Record of 11–12 involved what average attendance figures? | <s>[INST]Record of 11–12 involved what average attendance figures? Context: CREATE TABLE table_name_10 (attendance INTEGER, record VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_10 WHERE record = "11–12"</s> |
CREATE TABLE table_name_69 (size INTEGER, county VARCHAR) | SELECT MAX(size) FROM table_name_69 WHERE county = "62 perry" | Which Size has a County of 62 perry? | <s>[INST]Which Size has a County of 62 perry? Context: CREATE TABLE table_name_69 (size INTEGER, county VARCHAR)[/INST]SELECT MAX(size) FROM table_name_69 WHERE county = "62 perry"</s> |
CREATE TABLE table_name_90 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_90 WHERE away_team = "geelong" | What venue did geelong play an away game? | <s>[INST]What venue did geelong play an away game? Context: CREATE TABLE table_name_90 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_90 WHERE away_team = "geelong"</s> |
CREATE TABLE table_name_54 (tournament VARCHAR, surface VARCHAR, opponent VARCHAR) | SELECT tournament FROM table_name_54 WHERE surface = "clay" AND opponent = "sofia shapatava" | What is the tournament with a clay surface and sofia shapatava as the opponent? | <s>[INST]What is the tournament with a clay surface and sofia shapatava as the opponent? Context: CREATE TABLE table_name_54 (tournament VARCHAR, surface VARCHAR, opponent VARCHAR)[/INST]SELECT tournament FROM table_name_54 WHERE surface = "clay" AND opponent = "sofia shapatava"</s> |
CREATE TABLE table_1302886_1 (kerry_number VARCHAR, county VARCHAR) | SELECT kerry_number FROM table_1302886_1 WHERE county = "Cook" | In cook county Kerry# is? | <s>[INST]In cook county Kerry# is? Context: CREATE TABLE table_1302886_1 (kerry_number VARCHAR, county VARCHAR)[/INST]SELECT kerry_number FROM table_1302886_1 WHERE county = "Cook"</s> |
CREATE TABLE table_274117_5 (year_of_induction_into_pro_football_hall_of_fame VARCHAR, player VARCHAR) | SELECT year_of_induction_into_pro_football_hall_of_fame FROM table_274117_5 WHERE player = "Will Shields" | When was Will Shields inducted into the Pro Football Hall of Fame? | <s>[INST]When was Will Shields inducted into the Pro Football Hall of Fame? Context: CREATE TABLE table_274117_5 (year_of_induction_into_pro_football_hall_of_fame VARCHAR, player VARCHAR)[/INST]SELECT year_of_induction_into_pro_football_hall_of_fame FROM table_274117_5 WHERE player = "Will Shields"</s> |
CREATE TABLE table_name_83 (record VARCHAR, time VARCHAR) | SELECT record FROM table_name_83 WHERE time = "2:46" | Where the time is 2:46, what is the record? | <s>[INST]Where the time is 2:46, what is the record? Context: CREATE TABLE table_name_83 (record VARCHAR, time VARCHAR)[/INST]SELECT record FROM table_name_83 WHERE time = "2:46"</s> |
CREATE TABLE table_name_35 (winning_team VARCHAR, date VARCHAR) | SELECT winning_team FROM table_name_35 WHERE date = "january 28, 2006" | What is the Winning team on january 28, 2006? | <s>[INST]What is the Winning team on january 28, 2006? Context: CREATE TABLE table_name_35 (winning_team VARCHAR, date VARCHAR)[/INST]SELECT winning_team FROM table_name_35 WHERE date = "january 28, 2006"</s> |
CREATE TABLE table_name_80 (goals INTEGER, name VARCHAR) | SELECT MIN(goals) FROM table_name_80 WHERE name = "coe" | How many goals did coe get? | <s>[INST]How many goals did coe get? Context: CREATE TABLE table_name_80 (goals INTEGER, name VARCHAR)[/INST]SELECT MIN(goals) FROM table_name_80 WHERE name = "coe"</s> |
CREATE TABLE table_name_55 (score VARCHAR, player VARCHAR, to_par VARCHAR, country VARCHAR) | SELECT score FROM table_name_55 WHERE to_par = "+1" AND country = "england" AND player = "howard clark" | What is the score of Howard Clark from England with a To Par of +1? | <s>[INST]What is the score of Howard Clark from England with a To Par of +1? Context: CREATE TABLE table_name_55 (score VARCHAR, player VARCHAR, to_par VARCHAR, country VARCHAR)[/INST]SELECT score FROM table_name_55 WHERE to_par = "+1" AND country = "england" AND player = "howard clark"</s> |
CREATE TABLE table_name_56 (prize_money VARCHAR, commercial_name VARCHAR) | SELECT prize_money FROM table_name_56 WHERE commercial_name = "michelob light challenge of champions" | What prize money has michelob light challenge of champions as the commercial name? | <s>[INST]What prize money has michelob light challenge of champions as the commercial name? Context: CREATE TABLE table_name_56 (prize_money VARCHAR, commercial_name VARCHAR)[/INST]SELECT prize_money FROM table_name_56 WHERE commercial_name = "michelob light challenge of champions"</s> |
CREATE TABLE table_name_42 (to_par VARCHAR, country VARCHAR, money___$__ VARCHAR) | SELECT COUNT(to_par) FROM table_name_42 WHERE country = "united states" AND money___$__ = 90 | How much To par has a Country of united states, and a Money ($) of 90? | <s>[INST]How much To par has a Country of united states, and a Money ($) of 90? Context: CREATE TABLE table_name_42 (to_par VARCHAR, country VARCHAR, money___$__ VARCHAR)[/INST]SELECT COUNT(to_par) FROM table_name_42 WHERE country = "united states" AND money___$__ = 90</s> |
CREATE TABLE table_name_98 (area VARCHAR, decile VARCHAR, roll VARCHAR) | SELECT area FROM table_name_98 WHERE decile = 9 AND roll = 31 | Which area has a Decile of 9, and a Roll of 31? | <s>[INST]Which area has a Decile of 9, and a Roll of 31? Context: CREATE TABLE table_name_98 (area VARCHAR, decile VARCHAR, roll VARCHAR)[/INST]SELECT area FROM table_name_98 WHERE decile = 9 AND roll = 31</s> |
CREATE TABLE table_name_87 (black VARCHAR, opening VARCHAR, white VARCHAR, moves VARCHAR) | SELECT black FROM table_name_87 WHERE white = "anand" AND moves = 20 AND opening = "e15 queen's indian defence" | Who was the opponent of Anand in the match with 20 moves that opened with E15 Queen's Indian Defence? | <s>[INST]Who was the opponent of Anand in the match with 20 moves that opened with E15 Queen's Indian Defence? Context: CREATE TABLE table_name_87 (black VARCHAR, opening VARCHAR, white VARCHAR, moves VARCHAR)[/INST]SELECT black FROM table_name_87 WHERE white = "anand" AND moves = 20 AND opening = "e15 queen's indian defence"</s> |
CREATE TABLE table_name_96 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_96 WHERE record = "21-27" | What is the score from the 21-27 Record? | <s>[INST]What is the score from the 21-27 Record? Context: CREATE TABLE table_name_96 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_96 WHERE record = "21-27"</s> |
CREATE TABLE table_name_15 (points INTEGER, wins INTEGER) | SELECT AVG(points) FROM table_name_15 WHERE wins > 1 | Which Points have Wins larger than 1? | <s>[INST]Which Points have Wins larger than 1? Context: CREATE TABLE table_name_15 (points INTEGER, wins INTEGER)[/INST]SELECT AVG(points) FROM table_name_15 WHERE wins > 1</s> |
CREATE TABLE table_name_34 (time VARCHAR, rider VARCHAR) | SELECT time FROM table_name_34 WHERE rider = "phil mcgurk" | What time has phil mcgurk as the rider? | <s>[INST]What time has phil mcgurk as the rider? Context: CREATE TABLE table_name_34 (time VARCHAR, rider VARCHAR)[/INST]SELECT time FROM table_name_34 WHERE rider = "phil mcgurk"</s> |
CREATE TABLE table_name_17 (competition VARCHAR, year VARCHAR) | SELECT competition FROM table_name_17 WHERE year = 2003 | What was the competition held in 2003? | <s>[INST]What was the competition held in 2003? Context: CREATE TABLE table_name_17 (competition VARCHAR, year VARCHAR)[/INST]SELECT competition FROM table_name_17 WHERE year = 2003</s> |
CREATE TABLE table_name_81 (wins INTEGER, port_fairy_fl VARCHAR, against VARCHAR) | SELECT MAX(wins) FROM table_name_81 WHERE port_fairy_fl = "port fairy" AND against > 2333 | How many wins for Port Fairy and against more than 2333? | <s>[INST]How many wins for Port Fairy and against more than 2333? Context: CREATE TABLE table_name_81 (wins INTEGER, port_fairy_fl VARCHAR, against VARCHAR)[/INST]SELECT MAX(wins) FROM table_name_81 WHERE port_fairy_fl = "port fairy" AND against > 2333</s> |
CREATE TABLE table_name_1 (final_four VARCHAR, conference VARCHAR) | SELECT final_four FROM table_name_1 WHERE conference = "big 12" | How many Big 12 teams made it to the Final Four? | <s>[INST]How many Big 12 teams made it to the Final Four? Context: CREATE TABLE table_name_1 (final_four VARCHAR, conference VARCHAR)[/INST]SELECT final_four FROM table_name_1 WHERE conference = "big 12"</s> |
CREATE TABLE table_22982552_9 (class_year INTEGER, teams VARCHAR) | SELECT MIN(class_year) FROM table_22982552_9 WHERE teams = "Buffalo" | What class year was the player who played for Buffalo from? | <s>[INST]What class year was the player who played for Buffalo from? Context: CREATE TABLE table_22982552_9 (class_year INTEGER, teams VARCHAR)[/INST]SELECT MIN(class_year) FROM table_22982552_9 WHERE teams = "Buffalo"</s> |
CREATE TABLE table_name_19 (crowd INTEGER, home_team VARCHAR) | SELECT MAX(crowd) FROM table_name_19 WHERE home_team = "fitzroy" | What was the largest crowd where the home team was Fitzroy? | <s>[INST]What was the largest crowd where the home team was Fitzroy? Context: CREATE TABLE table_name_19 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_19 WHERE home_team = "fitzroy"</s> |
CREATE TABLE table_27961684_1 (enrollment INTEGER, team_name VARCHAR) | SELECT MIN(enrollment) FROM table_27961684_1 WHERE team_name = "Pioneers" | How many people enrolled for the institute with the Pioneers? | <s>[INST]How many people enrolled for the institute with the Pioneers? Context: CREATE TABLE table_27961684_1 (enrollment INTEGER, team_name VARCHAR)[/INST]SELECT MIN(enrollment) FROM table_27961684_1 WHERE team_name = "Pioneers"</s> |
CREATE TABLE table_name_95 (rank INTEGER, lost VARCHAR, played VARCHAR) | SELECT MAX(rank) FROM table_name_95 WHERE lost < 12 AND played > 20 AND Avg.points > 1.73 | Which Rank has a Lost smaller than 12, and a Played larger than 20, and an Avg Points larger than 1.73? | <s>[INST]Which Rank has a Lost smaller than 12, and a Played larger than 20, and an Avg Points larger than 1.73? Context: CREATE TABLE table_name_95 (rank INTEGER, lost VARCHAR, played VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_95 WHERE lost < 12 AND played > 20 AND Avg.points > 1.73</s> |
CREATE TABLE table_name_34 (manufacturer VARCHAR, wheel_arrangement VARCHAR, class VARCHAR) | SELECT manufacturer FROM table_name_34 WHERE wheel_arrangement = "4-6-6-4" AND class = "z-7" | What manufacturer has a wheel arrangement of 4-6-6-4, and a Class of z-7? | <s>[INST]What manufacturer has a wheel arrangement of 4-6-6-4, and a Class of z-7? Context: CREATE TABLE table_name_34 (manufacturer VARCHAR, wheel_arrangement VARCHAR, class VARCHAR)[/INST]SELECT manufacturer FROM table_name_34 WHERE wheel_arrangement = "4-6-6-4" AND class = "z-7"</s> |
CREATE TABLE table_name_95 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_95 WHERE date = "july 24" | What was the record on july 24? | <s>[INST]What was the record on july 24? Context: CREATE TABLE table_name_95 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_95 WHERE date = "july 24"</s> |
CREATE TABLE table_name_11 (career_win_loss VARCHAR, tournament VARCHAR) | SELECT career_win_loss FROM table_name_11 WHERE tournament = "hamburg" | What is Career Win-Loss, when Tournament is "Hamburg"? | <s>[INST]What is Career Win-Loss, when Tournament is "Hamburg"? Context: CREATE TABLE table_name_11 (career_win_loss VARCHAR, tournament VARCHAR)[/INST]SELECT career_win_loss FROM table_name_11 WHERE tournament = "hamburg"</s> |
CREATE TABLE table_28948937_3 (partner VARCHAR, outcome VARCHAR, surface VARCHAR) | SELECT partner FROM table_28948937_3 WHERE outcome = "Winner" AND surface = "Hard" | What is the name of the partner that has a winner outcome and a hard surface? | <s>[INST]What is the name of the partner that has a winner outcome and a hard surface? Context: CREATE TABLE table_28948937_3 (partner VARCHAR, outcome VARCHAR, surface VARCHAR)[/INST]SELECT partner FROM table_28948937_3 WHERE outcome = "Winner" AND surface = "Hard"</s> |
CREATE TABLE table_name_37 (finish VARCHAR, country VARCHAR, player VARCHAR) | SELECT finish FROM table_name_37 WHERE country = "united states" AND player = "julius boros" | What is Finish, when Country is "United States", and when Player is "Julius Boros"? | <s>[INST]What is Finish, when Country is "United States", and when Player is "Julius Boros"? Context: CREATE TABLE table_name_37 (finish VARCHAR, country VARCHAR, player VARCHAR)[/INST]SELECT finish FROM table_name_37 WHERE country = "united states" AND player = "julius boros"</s> |
CREATE TABLE table_name_63 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_63 WHERE home_team = "solon" | What is the away team when solon was the home team? | <s>[INST]What is the away team when solon was the home team? Context: CREATE TABLE table_name_63 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_63 WHERE home_team = "solon"</s> |
CREATE TABLE table_name_39 (leagues_entering_at_this_round VARCHAR, clubs_remaining VARCHAR) | SELECT leagues_entering_at_this_round FROM table_name_39 WHERE clubs_remaining = 24 | What league is entering this round with 24 clubs remaining? | <s>[INST]What league is entering this round with 24 clubs remaining? Context: CREATE TABLE table_name_39 (leagues_entering_at_this_round VARCHAR, clubs_remaining VARCHAR)[/INST]SELECT leagues_entering_at_this_round FROM table_name_39 WHERE clubs_remaining = 24</s> |
CREATE TABLE table_name_68 (outcome VARCHAR, date VARCHAR) | SELECT outcome FROM table_name_68 WHERE date = "19-sep-2006" | What was the outcome of the game played on 19-Sep-2006? | <s>[INST]What was the outcome of the game played on 19-Sep-2006? Context: CREATE TABLE table_name_68 (outcome VARCHAR, date VARCHAR)[/INST]SELECT outcome FROM table_name_68 WHERE date = "19-sep-2006"</s> |
CREATE TABLE table_name_45 (performer_s_ VARCHAR, recorded_at VARCHAR, time VARCHAR) | SELECT performer_s_ FROM table_name_45 WHERE recorded_at = "the cabin in the woods studio" AND time = "3:16" | Who performed the song recorded at the Cabin in the Woods Studio with a Time of 3:16? | <s>[INST]Who performed the song recorded at the Cabin in the Woods Studio with a Time of 3:16? Context: CREATE TABLE table_name_45 (performer_s_ VARCHAR, recorded_at VARCHAR, time VARCHAR)[/INST]SELECT performer_s_ FROM table_name_45 WHERE recorded_at = "the cabin in the woods studio" AND time = "3:16"</s> |
CREATE TABLE Orders (customer_id VARCHAR); CREATE TABLE Customers (customer_last_name VARCHAR, phone_number VARCHAR, customer_id VARCHAR) | SELECT T2.customer_last_name, T1.customer_id, T2.phone_number FROM Orders AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) DESC LIMIT 1 | What is the customer last name, id and phone number with most number of orders? | <s>[INST]What is the customer last name, id and phone number with most number of orders? Context: CREATE TABLE Orders (customer_id VARCHAR); CREATE TABLE Customers (customer_last_name VARCHAR, phone_number VARCHAR, customer_id VARCHAR)[/INST]SELECT T2.customer_last_name, T1.customer_id, T2.phone_number FROM Orders AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_87 (new_entries_this_round VARCHAR, leagues_entering_at_this_round VARCHAR) | SELECT new_entries_this_round FROM table_name_87 WHERE leagues_entering_at_this_round = "tff third league & turkish regional amateur league" | How many new entries when the leagues entering in the round are tff third league & turkish regional amateur league? | <s>[INST]How many new entries when the leagues entering in the round are tff third league & turkish regional amateur league? Context: CREATE TABLE table_name_87 (new_entries_this_round VARCHAR, leagues_entering_at_this_round VARCHAR)[/INST]SELECT new_entries_this_round FROM table_name_87 WHERE leagues_entering_at_this_round = "tff third league & turkish regional amateur league"</s> |
CREATE TABLE table_name_36 (attendance INTEGER, loss VARCHAR) | SELECT MIN(attendance) FROM table_name_36 WHERE loss = "obermueller (1-2)" | What would be the lowest Attendance that also showed a loss of Obermueller (1-2)? | <s>[INST]What would be the lowest Attendance that also showed a loss of Obermueller (1-2)? Context: CREATE TABLE table_name_36 (attendance INTEGER, loss VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_36 WHERE loss = "obermueller (1-2)"</s> |
CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_35 WHERE date = "october 9" | Name the score for october 9 | <s>[INST]Name the score for october 9 Context: CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_35 WHERE date = "october 9"</s> |
CREATE TABLE table_name_25 (ranking VARCHAR, gold VARCHAR, event VARCHAR) | SELECT ranking FROM table_name_25 WHERE gold < 20 AND event = "1976 toronto" | What Ranking has Gold less than 20 and the Event 1976 Toronto? | <s>[INST]What Ranking has Gold less than 20 and the Event 1976 Toronto? Context: CREATE TABLE table_name_25 (ranking VARCHAR, gold VARCHAR, event VARCHAR)[/INST]SELECT ranking FROM table_name_25 WHERE gold < 20 AND event = "1976 toronto"</s> |
CREATE TABLE table_name_92 (match_report VARCHAR, venue VARCHAR) | SELECT match_report FROM table_name_92 WHERE venue = "westfalenstadion , dortmund" | What is Match Report, when Venue is "Westfalenstadion , Dortmund"? | <s>[INST]What is Match Report, when Venue is "Westfalenstadion , Dortmund"? Context: CREATE TABLE table_name_92 (match_report VARCHAR, venue VARCHAR)[/INST]SELECT match_report FROM table_name_92 WHERE venue = "westfalenstadion , dortmund"</s> |
CREATE TABLE table_name_17 (call_sign VARCHAR, power__kw_ VARCHAR) | SELECT call_sign FROM table_name_17 WHERE power__kw_ = "20kw" | What's the call sign that has 20kw of power? | <s>[INST]What's the call sign that has 20kw of power? Context: CREATE TABLE table_name_17 (call_sign VARCHAR, power__kw_ VARCHAR)[/INST]SELECT call_sign FROM table_name_17 WHERE power__kw_ = "20kw"</s> |
CREATE TABLE table_name_54 (result VARCHAR, venue VARCHAR, date VARCHAR) | SELECT result FROM table_name_54 WHERE venue = "home" AND date = "3 october 1987" | Which Result has a Venue of home, and a Date of 3 october 1987? | <s>[INST]Which Result has a Venue of home, and a Date of 3 october 1987? Context: CREATE TABLE table_name_54 (result VARCHAR, venue VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_54 WHERE venue = "home" AND date = "3 october 1987"</s> |
CREATE TABLE table_name_92 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_92 WHERE result = "w 38-14" | Who was the opponent at the game with a result of W 38-14? | <s>[INST]Who was the opponent at the game with a result of W 38-14? Context: CREATE TABLE table_name_92 (opponent VARCHAR, result VARCHAR)[/INST]SELECT opponent FROM table_name_92 WHERE result = "w 38-14"</s> |
CREATE TABLE table_name_81 (pick__number INTEGER, round INTEGER) | SELECT MAX(pick__number) FROM table_name_81 WHERE round < 2 | Which of the highest pick numbers had a round of less than 2? | <s>[INST]Which of the highest pick numbers had a round of less than 2? Context: CREATE TABLE table_name_81 (pick__number INTEGER, round INTEGER)[/INST]SELECT MAX(pick__number) FROM table_name_81 WHERE round < 2</s> |
CREATE TABLE table_name_48 (rank INTEGER, nation VARCHAR, bronze VARCHAR, silver VARCHAR, gold VARCHAR) | SELECT AVG(rank) FROM table_name_48 WHERE silver > 1 AND gold < 11 AND bronze = 2 AND nation = "west germany (frg)" | What is the average rank of west germany (frg), which has more than 1 silver, less than 11 gold, and 2 bronze medals? | <s>[INST]What is the average rank of west germany (frg), which has more than 1 silver, less than 11 gold, and 2 bronze medals? Context: CREATE TABLE table_name_48 (rank INTEGER, nation VARCHAR, bronze VARCHAR, silver VARCHAR, gold VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_48 WHERE silver > 1 AND gold < 11 AND bronze = 2 AND nation = "west germany (frg)"</s> |
CREATE TABLE table_name_32 (party VARCHAR, incumbent VARCHAR, result VARCHAR, first_elected VARCHAR) | SELECT party FROM table_name_32 WHERE result = "retired democratic hold" AND first_elected < 1884 AND incumbent = "samuel dibble" | Which party had a result of retired democratic hold and a first elected earlier than 1884 with an incumbent of samuel dibble? | <s>[INST]Which party had a result of retired democratic hold and a first elected earlier than 1884 with an incumbent of samuel dibble? Context: CREATE TABLE table_name_32 (party VARCHAR, incumbent VARCHAR, result VARCHAR, first_elected VARCHAR)[/INST]SELECT party FROM table_name_32 WHERE result = "retired democratic hold" AND first_elected < 1884 AND incumbent = "samuel dibble"</s> |
CREATE TABLE table_name_82 (team VARCHAR, college VARCHAR) | SELECT team FROM table_name_82 WHERE college = "santa clara" | What team has a player from Santa Clara? | <s>[INST]What team has a player from Santa Clara? Context: CREATE TABLE table_name_82 (team VARCHAR, college VARCHAR)[/INST]SELECT team FROM table_name_82 WHERE college = "santa clara"</s> |
CREATE TABLE table_1342292_2 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1342292_2 WHERE incumbent = "William B. Bankhead" | what's the party with incumbent being william b. bankhead | <s>[INST]what's the party with incumbent being william b. bankhead Context: CREATE TABLE table_1342292_2 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_1342292_2 WHERE incumbent = "William B. Bankhead"</s> |
CREATE TABLE table_name_72 (type VARCHAR, date VARCHAR, condition VARCHAR) | SELECT type FROM table_name_72 WHERE date = "14th century" AND condition = "preserved" | What is the Type of castle from the 14th Century which Condition is preserved? | <s>[INST]What is the Type of castle from the 14th Century which Condition is preserved? Context: CREATE TABLE table_name_72 (type VARCHAR, date VARCHAR, condition VARCHAR)[/INST]SELECT type FROM table_name_72 WHERE date = "14th century" AND condition = "preserved"</s> |
CREATE TABLE table_275162_1 (score VARCHAR, course VARCHAR) | SELECT score FROM table_275162_1 WHERE course = "Bellerive country Club" | What was the winning score at bellerive country club? | <s>[INST]What was the winning score at bellerive country club? Context: CREATE TABLE table_275162_1 (score VARCHAR, course VARCHAR)[/INST]SELECT score FROM table_275162_1 WHERE course = "Bellerive country Club"</s> |
CREATE TABLE table_name_72 (finale VARCHAR, premiere VARCHAR) | SELECT finale FROM table_name_72 WHERE premiere = "september 22, 1976" | What was the date of the finale for the season that premiered on September 22, 1976? | <s>[INST]What was the date of the finale for the season that premiered on September 22, 1976? Context: CREATE TABLE table_name_72 (finale VARCHAR, premiere VARCHAR)[/INST]SELECT finale FROM table_name_72 WHERE premiere = "september 22, 1976"</s> |
CREATE TABLE table_name_21 (Box VARCHAR, home_team VARCHAR) | SELECT Box AS score FROM table_name_21 WHERE home_team = "melbourne tigers" | What was the box core for the Melbourne Tigers? | <s>[INST]What was the box core for the Melbourne Tigers? Context: CREATE TABLE table_name_21 (Box VARCHAR, home_team VARCHAR)[/INST]SELECT Box AS score FROM table_name_21 WHERE home_team = "melbourne tigers"</s> |
CREATE TABLE table_name_30 (location VARCHAR, event VARCHAR) | SELECT location FROM table_name_30 WHERE event = "kotc: mortal sins" | What location did the event kotc: mortal sins take place? | <s>[INST]What location did the event kotc: mortal sins take place? Context: CREATE TABLE table_name_30 (location VARCHAR, event VARCHAR)[/INST]SELECT location FROM table_name_30 WHERE event = "kotc: mortal sins"</s> |
CREATE TABLE table_name_86 (surface VARCHAR) | SELECT "2" AS _person_dive FROM table_name_86 WHERE surface = "2" | What is the 2-person dive that has 2 as the surface? | <s>[INST]What is the 2-person dive that has 2 as the surface? Context: CREATE TABLE table_name_86 (surface VARCHAR)[/INST]SELECT "2" AS _person_dive FROM table_name_86 WHERE surface = "2"</s> |
CREATE TABLE table_name_72 (score VARCHAR, partner VARCHAR) | SELECT score FROM table_name_72 WHERE partner = "mardy fish" | What was the score of the match in which mardy fish was the partner? | <s>[INST]What was the score of the match in which mardy fish was the partner? Context: CREATE TABLE table_name_72 (score VARCHAR, partner VARCHAR)[/INST]SELECT score FROM table_name_72 WHERE partner = "mardy fish"</s> |
CREATE TABLE table_name_19 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_19 WHERE attendance = "65,473" | What was the result of the game played in front of 65,473? | <s>[INST]What was the result of the game played in front of 65,473? Context: CREATE TABLE table_name_19 (result VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_19 WHERE attendance = "65,473"</s> |
CREATE TABLE table_1342233_32 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1342233_32 WHERE incumbent = "Ellsworth B. Buck" | Name the candidates for ellsworth b. buck | <s>[INST]Name the candidates for ellsworth b. buck Context: CREATE TABLE table_1342233_32 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1342233_32 WHERE incumbent = "Ellsworth B. Buck"</s> |
CREATE TABLE table_name_51 (heat INTEGER, nationality VARCHAR, rank VARCHAR) | SELECT MIN(heat) FROM table_name_51 WHERE nationality = "czech republic" AND rank > 41 | What is the earliest heat with a finisher from the Czech Republic and a rank over 41? | <s>[INST]What is the earliest heat with a finisher from the Czech Republic and a rank over 41? Context: CREATE TABLE table_name_51 (heat INTEGER, nationality VARCHAR, rank VARCHAR)[/INST]SELECT MIN(heat) FROM table_name_51 WHERE nationality = "czech republic" AND rank > 41</s> |
CREATE TABLE table_name_25 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_25 WHERE score = 67 - 68 - 78 - 77 = 290 | What place has a 67-68-78-77=290 score? | <s>[INST]What place has a 67-68-78-77=290 score? Context: CREATE TABLE table_name_25 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_25 WHERE score = 67 - 68 - 78 - 77 = 290</s> |
CREATE TABLE table_name_98 (test_career VARCHAR, player VARCHAR) | SELECT test_career FROM table_name_98 WHERE player = "mushfiqur rahim" | When was Mushfiqur Rahim's test career? | <s>[INST]When was Mushfiqur Rahim's test career? Context: CREATE TABLE table_name_98 (test_career VARCHAR, player VARCHAR)[/INST]SELECT test_career FROM table_name_98 WHERE player = "mushfiqur rahim"</s> |
CREATE TABLE table_name_51 (long INTEGER, yards VARCHAR) | SELECT MIN(long) FROM table_name_51 WHERE yards = 26 | What was the lowest long with 26 yards? | <s>[INST]What was the lowest long with 26 yards? Context: CREATE TABLE table_name_51 (long INTEGER, yards VARCHAR)[/INST]SELECT MIN(long) FROM table_name_51 WHERE yards = 26</s> |
CREATE TABLE table_name_72 (height VARCHAR, school VARCHAR) | SELECT height FROM table_name_72 WHERE school = "lake howell high school" | What's the heigh of the player who went to lake howell high school? | <s>[INST]What's the heigh of the player who went to lake howell high school? Context: CREATE TABLE table_name_72 (height VARCHAR, school VARCHAR)[/INST]SELECT height FROM table_name_72 WHERE school = "lake howell high school"</s> |
CREATE TABLE table_1850282_5 (tobago VARCHAR, species VARCHAR) | SELECT tobago FROM table_1850282_5 WHERE species = "Helicops angulatus" | there are in tobago species name helicops angulatus | <s>[INST]there are in tobago species name helicops angulatus Context: CREATE TABLE table_1850282_5 (tobago VARCHAR, species VARCHAR)[/INST]SELECT tobago FROM table_1850282_5 WHERE species = "Helicops angulatus"</s> |
CREATE TABLE table_name_88 (gold INTEGER, silver VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT MIN(gold) FROM table_name_88 WHERE total < 8 AND bronze < 1 AND silver < 1 | How many Gold medals did the Nation with less than 8 Total medals including 1 Bronze and 0 Silver receive? | <s>[INST]How many Gold medals did the Nation with less than 8 Total medals including 1 Bronze and 0 Silver receive? Context: CREATE TABLE table_name_88 (gold INTEGER, silver VARCHAR, total VARCHAR, bronze VARCHAR)[/INST]SELECT MIN(gold) FROM table_name_88 WHERE total < 8 AND bronze < 1 AND silver < 1</s> |
CREATE TABLE table_name_20 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_20 WHERE date = "july 13, 2008" | Which tournament was held on July 13, 2008? | <s>[INST]Which tournament was held on July 13, 2008? Context: CREATE TABLE table_name_20 (tournament VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_name_20 WHERE date = "july 13, 2008"</s> |
CREATE TABLE table_23528223_2 (written_by VARCHAR, us_viewers__millions_ VARCHAR) | SELECT written_by FROM table_23528223_2 WHERE us_viewers__millions_ = "10.64" | Who wrote the episode seen by 10.64 million people in the US? | <s>[INST]Who wrote the episode seen by 10.64 million people in the US? Context: CREATE TABLE table_23528223_2 (written_by VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT written_by FROM table_23528223_2 WHERE us_viewers__millions_ = "10.64"</s> |
CREATE TABLE table_name_3 (surface VARCHAR, opponent VARCHAR) | SELECT surface FROM table_name_3 WHERE opponent = "richard fromberg" | What was the surface tye during the match with the opponent of richard fromberg? | <s>[INST]What was the surface tye during the match with the opponent of richard fromberg? Context: CREATE TABLE table_name_3 (surface VARCHAR, opponent VARCHAR)[/INST]SELECT surface FROM table_name_3 WHERE opponent = "richard fromberg"</s> |
CREATE TABLE table_name_27 (average VARCHAR, tally VARCHAR, matches VARCHAR) | SELECT COUNT(average) FROM table_name_27 WHERE tally = "3–11" AND matches > 4 | What is the average when the tally is 3–11, with more than 4 matches?? | <s>[INST]What is the average when the tally is 3–11, with more than 4 matches?? Context: CREATE TABLE table_name_27 (average VARCHAR, tally VARCHAR, matches VARCHAR)[/INST]SELECT COUNT(average) FROM table_name_27 WHERE tally = "3–11" AND matches > 4</s> |
CREATE TABLE table_21304131_2 (survivor_count VARCHAR, directed_by VARCHAR) | SELECT survivor_count FROM table_21304131_2 WHERE directed_by = "Gwyneth Horder-Payton" | What was the survivor count for the episode directed by Gwyneth Horder-Payton? | <s>[INST]What was the survivor count for the episode directed by Gwyneth Horder-Payton? Context: CREATE TABLE table_21304131_2 (survivor_count VARCHAR, directed_by VARCHAR)[/INST]SELECT survivor_count FROM table_21304131_2 WHERE directed_by = "Gwyneth Horder-Payton"</s> |
CREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_77 WHERE away_team = "geelong" | What is the home side's score when geelong is the away team? | <s>[INST]What is the home side's score when geelong is the away team? Context: CREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_77 WHERE away_team = "geelong"</s> |
CREATE TABLE table_name_44 (sales VARCHAR, peak_position VARCHAR, certification VARCHAR) | SELECT COUNT(sales) FROM table_name_44 WHERE peak_position > 2 AND certification = "3x platinum" | How many sales had a peak position more than 2 and a Certification of 3x platinum? | <s>[INST]How many sales had a peak position more than 2 and a Certification of 3x platinum? Context: CREATE TABLE table_name_44 (sales VARCHAR, peak_position VARCHAR, certification VARCHAR)[/INST]SELECT COUNT(sales) FROM table_name_44 WHERE peak_position > 2 AND certification = "3x platinum"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.