instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | How many games have Air Force as the opponent? | SELECT MAX Game FROM table WHERE Opponent = Air Force |
Translate the following into a SQL query | How many records have black knights points as 17? | SELECT COUNT Record FROM table WHERE Black Knights points = 17 |
Translate the following into a SQL query | Which opponent has a record of 6-2? | SELECT Opponent FROM table WHERE Record = 6-2 |
Translate the following into a SQL query | How many results have a game of 5? | SELECT COUNT Result FROM table WHERE Game = 5 |
Translate the following into a SQL query | What is the run time for the episode with 7.9 million viewers? | SELECT Run time FROM table WHERE Viewers (in millions) = 7.9 |
Translate the following into a SQL query | What episode had a run time of 23:38? | SELECT Episode FROM table WHERE Run time = 23:38 |
Translate the following into a SQL query | How many million viewers watched the episode with a run time of 25:22? | SELECT Viewers (in millions) FROM table WHERE Run time = 25:22 |
Translate the following into a SQL query | Name the date for result loss for duke | SELECT Date FROM table WHERE Result = Loss AND Opponent = Duke |
Translate the following into a SQL query | Name the opponents for record of 2-1 | SELECT Opponents FROM table WHERE Record = 2-1 |
Translate the following into a SQL query | Name the record for black knights points 54 | SELECT Record FROM table WHERE Black Knights points = 54 |
Translate the following into a SQL query | Name the opponents stanford | SELECT Opponents FROM table WHERE Opponent = Stanford |
Translate the following into a SQL query | Name the result for ursinus college | SELECT Result FROM table WHERE Opponent = Ursinus College |
Translate the following into a SQL query | Name the black knights points for loss result | SELECT MAX Black Knights points FROM table WHERE Result = Loss |
Translate the following into a SQL query | Name the date for 6-2 record | SELECT Date FROM table WHERE Record = 6-2 |
Translate the following into a SQL query | Name the opponents for record being 2-0 | SELECT MAX Opponents FROM table WHERE Record = 2-0 |
Translate the following into a SQL query | How man innings were there during the period with a career average of 41.43? | SELECT Innings FROM table WHERE Average = 41.43 |
Translate the following into a SQL query | During what period did Ricky Ponting play? | SELECT Period FROM table WHERE Player = Ricky Ponting |
Translate the following into a SQL query | During what period was the career average 44.10? | SELECT Period FROM table WHERE Average = 44.10 |
Translate the following into a SQL query | What was the smallest numbered rank for Michael Bevan? | SELECT MIN Rank FROM table WHERE Player = Michael Bevan |
Translate the following into a SQL query | What period was there a career average of 48.15? | SELECT Period FROM table WHERE Average = 48.15 |
Translate the following into a SQL query | when the value (int $1000) is 409566, what is the commodity? | SELECT Commodity FROM table WHERE Value (Int $1000) = 409566 |
Translate the following into a SQL query | When the value rank is 23, what is the value? | SELECT MIN Value (Int $1000) FROM table WHERE Value world rank = 23 |
Translate the following into a SQL query | When the value world rank is 7, what is the rank? | SELECT Rank FROM table WHERE Value world rank = 7 |
Translate the following into a SQL query | When the production (mt) is 650000, what is the total number of rank? | SELECT COUNT Rank FROM table WHERE Production (MT) = 650000 |
Translate the following into a SQL query | When the production (mt) is 446424, what is the value world rank ? | SELECT Value world rank FROM table WHERE Production (MT) = 446424 |
Translate the following into a SQL query | where value world rank is 12, what is the quantity world rank? | SELECT Quantity world rank FROM table WHERE Value world rank = 12 |
Translate the following into a SQL query | What is the rank of Tim Paine? | SELECT Rank FROM table WHERE Player = Tim Paine |
Translate the following into a SQL query | What rank does Rodney Marsh have? | SELECT MAX Rank FROM table WHERE Player = Rodney Marsh |
Translate the following into a SQL query | Name the 1st place for limoges csp | SELECT 1st Place FROM table WHERE 3rd Place = Limoges CSP |
Translate the following into a SQL query | What is the rank for a strike rate of 91.67? | SELECT MAX Rank FROM table WHERE Strike rate = 91.67 |
Translate the following into a SQL query | What player has 477 runs? | SELECT Player FROM table WHERE Runs = 477 |
Translate the following into a SQL query | How many innings does rank 3 have? | SELECT MAX Innings FROM table WHERE Rank = 3 |
Translate the following into a SQL query | What was the goals for in the season that the pct % was 0.604? | SELECT MAX Goals For FROM table WHERE Pct % = 0.604 |
Translate the following into a SQL query | In what season was the pct % 0.552? | SELECT Season FROM table WHERE Pct % = 0.552 |
Translate the following into a SQL query | What was the standing in the season that the pct% was 0.769? | SELECT Standing FROM table WHERE Pct % = 0.769 |
Translate the following into a SQL query | What were the points in the 1958-59 season? | SELECT Points FROM table WHERE Season = 1958-59 |
Translate the following into a SQL query | Who were Dürr's opponents in the final on year 1968? | SELECT Opponents in the final FROM table WHERE Year = 1968 |
Translate the following into a SQL query | What was the court surface on year 1971? | SELECT Surface FROM table WHERE Year = 1971 |
Translate the following into a SQL query | Name the most top 10s for 2 best finish | SELECT MAX Top 10s FROM table WHERE Best finish = 2 |
Translate the following into a SQL query | Name the tournaments played for 2004 | SELECT MIN Tournaments played FROM table WHERE Year = 2004 |
Translate the following into a SQL query | How many submission of the night occurred when the fighter was matt wiman? | SELECT MAX Submissions of the Night FROM table WHERE Fighter = Matt Wiman |
Translate the following into a SQL query | How many knockout of the night occurred when joe lauzon fought. | SELECT Knockouts of the Night FROM table WHERE Fighter = Joe Lauzon |
Translate the following into a SQL query | What is the smallest number of episodes in a season? | SELECT MIN Episodes FROM table |
Translate the following into a SQL query | When was Season Three premiered in region 2? | SELECT Region 2 FROM table WHERE DVD Name = Season Three |
Translate the following into a SQL query | Where is every location with specialization of textile engineering? | SELECT Location FROM table WHERE Specialization = Textile engineering |
Translate the following into a SQL query | What is every website with specialization of engineering and division of dhaka division? | SELECT Website FROM table WHERE Specialization = Engineering AND Division = Dhaka division |
Translate the following into a SQL query | Where is every location where Nick is Bru? | SELECT Location FROM table WHERE Nick = BRU |
Translate the following into a SQL query | What is every specialization with the website Jstu.edu.bd | SELECT Specialization FROM table WHERE Website = jstu.edu.bd |
Translate the following into a SQL query | Name the languages for cyprus | SELECT Languages FROM table WHERE Member countries = Cyprus |
Translate the following into a SQL query | Name the languages for estonia | SELECT Languages FROM table WHERE Member countries = Estonia |
Translate the following into a SQL query | Name the most gdp per capita latvian | SELECT MAX GDP per capita (US$) FROM table WHERE Languages = Latvian |
Translate the following into a SQL query | how many archive were when run time is 24:34 | SELECT Archive FROM table WHERE Run time = 24:34 |
Translate the following into a SQL query | what is all the broadcast date when viewers were 8.4 millions | SELECT COUNT Broadcast date FROM table WHERE Viewers (in millions) = 8.4 |
Translate the following into a SQL query | how many episode have 8.4 millions viewer. | SELECT COUNT Episode FROM table WHERE Viewers (in millions) = 8.4 |
Translate the following into a SQL query | What was the title in season #8? | SELECT Title FROM table WHERE Season # = 8 |
Translate the following into a SQL query | Who was the director when the writer(s) was John W. Bloch? | SELECT Director FROM table WHERE Writer(s) = John W. Bloch |
Translate the following into a SQL query | What was the series# with the original airdate of october 23, 1967? | SELECT MAX Series # FROM table WHERE Original Airdate = October 23, 1967 |
Translate the following into a SQL query | what is the title when the writer(s) is jack turley? | SELECT Title FROM table WHERE Writer(s) = Jack Turley |
Translate the following into a SQL query | How many of the series # when the original airdate is september 25, 1967? | SELECT COUNT Series # FROM table WHERE Original Airdate = September 25, 1967 |
Translate the following into a SQL query | Name the episode for run time of 22:50 | SELECT Episode FROM table WHERE Run time = 22:50 |
Translate the following into a SQL query | Name the broadcast date of 6.9 million viewers | SELECT Broadcast date FROM table WHERE Viewers (in millions) = 6.9 |
Translate the following into a SQL query | Name the broadcast date of run time being 24:14 | SELECT Broadcast date FROM table WHERE Run time = 24:14 |
Translate the following into a SQL query | Which archive has a run time of 23:48? | SELECT Archive FROM table WHERE Run time = 23:48 |
Translate the following into a SQL query | Which broadcast date has 6.8 million viewers? | SELECT Broadcast date FROM table WHERE Viewers (in millions) = 6.8 |
Translate the following into a SQL query | What Petrol engine has total power of ps (kw; bhp)@5400-6500? | SELECT Model FROM table WHERE max. power = PS (kW; bhp)@5400-6500 |
Translate the following into a SQL query | What is top speed of a petrol engine at ps (kw; bhp)@5250-6250? | SELECT top speed FROM table WHERE max. power = PS (kW; bhp)@5250-6250 |
Translate the following into a SQL query | What is the maximum speed for total power of ps (kw; bhp)? | SELECT top speed FROM table WHERE max. power = PS (kW; bhp) |
Translate the following into a SQL query | What is the s7 4.0 tfsi quattro engine torque? | SELECT Torque FROM table WHERE Model = S7 4.0 TFSI quattro |
Translate the following into a SQL query | Name the number in season for 4300062 | SELECT MAX No. in season FROM table WHERE Production code = 4300062 |
Translate the following into a SQL query | Name the number of cancelled for turnham green | SELECT COUNT Cancelled FROM table WHERE Station = Turnham Green |
Translate the following into a SQL query | Name the number of details for emlyn road | SELECT COUNT Details FROM table WHERE Station = Emlyn Road |
Translate the following into a SQL query | What episode number in the series was directed by John Behring? | SELECT MAX No in Series FROM table WHERE Directed by = John Behring |
Translate the following into a SQL query | How many original air dates were there for episodes with a production code of 4398016? | SELECT COUNT Original air date FROM table WHERE Production code = 4398016 |
Translate the following into a SQL query | How many dates did the episode "out of sight" originally air on? | SELECT COUNT Original air date FROM table WHERE Title = "Out of Sight" |
Translate the following into a SQL query | Name the rank that premiered september 25, 2001 | SELECT Rank FROM table WHERE Season premiere = September 25, 2001 |
Translate the following into a SQL query | Name the rank for 14.80 viewers | SELECT Rank FROM table WHERE Viewers (in millions) = 14.80 |
Translate the following into a SQL query | Name the number of rank for season 6 | SELECT COUNT Rank FROM table WHERE Season = 6 |
Translate the following into a SQL query | What date did the episode with a production code of 4301085 originally air? | SELECT Original air date FROM table WHERE Production code = 4301085 |
Translate the following into a SQL query | What date did episode 15 of the season originally air? | SELECT Original air date FROM table WHERE No. in season = 15 |
Translate the following into a SQL query | How many items are listed under the column of U.S. viewers for episode "Bite Me"? | SELECT COUNT U.S. viewers (millions) FROM table WHERE Title = "Bite Me" |
Translate the following into a SQL query | Name the remarks for sawhouse | SELECT Remarks FROM table WHERE NATO reporting name = SAWHOUSE |
Translate the following into a SQL query | Name the nato/ us dod code for sabbot | SELECT NATO/U.S DOD code FROM table WHERE NATO reporting name = SABBOT |
Translate the following into a SQL query | When autodromo nazionale monza is the circuit what is the report? | SELECT Report FROM table WHERE Circuit = Autodromo Nazionale Monza |
Translate the following into a SQL query | When michele pirro is the pole position what is the date? | SELECT Date FROM table WHERE Pole Position = Michele Pirro |
Translate the following into a SQL query | When Netherlands is the country what is the report? | SELECT Report FROM table WHERE Country = Netherlands |
Translate the following into a SQL query | When circuit ricardo tormo is the circuit who is the winning team? | SELECT Winning Team FROM table WHERE Circuit = Circuit Ricardo Tormo |
Translate the following into a SQL query | When circuit ricardo tormo is the circuit what is the round? | SELECT COUNT Round FROM table WHERE Circuit = Circuit Ricardo Tormo |
Translate the following into a SQL query | How many opponents were there when the record was 6-0? | SELECT COUNT Opponent FROM table WHERE Record = 6-0 |
Translate the following into a SQL query | How many opponents were there when the record was 6-0? | SELECT Date FROM table WHERE Record = 6-0 |
Translate the following into a SQL query | What was the team record when the team played @ Utah? | SELECT Record FROM table WHERE Opponent = @ Utah |
Translate the following into a SQL query | How many points did the Cowboys have when they had a 7-0 record? | SELECT Cowboys points FROM table WHERE Record = 7-0 |
Translate the following into a SQL query | Name the scoreboard for total being 23.5 | SELECT Scoreboard FROM table WHERE Total = 23.5 |
Translate the following into a SQL query | Name the jason for public vote being 19.20% | SELECT Jason FROM table WHERE Public Vote % = 19.20% |
Translate the following into a SQL query | Name the nicky for " take a chance on me "– abba | SELECT Nicky FROM table WHERE Song = " Take a Chance on Me "– ABBA |
Translate the following into a SQL query | Name the number of song for scoreboard being 3rd | SELECT COUNT Song FROM table WHERE Scoreboard = 3rd |
Translate the following into a SQL query | state the opponent on halliwell jones stadium in super league xiv | SELECT Opponent FROM table WHERE Venue = Halliwell Jones Stadium AND Competition = Super League XIV |
Translate the following into a SQL query | how many venues were played on in round 1 | SELECT COUNT Venue FROM table WHERE Round = 1 |
Translate the following into a SQL query | state the round that had a game score 50-10 | SELECT Round FROM table WHERE Score = 50-10 |
Translate the following into a SQL query | state the round that had a game attended attended by 9359 people | SELECT Round FROM table WHERE Attendance = 9359 |
Translate the following into a SQL query | how many rounds had the score 44-22 | SELECT COUNT Round FROM table WHERE Score = 44-22 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.