instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query
|
When did they play Dayton?
|
SELECT Date FROM table WHERE Team = Dayton
|
Translate the following into a SQL query
|
What is the platform of Geworkbench?
|
SELECT Platform FROM table WHERE Software = GeWorkbench
|
Translate the following into a SQL query
|
What is the description of the license for GNU GPL v2 or Ruby license?
|
SELECT Description FROM table WHERE License = GNU GPL v2 or Ruby license
|
Translate the following into a SQL query
|
What is the license that is described as a tool for designing and executing workflows?
|
SELECT License FROM table WHERE Description = Tool for designing and executing workflows
|
Translate the following into a SQL query
|
What is the description of the intact software?
|
SELECT Description FROM table WHERE Software = IntAct
|
Translate the following into a SQL query
|
What user had a max demand charge of 1,100 and a unit/time range of h-2: off-peak (22:30-05:30)?
|
SELECT User FROM table WHERE Max. Demand Charge ( Rs. /kVA) = 1,100 AND Unit (kWh)/Time range = H-2: Off-peak (22:30-05:30)
|
Translate the following into a SQL query
|
What is the fixed charge for the user who had a tariff of 11.30?
|
SELECT Fixed Charge ( Rs. /kWh) FROM table WHERE Tariff ( Rs. /kWh) = 11.30
|
Translate the following into a SQL query
|
What is the fixed charge for the user with a unit/time range of i-2: peak (18:30-22:30)?
|
SELECT Fixed Charge ( Rs. /kWh) FROM table WHERE Unit (kWh)/Time range = I-2: Peak (18:30-22:30)
|
Translate the following into a SQL query
|
What was the max demand charge for the user with a tariff of 8.85?
|
SELECT Max. Demand Charge ( Rs. /kVA) FROM table WHERE Tariff ( Rs. /kWh) = 8.85
|
Translate the following into a SQL query
|
How many picks are there with an affiliation is the University of California Norcal Lamorinda United?
|
SELECT COUNT Pick # FROM table WHERE Affiliation = University of California NorCal Lamorinda United
|
Translate the following into a SQL query
|
What team does Seth Sinovic play for?
|
SELECT MLS Team FROM table WHERE Player = Seth Sinovic
|
Translate the following into a SQL query
|
How many players have an affiliation with University of Maryland?
|
SELECT COUNT Player FROM table WHERE Affiliation = University of Maryland
|
Translate the following into a SQL query
|
in what round types did the opponent come from south africa?
|
SELECT Round FROM table WHERE Against = South Africa
|
Translate the following into a SQL query
|
How did the match end when she played with caroline wozniacki?
|
SELECT Outcome FROM table WHERE Partner = Caroline Wozniacki
|
Translate the following into a SQL query
|
When was the University founded that joined in 1978?
|
SELECT MAX Founded FROM table WHERE Joined = 1978
|
Translate the following into a SQL query
|
When was Piedmont College founded?
|
SELECT MAX Founded FROM table WHERE Institution = Piedmont College
|
Translate the following into a SQL query
|
When were the Avenging Angels founded?
|
SELECT MAX Founded FROM table WHERE Nickname = Avenging Angels
|
Translate the following into a SQL query
|
What institution joined in 1988?
|
SELECT Institution FROM table WHERE Joined = 1988
|
Translate the following into a SQL query
|
What location is nicknamed the 49ers?
|
SELECT Location FROM table WHERE Nickname = 49ers
|
Translate the following into a SQL query
|
Where is the University of North Carolina at Greensboro located?
|
SELECT Location FROM table WHERE Institution = University of North Carolina at Greensboro
|
Translate the following into a SQL query
|
Where is the University of North Carolina at Greensboro located?
|
SELECT Location FROM table WHERE Institution = University of North Carolina at Greensboro
|
Translate the following into a SQL query
|
Name the hypotenuse for vertices 月山泛 δymf
|
SELECT Hypotenuse 0 c FROM table WHERE Vertices = 月山泛 ΔYMF
|
Translate the following into a SQL query
|
Name the vertical for 边 bian
|
SELECT Vertical 0 b FROM table WHERE Name = 边 BIAN
|
Translate the following into a SQL query
|
Name the horizontal 0 for 通 tong
|
SELECT Horizontal 0 a FROM table WHERE Name = 通 TONG
|
Translate the following into a SQL query
|
Name the horizontal 0 for 明弦(ry日月)
|
SELECT Horizontal 0 a FROM table WHERE Hypotenuse 0 c = 明弦(RY日月)
|
Translate the following into a SQL query
|
Name the vertical for 明勾(ys月南)
|
SELECT Vertical 0 b FROM table WHERE Horizontal 0 a = 明勾(YS月南)
|
Translate the following into a SQL query
|
Name the horizontal number for number 10
|
SELECT COUNT Horizontal 0 a FROM table WHERE Number = 10
|
Translate the following into a SQL query
|
How many teams drafted players from the University of Maryland?
|
SELECT COUNT MLS Team FROM table WHERE Affiliation = University of Maryland
|
Translate the following into a SQL query
|
What MLS team drafted samuel appiah?
|
SELECT MLS Team FROM table WHERE Player = Samuel Appiah
|
Translate the following into a SQL query
|
What player was drafted by the philadelphia union?
|
SELECT Player FROM table WHERE MLS Team = Philadelphia Union
|
Translate the following into a SQL query
|
This institution nicknamed Fightin' engineers was founded on what year?
|
SELECT Founded FROM table WHERE Nickname = Fightin' Engineers
|
Translate the following into a SQL query
|
How many inputs joined this institution located in Franklin, Indiana?
|
SELECT COUNT Joined FROM table WHERE Location = Franklin, Indiana
|
Translate the following into a SQL query
|
How many times this institution was founded that was nicknamed Beavers?
|
SELECT COUNT Founded FROM table WHERE Nickname = Beavers
|
Translate the following into a SQL query
|
How many joined this Private/Church of God institution?
|
SELECT Joined FROM table WHERE Type = Private/Church of God
|
Translate the following into a SQL query
|
How many joined Manchester University?
|
SELECT Joined FROM table WHERE Institution = Manchester University
|
Translate the following into a SQL query
|
What circuit was the Clipsal 500 on?
|
SELECT Circuit FROM table WHERE Event = Clipsal 500
|
Translate the following into a SQL query
|
Who made the challenge on the Albert Park Grand Prix Circuit?
|
SELECT Challenge FROM table WHERE Circuit = Albert Park Grand Prix Circuit
|
Translate the following into a SQL query
|
In what round was the circuit Eastern Creek Raceway?
|
SELECT Rd. FROM table WHERE Circuit = Eastern Creek Raceway
|
Translate the following into a SQL query
|
Who made the challenge in the Australian Grand Prix?
|
SELECT Challenge FROM table WHERE Event = Australian Grand Prix
|
Translate the following into a SQL query
|
Who is the shirt sponsor of the team with an average squad age of 25.46?
|
SELECT Shirt sponsor FROM table WHERE Average Squad Age = 25.46
|
Translate the following into a SQL query
|
Who is the shirt sponsor for FC Bunyodkor?
|
SELECT Shirt sponsor FROM table WHERE Team = FC Bunyodkor
|
Translate the following into a SQL query
|
What is the average squad age of the team whose shirt sponsor is Sho'rtan Gaz Mahsulot and whose kit manufacturer is Adidas?
|
SELECT Average Squad Age FROM table WHERE Shirt sponsor = Sho'rtan Gaz Mahsulot AND Kit manufacturer = Adidas
|
Translate the following into a SQL query
|
Who is the captain of the team whose kit manufacturer is Nike?
|
SELECT Captain FROM table WHERE Kit manufacturer = Nike
|
Translate the following into a SQL query
|
Who is the manager of FK Andijan?
|
SELECT Manager FROM table WHERE Team = FK Andijan
|
Translate the following into a SQL query
|
Name the year for open cup did not qualify and national final
|
SELECT COUNT Year FROM table WHERE Open Cup = Did not qualify AND Playoffs = National Final
|
Translate the following into a SQL query
|
Name the league for 2000
|
SELECT League FROM table WHERE Year = 2000
|
Translate the following into a SQL query
|
Name the league for conference finals
|
SELECT League FROM table WHERE Playoffs = Conference Finals
|
Translate the following into a SQL query
|
Who directed the episode that was written by Bill Lawrence?
|
SELECT Directed by FROM table WHERE Written by = Bill Lawrence
|
Translate the following into a SQL query
|
Name the series result for season being 1998
|
SELECT Series result FROM table WHERE Season = 1998
|
Translate the following into a SQL query
|
Name the total number of tests won by australia for series 10
|
SELECT COUNT Tests won by Australia FROM table WHERE Series = 10
|
Translate the following into a SQL query
|
How many winners were there when the mountains classification was not awarded?
|
SELECT COUNT Winner FROM table WHERE Mountains classification = not awarded
|
Translate the following into a SQL query
|
Who was awarded mountains classifications when Mikel Nieve was the winner?
|
SELECT Mountains classification FROM table WHERE Winner = Mikel Nieve
|
Translate the following into a SQL query
|
Who was awarded mountains classification when Alessandro petacchi won?
|
SELECT Mountains classification FROM table WHERE Winner = Alessandro Petacchi
|
Translate the following into a SQL query
|
What is the production code for he episode titled "my best friend's baby's baby and my baby's baby"
|
SELECT MIN Production code FROM table WHERE Title = "My Best Friend's Baby's Baby and My Baby's Baby"
|
Translate the following into a SQL query
|
List the number of episodes directed by linda mendoza.
|
SELECT COUNT Production code FROM table WHERE Directed by = Linda Mendoza
|
Translate the following into a SQL query
|
How many million viewers watch the episode that kevin biegel & aseem batra wrote?
|
SELECT U.S viewers (million) FROM table WHERE Written by = Kevin Biegel & Aseem Batra
|
Translate the following into a SQL query
|
What is the series number that had 5.31 million viewers?
|
SELECT MAX Series # FROM table WHERE U.S viewers (million) = 5.31
|
Translate the following into a SQL query
|
What was the name of the episode that bill lawrence directed?
|
SELECT Title FROM table WHERE Directed by = Bill Lawrence
|
Translate the following into a SQL query
|
What was the name of the episode that had 4.65 million viewers?
|
SELECT Title FROM table WHERE U.S viewers (million) = 4.65
|
Translate the following into a SQL query
|
What is the original air date of the episode titled "My Hard Labor"?
|
SELECT Original air date FROM table WHERE Title = "My Hard Labor"
|
Translate the following into a SQL query
|
What is the production code of the episode directed by Michael McDonald?
|
SELECT Production code FROM table WHERE Directed by = Michael McDonald
|
Translate the following into a SQL query
|
What was the original air date of the episode that had 5.30 million U.S. viewers?
|
SELECT Original air date FROM table WHERE U.S. viewers (millions) = 5.30
|
Translate the following into a SQL query
|
What is the title of the episode directed by Linda Mendoza?
|
SELECT Title FROM table WHERE Directed by = Linda Mendoza
|
Translate the following into a SQL query
|
What are all the political types where area is 155.77?
|
SELECT Type FROM table WHERE Area (km²) = 155.77
|
Translate the following into a SQL query
|
What is the minimum number of barangays where the type is component city?
|
SELECT MIN No. of Barangays FROM table WHERE Type = Component City
|
Translate the following into a SQL query
|
What city/municipality has area of 176.40?
|
SELECT City/ municipality FROM table WHERE Area (km²) = 176.40
|
Translate the following into a SQL query
|
What is the area where population in 2010 is 38062?
|
SELECT Area (km²) FROM table WHERE Population (2010) = 38062
|
Translate the following into a SQL query
|
What is the population density where area is 48.67?
|
SELECT COUNT Pop. density (per km²) FROM table WHERE Area (km²) = 48.67
|
Translate the following into a SQL query
|
What couple averaged 21.0?
|
SELECT Couple FROM table WHERE Average = 21.0
|
Translate the following into a SQL query
|
What was the number of dances for the competition finish of 3?
|
SELECT MAX Number of dances FROM table WHERE Competition finish = 3
|
Translate the following into a SQL query
|
What was his minimum number wins in a single year?
|
SELECT MIN Wins FROM table
|
Translate the following into a SQL query
|
In which series was his position NC† ?
|
SELECT Series FROM table WHERE Position = NC†
|
Translate the following into a SQL query
|
What was his position when he garnered 38 points?
|
SELECT Position FROM table WHERE Points = 38
|
Translate the following into a SQL query
|
What was the sail number of Two True?
|
SELECT Sail number FROM table WHERE Yacht = Two True
|
Translate the following into a SQL query
|
What was Swish's corrected time?
|
SELECT Corrected time d:hh:mm:ss FROM table WHERE Yacht = Swish
|
Translate the following into a SQL query
|
What yacht did Andrew Saies sail on?
|
SELECT Yacht FROM table WHERE Skipper = Andrew Saies
|
Translate the following into a SQL query
|
What was the LOA when the elapsed time was 3:06:41:37?
|
SELECT LOA (Metres) FROM table WHERE Elapsed time d:hh:mm:ss = 3:06:41:37
|
Translate the following into a SQL query
|
What was the LOA for the Simonis Voogd Maxi?
|
SELECT LOA (Metres) FROM table WHERE Yacht type = Simonis Voogd Maxi
|
Translate the following into a SQL query
|
In what position did skipper Mark Richards place?
|
SELECT Position FROM table WHERE Skipper = Mark Richards
|
Translate the following into a SQL query
|
What is the yacht type of Icap Leopard?
|
SELECT Yacht type FROM table WHERE Yacht = ICAP Leopard
|
Translate the following into a SQL query
|
How many elapsed times were posted for the yacht with 27.38 LOA meters?
|
SELECT COUNT Elapsed time d:hh:mm:ss FROM table WHERE LOA (Metres) = 27.38
|
Translate the following into a SQL query
|
what skipper has the sail number aus60000?
|
SELECT Skipper FROM table WHERE Sail number = AUS60000
|
Translate the following into a SQL query
|
Who was the aggressive rider when the winner was luis león sánchez?
|
SELECT Aggressive Rider FROM table WHERE Winner = Luis León Sánchez
|
Translate the following into a SQL query
|
Who was the aggressive rider when the sprint classification was andré greipel and mountains classification was timothy roe?
|
SELECT Aggressive Rider FROM table WHERE Sprint Classification = André Greipel AND Mountains Classification = Timothy Roe
|
Translate the following into a SQL query
|
What was the stage when the winner was luis león sánchez?
|
SELECT Stage FROM table WHERE Winner = Luis León Sánchez
|
Translate the following into a SQL query
|
What was the young rider classification when manuel cardoso was the winner?
|
SELECT Young Rider Classification FROM table WHERE Winner = Manuel Cardoso
|
Translate the following into a SQL query
|
How many winners were there for stage 5?
|
SELECT COUNT Winner FROM table WHERE Stage = 5
|
Translate the following into a SQL query
|
What is the 2007 population of Gigmoto?
|
SELECT COUNT Population (2007) FROM table WHERE Municipality = Gigmoto
|
Translate the following into a SQL query
|
What is the 2010 population of the municipality with 31 barangays?
|
SELECT Population (2010) FROM table WHERE No. of Barangays = 31
|
Translate the following into a SQL query
|
What is the population density of Caramoran?
|
SELECT Pop. density (per km 2 ) FROM table WHERE Municipality = Caramoran
|
Translate the following into a SQL query
|
What municipality has a 130.6 pupulation density?
|
SELECT Municipality FROM table WHERE Pop. density (per km 2 ) = 130.6
|
Translate the following into a SQL query
|
What is the number of S Barangay for Paracale?
|
SELECT No. of s Barangay FROM table WHERE Municipality = Paracale
|
Translate the following into a SQL query
|
What is the municipality that has an area of exactly 199.35 sq. km?
|
SELECT Municipality FROM table WHERE Area (km²) = 199.35
|
Translate the following into a SQL query
|
What is the municipality that has an area of exactly 214.44 sq. km?
|
SELECT Municipality FROM table WHERE Area (km²) = 214.44
|
Translate the following into a SQL query
|
Name the 3rd person pl for тонэн ~ тонэныд
|
SELECT 3rd pers pl. FROM table WHERE 2nd pers. sing. = тонэн ~ тонэныд
|
Translate the following into a SQL query
|
Name the 1st person pl for тонэ
|
SELECT 1st pers. pl FROM table WHERE 2nd pers. sing. = тонэ
|
Translate the following into a SQL query
|
Name the 3rd pers pl for dative
|
SELECT 3rd pers pl. FROM table WHERE Case = dative
|
Translate the following into a SQL query
|
When fr2.0 9 is the series who is the winning team?
|
SELECT Winning team FROM table WHERE Series = FR2.0 9
|
Translate the following into a SQL query
|
When fairuz fauzy is the winning driver what is the date?
|
SELECT Date FROM table WHERE Winning driver = Fairuz Fauzy
|
Translate the following into a SQL query
|
When emt 9 is the series what is the date?
|
SELECT Date FROM table WHERE Series = EMT 9
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.