question
stringlengths 12
244
| sql
stringlengths 22
468
|
|---|---|
What's the number of McCain votes in the county where Obama got 35.7% and others got 1.9% of the votes?
|
SELECT MIN McCain# FROM table WHERE Obama% = 35.7% AND Others% = 1.9%
|
How many votes did Obama get in Geauga?
|
SELECT Obama# FROM table WHERE County = Geauga
|
How many people voted for others in the county where McCain got 65.5% of the votes?
|
SELECT Others FROM table WHERE McCain% = 65.5%
|
How many players had 6 180s?
|
SELECT COUNT Player FROM table WHERE 180s = 6
|
How many 140+ did Gary Anderson have?
|
SELECT 140+ FROM table WHERE Player = Gary Anderson
|
What is Phil Taylor's 3-dart average?
|
SELECT 3-dart Average FROM table WHERE Player = Phil Taylor
|
Who is the guest 3 in the show where guest 4 is Jill Douglas?
|
SELECT Guest 3 FROM table WHERE Guest 4 = Jill Douglas
|
Who is the guest 2 in the episode where guest 4 is Iyare Igiehon and guest 3 is John Oliver?
|
SELECT Guest 2 FROM table WHERE Guest 4 = Iyare Igiehon AND Guest 3 = John Oliver
|
Who is the guest 1 in the episode where guest 4 is Jill Douglas?
|
SELECT Guest 1 FROM table WHERE Guest 4 = Jill Douglas
|
How many dates are associated with a guest 4 being Jim Jeffries (debut)?
|
SELECT COUNT Date FROM table WHERE Guest 4 = Jim Jeffries (debut)
|
What is the date of the episode in which the presenter is Johnny Vaughan?
|
SELECT Date FROM table WHERE Presenter = Johnny Vaughan
|
Name the guest 4 for 8 december
|
SELECT Guest 4 FROM table WHERE Date = 8 December
|
Name the guest 4 for steve lamacq
|
SELECT Guest 4 FROM table WHERE Guest 2 = Steve Lamacq
|
Name the guest 2 for colin murray 6 april
|
SELECT COUNT Guest 2 FROM table WHERE Presenter = Colin Murray AND Date = 6 April
|
Name the presenter 11 may
|
SELECT Presenter FROM table WHERE Date = 11 May
|
Name the guest 3 for iyare igiehon
|
SELECT Guest 3 FROM table WHERE Guest 2 = Iyare Igiehon
|
How many seasons featured 29 conversions?
|
SELECT COUNT Penalties FROM table WHERE Conversions = 29
|
Lowest number of drop goals?
|
SELECT MIN Drop Goals FROM table
|
What is the point total for the season with 2 drop goals?
|
SELECT MIN Total Points FROM table WHERE Drop Goals = 2
|
Name the most obama number for mccain being 38.86%
|
SELECT MAX Obama# FROM table WHERE McCain% = 38.86%
|
Name the most abama number for mccain being 29266
|
SELECT MAX Obama# FROM table WHERE McCain# = 29266
|
Name the county for mccain being 38.78%
|
SELECT County FROM table WHERE McCain% = 38.78%
|
In how many counties di McCain win 41.62% of the vote?
|
SELECT COUNT County FROM table WHERE McCain% = 41.62%
|
What percentage of the vote did McCain win in Waynesboro (city)?
|
SELECT McCain% FROM table WHERE County = Waynesboro (city)
|
What was Obama's percentage in those places where McCain's percentage was 55.46%?
|
SELECT Obama% FROM table WHERE McCain% = 55.46%
|
What was Obama's percentage in the county of Alleghany?
|
SELECT Obama% FROM table WHERE County = Alleghany
|
What was Obama's percentage in the county of Surry?
|
SELECT Obama% FROM table WHERE County = Surry
|
How many percent of the votes in Debaca did McCain get?
|
SELECT McCain% FROM table WHERE County = DeBaca
|
What percentage of the votes did Obama get in the county where 3909 people voted in total?
|
SELECT Obama% FROM table WHERE Total = 3909
|
What percentage of the votes did Obama get in the county where McCain got 3648 votes?
|
SELECT Obama% FROM table WHERE McCain# = 3648
|
Who was the winner when the SEC team LSU played?
|
SELECT Winner FROM table WHERE SEC Team = LSU
|
What was the attendance for the game when the challenge leader was at Big East (4-2)?
|
SELECT MAX Attendance FROM table WHERE Challenge Leader = Big East (4-2)
|
What suumer team was James Lomangino from St. John's on?
|
SELECT Summer Team FROM table WHERE College = St. John's AND Player = James Lomangino
|
In what draft round in 2012 did a player from Rio Hondo get drafted?
|
SELECT Draft Round FROM table WHERE College = Rio Hondo AND Draft Year = 2012
|
What college did Aaron Slegers attend?
|
SELECT College FROM table WHERE Player = Aaron Slegers
|
What are the statuses of the platelet counts for the conditions where the prothrombin time and partial thromboblastin time is unaffected?
|
SELECT Platelet count FROM table WHERE Prothrombin time = Unaffected AND Partial thromboplastin time = Unaffected
|
What is the status of partial thromboplastin times for conditions where the platelet count is decreased?
|
SELECT Partial thromboplastin time FROM table WHERE Platelet count = Decreased
|
In what conditions are both the platelet count and prothrombin time unaffected?
|
SELECT Condition FROM table WHERE Platelet count = Unaffected AND Prothrombin time = Unaffected
|
What is the status of bleeding time for thrombocytopenia?
|
SELECT Bleeding time FROM table WHERE Condition = Thrombocytopenia
|
What is the status of platelet counts for conditions where bleeding time is prolonged and partial thromboplastin time is unaffected?
|
SELECT Platelet count FROM table WHERE Bleeding time = Prolonged AND Partial thromboplastin time = Unaffected
|
Which players made exactly 8 cuts?
|
SELECT Player FROM table WHERE Cuts made = 8
|
What is the total number of entries for Leif Olson?
|
SELECT COUNT Starts FROM table WHERE Player = Leif Olson
|
What is the total number of players who had a money list rank of 96?
|
SELECT COUNT Best finish FROM table WHERE Money list rank = 96
|
what is the name for br no. 60501
|
SELECT Name FROM table WHERE BR No. = 60501
|
what is the name for br no. 60501
|
SELECT Name FROM table WHERE BR No. = 60501
|
When 23% scott mcadams (d) what are the dates administered?
|
SELECT Dates administered FROM table WHERE Scott McAdams (D) = 23%
|
When 30% is scott mcadams (d) percentage how many poll sources are there?
|
SELECT COUNT Poll source FROM table WHERE Scott McAdams (D) = 30%
|
Name the revenue for eps being 1.19
|
SELECT MAX Revenue (€million) FROM table WHERE Earnings per share (€) = 1.19
|
Name the net profit for eps beign 1.19
|
SELECT Net profit (€m) FROM table WHERE Earnings per share (€) = 1.19
|
Name the ebit for eps being 1.78
|
SELECT Earnings before interest and taxes (€m) FROM table WHERE Earnings per share (€) = 1.78
|
How many different production codes does the episode directed by Dominic Polcino have?
|
SELECT COUNT Production code FROM table WHERE Directed by = Dominic Polcino
|
What's the production code of the episode written by Kirker Butler and directed by Dan Povenmire?
|
SELECT Production code FROM table WHERE Written by = Kirker Butler AND Directed by = Dan Povenmire
|
What was the weight in kg when the jockey was B. York?
|
SELECT Weight (kg) FROM table WHERE Jockey = B. York
|
What was the result of the race where the jockey was J. Marshall?
|
SELECT Result FROM table WHERE Jockey = J. Marshall
|
Name the most weight
|
SELECT MAX Weight (kg) FROM table
|
Name the date for moonee valley
|
SELECT Date FROM table WHERE Venue = Moonee Valley
|
What group was the Hollindale Stakes in?
|
SELECT Group FROM table WHERE Race = Hollindale Stakes
|
What race has a distance of 1200 m?
|
SELECT Race FROM table WHERE Distance = 1200 m
|
What was the result for the time of 1-26.21?
|
SELECT Result FROM table WHERE Time = 1-26.21
|
Who was the jockey in group 1 at the 1400m distance at randwick?
|
SELECT Jockey FROM table WHERE Class = Group 1 AND Venue = Randwick AND Distance = 1400m
|
What class was the 2nd - portillo?
|
SELECT Class FROM table WHERE Winner/2nd = 2nd - Portillo
|
What time for the entrant weighing 54.4kg?
|
SELECT Time FROM table WHERE Weight (kg) = 54.4kg
|
What is every entry for epoch if periselene is 5,454.925?
|
SELECT Epoch (UTC) FROM table WHERE Periselene (km) = 5,454.925
|
What is every entry for epoch if periselene is 2,291.250?
|
SELECT Epoch (UTC) FROM table WHERE Periselene (km) = 2,291.250
|
What is every value of period when eccentricity is 0.583085?
|
SELECT Period (h) FROM table WHERE Eccentricity = 0.583085
|
What is every value of epoch if inclination is 90.063603?
|
SELECT Epoch (UTC) FROM table WHERE Inclination (deg) (to Moon equator) = 90.063603
|
What is every value for periselene if period is 4.947432?
|
SELECT Periselene (km) FROM table WHERE Period (h) = 4.947432
|
How many values of periselene when epoch is November 15, 2004, 17:47:12.1?
|
SELECT COUNT Periselene (km) FROM table WHERE Epoch (UTC) = November 15, 2004, 17:47:12.1
|
How many times did the Bruins play Tennessee?
|
SELECT COUNT Result FROM table WHERE Opponent = Tennessee
|
What is the current tournament name for the event in Tampa?
|
SELECT Also currently known as FROM table WHERE Tournament = Tampa
|
What is the tier IV year for the tournament held in Tampa?
|
SELECT Tier IV in FROM table WHERE Tournament = Tampa
|
What is the most years that tournaments held in Rome have lasted?
|
SELECT MAX Years FROM table WHERE Tournament = Rome
|
What is the city location of the tournament currently known as the Medibank International Sydney?
|
SELECT City(s) FROM table WHERE Also currently known as = Medibank International Sydney
|
How many different shareholders have 2.39 % of capital?
|
SELECT COUNT shareholder name FROM table WHERE % of capital = 2.39
|
What shareholders have 0 A shares?
|
SELECT shareholder name FROM table WHERE A shares = 0
|
What percentage of votes does the shareholder with 78.19% of capital have?
|
SELECT % of votes FROM table WHERE % of capital = 78.19
|
How many different numbers of B shares does Handelsbanken fonder have?
|
SELECT COUNT B shares FROM table WHERE shareholder name = Handelsbanken fonder
|
What's the green (SW) of the model with charcoal/white interior/roof?
|
SELECT MIN Green (SW) FROM table WHERE Interior/Roof = Charcoal/white
|
How many different results for red (e8) does the model with parchment/saddle interior/roof have?
|
SELECT COUNT Red (E8) FROM table WHERE Interior/Roof = Parchment/saddle
|
How many different total results are there for the model with parchment/black interior/roof?
|
SELECT COUNT Totals FROM table WHERE Interior/Roof = Parchment/black
|
Where did aaron wagner go to college
|
SELECT College FROM table WHERE Player = Aaron Wagner
|
Where did the ol go to college?
|
SELECT College FROM table WHERE Position = OL
|
Name the number for new mexico
|
SELECT MIN Pick # FROM table WHERE College = New Mexico
|
Name the number for db
|
SELECT COUNT Pick # FROM table WHERE Position = DB
|
Name the player for ol
|
SELECT Player FROM table WHERE Position = OL
|
Name the number for dl
|
SELECT Pick # FROM table WHERE Position = DL
|
Which companies have a free float of 0.2726?
|
SELECT Company FROM table WHERE Free float = 0.2726
|
What is every BSE code for a free float of 0.2726?
|
SELECT BSE Code FROM table WHERE Free float = 0.2726
|
What is every GICS sector for free float of 0.3180?
|
SELECT GICS Sector FROM table WHERE Free float = 0.3180
|
What is every company with an index weighting % of 1 and the city of Dimitrovgrad?
|
SELECT Company FROM table WHERE Index weighting (% = 1 AND City = Dimitrovgrad
|
How many GICS sectors have a free float of 0.2391?
|
SELECT COUNT GICS Sector FROM table WHERE Free float = 0.2391
|
How many values of free float for the BSE code of 4EH?
|
SELECT COUNT Free float FROM table WHERE BSE Code = 4EH
|
When was the poll that showed 54% for and 22% undecided conducted?
|
SELECT Date of opinion poll FROM table WHERE For = 54% AND Undecided = 22%
|
How many polls taken on different dates show an undecided percentage of 25%?
|
SELECT COUNT Date of opinion poll FROM table WHERE Undecided = 25%
|
When was Quantum Research's poll conducted?
|
SELECT Date of opinion poll FROM table WHERE Conductor = Quantum Research
|
Who conducted the poll with sample size of 2000 that shows 18% undecided?
|
SELECT Conductor FROM table WHERE Undecided = 18% AND Sample size = 2000
|
How tall is the contestant from Ecuador?
|
SELECT Height (ft) FROM table WHERE Country = Ecuador
|
How tall is the contestant from Aruba?
|
SELECT Height (ft) FROM table WHERE Country = Aruba
|
What country is the contestant from San Francisco de Yojoa from?
|
SELECT Country FROM table WHERE Hometown = San Francisco de Yojoa
|
How many different heights are there for the contestants from Warsaw?
|
SELECT COUNT Height (ft) FROM table WHERE Hometown = Warsaw
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.