instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Who was the opponent on November 15, 1981? | SELECT Opponent FROM table WHERE Date = november 15, 1981 |
Translate the following into a SQL query | Which Debut year has a Player of noel carroll, and Games smaller than 12? | SELECT MAX Debut year FROM table WHERE Player = noel carroll AND Games < 12 |
Translate the following into a SQL query | Which Goals have a Player of noel carroll? | SELECT MIN Goals FROM table WHERE Player = noel carroll |
Translate the following into a SQL query | How many debut years have Years at club of 1950β1951, and Games larger than 14? | SELECT SUM Debut year FROM table WHERE Years at club = 1950β1951 AND Games > 14 |
Translate the following into a SQL query | Which title has origianal sound entertainment as its label? | SELECT Title FROM table WHERE Label = origianal sound entertainment |
Translate the following into a SQL query | What was the earliest year of release for Peaches: Francine Barker with the wounded bird label? | SELECT MIN Year of Release FROM table WHERE Peaches: = francine barker AND Label = wounded bird |
Translate the following into a SQL query | What was the latest year of release for the greatest hits title? | SELECT MAX Year of Release FROM table WHERE Title = greatest hits |
Translate the following into a SQL query | When the country of release is EU, what is the label name? | SELECT Label FROM table WHERE Country of Release = eu |
Translate the following into a SQL query | what is the highest latitude when the township is kingsley and the geo id is higher than 3803942820? | SELECT MAX Latitude FROM table WHERE Township = kingsley AND GEO ID > 3803942820 |
Translate the following into a SQL query | what is the latitude when water (sqmi) is 0.058 and the ansi code is less than 1759683? | SELECT AVG Latitude FROM table WHERE Water (sqmi) = 0.058 AND ANSI code < 1759683 |
Translate the following into a SQL query | what is the geo id when the longitude is -98.435797 and the land (sqmi) is less than 36.039? | SELECT MAX GEO ID FROM table WHERE Longitude = -98.435797 AND Land ( sqmi ) < 36.039 |
Translate the following into a SQL query | Name the lowest Year Joined which has a Mascot of pioneers? | SELECT MIN Year Joined FROM table WHERE Mascot = pioneers |
Translate the following into a SQL query | Name the IHSAA Class of Mascot of pioneers? | SELECT IHSAA Class FROM table WHERE Mascot = pioneers |
Translate the following into a SQL query | Name the IHSAA Class of 55 morgan and a School of mooresville? | SELECT IHSAA Class FROM table WHERE County = 55 morgan AND School = mooresville |
Translate the following into a SQL query | where is Mascot of quakers? | SELECT Location FROM table WHERE Mascot = quakers |
Translate the following into a SQL query | What kind of IHSAA Class has a School of decatur central? | SELECT IHSAA Class FROM table WHERE School = decatur central |
Translate the following into a SQL query | What studio had the director Peter Lord Nick Park before 2004? | SELECT Studio(s) FROM table WHERE Year < 2004 AND Director = peter lord nick park |
Translate the following into a SQL query | What studio did Paul Greengrass direct in 2007? | SELECT Studio(s) FROM table WHERE Year = 2007 AND Director = paul greengrass |
Translate the following into a SQL query | What is the A score when the B score is more than 9.15 and the gymnast was in the 2nd position? | SELECT SUM A Score FROM table WHERE B Score > 9.15 AND Position = 2nd |
Translate the following into a SQL query | what is the quantity when the year of manufacture is 1900 and the class is mc? | SELECT Quantity FROM table WHERE Year(s) of manufacture = 1900 AND Class = mc |
Translate the following into a SQL query | what is the class when the quantity is 4? | SELECT Class FROM table WHERE Quantity = 4 |
Translate the following into a SQL query | Who were the opponents on Week 8? | SELECT Opponent FROM table WHERE Week = 8 |
Translate the following into a SQL query | When the city is agadir what is the change (12/11)? | SELECT Change (12/11) FROM table WHERE City = agadir |
Translate the following into a SQL query | What is the catalog number of Venus Demilo's A-side? | SELECT Catalog number FROM table WHERE A-side = venus demilo |
Translate the following into a SQL query | What year did the B-Side of Just Squeeze Me come out? | SELECT Year FROM table WHERE B-side = just squeeze me |
Translate the following into a SQL query | What label has the 817 catalog? | SELECT Label FROM table WHERE Catalog number = 817 |
Translate the following into a SQL query | What is the A-side for it Never Entered My Mind, Part 2? | SELECT A-side FROM table WHERE B-side = it never entered my mind, part 2 |
Translate the following into a SQL query | What is the A-side for catalog 902? | SELECT A-side FROM table WHERE Catalog number = 902 |
Translate the following into a SQL query | What is the class of the a1 bm type? | SELECT Class FROM table WHERE Type = a1 bm |
Translate the following into a SQL query | What is the quantity of the aw class? | SELECT Quantity FROM table WHERE Class = aw |
Translate the following into a SQL query | What is the class with 1 quantity? | SELECT Class FROM table WHERE Quantity = 1 |
Translate the following into a SQL query | What is the railway number of the aw class? | SELECT Railway number(s) FROM table WHERE Class = aw |
Translate the following into a SQL query | What was the game when the record was 31-15? | SELECT Game FROM table WHERE Record = 31-15 |
Translate the following into a SQL query | What was the date of the game with a score of W 106-100? | SELECT Date FROM table WHERE Score = w 106-100 |
Translate the following into a SQL query | What is the speed for rank 1? | SELECT Speed FROM table WHERE Rank = 1 |
Translate the following into a SQL query | What team has a Rank Ret, and rider Frank A Applebee? | SELECT Team FROM table WHERE Rank = ret AND Rider = frank a applebee |
Translate the following into a SQL query | What internet explorer has 29.07% for the chrome? | SELECT Internet Explorer FROM table WHERE Chrome = 29.07% |
Translate the following into a SQL query | What is the other mozilla that has 9.41% for the safari? | SELECT Other Mozilla FROM table WHERE Safari = 9.41% |
Translate the following into a SQL query | What other mozilla has January 2010 as the period? | SELECT Other Mozilla FROM table WHERE Period = january 2010 |
Translate the following into a SQL query | What internet explorer has 7.89% as the safari, and 8.22% as the chrome? | SELECT Internet Explorer FROM table WHERE Safari = 7.89% AND Chrome = 8.22% |
Translate the following into a SQL query | What period has 0.25% as the other mozilla? | SELECT Period FROM table WHERE Other Mozilla = 0.25% |
Translate the following into a SQL query | Which socket goes with the item with release price of $378 and turbo of 6/6/8/9? | SELECT Socket FROM table WHERE Release price ( USD ) = $378 AND Turbo = 6/6/8/9 |
Translate the following into a SQL query | What is the L2 cache for the core i7-2635QM? | SELECT L2 cache FROM table WHERE Model number = core i7-2635qm |
Translate the following into a SQL query | What is the release price for the GPU frequency of standard power, embedded? | SELECT Release price ( USD ) FROM table WHERE GPU frequency = standard power, embedded |
Translate the following into a SQL query | What is the socked when the turbo is 8/8/10/11? | SELECT Socket FROM table WHERE Turbo = 8/8/10/11 |
Translate the following into a SQL query | Which round did the bout that led to a 1-0 record end in? | SELECT Round FROM table WHERE Record = 1-0 |
Translate the following into a SQL query | Which Time has a Lane smaller than 2, and a Nationality of spain? | SELECT Time FROM table WHERE Lane < 2 AND Nationality = spain |
Translate the following into a SQL query | How many Heats have a Name of miguel molina? | SELECT COUNT Heat FROM table WHERE Name = miguel molina |
Translate the following into a SQL query | what is the league when the fa cup is qr4 and the fa trophy is qf? | SELECT League FROM table WHERE FA Cup = qr4 AND FA Trophy = qf |
Translate the following into a SQL query | what is the fa trophy when the leading scorer is lee gregory (8)? | SELECT FA Trophy FROM table WHERE Leading Scorer = lee gregory (8) |
Translate the following into a SQL query | what is the year when the position is 1/22 promoted and the leading scorer is james dean (27)? | SELECT Year FROM table WHERE Position = 1/22 promoted AND Leading Scorer = james dean (27) |
Translate the following into a SQL query | When the Altrincham was the home team what was the tie no? | SELECT Tie no FROM table WHERE Home team = altrincham |
Translate the following into a SQL query | Crawley Town as the home team has what as the tie no? | SELECT Tie no FROM table WHERE Home team = crawley town |
Translate the following into a SQL query | What is the nationality of the swimmer with a rank over 2 with a time of 55.77? | SELECT Nationality FROM table WHERE Rank > 2 AND Time = 55.77 |
Translate the following into a SQL query | What is the earliest heat with a finisher from the Czech Republic and a rank over 41? | SELECT MIN Heat FROM table WHERE Nationality = czech republic AND Rank > 41 |
Translate the following into a SQL query | What is the total number of heats with a finisher named Gregor Tait in lanes over 6? | SELECT COUNT Heat FROM table WHERE Name = gregor tait AND Lane > 6 |
Translate the following into a SQL query | What is the time of the swimmer in rank 40? | SELECT Time FROM table WHERE Rank = 40 |
Translate the following into a SQL query | From what series was Tokio Jokio, directed by Norm McCabe? | SELECT Series FROM table WHERE Director = norm mccabe AND Title = tokio jokio |
Translate the following into a SQL query | When was Inki and the Minah Bird released? | SELECT Release date FROM table WHERE Title = inki and the minah bird |
Translate the following into a SQL query | From what series is Peck Up Your Troubles? | SELECT Series FROM table WHERE Title = peck up your troubles |
Translate the following into a SQL query | When the president was Yoweri Museveni, and the year was 1993, with rank of 6 under political rights, what was the total of civil liberties? | SELECT SUM Civil Liberties FROM table WHERE Political Rights = 6 AND President = yoweri museveni AND Year = 1993 |
Translate the following into a SQL query | What is the year average when not free was the status, and less than 7 was the civil liberties, and less than 6 political rights? | SELECT AVG Year FROM table WHERE Status = not free AND Civil Liberties < 7 AND Political Rights < 6 |
Translate the following into a SQL query | What is the least political rights rank in 1976? | SELECT MIN Political Rights FROM table WHERE Year = 1976 |
Translate the following into a SQL query | What is average ratings for Japanese title of γγΏγ«γγγ«γͺ, with episodes larger than 9? | SELECT Average Ratings FROM table WHERE Episodes > 9 AND Japanese Title = γγΏγ«γγγ«γͺ |
Translate the following into a SQL query | Which episodes has the lowest average ratings of 8.7%? | SELECT MIN Episodes FROM table WHERE Average Ratings = 8.7% |
Translate the following into a SQL query | Which romaji title, has Japanese title of θ欑ιγ¨γγ 3? | SELECT Romaji Title FROM table WHERE Japanese Title = θ欑ιγ¨γγ 3 |
Translate the following into a SQL query | Which TV station, has romaji title of tantei gakuen q and episodes larger than 10? | SELECT TV Station FROM table WHERE Episodes > 10 AND Romaji Title = tantei gakuen q |
Translate the following into a SQL query | What is the snatch for the person holding the Olympic record, and 173kg of 172kg? | SELECT Snatch FROM table WHERE World record = olympic record AND 173kg = 172kg |
Translate the following into a SQL query | What is the Almaty, Kazakhstan when Sergey Filimonov ( KAZ ) is 210kg? | SELECT Almaty , Kazakhstan FROM table WHERE Sergey Filimonov ( KAZ ) = 210kg |
Translate the following into a SQL query | What shows for Sergey Filimonov (KAZ) when the Snatch shows snatch? | SELECT Sergey Filimonov ( KAZ ) FROM table WHERE Snatch = snatch |
Translate the following into a SQL query | What is the Almaty, Kazakhstan when the Sergey Filimonov (KAZ) is 210kg? | SELECT Almaty , Kazakhstan FROM table WHERE Sergey Filimonov ( KAZ ) = 210kg |
Translate the following into a SQL query | What is the total weeks with more 56,134 attendees against the minnesota vikings? | SELECT SUM Week FROM table WHERE Attendance > 56,134 AND Opponent = minnesota vikings |
Translate the following into a SQL query | What year was the main role a character named Guan Yu (ιηΎ½)? | SELECT MIN Year FROM table WHERE Role = main AND Character = guan yu (ιηΎ½) |
Translate the following into a SQL query | What is the English character for Lin Ming Kuan (ζζε―¬)? | SELECT English FROM table WHERE Character = lin ming kuan (ζζε―¬) |
Translate the following into a SQL query | What character has a Year larger than 2010 with a lead role, and Chinese Title of ζε€38β? | SELECT Character FROM table WHERE Year > 2010 AND Role = lead role AND Chinese Title = ζε€38β |
Translate the following into a SQL query | What is the year that has a character named Wu Ji Wei (η‘ζ₯΅ε¨)? | SELECT AVG Year FROM table WHERE Character = wu ji wei (η‘ζ₯΅ε¨) |
Translate the following into a SQL query | Which Round has an Opponent of aleksandr pitchkounov? | SELECT MIN Round FROM table WHERE Opponent = aleksandr pitchkounov |
Translate the following into a SQL query | Which Result has a Round of 5, and an Event of mt one? | SELECT Result FROM table WHERE Round = 5 AND Event = mt one |
Translate the following into a SQL query | Mortlake club has more than 924 against, less than 14 losses, and how many total draws? | SELECT COUNT Draws FROM table WHERE Against > 924 AND Club = mortlake AND Losses < 14 |
Translate the following into a SQL query | What is the total number of wins for Cobden club when there are more than 2 draws? | SELECT SUM Wins FROM table WHERE Club = cobden AND Draws > 2 |
Translate the following into a SQL query | When against is 797 and wins is more than 10, what is the sum of draws? | SELECT COUNT Draws FROM table WHERE Against = 797 AND Wins > 10 |
Translate the following into a SQL query | Club warrnambool has less than 9 wins and what average of draws? | SELECT AVG Draws FROM table WHERE Wins < 9 AND Club = warrnambool |
Translate the following into a SQL query | What is the average number of draws for Mortlake club when they have less than 0 wins? | SELECT AVG Draws FROM table WHERE Club = mortlake AND Wins < 0 |
Translate the following into a SQL query | Which Foreign population has a Population (2004) larger than 234733? | SELECT AVG Foreign population FROM table WHERE Population (2004) > 234733 |
Translate the following into a SQL query | Which Population (2004) has a Moroccan population larger than 234506? | SELECT AVG Population (2004) FROM table WHERE Moroccan population > 234506 |
Translate the following into a SQL query | What date was the opponent VFL Sindelfingen? | SELECT Date FROM table WHERE Opponent = vfl sindelfingen |
Translate the following into a SQL query | What date was the attendance 1,804? | SELECT Date FROM table WHERE Attendance = 1,804 |
Translate the following into a SQL query | Who was the opponent with an attendance of 628? | SELECT Opponent FROM table WHERE Attendance = 628 |
Translate the following into a SQL query | What bike has a grid greater than 17, laps less than 8, with milos cihak as the rider? | SELECT Bike FROM table WHERE Grid > 17 AND Laps < 8 AND Rider = milos cihak |
Translate the following into a SQL query | What is the highest grid that has gregorio lavilla as the rider? | SELECT MAX Grid FROM table WHERE Rider = gregorio lavilla |
Translate the following into a SQL query | What rider has laps less than 20, a ducati 1098 rs 08 as the bike, with accident as the time, and a grid less than 14? | SELECT Rider FROM table WHERE Laps < 20 AND Bike = ducati 1098 rs 08 AND Time = accident AND Grid < 14 |
Translate the following into a SQL query | How many overs when there are 5231 runs and fewer than 37 matches? | SELECT SUM Overs FROM table WHERE Runs = 5231 AND Matches < 37 |
Translate the following into a SQL query | What are the fewest wickets when player's career spanned 1946-1960 and maidens were more than 419? | SELECT MIN Wickets FROM table WHERE Career = 1946-1960 AND Maidens > 419 |
Translate the following into a SQL query | What is the largest number of wickets when there are more than 630 maidens and a best of 7/72? | SELECT MAX Wickets FROM table WHERE Maidens > 630 AND Best = 7/72 |
Translate the following into a SQL query | Who has fewer than 2047.3 overs, more than 200 wickets and an average of 29.02? | SELECT Name FROM table WHERE Overs < 2047.3 AND Wickets > 200 AND Average > 29.02 |
Translate the following into a SQL query | How many people attended the Scottish Cup on 29.02.2000? | SELECT Attendance FROM table WHERE Competition = scottish cup AND Date = 29.02.2000 |
Translate the following into a SQL query | What was the score of the league cup in the 2007-08 season? | SELECT Score FROM table WHERE Competition = league cup AND Season = 2007-08 |
Translate the following into a SQL query | What is the attendance in the game in the 2010-11 season, when the score was 2β0? | SELECT MIN Attendance FROM table WHERE Season = 2010-11 AND Score = 2β0 |
Translate the following into a SQL query | What team was in 1st plate in a year later than 1956? | SELECT 1st Place Team FROM table WHERE Year > 1956 |
Translate the following into a SQL query | What location hosted when the National Cash Register, Dayton, Oh was in 4th place in 1957? | SELECT Host Location FROM table WHERE 4th Place Team = national cash register, dayton, oh AND Year = 1957 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.