training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_name_79 (score VARCHAR, date VARCHAR) ###human: What was the Score on 25 May 2007? ###assistant: SELECT score FROM table_name_79 WHERE date = "25 may 2007"
###context:CREATE TABLE table_name_79 (score VARCHAR, date VARCHAR) ###human: What was the score on 10 November 2006? ###assistant: SELECT score FROM table_name_79 WHERE date = "10 november 2006"
###context:CREATE TABLE table_name_92 (partnering VARCHAR, score VARCHAR) ###human: Which Partnering has a Score of 6-3, 4-6, 6-4? ###assistant: SELECT partnering FROM table_name_92 WHERE score = "6-3, 4-6, 6-4"
###context:CREATE TABLE table_name_38 (rank INTEGER, notes VARCHAR, country VARCHAR) ###human: What is the rank for the man from China with notes of QS? ###assistant: SELECT MAX(rank) FROM table_name_38 WHERE notes = "qs" AND country = "china"
###context:CREATE TABLE table_name_16 (rank INTEGER, country VARCHAR) ###human: What is the rank for the competitor from Bulgaria? ###assistant: SELECT MIN(rank) FROM table_name_16 WHERE country = "bulgaria"
###context:CREATE TABLE table_name_62 (athletes VARCHAR, rank VARCHAR, country VARCHAR) ###human: Which athlete is ranked below 5 and is from China? ###assistant: SELECT athletes FROM table_name_62 WHERE rank < 5 AND country = "china"
###context:CREATE TABLE table_name_90 (game VARCHAR, genre VARCHAR) ###human: Which game was a Platformer? ###assistant: SELECT game FROM table_name_90 WHERE genre = "platformer"
###context:CREATE TABLE table_name_98 (developer_s_ VARCHAR, game VARCHAR) ###human: Who was the developer of XCom: Enemy Unknown? ###assistant: SELECT developer_s_ FROM table_name_98 WHERE game = "xcom: enemy unknown"
###context:CREATE TABLE table_name_50 (platform_s_ VARCHAR, game VARCHAR) ###human: Which platform was Red Dead Redemption for? ###assistant: SELECT platform_s_ FROM table_name_50 WHERE game = "red dead redemption"
###context:CREATE TABLE table_name_49 (total INTEGER, egyptian_premier_league VARCHAR, egypt_cup VARCHAR) ###human: What is the highest total for players with under 2 Egyptian Premier League goals and 0 Egypt Cup goals? ###assistant: SELECT MAX(total) FROM table_name_49 WHERE egyptian_premier_league < 2 AND egypt_cup < 0
###context:CREATE TABLE table_name_93 (egypt_cup INTEGER, total VARCHAR, caf_champions_league VARCHAR, egyptian_premier_league VARCHAR) ###human: What is the aveage Egypt Cup value for players with 0 CAF Champions League goals, 6 Egyptian Premier League goals, and totals under 6? ###assistant: SELECT AVG(egypt_cup) FROM table_name_93 WHERE caf_champions_league = 0 AND egyptian_premier_league = 6 AND total < 6
###context:CREATE TABLE table_name_64 (silver VARCHAR, gold VARCHAR, rank VARCHAR) ###human: how many times is gold more than 0 and the rank less than 2? ###assistant: SELECT COUNT(silver) FROM table_name_64 WHERE gold > 0 AND rank < 2
###context:CREATE TABLE table_name_71 (total INTEGER, nation VARCHAR, silver VARCHAR) ###human: what is the highest total when the nation is france and silver is more than 1? ###assistant: SELECT MAX(total) FROM table_name_71 WHERE nation = "france" AND silver > 1
###context:CREATE TABLE table_name_94 (silver INTEGER, nation VARCHAR, gold VARCHAR) ###human: what is the least silver for germany when gold is more than 4? ###assistant: SELECT MIN(silver) FROM table_name_94 WHERE nation = "germany" AND gold > 4
###context:CREATE TABLE table_name_23 (silver VARCHAR, gold VARCHAR, bronze VARCHAR, total VARCHAR, rank VARCHAR) ###human: How many times is the total less than 15, rank less than 5, bronze is 4 and gold smaller than 3? ###assistant: SELECT COUNT(silver) FROM table_name_23 WHERE total < 15 AND rank < 5 AND bronze = 4 AND gold < 3
###context:CREATE TABLE table_name_71 (venue VARCHAR, date VARCHAR) ###human: What venue did the game on september 5, 1998 take place at? ###assistant: SELECT venue FROM table_name_71 WHERE date = "september 5, 1998"
###context:CREATE TABLE table_name_29 (venue VARCHAR, competition VARCHAR, date VARCHAR) ###human: What venue did the 2000 tiger cup take place at on November 10, 2000? ###assistant: SELECT venue FROM table_name_29 WHERE competition = "2000 tiger cup" AND date = "november 10, 2000"
###context:CREATE TABLE table_name_63 (date VARCHAR, score VARCHAR) ###human: What date had a game with a score of 5-4? ###assistant: SELECT date FROM table_name_63 WHERE score = "5-4"
###context:CREATE TABLE table_name_72 (s_barangay INTEGER, area___has__ INTEGER) ###human: What is the total of Barangay with an area larger than 865.13? ###assistant: SELECT SUM(s_barangay) FROM table_name_72 WHERE area___has__ > 865.13
###context:CREATE TABLE table_name_12 (pop_density__per_km2_ INTEGER, district VARCHAR, s_barangay VARCHAR) ###human: What is the lowest population density for the district of Santa Cruz and a Barangay larger than 82? ###assistant: SELECT MIN(pop_density__per_km2_) FROM table_name_12 WHERE district = "santa cruz" AND s_barangay > 82
###context:CREATE TABLE table_name_13 (gold INTEGER, rank VARCHAR, silver VARCHAR) ###human: What is the average number of golds for teams in rank 17 with more than 4 silver? ###assistant: SELECT AVG(gold) FROM table_name_13 WHERE rank = "17" AND silver > 4
###context:CREATE TABLE table_name_88 (total INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR) ###human: What is the average total for teams with under 34 bronzes, 0 silver, and under 14 gold? ###assistant: SELECT AVG(total) FROM table_name_88 WHERE bronze < 34 AND gold < 14 AND silver < 0
###context:CREATE TABLE table_name_54 (gold INTEGER, silver INTEGER) ###human: What is the fewest number of golds for teams with 0 silver? ###assistant: SELECT MIN(gold) FROM table_name_54 WHERE silver < 0
###context:CREATE TABLE table_name_87 (nations VARCHAR, year VARCHAR) ###human: What nations participated in 2007? ###assistant: SELECT nations FROM table_name_87 WHERE year = "2007"
###context:CREATE TABLE table_name_57 (event_type VARCHAR, sport VARCHAR, body VARCHAR, year VARCHAR) ###human: What event type had BODY CMAS in 1980 and underwater hockey? ###assistant: SELECT event_type FROM table_name_57 WHERE body = "cmas" AND year = "1980" AND sport = "underwater hockey"
###context:CREATE TABLE table_name_12 (body VARCHAR, event_type VARCHAR, sport VARCHAR) ###human: What body is at the World Championship for Underwater Target shooting? ###assistant: SELECT body FROM table_name_12 WHERE event_type = "world championship" AND sport = "underwater target shooting"
###context:CREATE TABLE table_name_43 (body VARCHAR, year VARCHAR) ###human: What body participated in 1973? ###assistant: SELECT body FROM table_name_43 WHERE year = "1973"
###context:CREATE TABLE table_name_76 (time VARCHAR, event VARCHAR) ###human: What was the record setting time in the 800m freestyle? ###assistant: SELECT time FROM table_name_76 WHERE event = "800m freestyle"
###context:CREATE TABLE table_name_26 (power VARCHAR, class VARCHAR, frequency VARCHAR) ###human: What power has A as the class, and 93.7 as the frequency? ###assistant: SELECT power FROM table_name_26 WHERE class = "a" AND frequency = "93.7"
###context:CREATE TABLE table_name_77 (city_of_license VARCHAR, identifier VARCHAR) ###human: What city of license has cbon-fm-11 as the identifier? ###assistant: SELECT city_of_license FROM table_name_77 WHERE identifier = "cbon-fm-11"
###context:CREATE TABLE table_name_17 (power VARCHAR, city_of_license VARCHAR) ###human: What power has thunder bay as the city of license? ###assistant: SELECT power FROM table_name_17 WHERE city_of_license = "thunder bay"
###context:CREATE TABLE table_name_98 (identifier VARCHAR, power VARCHAR) ###human: What identifier has 100000 watts as the power? ###assistant: SELECT identifier FROM table_name_98 WHERE power = "100000 watts"
###context:CREATE TABLE table_name_92 (identifier VARCHAR, frequency VARCHAR) ###human: What identifier has 90.3 as the frequency? ###assistant: SELECT identifier FROM table_name_92 WHERE frequency = "90.3"
###context:CREATE TABLE table_name_28 (class VARCHAR, identifier VARCHAR) ###human: What class has cbon-fm-23 as the identifier? ###assistant: SELECT class FROM table_name_28 WHERE identifier = "cbon-fm-23"
###context:CREATE TABLE table_name_74 (total VARCHAR, gold VARCHAR, bronze VARCHAR, nation VARCHAR) ###human: What is the total number of medals for West Germany with more than 1 bronze medal and more than 2 gold medals? ###assistant: SELECT COUNT(total) FROM table_name_74 WHERE bronze > 1 AND nation = "west germany" AND gold > 2
###context:CREATE TABLE table_name_87 (rank VARCHAR, nation VARCHAR) ###human: What is Denmark's rank? ###assistant: SELECT rank FROM table_name_87 WHERE nation = "denmark"
###context:CREATE TABLE table_name_70 (country VARCHAR, notes VARCHAR, athlete VARCHAR) ###human: What country did ekaterina karsten row for with fa listed under notes? ###assistant: SELECT country FROM table_name_70 WHERE notes = "fa" AND athlete = "ekaterina karsten"
###context:CREATE TABLE table_name_37 (time VARCHAR, country VARCHAR) ###human: What time was the race for the country of france? ###assistant: SELECT time FROM table_name_37 WHERE country = "france"
###context:CREATE TABLE table_name_10 (time VARCHAR, notes VARCHAR, country VARCHAR) ###human: What time was the race for the country of france with fb listed under notes? ###assistant: SELECT time FROM table_name_10 WHERE notes = "fb" AND country = "france"
###context:CREATE TABLE table_name_10 (rank INTEGER, country VARCHAR) ###human: What is the sum of the ranks for bulgaria? ###assistant: SELECT SUM(rank) FROM table_name_10 WHERE country = "bulgaria"
###context:CREATE TABLE table_name_31 (rank VARCHAR, notes VARCHAR, country VARCHAR) ###human: What is the rank of the new zealand team that had fb listed under notes? ###assistant: SELECT rank FROM table_name_31 WHERE notes = "fb" AND country = "new zealand"
###context:CREATE TABLE table_name_42 (position VARCHAR, pick VARCHAR) ###human: Which Position has a Pick of 74? ###assistant: SELECT position FROM table_name_42 WHERE pick = 74
###context:CREATE TABLE table_name_86 (team VARCHAR, position VARCHAR) ###human: Which Team has a Position of linebacker? ###assistant: SELECT team FROM table_name_86 WHERE position = "linebacker"
###context:CREATE TABLE table_name_87 (team VARCHAR, college VARCHAR) ###human: What is the Team for Stanford College? ###assistant: SELECT team FROM table_name_87 WHERE college = "stanford"
###context:CREATE TABLE table_name_2 (pick VARCHAR, college VARCHAR) ###human: What Pick does the College Southeastern Louisiana have? ###assistant: SELECT pick FROM table_name_2 WHERE college = "southeastern louisiana"
###context:CREATE TABLE table_name_50 (gold VARCHAR, total VARCHAR, bronze VARCHAR) ###human: Can you tell me the Gold that has the Total larger than 2, and the Bronze smaller than 1? ###assistant: SELECT gold FROM table_name_50 WHERE total > 2 AND bronze < 1
###context:CREATE TABLE table_name_68 (nation VARCHAR, bronze VARCHAR, gold VARCHAR) ###human: Can you tell me the Nation that has the Bronze of 1, and the Gold of 0? ###assistant: SELECT nation FROM table_name_68 WHERE bronze = 1 AND gold = 0
###context:CREATE TABLE table_name_15 (total INTEGER, silver VARCHAR, bronze VARCHAR) ###human: Can you tell me the average Total that has the Silver larger than 1, and the Bronze smaller than 8? ###assistant: SELECT AVG(total) FROM table_name_15 WHERE silver > 1 AND bronze < 8
###context:CREATE TABLE table_name_99 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR) ###human: What was the highest number of bronze medals when there were a total of 4 medals, 1 silver medals, and less than 2 medals? ###assistant: SELECT MAX(bronze) FROM table_name_99 WHERE total = 4 AND silver = 1 AND gold < 2
###context:CREATE TABLE table_name_6 (pommel_horse INTEGER, rings VARCHAR, team_total VARCHAR) ###human: Count the Pommel Horse that has Rings smaller than 59.85 and a Team Total larger than 361.2? ###assistant: SELECT SUM(pommel_horse) FROM table_name_6 WHERE rings < 59.85 AND team_total > 361.2
###context:CREATE TABLE table_name_61 (parallel_bars INTEGER, country VARCHAR, vault VARCHAR) ###human: Name the highest Parallel Bars of the united states with a Vault smaller than 63.85? ###assistant: SELECT MAX(parallel_bars) FROM table_name_61 WHERE country = "united states" AND vault < 63.85
###context:CREATE TABLE table_name_4 (horizontal_bar INTEGER, country VARCHAR, rings VARCHAR) ###human: Name the highest Horizontal Bar which is in france and Rings smaller than 58.975? ###assistant: SELECT MAX(horizontal_bar) FROM table_name_4 WHERE country = "france" AND rings < 58.975
###context:CREATE TABLE table_name_20 (artist VARCHAR, televote_sms VARCHAR) ###human: who is the artist when the televote/sms is 3.20%? ###assistant: SELECT artist FROM table_name_20 WHERE televote_sms = "3.20%"
###context:CREATE TABLE table_name_47 (place INTEGER, televote_sms VARCHAR) ###human: what is the place when the televote/sms is 2.39%? ###assistant: SELECT SUM(place) FROM table_name_47 WHERE televote_sms = "2.39%"
###context:CREATE TABLE table_name_54 (draw VARCHAR, televote_sms VARCHAR, place VARCHAR) ###human: how many times was the televote/sms 2.39% and the place more than 9? ###assistant: SELECT COUNT(draw) FROM table_name_54 WHERE televote_sms = "2.39%" AND place > 9
###context:CREATE TABLE table_name_69 (release_date VARCHAR, production_num VARCHAR, director VARCHAR) ###human: Which Release date has a Production Num larger than 5888, and a Director of hugh harman and friz freleng? ###assistant: SELECT release_date FROM table_name_69 WHERE production_num > 5888 AND director = "hugh harman and friz freleng"
###context:CREATE TABLE table_name_93 (production_num INTEGER, title VARCHAR) ###human: How many production numbers have a Title of bosko in dutch? ###assistant: SELECT SUM(production_num) FROM table_name_93 WHERE title = "bosko in dutch"
###context:CREATE TABLE table_name_92 (release_date VARCHAR, director VARCHAR, production_num VARCHAR) ###human: Which Release date has a Director of tom palmer, and a Production Num larger than 5956? ###assistant: SELECT release_date FROM table_name_92 WHERE director = "tom palmer" AND production_num > 5956
###context:CREATE TABLE table_name_9 (goals VARCHAR, years_at_club VARCHAR, debut_year VARCHAR) ###human: How many Goals have Years at club of 1961–1966, and a Debut year larger than 1961? ###assistant: SELECT COUNT(goals) FROM table_name_9 WHERE years_at_club = "1961–1966" AND debut_year > 1961
###context:CREATE TABLE table_name_76 (debut_year INTEGER, games VARCHAR, goals VARCHAR, years_at_club VARCHAR) ###human: Which Debut year has Goals of 0, and Years at club of 1963, and Games larger than 5? ###assistant: SELECT AVG(debut_year) FROM table_name_76 WHERE goals = 0 AND years_at_club = "1963" AND games > 5
###context:CREATE TABLE table_name_44 (debut_year INTEGER, player VARCHAR, games VARCHAR) ###human: Which Debut year has a Player of bob hayton, and Games smaller than 2? ###assistant: SELECT AVG(debut_year) FROM table_name_44 WHERE player = "bob hayton" AND games < 2
###context:CREATE TABLE table_name_38 (name VARCHAR, sport VARCHAR, event VARCHAR) ###human: What is the name of the player who competed in the Women's Individual Class 3 in Table Tennis? ###assistant: SELECT name FROM table_name_38 WHERE sport = "table tennis" AND event = "women's individual class 3"
###context:CREATE TABLE table_name_73 (date VARCHAR, event VARCHAR) ###human: What was the date of the Women's Individual Class 3? ###assistant: SELECT date FROM table_name_73 WHERE event = "women's individual class 3"
###context:CREATE TABLE table_name_88 (event VARCHAR, name VARCHAR) ###human: What event did Rastislav Turecek participate in? ###assistant: SELECT event FROM table_name_88 WHERE name = "rastislav turecek"
###context:CREATE TABLE table_name_16 (sport VARCHAR, name VARCHAR) ###human: What sport did Miroslav Jambor Richard Csejtey participate in? ###assistant: SELECT sport FROM table_name_16 WHERE name = "miroslav jambor richard csejtey"
###context:CREATE TABLE table_name_7 (artist VARCHAR, draw VARCHAR) ###human: Which Artist has a Draw of 6? ###assistant: SELECT artist FROM table_name_7 WHERE draw = 6
###context:CREATE TABLE table_name_20 (song VARCHAR, language VARCHAR, draw VARCHAR, points VARCHAR) ###human: Which Song has a Draw smaller than 7, and Points larger than 41, and a Language of german? ###assistant: SELECT song FROM table_name_20 WHERE draw < 7 AND points > 41 AND language = "german"
###context:CREATE TABLE table_name_15 (result VARCHAR, year INTEGER) ###human: What was the result for the years after 2001? ###assistant: SELECT result FROM table_name_15 WHERE year > 2001
###context:CREATE TABLE table_name_83 (nominee_s_ VARCHAR, year VARCHAR) ###human: Who was the nominee for 2005? ###assistant: SELECT nominee_s_ FROM table_name_83 WHERE year = 2005
###context:CREATE TABLE table_name_44 (gp_gs VARCHAR, avg_g VARCHAR, receptions VARCHAR, long VARCHAR) ###human: what is the gp-gs when the receptions is more than 4, long is 55 and avg/g is 151? ###assistant: SELECT gp_gs FROM table_name_44 WHERE receptions > 4 AND long = 55 AND avg_g = 151
###context:CREATE TABLE table_name_1 (name VARCHAR, avg_g VARCHAR) ###human: what is the name when avg/g is 13.7? ###assistant: SELECT name FROM table_name_1 WHERE avg_g = 13.7
###context:CREATE TABLE table_name_82 (receptions VARCHAR, avg_g VARCHAR) ###human: How many times is avg/g 2? ###assistant: SELECT COUNT(receptions) FROM table_name_82 WHERE avg_g = 2
###context:CREATE TABLE table_name_75 (avg_g INTEGER, name VARCHAR, long VARCHAR) ###human: what is the avg/g for john conner when long is less than 25? ###assistant: SELECT SUM(avg_g) FROM table_name_75 WHERE name = "john conner" AND long < 25
###context:CREATE TABLE table_name_25 (conf VARCHAR, original_nfl_team VARCHAR) ###human: What conference did the player originally from the denver broncos play in? ###assistant: SELECT conf FROM table_name_25 WHERE original_nfl_team = "denver broncos"
###context:CREATE TABLE table_name_72 (player VARCHAR, college VARCHAR) ###human: Who was the player from texas southern? ###assistant: SELECT player FROM table_name_72 WHERE college = "texas southern"
###context:CREATE TABLE table_name_44 (conf VARCHAR, pos VARCHAR) ###human: What conference did the player with the position of rb play in? ###assistant: SELECT conf FROM table_name_44 WHERE pos = "rb"
###context:CREATE TABLE table_name_86 (original_nfl_team VARCHAR, conf VARCHAR) ###human: What was the original nfl team that the player was in from the midwestern conference? ###assistant: SELECT original_nfl_team FROM table_name_86 WHERE conf = "midwestern"
###context:CREATE TABLE table_name_86 (pos VARCHAR, college VARCHAR) ###human: What position did athlete play from Tennessee state? ###assistant: SELECT pos FROM table_name_86 WHERE college = "tennessee state"
###context:CREATE TABLE table_name_95 (affected_area_codes VARCHAR, effective_date VARCHAR) ###human: Which Affected area codes have an Effective date of august 30, 2014? ###assistant: SELECT affected_area_codes FROM table_name_95 WHERE effective_date = "august 30, 2014"
###context:CREATE TABLE table_name_39 (airing_date VARCHAR, number_of_episodes VARCHAR, genre VARCHAR) ###human: Which Airing date has a Number of episodes larger than 20, and a Genre of modern drama? ###assistant: SELECT airing_date FROM table_name_39 WHERE number_of_episodes > 20 AND genre = "modern drama"
###context:CREATE TABLE table_name_92 (genre VARCHAR, english_title__chinese_title_ VARCHAR) ###human: Which Genre has an English title (Chinese title) of the romance of the white hair maiden 白髮魔女傳? ###assistant: SELECT genre FROM table_name_92 WHERE english_title__chinese_title_ = "the romance of the white hair maiden 白髮魔女傳"
###context:CREATE TABLE table_name_26 (grand_finalist VARCHAR, grand_finalists VARCHAR) ###human: who is the grand finalist when the grand finalists are jonathan loh, peterson poon, nathan santos? ###assistant: SELECT grand_finalist FROM table_name_26 WHERE grand_finalists = "jonathan loh, peterson poon, nathan santos"
###context:CREATE TABLE table_name_40 (total INTEGER, gold VARCHAR, rank VARCHAR) ###human: What is the highest total number of medals for a team ranked smaller than 1 and had 20 gold medals? ###assistant: SELECT MAX(total) FROM table_name_40 WHERE gold = 20 AND rank < 1
###context:CREATE TABLE table_name_31 (nation VARCHAR, gold VARCHAR, total VARCHAR) ###human: What is the nation that had more than 1 gold medal and a total of 62 medals? ###assistant: SELECT nation FROM table_name_31 WHERE gold > 1 AND total = 62
###context:CREATE TABLE table_name_62 (total INTEGER, silver VARCHAR, gold VARCHAR) ###human: What is the highest total medals when there were 0 gold medals and 1 silver? ###assistant: SELECT MAX(total) FROM table_name_62 WHERE silver = 1 AND gold < 0
###context:CREATE TABLE table_name_41 (world_record VARCHAR) ###human: What's the 123kg of the Total world record? ###assistant: SELECT 123 AS kg FROM table_name_41 WHERE world_record = "total"
###context:CREATE TABLE table_name_55 (name VARCHAR, constituency_number VARCHAR) ###human: What is the name for the assembly segment with a constituency number of 214? ###assistant: SELECT name FROM table_name_55 WHERE constituency_number = "214"
###context:CREATE TABLE table_name_20 (district VARCHAR, name VARCHAR) ###human: What district has an assembly segment named mahidpur? ###assistant: SELECT district FROM table_name_20 WHERE name = "mahidpur"
###context:CREATE TABLE table_name_39 (team VARCHAR, wrestler VARCHAR) ###human: Who is Doug Basham's team? ###assistant: SELECT team FROM table_name_39 WHERE wrestler = "doug basham"
###context:CREATE TABLE table_name_71 (elimination VARCHAR, wrestler VARCHAR) ###human: What's Jorge Santana's elimination? ###assistant: SELECT elimination FROM table_name_71 WHERE wrestler = "jorge santana"
###context:CREATE TABLE table_name_6 (wrestler VARCHAR, elimination VARCHAR) ###human: Who's the wrestler with an elimination of 1? ###assistant: SELECT wrestler FROM table_name_6 WHERE elimination = "1"
###context:CREATE TABLE table_name_61 (eliminated_by VARCHAR, elimination VARCHAR) ###human: Who's the eliminated by when the elimination was 1? ###assistant: SELECT eliminated_by FROM table_name_61 WHERE elimination = "1"
###context:CREATE TABLE table_name_94 (date VARCHAR, week VARCHAR, result VARCHAR) ###human: What is the date where the result was L 27-10 in a week before week 9? ###assistant: SELECT date FROM table_name_94 WHERE week < 9 AND result = "l 27-10"
###context:CREATE TABLE table_name_91 (draw INTEGER, jury VARCHAR, televote VARCHAR) ###human: What sum of draw had more than 22 in Jury and a Televote of 130? ###assistant: SELECT SUM(draw) FROM table_name_91 WHERE jury > 22 AND televote = 130
###context:CREATE TABLE table_name_86 (jury INTEGER, place VARCHAR, total VARCHAR) ###human: What is the total of the jury that is 2nd place and the total is larger than 190? ###assistant: SELECT SUM(jury) FROM table_name_86 WHERE place = "2nd" AND total > 190
###context:CREATE TABLE table_name_81 (l_100km_combined INTEGER, mpg_uk_extra_urban VARCHAR, l_100km_urban__cold_ VARCHAR, mpg_uk_combined VARCHAR) ###human: What's the average L/km combines when the L/100km Urban is 13.9, the mpg-UK combined is more than 28.5 and the mpg-UK extra urban is less than 38.7? ###assistant: SELECT AVG(l_100km_combined) FROM table_name_81 WHERE l_100km_urban__cold_ = 13.9 AND mpg_uk_combined > 28.5 AND mpg_uk_extra_urban < 38.7
###context:CREATE TABLE table_name_42 (mpg_uk_combined INTEGER, l_100km_urban__cold_ VARCHAR, mpg_uk_urban__cold_ VARCHAR, l_100km_extra_urban VARCHAR) ###human: What's the least mpg-UK combined when the mpg-UK urban is 25.4, the L/100km extra urban is less than 6.9 and the L/100km urban is more than 11.1? ###assistant: SELECT MIN(mpg_uk_combined) FROM table_name_42 WHERE mpg_uk_urban__cold_ = 25.4 AND l_100km_extra_urban < 6.9 AND l_100km_urban__cold_ > 11.1
###context:CREATE TABLE table_name_20 (co_2_g_km VARCHAR, mpg_uk_combined VARCHAR, l_100km_urban__cold_ VARCHAR, fuel_type VARCHAR, manufacturer VARCHAR) ###human: What's the CO2 g/km of a Fiat running on diesel with the L/100km urban more than 6.3 and an mpg-UK combined of 43.5? ###assistant: SELECT COUNT(co_2_g_km) FROM table_name_20 WHERE fuel_type = "diesel" AND manufacturer = "fiat" AND l_100km_urban__cold_ > 6.3 AND mpg_uk_combined = 43.5
###context:CREATE TABLE table_name_52 (l_100km_extra_urban VARCHAR, mpg_us_combined VARCHAR, fuel_type VARCHAR, mpg_uk_combined VARCHAR, l_100km_combined VARCHAR) ###human: What's the total L/100km extra urban fueled by diesel, when the mpg-UK combines is more than 19.2, mpg-US is less than 50 and the L/100m combined is less than 5.7? ###assistant: SELECT COUNT(l_100km_extra_urban) FROM table_name_52 WHERE mpg_uk_combined > 19.2 AND l_100km_combined < 5.7 AND fuel_type = "diesel" AND mpg_us_combined < 50
###context:CREATE TABLE table_name_53 (engine_capacity INTEGER, mpg_us_urban VARCHAR, mpg_uk_urban__cold_ VARCHAR, mpg_uk_extra_urban VARCHAR) ###human: What's the engine capacity when the mpg-UK urban is less than 12.2, the mpg-UK extra urban is less than 18.8 and the mpg-US turban is less than 7.2? ###assistant: SELECT SUM(engine_capacity) FROM table_name_53 WHERE mpg_uk_urban__cold_ < 12.2 AND mpg_uk_extra_urban < 18.8 AND mpg_us_urban < 7.2