instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | How many women has reached the title of Miss International representing the country ranked as number 1? | SELECT MIN Miss International FROM table WHERE Rank = 1 |
Translate the following into a SQL query | How many women has got the first runner-up position in representation of Philippines? | SELECT 1st Runner-up FROM table WHERE Country/Territory = Philippines |
Translate the following into a SQL query | What is the lowest value in the miss international column? | SELECT MIN Miss International FROM table |
Translate the following into a SQL query | What is the smallest quantity displayed under the title "first runner-up"? | SELECT MIN 1st Runner-up FROM table |
Translate the following into a SQL query | How many women from Uruguay has become third runner-up in this pageant? | SELECT MAX 3rd Runner-up FROM table WHERE Country/Territory = Uruguay |
Translate the following into a SQL query | What year was player number 10? | SELECT Year FROM table WHERE # = 10 |
Translate the following into a SQL query | How many hometowns are there when Charis Prep was the previous school? | SELECT COUNT Hometown FROM table WHERE Previous School = Charis Prep |
Translate the following into a SQL query | How many different items appear in the weight column when Pittsburgh, PA is the hometown? | SELECT COUNT Weight ( lb. ) FROM table WHERE Hometown = Pittsburgh, PA |
Translate the following into a SQL query | Which episode is number 3 in the season? | SELECT Episode FROM table WHERE No. for season = 3 |
Translate the following into a SQL query | What is the episode name for series number 45? | SELECT Episode FROM table WHERE No. for series = 45 |
Translate the following into a SQL query | What is the highest total for any country/territory? | SELECT MAX Total FROM table |
Translate the following into a SQL query | How many semifinalists has Romania had? | SELECT Semifinalists FROM table WHERE Country/Territory = Romania |
Translate the following into a SQL query | How many Miss Waters has Canada had? | SELECT MAX Miss Water FROM table WHERE Country/Territory = Canada |
Translate the following into a SQL query | What is the most Miss Fires any country has had? | SELECT MAX Miss Fire FROM table |
Translate the following into a SQL query | What is the least amount of Miss Airs any country has had? | SELECT MIN Miss Air FROM table |
Translate the following into a SQL query | what re the high assists for january 29? | SELECT High assists FROM table WHERE Date = January 29 |
Translate the following into a SQL query | What team did the suns play on April 21? | SELECT Team FROM table WHERE Date = April 21 |
Translate the following into a SQL query | In what game was the attendance at the America West Arena 18,756? | SELECT MAX Game FROM table WHERE Location Attendance = America West Arena 18,756 |
Translate the following into a SQL query | What is the official name of the municipality whose name in Basque is Bilar? | SELECT Official name FROM table WHERE Name in Basque = Bilar |
Translate the following into a SQL query | What is the official name of the municipality whose name in Spanish is CripΓ‘n? | SELECT Official name FROM table WHERE Name in Spanish = CripΓ‘n |
Translate the following into a SQL query | What is the official name of the municipality whose name in Spanish is Vitoria? | SELECT Official name FROM table WHERE Name in Spanish = Vitoria |
Translate the following into a SQL query | What is the name in Basque of the municipality whose official name is Kuartango? | SELECT Name in Basque FROM table WHERE Official name = Kuartango |
Translate the following into a SQL query | What is the INE code of the municipality whose official name is Berantevilla? | SELECT MAX INE code FROM table WHERE Official name = Berantevilla |
Translate the following into a SQL query | What is every reference for type and usage of Germanium small-signal RF transistor? | SELECT Reference FROM table WHERE Type and usage = Germanium small-signal RF transistor |
Translate the following into a SQL query | What is every equivalent for the example of asy28? | SELECT Equivalent FROM table WHERE Example = ASY28 |
Translate the following into a SQL query | What is every reference for the example of AF117? | SELECT Reference FROM table WHERE Example = AF117 |
Translate the following into a SQL query | What is every prefix class for the equivalent of NTE160? | SELECT Prefix class FROM table WHERE Equivalent = NTE160 |
Translate the following into a SQL query | What is every prefix class for the equivalent of NTE101? | SELECT Prefix class FROM table WHERE Equivalent = NTE101 |
Translate the following into a SQL query | What is every example for the equivalent of NTE160? | SELECT Example FROM table WHERE Equivalent = NTE160 |
Translate the following into a SQL query | How many manhunt beauty contets have been held in france? | SELECT Manhunt International FROM table WHERE Country/Territory = France |
Translate the following into a SQL query | How many semifinalists where from peru? | SELECT Semifinalists FROM table WHERE Country/Territory = Peru |
Translate the following into a SQL query | How many first place participants where from croatia? | SELECT 3rd runner-up FROM table WHERE Country/Territory = Croatia |
Translate the following into a SQL query | What is the minimum sum? | SELECT MIN Total FROM table |
Translate the following into a SQL query | What is the minimum manhunt beauty contest? | SELECT MIN Manhunt International FROM table |
Translate the following into a SQL query | Who wrote "yielding"? | SELECT Written by FROM table WHERE Title = "Yielding" |
Translate the following into a SQL query | How many people wrote the episode directed by Arvin Brown? | SELECT COUNT Written by FROM table WHERE Directed by = Arvin Brown |
Translate the following into a SQL query | How many million viewers watched "night moves"? | SELECT Viewers (million) FROM table WHERE Title = "Night Moves" |
Translate the following into a SQL query | When included ram (mib) is the model what is the sonnet? | SELECT Sonnet FROM table WHERE model = Included RAM (MiB) |
Translate the following into a SQL query | When 4 mb is the sonnet what is the apple? | SELECT Apple FROM table WHERE Sonnet = 4 MB |
Translate the following into a SQL query | When 0,4, or 8 mb is the nupowr 117 what is the sonnet? | SELECT Sonnet FROM table WHERE NUpowr 117 = 0,4, or 8 MB |
Translate the following into a SQL query | When maker is the model what is the nupowr 167? | SELECT NUpowr 167 FROM table WHERE model = Maker |
Translate the following into a SQL query | When 0,4, or 8 mb is the nupowr 117 what is the nupowr 183? | SELECT NUpowr 183 FROM table WHERE NUpowr 117 = 0,4, or 8 MB |
Translate the following into a SQL query | What is the name of the episode written by glen mazzara? | SELECT Title FROM table WHERE Written by = Glen Mazzara |
Translate the following into a SQL query | How many titles are there with the original air date of august3,2010? | SELECT COUNT Title FROM table WHERE Original air date = August3,2010 |
Translate the following into a SQL query | Who directed the episdoe veiwed by 3.24 million viewers? | SELECT Directed by FROM table WHERE Viewers (million) = 3.24 |
Translate the following into a SQL query | What dated the episode written by is adam e. fierro & glen mazzara air? | SELECT Original air date FROM table WHERE Written by = Adam E. Fierro & Glen Mazzara |
Translate the following into a SQL query | in which date the strea was w 2 | SELECT Date FROM table WHERE Streak = W 2 |
Translate the following into a SQL query | in april 13 what was the streak | SELECT Streak FROM table WHERE Date = April 13 |
Translate the following into a SQL query | in april 13 who made the high rebounds | SELECT High rebounds FROM table WHERE Date = April 13 |
Translate the following into a SQL query | Name the game for l 111β126 | SELECT Game FROM table WHERE Score = L 111β126 |
Translate the following into a SQL query | Name the score for march 8 | SELECT Score FROM table WHERE Date = March 8 |
Translate the following into a SQL query | in the detroit team who made the high points | SELECT High points FROM table WHERE Team = Detroit |
Translate the following into a SQL query | what is the score in the philadelphia team | SELECT COUNT Score FROM table WHERE Team = Philadelphia |
Translate the following into a SQL query | in december 7 who made the high points | SELECT High points FROM table WHERE Date = December 7 |
Translate the following into a SQL query | in how many dates the game was 2 | SELECT COUNT Date FROM table WHERE Game = 2 |
Translate the following into a SQL query | in the milwaukee team who made the high points | SELECT High points FROM table WHERE Team = Milwaukee |
Translate the following into a SQL query | What was the location and it's corresponding attendance during the game against Los Angeles? | SELECT Location Attendance FROM table WHERE Team = Los Angeles |
Translate the following into a SQL query | what is the km from wellington where the metlink code is mast? | SELECT km from Wellington FROM table WHERE Metlink code = MAST |
Translate the following into a SQL query | what is the name of the station where the metlink code is mata? | SELECT Station FROM table WHERE Metlink code = MATA |
Translate the following into a SQL query | what is the metlink code that opened in 1908? | SELECT Metlink code FROM table WHERE Opened = 1908 |
Translate the following into a SQL query | How many teams did inge β 6 have the high assists with? | SELECT COUNT Team FROM table WHERE High assists = Inge β 6 |
Translate the following into a SQL query | What is the record for december 3? | SELECT Record FROM table WHERE Date = December 3 |
Translate the following into a SQL query | How many entries are there for high rebounds when high points is inge β 19? | SELECT COUNT High rebounds FROM table WHERE High points = Inge β 19 |
Translate the following into a SQL query | How many games are shown when the is location attendance is phog allen fieldhouse , lawrence, ks (16,300)? | SELECT COUNT Game FROM table WHERE Location Attendance = Phog Allen Fieldhouse , Lawrence, KS (16,300) |
Translate the following into a SQL query | how many high assits have a date of february 5? | SELECT High assists FROM table WHERE Date = February 5 |
Translate the following into a SQL query | What is shown for fri 26 aug when mon 22 aug is ββ no time? | SELECT Fri 26 Aug FROM table WHERE Mon 22 Aug = ββ No Time |
Translate the following into a SQL query | What shows for sat 20 aug when fri 26 aug is 19' 30.70 116.023mph? | SELECT Sat 20 Aug FROM table WHERE Fri 26 Aug = 19' 30.70 116.023mph |
Translate the following into a SQL query | What shows for mon 22 aug whenwed 24 aug is 19' 56.16 113.553mph? | SELECT Mon 22 Aug FROM table WHERE Wed 24 Aug = 19' 56.16 113.553mph |
Translate the following into a SQL query | What is the thurs 25 aug when wed 24 aug is 19' 59.73 113.216mph? | SELECT Thurs 25 Aug FROM table WHERE Wed 24 Aug = 19' 59.73 113.216mph |
Translate the following into a SQL query | What shows for thurs 25 aug when fri 26 aug is 19' 30.70 116.023mph? | SELECT Thurs 25 Aug FROM table WHERE Fri 26 Aug = 19' 30.70 116.023mph |
Translate the following into a SQL query | What's the best rank possible? | SELECT MIN Rank FROM table |
Translate the following into a SQL query | List all GT4 Cup winners played on the Spa-Francorchamps Report. | SELECT GT4 Cup Winner FROM table WHERE Circuit = Spa-Francorchamps Report |
Translate the following into a SQL query | Who are the gt3 pro / am cup winners when the gt3 pro cup winner was no. 1 vita4one? | SELECT GT3 Pro / Am Cup Winner FROM table WHERE GT3 Pro Cup Winner = No. 1 Vita4One |
Translate the following into a SQL query | What is the highest numbered event? | SELECT MAX Event FROM table |
Translate the following into a SQL query | What is every entry for Tuesday August 23 if the entry for Wednesday August 24 is 22' 23.29 101.116mph? | SELECT Tues 23 Aug FROM table WHERE Wed 24 Aug = 22' 23.29 101.116mph |
Translate the following into a SQL query | What is every entry for Saturday August 27 when the entry for Thursday August 25 is 23' 56.90 94.528mph? | SELECT Sat 27 Aug FROM table WHERE Thurs 25 Aug = 23' 56.90 94.528mph |
Translate the following into a SQL query | What is every entry for Friday August 26 when the entry for Wednesday August 24 is 23' 52.67 94.807mph? | SELECT Fri 26 Aug FROM table WHERE Wed 24 Aug = 23' 52.67 94.807mph |
Translate the following into a SQL query | When david ashburn richard westbrook is the gt3 winner and 1 is the round what is the length? | SELECT Length FROM table WHERE Round = 1 AND GT3 Winner = David Ashburn Richard Westbrook |
Translate the following into a SQL query | When charles bateman michael lyons is the gt3 winner and donington park is the circuit who is the gt4 winner? | SELECT GT4 Winner FROM table WHERE Circuit = Donington Park AND GT3 Winner = Charles Bateman Michael Lyons |
Translate the following into a SQL query | When charles bateman michael lyons is the gt3 winner and 9 is the round who is the gt4 winner? | SELECT GT4 Winner FROM table WHERE Round = 9 AND GT3 Winner = Charles Bateman Michael Lyons |
Translate the following into a SQL query | When tim bridgman gregor fisken is the pole position who is the gt3 winner? | SELECT GT3 Winner FROM table WHERE Pole Position = Tim Bridgman Gregor Fisken |
Translate the following into a SQL query | List the rider for the doncaster handicap compeition. | SELECT Jockey FROM table WHERE Race = Doncaster Handicap |
Translate the following into a SQL query | Name the number of troops for troops per $1 billion being 2.45 | SELECT COUNT Number of Troops FROM table WHERE Troops per $1 billion ( USD ) GDP = 2.45 |
Translate the following into a SQL query | Name the total number of troops per one million being 2.76 | SELECT COUNT Troops per one million population FROM table WHERE Troops per $1 billion ( USD ) GDP = 2.76 |
Translate the following into a SQL query | Name the country for troops per one million being 54.9 | SELECT Country FROM table WHERE Troops per one million population = 54.9 |
Translate the following into a SQL query | Which player(s) played at Howard college? | SELECT Player FROM table WHERE College = Howard |
Translate the following into a SQL query | Which CFL team was pick #35? | SELECT CFL Team FROM table WHERE Pick # = 35 |
Translate the following into a SQL query | Which CFL team got pick 34? | SELECT CFL Team FROM table WHERE Pick # = 34 |
Translate the following into a SQL query | What is Tyrell Francisco's player position? | SELECT Position FROM table WHERE Player = Tyrell Francisco |
Translate the following into a SQL query | What is the barony of the Gurraghy townland? | SELECT Barony FROM table WHERE Townland = Gurraghy |
Translate the following into a SQL query | What is the civil parish of the cappanaboul townland? | SELECT Civil parish FROM table WHERE Townland = Cappanaboul |
Translate the following into a SQL query | What are the civil parishes of the townlands with an area of 119 acres? | SELECT Civil parish FROM table WHERE Area( acres ) = 119 |
Translate the following into a SQL query | What civil paris appears when Ballynamona is the townland with 126 acres? | SELECT Civil parish FROM table WHERE Townland = Ballynamona AND Area( acres ) = 126 |
Translate the following into a SQL query | What is the area of the civil parish kilworth and townland monadrishane? | SELECT Area( acres ) FROM table WHERE Civil parish = Kilworth AND Townland = Monadrishane |
Translate the following into a SQL query | How many barony's appear when Ballyvadona is the townland. | SELECT COUNT Barony FROM table WHERE Townland = Ballyvadona |
Translate the following into a SQL query | How many items appear in the area column when Glasvaunta is the townland? | SELECT COUNT Area( acres ) FROM table WHERE Townland = Glasvaunta |
Translate the following into a SQL query | What is the fewest area in Derrynanool townland? | SELECT MIN Area( acres ) FROM table WHERE Townland = Derrynanool |
Translate the following into a SQL query | What is Lisladeen poor law union? | SELECT Poor law union FROM table WHERE Townland = Lisladeen |
Translate the following into a SQL query | In what barony are both the townland Dawstown and the civil parish Matehy located? | SELECT Barony FROM table WHERE Townland = Dawstown AND Civil parish = Matehy |
Translate the following into a SQL query | What barony is Ballycunningham in? | SELECT Barony FROM table WHERE Townland = Ballycunningham |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.