question
stringlengths 12
244
| sql
stringlengths 22
468
|
|---|---|
Which athlete had a six month suspension from IIHF?
|
SELECT Athlete FROM table WHERE Punishment = six month suspension from iihf
|
How many bronze medals did the team have with 0 total silver and less than 3 total medals?
|
SELECT Bronze FROM table WHERE Total < 3 AND Silver > 0
|
What is the total number of bronze medals for the team with more than 4 silver and less than 30 gold medals?
|
SELECT COUNT Bronze FROM table WHERE Silver > 4 AND Nation = total AND Gold < 30
|
what is the least penalty points when the judge e is 72.22?
|
SELECT MIN Penalty Points FROM table WHERE Judge E = 72.22
|
what is the judge e when judge c is 56.67 and the rider is dag albert?
|
SELECT Judge E FROM table WHERE Judge C = 56.67 AND Rider = dag albert
|
what is the nation when the penalty points is less than 40.2 and judge e is 82.22?
|
SELECT Nation FROM table WHERE Penalty Points < 40.2 AND Judge E = 82.22
|
what is the rank when judge m is 65.93 and judge e is 65.56?
|
SELECT Rank FROM table WHERE Judge M = 65.93 AND Judge E = 65.56
|
what is the horse that ranked 69?
|
SELECT Horse FROM table WHERE Rank = 69
|
Name the Production Number with a Director of friz freleng, and a Title of wacky worm, the?
|
SELECT Production Number FROM table WHERE Director = friz freleng AND Title = wacky worm, the
|
Name the Series with Production Number of 95, br 1254?
|
SELECT Series FROM table WHERE Production Number = 95, br 1254
|
Which reissue has a Production Number of 9853?
|
SELECT reissue? FROM table WHERE Production Number = 9853
|
Name the Series with a Title of elmer's pet rabbit?
|
SELECT Series FROM table WHERE Title = elmer's pet rabbit
|
What is the Boarding/Day value for a type of old and house of Saunderites?
|
SELECT Boarding/Day FROM table WHERE Type = old AND House = saunderites
|
Which house has an abbreviation of G?
|
SELECT House FROM table WHERE Abbr. = g
|
Which house has a Boarding/Day value of Day?
|
SELECT House FROM table WHERE Boarding/Day = day
|
Which house has an abbreviation of D?
|
SELECT House FROM table WHERE Abbr. = d
|
Which type has an abbreviation of B and Boarding/Day value of Boarding?
|
SELECT Type FROM table WHERE Boarding/Day = boarding AND Abbr. = b
|
Which type has a color of Dark Blue?
|
SELECT Type FROM table WHERE Colour = dark blue
|
what is the total tackles when the games is 16 and solo is 88?
|
SELECT Total Tackles FROM table WHERE Games = 16 AND Solo = 88
|
what is the team when sacks is 0 and the season is earlier than 1998?
|
SELECT Team FROM table WHERE Sacks = 0 AND Season < 1998
|
what is solo when total tackles is 6?
|
SELECT Solo FROM table WHERE Total Tackles = 6
|
How many FA cup goals did dick taylor score in the year that he had 0 league goals?
|
SELECT MIN FA Cup Goals FROM table WHERE Name = dick taylor AND League Goals < 0
|
What is the goals number of goals for the player who had 2 league cup apps and 0 FA cup goals?
|
SELECT COUNT Total Goals FROM table WHERE League Cup Apps = 2 AND FA Cup Goals < 0
|
What was the result of week 11?
|
SELECT Result FROM table WHERE Week = 11
|
What is Lisbeth Trickett's time?
|
SELECT COUNT Time FROM table WHERE Name = lisbeth trickett
|
What is the average rank for 57.05 time?
|
SELECT AVG Rank FROM table WHERE Time < 57.05
|
What lane is from Great Britain and a 57.78 time?
|
SELECT COUNT Lane FROM table WHERE Nationality = great britain AND Time > 57.78
|
Who's the owner of Sanam Pao as the broadcasting area?
|
SELECT Owner FROM table WHERE Broadcasting area = sanam pao
|
Who's the owner of channel 3/32 (vhf/uhf) broadcasting 24-hours?
|
SELECT Owner FROM table WHERE Broadcasting hours = 24-hours AND Channel ( BKK ) = 3/32 (vhf/uhf)
|
Who's the owner of Thai PBS?
|
SELECT Owner FROM table WHERE Name = thai pbs
|
What's the network of BBTV Channel 7?
|
SELECT Network FROM table WHERE Name = bbtv channel 7
|
What's the name of Channel 29 (UHF)?
|
SELECT Name FROM table WHERE Channel ( BKK ) = 29 (uhf)
|
What's the broadcasting hours of NBT?
|
SELECT Broadcasting hours FROM table WHERE Network = nbt
|
Who were the runners-up in the tournament on May 26, 1996?
|
SELECT Runner(s)-up FROM table WHERE Date = may 26, 1996
|
Which tournament had a runner-up of Val Skinner?
|
SELECT Tournament FROM table WHERE Runner(s)-up = val skinner
|
What was Rosie's winning score on Apr 29, 2001?
|
SELECT Winning score FROM table WHERE Date = apr 29, 2001
|
What was the release date of the feature with a production number of 1018, BR 1352?
|
SELECT Release date FROM table WHERE Production Number = 1018, br 1352
|
What is the reissue value for the feature titled "Catch as Cats Can"?
|
SELECT reissue? FROM table WHERE Title = catch as cats can
|
what is the name when the constituency number is 150?
|
SELECT Name FROM table WHERE Constituency number = 150
|
what is the total number of electorates (2009) when the name is govindpura?
|
SELECT COUNT Number of electorates (2009) FROM table WHERE Name = govindpura
|
What is the rank of Si Sa Ket province with less than 14 bronze medals?
|
SELECT COUNT Rank FROM table WHERE Province = si sa ket AND Bronze < 14
|
How many total medals does rank 3 with less than 40 silver medals?
|
SELECT MAX Total FROM table WHERE Silver < 40 AND Rank = 3
|
How many average gold medals for provinces higher than rank 9 with 25 bronzes?
|
SELECT AVG Gold FROM table WHERE Bronze = 25 AND Rank < 9
|
What is the engine code for the Xdrive25i?
|
SELECT Engine code FROM table WHERE Model = xdrive25i
|
What is the torque on the model with power of hp (kw; ps)@5800?
|
SELECT Torque FROM table WHERE Power = hp (kw; ps)@5800
|
What is the torque when engine code is N46B20 and power is ps (kw; hp)@6400?
|
SELECT Torque FROM table WHERE Engine code = n46b20 AND Power = ps (kw; hp)@6400
|
What is the power for the model xdrive28i sdrive28i?
|
SELECT Power FROM table WHERE Model = xdrive28i sdrive28i
|
What is the model that was made in the years 2011 2012-?
|
SELECT Model FROM table WHERE Years = 2011 2012-
|
What is the engine code for the model xdrive35i?
|
SELECT Engine code FROM table WHERE Model = xdrive35i
|
What is the Athlete from Burbank High School?
|
SELECT ATHLETE FROM table WHERE SCHOOL = burbank high school
|
What is the Date of the Athlete from Ferris High School?
|
SELECT DATE FROM table WHERE SCHOOL = ferris high school
|
What is the Athlete from Riverbank, California?
|
SELECT ATHLETE FROM table WHERE CITY = riverbank, california
|
What is the Date of the Player from Marshfield High School?
|
SELECT DATE FROM table WHERE SCHOOL = marshfield high school
|
What is the School of the Player with a Date of June 4, 2011?
|
SELECT SCHOOL FROM table WHERE DATE = june 4, 2011
|
What episodes was the show クロサギ shown on TBS?
|
SELECT Episodes FROM table WHERE TV Station = tbs AND Japanese Title = クロサギ
|
What is the Romanji Title of a show on TBS with less than 11 episodes?
|
SELECT Romaji Title FROM table WHERE TV Station = tbs AND Episodes < 11
|
What is the total number of episodes for クロサギ?
|
SELECT COUNT Episodes FROM table WHERE Japanese Title = クロサギ
|
What are the average ratings for プリマダム?
|
SELECT Average Ratings FROM table WHERE Japanese Title = プリマダム
|
Which Score-Final has a Rank-Final of 2, and a Year smaller than 2008?
|
SELECT SUM Score-Final FROM table WHERE Rank-Final = 2 AND Year < 2008
|
How many years have a Rank-Final smaller than 7, and a Competition Description of olympic games, and a Score-Final smaller than 186.525?
|
SELECT SUM Year FROM table WHERE Rank-Final < 7 AND Competition Description = olympic games AND Score-Final < 186.525
|
Which Score-Final has an Apparatus of floor exercise?
|
SELECT MAX Score-Final FROM table WHERE Apparatus = floor exercise
|
Which Year is the first one that has an Apparatus of uneven bars, and a Rank-Final smaller than 3?
|
SELECT MIN Year FROM table WHERE Apparatus = uneven bars AND Rank-Final < 3
|
Which district has more than 169,359 2009 electorates and a constituency of 84?
|
SELECT District FROM table WHERE Number of electorates (2009) > 169,359 AND Constituency number = 84
|
Who has a constituency of 84?
|
SELECT Name FROM table WHERE Constituency number = 84
|
What the round with the time 1:15?
|
SELECT AVG Round FROM table WHERE Time = 1:15
|
What's the location when the opponent was Lyoto Machida?
|
SELECT Location FROM table WHERE Opponent = lyoto machida
|
What is the 2007 result when the 2010 result was 2r, at the US Open?
|
SELECT 2007 FROM table WHERE 2010 = 2r AND Tournament = us open
|
What is the A score for the person with a total less than 15.95, position less than 7, and B score more than 8.225?
|
SELECT MAX A Score FROM table WHERE Total < 15.95 AND Position < 7 AND B Score > 8.225
|
What is the B score for the person with a total of 16.325 and an A score of more than 7.3?
|
SELECT AVG B Score FROM table WHERE Total = 16.325 AND A Score > 7.3
|
What is the Position of the person with a total less than 16.65 and an A score of 7.4?
|
SELECT MIN Position FROM table WHERE Total < 16.65 AND A Score = 7.4
|
What's the network in Pachuca, Hidalgo?
|
SELECT Network FROM table WHERE City of License = pachuca, hidalgo
|
What's the network that has a callsign of XHTM and a D ERP of •?
|
SELECT Network FROM table WHERE D ERP = • AND Callsign = xhtm
|
What's the city of license having a D ERP of 100kw?
|
SELECT City of License FROM table WHERE D ERP = 100kw
|
What's the D ERP in San Martin Texmelucan, Puebla?
|
SELECT D ERP FROM table WHERE City of License = san martin texmelucan, puebla
|
What district has 98 constituencies?
|
SELECT District FROM table WHERE Constituency number = 98
|
What are the highest points with 2012 as the year?
|
SELECT MAX Points FROM table WHERE Year = 2012
|
What are the highest matches that have points less than 88, and goals less than 0?
|
SELECT MAX Matches FROM table WHERE Points < 88 AND Goals < 0
|
How many tries have goals greater than 0?
|
SELECT SUM Tries FROM table WHERE Goals > 0
|
What are the lowest points with 2013 as the year, and goals less than 0?
|
SELECT MIN Points FROM table WHERE Year = 2013 AND Goals < 0
|
How many goals have 28 as the points, and matches greater than 11?
|
SELECT COUNT Goals FROM table WHERE Points = 28 AND Matches > 11
|
Which Laps have a Rider of russell holland, and a Grid smaller than 10?
|
SELECT MAX Laps FROM table WHERE Rider = russell holland AND Grid < 10
|
Which Laps have a Bike of kawasaki zx-6r, and a Time of +26.891?
|
SELECT MIN Laps FROM table WHERE Bike = kawasaki zx-6r AND Time = +26.891
|
Which Rider has a Time of retirement, and a Grid larger than 5?
|
SELECT Rider FROM table WHERE Time = retirement AND Grid > 5
|
Which Rider has less than 18 laps, and a Grid of 24?
|
SELECT Rider FROM table WHERE Laps < 18 AND Grid = 24
|
What is the date of the 2nd round 2nd leg?
|
SELECT Date FROM table WHERE Round = 2nd round 2nd leg
|
What is the Round against Gillingham with an Against smaller than 3?
|
SELECT Round FROM table WHERE Opposing Team = gillingham AND Against < 3
|
What's the draw that's played less than 36 and has 42 points?
|
SELECT AVG Draw FROM table WHERE Points = 42 AND Played < 36
|
What the lost that has less than 10 points and less than 38 goals scored?
|
SELECT SUM Lost FROM table WHERE Goals Scored < 38 AND Points < 10
|
what the most lost for Alianza with a draw less than 6?
|
SELECT MAX Lost FROM table WHERE Team = alianza AND Draw < 6
|
What the lost in place less than 3 and having more than 63 goals scored?
|
SELECT SUM Lost FROM table WHERE Goals Scored > 63 AND Place < 3
|
What State has an Adopted of 1999-01-01, a GDP per capita World Bank, 2009 nominal (USD) that's smaller than 34849, along with a Nominal GDP World Bank, 2009 (million USD) that's smaller than 1460250?
|
SELECT State FROM table WHERE Adopted = 1999-01-01 AND GDP per capita World Bank, 2009 nominal (USD) < 34849 AND Nominal GDP World Bank, 2009 (million USD) < 1460250
|
What is listed as the highest Nominal GDP World Bank, 2009 (million USD) that has a GDP per capita World Bank, 2009 nominal (USD) of 14267?
|
SELECT MAX Nominal GDP World Bank, 2009 (million USD) FROM table WHERE GDP per capita World Bank, 2009 nominal (USD) = 14267
|
What is listed for the Adopted that has a Nominal GDP World Bank, 2009 (million USD) of 48477?
|
SELECT Adopted FROM table WHERE Nominal GDP World Bank, 2009 (million USD) = 48477
|
What is listed for the Adopted that has a Niminal GDP World Bank 2009 (million USD) of 12460362?
|
SELECT Adopted FROM table WHERE Nominal GDP World Bank, 2009 (million USD) = 12460362
|
What is the total Rank for ümit karan when Apps is more than 39 and Rate is more than 0.58?
|
SELECT SUM Rank FROM table WHERE Apps > 39 AND Player = ümit karan AND Rate > 0.58
|
When rank is more than 10, what is the total rate?
|
SELECT SUM Rate FROM table WHERE Rank > 10
|
What winning amount has himesh reshammiya as the contestant name?
|
SELECT Winning Amount FROM table WHERE Contestant Name = himesh reshammiya
|
What eliminated contestant has October 10, 2009 as the date premiered?
|
SELECT Eliminated Contestant FROM table WHERE Date Premiered (2009) = october 10
|
What date premiered (2009) has kareena kapoor as the contestant name?
|
SELECT Date Premiered (2009) FROM table WHERE Contestant Name = kareena kapoor
|
What episode # has govinda & david dhawan as the eliminated contestant?
|
SELECT Episode # FROM table WHERE Eliminated Contestant = govinda & david dhawan
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.