instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Name the year for standing 9th | SELECT Year FROM table WHERE Standing = 9th |
Translate the following into a SQL query | Name the year for t-10th | SELECT Year FROM table WHERE Standing = T-10th |
Translate the following into a SQL query | Name the regular season record for standing 11th | SELECT Regular Season Record (W-L) FROM table WHERE Standing = 11th |
Translate the following into a SQL query | Name the most previous br number | SELECT MAX Previous BR No. FROM table |
Translate the following into a SQL query | Name the total number of previous br number for number 21 | SELECT COUNT Previous BR No. FROM table WHERE Number = 21 |
Translate the following into a SQL query | What country uses the title Marele Câștigător The Big Winner? | SELECT Country/Region FROM table WHERE Title = Marele câștigător The Big Winner |
Translate the following into a SQL query | Silvio Santos is the presenter in what country? | SELECT Country/Region FROM table WHERE Presenters = Silvio Santos |
Translate the following into a SQL query | What is the home town of David Noel? | SELECT Home Town FROM table WHERE Name = David Noel |
Translate the following into a SQL query | What is the high school for the player who's hometown is Blue Island, Il? | SELECT High School FROM table WHERE Home Town = Blue Island, IL |
Translate the following into a SQL query | What is the position of the player who's hometown is North Babylon, NY? | SELECT Position FROM table WHERE Home Town = North Babylon, NY |
Translate the following into a SQL query | What position is the player from Chapel Hill, NC? | SELECT Position FROM table WHERE Home Town = Chapel Hill, NC |
Translate the following into a SQL query | What is the height of the player from Gulfport, MS? | SELECT Height FROM table WHERE Home Town = Gulfport, MS |
Translate the following into a SQL query | In what county did McCain get 57.8%? | SELECT County FROM table WHERE McCain% = 57.8% |
Translate the following into a SQL query | How many figures are given for McCain's % in Davidson county? | SELECT COUNT McCain% FROM table WHERE County = DAVIDSON |
Translate the following into a SQL query | What percentage did Obama get in Rutherford county? | SELECT Obama% FROM table WHERE County = RUTHERFORD |
Translate the following into a SQL query | What percentage did McCain get in Hamilton county? | SELECT McCain% FROM table WHERE County = HAMILTON |
Translate the following into a SQL query | What percentage did Obama get when McCain got 52.8%? | SELECT Obama% FROM table WHERE McCain% = 52.8% |
Translate the following into a SQL query | How many votes did Obama get in Lake County? | SELECT MIN Obama# FROM table WHERE County = LAKE |
Translate the following into a SQL query | In how many counties did McCain get 65.72% of the votes? | SELECT COUNT County FROM table WHERE McCain% = 65.72% |
Translate the following into a SQL query | How many people voted for Obama in the county where McCain got 72.75% of the votes? | SELECT MIN Obama# FROM table WHERE McCain% = 72.75% |
Translate the following into a SQL query | What percentage of the votes did McCain get in Hinds? | SELECT McCain% FROM table WHERE County = Hinds |
Translate the following into a SQL query | How many votes did McCain get in Scott? | SELECT MIN McCain# FROM table WHERE County = Scott |
Translate the following into a SQL query | What percentage of the votes in Tippah did Obama get? | SELECT Obama% FROM table WHERE County = Tippah |
Translate the following into a SQL query | What percentage of the votes in Copiah did McCain get? | SELECT McCain% FROM table WHERE County = Copiah |
Translate the following into a SQL query | When n/a is the cash fate and n/a is the 31-day pass how many types of fare are there? | SELECT COUNT Type of Fare FROM table WHERE 31-Day Pass = N/A AND Cash Fare = N/A |
Translate the following into a SQL query | When fixed route is the type of fare how much is the 31-day pass? | SELECT 31-Day Pass FROM table WHERE Type of Fare = Fixed Route |
Translate the following into a SQL query | When mega pass* (senior/disabled) is the type of fare what is the cash fare? | SELECT Cash Fare FROM table WHERE Type of Fare = Mega Pass* (Senior/Disabled) |
Translate the following into a SQL query | When mega pass* (senior/disabled) is the type of fare what is the day pass? | SELECT Day Pass FROM table WHERE Type of Fare = Mega Pass* (Senior/Disabled) |
Translate the following into a SQL query | When fort irwin-barstow/victorville is the type of fare what is the cash fare? | SELECT Cash Fare FROM table WHERE Type of Fare = Fort Irwin-Barstow/Victorville |
Translate the following into a SQL query | Where total goals is 1 and total apps is 33, what is the smallest no.? | SELECT MIN No. FROM table WHERE Total Goals = 1 AND Total Apps = 33 |
Translate the following into a SQL query | What is every residential monthly usage if large power demand is 6.86? | SELECT Residential Monthly usage: 1000 kWh FROM table WHERE Large power Power demand: 50,000 kW; Consumption: 30,600,000 kWh, load factor: 85%. = 6.86 |
Translate the following into a SQL query | How many values for small power demand occur when medium power demand is 11.07? | SELECT COUNT Small power Power demand: 40 kW; Consumption 10,000 kWh, load factor: 35%. FROM table WHERE Medium power Power demand: 1,000 kW; Consumption: 400,000 kWh, load factor: 56 %. = 11.07 |
Translate the following into a SQL query | What is every value for large power demand when small power demand is 13.41? | SELECT Large power Power demand: 50,000 kW; Consumption: 30,600,000 kWh, load factor: 85%. FROM table WHERE Small power Power demand: 40 kW; Consumption 10,000 kWh, load factor: 35%. = 13.41 |
Translate the following into a SQL query | What is every city with a residential monthly usage of 11.80? | SELECT City (Utility) FROM table WHERE Residential Monthly usage: 1000 kWh = 11.80 |
Translate the following into a SQL query | What position is the boat with 20.12 LOA (metres)? | SELECT MAX Position FROM table WHERE LOA (Metres) = 20.12 |
Translate the following into a SQL query | What are the LOA (metres) of boat with sail number M10? | SELECT LOA (Metres) FROM table WHERE Sail number = M10 |
Translate the following into a SQL query | What is the race number with time 1:23:19:31? | SELECT Race number FROM table WHERE Elapsed time d:hh:mm:ss = 1:23:19:31 |
Translate the following into a SQL query | How many LOA (metres) reported for Black Jack? | SELECT COUNT LOA (Metres) FROM table WHERE Yacht = Black Jack |
Translate the following into a SQL query | What race number had sail number AUS 98888? | SELECT Race number FROM table WHERE Sail number = AUS 98888 |
Translate the following into a SQL query | How many sail numbers for boat skippered by Geoff Ross? | SELECT COUNT Sail number FROM table WHERE Skipper = Geoff Ross |
Translate the following into a SQL query | When did they play against West Virginia? | SELECT Date FROM table WHERE Opponent = West Virginia |
Translate the following into a SQL query | When l (ot/so) is 22 (3/4), what is the season? | SELECT Season FROM table WHERE L (OT/SO) = 22 (3/4) |
Translate the following into a SQL query | In season is 2008–09, how many wins did they have? | SELECT W (OT/SO) FROM table WHERE Season = 2008–09 |
Translate the following into a SQL query | What is the weight of Eben Britton? | SELECT MAX Weight FROM table WHERE Player = Eben Britton |
Translate the following into a SQL query | How many rounds did Virginia have? | SELECT Round FROM table WHERE College = Virginia |
Translate the following into a SQL query | How many rounds were there a height of 6'5? | SELECT Round FROM table WHERE Height = 6'5 |
Translate the following into a SQL query | What college has a player that is 6'1? | SELECT College FROM table WHERE Height = 6'1 |
Translate the following into a SQL query | What is the number of Mike Thomas? | SELECT COUNT Position FROM table WHERE Player = Mike Thomas |
Translate the following into a SQL query | What college did Terrance Taylor play for? | SELECT College FROM table WHERE Player = Terrance Taylor |
Translate the following into a SQL query | What's Curtis Painter's position? | SELECT Position FROM table WHERE Player = Curtis Painter |
Translate the following into a SQL query | How much does the player from Southern California weight? | SELECT Weight FROM table WHERE College = Southern California |
Translate the following into a SQL query | What's Curtis Painter's position? | SELECT Position FROM table WHERE Player = Curtis Painter |
Translate the following into a SQL query | In what round did the player who weights 192lb (87kg) play? | SELECT MAX Round FROM table WHERE Weight = 192lb (87kg) |
Translate the following into a SQL query | What's the choice score of the player who weights 303lb (137kg)? | SELECT MIN Choice FROM table WHERE Weight = 303lb (137kg) |
Translate the following into a SQL query | How many different engines are there for the model with model designation 97G00? | SELECT COUNT Engine FROM table WHERE Model Designation = 97G00 |
Translate the following into a SQL query | What's the engine for the model model designation 97G00 and GVW of 2500/2.46 kg/ton? | SELECT Engine FROM table WHERE GVW (kg/ton) = 2500/2.46 AND Model Designation = 97G00 |
Translate the following into a SQL query | What model type has model designation 97500? | SELECT Model Type FROM table WHERE Model Designation = 97500 |
Translate the following into a SQL query | What's the axle ratio of the model with model designation 97G00? | SELECT Axle Ratio FROM table WHERE Model Designation = 97G00 |
Translate the following into a SQL query | What model type has 97100 model designation? | SELECT Model Type FROM table WHERE Model Designation = 97100 |
Translate the following into a SQL query | What type of engine does the model with model designation 97100 have? | SELECT Engine FROM table WHERE Model Designation = 97100 |
Translate the following into a SQL query | What's the wheelbase (in mm/inch) of the model with model designation 97G00? | SELECT Wheelbase (mm/inch) FROM table WHERE Model Designation = 97G00 |
Translate the following into a SQL query | What type of engine does the model with model designation 97F00 have? | SELECT Engine FROM table WHERE Model Designation = 97F00 |
Translate the following into a SQL query | What's the model designation of the model with GVW of 2828/2.78 kg/ton and axle ratio of 9/47? | SELECT Model Designation FROM table WHERE GVW (kg/ton) = 2828/2.78 AND Axle Ratio = 9/47 |
Translate the following into a SQL query | Who is the player name when eastern michigan is the college? | SELECT Player name FROM table WHERE College = Eastern Michigan |
Translate the following into a SQL query | What is the height if ot is the position? | SELECT Height FROM table WHERE Position = OT |
Translate the following into a SQL query | Who is the player for south carolina college? | SELECT Player name FROM table WHERE College = South Carolina |
Translate the following into a SQL query | What is the height if de is the position? | SELECT COUNT Height FROM table WHERE Position = DE |
Translate the following into a SQL query | Which college has fb as the position? | SELECT College FROM table WHERE Position = FB |
Translate the following into a SQL query | What is the GVW for model 97H00? | SELECT GVW (kg/ton) FROM table WHERE Model Designation = 97H00 |
Translate the following into a SQL query | How many engines are there for model 97H00? | SELECT COUNT Engine FROM table WHERE Model Designation = 97H00 |
Translate the following into a SQL query | What is the Wheelbase for Model 97300? | SELECT Wheelbase (mm/inch) FROM table WHERE Model Designation = 97300 |
Translate the following into a SQL query | Name the Engine for model CF350. | SELECT Engine FROM table WHERE Model Type = CF350 |
Translate the following into a SQL query | Was the result of the supercheap auto bathurst 1000 reported? | SELECT Report FROM table WHERE Race Title = Supercheap Auto Bathurst 1000 |
Translate the following into a SQL query | Who was the winner of the race at barbagallo raceway? | SELECT Winner FROM table WHERE Circuit = Barbagallo Raceway |
Translate the following into a SQL query | how many players played running back where status is made 53-man roster at start of 2009 season | SELECT COUNT Player FROM table WHERE Status = Made 53-man roster at start of 2009 season AND Position = Running back |
Translate the following into a SQL query | howe many positions did wallace, mike mike wallace play for | SELECT COUNT Position FROM table WHERE Player = Wallace, Mike Mike Wallace |
Translate the following into a SQL query | state the status of pick # 32 | SELECT Status FROM table WHERE Pick # = 32 |
Translate the following into a SQL query | which college had a running back player | SELECT College FROM table WHERE Position = Running back |
Translate the following into a SQL query | what is the position of the player of height ft0in (m) | SELECT Position FROM table WHERE Height = ft0in (m) |
Translate the following into a SQL query | what's the position of pick # 79 | SELECT Position FROM table WHERE Pick # = 79 |
Translate the following into a SQL query | How many touchdowns were scored when QB rating was 82.7? | SELECT MAX Touchdowns FROM table WHERE QB Rating = 82.7 |
Translate the following into a SQL query | What was the QB rating for Neil lomax? | SELECT QB Rating FROM table WHERE Name = Neil Lomax |
Translate the following into a SQL query | How many attempts did Charley Johnson have? | SELECT COUNT Attempts FROM table WHERE Name = Charley Johnson |
Translate the following into a SQL query | How many touchdowns were there with QB rating of 66.6? | SELECT Touchdowns FROM table WHERE QB Rating = 66.6 |
Translate the following into a SQL query | Name the number opponent for loss result | SELECT COUNT Opponent FROM table WHERE Result = Loss |
Translate the following into a SQL query | Name the game for record being 3-0 | SELECT Game FROM table WHERE Record = 3-0 |
Translate the following into a SQL query | What was the date of game 6? | SELECT Date FROM table WHERE Game = 6 |
Translate the following into a SQL query | What was the record for the game where the cardinals scored 7 points? | SELECT Record FROM table WHERE Cardinals points = 7 |
Translate the following into a SQL query | What game date had the record of 1-2? | SELECT Date FROM table WHERE Record = 1-2 |
Translate the following into a SQL query | How many opponents were in North Carolina state game? | SELECT COUNT Opponents FROM table WHERE Opponent = North Carolina State |
Translate the following into a SQL query | How many 125cc winners were in the same events as when the Moto2 winner was Shoya Tomizawa? | SELECT COUNT 125cc winner FROM table WHERE Moto2 winner = Shoya Tomizawa |
Translate the following into a SQL query | After how many opponents was the overall record 1-0-0? | SELECT COUNT Opponents FROM table WHERE Record = 1-0-0 |
Translate the following into a SQL query | What was the record after the game in which the Hurricanes scored 24 points? | SELECT Record FROM table WHERE Hurricanes points = 24 |
Translate the following into a SQL query | Which game number was played against Georgia? | SELECT MIN Game FROM table WHERE Opponent = Georgia |
Translate the following into a SQL query | How many games were played against Tulane? | SELECT COUNT Opponents FROM table WHERE Opponent = Tulane |
Translate the following into a SQL query | How much parking is in Van Nuys at the Sepulveda station? | SELECT Parking FROM table WHERE City/ Neighborhood = Van Nuys AND Stations = Sepulveda |
Translate the following into a SQL query | What are the stations in Tarzana? | SELECT Stations FROM table WHERE City/ Neighborhood = Tarzana |
Translate the following into a SQL query | How many connection catagories are there for Tampa? | SELECT COUNT Connections FROM table WHERE Stations = Tampa |
Translate the following into a SQL query | Which station has park & ride lot parking? | SELECT Stations FROM table WHERE Parking = Park & Ride Lot |
Translate the following into a SQL query | Which player has a 92.58 3-dart average? | SELECT Player FROM table WHERE 3-dart Average = 92.58 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.