training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_35 (year VARCHAR, total VARCHAR, la_matches VARCHAR)
###human: What year had a total of 2 and LA matches of 0?
###assistant: SELECT year FROM table_name_35 WHERE total = "2" AND la_matches = "0" |
###context:CREATE TABLE table_name_9 (year VARCHAR, total VARCHAR)
###human: What year was the total 9?
###assistant: SELECT year FROM table_name_9 WHERE total = "9" |
###context:CREATE TABLE table_name_8 (week_4 VARCHAR, week_5 VARCHAR, week_2 VARCHAR)
###human: Who is in week 4 if week 5 is [month ended] and week 2 is April Ireland?
###assistant: SELECT week_4 FROM table_name_8 WHERE week_5 = "[month ended]" AND week_2 = "april ireland" |
###context:CREATE TABLE table_name_64 (week_3 VARCHAR, week_2 VARCHAR)
###human: Who is week 3 if week 2 is Nikki Fiction?
###assistant: SELECT week_3 FROM table_name_64 WHERE week_2 = "nikki fiction" |
###context:CREATE TABLE table_name_3 (week_1 VARCHAR, week_3 VARCHAR)
###human: Who is week 1 if week 3 is Natasha Budhi?
###assistant: SELECT week_1 FROM table_name_3 WHERE week_3 = "natasha budhi" |
###context:CREATE TABLE table_name_68 (week_5 VARCHAR, week_2 VARCHAR)
###human: Who is week 5 if week 2 is Jenna Jordan?
###assistant: SELECT week_5 FROM table_name_68 WHERE week_2 = "jenna jordan" |
###context:CREATE TABLE table_name_65 (week_2 VARCHAR, week_3 VARCHAR)
###human: Who is week 2 if week 3 is Sara Stokes?
###assistant: SELECT week_2 FROM table_name_65 WHERE week_3 = "sara stokes" |
###context:CREATE TABLE table_name_47 (week_3 VARCHAR, week_1 VARCHAR)
###human: Who is week 3 if week 1 is Amanda Batt?
###assistant: SELECT week_3 FROM table_name_47 WHERE week_1 = "amanda batt" |
###context:CREATE TABLE table_name_29 (bronze INTEGER, total INTEGER)
###human: What average bronze has a total less than 1?
###assistant: SELECT AVG(bronze) FROM table_name_29 WHERE total < 1 |
###context:CREATE TABLE table_name_63 (gold INTEGER, nation VARCHAR, bronze VARCHAR)
###human: What average gold has China (chn) as the nation with a bronze greater than 1?
###assistant: SELECT AVG(gold) FROM table_name_63 WHERE nation = "china (chn)" AND bronze > 1 |
###context:CREATE TABLE table_name_96 (gold INTEGER, bronze INTEGER)
###human: Which is the highest gold that has a bronze greater than 4?
###assistant: SELECT MAX(gold) FROM table_name_96 WHERE bronze > 4 |
###context:CREATE TABLE table_name_84 (date VARCHAR, against VARCHAR, opposing_teams VARCHAR)
###human: What date has fewer than 32 against and the opposing team of Australia?
###assistant: SELECT date FROM table_name_84 WHERE against < 32 AND opposing_teams = "australia" |
###context:CREATE TABLE table_name_64 (against INTEGER, status VARCHAR)
###human: What is the average against for a test match?
###assistant: SELECT AVG(against) FROM table_name_64 WHERE status = "test match" |
###context:CREATE TABLE table_name_90 (venue VARCHAR, against VARCHAR, status VARCHAR)
###human: Which venue has more than 9 against and a status of second test?
###assistant: SELECT venue FROM table_name_90 WHERE against > 9 AND status = "second test" |
###context:CREATE TABLE table_name_52 (status VARCHAR, against VARCHAR)
###human: Which status has an against of 35?
###assistant: SELECT status FROM table_name_52 WHERE against = 35 |
###context:CREATE TABLE table_name_64 (music VARCHAR, dance VARCHAR)
###human: What was the music for the modern dance?
###assistant: SELECT music FROM table_name_64 WHERE dance = "modern" |
###context:CREATE TABLE table_name_29 (place VARCHAR, dance VARCHAR, points_jury VARCHAR)
###human: What was the place for the tango dance when the points was jury of 24 (7,5,6,6)?
###assistant: SELECT place FROM table_name_29 WHERE dance = "tango" AND points_jury = "24 (7,5,6,6)" |
###context:CREATE TABLE table_name_3 (qualifying_goals INTEGER, player VARCHAR, finals_goals VARCHAR)
###human: What is the Average Qualifying Goals for Jack Froggatt where the Final Goals is greater than 0?
###assistant: SELECT AVG(qualifying_goals) FROM table_name_3 WHERE player = "jack froggatt" AND finals_goals > 0 |
###context:CREATE TABLE table_name_90 (player VARCHAR, total_goals VARCHAR, qualifying_goals VARCHAR)
###human: Which Player has a Total Goals greater than 1 and Qualifying Goals smaller than 3?
###assistant: SELECT player FROM table_name_90 WHERE total_goals > 1 AND qualifying_goals < 3 |
###context:CREATE TABLE table_name_1 (total_goals VARCHAR, player VARCHAR, qualifying_goals VARCHAR)
###human: What is the total number of Total Goals scored by Stan Mortensen where the Qualifying Goals is greater than 3?
###assistant: SELECT COUNT(total_goals) FROM table_name_1 WHERE player = "stan mortensen" AND qualifying_goals > 3 |
###context:CREATE TABLE table_name_40 (finals_goals INTEGER, total_goals INTEGER)
###human: What is the Average Finals Goals if the Total Goals is less than 1?
###assistant: SELECT AVG(finals_goals) FROM table_name_40 WHERE total_goals < 1 |
###context:CREATE TABLE table_name_51 (score INTEGER, player VARCHAR, country VARCHAR, to_par VARCHAR)
###human: What was Adam Scott's total score when playing in Australia with a to par of e?
###assistant: SELECT SUM(score) FROM table_name_51 WHERE country = "australia" AND to_par = "e" AND player = "adam scott" |
###context:CREATE TABLE table_name_88 (score VARCHAR, player VARCHAR)
###human: What was Fredrik Jacobson's score?
###assistant: SELECT score FROM table_name_88 WHERE player = "fredrik jacobson" |
###context:CREATE TABLE table_name_95 (home_team VARCHAR, away_team VARCHAR)
###human: WHAT IS THE HOME TEAM WITH AN AWAY OF LEYTON ORIENT?
###assistant: SELECT home_team FROM table_name_95 WHERE away_team = "leyton orient" |
###context:CREATE TABLE table_name_52 (tie_no VARCHAR, home_team VARCHAR)
###human: WHAT IS NO TIE FROM brighton & hove albion?
###assistant: SELECT tie_no FROM table_name_52 WHERE home_team = "brighton & hove albion" |
###context:CREATE TABLE table_name_11 (result VARCHAR, date VARCHAR)
###human: What was the result for the game on October 5?
###assistant: SELECT result FROM table_name_11 WHERE date = "october 5" |
###context:CREATE TABLE table_name_73 (fa_cup_apps VARCHAR, league_apps VARCHAR, total_goals VARCHAR, league_cup_goals VARCHAR)
###human: What is the FA Cup Apps when total goals is smaller than 4, League Cup Goals is 0, and League Apps is 8 (10)?
###assistant: SELECT fa_cup_apps FROM table_name_73 WHERE total_goals < 4 AND league_cup_goals = 0 AND league_apps = "8 (10)" |
###context:CREATE TABLE table_name_89 (total_goals INTEGER, position VARCHAR, fa_cup_goals VARCHAR)
###human: What is the lowest total goals when position is df, and FA Cup Goals is smaller than 0?
###assistant: SELECT MIN(total_goals) FROM table_name_89 WHERE position = "df" AND fa_cup_goals < 0 |
###context:CREATE TABLE table_name_82 (viewers__m_ INTEGER, episode VARCHAR)
###human: What Viewers (m) has an Episode of school council?
###assistant: SELECT AVG(viewers__m_) FROM table_name_82 WHERE episode = "school council" |
###context:CREATE TABLE table_name_54 (viewers__m_ INTEGER, rating VARCHAR, episode VARCHAR)
###human: What Viewers (m) has a Rating of 1.7, and an Episode of the game of life?
###assistant: SELECT MAX(viewers__m_) FROM table_name_54 WHERE rating = "1.7" AND episode = "the game of life" |
###context:CREATE TABLE table_name_64 (viewers__m_ VARCHAR, episode VARCHAR)
###human: What Viewers (m) has an Episode of 40 days?
###assistant: SELECT viewers__m_ FROM table_name_64 WHERE episode = "40 days" |
###context:CREATE TABLE table_name_35 (episode VARCHAR, rating VARCHAR, viewers__m_ VARCHAR)
###human: What Episode has a Rating of 1.8, and Viewers (m) smaller than 2.73?
###assistant: SELECT episode FROM table_name_35 WHERE rating = "1.8" AND viewers__m_ < 2.73 |
###context:CREATE TABLE table_name_96 (rating VARCHAR, viewers__m_ VARCHAR)
###human: What Rating has Viewers (m) of 2.73?
###assistant: SELECT rating FROM table_name_96 WHERE viewers__m_ = 2.73 |
###context:CREATE TABLE table_name_17 (episode VARCHAR, share VARCHAR)
###human: What Episode has a Share of tba?
###assistant: SELECT episode FROM table_name_17 WHERE share = "tba" |
###context:CREATE TABLE table_name_68 (partner VARCHAR, date VARCHAR, opponents_in_the_final VARCHAR)
###human: Name the Partner which is in 1979, and Opponents in the final of heinz günthardt bob hewitt?
###assistant: SELECT partner FROM table_name_68 WHERE date = 1979 AND opponents_in_the_final = "heinz günthardt bob hewitt" |
###context:CREATE TABLE table_name_74 (surface VARCHAR, opponents_in_the_final VARCHAR, tournament VARCHAR)
###human: which Surface has Opponents in the final of mark edmondson sherwood stewart, and a Tournament of dallas , u.s.?
###assistant: SELECT surface FROM table_name_74 WHERE opponents_in_the_final = "mark edmondson sherwood stewart" AND tournament = "dallas , u.s." |
###context:CREATE TABLE table_name_23 (date INTEGER, tournament VARCHAR)
###human: Name the date of Tournament of paris indoor , france?
###assistant: SELECT SUM(date) FROM table_name_23 WHERE tournament = "paris indoor , france" |
###context:CREATE TABLE table_name_82 (outcome VARCHAR, surface VARCHAR, score_in_the_final VARCHAR)
###human: Name the Outcome has a Surface of hard, and a Score in the final of 6–2, 6–4?
###assistant: SELECT outcome FROM table_name_82 WHERE surface = "hard" AND score_in_the_final = "6–2, 6–4" |
###context:CREATE TABLE table_name_87 (surface VARCHAR, score_in_the_final VARCHAR, opponents_in_the_final VARCHAR)
###human: Name the Surface which has a Score in the final of 6–3, 6–2 and Opponents in the final of mansour bahrami diego pérez?
###assistant: SELECT surface FROM table_name_87 WHERE score_in_the_final = "6–3, 6–2" AND opponents_in_the_final = "mansour bahrami diego pérez" |
###context:CREATE TABLE table_name_27 (res VARCHAR, time VARCHAR)
###human: Which Res has a Time of 11:58?
###assistant: SELECT res FROM table_name_27 WHERE time = "11:58" |
###context:CREATE TABLE table_name_33 (time VARCHAR, opponent VARCHAR)
###human: What was jerry bohlander's time?
###assistant: SELECT time FROM table_name_33 WHERE opponent = "jerry bohlander" |
###context:CREATE TABLE table_name_91 (total VARCHAR, name VARCHAR, serie_a VARCHAR, coppa_italia VARCHAR, champions_league VARCHAR)
###human: What was the total of Mauro Camoranesi when coppa italia was 0, champions league was 1 and less than 2 serie A?
###assistant: SELECT total FROM table_name_91 WHERE coppa_italia = 0 AND champions_league = 1 AND serie_a < 2 AND name = "mauro camoranesi" |
###context:CREATE TABLE table_name_79 (serie_a INTEGER, coppa_italia VARCHAR)
###human: What's the Serie A when the coppa italia was 5?
###assistant: SELECT AVG(serie_a) FROM table_name_79 WHERE coppa_italia = 5 |
###context:CREATE TABLE table_name_62 (total INTEGER, coppa_italia VARCHAR, champions_league VARCHAR, serie_a VARCHAR)
###human: What's the total when the champions league was 0, the coppa italia was less than 0, and the Serie A was more than 1?
###assistant: SELECT SUM(total) FROM table_name_62 WHERE champions_league = 0 AND serie_a > 1 AND coppa_italia < 0 |
###context:CREATE TABLE table_name_40 (champions_league INTEGER, coppa_italia VARCHAR, serie_a VARCHAR, total VARCHAR)
###human: What is the championsleague when the total was greater than 1, the coppa italia was more than 2, and the Serie A was 1?
###assistant: SELECT SUM(champions_league) FROM table_name_40 WHERE serie_a = 1 AND total > 1 AND coppa_italia > 2 |
###context:CREATE TABLE table_name_53 (combined VARCHAR, victories VARCHAR)
###human: Can you tell me the Combined that has the Victories of 14?
###assistant: SELECT combined FROM table_name_53 WHERE victories = 14 |
###context:CREATE TABLE table_name_14 (giant_slalom VARCHAR, victories VARCHAR, combined VARCHAR, country VARCHAR)
###human: Can you tell me the Giant Slalom that has the Combined of 1, and the Country of united states, and the Victories larger than 11?
###assistant: SELECT giant_slalom FROM table_name_14 WHERE combined = "1" AND country = "united states" AND victories > 11 |
###context:CREATE TABLE table_name_84 (to_par VARCHAR, player VARCHAR)
###human: What is Bob Charles' To par?
###assistant: SELECT to_par FROM table_name_84 WHERE player = "bob charles" |
###context:CREATE TABLE table_name_17 (total INTEGER, to_par VARCHAR)
###human: What is the Total for the Player with a To par of +11?
###assistant: SELECT MAX(total) FROM table_name_17 WHERE to_par = "+11" |
###context:CREATE TABLE table_name_24 (total INTEGER, to_par VARCHAR)
###human: What is the Total of the Player with a To par of –13?
###assistant: SELECT SUM(total) FROM table_name_24 WHERE to_par = "–13" |
###context:CREATE TABLE table_name_94 (hometown VARCHAR, position VARCHAR, name VARCHAR)
###human: What is Guard Kerri Shields Hometown?
###assistant: SELECT hometown FROM table_name_94 WHERE position = "guard" AND name = "kerri shields" |
###context:CREATE TABLE table_name_69 (name VARCHAR, hometown VARCHAR)
###human: What is the Name of the Player from Albuquerque, New Mexico?
###assistant: SELECT name FROM table_name_69 WHERE hometown = "albuquerque, new mexico" |
###context:CREATE TABLE table_name_19 (home__2nd_leg_ VARCHAR)
###human: What was the score of the 2nd leg when Newell's Old Boys played at home?
###assistant: SELECT 2 AS nd_leg FROM table_name_19 WHERE home__2nd_leg_ = "newell's old boys" |
###context:CREATE TABLE table_name_19 (home__2nd_leg_ VARCHAR, aggregate VARCHAR)
###human: Which team played at home for the second leg and has aggregate score of 2-0?
###assistant: SELECT home__2nd_leg_ FROM table_name_19 WHERE aggregate = "2-0" |
###context:CREATE TABLE table_name_57 (home__2nd_leg_ VARCHAR)
###human: What was the score on the first leg when gimnasia de mendoza played at home for the second leg?
###assistant: SELECT 1 AS st_leg FROM table_name_57 WHERE home__2nd_leg_ = "gimnasia de mendoza" |
###context:CREATE TABLE table_name_39 (home__2nd_leg_ VARCHAR, aggregate VARCHAR)
###human: Which team played at home for the second leg and has an aggregate score of 2-4?
###assistant: SELECT home__2nd_leg_ FROM table_name_39 WHERE aggregate = "2-4" |
###context:CREATE TABLE table_name_84 (home__2nd_leg_ VARCHAR)
###human: What was the 2nd leg score when atlético tucumán played at home?
###assistant: SELECT 2 AS nd_leg FROM table_name_84 WHERE home__2nd_leg_ = "atlético tucumán" |
###context:CREATE TABLE table_name_85 (record VARCHAR, round VARCHAR, res VARCHAR, time VARCHAR)
###human: What is the record of the match with a win res., a 5:00 time, and more than 3 rounds?
###assistant: SELECT record FROM table_name_85 WHERE res = "win" AND time = "5:00" AND round > 3 |
###context:CREATE TABLE table_name_22 (method VARCHAR, opponent VARCHAR)
###human: What is the method of opponent georges st-pierre?
###assistant: SELECT method FROM table_name_22 WHERE opponent = "georges st-pierre" |
###context:CREATE TABLE table_name_46 (location VARCHAR, round VARCHAR, event VARCHAR)
###human: What is the location of fightfest 2, which has 3 rounds?
###assistant: SELECT location FROM table_name_46 WHERE round = 3 AND event = "fightfest 2" |
###context:CREATE TABLE table_name_21 (opponent VARCHAR, time VARCHAR)
###human: Who is the opponent with a time of 1:19?
###assistant: SELECT opponent FROM table_name_21 WHERE time = "1:19" |
###context:CREATE TABLE table_name_81 (opponent VARCHAR, record VARCHAR)
###human: Who is the opponent with a 0-1 record?
###assistant: SELECT opponent FROM table_name_81 WHERE record = "0-1" |
###context:CREATE TABLE table_name_12 (rank_by_average VARCHAR, total_points VARCHAR, average VARCHAR)
###human: What is the total rank with more than 392 total points and an 24.8 average?
###assistant: SELECT COUNT(rank_by_average) FROM table_name_12 WHERE total_points > 392 AND average = 24.8 |
###context:CREATE TABLE table_name_62 (average INTEGER, rank_by_average VARCHAR, place VARCHAR, total_points VARCHAR)
###human: What is the highest average with less than 3 places, less than 433 total points, and a rank less than 2?
###assistant: SELECT MAX(average) FROM table_name_62 WHERE place < 3 AND total_points < 433 AND rank_by_average < 2 |
###context:CREATE TABLE table_name_34 (average VARCHAR, total_points VARCHAR, rank_by_average VARCHAR)
###human: What is the total average with 54 total points and a rank less than 10?
###assistant: SELECT COUNT(average) FROM table_name_34 WHERE total_points = 54 AND rank_by_average < 10 |
###context:CREATE TABLE table_name_99 (rank_by_average VARCHAR, number_of_dances VARCHAR, total_points VARCHAR)
###human: What is the total rank by average for 2 dances, which have more than 37 total points?
###assistant: SELECT COUNT(rank_by_average) FROM table_name_99 WHERE number_of_dances = 2 AND total_points > 37 |
###context:CREATE TABLE table_name_86 (championship VARCHAR, opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)
###human: What Championship has an Opponent in the final of aaron krickstein, and a Score in the final of 7–5, 6–2?
###assistant: SELECT championship FROM table_name_86 WHERE opponent_in_the_final = "aaron krickstein" AND score_in_the_final = "7–5, 6–2" |
###context:CREATE TABLE table_name_44 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, championship VARCHAR)
###human: What Score in the final has a Surface of hard, a Championship of washington, d.c. , u.s., and an Opponent in the final of ivan lendl?
###assistant: SELECT score_in_the_final FROM table_name_44 WHERE surface = "hard" AND championship = "washington, d.c. , u.s." AND opponent_in_the_final = "ivan lendl" |
###context:CREATE TABLE table_name_27 (number_of_seasons_in_liga_mx INTEGER, club VARCHAR)
###human: What is the highest Number of seasons in Liga MX for Club cruz azul?
###assistant: SELECT MAX(number_of_seasons_in_liga_mx) FROM table_name_27 WHERE club = "cruz azul" |
###context:CREATE TABLE table_name_33 (number_of_seasons_in_liga_mx INTEGER, club VARCHAR, number_of_seasons_in_top_division VARCHAR)
###human: What is the highest Number of seasons in Liga MX for Club cruz azul, when their season in the top division is higher than 68?
###assistant: SELECT MAX(number_of_seasons_in_liga_mx) FROM table_name_33 WHERE club = "cruz azul" AND number_of_seasons_in_top_division > 68 |
###context:CREATE TABLE table_name_55 (top_division_titles VARCHAR, number_of_seasons_in_liga_mx VARCHAR, number_of_seasons_in_top_division VARCHAR, first_season_of_current_spell_in_top_division VARCHAR)
###human: What is the total number of Top division titles for the club that has more than 40 seasons in top division, a First season of current spell in top division of 1943-44, and more than 89 seasons in Liga MX?
###assistant: SELECT COUNT(top_division_titles) FROM table_name_55 WHERE number_of_seasons_in_top_division > 40 AND first_season_of_current_spell_in_top_division = "1943-44" AND number_of_seasons_in_liga_mx > 89 |
###context:CREATE TABLE table_name_66 (top_division_titles INTEGER, number_of_seasons_in_liga_mx VARCHAR, club VARCHAR)
###human: How many top division titles does Club Guadalajara have, with more than 42 seasons in Liga MX?
###assistant: SELECT SUM(top_division_titles) FROM table_name_66 WHERE number_of_seasons_in_liga_mx > 42 AND club = "guadalajara" |
###context:CREATE TABLE table_name_32 (club VARCHAR, number_of_seasons_in_liga_mx VARCHAR, number_of_seasons_in_top_division VARCHAR)
###human: Which club has fewer than 40 seasons in Liga MX and 65 seasons in the top division?
###assistant: SELECT club FROM table_name_32 WHERE number_of_seasons_in_liga_mx < 40 AND number_of_seasons_in_top_division = 65 |
###context:CREATE TABLE table_name_4 (number INTEGER, location VARCHAR, time VARCHAR)
###human: What number is in Bois de Warville with a time less than 810?
###assistant: SELECT SUM(number) FROM table_name_4 WHERE location = "bois de warville" AND time < 810 |
###context:CREATE TABLE table_name_24 (time INTEGER, number VARCHAR)
###human: What is number 21's highest time?
###assistant: SELECT MAX(time) FROM table_name_24 WHERE number = 21 |
###context:CREATE TABLE table_name_89 (number INTEGER, opponent VARCHAR, time VARCHAR)
###human: What number with the opponent Fokker D.vii have with a time of 1655?
###assistant: SELECT SUM(number) FROM table_name_89 WHERE opponent = "fokker d.vii" AND time = 1655 |
###context:CREATE TABLE table_name_5 (opponent VARCHAR, location VARCHAR, number VARCHAR, time VARCHAR, aircraft VARCHAR)
###human: Who is the opponent with a time higher than 1040, a Spad xiii aircraft in Dun-Sur-Meuse with a lower number than 22?
###assistant: SELECT opponent FROM table_name_5 WHERE time > 1040 AND aircraft = "spad xiii" AND number < 22 AND location = "dun-sur-meuse" |
###context:CREATE TABLE table_name_66 (number INTEGER, opponent VARCHAR, time VARCHAR)
###human: What number has the opponent Fokker d.vii with a time of 600?
###assistant: SELECT SUM(number) FROM table_name_66 WHERE opponent = "fokker d.vii" AND time = 600 |
###context:CREATE TABLE table_name_27 (name VARCHAR, floors VARCHAR, years_as_tallest VARCHAR)
###human: What is the Name of the Building with 36 or more Floors with Years as tallest of 1986–1992?
###assistant: SELECT name FROM table_name_27 WHERE floors > 36 AND years_as_tallest = "1986–1992" |
###context:CREATE TABLE table_name_55 (years_as_tallest VARCHAR, height_ft__m_ VARCHAR)
###human: What is the Years as tallest of the Building with a Height ft (m) of 145 (44)?
###assistant: SELECT years_as_tallest FROM table_name_55 WHERE height_ft__m_ = "145 (44)" |
###context:CREATE TABLE table_name_70 (street_address VARCHAR, floors VARCHAR)
###human: What is the Street Address of the Building with 17 Floors?
###assistant: SELECT street_address FROM table_name_70 WHERE floors = 17 |
###context:CREATE TABLE table_name_28 (name VARCHAR, street_address VARCHAR)
###human: What is the Name of the Building at 100 North Tampa Street?
###assistant: SELECT name FROM table_name_28 WHERE street_address = "100 north tampa street" |
###context:CREATE TABLE table_name_68 (away VARCHAR, round VARCHAR)
###human: What away is there for the q3 round?
###assistant: SELECT away FROM table_name_68 WHERE round = "q3" |
###context:CREATE TABLE table_name_56 (aggregate VARCHAR, opponents VARCHAR)
###human: What is the Aggregate of Bayer Leverkusen opponents?
###assistant: SELECT aggregate FROM table_name_56 WHERE opponents = "bayer leverkusen" |
###context:CREATE TABLE table_name_80 (competition VARCHAR, venue VARCHAR)
###human: What is the competition that was at serravalle, san marino?
###assistant: SELECT competition FROM table_name_80 WHERE venue = "serravalle, san marino" |
###context:CREATE TABLE table_name_78 (venue VARCHAR, date VARCHAR, result VARCHAR, competition VARCHAR)
###human: Where was the friendly competition that Andriy Yarmolenko won on 28 may 2012?
###assistant: SELECT venue FROM table_name_78 WHERE result = "won" AND competition = "friendly" AND date = "28 may 2012" |
###context:CREATE TABLE table_name_2 (result VARCHAR, venue VARCHAR)
###human: What is the result of the game at kyiv, ukraine?
###assistant: SELECT result FROM table_name_2 WHERE venue = "kyiv, ukraine" |
###context:CREATE TABLE table_name_59 (style VARCHAR, choreographer VARCHAR)
###human: What is the Style of the dance by Choreographer Luda and Oliver?
###assistant: SELECT style FROM table_name_59 WHERE choreographer = "luda and oliver" |
###context:CREATE TABLE table_name_44 (results VARCHAR, choreographer VARCHAR)
###human: What is the Result of the dance Choreographed by Kelly Aykers?
###assistant: SELECT results FROM table_name_44 WHERE choreographer = "kelly aykers" |
###context:CREATE TABLE table_name_12 (style VARCHAR, results VARCHAR, choreographer VARCHAR)
###human: What is the Style of the dance Choreographed by Nacho Pop with result of safe?
###assistant: SELECT style FROM table_name_12 WHERE results = "safe" AND choreographer = "nacho pop" |
###context:CREATE TABLE table_name_18 (rank INTEGER, bronze VARCHAR, total VARCHAR, gold VARCHAR)
###human: What is the rank with a higher than 2 total, 21 gold and more than 12 bronze?
###assistant: SELECT AVG(rank) FROM table_name_18 WHERE total > 2 AND gold = 21 AND bronze > 12 |
###context:CREATE TABLE table_name_74 (gold INTEGER, silver VARCHAR, nation VARCHAR)
###human: How many golds does Germany have with more than 1 silver?
###assistant: SELECT SUM(gold) FROM table_name_74 WHERE silver > 1 AND nation = "germany" |
###context:CREATE TABLE table_name_87 (round VARCHAR, pick VARCHAR)
###human: What is the total number of rounds of the player with a pick of 20?
###assistant: SELECT COUNT(round) FROM table_name_87 WHERE pick = 20 |
###context:CREATE TABLE table_name_15 (player VARCHAR, draft VARCHAR, pick VARCHAR)
###human: Who is the player from the 1971 draft with a pick greater than 7?
###assistant: SELECT player FROM table_name_15 WHERE draft = 1971 AND pick > 7 |
###context:CREATE TABLE table_name_67 (premier VARCHAR, second VARCHAR)
###human: What is the total number of Premier, when Second is "55"?
###assistant: SELECT COUNT(premier) FROM table_name_67 WHERE second = 55 |
###context:CREATE TABLE table_name_5 (second VARCHAR, premier VARCHAR, first VARCHAR, season VARCHAR)
###human: What is the total number of Second, when First is greater than 18, when Season is 1992-93, and when Premier is greater than 16?
###assistant: SELECT COUNT(second) FROM table_name_5 WHERE first > 18 AND season = "1992-93" AND premier > 16 |
###context:CREATE TABLE table_name_2 (total INTEGER, second VARCHAR)
###human: What is the lowest Total, when Second is "55"?
###assistant: SELECT MIN(total) FROM table_name_2 WHERE second = 55 |
###context:CREATE TABLE table_name_23 (total INTEGER, season VARCHAR, second VARCHAR)
###human: What is the highest Total, when Season is "1996-97", and when Second is less than 33?
###assistant: SELECT MAX(total) FROM table_name_23 WHERE season = "1996-97" AND second < 33 |
###context:CREATE TABLE table_name_1 (second INTEGER, first VARCHAR, total VARCHAR, premier VARCHAR)
###human: What is the sum of Second, when Total is less than 70, when Premier is less than 20, and when First is greater than 18?
###assistant: SELECT SUM(second) FROM table_name_1 WHERE total < 70 AND premier < 20 AND first > 18 |
###context:CREATE TABLE table_name_54 (season VARCHAR, goals VARCHAR, points VARCHAR)
###human: In what season were there 27 goals and 58 points?
###assistant: SELECT season FROM table_name_54 WHERE goals = "27" AND points = "58" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.