instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | what amount of try bonus where the game was won by 11? | SELECT COUNT Try bonus FROM table WHERE Won = 11 |
Translate the following into a SQL query | what is the total amount of tries where the points were 325? | SELECT COUNT Tries against FROM table WHERE Points for = 325 |
Translate the following into a SQL query | What is the name of the column points against? | SELECT Points against FROM table WHERE Points = Points |
Translate the following into a SQL query | How many points for when the points was 53? | SELECT Points for FROM table WHERE Points = 53 |
Translate the following into a SQL query | What is the played total when the points against was 321? | SELECT Played FROM table WHERE Points against = 321 |
Translate the following into a SQL query | How many tries for when the points against was 547? | SELECT Tries for FROM table WHERE Points against = 547 |
Translate the following into a SQL query | How many total games drawn for club tylorstown rfc? | SELECT Drawn FROM table WHERE Club = Tylorstown RFC |
Translate the following into a SQL query | How many communities had a total renewable generation of 1375? | SELECT COUNT Autonomous Community FROM table WHERE Total Renewable Generation = 1375 |
Translate the following into a SQL query | What is the total demand for electricity when the demand for renewable electricity demand is 2.2%? | SELECT Total Electricity Demand FROM table WHERE % Renewable of Total Electricity Demand = 2.2% |
Translate the following into a SQL query | What is the lowest numbered hydroelectric power when the renewable electricity demand is 21.5%? | SELECT MIN Hydroelectric power FROM table WHERE % Renewable of Total Electricity Demand = 21.5% |
Translate the following into a SQL query | What is the community with a wind power of 1042? | SELECT Autonomous Community FROM table WHERE Wind power = 1042 |
Translate the following into a SQL query | How many races were for a distance of 2020 m? | SELECT COUNT Group FROM table WHERE Distance = 2020 m |
Translate the following into a SQL query | Who was the winner of the race at Belmont? | SELECT Winner/2nd FROM table WHERE Venue = Belmont |
Translate the following into a SQL query | On what date did Northerly place 6th? | SELECT Date FROM table WHERE Result = 6th |
Translate the following into a SQL query | What was the weight in kg on the day of the race at Ranvet Stakes? | SELECT Weight (kg) FROM table WHERE Race = Ranvet Stakes |
Translate the following into a SQL query | What was Northerly's result at the race on 19 Oct 2002? | SELECT Result FROM table WHERE Date = 19 Oct 2002 |
Translate the following into a SQL query | What was the distance of the race in which Northerly raced in group G3? | SELECT Distance FROM table WHERE Group = G3 |
Translate the following into a SQL query | what's the software executable space protection with dbeingtribution being gentoo | SELECT Software executable space protection FROM table WHERE Distribution = Gentoo |
Translate the following into a SQL query | what's the dbeingtribution with grsecurity being no | SELECT Distribution FROM table WHERE grsecurity = No |
Translate the following into a SQL query | what's the grsecurity with dbeingtribution being debian / ubuntu | SELECT grsecurity FROM table WHERE Distribution = Debian / Ubuntu |
Translate the following into a SQL query | what's the software executable space protection with dbeingtribution being gentoo | SELECT Software executable space protection FROM table WHERE Distribution = Gentoo |
Translate the following into a SQL query | what's the dbeingtribution with grsecurity being optional and compile time buffer checks being yes | SELECT Distribution FROM table WHERE grsecurity = Optional AND Compile time buffer checks = Yes |
Translate the following into a SQL query | what's the dbeingtribution with rsbac being unknown | SELECT Distribution FROM table WHERE RSBAC = Unknown |
Translate the following into a SQL query | Who is on the 2002 commission from district 3? | SELECT 2002 Commission FROM table WHERE District = District 3 |
Translate the following into a SQL query | What district for charlie oliver of the 2012 commission? | SELECT District FROM table WHERE 2012 Commission = Charlie Oliver |
Translate the following into a SQL query | Who was on the 2012 commission and the 1999 commission with john wilborn? | SELECT 2012 Commission FROM table WHERE 1999 Commission = John Wilborn |
Translate the following into a SQL query | How many people named gloria moon were on the 2002 and 2012 commissions? | SELECT COUNT 2002 Commission FROM table WHERE 2012 Commission = Gloria Moon |
Translate the following into a SQL query | what's the others% with parbeingh being tangipahoa | SELECT Others% FROM table WHERE Parish = Tangipahoa |
Translate the following into a SQL query | what is the maximum bush# with others% being 1.57% | SELECT MAX Bush# FROM table WHERE Others% = 1.57% |
Translate the following into a SQL query | how many bush% with total# being 191269 | SELECT COUNT Bush% FROM table WHERE Total# = 191269 |
Translate the following into a SQL query | What is the highest game number? | SELECT MAX Game FROM table |
Translate the following into a SQL query | How many entries are there for weight when the winner is 1st - defier and venue is randwick? | SELECT COUNT Weight (kg) FROM table WHERE Winner/2nd = 1st - Defier AND Venue = Randwick |
Translate the following into a SQL query | Who was the jockey at Rosehill and the weight was 57.5 kg? | SELECT Jockey FROM table WHERE Venue = Rosehill AND Weight (kg) = 57.5 |
Translate the following into a SQL query | When the time is 1:36.30 what shows as winner? | SELECT Winner/2nd FROM table WHERE Time = 1:36.30 |
Translate the following into a SQL query | What was the depravitiy of earnings where international sales was 2470? | SELECT Income poverty f FROM table WHERE Exports (USD mn) 2011 = 2470 |
Translate the following into a SQL query | What was head count in 2010 where the farm production is 6.9? | SELECT MAX 2010 Population (000) FROM table WHERE Agri culture b = 6.9 |
Translate the following into a SQL query | How many districts had an depravity level of 27.7 | SELECT COUNT District FROM table WHERE Income poverty f = 27.7 |
Translate the following into a SQL query | How low was the income where services is 72.5? | SELECT Income poverty f FROM table WHERE Services & cons truction b = 72.5 |
Translate the following into a SQL query | How low was the San Juan income? | SELECT Income poverty f FROM table WHERE District = San Juan |
Translate the following into a SQL query | who is the player with high assists on january 22? | SELECT High assists FROM table WHERE Date = January 22 |
Translate the following into a SQL query | what is the total score for the date of january 3? | SELECT COUNT Score FROM table WHERE Date = January 3 |
Translate the following into a SQL query | Which team was in a game with a record of 15-63? | SELECT Team FROM table WHERE Record = 15-63 |
Translate the following into a SQL query | Which team played on April 1? | SELECT Team FROM table WHERE Date = April 1 |
Translate the following into a SQL query | How many players led Game #66 in scoring? | SELECT COUNT High points FROM table WHERE Game = 66 |
Translate the following into a SQL query | Who scored the most points in the game where the Raptors became 13-49? | SELECT High points FROM table WHERE Record = 13-49 |
Translate the following into a SQL query | Who did the Raptors play against when their record was 13-48? | SELECT Team FROM table WHERE Record = 13-48 |
Translate the following into a SQL query | Who was the high scorer in the game when the team was 1-4? | SELECT High points FROM table WHERE Record = 1-4 |
Translate the following into a SQL query | Where did they play and how many attended in the game against minnesota? | SELECT Location Attendance FROM table WHERE Team = Minnesota |
Translate the following into a SQL query | Who had the high point total when dee brown (5) had the high assist total? | SELECT High points FROM table WHERE High assists = Dee Brown (5) |
Translate the following into a SQL query | How many records are there for the games that took place on January 14. | SELECT COUNT Record FROM table WHERE Date = January 14 |
Translate the following into a SQL query | Which players scored the most points when the opposing team was Seattle and how many points did they score? | SELECT High points FROM table WHERE Team = Seattle |
Translate the following into a SQL query | What was the location and attendance of the game against Portland? | SELECT Location Attendance FROM table WHERE Team = Portland |
Translate the following into a SQL query | What was the record when the score was w 108–93 (ot)? | SELECT Record FROM table WHERE Score = W 108–93 (OT) |
Translate the following into a SQL query | what's the 1985-1990 with 1995-2000 being 1.46 | SELECT 1985-1990 FROM table WHERE 1995-2000 = 1.46 |
Translate the following into a SQL query | what's the 2000-2005 with 1985-1990 being 3.78 | SELECT 2000-2005 FROM table WHERE 1985-1990 = 3.78 |
Translate the following into a SQL query | what's the 1985-1990 with 2000-2005 being 2.52 | SELECT 1985-1990 FROM table WHERE 2000-2005 = 2.52 |
Translate the following into a SQL query | what's the region/country with 2000-2005 being 2.61 | SELECT Region/country FROM table WHERE 2000-2005 = 2.61 |
Translate the following into a SQL query | what's the 1995-2000 with 1985-1990 being 1.24 | SELECT 1995-2000 FROM table WHERE 1985-1990 = 1.24 |
Translate the following into a SQL query | what's the 1995-2000 with 1990-1995 being 3.08 | SELECT 1995-2000 FROM table WHERE 1990-1995 = 3.08 |
Translate the following into a SQL query | what is the maximum total population with % catholic being 1.17% | SELECT MAX Total Population FROM table WHERE % Catholic = 1.17% |
Translate the following into a SQL query | how many total population with catholic being smaller than 31370649.1405057 and region being north africa | SELECT COUNT Total Population FROM table WHERE Catholic < 31370649.1405057 AND Region = North Africa |
Translate the following into a SQL query | what's the wii points with title and source being tsūshin taikyoku: igo dōjō 2700-mon | SELECT Wii Points FROM table WHERE Title and Source = Tsūshin Taikyoku: Igo Dōjō 2700-Mon |
Translate the following into a SQL query | what's the na -350- with title and source being paper wars: cannon fodder | SELECT NA -350- FROM table WHERE Title and Source = Paper Wars: Cannon Fodder |
Translate the following into a SQL query | how many title and source with pal -295- being yes and jp -210- being yes | SELECT COUNT Title and Source FROM table WHERE PAL -295- = Yes AND JP -210- = Yes |
Translate the following into a SQL query | what's the jp -210- with title and source being fun! fun! minigolf | SELECT JP -210- FROM table WHERE Title and Source = Fun! Fun! Minigolf |
Translate the following into a SQL query | how many na -350- with title and source being bokumo sekai wo sukuitai: battle tournament | SELECT COUNT NA -350- FROM table WHERE Title and Source = Bokumo Sekai wo Sukuitai: Battle Tournament |
Translate the following into a SQL query | What was the gtu winning team when the gto winning team was #48 greenwood racing? | SELECT GTU Winning Team FROM table WHERE GTO Winning Team = #48 Greenwood Racing |
Translate the following into a SQL query | What was the to winnning team when the tu winning team was #16 2002? | SELECT TO Winning Team FROM table WHERE TU Winning Team = #16 2002 |
Translate the following into a SQL query | What round was the gto winning team #48 greenwood racing? | SELECT Rnd FROM table WHERE GTO Winning Team = #48 Greenwood Racing |
Translate the following into a SQL query | What was the to winning team when the tu winning team was joe amato carson baird? | SELECT TO Winning Team FROM table WHERE TU Winning Team = Joe Amato Carson Baird |
Translate the following into a SQL query | Who is GTU Winning Team's #27 Don Lindley's TO Winning Team? | SELECT TO Winning Team FROM table WHERE GTU Winning Team = #27 Don Lindley |
Translate the following into a SQL query | What is GTO Winning Team Mike Keyser's RND number? | SELECT Rnd FROM table WHERE GTO Winning Team = Mike Keyser |
Translate the following into a SQL query | Who is Gene Felton's TO Winning Team? | SELECT TO Winning Team FROM table WHERE GTO Winning Team = Gene Felton |
Translate the following into a SQL query | What is Peter Gregg Hurley Haywood's results? | SELECT Results FROM table WHERE GTO Winning Team = Peter Gregg Hurley Haywood |
Translate the following into a SQL query | What was the least amount for Goals Olimpia? | SELECT MIN Goals Olimpia FROM table |
Translate the following into a SQL query | How many goals Olimpia recorded for 32 matches? | SELECT COUNT Goals Olimpia FROM table WHERE Matches = 32 |
Translate the following into a SQL query | What was the number of matches when the Goals Olimpia was 149? | SELECT Matches FROM table WHERE Goals Olimpia = 149 |
Translate the following into a SQL query | At the rate where 1600kwh/kwp•y is 26.3, what is the value of 2200 kwh/kwp•y? | SELECT 2200 kWh/kWp•y FROM table WHERE 1600 kWh/kWp•y = 26.3 |
Translate the following into a SQL query | At the rate where 2200 kwh/kwp•y is 11.8, what is the value of 2400 kwh/kwp•y? | SELECT 2400 kWh/kWp•y FROM table WHERE 2200 kWh/kWp•y = 11.8 |
Translate the following into a SQL query | At the rate where 1000 kwh/kwp•y is 26.0, what is the value of 1600 kwh/kwp•y? | SELECT 1600 kWh/kWp•y FROM table WHERE 1000 kWh/kWp•y = 26.0 |
Translate the following into a SQL query | At the rate where 1800 kwh/kwp•y is 1.1, what is the value of 2400 kwh/kwp•y? | SELECT 2400 kWh/kWp•y FROM table WHERE 1800 kWh/kWp•y = 1.1 |
Translate the following into a SQL query | At the rate where 1800 kwh/kwp•y is 16.7, what is the value of 2400 kwh/kwp•y? | SELECT 2400 kWh/kWp•y FROM table WHERE 1800 kWh/kWp•y = 16.7 |
Translate the following into a SQL query | what's the time required for prices to double with highest monthly inflation rate being 29,500% | SELECT Time required for prices to double FROM table WHERE Highest monthly inflation rate = 29,500% |
Translate the following into a SQL query | what's the currency name with highest monthly inflation rate being 29,500% | SELECT Currency name FROM table WHERE Highest monthly inflation rate = 29,500% |
Translate the following into a SQL query | how many equivalent daily inflation rate with time required for prices to double being 3.7 days | SELECT COUNT Equivalent daily inflation rate FROM table WHERE Time required for prices to double = 3.7 days |
Translate the following into a SQL query | how many country with currency name being republika srpska dinar | SELECT COUNT Country FROM table WHERE Currency name = Republika Srpska dinar |
Translate the following into a SQL query | how many equivalent daily inflation rate with currency name being republika srpska dinar | SELECT COUNT Equivalent daily inflation rate FROM table WHERE Currency name = Republika Srpska dinar |
Translate the following into a SQL query | what's the country with highest monthly inflation rate being 3.13 × 10 8 % | SELECT Country FROM table WHERE Highest monthly inflation rate = 3.13 × 10 8 % |
Translate the following into a SQL query | How many grand final dual television commentators were there in 1961? | SELECT COUNT Grand Final Dual Television Commentator FROM table WHERE Year(s) = 1961 |
Translate the following into a SQL query | Who was the spokesperson for France in 1970? | SELECT Spokesperson FROM table WHERE Year(s) = 1970 |
Translate the following into a SQL query | What year was Thierry Beccaro the spokesperson? | SELECT MIN Year(s) FROM table WHERE Spokesperson = Thierry Beccaro |
Translate the following into a SQL query | How many games played on june 25? | SELECT COUNT Score FROM table WHERE Date = June 25 |
Translate the following into a SQL query | Who won the game on may 21? | SELECT Winning Team FROM table WHERE Date = May 21 |
Translate the following into a SQL query | Who was the losing pitcher when 40583 attended? | SELECT Losing Pitcher FROM table WHERE Attendance = 40583 |
Translate the following into a SQL query | Who was the wenning witcher when ezequiel astacio was the losing pitcher? | SELECT Winning Pitcher FROM table WHERE Losing Pitcher = Ezequiel Astacio |
Translate the following into a SQL query | Where was the game played on may 20? | SELECT Location FROM table WHERE Date = May 20 |
Translate the following into a SQL query | On what position number is the club with a w-l-d of 5-7-4? | SELECT COUNT Club (City/Town) FROM table WHERE W-L-D = 5-7-4 |
Translate the following into a SQL query | What's the position of the club with w-l-d of 6-2-8? | SELECT MAX Position FROM table WHERE W-L-D = 6-2-8 |
Translate the following into a SQL query | How many games has the club with 29-24 goals for/against score played? | SELECT Games Played FROM table WHERE Goals For/Against = 29-24 |
Translate the following into a SQL query | How many films titled Gie have been nominated? | SELECT COUNT Original title FROM table WHERE Film title used in nomination = Gie |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.