instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Who won the mens singles when lau sui fei won the womens singles? | SELECT Mens Singles FROM table WHERE Womens Singles = Lau Sui Fei |
Translate the following into a SQL query | Who won the mens doubles when wang hao won the mens singles? | SELECT Mens Doubles FROM table WHERE Mens Singles = Wang Hao |
Translate the following into a SQL query | Who won in the men singles group in the year when Yoshie Takada won in the women singles? | SELECT Mens Singles FROM table WHERE Womens Singles = Yoshie Takada |
Translate the following into a SQL query | When and where did Chen Qi win in men singles? | SELECT Year Location FROM table WHERE Mens Singles = Chen Qi |
Translate the following into a SQL query | Who is listed under mens singles when womens has wang nan zhang yining? | SELECT Mens Singles FROM table WHERE Womens Doubles = Wang Nan Zhang Yining |
Translate the following into a SQL query | How many womens singles entries are there when womens doubles is li xiaodan wen jia? | SELECT COUNT Womens Singles FROM table WHERE Womens Doubles = Li Xiaodan Wen Jia |
Translate the following into a SQL query | Who is listed under womens singles when year location is 1998 doha? | SELECT Womens Singles FROM table WHERE Year Location = 1998 Doha |
Translate the following into a SQL query | Who is listed under mens singles when the year location is 2009 doha? | SELECT Mens Singles FROM table WHERE Year Location = 2009 Doha |
Translate the following into a SQL query | How many year locations are there for the womens doubles in jing junhong li jiawei? | SELECT COUNT Year Location FROM table WHERE Womens Doubles = Jing Junhong Li Jiawei |
Translate the following into a SQL query | How many players are there for mens singles when chen qi ma lin played mens doubles? | SELECT COUNT Mens Singles FROM table WHERE Mens Doubles = Chen Qi Ma Lin |
Translate the following into a SQL query | Who played mens doubles for the 1999 kobe tour? | SELECT Mens Doubles FROM table WHERE Year Location = 1999 Kobe |
Translate the following into a SQL query | Where was the tour when jing junhong li jiawei played womens doubles? | SELECT Year Location FROM table WHERE Womens Doubles = Jing Junhong Li Jiawei |
Translate the following into a SQL query | How many years did lin gaoyuan wu jiaji play mens doubles? | SELECT COUNT Year Location FROM table WHERE Mens Doubles = Lin Gaoyuan Wu Jiaji |
Translate the following into a SQL query | How many people are shown for mens doubles when guo yue played womens singles? | SELECT COUNT Mens Doubles FROM table WHERE Womens Singles = Guo Yue |
Translate the following into a SQL query | Who won the Womens Singles in the year the Jean-Michel Saive won the Mens Singles? | SELECT Womens Singles FROM table WHERE Mens Singles = Jean-Michel Saive |
Translate the following into a SQL query | In what year and location did Liu Guozheng win the Mens Singles? | SELECT Year Location FROM table WHERE Mens Singles = Liu Guozheng |
Translate the following into a SQL query | In what year and location did Wang Liqin win the Mens Singles? | SELECT Year Location FROM table WHERE Mens Singles = Wang Liqin |
Translate the following into a SQL query | Who won the mens doubles at the 2006 guangzhou event? | SELECT Mens Doubles FROM table WHERE Year Location = 2006 Guangzhou |
Translate the following into a SQL query | How many times was the womens doubles in china? | SELECT COUNT Mens Singles FROM table WHERE Womens Doubles = China |
Translate the following into a SQL query | How many times did li ju win the womens singles and wang liqin win the mens singles? | SELECT COUNT Womens Doubles FROM table WHERE Womens Singles = Li Ju AND Mens Singles = Wang Liqin |
Translate the following into a SQL query | Name the mens singles for lee eun-sil moon hyun-jung | SELECT Mens Singles FROM table WHERE Womens Doubles = Lee Eun-Sil Moon Hyun-Jung |
Translate the following into a SQL query | Name the number of womens doubles for 2011 rio de janeiro | SELECT COUNT Womens Doubles FROM table WHERE Year Location = 2011 Rio de Janeiro |
Translate the following into a SQL query | Name the year location for haruna fukuoka | SELECT Year Location FROM table WHERE Womens Singles = Haruna Fukuoka |
Translate the following into a SQL query | Name the mens doubles for dimitrij ovtcharov | SELECT Mens Doubles FROM table WHERE Mens Singles = Dimitrij Ovtcharov |
Translate the following into a SQL query | Name the number of womens singles for 1999 rio de janeiro | SELECT COUNT Womens Singles FROM table WHERE Year Location = 1999 Rio de Janeiro |
Translate the following into a SQL query | Name the womens doubles for werner schlager | SELECT Womens Doubles FROM table WHERE Mens Singles = Werner Schlager |
Translate the following into a SQL query | Who was the womens double winner when the womens singles winner was Ding Ning? | SELECT Womens Doubles FROM table WHERE Womens Singles = Ding Ning |
Translate the following into a SQL query | Who wrote episode number 19 in the series? | SELECT Written by FROM table WHERE No. in series = 19 |
Translate the following into a SQL query | How many marks are there when tackles are 3? | SELECT Marks FROM table WHERE Tackles = 3 |
Translate the following into a SQL query | What was the goal accuracy % when the total disposals are 481? | SELECT Goal Accuracy % FROM table WHERE Total Disposals = 481 |
Translate the following into a SQL query | Who directed "it's a wonderful lie"? | SELECT Directed by FROM table WHERE Title = "It's a Wonderful Lie" |
Translate the following into a SQL query | What date did the episode with a production code of 60072 originally air? | SELECT Original air date FROM table WHERE Production code = 60072 |
Translate the following into a SQL query | How many different people directed the episode titled "Fail Fish"? | SELECT COUNT Directed by FROM table WHERE Title = "Fail Fish" |
Translate the following into a SQL query | How many millions of people in the US watched the episode titled "Peopleing"? | SELECT U.S. viewers (millions) FROM table WHERE Title = "Peopleing" |
Translate the following into a SQL query | How many different pairs of people did the story and storyboard of the episode titled "Milo's big idea"? | SELECT COUNT Story & Storyboards by FROM table WHERE Title = "Milo's Big Idea" |
Translate the following into a SQL query | Who directed the episode titled "Baldwin the Super FIsh"? | SELECT Directed by FROM table WHERE Title = "Baldwin the Super Fish" |
Translate the following into a SQL query | What's the title of the episode with series number 36? | SELECT Title FROM table WHERE No. in series = 36 |
Translate the following into a SQL query | when was the next coach appointed after niger tornadoes fired their coach? | SELECT Date of appointment FROM table WHERE Manner of departure = fired AND Team = Niger Tornadoes |
Translate the following into a SQL query | how many managers left sunshine stars? | SELECT COUNT Outgoing manager FROM table WHERE Team = Sunshine Stars |
Translate the following into a SQL query | how many new managers replaced manager(s) who resigned? | SELECT COUNT Incoming manager FROM table WHERE Manner of departure = Resigned |
Translate the following into a SQL query | how many times did tunde abdulrahman leave the team? | SELECT COUNT Date of vacancy FROM table WHERE Outgoing manager = Tunde Abdulrahman |
Translate the following into a SQL query | How many platforms have celsius calibur as mystic arte? | SELECT COUNT Platform FROM table WHERE Mystic Arte = Celsius Calibur |
Translate the following into a SQL query | Which character is yumi kakazu the character voice? | SELECT Character FROM table WHERE Character Voice = Yumi Kakazu |
Translate the following into a SQL query | How many mystic arte have hisui (jadeite) hearts 1 as the character? | SELECT COUNT Mystic Arte FROM table WHERE Character = Hisui (Jadeite) Hearts 1 |
Translate the following into a SQL query | How many platforms have nanaly fletch as the character? | SELECT COUNT Platform FROM table WHERE Character = Nanaly Fletch |
Translate the following into a SQL query | What is the status of the character keel (keele) zeibel? | SELECT Status FROM table WHERE Character = Keel (Keele) Zeibel |
Translate the following into a SQL query | Which character is mio yasuda the character voice? | SELECT Character FROM table WHERE Character Voice = Mio Yasuda |
Translate the following into a SQL query | What sesaon(s) did they have 254 goals against? | SELECT Season FROM table WHERE Goals against = 254 |
Translate the following into a SQL query | What is the largest number of points in a season? | SELECT MAX Points FROM table |
Translate the following into a SQL query | What is the phonology used in the example streht > "straight"? | SELECT Early Middle English FROM table WHERE Example = streht > "straight" |
Translate the following into a SQL query | What is the Anglian phonology used in the example dæg > "day"; grǣg > "gray"? | SELECT Late Old English (Anglian) FROM table WHERE Example = dæg > "day"; grǣg > "gray" |
Translate the following into a SQL query | What is the modern English phonology used in the example weg > "way"; regn > "rain"? | SELECT Modern English FROM table WHERE Example = weg > "way"; regn > "rain" |
Translate the following into a SQL query | What is the Early Modern English phonology used in the example bōg > "bough"; plōg > plōh > "plough"? | SELECT Early Modern English FROM table WHERE Example = bōg > "bough"; plōg > plōh > "plough" |
Translate the following into a SQL query | What is the Late Middle English equivalent of the Anglian æg, ǣg? | SELECT Late Middle English FROM table WHERE Late Old English (Anglian) = æg, ǣg |
Translate the following into a SQL query | What is the example of the Early Modern English ( [x] → /f/) /ɔf/? | SELECT Example FROM table WHERE Early Modern English = ( [x] → /f/) /ɔf/ |
Translate the following into a SQL query | List the numer of miles for 2010. | SELECT Miles (km) FROM table WHERE Year = 2010 |
Translate the following into a SQL query | On what day did tommy ellis drive? | SELECT Date FROM table WHERE Driver = Tommy Ellis |
Translate the following into a SQL query | On what day did joe gibbs racing record a time of 1:53:26? | SELECT Date FROM table WHERE Team = Joe Gibbs Racing AND Race Time = 1:53:26 |
Translate the following into a SQL query | What is the average speed for filmar racing? | SELECT Average Speed (mph) FROM table WHERE Team = FILMAR Racing |
Translate the following into a SQL query | List the race time for may 11. | SELECT Race Time FROM table WHERE Date = May 11 |
Translate the following into a SQL query | What is the total number of modern grannies performed? | SELECT COUNT Act FROM table WHERE Name/Name of Act = Modern Grannies |
Translate the following into a SQL query | What is the name of the performance zhu xiaoming performed? | SELECT Act FROM table WHERE Name/Name of Act = Zhu Xiaoming |
Translate the following into a SQL query | How many performers are 29 that made it to the semi finals? | SELECT Semifinal (Week) FROM table WHERE Age(s) = 29 |
Translate the following into a SQL query | What is the name of the zhou jinsong's hometown? | SELECT Hometown FROM table WHERE Name/Name of Act = Zhou Jinsong |
Translate the following into a SQL query | How many different production codes does the episode originally aired on October 18, 1984 have? | SELECT COUNT Production code FROM table WHERE Original air date = October 18, 1984 |
Translate the following into a SQL query | What's the title of the episode with production code 104? | SELECT Title FROM table WHERE Production code = 104 |
Translate the following into a SQL query | How many different titles does the episode originally aired on September 27, 1984 have? | SELECT COUNT Title FROM table WHERE Original air date = September 27, 1984 |
Translate the following into a SQL query | What's the production code of the episode originally aired on February 21, 1985? | SELECT MIN Production code FROM table WHERE Original air date = February 21, 1985 |
Translate the following into a SQL query | When did the episode titled "Bad dreams" air for the first time? | SELECT Original air date FROM table WHERE Title = "Bad Dreams" |
Translate the following into a SQL query | When did the episode titled "Vanessa's new class" air for the first time? | SELECT Original air date FROM table WHERE Title = "Vanessa's New Class" |
Translate the following into a SQL query | when roberts 86' is the scorer what is the round? | SELECT Round FROM table WHERE Scorers = Roberts 86' |
Translate the following into a SQL query | When semi final (2nd leg) is the round what is the highest attendance? | SELECT MAX Attendance FROM table WHERE Round = Semi Final (2nd leg) |
Translate the following into a SQL query | When Mark Stimson started his job in 2007-08 what posiiton was the team on the table | SELECT Position in table FROM table WHERE Replaced by = Mark Stimson |
Translate the following into a SQL query | In football league one, what coach was hired as a replacement on 8 October 2007 | SELECT Replaced by FROM table WHERE Date of vacancy = 8 October 2007 |
Translate the following into a SQL query | One 6 November 2007 what was the manner of departure for the coach release in football league one? | SELECT Manner of departure FROM table WHERE Date of appointment = 6 November 2007 |
Translate the following into a SQL query | What is the series number for the episode written by janet leahy? | SELECT MIN No. in series FROM table WHERE Written by = Janet Leahy |
Translate the following into a SQL query | What was the air date of the episode with the production code of 322? | SELECT Original air date FROM table WHERE Production code = 322 |
Translate the following into a SQL query | What is the series number for the episode directed by jay sandrich that aired October 23, 1986? | SELECT MIN No. in series FROM table WHERE Directed by = Jay Sandrich AND Original air date = October 23, 1986 |
Translate the following into a SQL query | Who wrote the episode titled "man talk"? | SELECT Written by FROM table WHERE Title = "Man Talk" |
Translate the following into a SQL query | What are the title(s) of episodes directed by david solomon and written by marti noxon? | SELECT Title FROM table WHERE Directed by = David Solomon AND Written by = Marti Noxon |
Translate the following into a SQL query | What was the number of episodes whose production code is 7ABB21? | SELECT COUNT # FROM table WHERE Production code = 7ABB21 |
Translate the following into a SQL query | Who wrote episode number 18? | SELECT Written by FROM table WHERE # = 18 |
Translate the following into a SQL query | Name the tries for when L is less than 2.0 | SELECT Tries for FROM table WHERE L < 2.0 |
Translate the following into a SQL query | Name the points for for when try diff is +19 | SELECT Points for FROM table WHERE Try diff = +19 |
Translate the following into a SQL query | Name the most points for when tries against is 8 | SELECT MAX Points for FROM table WHERE Tries against = 8 |
Translate the following into a SQL query | What is the most recent year shown for Betty Stove? | SELECT MAX Year FROM table |
Translate the following into a SQL query | Who was Betty's partner when the surface is hard? | SELECT Partner FROM table WHERE Surface = Hard |
Translate the following into a SQL query | What is the lowest number of drawn games by a team? | SELECT MIN Drawn FROM table |
Translate the following into a SQL query | How many points did the team that won 5 games make? | SELECT Pts For FROM table WHERE Won = 5 |
Translate the following into a SQL query | How many points does the club that had 45 points against it have? | SELECT Points FROM table WHERE Pts Agst = 45 |
Translate the following into a SQL query | When gray wolves is the team nickname how many institutions are there? | SELECT COUNT Institution FROM table WHERE Team Nickname = Gray Wolves |
Translate the following into a SQL query | When sylvania, oh is the location what is the team nickname? | SELECT Team Nickname FROM table WHERE Location = Sylvania, OH |
Translate the following into a SQL query | When indianapolis, indiana is the location what is the institution? | SELECT Institution FROM table WHERE Location = Indianapolis, Indiana |
Translate the following into a SQL query | When private/ nonsectarian is the the affiliation what is the team nickname? | SELECT Team Nickname FROM table WHERE Affiliation = Private/ Nonsectarian |
Translate the following into a SQL query | 4512 is the enrollment what is the team nickname? | SELECT Team Nickname FROM table WHERE Enrollment = 4512 |
Translate the following into a SQL query | What championship was played with Allan Stone as a partner? | SELECT Championship FROM table WHERE Partner = Allan Stone |
Translate the following into a SQL query | How many different partners played in the finale in 1973? | SELECT COUNT Partner FROM table WHERE Year = 1973 |
Translate the following into a SQL query | What was the score in the final played with Fred McNair as partner? | SELECT Score in the final FROM table WHERE Partner = Fred McNair |
Translate the following into a SQL query | What was the orginal air date for episodes with production code 2acx12? | SELECT Original air date FROM table WHERE Prod. code = 2ACX12 |
Translate the following into a SQL query | Who wrote the episode with production code 2acx12? | SELECT Written by FROM table WHERE Prod. code = 2ACX12 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.