question
stringlengths 12
244
| sql
stringlengths 22
468
|
|---|---|
What is the location for the first division, Sun Pegasus Club?
|
SELECT Location FROM table WHERE League/Division = first division AND Club = sun pegasus
|
What division is Sai Kung in?
|
SELECT League/Division FROM table WHERE Club = sai kung
|
What league is Sun Source in?
|
SELECT League/Division FROM table WHERE Club = sun source
|
What was the model that had years 2004-?
|
SELECT Model FROM table WHERE Years = 2004-
|
What was the torque@rpm of the sl 65 amg?
|
SELECT Torque@rpm FROM table WHERE Model = sl 65 amg
|
What was the model that had years 2004-?
|
SELECT Model FROM table WHERE Years = 2004-
|
What is the IHSAA Class for football for the team joining in 1968?
|
SELECT IHSAA Class Football FROM table WHERE Year Joined = 1968
|
What is the IHSAA class for Tipton?
|
SELECT IHSAA Class FROM table WHERE School = tipton
|
What is the rank for the person with time 11.14?
|
SELECT AVG Rank FROM table WHERE Time ( sec ) = 11.14
|
What is the rank when time is 11.15 and lane is bigger than 7 with notes Q, PB?
|
SELECT SUM Rank FROM table WHERE Notes = q, pb AND Time ( sec ) = 11.15 AND Lane > 7
|
What is the lane for notes Q, SB and time less than 11.22?
|
SELECT SUM Lane FROM table WHERE Notes = q, sb AND Time ( sec ) < 11.22
|
Which athlete is ranked less than 5 with time over 11.22?
|
SELECT Athlete FROM table WHERE Time ( sec ) > 11.22 AND Rank < 5
|
What is the lowest played when draws P.K. Wins / P.K. Losses is 3/0, and points is larger than 18?
|
SELECT MIN Played FROM table WHERE Draws P.K. Wins / P.K. Losses = 3/0 AND Points > 18
|
How many lanes does Australia have with a reaction smaller than 0.138?
|
SELECT COUNT Lane FROM table WHERE Nationality = australia AND Reaction < 0.138
|
Who had a reaction larger than 0.17400000000000002 and a lane larger than 6?
|
SELECT Name FROM table WHERE Reaction > 0.17400000000000002 AND Lane > 6
|
The ship MS Vistafjord has what in service for NAL?
|
SELECT In service for NAL FROM table WHERE Ship = ms vistafjord
|
The ship SSBergensfjord built before 1973 has what tonnage?
|
SELECT Tonnage FROM table WHERE Built < 1973 AND Ship = ssbergensfjord
|
Which nationality has a time of 50.92?
|
SELECT Nationality FROM table WHERE Time = 50.92
|
What is the time with fewer than 5 lanes for the United States?
|
SELECT SUM Time FROM table WHERE Lane < 5 AND Nationality = united states
|
Which Att-Cmp has a GP-GS of 7-1?
|
SELECT Att-Cmp FROM table WHERE GP-GS = 7-1
|
Which Att-Cmp has a TD-INT of 7-8?
|
SELECT Att-Cmp FROM table WHERE TD-INT = 7-8
|
Which TD-INT has an Effic larger than 111.4?
|
SELECT TD-INT FROM table WHERE Effic > 111.4
|
What is the total number of losses with less than 6 wins and less than 0 draws?
|
SELECT COUNT Losses FROM table 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?
|
SELECT AVG Against FROM table WHERE Losses < 10 AND Draws > 0 AND Wins > 7
|
What is the total number of byes with more than 0 losses and 1526 against?
|
SELECT COUNT Byes FROM table WHERE Losses > 0 AND Against = 1526
|
What is the lowest number of draws with more than 2 byes?
|
SELECT MIN Draws FROM table WHERE Byes > 2
|
What is the lowest against of the wimmera fl warrack eagles, which have less than 16 wins?
|
SELECT MIN Against FROM table WHERE Wins < 16 AND Wimmera FL = warrack eagles
|
How many races did the German racer that won less than 10 races ride?
|
SELECT COUNT Races ridden FROM table 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?
|
SELECT AVG Win average FROM table WHERE Nationality = german AND Name = rudi altig AND Races ridden > 79
|
what is the highest top-5 when cuts made is more than 39?
|
SELECT MAX Top-5 FROM table WHERE Cuts made > 39
|
what is the highest events when wins is more than 0 and cuts made is more than 14?
|
SELECT MAX Events FROM table WHERE Wins > 0 AND Cuts made > 14
|
what is the highest top-5 when wins is more than 1?
|
SELECT MAX Top-5 FROM table WHERE Wins > 1
|
How many times is the tournament the masters tournament and the top-10 is less than 2?
|
SELECT COUNT Top-5 FROM table WHERE Tournament = masters tournament AND Top-10 < 2
|
What ran has noel patterson as the rider?
|
SELECT Rank FROM table WHERE Rider = noel patterson
|
What time has jules croft as the rider?
|
SELECT Time FROM table WHERE Rider = jules croft
|
What team has adam barclay as the rider?
|
SELECT Team FROM table WHERE Rider = adam barclay
|
What Round has h/a hurst
|
SELECT Round FROM table WHERE H / A = hurst
|
what game ended f-a with a round of round 1 replay
|
SELECT Result F β A FROM table WHERE Round = round 1 replay
|
what is the h/a round of round 2
|
SELECT H / A FROM table WHERE Round = round 2
|
What is the lowest laps that has an on lap less than 4, with 35 as a class pos.?
|
SELECT MIN Laps FROM table WHERE On Lap < 4 AND Class Pos. = 35
|
What was the Role/Episode after 2006 with Ellen Burstyn as a recipient and nominee?
|
SELECT Role/Episode FROM table WHERE Year > 2006 AND Recipients and nominees = ellen burstyn
|
For which Category was Outstanding Main Title Design a Recipient and nominee?
|
SELECT Category FROM table 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?
|
SELECT Category FROM table 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?
|
SELECT Category FROM table 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?
|
SELECT MAX Runners FROM table 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?
|
SELECT Race FROM table 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?
|
SELECT Partnering FROM table WHERE Score = 6-4, 2-6, 7-6
|
what is the competition when the result is won and the date is september 13, 1996?
|
SELECT Competition FROM table WHERE Result = won AND Date = september 13, 1996
|
what is the date when the competition is 1996 tiger cup and the result is drew?
|
SELECT Date FROM table WHERE Competition = 1996 tiger cup AND Result = drew
|
what is the score when the competition is 1995 southeast asian games?
|
SELECT Score FROM table WHERE Competition = 1995 southeast asian games
|
what is the result when the venue is singapore on september 8, 1996?
|
SELECT Result FROM table WHERE Venue = singapore AND Date = september 8, 1996
|
what is the competition when the result is won and the score is 8-0?
|
SELECT Competition FROM table 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?
|
SELECT Laps FROM table 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?
|
SELECT COUNT Laps FROM table 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?
|
SELECT MIN Points FROM table WHERE Time/Retired = +30.7 secs AND Laps < 165
|
What was the first leg score of the matchup with a 2nd leg of 80-70?
|
SELECT 1st leg FROM table WHERE 2nd leg = 80-70
|
Who was the team 2 in the game with a team 1 of Liege Basket?
|
SELECT Team #2 FROM table WHERE Team #1 = liege basket
|
What was the 1st leg score in the matchup with a 2nd leg of 72-89?
|
SELECT 1st leg FROM table WHERE 2nd leg = 72-89
|
What was the aggregate score of the matchup with a leg 2 of 72-64?
|
SELECT Agg. FROM table WHERE 2nd leg = 72-64
|
What was the 2nd leg score in the matchup with a team 2 of KK Borac?
|
SELECT 2nd leg FROM table WHERE Team #2 = kk borac
|
What are the serial numbers for the locomotives of Class 4-8-4 β oooooooo β northern?
|
SELECT Serial numbers FROM table WHERE Class = 4-8-4 β oooooooo β northern
|
What is the fleet number for the model with Serial number 68056?
|
SELECT Fleet number(s) FROM table WHERE Serial numbers = 68056
|
What is the serial number of the model made in 1930?
|
SELECT Serial numbers FROM table WHERE Year made = 1930
|
What is the wheel arrangement for the model that was retired in 1955?
|
SELECT Wheel arrangement FROM table WHERE Year(s) retired = 1955
|
What is the lowest number of matches that has a Clubs of 46 β 32?
|
SELECT MIN Matches FROM table WHERE Clubs = 46 β 32
|
What is the highest number of matches that has a round of Third Round?
|
SELECT MAX Matches FROM table WHERE Round = third round
|
What is the prize money for the final round?
|
SELECT Prize money FROM table WHERE Round = final
|
What is the date for the row with a new entries this round of 44?
|
SELECT Date FROM table WHERE New entries this round = 44
|
Which Against has Wins of 11, and Losses smaller than 7?
|
SELECT AVG Against FROM table WHERE Wins = 11 AND Losses < 7
|
Which Draws have Losses larger than 8, and a Hampden FL of terang-mortlake?
|
SELECT Draws FROM table WHERE Losses > 8 AND Hampden FL = terang-mortlake
|
Which Byes have Losses smaller than 4?
|
SELECT AVG Byes FROM table WHERE Losses < 4
|
What's the total draws when the losses are less than 10, less than 2 byes, and 13 wins?
|
SELECT COUNT Draws FROM table WHERE Losses < 10 AND Wins = 13 AND Byes < 2
|
What's the total draws for Ararat when the byes are less than 2?
|
SELECT SUM Draws FROM table WHERE Wimmera FL = ararat AND Byes < 2
|
What's the total losses when there are 8 wins and less than 2 byes?
|
SELECT SUM Losses FROM table WHERE Wins = 8 AND Byes < 2
|
What's the least losses for Horsham Saints with more than 13 wins and less than 1211 against?
|
SELECT MIN Losses FROM table WHERE Against < 1211 AND Wimmera FL = horsham saints AND Wins > 13
|
What are the draws when the losses are less than 1?
|
SELECT SUM Draws FROM table WHERE Losses < 1
|
What are the amount of wins when the draws are less than 0 and the against is 1348?
|
SELECT MIN Wins FROM table WHERE Against = 1348 AND Draws < 0
|
What was the total city area for vehari city with a serial number bigger than 36?
|
SELECT COUNT City Area(km 2 ) FROM table 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?
|
SELECT MIN City Population (2009) FROM table 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?
|
SELECT SUM Serial No. FROM table WHERE Headquartered City = narowal city
|
What is the sum of the area for the bahawalnagar district with a population more than 134,936?
|
SELECT SUM City Area(km 2 ) FROM table WHERE District = bahawalnagar district AND City Population (2009) > 134,936
|
What district was the city with an area smaller than 12 square kilometers and a serial number of 35?
|
SELECT District FROM table WHERE City Area(km 2 ) < 12 AND Serial No. = 35
|
After pick number 158, what is the next round a USC player was picked?
|
SELECT MIN Round FROM table WHERE School = usc AND Pick > 158
|
Jim Obradovich, picked after round 2, but before pick 183, plays what position?
|
SELECT Position FROM table WHERE Round > 2 AND Pick < 183 AND Player = jim obradovich
|
What time has q as the notes, and Australia as the country?
|
SELECT Time FROM table WHERE Notes = q AND Country = australia
|
What notes have a rank greater than 2, with mexico as the country?
|
SELECT Notes FROM table WHERE Rank > 2 AND Country = mexico
|
What is the sum of bronzes for teams with more than 0 silver and a total under 1?
|
SELECT SUM Bronze FROM table 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?
|
SELECT AVG Gold FROM table WHERE Bronze = 1 AND Total > 2 AND Silver < 3
|
What type of yacht has a LOA of 15.15 metres?
|
SELECT Yacht Type FROM table WHERE LOA (Metres) = 15.15
|
What Soap Opera with the character Teemu Luotola?
|
SELECT Soap Opera FROM table WHERE Character = teemu luotola
|
What beer has a record of 4.08?
|
SELECT beer FROM table WHERE recorded = 4.08
|
Which round has an Opposing Team of manchester united?
|
SELECT Round FROM table WHERE Opposing Team = manchester united
|
Which Date has an Against larger than 0?
|
SELECT Date FROM table WHERE Against > 0
|
Which Against has a Round of fourth round?
|
SELECT MIN Against FROM table WHERE Round = fourth round
|
What was the venue on 17/02/2008?
|
SELECT Venue FROM table WHERE Date = 17/02/2008
|
What is the average quantity for coaches manufactured in 1921/23, and had 40 seats?
|
SELECT AVG Quantity FROM table 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?
|
SELECT Class to 1928 FROM table 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?
|
SELECT MIN Quantity FROM table WHERE Class to 1928 = bdi-21
|
Which class from 1928 had a class to 1928 of BDi-21?
|
SELECT Class from 1928 FROM table WHERE Class to 1928 = bdi-21
|
What were the remarks for the coach having a class from 1928 of Cid-21B?
|
SELECT Remarks FROM table WHERE Class from 1928 = cid-21b
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.