instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | In what Season were there 86 Assists in the WCJHL League? | SELECT Season FROM table WHERE League = wcjhl AND Assists = 86 |
Translate the following into a SQL query | In the WCHL League, what is the last Assists with less than 65 Goals? | SELECT MIN Assists FROM table WHERE League = wchl AND Goals < 65 |
Translate the following into a SQL query | What are the most Points with an Assist of 46? | SELECT MAX Points FROM table WHERE Assists = 46 |
Translate the following into a SQL query | What compound is yellow? | SELECT Compound name FROM table WHERE Colour = yellow |
Translate the following into a SQL query | What grip has a dry option? | SELECT Grip FROM table WHERE Dry Type* = option |
Translate the following into a SQL query | What color is the super-soft compound? | SELECT Colour FROM table WHERE Compound name = super-soft |
Translate the following into a SQL query | Which venue has Tickets Sold/ Available with a Gross Revenue (1979) of $665,232? | SELECT Tickets Sold / Available FROM table WHERE Gross Revenue (1979) = $665,232 |
Translate the following into a SQL query | What is the Gross Revenue (1979) of the Venue, lyceum theatre? | SELECT Gross Revenue (1979) FROM table WHERE Venue = lyceum theatre |
Translate the following into a SQL query | What is the amount of Tickets Sold/ Available at the Venue of hippodrome? | SELECT Tickets Sold / Available FROM table WHERE Venue = hippodrome |
Translate the following into a SQL query | Which Venue has a Gross Revenue (2012) of $179,712? | SELECT Venue FROM table WHERE Gross Revenue (2012) = $179,712 |
Translate the following into a SQL query | Which Venue has an amount of Tickets Sold/ Available of 4,700 / 4,700 (100%)? | SELECT Venue FROM table WHERE Tickets Sold / Available = 4,700 / 4,700 (100%) |
Translate the following into a SQL query | What was the date of the game that had a loss of Willis (0β1)? | SELECT Date FROM table WHERE Loss = willis (0β1) |
Translate the following into a SQL query | What was the opponent at the game that had a loss of Travers (0β2)? | SELECT Opponent FROM table WHERE Loss = travers (0β2) |
Translate the following into a SQL query | What was the Loss when the Record was 50-54? | SELECT Loss FROM table WHERE Record = 50-54 |
Translate the following into a SQL query | Who was the opponent when the loss was Wells (4-7)? | SELECT Opponent FROM table WHERE Loss = wells (4-7) |
Translate the following into a SQL query | What shows for shoots for craig peacock a? | SELECT Shoots FROM table WHERE Player = craig peacock a |
Translate the following into a SQL query | What is the average Acquired when the Number shows as 7? | SELECT AVG Acquired FROM table WHERE Number = 7 |
Translate the following into a SQL query | What is the total of 2013 with 6th? | SELECT MAX Total FROM table WHERE 2013 = 6th |
Translate the following into a SQL query | Which 2009 year has a total of 1, and 2004 year of 7th? | SELECT 2009 FROM table WHERE Total = 1 AND 2004 = 7th |
Translate the following into a SQL query | What is the year 2013 with a total of 5, and 5th in 2009? | SELECT 2013 FROM table WHERE Total = 5 AND 2009 = 5th |
Translate the following into a SQL query | What is the year 2001 with a total larger than 1, and 2009 with 8? | SELECT 2001 FROM table WHERE Total > 1 AND 2009 = 8 |
Translate the following into a SQL query | What opponents have a record of 90-70? | SELECT Opponent FROM table WHERE Record = 90-70 |
Translate the following into a SQL query | What game had more than 50,324 in attendance? | SELECT Date FROM table WHERE Attendance > 50,324 |
Translate the following into a SQL query | What is the start of Offy engine and in 1972? | SELECT Start FROM table WHERE Engine = offy AND Year = 1972 |
Translate the following into a SQL query | What is the chassis for offy engine and 25th finish? | SELECT Chassis FROM table WHERE Engine = offy AND Finish = 25th |
Translate the following into a SQL query | What is the finish of Mclaren chassis? | SELECT Finish FROM table WHERE Chassis = mclaren |
Translate the following into a SQL query | Name the wrestlers with days held of 428 | SELECT Wrestlers FROM table WHERE Days held = 428 |
Translate the following into a SQL query | Name the wrestlers for days held of 69 | SELECT Wrestlers FROM table WHERE Days held = 69 |
Translate the following into a SQL query | Which opponent has a Surface of clay, an Outcome of winner, a Tournament of bogotΓ‘, and a Score of 6β0, 6β4? | SELECT Opponent FROM table WHERE Surface = clay AND Outcome = winner AND Tournament = bogotΓ‘ AND Score = 6β0, 6β4 |
Translate the following into a SQL query | Which opponent has a Score of 6β4, 3β6, 6β3? | SELECT Opponent FROM table WHERE Score = 6β4, 3β6, 6β3 |
Translate the following into a SQL query | What is the score for 04 september 2006? | SELECT Score FROM table WHERE Date = 04 september 2006 |
Translate the following into a SQL query | Which Tournament has a Score of 4-6 6-2 6-1? | SELECT Tournament FROM table WHERE Score = 4-6 6-2 6-1 |
Translate the following into a SQL query | Which outcome has a Surface of clay and a Score of 4β6, 7β5, 2β6? | SELECT Outcome FROM table WHERE Surface = clay AND Score = 4β6, 7β5, 2β6 |
Translate the following into a SQL query | What date was versmold? | SELECT Date FROM table WHERE Tournament = versmold |
Translate the following into a SQL query | Name the competition for motherwell opponents | SELECT Competition FROM table WHERE Opponents = motherwell |
Translate the following into a SQL query | Name the home leg for uefa europa league and round of q1 with opponents of motherwell | SELECT Home leg FROM table WHERE Competition = uefa europa league AND Round = q1 AND Opponents = motherwell |
Translate the following into a SQL query | Name the aggregate with opponents of tauras | SELECT Aggregate FROM table WHERE Opponents = tauras |
Translate the following into a SQL query | What date was 53-75 recorded? | SELECT Date FROM table WHERE Record = 53-75 |
Translate the following into a SQL query | Overall of 62 is what average round? | SELECT AVG Round FROM table WHERE Overall = 62 |
Translate the following into a SQL query | College of san diego state, and a Pick # smaller than 30 is what lowest overall? | SELECT MIN Overall FROM table WHERE College = san diego state AND Pick # < 30 |
Translate the following into a SQL query | College of san diego state, and a Pick # smaller than 30 has what lowest overall? | SELECT MIN Overall FROM table WHERE College = san diego state AND Pick # < 30 |
Translate the following into a SQL query | Which city of license has an independent network affiliation, a variety format and is station KKUP? | SELECT City of License FROM table WHERE Network Affiliation = independent AND Format = variety AND Station = kkup |
Translate the following into a SQL query | What is the status of the independent station KPFB? | SELECT Status FROM table WHERE Network Affiliation = independent AND Station = kpfb |
Translate the following into a SQL query | Which city station is owned by Coyote Communications? | SELECT City of License FROM table WHERE Status = owned by coyote communications |
Translate the following into a SQL query | What year were the Olympic Games? | SELECT SUM Year FROM table WHERE Competition = olympic games |
Translate the following into a SQL query | What's the year in 5th position that happened in Osaka, Japan? | SELECT MIN Year FROM table WHERE Position = 5th AND Venue = osaka, japan |
Translate the following into a SQL query | What year was the venue in Barcelona, Spain? | SELECT MIN Year FROM table WHERE Venue = barcelona, spain |
Translate the following into a SQL query | For a school with authority of state and a roll of 798, what is the decile? | SELECT Decile FROM table WHERE Authority = state AND Roll = 798 |
Translate the following into a SQL query | Murupara has a roll greater than 296 for what years? | SELECT Years FROM table WHERE Roll > 296 AND Area = murupara |
Translate the following into a SQL query | When a school has authority of state and a decile greater than 1, what is the roll number? | SELECT Roll FROM table WHERE Authority = state AND Decile > 1 |
Translate the following into a SQL query | Who did the Jays play on August 30? | SELECT Opponent FROM table WHERE Date = august 30 |
Translate the following into a SQL query | Which opponent has a record of 5-0-1? | SELECT Opponent FROM table WHERE Record = 5-0-1 |
Translate the following into a SQL query | What method does the opponent of Dan New use? | SELECT Method FROM table WHERE Opponent = dan new |
Translate the following into a SQL query | Which method has a record of 3-0? | SELECT Method FROM table WHERE Record = 3-0 |
Translate the following into a SQL query | Which event is a win by an opponent of Nicolas Smith, with the round marked n/a? | SELECT Event FROM table WHERE Res. = win AND Round = n/a AND Opponent = nicolas smith |
Translate the following into a SQL query | Which event lasted 1 round and included an opponent of Dan Spychalski? | SELECT Event FROM table WHERE Round = 1 AND Opponent = dan spychalski |
Translate the following into a SQL query | What is Jimmy Smith's opponent's record? | SELECT Record FROM table WHERE Opponent = jimmy smith |
Translate the following into a SQL query | Name the sum of frequecy with brand of exa fm | SELECT SUM Frequency FROM table WHERE Brand = exa fm |
Translate the following into a SQL query | Name the webcast for website of β’ and frequency of 103.3 | SELECT Webcast FROM table WHERE Website = β’ AND Frequency = 103.3 |
Translate the following into a SQL query | Name the lowest frequency for brand of radio manantial | SELECT MIN Frequency FROM table WHERE Brand = radio manantial |
Translate the following into a SQL query | Score of new york yankees β 2, brooklyn dodgers β 3 involves how many number of games? | SELECT COUNT Game FROM table WHERE Score = new york yankees β 2, brooklyn dodgers β 3 |
Translate the following into a SQL query | Date of october 5 had what score? | SELECT Score FROM table WHERE Date = october 5 |
Translate the following into a SQL query | brooklyn dodgers β 3, new york yankees β 5, and a Game larger than 1 had what attendance figure? | SELECT SUM Attendance FROM table WHERE Score = brooklyn dodgers β 3, new york yankees β 5 AND Game > 1 |
Translate the following into a SQL query | Who won mixed doubles in the 2002 season? | SELECT Mixed doubles FROM table WHERE Season = 2002 |
Translate the following into a SQL query | Name the lowest Quay cranes for Berths of 1 and operator of mtl with terminal of terminal 5 (ct5) | SELECT MIN Quay cranes FROM table WHERE Berths = 1 AND Operator = mtl AND Terminal = terminal 5 (ct5) |
Translate the following into a SQL query | Name the operator with berths more than 1 and depth of 12.5-15.5 | SELECT Operator FROM table WHERE Berths > 1 AND Depth (m) = 12.5-15.5 |
Translate the following into a SQL query | What is the average points that Centro Asegurador earned with the McLaren M23 chassis? | SELECT AVG Points FROM table WHERE Chassis = mclaren m23 AND Entrant = centro asegurador |
Translate the following into a SQL query | What was the chassis of Emilio de Villota in 1981? | SELECT Chassis FROM table WHERE Year > 1981 |
Translate the following into a SQL query | What directors won an award on 14/6/6? | SELECT Director(s) FROM table WHERE Date = 14/6/6 |
Translate the following into a SQL query | What date did Passion Pictures receive an award? | SELECT Date FROM table WHERE Recipient = passion pictures |
Translate the following into a SQL query | What award did Charlie Productions Ltd receive? | SELECT Award FROM table WHERE Recipient = charlie productions ltd |
Translate the following into a SQL query | What film had Bub Ltd as the recipient? | SELECT Film FROM table WHERE Recipient = bub ltd |
Translate the following into a SQL query | What film was awarded on 22/3/06? | SELECT Film FROM table WHERE Date = 22/3/06 |
Translate the following into a SQL query | What score resulted in a winner after 2008? | SELECT Score FROM table WHERE Outcome = winner AND Year > 2008 |
Translate the following into a SQL query | What score has an opponent gan teik chai lin woon fui? | SELECT Score FROM table WHERE Opponent = gan teik chai lin woon fui |
Translate the following into a SQL query | What tournament has an opponent gan teik chai lin woon fui? | SELECT Tournament FROM table WHERE Opponent = gan teik chai lin woon fui |
Translate the following into a SQL query | What tournament has an opponent jung jae-sung lee yong-dae? | SELECT Tournament FROM table WHERE Opponent = jung jae-sung lee yong-dae |
Translate the following into a SQL query | What is the record of the team that lost to Alexander (5-2)? | SELECT Record FROM table WHERE Loss = alexander (5-2) |
Translate the following into a SQL query | Which opponent has a record of 17-11? | SELECT Opponent FROM table WHERE Record = 17-11 |
Translate the following into a SQL query | What is the score of the game that resulted in a 15-9 record? | SELECT Score FROM table WHERE Record = 15-9 |
Translate the following into a SQL query | What was the attendance on May 26? | SELECT Attendance FROM table WHERE Date = may 26 |
Translate the following into a SQL query | What is the score of the game that was a loss to Dotson (2-3)? | SELECT Score FROM table WHERE Loss = dotson (2-3) |
Translate the following into a SQL query | On what date was the record 19-11? | SELECT Date FROM table WHERE Record = 19-11 |
Translate the following into a SQL query | What were the highest points before the year 1974? | SELECT MAX Points FROM table WHERE Year < 1974 |
Translate the following into a SQL query | What was the chassis when the entrant was Lavazza March, and the points were 0.5? | SELECT Chassis FROM table WHERE Entrant = lavazza march AND Points = 0.5 |
Translate the following into a SQL query | What was the chassis when the entrant was Lavazza March, and the year was 1975? | SELECT Chassis FROM table WHERE Entrant = lavazza march AND Year = 1975 |
Translate the following into a SQL query | What was the chassis when the points were greater than 0 and the entrant was March Engineering? | SELECT Chassis FROM table WHERE Points > 0 AND Entrant = march engineering |
Translate the following into a SQL query | Who had a time of 56.07? | SELECT Name FROM table WHERE Time = 56.07 |
Translate the following into a SQL query | What is the original title of Madame Rosa? | SELECT Original title FROM table WHERE English title = madame rosa |
Translate the following into a SQL query | What is the original title where Paul Verhoeven is the director? | SELECT Original title FROM table WHERE Director = paul verhoeven |
Translate the following into a SQL query | What original title has a year of 1978? | SELECT Original title FROM table WHERE Year = 1978 |
Translate the following into a SQL query | Who is the director of the best foreign film? | SELECT Director FROM table WHERE Original title = best foreign film |
Translate the following into a SQL query | What is the English title for Ansikte Mot Ansikte? | SELECT English title FROM table WHERE Original title = ansikte mot ansikte |
Translate the following into a SQL query | What happened on 2009-09-05? | SELECT Circumstances FROM table WHERE Date = 2009-09-05 |
Translate the following into a SQL query | Where was the combat of 2009-09-16? | SELECT Location FROM table WHERE Circumstances = combat AND Date = 2009-09-16 |
Translate the following into a SQL query | What happened on 2009-03-14? | SELECT Circumstances FROM table WHERE Date = 2009-03-14 |
Translate the following into a SQL query | How many casualties from the combat in the Fayzabad area? | SELECT Casualties FROM table WHERE Circumstances = combat AND Location = fayzabad area |
Translate the following into a SQL query | Where was the incident of 2009-09-05? | SELECT Location FROM table WHERE Date = 2009-09-05 |
Translate the following into a SQL query | What is the home team of the game on January 22? | SELECT Home FROM table WHERE Date = january 22 |
Translate the following into a SQL query | What is the score of the game on February 26 with the Chicago black hawks as the home team and the New York Rangers as the visitor team? | SELECT Score FROM table WHERE Home = chicago black hawks AND Visitor = new york rangers AND Date = february 26 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.