instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Can you tell me the Competing entities that has the First held smaller than 1970? | SELECT Competing entities FROM table WHERE First held < 1970 |
Translate the following into a SQL query | What surface was played on on October 3, 2010? | SELECT Surface FROM table WHERE Date = october 3, 2010 |
Translate the following into a SQL query | What was the tier versus Manana Shapakidze? | SELECT Tier FROM table WHERE Opponent in the final = manana shapakidze |
Translate the following into a SQL query | What was the score versus Michaela PochabovΓ‘? | SELECT Score FROM table WHERE Opponent in the final = michaela pochabovΓ‘ |
Translate the following into a SQL query | Who was the opponent on May 8, 2006? | SELECT Opponent in the final FROM table WHERE Date = may 8, 2006 |
Translate the following into a SQL query | What was the tier versus Annalisa bona? | SELECT Tier FROM table WHERE Opponent in the final = annalisa bona |
Translate the following into a SQL query | What is the average place for the song called "homme" that has voes larger than 1320? | SELECT AVG Place FROM table WHERE Song = "homme" AND Votes > 1320 |
Translate the following into a SQL query | What is the sum of the draw for the song "Beautiful Inside" which has a place larger than 2? | SELECT SUM Draw FROM table WHERE Song = "beautiful inside" AND Place > 2 |
Translate the following into a SQL query | Which song has votes greater than 640 and a draw of 1? | SELECT Song FROM table WHERE Votes > 640 AND Draw = 1 |
Translate the following into a SQL query | What is the average place for a song with votes smaller than 8696, the song "turn the tide", and a draw larger than 3? | SELECT AVG Place FROM table WHERE Votes < 8696 AND Song = "turn the tide" AND Draw > 3 |
Translate the following into a SQL query | When Keey has 58.1% what % does Bush have? | SELECT Bush% FROM table WHERE Kerry% = 58.1% |
Translate the following into a SQL query | Which of Real Betis career had appearances smaller than 98, nationality of Spain, and goals greater than 15? | SELECT Real Betis career FROM table WHERE Appearances < 98 AND Nationality = spain AND Goals > 15 |
Translate the following into a SQL query | What Decile has State Authority and Raumati South Area? | SELECT Decile FROM table WHERE Authority = state AND Area = raumati south |
Translate the following into a SQL query | What is the total Decile with Waikanae Area? | SELECT SUM Decile FROM table WHERE Area = waikanae |
Translate the following into a SQL query | What Player with a Place of T10 had a Score of 80-70-72-72=294? | SELECT Player FROM table WHERE Place = t10 AND Score = 80-70-72-72=294 |
Translate the following into a SQL query | What was the Money ($) amount for Lloyd Mangrum? | SELECT Money ( $ ) FROM table WHERE Player = lloyd mangrum |
Translate the following into a SQL query | What was the Money ($) amount for Cary Middlecoff? | SELECT Money ( $ ) FROM table WHERE Player = cary middlecoff |
Translate the following into a SQL query | What date was the game with a score of 5β2, and a Loss of lilly (9β9)? | SELECT Date FROM table WHERE Score = 5β2 AND Loss = lilly (9β9) |
Translate the following into a SQL query | What team was the opponent when there was a score of 5β4 (11)? | SELECT Opponent FROM table WHERE Score = 5β4 (11) |
Translate the following into a SQL query | What date was the game with a record of 47β39? | SELECT Date FROM table WHERE Record = 47β39 |
Translate the following into a SQL query | What year did Tom Watson win? | SELECT Year(s) won FROM table WHERE Player = tom watson |
Translate the following into a SQL query | What is the total number that Tom Watson parred larger than 10? | SELECT COUNT Total FROM table WHERE Player = tom watson AND To par > 10 |
Translate the following into a SQL query | Which date has a Record of 4-5? | SELECT Date FROM table WHERE Record = 4-5 |
Translate the following into a SQL query | Which score has a Loss of gubicza (0-1)? | SELECT Score FROM table WHERE Loss = gubicza (0-1) |
Translate the following into a SQL query | Which loss happened april 18? | SELECT Loss FROM table WHERE Date = april 18 |
Translate the following into a SQL query | Which record has an Opponent of orioles and a Date of april 14? | SELECT Record FROM table WHERE Opponent = orioles AND Date = april 14 |
Translate the following into a SQL query | Which record has a Date of april 25? | SELECT Record FROM table WHERE Date = april 25 |
Translate the following into a SQL query | Which opponent has a Record of 4-5? | SELECT Opponent FROM table WHERE Record = 4-5 |
Translate the following into a SQL query | Name the country which has prix uip venezia | SELECT Country FROM table WHERE Nominating Festival = prix uip venezia |
Translate the following into a SQL query | Name the nominating festival for director of 2004 | SELECT Nominating Festival FROM table WHERE Director(s) = 2004 |
Translate the following into a SQL query | Name the category for prix uip berlin | SELECT Category FROM table WHERE Nominating Festival = prix uip berlin |
Translate the following into a SQL query | Name the nominating festival for un cartus de kent si un pachet de cafea | SELECT Nominating Festival FROM table WHERE Film = un cartus de kent si un pachet de cafea |
Translate the following into a SQL query | Name the director of alt i alt | SELECT Director(s) FROM table WHERE Film = alt i alt |
Translate the following into a SQL query | What's the score of the game they played against a team with a record of 81-54? | SELECT Score FROM table WHERE Record = 81-54 |
Translate the following into a SQL query | What game score was there for the team with a record of 84-56? | SELECT Score FROM table WHERE Record = 84-56 |
Translate the following into a SQL query | Who is the Winner for the City of Loutraki? | SELECT Winner FROM table WHERE City = loutraki |
Translate the following into a SQL query | What is the Date for the Event ept copenhagen? | SELECT Date FROM table WHERE Event = ept copenhagen |
Translate the following into a SQL query | What Event did John dibella win? | SELECT Event FROM table WHERE Winner = john dibella |
Translate the following into a SQL query | What was the prize for winner benny spindler? | SELECT Prize FROM table WHERE Winner = benny spindler |
Translate the following into a SQL query | What was the Event in the city of copenhagen? | SELECT Event FROM table WHERE City = copenhagen |
Translate the following into a SQL query | What was the Event for the prize of β¬850,000? | SELECT Event FROM table WHERE Prize = β¬850,000 |
Translate the following into a SQL query | What is the Redcliffe population with a Pine Rivers population greater than 164,254 and a total population less than 103,669? | SELECT SUM (Redcliffe) FROM table WHERE (Pine Rivers) > 164,254 AND Population (Total) < 103,669 |
Translate the following into a SQL query | What is the Pine Rivers total population after 1947 with a Redcliffe population smaller than 68,877, a total population greater than 50,785, and a Caboolture population greater than 12,207? | SELECT COUNT (Pine Rivers) FROM table WHERE Year > 1947 AND (Redcliffe) < 68,877 AND Population (Total) > 50,785 AND (Caboolture) > 12,207 |
Translate the following into a SQL query | What is the average Caboolture population with a Redcliffe population greater than 27,327, a Pine Rivers population greater than 119,236, and a total population greater than 344,878 after 1971? | SELECT AVG (Caboolture) FROM table WHERE (Redcliffe) > 27,327 AND (Pine Rivers) > 119,236 AND Year > 1971 AND Population (Total) > 344,878 |
Translate the following into a SQL query | In which place is Emmet French? | SELECT Place FROM table WHERE Player = emmet french |
Translate the following into a SQL query | What is the result for Gold Coast when Melbourne and Adelaide are yes, but Perth is no? | SELECT Gold Coast FROM table WHERE Melbourne = yes AND Perth = no AND Adelaide = yes |
Translate the following into a SQL query | What is the result for Melbourne when Adelaide, Sydney, and Perth are yes, and Gold Coast is no? | SELECT Melbourne FROM table WHERE Adelaide = yes AND Sydney = yes AND Perth = yes AND Gold Coast = no |
Translate the following into a SQL query | What is the result for Melbourne when Gold Coast, Perth, Auckland, and Sydney are no? | SELECT Melbourne FROM table WHERE Gold Coast = no AND Perth = no AND Auckland = no AND Sydney = no |
Translate the following into a SQL query | What is the result for Gold Coast when Adelaide and Perth are yes, but Auckland is no? | SELECT Gold Coast FROM table WHERE Adelaide = yes AND Auckland = no AND Perth = yes |
Translate the following into a SQL query | What is the result for Gold Coast when Melbourne and Sydney are yes, while Auckland and Perth are no? | SELECT Gold Coast FROM table WHERE Melbourne = yes AND Sydney = yes AND Auckland = no AND Perth = no |
Translate the following into a SQL query | What is the result for Melbourne when Adelaide is no, and Auckland is yes? | SELECT Melbourne FROM table WHERE Adelaide = no AND Auckland = yes |
Translate the following into a SQL query | Who won on 3 june? | SELECT Winner FROM table WHERE Date = 3 june |
Translate the following into a SQL query | Which date has a Race Leader of hermann buse ( ger ), and a Stage of 5? | SELECT Date FROM table WHERE Race Leader = hermann buse ( ger ) AND Stage = 5 |
Translate the following into a SQL query | Which race Leader has a Stage of 7? | SELECT Race Leader FROM table WHERE Stage = 7 |
Translate the following into a SQL query | Which date has a Stage of 12? | SELECT Date FROM table WHERE Stage = 12 |
Translate the following into a SQL query | What was the result for song of the year award in 1994? | SELECT Result FROM table WHERE Year = 1994 AND Award = song of the year |
Translate the following into a SQL query | What was the result for work made by Neil Finn? | SELECT Result FROM table WHERE Nominated work = neil finn |
Translate the following into a SQL query | what is the money for argentina? | SELECT COUNT Money ( $ ) FROM table WHERE Country = argentina |
Translate the following into a SQL query | what is the money for trevor immelman? | SELECT Money ( $ ) FROM table WHERE Player = trevor immelman |
Translate the following into a SQL query | what is the place for ireland? | SELECT Place FROM table WHERE Country = ireland |
Translate the following into a SQL query | What result was a date of 20/03/2008 with leeds as the opponent | SELECT Result FROM table WHERE Opponent = leeds AND Date = 20/03/2008 |
Translate the following into a SQL query | What was the HT for the game at Stadio Luigi Ferraris? | SELECT H.T. FROM table WHERE VENUE = stadio luigi ferraris |
Translate the following into a SQL query | What was the HT for the game at Zagreb, with a full-time score of 0-2? | SELECT H.T. FROM table WHERE VENUE = zagreb AND SCORE = 0-2 |
Translate the following into a SQL query | What was the competition that was played in Zurich? | SELECT COMPETITION FROM table WHERE VENUE = zurich |
Translate the following into a SQL query | When was the first game associated with over 4 losses? | SELECT First game FROM table WHERE Lost > 4 |
Translate the following into a SQL query | What is the lowest number of games drawn associated with over 39 games played? | SELECT MIN Drawn FROM table WHERE Played > 39 |
Translate the following into a SQL query | What is the highest number of losses when there are under 1 games played? | SELECT MAX Lost FROM table WHERE Played < 1 |
Translate the following into a SQL query | What location has more than 2 games with 2:56? | SELECT Location FROM table WHERE Game > 2 AND Time = 2:56 |
Translate the following into a SQL query | What location has October 10 as date? | SELECT Location FROM table WHERE Date = october 10 |
Translate the following into a SQL query | what is the seats 2006 total with %2001 of 39 and seats 2001 less than 12? | SELECT MAX Seats 2006 FROM table WHERE % 2001 = 39 AND Seats 2001 < 12 |
Translate the following into a SQL query | what is the total number of seats 2006 that has parties and voter turnout in % and whose %2006 is greater than 51.5? | SELECT SUM Seats 2006 FROM table WHERE Parties and voter communities = voter turnout in % AND % 2006 > 51.5 |
Translate the following into a SQL query | what is the total number of seats 2001 with seats 2006 more than 10 and voter communities of cdu? | SELECT SUM Seats 2001 FROM table WHERE Parties and voter communities = cdu AND Seats 2006 > 10 |
Translate the following into a SQL query | What was the loss of the game when the record was 3β2? | SELECT Loss FROM table WHERE Record = 3β2 |
Translate the following into a SQL query | Who was the opponent at the game that had a loss of Shields (1β1)? | SELECT Opponent FROM table WHERE Loss = shields (1β1) |
Translate the following into a SQL query | Who is the opponent for Andrew Symonds in the 2004 season? | SELECT Opponent FROM table WHERE Player = andrew symonds AND Season = 2004 |
Translate the following into a SQL query | Name th country of origin for journey | SELECT Country of origin FROM table WHERE Artist = journey |
Translate the following into a SQL query | Name the period active for enya | SELECT Period active FROM table WHERE Artist = enya |
Translate the following into a SQL query | Name the genre for release-year of firsst charted less than 1980 and origin of jamaica | SELECT Genre FROM table WHERE Release-year of first charted record < 1980 AND Country of origin = jamaica |
Translate the following into a SQL query | In which election was the constituency abolished? | SELECT Election FROM table WHERE 1st Member = constituency abolished |
Translate the following into a SQL query | What was the 1st party with a 1st member of John Willis Fleming? | SELECT 1st Party FROM table WHERE 1st Member = john willis fleming |
Translate the following into a SQL query | What is the 1st party when the 2nd party is constituency abolished? | SELECT 1st Party FROM table WHERE 2nd Party = constituency abolished |
Translate the following into a SQL query | Who is the 2nd member during 1885 election? | SELECT 2nd Member FROM table WHERE Election = 1885 |
Translate the following into a SQL query | What is the 1st party during the 1857 election? | SELECT 1st Party FROM table WHERE Election = 1857 |
Translate the following into a SQL query | Which language has the percentage of 2.54? | SELECT Language FROM table WHERE percentage (%) = 2.54 |
Translate the following into a SQL query | What is the number of females that has the Polish language? | SELECT females FROM table WHERE Language = polish |
Translate the following into a SQL query | What was the number of males that had the number females 62 331? | SELECT males FROM table WHERE females = 62 331 |
Translate the following into a SQL query | Which position has a sophomore class? | SELECT Position FROM table WHERE Class = sophomore |
Translate the following into a SQL query | What is the lowest Preliminary score of a contestant that has an Evening Gown score of 8.472? | SELECT MIN Preliminaries FROM table WHERE Evening Gown = 8.472 |
Translate the following into a SQL query | Which Set 3 has a Set 1 of 25β20? | SELECT Set 3 FROM table WHERE Set 1 = 25β20 |
Translate the following into a SQL query | Which Set 3 has a Time of 10:00, and a Set 2 of 25β19? | SELECT Set 3 FROM table WHERE Time = 10:00 AND Set 2 = 25β19 |
Translate the following into a SQL query | Which Set 1 has a Set 3 of 16β25? | SELECT Set 1 FROM table WHERE Set 3 = 16β25 |
Translate the following into a SQL query | Which Set 3 has a Score of 0β3, a Time of 18:30, and a Date of july 10? | SELECT Set 3 FROM table WHERE Score = 0β3 AND Time = 18:30 AND Date = july 10 |
Translate the following into a SQL query | Which score has a Set 2 of 17β25, and a Total of 48β75? | SELECT Score FROM table WHERE Set 2 = 17β25 AND Total = 48β75 |
Translate the following into a SQL query | Which set 3 has a Time of 10:00, and a Score of 3β2, and a Total of 113β102? | SELECT Set 3 FROM table WHERE Time = 10:00 AND Score = 3β2 AND Total = 113β102 |
Translate the following into a SQL query | Is it live or studio before 1983? | SELECT Live / Studio FROM table WHERE Year < 1983 |
Translate the following into a SQL query | What is the total number of 1st prize ($) that has a United States country with a score lower than 271 and in a year after 1964 with a winner of Bobby Mitchell? | SELECT COUNT 1st prize ( $ ) FROM table WHERE Country = united states AND Score < 271 AND Year > 1964 AND Winner = bobby mitchell |
Translate the following into a SQL query | What is the round for marcus howard? | SELECT SUM Round FROM table WHERE Name = marcus howard |
Translate the following into a SQL query | What is the highest laps with a 30 finish? | SELECT MAX Laps FROM table WHERE Finish = 30 |
Translate the following into a SQL query | What is the rank of the 150.163 qual? | SELECT Rank FROM table WHERE Qual = 150.163 |
Translate the following into a SQL query | What is the lowest laps with a 142.744 qual? | SELECT MIN Laps FROM table WHERE Qual = 142.744 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.