instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | WHat year was north college hill high school founded? | SELECT MAX Founded FROM table WHERE School = North College Hill High School |
Translate the following into a SQL query | Who was the incumbent when ran william b. oliver (d) unopposed? | SELECT Incumbent FROM table WHERE Candidates = William B. Oliver (D) Unopposed |
Translate the following into a SQL query | Which party was the incumbent from when the cadidates were henry e. barbour (r) 52.1% henry hawson (d) 47.9%? Answer: Democratic | SELECT COUNT Party FROM table WHERE Candidates = Henry E. Barbour (R) 52.1% Henry Hawson (D) 47.9% |
Translate the following into a SQL query | Which district was the race between john i. nolan (r) 87% thomas f. feeley (s) 13%? | SELECT District FROM table WHERE Candidates = John I. Nolan (R) 87% Thomas F. Feeley (S) 13% |
Translate the following into a SQL query | What was the net seat gain in the race john a. elston (r) 88.4% luella twining (s) 11.6%? | SELECT Result FROM table WHERE Candidates = John A. Elston (R) 88.4% Luella Twining (S) 11.6% |
Translate the following into a SQL query | Which District was the incumbent Julius Kahn from? Answer: California 4th district | SELECT COUNT District FROM table WHERE Incumbent = Julius Kahn |
Translate the following into a SQL query | What was the result of the election when Clarence F. Lea was the incumbent? | SELECT Result FROM table WHERE Incumbent = Clarence F. Lea |
Translate the following into a SQL query | Which team played in game 20? | SELECT Team FROM table WHERE Game = 20 |
Translate the following into a SQL query | what's the height (ft) with name being leadenhall building | SELECT Height (ft) FROM table WHERE Name = Leadenhall Building |
Translate the following into a SQL query | what's the height (ft) with name being 52-54 lime street | SELECT Height (ft) FROM table WHERE Name = 52-54 Lime Street |
Translate the following into a SQL query | how many city with name being providence tower | SELECT COUNT City FROM table WHERE Name = Providence Tower |
Translate the following into a SQL query | What station has the call number K213cl | SELECT Format FROM table WHERE Call sign = K213CL |
Translate the following into a SQL query | What market is Wessington Springs in | SELECT Target city/ market FROM table WHERE City of license = Wessington Springs |
Translate the following into a SQL query | What station owns Moody Bible Institute | SELECT Format FROM table WHERE Owner = Moody Bible Institute |
Translate the following into a SQL query | how many date with score being w 113–87 | SELECT COUNT Date FROM table WHERE Score = W 113–87 |
Translate the following into a SQL query | what's the game with record being 29–3 | SELECT Game FROM table WHERE Record = 29–3 |
Translate the following into a SQL query | who is the the high rebounds with high assbeingts being scottie pippen (9) | SELECT High rebounds FROM table WHERE High assists = Scottie Pippen (9) |
Translate the following into a SQL query | who is the the high points with score being w 117–93 | SELECT High points FROM table WHERE Score = W 117–93 |
Translate the following into a SQL query | what's the record with date being january 13 | SELECT Record FROM table WHERE Date = January 13 |
Translate the following into a SQL query | what are all the record where date is january 21 | SELECT Record FROM table WHERE Date = January 21 |
Translate the following into a SQL query | What is the name of Rapid City's Adult Contemporary station? | SELECT Name FROM table WHERE City of license = Rapid City AND Format = Adult Contemporary |
Translate the following into a SQL query | What are the market city/market(s) for Rapid City Alternative format? | SELECT Target city/ market FROM table WHERE City of license = Rapid City AND Format = Alternative |
Translate the following into a SQL query | What is the frequency for the Christian Kawz-fm Translator station? | SELECT Frequency FROM table WHERE Format = Christian KAWZ-FM translator |
Translate the following into a SQL query | What is the target market for the station on 97.9 fm? | SELECT Target city/ market FROM table WHERE Frequency = 97.9 FM |
Translate the following into a SQL query | What is the frequency of the Classic Country Krki-fm booster station? | SELECT Frequency FROM table WHERE Format = Classic Country KRKI-FM booster |
Translate the following into a SQL query | What is the target market of the station with call sign KFXS? | SELECT Target city/ market FROM table WHERE Call sign = KFXS |
Translate the following into a SQL query | What year did the season finale have a total of 10.29 million viewers? | SELECT Season Finale FROM table WHERE Viewers (in millions) = 10.29 |
Translate the following into a SQL query | In what TV season did the 3rd season air? | SELECT TV Season FROM table WHERE Season = 3rd |
Translate the following into a SQL query | How many rankings did the 5th season have? | SELECT COUNT Ranking FROM table WHERE Season = 5th |
Translate the following into a SQL query | How many times did the 2nd season have a finale? | SELECT COUNT Season Finale FROM table WHERE Season = 2nd |
Translate the following into a SQL query | how many county with per capita income being $20,101 | SELECT COUNT County FROM table WHERE Per Capita Income = $20,101 |
Translate the following into a SQL query | who is the the place with per capita income being $14,793 | SELECT Place FROM table WHERE Per Capita Income = $14,793 |
Translate the following into a SQL query | what's the number of households with per capita income being $16,820 | SELECT Number of Households FROM table WHERE Per Capita Income = $16,820 |
Translate the following into a SQL query | what is the maximum rank with per capita income being $17,013 | SELECT MAX Rank FROM table WHERE Per Capita Income = $17,013 |
Translate the following into a SQL query | How old is Darryll Holland's horse | SELECT Barrier FROM table WHERE Jockey = Darryll Holland |
Translate the following into a SQL query | how many people work with N Rawiller | SELECT COUNT Trainer FROM table WHERE Jockey = N Rawiller |
Translate the following into a SQL query | How old is Daniel Morton | SELECT MAX Barrier FROM table WHERE Trainer = Daniel Morton |
Translate the following into a SQL query | How many serial branches have radio electrial = rea-iv? | SELECT COUNT Serial & Branch FROM table WHERE Radio Electrical = REA-IV |
Translate the following into a SQL query | What are radio electricals when secretariat is wtr i? | SELECT Radio Electrical FROM table WHERE Secretariat = WTR I |
Translate the following into a SQL query | What are electricals where secretariat is po(w)? | SELECT Electrical FROM table WHERE Secretariat = PO(W) |
Translate the following into a SQL query | What mechanical has lpm regulation? | SELECT Mechanical FROM table WHERE Regulating = LPM |
Translate the following into a SQL query | How many branches have radio electrical=hon s lt(r)? | SELECT COUNT Serial & Branch FROM table WHERE Radio Electrical = Hon S Lt(R) |
Translate the following into a SQL query | Who regulates radio electrical = lren? | SELECT Regulating FROM table WHERE Radio Electrical = LREN |
Translate the following into a SQL query | What number episode in the series is the episode "things that fly"? | SELECT MAX Series Number FROM table WHERE Episode Title = Things That Fly |
Translate the following into a SQL query | What is the production code for season episode 8? | SELECT MIN Production Code FROM table WHERE Season Number = 8 |
Translate the following into a SQL query | How many episodes have a series number of 35? | SELECT COUNT Episode Title FROM table WHERE Series Number = 35 |
Translate the following into a SQL query | What is the series number for season episode 24? | SELECT MIN Series Number FROM table WHERE Season Number = 24 |
Translate the following into a SQL query | how many have times of 6 | SELECT COUNT Fastest lap FROM table WHERE Rnd = 6 |
Translate the following into a SQL query | which brand have drivers who won with the names of ryan briscoe and tomas scheckter | SELECT Winning team FROM table WHERE Winning driver = Ryan Briscoe AND Fastest lap = Tomas Scheckter |
Translate the following into a SQL query | who else along with scott dixon and graham rahal drove with the most speed | SELECT Fastest lap FROM table WHERE Most laps led = Scott Dixon AND Pole position = Graham Rahal |
Translate the following into a SQL query | tell the number of times where kansas was the location | SELECT COUNT Rnd FROM table WHERE Race = Kansas |
Translate the following into a SQL query | What TV channel had a license from Boston? | SELECT Channel TV ( DT ) FROM table WHERE City of license/Market = Boston |
Translate the following into a SQL query | Which station has a license in Fort Collins, Colorado? | SELECT Station FROM table WHERE City of license/Market = Fort Collins, Colorado |
Translate the following into a SQL query | What is the current status of the KDAF ** Station? | SELECT Current Status FROM table WHERE Station = KDAF ** |
Translate the following into a SQL query | How many entries are listed under "current status" for the WJW-TV ++ Station? | SELECT COUNT Current Status FROM table WHERE Station = WJW-TV ++ |
Translate the following into a SQL query | How many stations have fox as the primary affiliation and have been owned since 1986? | SELECT COUNT Station FROM table WHERE Primary affiliation = Fox AND Owned since = 1986 |
Translate the following into a SQL query | What channel has station kdfw ++? | SELECT Channel TV ( DT ) FROM table WHERE Station = KDFW ++ |
Translate the following into a SQL query | What city has channel tv (dt) 25 (31)? | SELECT City of license /Market FROM table WHERE Channel TV ( DT ) = 25 (31) |
Translate the following into a SQL query | How many channel tv (dt)s are in austin, texas? | SELECT COUNT Channel TV ( DT ) FROM table WHERE City of license /Market = Austin, Texas |
Translate the following into a SQL query | When was 10 (10) bought? | SELECT Owned since FROM table WHERE Channel TV ( DT ) = 10 (10) |
Translate the following into a SQL query | Who were the umpires when Paul Medhurst (C) won the Simpson Medal? | SELECT Umpires FROM table WHERE Simpson Medal = Paul Medhurst (C) |
Translate the following into a SQL query | Who were the umpires when Paul Vines (S) won the Simpson Medal? | SELECT Umpires FROM table WHERE Simpson Medal = Paul Vines (S) |
Translate the following into a SQL query | Which venue did Luke Blackwell serve as captain? | SELECT Venue FROM table WHERE Captain = Luke Blackwell |
Translate the following into a SQL query | what's the minimum 180s value | SELECT MIN 180s FROM table |
Translate the following into a SQL query | what's the sets won with 140+ being 16 | SELECT Sets Won FROM table WHERE 140+ = 16 |
Translate the following into a SQL query | What channel number is Gladiators on | SELECT New channel(s) FROM table WHERE Programme = Gladiators |
Translate the following into a SQL query | What show is coming back on in July 2008 | SELECT Programme FROM table WHERE Date(s) of return = July 2008 |
Translate the following into a SQL query | Who are the mens doubles and womens singles is wang shixian? | SELECT Mens doubles FROM table WHERE Womens singles = Wang Shixian |
Translate the following into a SQL query | Who is the mens singles and womens singlses is wang shixian? | SELECT Mens singles FROM table WHERE Womens singles = Wang Shixian |
Translate the following into a SQL query | Who are the mens doubles and and mens singles is lee hyun-il? | SELECT Mens doubles FROM table WHERE Mens singles = Lee Hyun-il |
Translate the following into a SQL query | Who are the mens singles and womens singles with sun yu? | SELECT Mens singles FROM table WHERE Womens singles = Sun Yu |
Translate the following into a SQL query | what is the highest number where people got done at 31.1 | SELECT MAX Competition finish FROM table WHERE Average = 31.1 |
Translate the following into a SQL query | who danced 11 and finished at more than a 2.0 | SELECT Couple FROM table WHERE Number of dances = 11 AND Competition finish > 2.0 |
Translate the following into a SQL query | tell the competitions where the mean is 1 | SELECT Average FROM table WHERE Number of dances = 1 |
Translate the following into a SQL query | tell the mean of the times competition for the 7 jigs | SELECT Rank by average FROM table WHERE Number of dances = 7 |
Translate the following into a SQL query | how many turns were completed to make a mean of 34.0 | SELECT COUNT Number of dances FROM table WHERE Average = 34.0 |
Translate the following into a SQL query | What is the gender of the junior high school is 24mm? | SELECT Gender FROM table WHERE Junior High School (12–15 yrs) = 24mm |
Translate the following into a SQL query | What amount of the university students and adults ehre the the senior high school is 26mm? | SELECT University students and Adults (18yrs+) FROM table WHERE Senior High School (15–18 yrs) = 26mm |
Translate the following into a SQL query | What amount of senior high school where junior high school is 114cm? | SELECT Senior High School (15–18 yrs) FROM table WHERE Junior High School (12–15 yrs) = 114cm |
Translate the following into a SQL query | What is the specification where senior high school is 25mm? | SELECT Specification FROM table WHERE Senior High School (15–18 yrs) = 25mm |
Translate the following into a SQL query | What amount is the junior high school where the gender is male and the specification is minimum diameter of sakigawa? | SELECT Junior High School (12–15 yrs) FROM table WHERE Gender = Male AND Specification = Minimum diameter of sakigawa |
Translate the following into a SQL query | What is the gender of senior high school 26mm? | SELECT Gender FROM table WHERE Senior High School (15–18 yrs) = 26mm |
Translate the following into a SQL query | What was the score of the game when the team was 1-2? | SELECT Score FROM table WHERE Record = 1-2 |
Translate the following into a SQL query | Who had the high assists against charlotte? | SELECT High assists FROM table WHERE Team = Charlotte |
Translate the following into a SQL query | How many leading scorers were there in the game against Utah? | SELECT COUNT High points FROM table WHERE Team = Utah |
Translate the following into a SQL query | how many location attendance with team being charlotte | SELECT COUNT Location Attendance FROM table WHERE Team = Charlotte |
Translate the following into a SQL query | what's the game with date being march 7 | SELECT Game FROM table WHERE Date = March 7 |
Translate the following into a SQL query | what's the date with game being 72 | SELECT Date FROM table WHERE Game = 72 |
Translate the following into a SQL query | how many high assbeingts with score being l 90–98 (ot) | SELECT COUNT High assists FROM table WHERE Score = L 90–98 (OT) |
Translate the following into a SQL query | who is the the high rebounds with team being vancouver | SELECT High rebounds FROM table WHERE Team = Vancouver |
Translate the following into a SQL query | How many pairs of numbers are under record on April 12? | SELECT COUNT Record FROM table WHERE Date = April 12 |
Translate the following into a SQL query | Name total number of won for tries for 92 | SELECT COUNT Won FROM table WHERE Tries for = 92 |
Translate the following into a SQL query | Name the club when tries for is 83 | SELECT Club FROM table WHERE Tries for = 83 |
Translate the following into a SQL query | Name the try bonus for kenfig hill rfc | SELECT Try bonus FROM table WHERE Club = Kenfig Hill RFC |
Translate the following into a SQL query | Name the tries against for played 22 and points against of 183 | SELECT Tries against FROM table WHERE Played = 22 AND Points against = 183 |
Translate the following into a SQL query | Name the total number of points for when try bonus is 10 | SELECT COUNT Points for FROM table WHERE Try bonus = 10 |
Translate the following into a SQL query | Name the number of won for maesteg harlequins rfc | SELECT COUNT Won FROM table WHERE Club = Maesteg Harlequins RFC |
Translate the following into a SQL query | What amount had all played that lost were 8? | SELECT Played FROM table WHERE Lost = 8 |
Translate the following into a SQL query | what is the name of the club where drawn is 1 and lost is 10? | SELECT Club FROM table WHERE Drawn = 1 AND Lost = 10 |
Translate the following into a SQL query | what are the tries where the game was lost by 4? | SELECT Tries against FROM table WHERE Lost = 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.