instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Which Position has a Round of 4, and a School/Club Team of concordia? | SELECT Position FROM table WHERE Round = 4 AND School/Club Team = concordia |
Translate the following into a SQL query | What is the Score of the game with a Record of 29β23β13? | SELECT Score FROM table WHERE Record = 29β23β13 |
Translate the following into a SQL query | What is the Visitor of the game with a Record of 21β17β13? | SELECT Visitor FROM table WHERE Record = 21β17β13 |
Translate the following into a SQL query | What is the Visitor of the game on December 25? | SELECT Visitor FROM table WHERE Date = december 25 |
Translate the following into a SQL query | What is the Date of the game with a Record of 8β10β6? | SELECT Date FROM table WHERE Record = 8β10β6 |
Translate the following into a SQL query | What is the Date of the game with a Record of 1β2β4? | SELECT Date FROM table WHERE Record = 1β2β4 |
Translate the following into a SQL query | What is the Date of the game with a Record of 27β21β13? | SELECT Date FROM table WHERE Record = 27β21β13 |
Translate the following into a SQL query | Which Year(s) won has a Total smaller than 292, and a Player of hale irwin? | SELECT Year(s) won FROM table WHERE Total < 292 AND Player = hale irwin |
Translate the following into a SQL query | What is fuzzy zoeller's to par? | SELECT To par FROM table WHERE Player = fuzzy zoeller |
Translate the following into a SQL query | What To par was won in 1982? | SELECT To par FROM table WHERE Year(s) won = 1982 |
Translate the following into a SQL query | What is curtis strange's to par? | SELECT To par FROM table WHERE Player = curtis strange |
Translate the following into a SQL query | WHAT IS THE SCORE WITH A DATE OF NOVEMBER 18? | SELECT Score FROM table WHERE Date = november 18 |
Translate the following into a SQL query | WHAT IS THE VISITOR FOR FEBRUARY 9? | SELECT Visitor FROM table WHERE Date = february 9 |
Translate the following into a SQL query | What is the place of the player who scored less than 70? | SELECT Place FROM table WHERE Score < 70 |
Translate the following into a SQL query | Which player was chosen by Saskatchewan in a pick larger than 38? | SELECT Player FROM table WHERE Pick # > 38 AND CFL Team = saskatchewan |
Translate the following into a SQL query | If the goals scored were below 6, 11 games were played, and there were 7 assists, what's the sum of points with games meeting these criteria? | SELECT SUM Points FROM table WHERE Assists = 7 AND Games = 11 AND Goals < 6 |
Translate the following into a SQL query | What's the highest amount of Games recorded that have more than 10 assists? | SELECT MAX Games FROM table WHERE Assists > 10 |
Translate the following into a SQL query | What is Updated In Past 30 Days, when Registration is "Open to people 13 and over"? | SELECT Updated in past 30 days FROM table WHERE Registration = open to people 13 and over |
Translate the following into a SQL query | What is Permanent Account, when Updated In Past 30 Days is 10324? | SELECT Permanent Account FROM table WHERE Updated in past 30 days = 10324 |
Translate the following into a SQL query | What is Userpics Free, when Registration is Open, when Yearly Cost For Paid Account is "unknown", and when Name is Kraslan? | SELECT Userpics Free FROM table WHERE Registration = open AND Yearly Cost for Paid Account = unknown AND Name = kraslan |
Translate the following into a SQL query | What is Userpics Free, when Monthly Cost For Paid Account is "unknown", and when S Registered User is 2340? | SELECT Userpics Free FROM table WHERE Monthly Cost for Paid Account = unknown AND s Registered user = 2340 |
Translate the following into a SQL query | What is Yearly Cost For Paid Account, when Montly Cost For Paid Account is 5 USD, and when Userpics Paid is 50? | SELECT Yearly Cost for Paid Account FROM table WHERE Monthly Cost for Paid Account = 5 usd AND Userpics Paid = 50 |
Translate the following into a SQL query | What is the S Registered User, when Userpics Free is 6 [free] or 15 [plus]? | SELECT s Registered user FROM table WHERE Userpics Free = 6 [free] or 15 [plus] |
Translate the following into a SQL query | What is Venue, when Date is "2003-08-13"? | SELECT Venue FROM table WHERE Date = 2003-08-13 |
Translate the following into a SQL query | What is Score, when Date is "2000-05-23"? | SELECT Score FROM table WHERE Date = 2000-05-23 |
Translate the following into a SQL query | What is Result, when Date is "2000-05-23"? | SELECT Result FROM table WHERE Date = 2000-05-23 |
Translate the following into a SQL query | What is Competition, when Date is "1999-08-07"? | SELECT Competition FROM table WHERE Date = 1999-08-07 |
Translate the following into a SQL query | In what Week was Serena Williams 6β1, 6β7(7), 6β3 the Winner? | SELECT Week FROM table WHERE Winners = serena williams 6β1, 6β7(7), 6β3 |
Translate the following into a SQL query | Who was the Finalist on a Hard Surface with Winner Serena Williams 6β1, 6β7(7), 6β3? | SELECT Finalists FROM table WHERE Surface = hard AND Winners = serena williams 6β1, 6β7(7), 6β3 |
Translate the following into a SQL query | In what Week is the Rome Tournament? | SELECT Week FROM table WHERE Tournament = rome |
Translate the following into a SQL query | Which regio has a label of zzt and a date of 27 september 2004? | SELECT Region FROM table WHERE Label = zzt AND Date = 27 september 2004 |
Translate the following into a SQL query | Which catalog has a date of 24 march 2006? | SELECT Catalog FROM table WHERE Date = 24 march 2006 |
Translate the following into a SQL query | Which format has a region of united kingdom? | SELECT Format FROM table WHERE Region = united kingdom |
Translate the following into a SQL query | Which date has a region of united kingdom? | SELECT Date FROM table WHERE Region = united kingdom |
Translate the following into a SQL query | Which regio has a date of 24 march 2006? | SELECT Region FROM table WHERE Date = 24 march 2006 |
Translate the following into a SQL query | What is the A330 for A310 B10? | SELECT A330 FROM table WHERE A310 = b10 |
Translate the following into a SQL query | What is the A330 and the A310 wide? | SELECT A330 FROM table WHERE A310 = wide |
Translate the following into a SQL query | What model is the A310 of 1983? | SELECT Model FROM table WHERE A310 = 1983 |
Translate the following into a SQL query | What name is in the number 2 spot when Ethan is in the number 6 spot and Mason is in the number 3 spot? | SELECT No. 2 FROM table WHERE No. 6 = ethan AND No. 3 = mason |
Translate the following into a SQL query | In what region and year was Jacob the number 2 name and Ryan the number 10 name? | SELECT Region (year) FROM table WHERE No. 2 = jacob AND No. 10 = ryan |
Translate the following into a SQL query | What name was number 7 when Mason was number 1, Owen was number 6, Jackson was number 9, and Logan was number 10? | SELECT No. 7 FROM table WHERE No. 1 = mason AND No. 9 = jackson AND No. 10 = logan AND No. 6 = owen |
Translate the following into a SQL query | What name was in the number 4 spot when Aiden was number 7 and James was number 3? | SELECT No. 4 FROM table WHERE No. 7 = aiden AND No. 3 = james |
Translate the following into a SQL query | What is the positions of Damon Jones? | SELECT Position FROM table WHERE Player = damon jones |
Translate the following into a SQL query | for how many years did the player who graduated from stanford play for Grizzlies? | SELECT Years for Grizzlies FROM table WHERE School/Club Team = stanford |
Translate the following into a SQL query | Which school did Dahntay Jones graduate from? | SELECT School/Club Team FROM table WHERE Player = dahntay jones |
Translate the following into a SQL query | Which player gradyated from Florida State? | SELECT Player FROM table WHERE School/Club Team = florida state |
Translate the following into a SQL query | What is the Playoffs MVP of the game with a Result of 4β1 with Champions Daejeon Hyundai Dynat? | SELECT Playoffs MVP FROM table WHERE Result = 4β1 AND Champions = daejeon hyundai dynat |
Translate the following into a SQL query | What is the Year of the game with Result of 4β3 and Champions of Daegu Tongyang Orions? | SELECT Year FROM table WHERE Result = 4β3 AND Champions = daegu tongyang orions |
Translate the following into a SQL query | What is the Runners-up of the game with a Result of 4β1 and Champions of Wonju Dongbu Promy? | SELECT Runners-up FROM table WHERE Result = 4β1 AND Champions = wonju dongbu promy |
Translate the following into a SQL query | Where was the venue that Linfield was the opponent? | SELECT Venue FROM table WHERE Opponent = linfield |
Translate the following into a SQL query | Which scorer plays for Aldershot and has scored a total of 19 League goals? | SELECT Scorer FROM table WHERE Club = aldershot AND League goals = 19 |
Translate the following into a SQL query | What is the highest number of League Cup goals that were scored by Hartlepool? | SELECT MAX League Cup goals FROM table WHERE Club = hartlepool |
Translate the following into a SQL query | When was the game at the North Shore Events Centre? | SELECT Date FROM table WHERE Venue = north shore events centre |
Translate the following into a SQL query | What is the report corresponding to the game that had the Townsville Crocodiles as home team? | SELECT Report FROM table WHERE Home team = townsville crocodiles |
Translate the following into a SQL query | When was the game that had Sydney Spirit as the away team? | SELECT Date FROM table WHERE Away team = sydney spirit |
Translate the following into a SQL query | What was the box score for the game that had the Townsville Crocodiles as home team? | SELECT Box Score FROM table WHERE Home team = townsville crocodiles |
Translate the following into a SQL query | What was the box score for the game that had the Cairns Taipans as home team? | SELECT Box Score FROM table WHERE Home team = cairns taipans |
Translate the following into a SQL query | What's the lap number for time/retired of +33.912? | SELECT COUNT Laps FROM table WHERE Time/Retired = +33.912 |
Translate the following into a SQL query | Total laps for Shinya Nakano at smaller than 10 grids. | SELECT COUNT Laps FROM table WHERE Rider = shinya nakano AND Grid < 10 |
Translate the following into a SQL query | What years were from Connecticut? | SELECT Years FROM table WHERE From = connecticut |
Translate the following into a SQL query | Where is the position of sG from? | SELECT From FROM table WHERE Position = sg |
Translate the following into a SQL query | Which player wears the number 2 on his jersey? | SELECT Player FROM table WHERE Jersey Number(s) = 2 |
Translate the following into a SQL query | What position is from Georgia Tech? | SELECT Position FROM table WHERE From = georgia tech |
Translate the following into a SQL query | What is the highest number of rebounds of the san antonio spurs? | SELECT High rebounds FROM table WHERE Team = san antonio spurs |
Translate the following into a SQL query | What was the score of game 4? | SELECT Score FROM table WHERE Game = 4 |
Translate the following into a SQL query | What is the date of the game with a w 105-88 score? | SELECT Date FROM table WHERE Score = w 105-88 |
Translate the following into a SQL query | What is the game with the golden state warriors? | SELECT Game FROM table WHERE Team = golden state warriors |
Translate the following into a SQL query | What is the Pick # of the Player from Southern MIssissippi? | SELECT COUNT Pick FROM table WHERE School = southern mississippi |
Translate the following into a SQL query | In what Round was Derrick Franklin picked? | SELECT Round FROM table WHERE Player = derrick franklin |
Translate the following into a SQL query | In what Round does Duke have a Pick larger than 9? | SELECT COUNT Round FROM table WHERE Pick > 9 AND School = duke |
Translate the following into a SQL query | In what Round was Tommy Norman picked? | SELECT MAX Round FROM table WHERE Player = tommy norman |
Translate the following into a SQL query | What is the 2000 value if the 1998 value is 1.5? | SELECT 2000 FROM table WHERE 1998 = 1.5 |
Translate the following into a SQL query | What is the 2004 value if the 1998 value is 35? | SELECT 2004 FROM table WHERE 1998 = 35 |
Translate the following into a SQL query | What is the 1998 value if the 2000 value is 25? | SELECT 1998 FROM table WHERE 2000 = 25 |
Translate the following into a SQL query | What is the 1998 value if the 2007 value is 8? | SELECT 1998 FROM table WHERE 2007 = 8 |
Translate the following into a SQL query | What is the 2000 value if the 1998 value is 1.5? | SELECT 2000 FROM table WHERE 1998 = 1.5 |
Translate the following into a SQL query | What is the 1998 value if the 2011 value is 30.4? | SELECT 1998 FROM table WHERE 2011 = 30.4 |
Translate the following into a SQL query | What is the interface of the product xerox travel scanner 100? | SELECT interface FROM table WHERE product = xerox travel scanner 100 |
Translate the following into a SQL query | What is the pages per minute (color) of the machine that has a max page size of a4 and dimensions (mm) of 303 x 94 x 60? | SELECT pages per minute (color) FROM table WHERE max page size = a4 AND dimensions (mm) = 303 x 94 x 60 |
Translate the following into a SQL query | What club had Guus Hiddink as outgoing manager? | SELECT Club FROM table WHERE Name = guus hiddink |
Translate the following into a SQL query | When did Brendan Rodgers depart his position? | SELECT Date of departure FROM table WHERE Name = brendan rodgers |
Translate the following into a SQL query | On what date was Paulo Sousa appointed? | SELECT Date of appointment FROM table WHERE Replacement = paulo sousa |
Translate the following into a SQL query | Who had the high rebounds, and how many did he have, for the game played on April 9? | SELECT High rebounds FROM table WHERE Date = april 9 |
Translate the following into a SQL query | What date did a game have a time of 3:44? | SELECT Date FROM table WHERE Time = 3:44 |
Translate the following into a SQL query | What was the attendance for the game after game 4? | SELECT Attendance FROM table WHERE Game > 4 |
Translate the following into a SQL query | WHAT IS THE TYPE OF LAND WITH A 2010 POPULATION GREATER THAN 2539, A RURAL AREA, AND A 2007 POPULATION OF 2572? | SELECT Geographic character FROM table WHERE Population (2010) > 2539 AND Urban/rural = rural AND Population (2007) = 2572 |
Translate the following into a SQL query | WHAT IS THE TYPE OF LAND WITH A 2007 POPULATION SMALLER THAN 4346, 2010 POPULATION LARGER THAN 3385, FROM BARANGAY OF MANALONGON? | SELECT Geographic character FROM table WHERE Population (2007) < 4346 AND Population (2010) > 3385 AND Barangay = manalongon |
Translate the following into a SQL query | WHAT IS THE POPULATION OF 2007 WHEN 2010 POPULATION WAS SMALLER THAN 1282? | SELECT COUNT Population (2007) FROM table WHERE Population (2010) < 1282 |
Translate the following into a SQL query | What is the number of points when the played is less than 30? | SELECT COUNT Points FROM table WHERE Played < 30 |
Translate the following into a SQL query | What is the number of goals when the goal difference was less than 43, and the position less than 3? | SELECT SUM Goals for FROM table WHERE Goal Difference < 43 AND Position < 3 |
Translate the following into a SQL query | What is the position when the points were less than 34, draws of 7, and a Club of sd eibar? | SELECT AVG Position FROM table WHERE Points < 34 AND Draws = 7 AND Club = sd eibar |
Translate the following into a SQL query | What is the number of goals against when the goal difference was less than 43, the Wins less than 13, and losses more than 14? | SELECT Goals against FROM table WHERE Goal Difference < 43 AND Wins < 13 AND Losses > 14 |
Translate the following into a SQL query | What is the highest Goal Difference when the goals against were less than 76, and the position larger than 5, and a Played larger than 30? | SELECT MAX Goal Difference FROM table WHERE Goals against < 76 AND Position > 5 AND Played > 30 |
Translate the following into a SQL query | Who is the producer for the director Richard Clark? | SELECT Producer FROM table WHERE Director = richard clark |
Translate the following into a SQL query | What is the lowest block for director Graeme Harper? | SELECT MIN Block FROM table WHERE Director = graeme harper |
Translate the following into a SQL query | What is the skip when the country is finland? | SELECT Skip FROM table WHERE Country = finland |
Translate the following into a SQL query | What is the lowest ends lost when the stolen ends for is less than 13, and stolten ends against is 6? | SELECT MIN Ends Lost FROM table WHERE Stolen Ends For < 13 AND Stolen Ends Against = 6 |
Translate the following into a SQL query | What is the sum shot % when the country is finland, and an ends lost is larger than 49? | SELECT SUM Shot % FROM table WHERE Country = finland AND Ends Lost > 49 |
Translate the following into a SQL query | What is the stolen ends against for a bank ends f/a of 4/7, and a country of china? | SELECT Stolen Ends Against FROM table WHERE Blank Ends F/A = 4/7 AND Country = china |
Translate the following into a SQL query | what is the location when the year is after 1974 and the date is september 19? | SELECT Location FROM table WHERE Year > 1974 AND Date = september 19 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.