instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Where does the judge whose court is in Groton reside? | SELECT Judges residence FROM table WHERE Location of court = Groton |
Translate the following into a SQL query | what is the nhl team for the player john maclean? | SELECT NHL team FROM table WHERE Player = John MacLean |
Translate the following into a SQL query | who is the player for the position defence and the college/junior/club team is ottawa 67's (ohl)? | SELECT Player FROM table WHERE Position = Defence AND College/junior/club team = Ottawa 67's (OHL) |
Translate the following into a SQL query | what is the college/junior/club team for the player alfie turcotte? | SELECT College/junior/club team FROM table WHERE Player = Alfie Turcotte |
Translate the following into a SQL query | What is the name of the college/junior/club team of the Buffalo Sabres? | SELECT College/junior/club team FROM table WHERE NHL team = Buffalo Sabres |
Translate the following into a SQL query | What is Reine Karlsson's nationality? | SELECT Nationality FROM table WHERE Player = Reine Karlsson |
Translate the following into a SQL query | How many players were drafted by the Philadelphia Flyers? | SELECT COUNT Nationality FROM table WHERE NHL team = Philadelphia Flyers |
Translate the following into a SQL query | How many picks did the Chicago Black Hawks get? | SELECT COUNT Pick # FROM table WHERE NHL team = Chicago Black Hawks |
Translate the following into a SQL query | What team had pick 203? | SELECT NHL team FROM table WHERE Pick # = 203 |
Translate the following into a SQL query | Which school did harold duvall attend? | SELECT College/junior/club team FROM table WHERE Player = Harold Duvall |
Translate the following into a SQL query | List the position for the boston bruins. | SELECT Position FROM table WHERE NHL team = Boston Bruins |
Translate the following into a SQL query | Who was drafted to litvinov (czechoslovakia)? | SELECT Player FROM table WHERE College/junior/club team = Litvinov (Czechoslovakia) |
Translate the following into a SQL query | What position does peter mcgeough cover? | SELECT Position FROM table WHERE Player = Peter McGeough |
Translate the following into a SQL query | Which player was drafted by the Minnesota North Stars? | SELECT Player FROM table WHERE NHL team = Minnesota North Stars |
Translate the following into a SQL query | What is the nationality of Bob Essensa? | SELECT Nationality FROM table WHERE Player = Bob Essensa |
Translate the following into a SQL query | What position is the player from the Regina Pats (WHL)? | SELECT Position FROM table WHERE College/junior/club team = Regina Pats (WHL) |
Translate the following into a SQL query | What number pick was the player from HIFK Helsinki (Finland)? | SELECT Pick # FROM table WHERE College/junior/club team = HIFK Helsinki (Finland) |
Translate the following into a SQL query | Which team drafted Esa Tikkanen? | SELECT NHL team FROM table WHERE Player = Esa Tikkanen |
Translate the following into a SQL query | What was the nationality of player picked no. 168? | SELECT Nationality FROM table WHERE Pick # = 168 |
Translate the following into a SQL query | What was the nationality of player picked no. 179? | SELECT Nationality FROM table WHERE Pick # = 179 |
Translate the following into a SQL query | Who was the player who played for Hartford Whalers NHL Team? | SELECT Player FROM table WHERE NHL team = Hartford Whalers |
Translate the following into a SQL query | What was the position of the player who played for New York Islanders NHL Team? | SELECT Position FROM table WHERE NHL team = New York Islanders |
Translate the following into a SQL query | What was the nationality of player Cliff Abrecht? | SELECT Nationality FROM table WHERE Player = Cliff Abrecht |
Translate the following into a SQL query | What is the highest number of poles? | SELECT MAX Poles FROM table |
Translate the following into a SQL query | How many f/laps were there when he scored 170 points? | SELECT COUNT F/Laps FROM table WHERE Points = 170 |
Translate the following into a SQL query | When there were 30 races and the final placing was 13th, how many points were scored? | SELECT Points FROM table WHERE Final Placing = 13th AND Races = 30 |
Translate the following into a SQL query | What club is associated with draft number 155? | SELECT NHL team FROM table WHERE Pick # = 155 |
Translate the following into a SQL query | What is the production code for the number 5 series ? | SELECT Production code FROM table WHERE No. in series = 5 |
Translate the following into a SQL query | What is the number of the series written by Teresa Lin? | SELECT COUNT No. in series FROM table WHERE Written by = Teresa Lin |
Translate the following into a SQL query | Which series # had 0.852 U.S. viewers(millions)? | SELECT MAX Series # FROM table WHERE U.S. viewers (millions) = 0.852 |
Translate the following into a SQL query | Which original air date had 0.871 U.S. viewers (millions)? | SELECT Original air date FROM table WHERE U.S. viewers (millions) = 0.871 |
Translate the following into a SQL query | Which series # had 0.645 U.S. viewers(millions)? | SELECT MAX Series # FROM table WHERE U.S. viewers (millions) = 0.645 |
Translate the following into a SQL query | Who was the writer for the episode entitled "dic pics"? | SELECT Written by FROM table WHERE Title = "Dic Pics" |
Translate the following into a SQL query | When 12th is the final placing what is the wins? | SELECT Wins FROM table WHERE Final Placing = 12th |
Translate the following into a SQL query | When 24th is the final placing how many wins are there? | SELECT COUNT Wins FROM table WHERE Final Placing = 24th |
Translate the following into a SQL query | What is the lowest overall amount of wins? | SELECT MIN Wins FROM table |
Translate the following into a SQL query | What date did the episode with production code 3aky05 air? | SELECT Original air date FROM table WHERE Production code = 3AKY05 |
Translate the following into a SQL query | Which episode was directed by Jeff Woolnough and written by Christopher Ambrose? | SELECT Title FROM table WHERE Directed by = Jeff Woolnough AND Written by = Christopher Ambrose |
Translate the following into a SQL query | What was the original air date of the episode that was directed by Jessica Landaw? | SELECT Original air date FROM table WHERE Directed by = Jessica Landaw |
Translate the following into a SQL query | What is the episode number of the episode with a production code of 4aky14? | SELECT No. in season FROM table WHERE Production code = 4AKY14 |
Translate the following into a SQL query | "The con man in the meth lab" was which episode number? | SELECT No. in season FROM table WHERE Title = "The Con Man in the Meth Lab" |
Translate the following into a SQL query | The episode that had 8.62 million US viewers originally aired on which date? | SELECT Original air date FROM table WHERE U.S. viewers (millions) = 8.62 |
Translate the following into a SQL query | What was the result in the game broadcast on the Big East Network? | SELECT Result FROM table WHERE Broadcast = Big East Network |
Translate the following into a SQL query | What was the result in the game where the visiting team was Louisiana-Monroe? | SELECT Result FROM table WHERE Visiting team = Louisiana-Monroe |
Translate the following into a SQL query | Who was the home team in the game broadcast on the Big East Network? | SELECT Home team FROM table WHERE Broadcast = Big East Network |
Translate the following into a SQL query | What was the result in the game broadcast on the SEC Network? | SELECT Result FROM table WHERE Broadcast = SEC Network |
Translate the following into a SQL query | What is the number enrolled where t/vap is exactly 52.9%? | SELECT Enrolled FROM table WHERE T/VAP = 52.9% |
Translate the following into a SQL query | How many districts have t/vap values of 67.0%? | SELECT COUNT District FROM table WHERE T/VAP = 67.0% |
Translate the following into a SQL query | What is the e/vap value for a turnout of exactly 85.7%? | SELECT E/VAP FROM table WHERE Turnout = 85.7% |
Translate the following into a SQL query | What communes have enrolled values of 174946? | SELECT Communes FROM table WHERE Enrolled = 174946 |
Translate the following into a SQL query | How many total votes values are associated with t/vap values of 45.3%? | SELECT COUNT Total votes FROM table WHERE T/VAP = 45.3% |
Translate the following into a SQL query | How many vap values are associated with 140469 valid votes? | SELECT COUNT VAP FROM table WHERE Valid votes = 140469 |
Translate the following into a SQL query | Name the time for georgia | SELECT Time FROM table WHERE Visiting team = Georgia |
Translate the following into a SQL query | Name the time for #1 alabama | SELECT Time FROM table WHERE Visiting team = #1 Alabama |
Translate the following into a SQL query | Name the time for result msst 29–24 | SELECT Time FROM table WHERE Result = MSST 29–24 |
Translate the following into a SQL query | Name the number of time for uab | SELECT COUNT Time FROM table WHERE Visiting team = UAB |
Translate the following into a SQL query | Name the date for broadcast fsn | SELECT Date FROM table WHERE Broadcast = FSN |
Translate the following into a SQL query | Name the broadcast for 7:00pm and mississippi state | SELECT Broadcast FROM table WHERE Time = 7:00pm AND Home team = Mississippi State |
Translate the following into a SQL query | Name the date for espn | SELECT Date FROM table WHERE Broadcast = ESPN |
Translate the following into a SQL query | Name the broadcast for davis-wade stadium • starkville ms | SELECT Broadcast FROM table WHERE Site = Davis-Wade Stadium • Starkville MS |
Translate the following into a SQL query | On what network was the Kentucky game broadcast? | SELECT Broadcast FROM table WHERE Home team = Kentucky |
Translate the following into a SQL query | Where's the louisiana-lafayette as a visiting team? | SELECT Site FROM table WHERE Visiting team = Louisiana-Lafayette |
Translate the following into a SQL query | What were the results of the tennessee tech as a visiting team? | SELECT Result FROM table WHERE Visiting team = Tennessee Tech |
Translate the following into a SQL query | What is the home team where the San Jose state is the visiting team? | SELECT Home team FROM table WHERE Visiting team = San Jose State |
Translate the following into a SQL query | What were the results in the bryant-denny stadium • tuscaloosa, al? | SELECT Result FROM table WHERE Site = Bryant-Denny Stadium • Tuscaloosa, AL |
Translate the following into a SQL query | What home team is at 7:30pm in ESPN? | SELECT Home team FROM table WHERE Time = 7:30pm AND Broadcast = ESPN |
Translate the following into a SQL query | If the visiting team is Clemson, when was the time? | SELECT Time FROM table WHERE Visiting team = Clemson |
Translate the following into a SQL query | How many times was the site wallace wade stadium • durham, nc? | SELECT COUNT Attendance FROM table WHERE Site = Wallace Wade Stadium • Durham, NC |
Translate the following into a SQL query | If the site was wallace wade stadium • durham, nc, what was the result? | SELECT Result FROM table WHERE Site = Wallace Wade Stadium • Durham, NC |
Translate the following into a SQL query | If the site is sanford stadium • athens, ga, what is the date? | SELECT Date FROM table WHERE Site = Sanford Stadium • Athens, GA |
Translate the following into a SQL query | What is the production code for the movie with 4.32 million U.S. viewers? | SELECT Production code FROM table WHERE U.S. viewers (millions) = 4.32 |
Translate the following into a SQL query | How many times was Louisiana-Monroe a visiting team? | SELECT COUNT Time FROM table WHERE Visiting team = Louisiana-Monroe |
Translate the following into a SQL query | List all dates where South Florida was a visiting team. | SELECT Date FROM table WHERE Visiting team = South Florida |
Translate the following into a SQL query | How many times was #7 Oregon a visiting team? | SELECT Time FROM table WHERE Visiting team = #7 Oregon |
Translate the following into a SQL query | List all home teams when Western Kentucky was the visiting team. | SELECT Home team FROM table WHERE Visiting team = Western Kentucky |
Translate the following into a SQL query | List all times with Kentucky as the home team. | SELECT Time FROM table WHERE Home team = Kentucky |
Translate the following into a SQL query | What is the score when the opposition is mid canterbury? | SELECT Score FROM table WHERE Opposition = Mid Canterbury |
Translate the following into a SQL query | what is the home team when the opposition is east coast? | SELECT Home Team FROM table WHERE Opposition = East Coast |
Translate the following into a SQL query | What is the home team when the opposition is wairarapa bush? | SELECT Home Team FROM table WHERE Opposition = Wairarapa Bush |
Translate the following into a SQL query | what is the home team when the round # is round 1? | SELECT Home Team FROM table WHERE Round # = Round 1 |
Translate the following into a SQL query | Who is the opposition when the score is 37 - 28? | SELECT Opposition FROM table WHERE Score = 37 - 28 |
Translate the following into a SQL query | What is the location when the opposition is mid canterbury? | SELECT Location FROM table WHERE Opposition = Mid Canterbury |
Translate the following into a SQL query | What was the score in round 7? | SELECT Score FROM table WHERE Round # = Round 7 |
Translate the following into a SQL query | Who was the home team when the opposition was Buller? | SELECT Home Team FROM table WHERE Opposition = Buller |
Translate the following into a SQL query | Was it a win or loss for Wanganui in round 3? | SELECT Win/Loss FROM table WHERE Round # = Round 3 |
Translate the following into a SQL query | What was the location when the opposition was East Coast? | SELECT Location FROM table WHERE Opposition = East Coast |
Translate the following into a SQL query | What was the score when the opposition was West Coast in Wanganui? | SELECT Score FROM table WHERE Opposition = West Coast AND Location = Wanganui |
Translate the following into a SQL query | Was it a win or a loss for Wanganui in Paeroa? | SELECT Win/Loss FROM table WHERE Location = Paeroa |
Translate the following into a SQL query | What is every original air date for series# of 26? | SELECT Original Airdate FROM table WHERE Series # = 26 |
Translate the following into a SQL query | Who is the director where title is "the comeback"? | SELECT Director FROM table WHERE Title = "The Comeback" |
Translate the following into a SQL query | The episode with the title "Written in Dust" is what episode #? | SELECT Episode # FROM table WHERE Title = "Written in Dust" |
Translate the following into a SQL query | Who are the directors of the episode in series # 54? | SELECT Director FROM table WHERE Series # = 54 |
Translate the following into a SQL query | The director of the episode with the title "The Sky is Falling" is who? | SELECT Director FROM table WHERE Title = "The Sky is Falling" |
Translate the following into a SQL query | Who are the writers of the episode with the title "An Angel by Any Other Name"? | SELECT Writer FROM table WHERE Title = "An Angel by Any Other Name" |
Translate the following into a SQL query | The episode where the director is Gene Reynolds has who as the writer? | SELECT Writer FROM table WHERE Director = Gene Reynolds |
Translate the following into a SQL query | The episode with the original airdate December22,1996 has what title? | SELECT Title FROM table WHERE Original Airdate = December22,1996 |
Translate the following into a SQL query | What was the original air date of the episode written by michael glassberg? | SELECT Original airdate FROM table WHERE Writer = Michael Glassberg |
Translate the following into a SQL query | What was the original air date for episode number 96 in the series? | SELECT Original airdate FROM table WHERE Series # = 96 |
Translate the following into a SQL query | What was the first numbered episode in the series titled "the wind beneath our wings"? | SELECT MIN Series # FROM table WHERE Title = "The Wind Beneath Our Wings" |
Translate the following into a SQL query | What numbered episode in the series is directed by tim van patten and titled "black like monica"? | SELECT MIN Series # FROM table WHERE Director = Tim Van Patten AND Title = "Black Like Monica" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.