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