training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_name_2 (date VARCHAR, partner VARCHAR, score VARCHAR) ###human: What date had Alexander Krasnorutskiy as a partner with a score of 6–3, 4–6, 6–2? ###assistant: SELECT date FROM table_name_2 WHERE partner = "alexander krasnorutskiy" AND score = "6–3, 4–6, 6–2"
###context:CREATE TABLE table_name_93 (ihsaa_class VARCHAR, mascot VARCHAR, city VARCHAR) ###human: Which IHSAA Class has a Mascot of eagles, and a City of evansville? ###assistant: SELECT ihsaa_class FROM table_name_93 WHERE mascot = "eagles" AND city = "evansville"
###context:CREATE TABLE table_name_54 (city VARCHAR, school VARCHAR) ###human: Which City has a School of indianapolis brebeuf? ###assistant: SELECT city FROM table_name_54 WHERE school = "indianapolis brebeuf"
###context:CREATE TABLE table_name_32 (enrollment VARCHAR, school VARCHAR) ###human: How much Enrollment has a School of indianapolis tindley? ###assistant: SELECT COUNT(enrollment) FROM table_name_32 WHERE school = "indianapolis tindley"
###context:CREATE TABLE table_name_70 (county VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR) ###human: Which County has an IHSAA Class of aaaa, and a Mascot of cardinals? ###assistant: SELECT county FROM table_name_70 WHERE ihsaa_class = "aaaa" AND mascot = "cardinals"
###context:CREATE TABLE table_name_27 (total_goals VARCHAR, league_cup_goals INTEGER) ###human: How many Total Goals values have 0 League Cup Goals? ###assistant: SELECT COUNT(total_goals) FROM table_name_27 WHERE league_cup_goals < 0
###context:CREATE TABLE table_name_55 (fa_cup_goals INTEGER, total_goals VARCHAR, fa_cup_apps VARCHAR, total_apps VARCHAR) ###human: What is the smallest number of FA Cup Goals for players with 4 FA Cup Appearances, 49 Total Appearances, and more than 17 total goals? ###assistant: SELECT MIN(fa_cup_goals) FROM table_name_55 WHERE fa_cup_apps = "4" AND total_apps = "49" AND total_goals > 17
###context:CREATE TABLE table_name_26 (league_goals INTEGER, fa_cup_goals INTEGER) ###human: What is the average number of League Goals for palyers with 0 FA Cup Goals? ###assistant: SELECT AVG(league_goals) FROM table_name_26 WHERE fa_cup_goals < 0
###context:CREATE TABLE table_name_54 (silver INTEGER, total VARCHAR, bronze VARCHAR) ###human: what is the highest silver when the total is 4 and bronze is less than 1? ###assistant: SELECT MAX(silver) FROM table_name_54 WHERE total = "4" AND bronze < 1
###context:CREATE TABLE table_name_2 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR) ###human: what is the gold when the bronze is 1, total is 6 and silver is less than 3? ###assistant: SELECT SUM(gold) FROM table_name_2 WHERE bronze = 1 AND total = "6" AND silver < 3
###context:CREATE TABLE table_name_82 (province VARCHAR, _community VARCHAR, geographical_regions VARCHAR, height VARCHAR) ###human: What is province of community with height larger than 1.8 and is in el cibao region? ###assistant: SELECT province, _community FROM table_name_82 WHERE geographical_regions = "el cibao" AND height > 1.8
###context:CREATE TABLE table_name_7 (contestant VARCHAR, height VARCHAR, hometown VARCHAR) ###human: What contestant is from santo domingo este and has height smaller than 1.79? ###assistant: SELECT contestant FROM table_name_7 WHERE height < 1.79 AND hometown = "santo domingo este"
###context:CREATE TABLE table_name_46 (previous_conference VARCHAR, year_joined VARCHAR, mascot VARCHAR) ###human: what is the previous conference when the year joined is 1932 and the mascot is tigers? ###assistant: SELECT previous_conference FROM table_name_46 WHERE year_joined = "1932" AND mascot = "tigers"
###context:CREATE TABLE table_name_60 (school VARCHAR, location VARCHAR) ###human: what is the school when the location is rochester? ###assistant: SELECT school FROM table_name_60 WHERE location = "rochester"
###context:CREATE TABLE table_name_71 (location VARCHAR, school VARCHAR) ###human: what is the location when the school is muncie burris? ###assistant: SELECT location FROM table_name_71 WHERE school = "muncie burris"
###context:CREATE TABLE table_name_25 (mascot VARCHAR, school VARCHAR) ###human: what is the mascot when the school is warsaw? ###assistant: SELECT mascot FROM table_name_25 WHERE school = "warsaw"
###context:CREATE TABLE table_name_82 (mascot VARCHAR, county VARCHAR) ###human: what is the mascot when the county is 43 kosciusko? ###assistant: SELECT mascot FROM table_name_82 WHERE county = "43 kosciusko"
###context:CREATE TABLE table_name_36 (county VARCHAR, year_left VARCHAR) ###human: what is the county when the year left is 1998? ###assistant: SELECT county FROM table_name_36 WHERE year_left = "1998"
###context:CREATE TABLE table_name_23 (film VARCHAR, category VARCHAR, lost_to VARCHAR) ###human: which Film has a Category of best actress – musical or comedy, and a Lost to of nicole kidman ( moulin rouge! )? ###assistant: SELECT film FROM table_name_23 WHERE category = "best actress – musical or comedy" AND lost_to = "nicole kidman ( moulin rouge! )"
###context:CREATE TABLE table_name_40 (category VARCHAR, result VARCHAR, lost_to VARCHAR) ###human: which Category has a Result of nominated, and a Lost to of jennifer westfeldt ( kissing jessica stein )? ###assistant: SELECT category FROM table_name_40 WHERE result = "nominated" AND lost_to = "jennifer westfeldt ( kissing jessica stein )"
###context:CREATE TABLE table_name_35 (lost_to VARCHAR, year VARCHAR) ###human: Which the Lost to is in 2000 ###assistant: SELECT lost_to FROM table_name_35 WHERE year = 2000
###context:CREATE TABLE table_name_2 (attendance INTEGER, opponent VARCHAR, opponents VARCHAR) ###human: What is the average attendance for games against the Pittsburgh Steelers when the opponents scored more than 0 points? ###assistant: SELECT AVG(attendance) FROM table_name_2 WHERE opponent = "pittsburgh steelers" AND opponents > 0
###context:CREATE TABLE table_name_8 (team VARCHAR, position VARCHAR, pick VARCHAR) ###human: Who is the team that has a pick less than 154 and an offensive guard position? ###assistant: SELECT team FROM table_name_8 WHERE position = "offensive guard" AND pick < 154
###context:CREATE TABLE table_name_94 (attendance INTEGER, game VARCHAR) ###human: What is the Attendance of Game 24? ###assistant: SELECT SUM(attendance) FROM table_name_94 WHERE game = 24
###context:CREATE TABLE table_name_91 (venue VARCHAR, score_f_a VARCHAR, game VARCHAR) ###human: What is the Venue of Game 41 with a Score F–A of 1–2? ###assistant: SELECT venue FROM table_name_91 WHERE score_f_a = "1–2" AND game = 41
###context:CREATE TABLE table_name_30 (opponents_in_the_final VARCHAR, date VARCHAR) ###human: Who are the opponents in the February 19, 1996 final? ###assistant: SELECT opponents_in_the_final FROM table_name_30 WHERE date = "february 19, 1996"
###context:CREATE TABLE table_name_24 (score_in_the_final VARCHAR, date VARCHAR) ###human: What was the final score on March 22, 1993? ###assistant: SELECT score_in_the_final FROM table_name_24 WHERE date = "march 22, 1993"
###context:CREATE TABLE table_name_57 (outcome VARCHAR, date VARCHAR) ###human: What is the outcome on June 9, 1997? ###assistant: SELECT outcome FROM table_name_57 WHERE date = "june 9, 1997"
###context:CREATE TABLE table_name_50 (school VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR) ###human: What school has an IHSAA Class of aaa, and their mascot is Tiger Cubs? ###assistant: SELECT school FROM table_name_50 WHERE ihsaa_class = "aaa" AND mascot = "tiger cubs"
###context:CREATE TABLE table_name_16 (ihsaa_football_class VARCHAR, county VARCHAR, school VARCHAR) ###human: What is the IHSAA Football Class for county 67 putnam at Greencastle? ###assistant: SELECT ihsaa_football_class FROM table_name_16 WHERE county = "67 putnam" AND school = "greencastle"
###context:CREATE TABLE table_name_27 (school VARCHAR, enrollment VARCHAR, ihsaa_football_class VARCHAR) ###human: What school has more than 533 enrolled and is an IHSAA Football Class of aa? ###assistant: SELECT school FROM table_name_27 WHERE enrollment > 533 AND ihsaa_football_class = "aa"
###context:CREATE TABLE table_name_1 (location VARCHAR, ihsaa_class VARCHAR, enrollment VARCHAR) ###human: Where is the IHSAA Class of aaa school with more than 590 enrolled? ###assistant: SELECT location FROM table_name_1 WHERE ihsaa_class = "aaa" AND enrollment > 590
###context:CREATE TABLE table_name_4 (location VARCHAR, days_held VARCHAR) ###human: Which location has 111 as the days held? ###assistant: SELECT location FROM table_name_4 WHERE days_held = "111"
###context:CREATE TABLE table_name_2 (days_held VARCHAR, reign VARCHAR, wrestlers VARCHAR) ###human: What days held has 1 as the reign with eden black as the wrestlers? ###assistant: SELECT days_held FROM table_name_2 WHERE reign = "1" AND wrestlers = "eden black"
###context:CREATE TABLE table_name_71 (wrestlers VARCHAR, event VARCHAR) ###human: What wrestlers have summer brawl 2006 as the event? ###assistant: SELECT wrestlers FROM table_name_71 WHERE event = "summer brawl 2006"
###context:CREATE TABLE table_name_87 (points INTEGER, laps INTEGER) ###human: What is the average amount of points larger than 154 laps? ###assistant: SELECT AVG(points) FROM table_name_87 WHERE laps > 154
###context:CREATE TABLE table_name_68 (home_team VARCHAR, away_team VARCHAR) ###human: What home team played against Crystal Palace? ###assistant: SELECT home_team FROM table_name_68 WHERE away_team = "crystal palace"
###context:CREATE TABLE table_name_39 (win__percentage INTEGER, record VARCHAR, apps VARCHAR) ###human: What is the lowest win % with a 0-2 record and more than 2 apps? ###assistant: SELECT MIN(win__percentage) FROM table_name_39 WHERE record = "0-2" AND apps > 2
###context:CREATE TABLE table_name_33 (apps INTEGER, rank VARCHAR, win__percentage VARCHAR) ###human: What is the lowest apps for rank 3 and 0% wins? ###assistant: SELECT MIN(apps) FROM table_name_33 WHERE rank = 3 AND win__percentage < 0
###context:CREATE TABLE table_name_87 (artist VARCHAR, peak_position VARCHAR, sales VARCHAR) ###human: What artist had a peak position under 2, and more than 200,000 in sales? ###assistant: SELECT artist FROM table_name_87 WHERE peak_position < 2 AND sales > 200 OFFSET 000
###context:CREATE TABLE table_name_39 (points VARCHAR, place INTEGER) ###human: Which points has place smaller than 2? ###assistant: SELECT points FROM table_name_39 WHERE place < 2
###context:CREATE TABLE table_name_61 (size VARCHAR, school VARCHAR, _number___county VARCHAR, year_joined VARCHAR, ihsaa_class VARCHAR) ###human: What's the size of Centerville in 89 Wayne county with an IHSAA class of AA in the year before 1974? ###assistant: SELECT size FROM table_name_61 WHERE year_joined < 1974 AND ihsaa_class = "aa" AND _number___county = "89 wayne" AND school = "centerville"
###context:CREATE TABLE table_name_66 (year_joined VARCHAR, school VARCHAR) ###human: What's the year that Hagerstown joined? ###assistant: SELECT year_joined FROM table_name_66 WHERE school = "hagerstown"
###context:CREATE TABLE table_name_8 (_number___county VARCHAR, location VARCHAR) ###human: What county is Fountain City? ###assistant: SELECT _number___county FROM table_name_8 WHERE location = "fountain city"
###context:CREATE TABLE table_name_88 (previous_conference VARCHAR, size VARCHAR, location VARCHAR) ###human: What's the previous conference of Fountain City with a size more than 287? ###assistant: SELECT previous_conference FROM table_name_88 WHERE size > 287 AND location = "fountain city"
###context:CREATE TABLE table_name_94 (social_democratic VARCHAR, date_released VARCHAR) ###human: What is the social democrat released on October 10, 1999? ###assistant: SELECT social_democratic FROM table_name_94 WHERE date_released = "october 10, 1999"
###context:CREATE TABLE table_name_82 (green_communist VARCHAR, lead VARCHAR) ###human: What is the green-communist with a 15.5% lead? ###assistant: SELECT green_communist FROM table_name_82 WHERE lead = "15.5%"
###context:CREATE TABLE table_name_33 (left_bloc VARCHAR, socialist VARCHAR) ###human: What is the left bloc with a 49.0% socialist? ###assistant: SELECT left_bloc FROM table_name_33 WHERE socialist = "49.0%"
###context:CREATE TABLE table_name_81 (polling_institute VARCHAR, social_democratic VARCHAR) ###human: Which polling institute has a 30.7% for social democratic? ###assistant: SELECT polling_institute FROM table_name_81 WHERE social_democratic = "30.7%"
###context:CREATE TABLE table_name_7 (week VARCHAR, result VARCHAR) ###human: What is the week with w 31-21 result? ###assistant: SELECT week FROM table_name_7 WHERE result = "w 31-21"
###context:CREATE TABLE table_name_74 (attendance INTEGER, week VARCHAR) ###human: In week 7, what was the average attendance? ###assistant: SELECT AVG(attendance) FROM table_name_74 WHERE week = 7
###context:CREATE TABLE table_name_28 (opponent VARCHAR, date VARCHAR) ###human: Who was the opponent on september 10, 1979? ###assistant: SELECT opponent FROM table_name_28 WHERE date = "september 10, 1979"
###context:CREATE TABLE table_name_16 (date_of_release VARCHAR, title VARCHAR) ###human: When was twenty released? ###assistant: SELECT date_of_release FROM table_name_16 WHERE title = "twenty"
###context:CREATE TABLE table_name_15 (date_of_release VARCHAR, title VARCHAR) ###human: On what date was god & guns released? ###assistant: SELECT date_of_release FROM table_name_15 WHERE title = "god & guns"
###context:CREATE TABLE table_name_93 (billboard_peak VARCHAR, label VARCHAR, date_of_release VARCHAR) ###human: What was the Billboard peak for the album released on September 12, 2000 by sanctuary? ###assistant: SELECT billboard_peak FROM table_name_93 WHERE label = "sanctuary" AND date_of_release = "september 12, 2000"
###context:CREATE TABLE table_name_52 (billboard_peak VARCHAR, title VARCHAR) ###human: Where did god & guns peak on the Billboard? ###assistant: SELECT billboard_peak FROM table_name_52 WHERE title = "god & guns"
###context:CREATE TABLE table_name_95 (billboard_peak VARCHAR, label VARCHAR, date_of_release VARCHAR) ###human: What was the Billboard peak for the album released on February 2, 1976 by MCA? ###assistant: SELECT billboard_peak FROM table_name_95 WHERE label = "mca" AND date_of_release = "february 2, 1976"
###context:CREATE TABLE table_name_31 (venue VARCHAR, opposing_team VARCHAR, status VARCHAR, against VARCHAR) ###human: What venue was the tour match against eastern province played at with more than 0 against? ###assistant: SELECT venue FROM table_name_31 WHERE status = "tour match" AND against > 0 AND opposing_team = "eastern province"
###context:CREATE TABLE table_name_20 (status VARCHAR, against INTEGER) ###human: What is the status of the game where there was more than 22 against? ###assistant: SELECT status FROM table_name_20 WHERE against > 22
###context:CREATE TABLE table_name_41 (game VARCHAR, opponents VARCHAR) ###human: In which game did the opponents score 14 points? ###assistant: SELECT game FROM table_name_41 WHERE opponents = "14"
###context:CREATE TABLE table_name_18 (streak VARCHAR, date VARCHAR) ###human: What was the streak after the game on Dec. 12? ###assistant: SELECT streak FROM table_name_18 WHERE date = "dec. 12"
###context:CREATE TABLE table_name_76 (amt_30__desktop_ VARCHAR, feature VARCHAR) ###human: What's the AMT 3.0 when it has a feature of Vlan Settings for Intel AMT Network Interfaces? ###assistant: SELECT amt_30__desktop_ FROM table_name_76 WHERE feature = "vlan settings for intel amt network interfaces"
###context:CREATE TABLE table_name_5 (silver INTEGER, bronze VARCHAR, rank VARCHAR) ###human: What is the number of silver when bronze is 0, and rank is less than 2? ###assistant: SELECT SUM(silver) FROM table_name_5 WHERE bronze = 0 AND rank < 2
###context:CREATE TABLE table_name_64 (silver INTEGER, total VARCHAR, gold VARCHAR) ###human: What is the silver when the Total is 1, and Gold is 1? ###assistant: SELECT AVG(silver) FROM table_name_64 WHERE total = 1 AND gold = 1
###context:CREATE TABLE table_name_35 (silver VARCHAR, total INTEGER) ###human: What is the number of silver when the total is less than 1? ###assistant: SELECT COUNT(silver) FROM table_name_35 WHERE total < 1
###context:CREATE TABLE table_name_92 (silver INTEGER, rank INTEGER) ###human: What is the largest silver number when the rank is smaller than 1? ###assistant: SELECT MAX(silver) FROM table_name_92 WHERE rank < 1
###context:CREATE TABLE table_name_58 (bronze INTEGER, total INTEGER) ###human: What is the number of bronze when the total is smaller than 1? ###assistant: SELECT AVG(bronze) FROM table_name_58 WHERE total < 1
###context:CREATE TABLE table_name_69 (bronze INTEGER, silver VARCHAR, rank VARCHAR) ###human: What is the highest number of bronze when silver is larger than 0, rank is larger than 3? ###assistant: SELECT MAX(bronze) FROM table_name_69 WHERE silver > 0 AND rank > 3
###context:CREATE TABLE table_name_73 (silver INTEGER, rank VARCHAR, bronze VARCHAR) ###human: What is the lowest number of silvers for countries in rank 12 with more than 0 bronze? ###assistant: SELECT MIN(silver) FROM table_name_73 WHERE rank = "12" AND bronze > 0
###context:CREATE TABLE table_name_43 (silver INTEGER, rank VARCHAR, total VARCHAR) ###human: What is the most number of silvers for teams in rank 5 with more than 6 total medals? ###assistant: SELECT MAX(silver) FROM table_name_43 WHERE rank = "5" AND total > 6
###context:CREATE TABLE table_name_59 (gold INTEGER, total VARCHAR, silver VARCHAR) ###human: What is the fewest number of golds for teams with a total of 3 and fewer than 2 silvers? ###assistant: SELECT MIN(gold) FROM table_name_59 WHERE total = 3 AND silver < 2
###context:CREATE TABLE table_name_60 (wins VARCHAR, percentage_wins VARCHAR, flags VARCHAR) ###human: What's the number of wins when the flags were less than 8 and 52.11% of wins? ###assistant: SELECT COUNT(wins) FROM table_name_60 WHERE percentage_wins = "52.11%" AND flags < 8
###context:CREATE TABLE table_name_90 (flags INTEGER, wins VARCHAR, losses VARCHAR) ###human: What's the most flags that had 473 wins and less than 633 losses? ###assistant: SELECT MAX(flags) FROM table_name_90 WHERE wins = 473 AND losses < 633
###context:CREATE TABLE table_name_77 (wins VARCHAR, club VARCHAR, flags VARCHAR, draws VARCHAR) ###human: How many wins did South Warrnambool have that had more than 6 flags and a draw greater than 10? ###assistant: SELECT wins FROM table_name_77 WHERE flags > 6 AND draws > 10 AND club = "south warrnambool"
###context:CREATE TABLE table_name_8 (losses INTEGER, club VARCHAR, draws VARCHAR) ###human: What are the losses of Warrnambool with a draw less than 19? ###assistant: SELECT AVG(losses) FROM table_name_8 WHERE club = "warrnambool" AND draws < 19
###context:CREATE TABLE table_name_63 (location VARCHAR, rank_final VARCHAR) ###human: What is the Location of the Competition with a Rank-Final of 10? ###assistant: SELECT location FROM table_name_63 WHERE rank_final = "10"
###context:CREATE TABLE table_name_61 (gold INTEGER, rank VARCHAR, silver VARCHAR, nation VARCHAR) ###human: How many gold medals for Bulgaria (BUL) with 2 silvers and a less than 18 rank? ###assistant: SELECT SUM(gold) FROM table_name_61 WHERE silver = 2 AND nation = "bulgaria (bul)" AND rank < 18
###context:CREATE TABLE table_name_35 (bronze INTEGER, silver VARCHAR, rank VARCHAR, nation VARCHAR) ###human: What's the most bronze medals for Great Britain (GBR) with more than 1 silver and ranked more than 6? ###assistant: SELECT MAX(bronze) FROM table_name_35 WHERE rank > 6 AND nation = "great britain (gbr)" AND silver > 1
###context:CREATE TABLE table_name_29 (silver VARCHAR, bronze VARCHAR, gold VARCHAR) ###human: What's the total silver medals having less than 2 gold and 2 bronze? ###assistant: SELECT COUNT(silver) FROM table_name_29 WHERE bronze = 2 AND gold < 2
###context:CREATE TABLE table_name_72 (name VARCHAR, fa_cup VARCHAR, championship VARCHAR, total VARCHAR) ###human: Which Name has a Championship larger than 2, and a Total larger than 4, and an FA Cup larger than 0? ###assistant: SELECT name FROM table_name_72 WHERE championship > 2 AND total > 4 AND fa_cup > 0
###context:CREATE TABLE table_name_1 (video VARCHAR, channel VARCHAR, programming VARCHAR) ###human: Which Video has a Channel smaller than 35.66, and a Programming of nhk world? ###assistant: SELECT video FROM table_name_1 WHERE channel < 35.66 AND programming = "nhk world"
###context:CREATE TABLE table_name_53 (video VARCHAR, psip_short_name VARCHAR) ###human: Which Video has a PSIP Short Name of rt? ###assistant: SELECT video FROM table_name_53 WHERE psip_short_name = "rt"
###context:CREATE TABLE table_name_14 (programming VARCHAR, channel VARCHAR) ###human: Which Programming has a Channel of 35.4? ###assistant: SELECT programming FROM table_name_14 WHERE channel = 35.4
###context:CREATE TABLE table_name_31 (vuelta_wins VARCHAR, country VARCHAR, points VARCHAR) ###human: How many times is the country ireland and points more than 4? ###assistant: SELECT COUNT(vuelta_wins) FROM table_name_31 WHERE country = "ireland" AND points > 4
###context:CREATE TABLE table_name_24 (format VARCHAR, catalog VARCHAR) ###human: What is the format for the MHCP-66 Catalog? ###assistant: SELECT format FROM table_name_24 WHERE catalog = "mhcp-66"
###context:CREATE TABLE table_name_21 (catalog VARCHAR, date VARCHAR) ###human: What Catalog came out on August 20, 1965? ###assistant: SELECT catalog FROM table_name_21 WHERE date = "august 20, 1965"
###context:CREATE TABLE table_name_62 (catalog VARCHAR, format VARCHAR, label VARCHAR) ###human: What is the catalog with an LP Format and under the Simply Vinyl label? ###assistant: SELECT catalog FROM table_name_62 WHERE format = "lp" AND label = "simply vinyl"
###context:CREATE TABLE table_name_77 (date VARCHAR, country VARCHAR, format VARCHAR, label VARCHAR) ###human: What date had a CD format, under Columbia/Legacy from the UK? ###assistant: SELECT date FROM table_name_77 WHERE format = "cd" AND label = "columbia/legacy" AND country = "uk"
###context:CREATE TABLE table_name_20 (country VARCHAR, format VARCHAR, catalog VARCHAR) ###human: What country has an LP format, catalog s 31503? ###assistant: SELECT country FROM table_name_20 WHERE format = "lp" AND catalog = "s 31503"
###context:CREATE TABLE table_name_96 (format VARCHAR, catalog VARCHAR) ###human: What is the format for Catalog CL 2372? ###assistant: SELECT format FROM table_name_96 WHERE catalog = "cl 2372"
###context:CREATE TABLE table_name_61 (event VARCHAR, tournament VARCHAR, year VARCHAR) ###human: What event has european championships as the tournament, with 2006 as the year? ###assistant: SELECT event FROM table_name_61 WHERE tournament = "european championships" AND year = 2006
###context:CREATE TABLE table_name_64 (year INTEGER, tournament VARCHAR) ###human: What average year has international meeting & national championships as the tournament? ###assistant: SELECT AVG(year) FROM table_name_64 WHERE tournament = "international meeting & national championships"
###context:CREATE TABLE table_name_52 (year INTEGER, tournament VARCHAR, points VARCHAR) ###human: What is the lowest year that has hypo-meeting as the tournament, with 8002 as the points? ###assistant: SELECT MIN(year) FROM table_name_52 WHERE tournament = "hypo-meeting" AND points = "8002"
###context:CREATE TABLE table_name_58 (opponent VARCHAR, time VARCHAR) ###human: Who was the opponent in the match that lasted 4:17? ###assistant: SELECT opponent FROM table_name_58 WHERE time = "4:17"
###context:CREATE TABLE table_name_21 (location VARCHAR, round VARCHAR, method VARCHAR) ###human: Where was the match that lasted less than 3 rounds and was won by submission (triangle choke)? ###assistant: SELECT location FROM table_name_21 WHERE round < 3 AND method = "submission (triangle choke)"
###context:CREATE TABLE table_name_55 (event VARCHAR, opponent VARCHAR) ###human: Which event had Carlos Alexandre Pereira as opponent? ###assistant: SELECT event FROM table_name_55 WHERE opponent = "carlos alexandre pereira"
###context:CREATE TABLE table_name_44 (location VARCHAR, res VARCHAR, time VARCHAR) ###human: Where was the match that resulted in a win in 4:16 held? ###assistant: SELECT location FROM table_name_44 WHERE res = "win" AND time = "4:16"
###context:CREATE TABLE table_name_1 (population VARCHAR, median_family_income VARCHAR) ###human: What's the population that has a median family income of $50,553? ###assistant: SELECT COUNT(population) FROM table_name_1 WHERE median_family_income = "$50,553"
###context:CREATE TABLE table_name_58 (rank INTEGER, country VARCHAR) ###human: What is the highest rank for the team of egypt? ###assistant: SELECT MAX(rank) FROM table_name_58 WHERE country = "egypt"
###context:CREATE TABLE table_name_50 (athlete VARCHAR, notes VARCHAR, country VARCHAR) ###human: Who was the athlete from egypt with q in the notes? ###assistant: SELECT athlete FROM table_name_50 WHERE notes = "q" AND country = "egypt"