instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Name the championship for winner and judy tegart dalton lesley turner bowrey | SELECT COUNT Championship FROM table WHERE Outcome = Winner AND Opponents = Judy Tegart Dalton Lesley Turner Bowrey |
Translate the following into a SQL query | Name the outcome for wimbledon | SELECT Outcome FROM table WHERE Championship = Wimbledon |
Translate the following into a SQL query | Name the opponets for 6–4, 3–6, 6–2 | SELECT Opponents FROM table WHERE Score = 6–4, 3–6, 6–2 |
Translate the following into a SQL query | Name the least year for evonne goolagong helen gourlay | SELECT MIN Year FROM table WHERE Opponents = Evonne Goolagong Helen Gourlay |
Translate the following into a SQL query | Name the surface for australian open for winner | SELECT Surface FROM table WHERE Championship = Australian Open AND Outcome = Winner |
Translate the following into a SQL query | What's the highest scoring team in the round in Ring Knutstorp in which Polestar Racing is the winning team? | SELECT Highest Scoring Team FROM table WHERE Circuit/Location = Ring Knutstorp AND Winning Team = Polestar Racing |
Translate the following into a SQL query | How many rounds were there in Karlskoga Motorstadion with Roger Eriksson at the pole position? | SELECT COUNT Round FROM table WHERE Circuit/Location = Karlskoga Motorstadion AND Pole Position = Roger Eriksson |
Translate the following into a SQL query | What was the first leg result in the round against Norchi Dinamoeli? | SELECT First Leg FROM table WHERE Opposition = Norchi Dinamoeli |
Translate the following into a SQL query | which vehicles got best time of day 1:17.17 | SELECT Vehicle FROM table WHERE Best Time of Day = 1:17.17 |
Translate the following into a SQL query | how many drivers driving toyota corolla | SELECT COUNT Driver FROM table WHERE Vehicle = Toyota Corolla |
Translate the following into a SQL query | what is the lowest position of brendan sole | SELECT MAX Pos FROM table WHERE Driver = Brendan Sole |
Translate the following into a SQL query | how many vehicles where top 13 time is 1:18.72 | SELECT COUNT Vehicle FROM table WHERE Top 13 Time = 1:18.72 |
Translate the following into a SQL query | which driver got best time of day 1:16.93 | SELECT Driver FROM table WHERE Best Time of Day = 1:16.93 |
Translate the following into a SQL query | What is the amount of assists when mins is 744:27? | SELECT Assists FROM table WHERE Mins = 744:27 |
Translate the following into a SQL query | What is the game number with 385:33 mins? | SELECT MIN Games FROM table WHERE Mins = 385:33 |
Translate the following into a SQL query | What is the points number when rebounds is 4.4? | SELECT Points FROM table WHERE Rebounds = 4.4 |
Translate the following into a SQL query | Who is the team with the ft% of 77.6? | SELECT Team FROM table WHERE FT% = 77.6 |
Translate the following into a SQL query | When did Austin Austin TX get the third place? | SELECT Year FROM table WHERE Third Place = Austin Austin TX |
Translate the following into a SQL query | Who was the first runner up in the year when Mesa Mesa AZ was the consolation winner? | SELECT First Runner Up FROM table WHERE Consolation Winner/4th = Mesa Mesa AZ |
Translate the following into a SQL query | Who has a religion of United Methodist and a prior background of a Congressional Aide? | SELECT Representative FROM table WHERE Religion = United Methodist AND Prior background = Congressional aide |
Translate the following into a SQL query | What horse had a starting price of 14/1 and weighted 10-7? | SELECT Name FROM table WHERE Starting price = 14/1 AND Weight (st, lb) = 10-7 |
Translate the following into a SQL query | What's the number of the horse weighting 10-5? | SELECT MIN Number FROM table WHERE Weight (st, lb) = 10-5 |
Translate the following into a SQL query | What horse has the number 25? | SELECT Name FROM table WHERE Number = 25 |
Translate the following into a SQL query | How much does Point Barrow weight? | SELECT Weight (st, lb) FROM table WHERE Name = Point Barrow |
Translate the following into a SQL query | What are Andrew McNamara's colors? | SELECT Colours FROM table WHERE Jockey = Andrew McNamara |
Translate the following into a SQL query | What's the number of the horse whose trainer is Kim Bailey? | SELECT MAX Number FROM table WHERE Trainer = Kim Bailey |
Translate the following into a SQL query | Who wrote episode number 48 | SELECT Written by FROM table WHERE No. in series = 48 |
Translate the following into a SQL query | What is the lowest production code | SELECT MIN Production code FROM table |
Translate the following into a SQL query | What was the original title of 3.19? | SELECT Original title FROM table WHERE Production code = 3.19 |
Translate the following into a SQL query | What was the production code for "down to earth"? | SELECT Production code FROM table WHERE Original title = "Down to Earth" |
Translate the following into a SQL query | How many numbers have the product code of 2.6? | SELECT # FROM table WHERE Prod. code = 2.6 |
Translate the following into a SQL query | How many directed have the product code of 2.8? | SELECT COUNT Directed by FROM table WHERE Prod. code = 2.8 |
Translate the following into a SQL query | When "helpful tracy" is the original title how many numbers are there? | SELECT COUNT # FROM table WHERE Original title = "Helpful Tracy" |
Translate the following into a SQL query | When 1.12 is the production code what is the original title? | SELECT Original title FROM table WHERE Prod. code = 1.12 |
Translate the following into a SQL query | When "the postcard" is the original title what is the production code? | SELECT Prod. code FROM table WHERE Original title = "The Postcard" |
Translate the following into a SQL query | When 1.17 is the production code how many air dates are there? | SELECT COUNT Original airdate FROM table WHERE Prod. code = 1.17 |
Translate the following into a SQL query | state the winnings of yates racing front row motorsports where poles were 0 | SELECT Winnings FROM table WHERE Poles = 0 AND Team(s) = Yates Racing Front Row Motorsports |
Translate the following into a SQL query | which team(s) won $2,605,05 | SELECT Team(s) FROM table WHERE Winnings = $2,605,05 |
Translate the following into a SQL query | state the wins of the team with 2 top 10 | SELECT COUNT Wins FROM table WHERE Top 10 = 2 |
Translate the following into a SQL query | what is kannada name ಕನ್ನಡ of tamil name தமிழ் anusham அனுஷம் | SELECT Kannada name ಕನ್ನಡ FROM table WHERE Tamil name தமிழ் = Anusham அனுஷம் |
Translate the following into a SQL query | what is the malayalam name മലയാളം of tamil name தமிழ் punarpoosam புனர்பூசம் | SELECT Malayalam name മലയാളം FROM table WHERE Tamil name தமிழ் = Punarpoosam புனர்பூசம் |
Translate the following into a SQL query | what is the telugu name తెలుగు of kannada name ಕನ್ನಡ utthara ಉತ್ತರ | SELECT Telugu name తెలుగు FROM table WHERE Kannada name ಕನ್ನಡ = Utthara ಉತ್ತರ |
Translate the following into a SQL query | what is the sanskrit of western star name arcturus | SELECT Sanskrit FROM table WHERE Western star name = Arcturus |
Translate the following into a SQL query | what is the malayalam name മലയാളം of sanskrit uttarāṣāḍha उत्तराषाढा | SELECT Malayalam name മലയാളം FROM table WHERE Sanskrit = Uttarāṣāḍha उत्तराषाढा |
Translate the following into a SQL query | Name the traditional for area 544 | SELECT Traditional FROM table WHERE Area = 544 |
Translate the following into a SQL query | Name the foochow for pingnan county | SELECT Foochow FROM table WHERE English Name = Pingnan County |
Translate the following into a SQL query | Name the pinyin for ciá-ìng-gâing | SELECT Pinyin FROM table WHERE Foochow = Ciá-ìng-gâing |
Translate the following into a SQL query | Name the traditional for 屏南县 | SELECT Traditional FROM table WHERE Simplified = 屏南县 |
Translate the following into a SQL query | Name the density for 古田縣 | SELECT Density FROM table WHERE Traditional = 古田縣 |
Translate the following into a SQL query | Name the english name for 福鼎市 | SELECT English Name FROM table WHERE Traditional = 福鼎市 |
Translate the following into a SQL query | What CFL team did Darcy Brown play for? | SELECT CFL Team FROM table WHERE Player = Darcy Brown |
Translate the following into a SQL query | What CFL team did simeon rottier play for? | SELECT CFL Team FROM table WHERE Player = Simeon Rottier |
Translate the following into a SQL query | What college did étienne légaré play for? | SELECT College FROM table WHERE Player = Étienne Légaré |
Translate the following into a SQL query | What team was in position OL? | SELECT CFL Team FROM table WHERE Position = OL |
Translate the following into a SQL query | Who was the player for the CFL team hamilton tiger-cats (via bc via saskatchewan )? | SELECT Player FROM table WHERE CFL Team = Hamilton Tiger-Cats (via BC via Saskatchewan ) |
Translate the following into a SQL query | What number pick did the CFL team bc lions (via hamilton via winnipeg ) have? | SELECT MAX Pick # FROM table WHERE CFL Team = BC Lions (via Hamilton via Winnipeg ) |
Translate the following into a SQL query | How many different release dates are there for the audio book with a story number 7? | SELECT COUNT Release Date FROM table WHERE Story # = 7 |
Translate the following into a SQL query | What's the title of the audio book with story number 91? | SELECT Title FROM table WHERE Story # = 91 |
Translate the following into a SQL query | When was the audio book with target number 069 69 released? | SELECT Release Date FROM table WHERE Target # = 069 69 |
Translate the following into a SQL query | What's the format of the audio book titled The Mind Robber? | SELECT Format FROM table WHERE Title = The Mind Robber |
Translate the following into a SQL query | who is the reader of the audiobook authored by cole, stephen stephen cole and released on 2008-11-13 13 november 2008 | SELECT Reader FROM table WHERE Author = Cole, Stephen Stephen Cole AND Release Date = 2008-11-13 13 November 2008 |
Translate the following into a SQL query | how many companies released an audiobook titled deadly download | SELECT COUNT Company FROM table WHERE Title = Deadly Download |
Translate the following into a SQL query | which companies released on 2010-11-04 4 november 2010 | SELECT Company FROM table WHERE Release Date = 2010-11-04 4 November 2010 |
Translate the following into a SQL query | which company released audiobooks authored by day, martin martin day | SELECT Company FROM table WHERE Author = Day, Martin Martin Day |
Translate the following into a SQL query | how many formats of books authored by day, martin martin day | SELECT COUNT Format FROM table WHERE Author = Day, Martin Martin Day |
Translate the following into a SQL query | How many players were drafted from laval? | SELECT COUNT CFL Team FROM table WHERE College = Laval |
Translate the following into a SQL query | What player went to montreal college? | SELECT Player FROM table WHERE College = Montreal |
Translate the following into a SQL query | What player(s) drafted by the hamilton tiger-cats? | SELECT Player FROM table WHERE CFL Team = Hamilton Tiger-Cats |
Translate the following into a SQL query | What position(s) drafted by the montreal alouettes? | SELECT Position FROM table WHERE CFL Team = Montreal Alouettes |
Translate the following into a SQL query | which company uses pinborough, sarah sarah pinborough? | SELECT Company FROM table WHERE Author = Pinborough, Sarah Sarah Pinborough |
Translate the following into a SQL query | who the reader of title department x? | SELECT Reader FROM table WHERE Title = Department X |
Translate the following into a SQL query | how many notes were read by reader varma, idria indira varma? | SELECT COUNT Notes FROM table WHERE Reader = Varma, Idria Indira Varma |
Translate the following into a SQL query | who is the reader on the download/cd format of the title written by author lidster, joseph joseph lidster? | SELECT Reader FROM table WHERE Format = Download/CD AND Author = Lidster, Joseph Joseph Lidster |
Translate the following into a SQL query | Name the landesliga mitte for fc gundelfingen and vfl frohnlach | SELECT Landesliga Mitte FROM table WHERE Landesliga Süd = FC Gundelfingen AND Landesliga Nord = VfL Frohnlach |
Translate the following into a SQL query | Name the landesliga nord for freier tus regensburg | SELECT Landesliga Nord FROM table WHERE Landesliga Mitte = Freier TuS Regensburg |
Translate the following into a SQL query | Name the landesliga nord for asv neumarkt | SELECT Landesliga Nord FROM table WHERE Landesliga Mitte = ASV Neumarkt |
Translate the following into a SQL query | Name the landesliga mitte sv türk gücü münchen | SELECT Landesliga Mitte FROM table WHERE Bayernliga = SV Türk Gücü München |
Translate the following into a SQL query | Name the landesliga sud for sg quelle fürth | SELECT Landesliga Süd FROM table WHERE Bayernliga = SG Quelle Fürth |
Translate the following into a SQL query | What's the oil rig of the song that ended on 7th place? | SELECT Oil Rig FROM table WHERE Place = 7th |
Translate the following into a SQL query | What's the oil rig of the song with a draw number 9? | SELECT MIN Oil Rig FROM table WHERE Draw = 9 |
Translate the following into a SQL query | How many points did the song "Stille før stormen" get? | SELECT MIN Total Points FROM table WHERE Song = "Stille før stormen" |
Translate the following into a SQL query | How many press jury points did the song by Frank Aleksandersen get? | SELECT MIN Press Jury FROM table WHERE Artist = Frank Aleksandersen |
Translate the following into a SQL query | How many points did the song with a draw number 3 get? | SELECT Total Points FROM table WHERE Draw = 3 |
Translate the following into a SQL query | If the title is Paradox Lost and the reader is Briggs, Nicholas Nicholas Briggs, what are all of the notes? | SELECT Notes FROM table WHERE Reader = Briggs, Nicholas Nicholas Briggs AND Title = Paradox Lost |
Translate the following into a SQL query | If the title is The Way Through The Woods, what is the release date? | SELECT Release Date FROM table WHERE Title = The Way Through the Woods |
Translate the following into a SQL query | If the reader is Syal, Meera Meera Syal, what was the release date? | SELECT Release Date FROM table WHERE Reader = Syal, Meera Meera Syal |
Translate the following into a SQL query | What is the most divisional titles won by a school with an enrollment of 30049? | SELECT MAX Divisional Titles FROM table WHERE Enrollment = 30049 |
Translate the following into a SQL query | What is the maximum enrollment of the Sooners? | SELECT MAX Enrollment FROM table WHERE Team Name = Sooners |
Translate the following into a SQL query | What is the minimum enrollment of the cyclones? | SELECT MIN Enrollment FROM table WHERE Team Name = Cyclones |
Translate the following into a SQL query | What is the result of the book title firelands? | SELECT Result FROM table WHERE Book Title = Firelands |
Translate the following into a SQL query | Which year is the book title the ordinary? | SELECT Year FROM table WHERE Book Title = The Ordinary |
Translate the following into a SQL query | Who is the publisher of the book titled daughters of an emerald dusk? | SELECT Publisher FROM table WHERE Book Title = Daughters of an Emerald Dusk |
Translate the following into a SQL query | In which year were the authors or editors Delia Sherman? | SELECT MAX Year FROM table WHERE Author(s) or Editor(s) = Delia Sherman |
Translate the following into a SQL query | How many authors or editors are there for the book title elf child? | SELECT COUNT Author(s) or Editor(s) FROM table WHERE Book Title = Elf Child |
Translate the following into a SQL query | What is the title of the book when the publisher is black car publishing? | SELECT Book Title FROM table WHERE Publisher = Black Car Publishing |
Translate the following into a SQL query | What are the prizes when 1 is the number of winning tickets? | SELECT Prize (EUR) FROM table WHERE Number of winning tickets = 1 |
Translate the following into a SQL query | What are the number of winning tickets that have 180.00 as the prize (eur)? | SELECT Number of winning tickets FROM table WHERE Prize (EUR) = 180.00 |
Translate the following into a SQL query | How many odd of winning have 6th as the division? | SELECT Odds of winning (1in) FROM table WHERE Divisions = 6th |
Translate the following into a SQL query | What is the prize (eur) for the 6th division? | SELECT Prize (EUR) FROM table WHERE Divisions = 6th |
Translate the following into a SQL query | Which divisions have 565 as the number of winning tickets? | SELECT Divisions FROM table WHERE Number of winning tickets = 565 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.