question
stringlengths 12
244
| sql
stringlengths 22
468
|
|---|---|
Which Silver has a Total of 11, and a Gold smaller than 8?
|
SELECT MIN Silver FROM table WHERE Total = 11 AND Gold < 8
|
Which Silver has a Total of 1, and a Rank of 12?
|
SELECT MIN Silver FROM table WHERE Total = 1 AND Rank = 12
|
Which IHSAA Football Class has a School of wood memorial?
|
SELECT IHSAA Football Class FROM table WHERE School = wood memorial
|
Which IHSAA Football Class has a County of 77 sullivan, and a School of union dugger?
|
SELECT IHSAA Football Class FROM table WHERE County = 77 sullivan AND School = union dugger
|
Which IHSAA Football Class has an Enrollment of 406?
|
SELECT IHSAA Football Class FROM table WHERE Enrollment = 406
|
Which Size has a County of 62 perry?
|
SELECT MAX Size FROM table WHERE County = 62 perry
|
Which IHSAA Class has a Size larger than 511?
|
SELECT IHSAA Class FROM table WHERE Size > 511
|
Which IHSAA Class has a School of mitchell?
|
SELECT IHSAA Class FROM table WHERE School = mitchell
|
Which County has a Size larger than 258, and a Mascot of commodores?
|
SELECT County FROM table WHERE Size > 258 AND Mascot = commodores
|
What was her place in the lineup on match 2?
|
SELECT Lineup FROM table WHERE Match = 2
|
What is the record of the game played on 2/17/1974?
|
SELECT Record FROM table WHERE Date = 2/17/1974
|
Which stadium had the opposition of 79,122?
|
SELECT Stadium FROM table WHERE Opposition = 79,122
|
What are the notes of the number 1 rank?
|
SELECT Notes FROM table WHERE Rank = 1
|
What's the rank if the time was 5:54.57 and FB in notes?
|
SELECT Rank FROM table WHERE Notes = fb AND Time = 5:54.57
|
Who are the rowers with the time of 5:54.57?
|
SELECT Rowers FROM table WHERE Time = 5:54.57
|
What are the notes of the United States?
|
SELECT Notes FROM table WHERE Country = united states
|
What is the gold for a bronze larger than 1, with a total smaller than 10, and a silver of 3?
|
SELECT Gold FROM table WHERE Bronze > 1 AND Total < 10 AND Silver = 3
|
What is the average total when the silver is larger than 2, and a gold larger than 1, and a nation of total?
|
SELECT AVG Total FROM table WHERE Silver > 2 AND Gold > 1 AND Nation = total
|
When the rank is 11, and bronze a smaller than 1 what is the lowest total?
|
SELECT MIN Total FROM table WHERE Rank = 11 AND Bronze < 1
|
What was the A Score when the B Score was 9.05, and position was larger than 6?
|
SELECT AVG A Score FROM table WHERE B Score = 9.05 AND Position > 6
|
What is the total when the B Score was 9.15 for Cheng Fei ( chn )?
|
SELECT AVG Total FROM table WHERE B Score = 9.15 AND Gymnast = cheng fei ( chn )
|
What was their position when the score of B was less than 9.05, a total was 15.275, and A Score larger than 6.4?
|
SELECT AVG Position FROM table WHERE B Score < 9.05 AND Total = 15.275 AND A Score > 6.4
|
What is their position when the b score is more than 8.975 for Ekaterina Kramarenko ( rus )?
|
SELECT Position FROM table WHERE B Score > 8.975 AND Gymnast = ekaterina kramarenko ( rus )
|
What year had Third-Person Shooter?
|
SELECT AVG Year FROM table WHERE Genre = third-person shooter
|
What year was Portal?
|
SELECT MAX Year FROM table WHERE Game = portal
|
Who was the developer(s) of the genre Adventure?
|
SELECT Developer(s) FROM table WHERE Genre = adventure
|
What's the platform of the genre RPG?
|
SELECT Platform(s) FROM table WHERE Genre = rpg
|
What's the genre of developer(s) Lionhead Studios?
|
SELECT Genre FROM table WHERE Developer(s) = lionhead studios
|
What's year was the genre Adventure?
|
SELECT Year FROM table WHERE Genre = adventure
|
When was Cardinal-Deacon of S. Giorgio in Velabro elevated?
|
SELECT Elevated FROM table WHERE Cardinalatial order and title = cardinal-deacon of s. giorgio in velabro
|
What is the Cardinalatial order and title that Pedro Martínez de Luna y Gotor elevated?
|
SELECT Cardinalatial order and title FROM table WHERE Elector = pedro martínez de luna y gotor
|
What is the nationality of the elector withe the Cardinalatial order and title of Cardinal-Priest of Ss. XII Apostoli?
|
SELECT Nationality FROM table WHERE Cardinalatial order and title = cardinal-priest of ss. xii apostoli
|
What Tournament had Jack Nicklaus as Runner(s)-up?
|
SELECT Tournament FROM table WHERE Runner(s)-up = jack nicklaus
|
What is the Date of the Tournament with a Winning score of −9 (65-71-68-67=271)?
|
SELECT Date FROM table WHERE Winning score = −9 (65-71-68-67=271)
|
What is the Winning Score of the Tournament with Jack Nicklaus as Runner(s)-up?
|
SELECT Winning score FROM table WHERE Runner(s)-up = jack nicklaus
|
What is the Runner(s)-up of the Kemper Open Tournament?
|
SELECT Runner(s)-up FROM table WHERE Tournament = kemper open
|
What week has December 19, 2004 as the date?
|
SELECT Week FROM table WHERE Date = december 19, 2004
|
What is the highest week that has espn 8:30pm as the TV time?
|
SELECT MAX Week FROM table WHERE TV Time = espn 8:30pm
|
What result has miami dolphins as the opponent?
|
SELECT Result FROM table WHERE Opponent = miami dolphins
|
What is the Time of the swimmer from Chinese Taipei in Heat 3?
|
SELECT Time FROM table WHERE Heat = 3 AND Lane > 3 AND Nationality = chinese taipei
|
What's the Dolphin Points when the attendance was less than 69,313 and had an opponent of the Buffalo Bills?
|
SELECT AVG Dolphins points FROM table WHERE Opponent = buffalo bills AND Attendance < 69,313
|
What's the game with an attendance of 71,962?
|
SELECT MIN Game FROM table WHERE Attendance = 71,962
|
What was the week 12 standing for the housemate that nominated Deepak P Rahul in week 1 and Amit Carol in week 3?
|
SELECT Final Week 12 FROM table WHERE Week 1 = deepak p rahul AND Week 3 = amit carol
|
Who did the housemate that nominated Kashmera Rakhi in week 3 and Amit Bobby in week 1 nominate in week 6?
|
SELECT Week 6 FROM table WHERE Week 3 = kashmera rakhi AND Week 1 = amit bobby
|
Who did the housemate that nominated Carol Roopali in week 1 nominate in week 8?
|
SELECT Week 8 FROM table WHERE Week 1 = carol roopali
|
What is the IHSAA class of Centerville, which plays IHSAA class AA football?
|
SELECT IHSAA Class FROM table WHERE IHSAA Football Class = aa AND School = centerville
|
Winchester Community school, which plays IHSAA class AA football, is located where?
|
SELECT Location FROM table WHERE IHSAA Football Class = aa AND School = winchester community
|
What is the IHSAA class of the school with less than 400 students and a mascot of the Tigers?
|
SELECT IHSAA Class FROM table WHERE Size < 400 AND Mascot = tigers
|
What county has a school with less than 301 students and plays IHSAA class A football?
|
SELECT County FROM table WHERE IHSAA Football Class = a AND Size < 301
|
What is the lowest game when the score is 102-104?
|
SELECT MIN Game FROM table WHERE Score = 102-104
|
what is the score for game 4?
|
SELECT Score FROM table WHERE Game = 4
|
what is the series for game 4?
|
SELECT Series FROM table WHERE Game = 4
|
Which Pendle has a Burnley smaller than 0?
|
SELECT SUM Pendle FROM table WHERE Burnley < 0
|
How much Rossendale has a Fylde smaller than 0?
|
SELECT COUNT Rossendale FROM table WHERE Fylde < 0
|
How much Hyndburn has a Fylde larger than 3?
|
SELECT SUM Hyndburn FROM table WHERE Fylde > 3
|
How much Burnley has a Fylde smaller than 1, and a Rossendale larger than 0?
|
SELECT SUM Burnley FROM table WHERE Fylde < 1 AND Rossendale > 0
|
What are the years that have un posto al sole as the soap opera, with riccardo polizzy carbonelli as the actor?
|
SELECT Years FROM table WHERE Soap Opera = un posto al sole AND Actor = riccardo polizzy carbonelli
|
What years have a duration of 18 years, and patrizio rispo as the actor?
|
SELECT Years FROM table WHERE Duration = 18 years AND Actor = patrizio rispo
|
What are the years that have a duration of 15 years and giulia poggi as the character?
|
SELECT Years FROM table WHERE Duration = 15 years AND Character = giulia poggi
|
What years have claudia ruffo as the actor?
|
SELECT Years FROM table WHERE Actor = claudia ruffo
|
What is the duration that has pietro genuardi as the actor?
|
SELECT Duration FROM table WHERE Actor = pietro genuardi
|
What is the soap opera that has a duration of 13 years, with marina giulia cavalli as the actor?
|
SELECT Soap Opera FROM table WHERE Duration = 13 years AND Actor = marina giulia cavalli
|
What is the lowest attendance for December 14, 1958 after week 12?
|
SELECT MIN Attendance FROM table WHERE Date = december 14, 1958 AND Week > 12
|
What is the total for the week in the game against the Chicago Bears
|
SELECT COUNT Week FROM table WHERE Opponent = chicago bears
|
What is the highest attendance for December 14, 1958 for after week 12
|
SELECT MAX Attendance FROM table WHERE Date = december 14, 1958 AND Week > 12
|
What is the Outcome of the Match played after 2003 with a Score of 6–0, 6–3?
|
SELECT Outcome FROM table WHERE Year > 2003 AND Score = 6–0, 6–3
|
What is the Outcome of the match with a Score of 6–1, 6–1?
|
SELECT Outcome FROM table WHERE Score = 6–1, 6–1
|
Who has rank 5?
|
SELECT Name FROM table WHERE Rank = 5
|
Which nationality has rank 4?
|
SELECT Nationality FROM table WHERE Rank = 4
|
What title was used in the nomination of Matrimonio All'Italiana?
|
SELECT Film title used in nomination FROM table WHERE Original title = matrimonio all'italiana
|
What language was the film Pelle Erobreren, which received the best actor nomination, in?
|
SELECT Language FROM table WHERE Category = best actor AND Original title = pelle erobreren
|
What title was used in the nomination of the Spanish language film Traffic?
|
SELECT Film title used in nomination FROM table WHERE Language = spanish AND Original title = traffic
|
What title was used in the nomination of Una Giornata Particolare?
|
SELECT Film title used in nomination FROM table WHERE Original title = una giornata particolare
|
What date has a Position of back, later than 1964, and a Test debut of 1st rl test v new zealand?
|
SELECT Date FROM table WHERE Position = back AND Year > 1964 AND Test debut = 1st rl test v new zealand
|
What is the position earlier than 1907, with a cross-code debut of inaugural rl test v new zealand, and a test debut of inaugural ru test v new zealand?
|
SELECT Position FROM table WHERE Year < 1907 AND Cross-code debut = inaugural rl test v new zealand AND Test debut = inaugural ru test v new zealand
|
What is the cross-code debut later than 1958 for Dick Thornett?
|
SELECT Cross-code debut FROM table WHERE Year > 1958 AND Player = dick thornett
|
What position has a Cross-code debut of 1st ru test v ireland?
|
SELECT Position FROM table WHERE Cross-code debut = 1st ru test v ireland
|
What was the time for the match with away team Shatin?
|
SELECT Time FROM table WHERE Away team = shatin
|
What was the time for the match with away team Convoy Sun Hei Team A?
|
SELECT Time FROM table WHERE Away team = convoy sun hei team a
|
What was the away team for the match that had a time of 18:30?
|
SELECT Away team FROM table WHERE Time = 18:30
|
What was the time for the match with away team Mutual Team B?
|
SELECT Time FROM table WHERE Away team = mutual team b
|
What was the time for the match that had a a home team of HKSSF?
|
SELECT Time FROM table WHERE Home team = hkssf
|
How many people attended on december 26, 1982?
|
SELECT Attendance FROM table WHERE Date = december 26, 1982
|
How many Byes have Wins smaller than 11, and a Wimmera FL of minyip murtoa, and Losses smaller than 6?
|
SELECT COUNT Byes FROM table WHERE Wins < 11 AND Wimmera FL = minyip murtoa AND Losses < 6
|
Which Losses have an Against smaller than 1018, and Wins smaller than 14?
|
SELECT AVG Losses FROM table WHERE Against < 1018 AND Wins < 14
|
Which Byes have an Against larger than 1018, and a Wimmera FL of horsham diggers?
|
SELECT MIN Byes FROM table WHERE Against > 1018 AND Wimmera FL = horsham diggers
|
Which Losses have a Wimmera FL of minyip murtoa?
|
SELECT AVG Losses FROM table WHERE Wimmera FL = minyip murtoa
|
Which Against has Losses smaller than 5, and a Wimmera FL of warrack eagles, and Draws smaller than 0?
|
SELECT AVG Against FROM table WHERE Losses < 5 AND Wimmera FL = warrack eagles AND Draws < 0
|
Which country has Spence in the name section?
|
SELECT Country FROM table WHERE Name = spence
|
Which country has the status of transferred, moving to of released, and Solano as the listed name?
|
SELECT Country FROM table WHERE Status = transferred AND Moving to = released AND Name = solano
|
What is the transfer fee for the country that has the name McCartney listed?
|
SELECT Transfer fee FROM table WHERE Name = mccartney
|
What is the name listed for the country that has a status of loaned and a moving to listed as leyton orient?
|
SELECT Name FROM table WHERE Status = loaned AND Moving to = leyton orient
|
What is the transfer fee for the country of Nir?
|
SELECT Transfer fee FROM table WHERE Country = nir
|
Who had the fastest lap when adam christodoulou was the winning driver and had the pole position?
|
SELECT Fastest Lap FROM table WHERE Winning driver = adam christodoulou AND Pole Position = adam christodoulou
|
What date was the circuit, snetterton, when riki christodoulou had the fastest lap?
|
SELECT Date FROM table WHERE Circuit = snetterton AND Fastest Lap = riki christodoulou
|
who had the pole position at rockingham circuit with adam christodoulou having the fastest lap?
|
SELECT Pole Position FROM table WHERE Fastest Lap = adam christodoulou AND Circuit = rockingham
|
What bonus points have 448 as the points against?
|
SELECT Bonus points FROM table WHERE Points against = 448
|
What points for have 30 as the game, and 73 as the total points?
|
SELECT Points for FROM table WHERE Games = 30 AND Total points = 73
|
What drawn has 416 as the points for and 533 as the points against?
|
SELECT Drawn FROM table WHERE Points for = 416 AND Points against = 533
|
What match points have 755 as the points against?
|
SELECT Match points FROM table WHERE Points against = 755
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.