instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Which title, directed by David Kendall, had 3.7 million viewers? | SELECT Title FROM table WHERE Viewers (millions) = 3.7 AND Directed by = David Kendall |
Translate the following into a SQL query | Who directed "People who use people"? | SELECT Directed by FROM table WHERE Title = "People Who Use People" |
Translate the following into a SQL query | How many people were first elected with an incument of diane watson? | SELECT COUNT First elected FROM table WHERE Incumbent = Diane Watson |
Translate the following into a SQL query | What party did hilda solis represent? | SELECT Party FROM table WHERE Incumbent = Hilda Solis |
Translate the following into a SQL query | What were the result(s) of the election featuring grace napolitano as the incumbent? | SELECT Results FROM table WHERE Incumbent = Grace Napolitano |
Translate the following into a SQL query | Which place in the order is the Pinyin transcription She Jiang? | SELECT MIN Standard order FROM table WHERE Transcription (based on Pinyin) = She Jiang |
Translate the following into a SQL query | What is the place of "A Lament for Ying"? | SELECT MAX Standard order FROM table WHERE English translation = A Lament for Ying |
Translate the following into a SQL query | How many traditional Chinese for the translation of "Crossing the River"? | SELECT COUNT Traditional Chinese FROM table WHERE English translation = Crossing the River |
Translate the following into a SQL query | What is the place of the Pinyin transcription Xi Wangri? | SELECT MAX Standard order FROM table WHERE Transcription (based on Pinyin) = Xi Wangri |
Translate the following into a SQL query | What is the English translation of 哀郢? | SELECT English translation FROM table WHERE Traditional Chinese = 哀郢 |
Translate the following into a SQL query | What is the Pinyin transcription for "Alas for the Days Gone By"? | SELECT Transcription (based on Pinyin) FROM table WHERE English translation = Alas for the Days Gone By |
Translate the following into a SQL query | What's the English name for the month with พ.ย. abbreviation? | SELECT English name FROM table WHERE Abbr. = พ.ย. |
Translate the following into a SQL query | What's the zodiac sing for the month abbreviated as มี.ค.? | SELECT Zodiac sign FROM table WHERE Abbr. = มี.ค. |
Translate the following into a SQL query | What's the transcription of the thai name of the month พฤษภาคม? | SELECT Transcription FROM table WHERE Thai name = พฤษภาคม |
Translate the following into a SQL query | How many zodiac signs does the month by the Thai name of กันยายน belong to? | SELECT COUNT Zodiac sign FROM table WHERE Thai name = กันยายน |
Translate the following into a SQL query | What's the English name of the month abbreviated as มิ.ย.? | SELECT English name FROM table WHERE Abbr. = มิ.ย. |
Translate the following into a SQL query | What's the abbreviation of the month in the zodiac sign scorpio? | SELECT Abbr. FROM table WHERE Zodiac sign = Scorpio |
Translate the following into a SQL query | which year was the original title გაღმა ნაპირი | SELECT Year [e ] (Ceremony) FROM table WHERE Original title = გაღმა ნაპირი |
Translate the following into a SQL query | how many times was 27 missing kisses used in nomination | SELECT COUNT Year [e ] (Ceremony) FROM table WHERE Film title used in nomination = 27 Missing Kisses |
Translate the following into a SQL query | when was otar iosseliani's film selected | SELECT Year [e ] (Ceremony) FROM table WHERE Director = Otar Iosseliani |
Translate the following into a SQL query | What is the thai name of the transcription wan chan? | SELECT Thai name FROM table WHERE Transcription = wan chan |
Translate the following into a SQL query | What is the sanskrit word for the color red? | SELECT Sanskrit word FROM table WHERE Color = red |
Translate the following into a SQL query | What is the transcription of the sanskrit word chandra? | SELECT Transcription FROM table WHERE Sanskrit word = Chandra |
Translate the following into a SQL query | What is the sanskrit word if the transcription is wan athit? | SELECT Sanskrit word FROM table WHERE Transcription = wan athit |
Translate the following into a SQL query | What is the color of the planet venus? | SELECT Color FROM table WHERE Planet = Venus |
Translate the following into a SQL query | Which planet has the transcription of wan suk? | SELECT Planet FROM table WHERE Transcription = wan suk |
Translate the following into a SQL query | What is the year to april when the revenue is 434.8 million dollars? | SELECT Year to April FROM table WHERE Revenue (US $million) = 434.8 |
Translate the following into a SQL query | What is the dollar amount of ebit when the net profit is 120.6? | SELECT EBIT (US $m) FROM table WHERE Net profit (US $m) = 120.6 |
Translate the following into a SQL query | How many dollars is the revenue when the net profit is 55.4 million dollars? | SELECT Revenue (US $million) FROM table WHERE Net profit (US $m) = 55.4 |
Translate the following into a SQL query | When the earning per share is listed as 22.0 what is the year to april? | SELECT COUNT Year to April FROM table WHERE Earnings per share (¢) = 22.0 |
Translate the following into a SQL query | What is the earnings per share when the net profit is 16.2 million dollars? | SELECT Earnings per share (¢) FROM table WHERE Net profit (US $m) = 16.2 |
Translate the following into a SQL query | How much is the net profit when the revenue is 150.6 million dollars? | SELECT Net profit (US $m) FROM table WHERE Revenue (US $million) = 150.6 |
Translate the following into a SQL query | Name the year for not nominated for alberto aruelo | SELECT Year (Ceremony) FROM table WHERE Result = Not Nominated AND Director = Alberto Aruelo |
Translate the following into a SQL query | Name the total number of director for oro diablo | SELECT COUNT Director FROM table WHERE Original title = Oro Diablo |
Translate the following into a SQL query | Name the number of result for maroa | SELECT COUNT Result FROM table WHERE Film title used in nomination = Maroa |
Translate the following into a SQL query | Name the number of director for huelepega: ley de la calle | SELECT COUNT Director FROM table WHERE Original title = Huelepega: Ley de la Calle |
Translate the following into a SQL query | What was the win/loss record for All Neutral games for the team whose Big 10 winning percentage was .833? | SELECT All Neutral FROM table WHERE B10 % = .833 |
Translate the following into a SQL query | What is the category when the version is 1.0 and the title is Chord finder? | SELECT Category FROM table WHERE Version = 1.0 AND Title = Chord Finder |
Translate the following into a SQL query | What was the release date for metronome? | SELECT Release date FROM table WHERE Title = Metronome |
Translate the following into a SQL query | Who is the developer for Windows live messenger? | SELECT Developer FROM table WHERE Title = Windows Live Messenger |
Translate the following into a SQL query | What is the function of 1.4 version of Windows live messenger? | SELECT Function FROM table WHERE Version = 1.4 AND Title = Windows Live Messenger |
Translate the following into a SQL query | What functions were released on 2011-06-23? | SELECT Function FROM table WHERE Release date = 2011-06-23 |
Translate the following into a SQL query | What is the cospar ID of the Kosmos 2397 satellite, which has an operational life of 2 months? | SELECT COSPAR ID FROM table WHERE Estimated Operational Life = 2 months AND Satellite = Kosmos 2397 |
Translate the following into a SQL query | What was the launch date the satellite with cospar ID is 2008-033A? | SELECT Launch Date FROM table WHERE COSPAR ID = 2008-033A |
Translate the following into a SQL query | What it the international designation for the kosmos 2379 satellite? | SELECT COSPAR ID FROM table WHERE Satellite = Kosmos 2379 |
Translate the following into a SQL query | What is the estimated end date for the 2001-037a international designated satellite? | SELECT Estimated End Date[ clarification needed ] FROM table WHERE COSPAR ID = 2001-037A |
Translate the following into a SQL query | in which city was charter date december 4, 2011 | SELECT City FROM table WHERE Charter Date = December 4, 2011 |
Translate the following into a SQL query | how mnay greek designation in tampa | SELECT COUNT Greek Designation FROM table WHERE City = Tampa |
Translate the following into a SQL query | what is the status in vestal | SELECT Status FROM table WHERE City = Vestal |
Translate the following into a SQL query | what is the collegiate institution in queens | SELECT Collegiate Institution FROM table WHERE City = Queens |
Translate the following into a SQL query | What was the original title of Run for Money? | SELECT Original title FROM table WHERE Film title used in nomination = Run for Money |
Translate the following into a SQL query | What was the Tuesday episode if theThursday episode was 196 Buried? | SELECT Tuesday FROM table WHERE Thursday = 196 Buried |
Translate the following into a SQL query | How many episodes were shown on Friday if 210 Kirby's Epic Yarn was shown on Wednesday? | SELECT COUNT Friday FROM table WHERE Wednesday = 210 Kirby's Epic Yarn |
Translate the following into a SQL query | How many episodes were shown on Friday if 190 Boardwalk Empire was shown on Wednesday? | SELECT COUNT Friday FROM table WHERE Wednesday = 190 Boardwalk Empire |
Translate the following into a SQL query | What were the dates when 224 Assassin's Creed: Brotherhood Circus Training was shown on Tuesday? | SELECT Episodes FROM table WHERE Tuesday = 224 Assassin's Creed: Brotherhood Circus Training |
Translate the following into a SQL query | When the average away attendance is 1.889 in the Superettan, what's the average home attendance? | SELECT Average Attendance Home FROM table WHERE Division / Section = Superettan AND Average Attendance Away = 1.889 |
Translate the following into a SQL query | In which season was the average league attendance 2.572? | SELECT MAX Season FROM table WHERE Average Attendance League = 2.572 |
Translate the following into a SQL query | In which division did they compete in 2012? | SELECT Division / Section FROM table WHERE Season = 2012 |
Translate the following into a SQL query | When the home attendance is 3.123, what's the highest away attendance? | SELECT Highest Attendance Away FROM table WHERE Average Attendance Home = 3.123 |
Translate the following into a SQL query | Which division has an average home attendance of 2.459? | SELECT Division / Section FROM table WHERE Average Attendance Home = 2.459 |
Translate the following into a SQL query | How many years was he car number 92? | SELECT COUNT Speed rank FROM table WHERE Car number = 92 |
Translate the following into a SQL query | How many years was the chassis a lotus-ford 38/7? | SELECT COUNT Year FROM table WHERE Chassis = Lotus-Ford 38/7 |
Translate the following into a SQL query | What was the race status(es) with the lotus-ford 38/1 chassis? | SELECT Race status FROM table WHERE Chassis = Lotus-Ford 38/1 |
Translate the following into a SQL query | What year(s) was the race status piston? | SELECT Year FROM table WHERE Race status = Piston |
Translate the following into a SQL query | What is the largest laps led with the lotus-ford 34/3 chassis? | SELECT MAX Laps led FROM table WHERE Chassis = Lotus-Ford 34/3 |
Translate the following into a SQL query | What was the population of Minneapolis in 2012? | SELECT MAX Population FROM table WHERE City = Minneapolis |
Translate the following into a SQL query | How many burglaries occurred in the city where the violent crime rate was 974.7? | SELECT Burglary FROM table WHERE Violent Crime = 974.7 |
Translate the following into a SQL query | What was the violent crime rate in the city where the robbery rate was 201.4? | SELECT Violent Crime FROM table WHERE Robbery = 201.4 |
Translate the following into a SQL query | How many cities were there in 2012 where the rate of burglary was 224.8? | SELECT COUNT Property Crime FROM table WHERE Burglary = 224.8 |
Translate the following into a SQL query | What are all values for Mitchell when the author species is Temminck & Schlegel, 1849? | SELECT Mitchell FROM table WHERE Author Species = Temminck & Schlegel, 1849 |
Translate the following into a SQL query | What is every value when Mitchell is 676? | SELECT Value FROM table WHERE Mitchell = 676 |
Translate the following into a SQL query | How many different numbers for Afinsa when value is 5p? | SELECT COUNT Afinsa FROM table WHERE Value = 5P |
Translate the following into a SQL query | What is every entry for Scott when the date is (15.12)? | SELECT Scott FROM table WHERE Date = (15.12) |
Translate the following into a SQL query | What is every species when Afinsa is 639? | SELECT Species FROM table WHERE Afinsa = 639 |
Translate the following into a SQL query | How many orders when the species is Pavo Cristatus? | SELECT COUNT Order FROM table WHERE Species = Pavo cristatus |
Translate the following into a SQL query | If the distance is 55.7, what is the name of the constellation? | SELECT Constellation FROM table WHERE Distance ( ly ) = 55.7 |
Translate the following into a SQL query | If the spectral type is g1v, what is the total distance amount? | SELECT COUNT Distance ( ly ) FROM table WHERE Spectral type = G1V |
Translate the following into a SQL query | What is the hd designation for arrival date of February 2070? | SELECT COUNT HD designation FROM table WHERE Arrival date = February 2070 |
Translate the following into a SQL query | If the constellation is Gemini, what is the spectral type? | SELECT Spectral type FROM table WHERE Constellation = Gemini |
Translate the following into a SQL query | If the arrival date is January 2059, what is the total amount of signal power? | SELECT COUNT Signal power ( kW ) FROM table WHERE Arrival date = January 2059 |
Translate the following into a SQL query | If the spectral type is g1v, what is the constellation? | SELECT Constellation FROM table WHERE Spectral type = G1V |
Translate the following into a SQL query | What is the artist of the song "sugarbaby"? | SELECT Artist FROM table WHERE Song title = "Sugarbaby" |
Translate the following into a SQL query | What is the release date for the song "had a dad"? | SELECT Release date FROM table WHERE Song title = "Had a Dad" |
Translate the following into a SQL query | List the total numbers of Evian Masters tournaments. | SELECT MAX No. FROM table WHERE Tournament = Evian Masters |
Translate the following into a SQL query | What is the original air date of season 9? | SELECT Original air date FROM table WHERE Season # = 9 |
Translate the following into a SQL query | Who were the writers when there were 27.11 million viewers? | SELECT Written by FROM table WHERE U.S. viewers (millions) = 27.11 |
Translate the following into a SQL query | How many series had viewers totaling 23.93 million? | SELECT COUNT Series # FROM table WHERE U.S. viewers (millions) = 23.93 |
Translate the following into a SQL query | How many original air dates totaled 26.06 million viewers? | SELECT COUNT Original air date FROM table WHERE U.S. viewers (millions) = 26.06 |
Translate the following into a SQL query | What is the title when 18.58 u.s. viewers (millions) watched? | SELECT Title FROM table WHERE U.S. viewers (millions) = 18.58 |
Translate the following into a SQL query | How many digital terrestrial channels are there for channel 4? | SELECT COUNT Digital terrestrial channel FROM table WHERE Channel = Channel 4 |
Translate the following into a SQL query | What is the channel that is on digital terrestrial channel 10? | SELECT Channel FROM table WHERE Digital terrestrial channel = 10 |
Translate the following into a SQL query | What is the digital terrestria channel number for itv3? | SELECT Digital terrestrial channel FROM table WHERE Channel = ITV3 |
Translate the following into a SQL query | What is the position of digital channel 5 44 (+1)? | SELECT Position FROM table WHERE Digital terrestrial channel = 5 44 (+1) |
Translate the following into a SQL query | where pageant is elite model look and year is bigger than 1993.0, who is the delegate? | SELECT Delegate FROM table WHERE Pageant = Elite Model Look AND Year > 1993.0 |
Translate the following into a SQL query | How many years was the pageant miss globe international and delegate was karen loren medrano agustin? | SELECT COUNT Year FROM table WHERE Pageant = Miss Globe International AND Delegate = Karen Loren Medrano Agustin |
Translate the following into a SQL query | How many pageants were in san fernando, pampanga? | SELECT COUNT Pageant FROM table WHERE Hometown = San Fernando, Pampanga |
Translate the following into a SQL query | How many pageants were margaret ann awitan bayot the delegate of? | SELECT COUNT Pageant FROM table WHERE Delegate = Margaret Ann Awitan Bayot |
Translate the following into a SQL query | How many awards did milagros gutierrez win? | SELECT Other awards FROM table WHERE Delegate = Milagros Gutierrez |
Translate the following into a SQL query | Where is the miss global teen? | SELECT Hometown FROM table WHERE Pageant = Miss Global Teen |
Translate the following into a SQL query | what is the subtrate for enzyme ala dehydratase | SELECT Substrate FROM table WHERE Enzyme = ALA dehydratase |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.