question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
Which TD-INT has an Effic larger than 111.4? | CREATE TABLE table_name_87 (td_int VARCHAR, effic INTEGER) | SELECT td_int FROM table_name_87 WHERE effic > 111.4 |
What is the total number of losses with less than 6 wins and less than 0 draws? | CREATE TABLE table_name_94 (losses VARCHAR, wins VARCHAR, draws VARCHAR) | SELECT COUNT(losses) FROM table_name_94 WHERE wins < 6 AND draws < 0 |
What is the average number of against with less than 10 losses, more than 0 draws, and more than 7 wins? | CREATE TABLE table_name_74 (against INTEGER, wins VARCHAR, losses VARCHAR, draws VARCHAR) | SELECT AVG(against) FROM table_name_74 WHERE losses < 10 AND draws > 0 AND wins > 7 |
What is the total number of byes with more than 0 losses and 1526 against? | CREATE TABLE table_name_31 (byes VARCHAR, losses VARCHAR, against VARCHAR) | SELECT COUNT(byes) FROM table_name_31 WHERE losses > 0 AND against = 1526 |
What is the lowest number of draws with more than 2 byes? | CREATE TABLE table_name_81 (draws INTEGER, byes INTEGER) | SELECT MIN(draws) FROM table_name_81 WHERE byes > 2 |
What is the lowest against of the wimmera fl warrack eagles, which have less than 16 wins? | CREATE TABLE table_name_33 (against INTEGER, wins VARCHAR, wimmera_fl VARCHAR) | SELECT MIN(against) FROM table_name_33 WHERE wins < 16 AND wimmera_fl = "warrack eagles" |
How many races did the German racer that won less than 10 races ride? | CREATE TABLE table_name_94 (races_ridden VARCHAR, nationality VARCHAR, races_won VARCHAR) | SELECT COUNT(races_ridden) FROM table_name_94 WHERE nationality = "german" AND races_won < 10 |
What is the average win as a percentage of German racer Rudi Altig, who has ridden in over 79 races? | CREATE TABLE table_name_50 (win_average INTEGER, races_ridden VARCHAR, nationality VARCHAR, name VARCHAR) | SELECT AVG(win_average) FROM table_name_50 WHERE nationality = "german" AND name = "rudi altig" AND races_ridden > 79 |
what is the highest top-5 when cuts made is more than 39? | CREATE TABLE table_name_40 (top_5 INTEGER, cuts_made INTEGER) | SELECT MAX(top_5) FROM table_name_40 WHERE cuts_made > 39 |
what is the highest events when wins is more than 0 and cuts made is more than 14? | CREATE TABLE table_name_64 (events INTEGER, wins VARCHAR, cuts_made VARCHAR) | SELECT MAX(events) FROM table_name_64 WHERE wins > 0 AND cuts_made > 14 |
what is the highest top-5 when wins is more than 1? | CREATE TABLE table_name_97 (top_5 INTEGER, wins INTEGER) | SELECT MAX(top_5) FROM table_name_97 WHERE wins > 1 |
How many times is the tournament the masters tournament and the top-10 is less than 2? | CREATE TABLE table_name_6 (top_5 VARCHAR, tournament VARCHAR, top_10 VARCHAR) | SELECT COUNT(top_5) FROM table_name_6 WHERE tournament = "masters tournament" AND top_10 < 2 |
What ran has noel patterson as the rider? | CREATE TABLE table_name_40 (rank VARCHAR, rider VARCHAR) | SELECT rank FROM table_name_40 WHERE rider = "noel patterson" |
What time has jules croft as the rider? | CREATE TABLE table_name_15 (time VARCHAR, rider VARCHAR) | SELECT time FROM table_name_15 WHERE rider = "jules croft" |
What team has adam barclay as the rider? | CREATE TABLE table_name_79 (team VARCHAR, rider VARCHAR) | SELECT team FROM table_name_79 WHERE rider = "adam barclay" |
What Round has h/a hurst | CREATE TABLE table_name_26 (round VARCHAR, h___a VARCHAR) | SELECT round FROM table_name_26 WHERE h___a = "hurst" |
what game ended f-a with a round of round 1 replay | CREATE TABLE table_name_63 (result_f___a VARCHAR, round VARCHAR) | SELECT result_f___a FROM table_name_63 WHERE round = "round 1 replay" |
what is the h/a round of round 2 | CREATE TABLE table_name_34 (h___a VARCHAR, round VARCHAR) | SELECT h___a FROM table_name_34 WHERE round = "round 2" |
What was the Role/Episode after 2006 with Ellen Burstyn as a recipient and nominee? | CREATE TABLE table_name_21 (role_episode VARCHAR, year VARCHAR, recipients_and_nominees VARCHAR) | SELECT role_episode FROM table_name_21 WHERE year > 2006 AND recipients_and_nominees = "ellen burstyn" |
For which Category was Outstanding Main Title Design a Recipient and nominee? | CREATE TABLE table_name_71 (category VARCHAR, recipients_and_nominees VARCHAR) | SELECT category FROM table_name_71 WHERE recipients_and_nominees = "outstanding main title design" |
Which Category was from before 2009 with a Role/Episode of Libby Goldstein and Junie Lowry-Johnson? | CREATE TABLE table_name_60 (category VARCHAR, year VARCHAR, role_episode VARCHAR) | SELECT category FROM table_name_60 WHERE year < 2009 AND role_episode = "libby goldstein and junie lowry-johnson" |
Which Category were Libby Goldstein and Junie Lowry-Johnson recipients and nominees for? | CREATE TABLE table_name_50 (category VARCHAR, recipients_and_nominees VARCHAR) | SELECT category FROM table_name_50 WHERE recipients_and_nominees = "libby goldstein and junie lowry-johnson" |
what is the highest runners when the jockey is frankie dettori and the placing is higher than 1? | CREATE TABLE table_name_68 (runners INTEGER, jockey VARCHAR, placing VARCHAR) | SELECT MAX(runners) FROM table_name_68 WHERE jockey = "frankie dettori" AND placing > 1 |
what is the race when the jockey is frankie dettori, the margin is more than 3 and the course is yarmouth? | CREATE TABLE table_name_48 (race VARCHAR, course VARCHAR, jockey VARCHAR, margin VARCHAR) | SELECT race FROM table_name_48 WHERE jockey = "frankie dettori" AND margin > 3 AND course = "yarmouth" |
Who is the Partner in the match with a Score of 6-4, 2-6, 7-6? | CREATE TABLE table_name_52 (partnering VARCHAR, score VARCHAR) | SELECT partnering FROM table_name_52 WHERE score = "6-4, 2-6, 7-6" |
what is the competition when the result is won and the date is september 13, 1996? | CREATE TABLE table_name_87 (competition VARCHAR, result VARCHAR, date VARCHAR) | SELECT competition FROM table_name_87 WHERE result = "won" AND date = "september 13, 1996" |
what is the date when the competition is 1996 tiger cup and the result is drew? | CREATE TABLE table_name_60 (date VARCHAR, competition VARCHAR, result VARCHAR) | SELECT date FROM table_name_60 WHERE competition = "1996 tiger cup" AND result = "drew" |
what is the score when the competition is 1995 southeast asian games? | CREATE TABLE table_name_1 (score VARCHAR, competition VARCHAR) | SELECT score FROM table_name_1 WHERE competition = "1995 southeast asian games" |
what is the result when the venue is singapore on september 8, 1996? | CREATE TABLE table_name_37 (result VARCHAR, venue VARCHAR, date VARCHAR) | SELECT result FROM table_name_37 WHERE venue = "singapore" AND date = "september 8, 1996" |
what is the competition when the result is won and the score is 8-0? | CREATE TABLE table_name_11 (competition VARCHAR, result VARCHAR, score VARCHAR) | SELECT competition FROM table_name_11 WHERE result = "won" AND score = "8-0" |
Waht laps have points smaller than 1, and a team of dale coyne racing, and the grid larger than 13? | CREATE TABLE table_name_87 (laps VARCHAR, grid VARCHAR, points VARCHAR, team VARCHAR) | SELECT laps FROM table_name_87 WHERE points < 1 AND team = "dale coyne racing" AND grid > 13 |
What is the total number of laps for a team of team player's, and has a grid of 9, and points larger than 10? | CREATE TABLE table_name_12 (laps VARCHAR, points VARCHAR, team VARCHAR, grid VARCHAR) | SELECT COUNT(laps) FROM table_name_12 WHERE team = "team player's" AND grid = 9 AND points > 10 |
What is the lowest points for a time/retired of +30.7 secs, and laps smaller than 165? | CREATE TABLE table_name_70 (points INTEGER, time_retired VARCHAR, laps VARCHAR) | SELECT MIN(points) FROM table_name_70 WHERE time_retired = "+30.7 secs" AND laps < 165 |
Who was the team 2 in the game with a team 1 of Liege Basket? | CREATE TABLE table_name_88 (team__number2 VARCHAR, team__number1 VARCHAR) | SELECT team__number2 FROM table_name_88 WHERE team__number1 = "liege basket" |
What was the 2nd leg score in the matchup with a team 2 of KK Borac? | CREATE TABLE table_name_77 (team__number2 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_77 WHERE team__number2 = "kk borac" |
What are the serial numbers for the locomotives of Class 4-8-4 β oooooooo β northern? | CREATE TABLE table_name_28 (serial_numbers VARCHAR, class VARCHAR) | SELECT serial_numbers FROM table_name_28 WHERE class = "4-8-4 β oooooooo β northern" |
What is the fleet number for the model with Serial number 68056? | CREATE TABLE table_name_27 (fleet_number_s_ VARCHAR, serial_numbers VARCHAR) | SELECT fleet_number_s_ FROM table_name_27 WHERE serial_numbers = "68056" |
What is the serial number of the model made in 1930? | CREATE TABLE table_name_82 (serial_numbers VARCHAR, year_made VARCHAR) | SELECT serial_numbers FROM table_name_82 WHERE year_made = "1930" |
What is the wheel arrangement for the model that was retired in 1955? | CREATE TABLE table_name_75 (wheel_arrangement VARCHAR, year_s__retired VARCHAR) | SELECT wheel_arrangement FROM table_name_75 WHERE year_s__retired = "1955" |
What is the lowest number of matches that has a Clubs of 46 β 32? | CREATE TABLE table_name_99 (matches INTEGER, clubs VARCHAR) | SELECT MIN(matches) FROM table_name_99 WHERE clubs = "46 β 32" |
What is the highest number of matches that has a round of Third Round? | CREATE TABLE table_name_22 (matches INTEGER, round VARCHAR) | SELECT MAX(matches) FROM table_name_22 WHERE round = "third round" |
What is the prize money for the final round? | CREATE TABLE table_name_58 (prize_money VARCHAR, round VARCHAR) | SELECT prize_money FROM table_name_58 WHERE round = "final" |
What is the date for the row with a new entries this round of 44? | CREATE TABLE table_name_71 (date VARCHAR, new_entries_this_round VARCHAR) | SELECT date FROM table_name_71 WHERE new_entries_this_round = "44" |
Which Against has Wins of 11, and Losses smaller than 7? | CREATE TABLE table_name_97 (against INTEGER, wins VARCHAR, losses VARCHAR) | SELECT AVG(against) FROM table_name_97 WHERE wins = 11 AND losses < 7 |
Which Draws have Losses larger than 8, and a Hampden FL of terang-mortlake? | CREATE TABLE table_name_18 (draws VARCHAR, losses VARCHAR, hampden_fl VARCHAR) | SELECT draws FROM table_name_18 WHERE losses > 8 AND hampden_fl = "terang-mortlake" |
Which Byes have Losses smaller than 4? | CREATE TABLE table_name_38 (byes INTEGER, losses INTEGER) | SELECT AVG(byes) FROM table_name_38 WHERE losses < 4 |
What's the total draws when the losses are less than 10, less than 2 byes, and 13 wins? | CREATE TABLE table_name_39 (draws VARCHAR, byes VARCHAR, losses VARCHAR, wins VARCHAR) | SELECT COUNT(draws) FROM table_name_39 WHERE losses < 10 AND wins = 13 AND byes < 2 |
What's the total draws for Ararat when the byes are less than 2? | CREATE TABLE table_name_97 (draws INTEGER, wimmera_fl VARCHAR, byes VARCHAR) | SELECT SUM(draws) FROM table_name_97 WHERE wimmera_fl = "ararat" AND byes < 2 |
What's the total losses when there are 8 wins and less than 2 byes? | CREATE TABLE table_name_91 (losses INTEGER, wins VARCHAR, byes VARCHAR) | SELECT SUM(losses) FROM table_name_91 WHERE wins = 8 AND byes < 2 |
What's the least losses for Horsham Saints with more than 13 wins and less than 1211 against? | CREATE TABLE table_name_24 (losses INTEGER, wins VARCHAR, against VARCHAR, wimmera_fl VARCHAR) | SELECT MIN(losses) FROM table_name_24 WHERE against < 1211 AND wimmera_fl = "horsham saints" AND wins > 13 |
What are the draws when the losses are less than 1? | CREATE TABLE table_name_30 (draws INTEGER, losses INTEGER) | SELECT SUM(draws) FROM table_name_30 WHERE losses < 1 |
What are the amount of wins when the draws are less than 0 and the against is 1348? | CREATE TABLE table_name_82 (wins INTEGER, against VARCHAR, draws VARCHAR) | SELECT MIN(wins) FROM table_name_82 WHERE against = 1348 AND draws < 0 |
What was the total city area for vehari city with a serial number bigger than 36? | CREATE TABLE table_name_1 (city_area_km_2__ VARCHAR, headquartered_city VARCHAR, serial_no VARCHAR) | SELECT COUNT(city_area_km_2__) FROM table_name_1 WHERE headquartered_city = "vehari city" AND serial_no > 36 |
What was the lowest city population for the district of rajanpur district with a area of 6 km squared and a serial number less than 29? | CREATE TABLE table_name_15 (city_population__2009_ INTEGER, serial_no VARCHAR, city_area_km_2__ VARCHAR, district VARCHAR) | SELECT MIN(city_population__2009_) FROM table_name_15 WHERE city_area_km_2__ = 6 AND district = "rajanpur district" AND serial_no < 29 |
What is the sum of the serial numbers for narowal city? | CREATE TABLE table_name_22 (serial_no INTEGER, headquartered_city VARCHAR) | SELECT SUM(serial_no) FROM table_name_22 WHERE headquartered_city = "narowal city" |
What is the sum of the area for the bahawalnagar district with a population more than 134,936? | CREATE TABLE table_name_32 (city_area_km_2__ INTEGER, district VARCHAR, city_population__2009_ VARCHAR) | SELECT SUM(city_area_km_2__) FROM table_name_32 WHERE district = "bahawalnagar district" AND city_population__2009_ > 134 OFFSET 936 |
What district was the city with an area smaller than 12 square kilometers and a serial number of 35? | CREATE TABLE table_name_9 (district VARCHAR, city_area_km_2__ VARCHAR, serial_no VARCHAR) | SELECT district FROM table_name_9 WHERE city_area_km_2__ < 12 AND serial_no = 35 |
After pick number 158, what is the next round a USC player was picked? | CREATE TABLE table_name_20 (round INTEGER, school VARCHAR, pick VARCHAR) | SELECT MIN(round) FROM table_name_20 WHERE school = "usc" AND pick > 158 |
Jim Obradovich, picked after round 2, but before pick 183, plays what position? | CREATE TABLE table_name_88 (position VARCHAR, player VARCHAR, round VARCHAR, pick VARCHAR) | SELECT position FROM table_name_88 WHERE round > 2 AND pick < 183 AND player = "jim obradovich" |
What time has q as the notes, and Australia as the country? | CREATE TABLE table_name_95 (time VARCHAR, notes VARCHAR, country VARCHAR) | SELECT time FROM table_name_95 WHERE notes = "q" AND country = "australia" |
What notes have a rank greater than 2, with mexico as the country? | CREATE TABLE table_name_64 (notes VARCHAR, rank VARCHAR, country VARCHAR) | SELECT notes FROM table_name_64 WHERE rank > 2 AND country = "mexico" |
What is the sum of bronzes for teams with more than 0 silver and a total under 1? | CREATE TABLE table_name_22 (bronze INTEGER, silver VARCHAR, total VARCHAR) | SELECT SUM(bronze) FROM table_name_22 WHERE silver > 0 AND total < 1 |
What is the average number of golds for teams with 1 bronze, less than 3 silver, and a total over 2? | CREATE TABLE table_name_55 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT AVG(gold) FROM table_name_55 WHERE bronze = 1 AND total > 2 AND silver < 3 |
What type of yacht has a LOA of 15.15 metres? | CREATE TABLE table_name_94 (yacht VARCHAR, loa__metres_ VARCHAR) | SELECT yacht AS Type FROM table_name_94 WHERE loa__metres_ = 15.15 |
What Soap Opera with the character Teemu Luotola? | CREATE TABLE table_name_81 (soap_opera VARCHAR, character VARCHAR) | SELECT soap_opera FROM table_name_81 WHERE character = "teemu luotola" |
What beer has a record of 4.08? | CREATE TABLE table_name_67 (beer VARCHAR, recorded VARCHAR) | SELECT beer FROM table_name_67 WHERE recorded = 4.08 |
Which round has an Opposing Team of manchester united? | CREATE TABLE table_name_64 (round VARCHAR, opposing_team VARCHAR) | SELECT round FROM table_name_64 WHERE opposing_team = "manchester united" |
Which Date has an Against larger than 0? | CREATE TABLE table_name_28 (date VARCHAR, against INTEGER) | SELECT date FROM table_name_28 WHERE against > 0 |
Which Against has a Round of fourth round? | CREATE TABLE table_name_69 (against INTEGER, round VARCHAR) | SELECT MIN(against) FROM table_name_69 WHERE round = "fourth round" |
What was the venue on 17/02/2008? | CREATE TABLE table_name_1 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_1 WHERE date = "17/02/2008" |
What is the average quantity for coaches manufactured in 1921/23, and had 40 seats? | CREATE TABLE table_name_87 (quantity INTEGER, year_s__of_manufacture VARCHAR, seats VARCHAR) | SELECT AVG(quantity) FROM table_name_87 WHERE year_s__of_manufacture = "1921/23" AND seats = "40" |
Which class to 1928 value had years of manufacture of 1921/23 and class from 1928 of BCi-21? | CREATE TABLE table_name_21 (class_to_1928 VARCHAR, year_s__of_manufacture VARCHAR, class_from_1928 VARCHAR) | SELECT class_to_1928 FROM table_name_21 WHERE year_s__of_manufacture = "1921/23" AND class_from_1928 = "bci-21" |
What is the smallest quantity having a Class to 1928 of BDi-21? | CREATE TABLE table_name_79 (quantity INTEGER, class_to_1928 VARCHAR) | SELECT MIN(quantity) FROM table_name_79 WHERE class_to_1928 = "bdi-21" |
Which class from 1928 had a class to 1928 of BDi-21? | CREATE TABLE table_name_88 (class_from_1928 VARCHAR, class_to_1928 VARCHAR) | SELECT class_from_1928 FROM table_name_88 WHERE class_to_1928 = "bdi-21" |
What were the remarks for the coach having a class from 1928 of Cid-21B? | CREATE TABLE table_name_99 (remarks VARCHAR, class_from_1928 VARCHAR) | SELECT remarks FROM table_name_99 WHERE class_from_1928 = "cid-21b" |
Which B Score has a Total larger than 15.325, and an A Score smaller than 6.4? | CREATE TABLE table_name_2 (b_score INTEGER, total VARCHAR, a_score VARCHAR) | SELECT SUM(b_score) FROM table_name_2 WHERE total > 15.325 AND a_score < 6.4 |
Which Total has an A Score of 6.5, and a Position larger than 5? | CREATE TABLE table_name_79 (total INTEGER, a_score VARCHAR, position VARCHAR) | SELECT MIN(total) FROM table_name_79 WHERE a_score = 6.5 AND position > 5 |
What is the date of week 11? | CREATE TABLE table_name_20 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_20 WHERE week = 11 |
What is the latest week when the chicago bears are the opponent? | CREATE TABLE table_name_27 (week INTEGER, opponent VARCHAR) | SELECT MAX(week) FROM table_name_27 WHERE opponent = "chicago bears" |
What song placed higher than#4? | CREATE TABLE table_name_41 (song VARCHAR, place INTEGER) | SELECT song FROM table_name_41 WHERE place > 4 |
Who is the artist that drew higher than 4? | CREATE TABLE table_name_33 (artist VARCHAR, draw INTEGER) | SELECT artist FROM table_name_33 WHERE draw > 4 |
What's the total starts with more points than 1 and the driver is Nasser Al-Attiyah? | CREATE TABLE table_name_47 (starts VARCHAR, driver VARCHAR, points VARCHAR) | SELECT COUNT(starts) FROM table_name_47 WHERE driver = "nasser al-attiyah" AND points > 1 |
What's the smallest number of podiums having more than 6 starts and 5 finishes? | CREATE TABLE table_name_82 (podiums INTEGER, finishes VARCHAR, starts VARCHAR) | SELECT MIN(podiums) FROM table_name_82 WHERE finishes = 5 AND starts > 6 |
What's the number of stage wins for Federico Villagra having more than 1 finish, less than 8 starts and less than 1 podium? | CREATE TABLE table_name_41 (stage_wins VARCHAR, starts VARCHAR, driver VARCHAR, finishes VARCHAR, podiums VARCHAR) | SELECT COUNT(stage_wins) FROM table_name_41 WHERE finishes > 1 AND podiums < 1 AND driver = "federico villagra" AND starts < 8 |
What's the finishes for Lambros Athanassoulas having 0 podiums and 0 stage wins? | CREATE TABLE table_name_57 (finishes INTEGER, driver VARCHAR, podiums VARCHAR, stage_wins VARCHAR) | SELECT SUM(finishes) FROM table_name_57 WHERE podiums = 0 AND stage_wins = 0 AND driver = "lambros athanassoulas" |
What is the average number of electorates (2003) reserved for sc with a constituency number of 50? | CREATE TABLE table_name_80 (number_of_electorates__2003_ INTEGER, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR) | SELECT AVG(number_of_electorates__2003_) FROM table_name_80 WHERE reserved_for___sc___st__none_ = "sc" AND constituency_number = "50" |
Which Finals have a Pre-Season larger than 0? | CREATE TABLE table_name_52 (finals INTEGER, pre_season INTEGER) | SELECT MIN(finals) FROM table_name_52 WHERE pre_season > 0 |
How much A-League has a Pre-Season larger than 0? | CREATE TABLE table_name_85 (a_league VARCHAR, pre_season INTEGER) | SELECT COUNT(a_league) FROM table_name_85 WHERE pre_season > 0 |
What is the last issue entry for Aron's Absurd Armada? | CREATE TABLE table_name_49 (last_issue VARCHAR, title VARCHAR) | SELECT last_issue FROM table_name_49 WHERE title = "aron's absurd armada" |
What is the title that was first published in August 2010? | CREATE TABLE table_name_39 (title VARCHAR, first_issue VARCHAR) | SELECT title FROM table_name_39 WHERE first_issue = "august 2010" |
What is the title that was first published in February 2009 and is still ongoing? | CREATE TABLE table_name_44 (title VARCHAR, last_issue VARCHAR, first_issue VARCHAR) | SELECT title FROM table_name_44 WHERE last_issue = "ongoing" AND first_issue = "february 2009" |
What is the last issue entry of Time and Again? | CREATE TABLE table_name_55 (last_issue VARCHAR, title VARCHAR) | SELECT last_issue FROM table_name_55 WHERE title = "time and again" |
What the rank of the Virgin Islands athlete with react under 0.168? | CREATE TABLE table_name_44 (rank VARCHAR, react VARCHAR, nationality VARCHAR) | SELECT rank FROM table_name_44 WHERE react < 0.168 AND nationality = "virgin islands" |
What is the lowest rank for Chris Brown with react greater than 0.244? | CREATE TABLE table_name_44 (rank INTEGER, athlete VARCHAR, react VARCHAR) | SELECT MIN(rank) FROM table_name_44 WHERE athlete = "chris brown" AND react > 0.244 |
What is the highest rank of an athlete from Belgium with react greater than 0.162? | CREATE TABLE table_name_38 (rank INTEGER, nationality VARCHAR, react VARCHAR) | SELECT MAX(rank) FROM table_name_38 WHERE nationality = "belgium" AND react > 0.162 |
What's the 2008 that has 3.4 in 2009 and more than 2.9 in 2005? | CREATE TABLE table_name_35 (Id VARCHAR) | SELECT MAX(2008) FROM table_name_35 WHERE 2009 = 3.4 AND 2005 > 2.9 |
What's the 2006 if there's less than 6.7 in 2007 and less than 3.4 in 2009? | CREATE TABLE table_name_46 (Id VARCHAR) | SELECT SUM(2006) FROM table_name_46 WHERE 2007 < 6.7 AND 2009 < 3.4 |
What's the total in 2005 if there's more than 10.2 in 2006, less than 29.5 in 2007, more than 4.9 in 2009 and less than 43.8 in 2010? | CREATE TABLE table_name_1 (Id VARCHAR) | SELECT COUNT(2005) FROM table_name_1 WHERE 2010 < 43.8 AND 2007 < 29.5 AND 2009 > 4.9 AND 2006 > 10.2 |
What is the 2009 when there's 11.8 in 2005 and less than 12.6 in 2006? | CREATE TABLE table_name_45 (Id VARCHAR) | SELECT MIN(2009) FROM table_name_45 WHERE 2005 = 11.8 AND 2006 < 12.6 |
What's the 2005 of TV3 when there is less than 42 in 2007 and less than 29.5 in 2010? | CREATE TABLE table_name_36 (tv_station__operator_ VARCHAR) | SELECT MAX(2005) FROM table_name_36 WHERE 2007 < 42 AND tv_station__operator_ = "tv3" AND 2010 < 29.5 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.