instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | How many different sizes (in acres) are noted for Rathcoola East? | SELECT COUNT Area( acres ) FROM table WHERE Townland = Rathcoola East |
Translate the following into a SQL query | how many areas have townland as kilgilky north? | SELECT COUNT Area( acres ) FROM table WHERE Townland = Kilgilky North |
Translate the following into a SQL query | which cilvil parishes have areas of 405? | SELECT Civil parish FROM table WHERE Area( acres ) = 405 |
Translate the following into a SQL query | what is the barony and an area of 560? | SELECT Barony FROM table WHERE Area( acres ) = 560 |
Translate the following into a SQL query | what is the number of areas where the townland is brittas? | SELECT COUNT Area( acres ) FROM table WHERE Townland = Brittas |
Translate the following into a SQL query | What is the Poor Law Union for Coolkirky? | SELECT Poor law union FROM table WHERE Townland = Coolkirky |
Translate the following into a SQL query | How few acres is the area of Clashroe? | SELECT MIN Area( acres ) FROM table WHERE Townland = Clashroe |
Translate the following into a SQL query | Which townland has a 213 acre area? | SELECT Townland FROM table WHERE Area( acres ) = 213 |
Translate the following into a SQL query | How many acres does the area of Lissagroom with Bandon as its poor law union cover? | SELECT Area( acres ) FROM table WHERE Poor law union = Bandon AND Townland = Lissagroom |
Translate the following into a SQL query | What is Ballymurphy North's civil parish? | SELECT Civil parish FROM table WHERE Townland = Ballymurphy North |
Translate the following into a SQL query | How many acres in the townland of Coomroe? | SELECT COUNT Area( acres ) FROM table WHERE Townland = Coomroe |
Translate the following into a SQL query | What are all the acreages of the townlands in the Macroom poor law union and Macroom civil parish? | SELECT Area( acres ) FROM table WHERE Poor law union = Macroom AND Civil parish = Macroom |
Translate the following into a SQL query | How many baronies is Maulnagrough a part of? | SELECT COUNT Barony FROM table WHERE Townland = Maulnagrough |
Translate the following into a SQL query | What are all of the townlands that have exactly 131 acres. | SELECT Townland FROM table WHERE Area( acres ) = 131 |
Translate the following into a SQL query | What is the acreage of the Maghereen in the civil parish of Macroom? | SELECT COUNT Area( acres ) FROM table WHERE Civil parish = Macroom AND Townland = Maghereen |
Translate the following into a SQL query | What is the poor law union when the townland is bohonagh? | SELECT Poor law union FROM table WHERE Townland = Bohonagh |
Translate the following into a SQL query | How many entries are in barony when the townland is derrigra? | SELECT COUNT Barony FROM table WHERE Townland = Derrigra |
Translate the following into a SQL query | How many entries are listed in poor law union when townland is dromidiclogh? | SELECT COUNT Poor law union FROM table WHERE Townland = Dromidiclogh |
Translate the following into a SQL query | What is the area when the poor law union is skibbereen and the townland is knockmore? | SELECT Area( acres ) FROM table WHERE Poor law union = Skibbereen AND Townland = Knockmore |
Translate the following into a SQL query | What is the circuit located in baltimore , maryland? | SELECT Circuit FROM table WHERE Location = Baltimore , Maryland |
Translate the following into a SQL query | Which circuit was located in st. petersburg, florida? | SELECT Circuit FROM table WHERE Location = St. Petersburg, Florida |
Translate the following into a SQL query | Who had the fastest lap in bowmanville, ontario? | SELECT Fastest lap FROM table WHERE Location = Bowmanville, Ontario |
Translate the following into a SQL query | Who had the fastest lap on september 4? | SELECT Fastest lap FROM table WHERE Date = September 4 |
Translate the following into a SQL query | What is the 1985 value for the year when GDP as of 2012 after PPP was 369.38? | SELECT 1985 FROM table WHERE GDP as of 2012 after purchasing power parity (PPP) calculations (USD billions) = 369.38 |
Translate the following into a SQL query | What was the gap from Thailand as of 2012 for China? | SELECT Gap from Thailand as of 2012 (times) FROM table WHERE Economy = China |
Translate the following into a SQL query | What is the maximum 2010 value for China? | SELECT MAX 2010 FROM table WHERE Economy = China |
Translate the following into a SQL query | What is the gap from Thailand as of 2012 for the country whose 1980 gap was 0.29? | SELECT Gap from Thailand as of 2012 (times) FROM table WHERE Gap from Thailand as of 1980 (times) = 0.29 |
Translate the following into a SQL query | How many GDPs as of 2012 after PPP values are associated with a 2012 value of 23113? | SELECT COUNT GDP as of 2012 after purchasing power parity (PPP) calculations (USD billions) FROM table WHERE 2012 = 23113 |
Translate the following into a SQL query | What is the max 2010 value for a 1980 gap value is 2.43? | SELECT MAX 2010 FROM table WHERE Gap from Thailand as of 1980 (times) = 2.43 |
Translate the following into a SQL query | How many viewers in the UK did episode 50 have? | SELECT UK Total viewers FROM table WHERE Episode no. = 50 |
Translate the following into a SQL query | Tell me the doubles W-L for player of laurynas grigelis | SELECT Doubles W–L FROM table WHERE Player = laurynas grigelis |
Translate the following into a SQL query | What is the newest Cap with a Goals stat larger than 17 and which was done by Brian Turner? | SELECT Most Recent Cap FROM table WHERE Goals > 17 AND Name = brian turner |
Translate the following into a SQL query | What is the nationality of school/club team of barton cc (ks)? | SELECT Nationality FROM table WHERE School/Club Team = barton cc (ks) |
Translate the following into a SQL query | Shawn Respert play for what school/club team? | SELECT School/Club Team FROM table WHERE Player = shawn respert |
Translate the following into a SQL query | Who has position in year 1996-97 in Toronto? | SELECT Position FROM table WHERE Years in Toronto = 1996-97 |
Translate the following into a SQL query | Roy Rogers play for what school/club team? | SELECT School/Club Team FROM table WHERE Player = roy rogers |
Translate the following into a SQL query | What year is United States school/club team from Arkansas play in Toronto | SELECT Years in Toronto FROM table WHERE Nationality = united states AND School/Club Team = arkansas |
Translate the following into a SQL query | Who is the player from United States who play in year 2003-06 in Toronto? | SELECT Player FROM table WHERE Nationality = united states AND Years in Toronto = 2003-06 |
Translate the following into a SQL query | Tell me the average units sold for square enix | SELECT AVG Units sold FROM table WHERE Publisher = square enix |
Translate the following into a SQL query | Tell me the date for nicolas pereira | SELECT Date FROM table WHERE Partnering = nicolas pereira |
Translate the following into a SQL query | what is the date in 1986? | SELECT Date FROM table WHERE Year = 1986 |
Translate the following into a SQL query | What is the average year for Ponce, Puerto Rico events? | SELECT AVG Year FROM table WHERE Venue = ponce, puerto rico |
Translate the following into a SQL query | What year did she place 8th in the junior race? | SELECT Year FROM table WHERE Event = junior race AND Position = 8th |
Translate the following into a SQL query | Tell me the NHL team for ryan johnson | SELECT NHL team FROM table WHERE Player = ryan johnson |
Translate the following into a SQL query | Tell me the position for pick of 47 | SELECT Position FROM table WHERE Pick = 47 |
Translate the following into a SQL query | Tell me the pick for pittsburgh penguins | SELECT Pick FROM table WHERE NHL team = pittsburgh penguins |
Translate the following into a SQL query | Tell me the nationality for rudolf vercik | SELECT Nationality FROM table WHERE Player = rudolf vercik |
Translate the following into a SQL query | Tell me the player for nationality of canada for pick of 43 | SELECT Player FROM table WHERE Nationality = canada AND Pick = 43 |
Translate the following into a SQL query | Tell me the college for jason holland | SELECT College/junior/club team FROM table WHERE Player = jason holland |
Translate the following into a SQL query | Tell me the date for rudolf caracciola for avusrennen | SELECT Date FROM table WHERE Winning driver = rudolf caracciola AND Name = avusrennen |
Translate the following into a SQL query | Tell me the circuit for 10 may for targa florio | SELECT Circuit FROM table WHERE Date = 10 may AND Name = targa florio |
Translate the following into a SQL query | What was the score of the Washington tournament? | SELECT Score FROM table WHERE Tournament = washington |
Translate the following into a SQL query | On what date was Patty Fendick an opponent? | SELECT Date FROM table WHERE Opponent = patty fendick |
Translate the following into a SQL query | What score does Vasil Levski National Stadium, Sofia earn? | SELECT Score FROM table WHERE Venue = vasil levski national stadium, sofia |
Translate the following into a SQL query | What score did vasil levski national stadium, sofia, which was friendly during competition, earn? | SELECT Score FROM table WHERE Competition = friendly AND Venue = vasil levski national stadium, sofia |
Translate the following into a SQL query | What is the nationality of the Washington Capitals? | SELECT Nationality FROM table WHERE NHL team = washington capitals |
Translate the following into a SQL query | On what NHL team does Roman Vopat play for? | SELECT NHL team FROM table WHERE Player = roman vopat |
Translate the following into a SQL query | What is the position of the player from the Ukraine? | SELECT Position FROM table WHERE Nationality = ukraine |
Translate the following into a SQL query | What Tournament did he place 12th in? | SELECT Tournament FROM table WHERE Result = 12th |
Translate the following into a SQL query | What was the first year he placed 12th | SELECT MIN Year FROM table WHERE Result = 12th |
Translate the following into a SQL query | Tell me the circuit for alfa romeo swedish ice race | SELECT Circuit FROM table WHERE Winning constructor = alfa romeo AND Name = swedish ice race |
Translate the following into a SQL query | Tell me the date for bugatti fpr stanislas czaykowski | SELECT Date FROM table WHERE Winning constructor = bugatti AND Winning driver = stanislas czaykowski |
Translate the following into a SQL query | Tell me the circuit for 20 august | SELECT Circuit FROM table WHERE Date = 20 august |
Translate the following into a SQL query | Tell me the winning driver for avusrennen | SELECT Winning driver FROM table WHERE Name = avusrennen |
Translate the following into a SQL query | Tell me the report for bugatti and brooklands | SELECT Report FROM table WHERE Winning constructor = bugatti AND Circuit = brooklands |
Translate the following into a SQL query | How many years has there been a competition in Helsinki? | SELECT COUNT Year FROM table WHERE Location = helsinki |
Translate the following into a SQL query | Which competition before 1982 had a score of 2:3? | SELECT Competition FROM table WHERE Year < 1982 AND Score = 2:3 |
Translate the following into a SQL query | Which competition occurred after 1980 with a score of 0:5 in Jerusalem? | SELECT Competition FROM table WHERE Year > 1980 AND Score = 0:5 AND Location = jerusalem |
Translate the following into a SQL query | When was there an attendance of 51,342? | SELECT Date FROM table WHERE Attendance = 51,342 |
Translate the following into a SQL query | What was the attendance during week 7? | SELECT Attendance FROM table WHERE Week = 7 |
Translate the following into a SQL query | What was the score during week 16? | SELECT Result FROM table WHERE Week = 16 |
Translate the following into a SQL query | Who is the mInister who left office during 1960? | SELECT Minister FROM table WHERE Left office = 1960 |
Translate the following into a SQL query | Which government is number 6? | SELECT Government FROM table WHERE Number = 6 |
Translate the following into a SQL query | Which rider had a speed of 90.57mph? | SELECT Rider FROM table WHERE Speed = 90.57mph |
Translate the following into a SQL query | Which country has a place smaller than 8 and points smaller than 5? | SELECT Country FROM table WHERE Place < 8 AND Points < 5 |
Translate the following into a SQL query | What is the lowest number of Losses when the number of Wins is less than 4, the number of Tie is 2, and the Place is 5? | SELECT MIN Losses FROM table WHERE Wins < 4 AND Ties = 2 AND Place = 5 |
Translate the following into a SQL query | Tell me the post-season record for kansas city | SELECT Post-season record [e ] FROM table WHERE MLB affiliate = kansas city |
Translate the following into a SQL query | Tell me the venue of 29 april 2007 | SELECT Venue FROM table WHERE Date = 29 april 2007 |
Translate the following into a SQL query | Tell me the competition of 20 august 2008 | SELECT Competition FROM table WHERE Date = 20 august 2008 |
Translate the following into a SQL query | Tell me the date of stade des martyrs, dr congo | SELECT Date FROM table WHERE Venue = stade des martyrs, dr congo |
Translate the following into a SQL query | How much money, in millions, is paid to Infotalent? | SELECT Amount (millions) FROM table WHERE Payee = infotalent |
Translate the following into a SQL query | What is the purpose of Euromarine? | SELECT Purpose FROM table WHERE Payee = euromarine |
Translate the following into a SQL query | What signatory has a purpose of police security and Infotalent payee? | SELECT Signatories FROM table WHERE Purpose = police security AND Payee = infotalent |
Translate the following into a SQL query | Tell me the highest launced for trn | SELECT MAX Launched FROM table WHERE Name = trn |
Translate the following into a SQL query | Tell me the average launced for capacity mln tpa of 15,0 | SELECT AVG Launched FROM table WHERE Capacity, mln tpa = 15,0 |
Translate the following into a SQL query | Tell me the period for red rock | SELECT Period FROM table WHERE Place = red rock |
Translate the following into a SQL query | Tell me the province for 260km ese of calgary | SELECT Province FROM table WHERE Location = 260km ese of calgary |
Translate the following into a SQL query | Tell me the province of 1941-1946 | SELECT Province FROM table WHERE Period = 1941-1946 |
Translate the following into a SQL query | Tell me the degree for degree year of 1983 | SELECT Degree FROM table WHERE Degree Year = 1983 |
Translate the following into a SQL query | Tell me the degree for chemistry 1965 | SELECT Degree FROM table WHERE Award Year = 1965 AND Award = chemistry |
Translate the following into a SQL query | What is the MP's term who was elected from grey and bell? | SELECT MP's term FROM table WHERE Electorate = grey and bell |
Translate the following into a SQL query | What is the Election date for Member william richmond category:articles with hcards? | SELECT Election date FROM table WHERE Member = william richmond category:articles with hcards |
Translate the following into a SQL query | What is Member alfred east category:articles with hcards's term? | SELECT MP's term FROM table WHERE Member = alfred east category:articles with hcards |
Translate the following into a SQL query | What is the election date for the city of auckland category:articles with hcards? | SELECT Election date FROM table WHERE Electorate = city of auckland category:articles with hcards |
Translate the following into a SQL query | What electorate does Member dingley brittin category:articles with hcards represent? | SELECT Electorate FROM table WHERE Member = dingley brittin category:articles with hcards |
Translate the following into a SQL query | What is the election date for the electorate of member charles brown category:articles with hcards? | SELECT Election date FROM table WHERE Member = charles brown category:articles with hcards |
Translate the following into a SQL query | Tell me the date for acts of 6 bands and year larger than 1981 for monsters of rock | SELECT Date FROM table WHERE Acts = 6 bands AND Year > 1981 AND Event = monsters of rock |
Translate the following into a SQL query | Tell me the stages for 1981 | SELECT Stages FROM table WHERE Year = 1981 |
Translate the following into a SQL query | Tell me the event for 6 bands | SELECT Event FROM table WHERE Acts = 6 bands |
Translate the following into a SQL query | What is the lightweight value with no information model and the flexible value is unknown? | SELECT Lightweight FROM table WHERE Information Model = no AND Flexible = unknown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.