instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | what is the transliteration during the period covered is 1125-1223? | SELECT Transliteration FROM table WHERE Period covered = 1125-1223 |
Translate the following into a SQL query | Who is the auther when the english name was histories and eulogies of the sovereigns? | SELECT Author FROM table WHERE English name = Histories and Eulogies of the Sovereigns |
Translate the following into a SQL query | who is the auther when the transliteration is lasha-giorgis droindeli matiane? | SELECT Author FROM table WHERE Transliteration = lasha-giorgis droindeli matiane |
Translate the following into a SQL query | what is the transliteration where the period covered is 1125-1223? | SELECT Transliteration FROM table WHERE Period covered = 1125-1223 |
Translate the following into a SQL query | in which state where John Laurance (f) as a vacator? | SELECT State (class) FROM table WHERE Vacator = John Laurance (F) |
Translate the following into a SQL query | when the vacator was Henry Latimer (f), what were the causes for modification? | SELECT Reason for change FROM table WHERE Vacator = Henry Latimer (F) |
Translate the following into a SQL query | how many times has Aaron Ogden (f), been a successor and has had a formal installation? | SELECT COUNT Date of successors formal installation FROM table WHERE Successor = Aaron Ogden (F) |
Translate the following into a SQL query | How many 5th venue cities were there when Doha was the 1st venue city? | SELECT COUNT 5th Venue FROM table WHERE 1st Venue = Doha |
Translate the following into a SQL query | When Qingdao was the 1st venue city, how many 2nd venue cities were there? | SELECT COUNT 2nd Venue FROM table WHERE 1st Venue = Qingdao |
Translate the following into a SQL query | In 2010, how many 1st venue cities were there? | SELECT COUNT 1st Venue FROM table WHERE Year = 2010 |
Translate the following into a SQL query | When Qingdao was the 1st venue city, who was in the 2nd venue? | SELECT 2nd Venue FROM table WHERE 1st Venue = Qingdao |
Translate the following into a SQL query | What city was in the 3rd venue when Mexico City was in the 2nd? | SELECT 3rd Venue FROM table WHERE 2nd Venue = Mexico City |
Translate the following into a SQL query | How many seats became avaliable in Massachusetts 3rd district? | SELECT COUNT Vacator FROM table WHERE District = Massachusetts 3rd |
Translate the following into a SQL query | Who left office on November 26, 1800? | SELECT Vacator FROM table WHERE Date successor seated = November 26, 1800 |
Translate the following into a SQL query | Who was the latest to take office in Massachusetts 3rd district? | SELECT Successor FROM table WHERE District = Massachusetts 3rd |
Translate the following into a SQL query | List the builder from 1930. | SELECT Builder FROM table WHERE Date = 1930 |
Translate the following into a SQL query | List the number of builders where the withdrawn is 1951 and number is 42. | SELECT COUNT Builder FROM table WHERE Withdrawn = 1951 AND Number = 42 |
Translate the following into a SQL query | List the date for number 1. | SELECT Date FROM table WHERE Number = 1 |
Translate the following into a SQL query | List the number for the operator melbourne and metropolitan tramways board. | SELECT Number FROM table WHERE Operator = Melbourne and Metropolitan Tramways Board |
Translate the following into a SQL query | List the status for the operator Toronto transit commission. | SELECT Status FROM table WHERE Operator = Toronto Transit Commission |
Translate the following into a SQL query | Which network has bob costas as the studio host and darren pang as the ice level reporters? | SELECT Network FROM table WHERE Studio host = Bob Costas AND Ice level reporters = Darren Pang |
Translate the following into a SQL query | Which play-by-play has mike milbury as the studio analyst and darren pang as the ice level reporters? | SELECT Play-by-play FROM table WHERE Studio analysts = Mike Milbury AND Ice level reporters = Darren Pang |
Translate the following into a SQL query | Who is the color commentator when brian engblom is ice level reporters? | SELECT Color commentator(s) FROM table WHERE Ice level reporters = Brian Engblom |
Translate the following into a SQL query | Who is the play-by-play when nbc is the network and darren pang is the ice level reporters? | SELECT Play-by-play FROM table WHERE Network = NBC AND Ice level reporters = Darren Pang |
Translate the following into a SQL query | Who is the studio host for the year 2010? | SELECT Studio host FROM table WHERE Year = 2010 |
Translate the following into a SQL query | Who left a seat open for the district of connecticut at-large | SELECT Vacator FROM table WHERE District = Connecticut At-large |
Translate the following into a SQL query | Why was a seat left open fo Connecticut at-large? | SELECT Reason for change FROM table WHERE District = Connecticut At-large |
Translate the following into a SQL query | What is the smallest Asian rank? | SELECT MIN Rank Asia FROM table |
Translate the following into a SQL query | What 2011 GDP (PPP) billions of USD does Iraq have? | SELECT 2011 GDP (PPP) billions of USD FROM table WHERE Country = Iraq |
Translate the following into a SQL query | What 2011 GDP (PPP) billions of USD does Israel have? | SELECT 2011 GDP (PPP) billions of USD FROM table WHERE Country = Israel |
Translate the following into a SQL query | How many asian rank have 1 as a mideast rank? | SELECT COUNT Rank Asia FROM table WHERE Rank MidEast = 1 |
Translate the following into a SQL query | Gdp per capita for malawi | SELECT GDP (PPP) per capita 2010; African/World rank 2010; FROM table WHERE Nation = Malawi |
Translate the following into a SQL query | Name the gdp world rank for asian rank being 15 | SELECT GDP world rank FROM table WHERE Asian rank = 15 |
Translate the following into a SQL query | Name the gdp per capita for world rank being 131 | SELECT GDP per capita FROM table WHERE GDP world rank = 131 |
Translate the following into a SQL query | Name the gdp world rank for asian rank being 20 | SELECT GDP world rank FROM table WHERE Asian rank = 20 |
Translate the following into a SQL query | Name the most world rank for asian rank being 31 | SELECT MAX World rank FROM table WHERE Asian rank = 31 |
Translate the following into a SQL query | Name the least rank subcontinent for bangladesh | SELECT MIN Rank Subcontinent FROM table WHERE Country = Bangladesh |
Translate the following into a SQL query | Name the rank world for 7 rank subcontinent | SELECT Rank World FROM table WHERE Rank Subcontinent = 7 |
Translate the following into a SQL query | Name the 2011 gdp for pakistan | SELECT 2011 GDP (PPP) billions of USD FROM table WHERE Country = Pakistan |
Translate the following into a SQL query | Name the 2011 gdp for 65 rank world | SELECT 2011 GDP (PPP) billions of USD FROM table WHERE Rank World = 65 |
Translate the following into a SQL query | Name the number of rank world for bhutan | SELECT COUNT Rank World FROM table WHERE Country = Bhutan |
Translate the following into a SQL query | How many items were listed under world rank under the nation of Nigeria? | SELECT COUNT World rank FROM table WHERE Nation = Nigeria |
Translate the following into a SQL query | How many items are listed under gdp per capita under the nation of Burkina Faso? | SELECT COUNT GDP per capita FROM table WHERE Nation = Burkina Faso |
Translate the following into a SQL query | What is the total gdp world rank when the gdp per capita was listed at $1,163? | SELECT MIN Total GDP world rank FROM table WHERE GDP per capita = $1,163 |
Translate the following into a SQL query | Name the least world rank for south american rank 3 | SELECT MIN World Rank FROM table WHERE South American Rank = 3 |
Translate the following into a SQL query | Name the south american rank for venezuela | SELECT MIN South American Rank FROM table WHERE Nation = Venezuela |
Translate the following into a SQL query | How many weight stats are there for players from San Francisco, CA? | SELECT COUNT Weight FROM table WHERE Home Town = San Francisco, CA |
Translate the following into a SQL query | What was rickie winslow's number? | SELECT MAX # FROM table WHERE Name = Rickie Winslow |
Translate the following into a SQL query | How many height entries are there for players from lagos, nigeria? | SELECT COUNT Height FROM table WHERE Home Town = Lagos, Nigeria |
Translate the following into a SQL query | What is the hometown of the players from alvin high school? | SELECT Home Town FROM table WHERE High School = Alvin |
Translate the following into a SQL query | How many height entries are there for players from bayside high school? | SELECT COUNT Height FROM table WHERE High School = Bayside |
Translate the following into a SQL query | How many reasons for change were listed when Edward Hempstead was the successor? | SELECT COUNT Reason for change FROM table WHERE Successor = Edward Hempstead |
Translate the following into a SQL query | How many Vacators were listed when the district was North Carolina 3rd? | SELECT COUNT Vacator FROM table WHERE District = North Carolina 3rd |
Translate the following into a SQL query | Who was the vacator when Shadrach Bond was the successor? | SELECT Vacator FROM table WHERE Successor = Shadrach Bond |
Translate the following into a SQL query | When was the successor who got his seat because of "until august 2, 1813" seated? | SELECT Date successor seated FROM table WHERE Reason for change = Until August 2, 1813 |
Translate the following into a SQL query | The successor for the Massachusetts 20th district was seated on what date? | SELECT Date successor seated FROM table WHERE District = Massachusetts 20th |
Translate the following into a SQL query | Who vacated the Pennsylvania 6th district? | SELECT Vacator FROM table WHERE District = Pennsylvania 6th |
Translate the following into a SQL query | Who was the successor for the state of Maine (2) ? | SELECT Successor FROM table WHERE State (class) = Maine (2) |
Translate the following into a SQL query | What is the date of successors formal installation when the reason for change is resigned december 4, 1819? | SELECT Date of successors formal installation FROM table WHERE Reason for change = Resigned December 4, 1819 |
Translate the following into a SQL query | How many entries are shown for date of successors formal installation where successor is john w. walker (dr)? | SELECT COUNT Date of successors formal installation FROM table WHERE Successor = John W. Walker (DR) |
Translate the following into a SQL query | Who was the successor for the state (class) of maine (2)? | SELECT Successor FROM table WHERE State (class) = Maine (2) |
Translate the following into a SQL query | what is the state for reason for change is resigned may 15, 1820? | SELECT State (class) FROM table WHERE Reason for change = Resigned May 15, 1820 |
Translate the following into a SQL query | Who is the trophy presentation in the year 1987? | SELECT Trophy presentation FROM table WHERE Year = 1987 |
Translate the following into a SQL query | Which network has s analyst of eddie arcaro? | SELECT Network FROM table WHERE s Analyst = Eddie Arcaro |
Translate the following into a SQL query | Who are the reporters for the year of 1984? | SELECT Reporters FROM table WHERE Year = 1984 |
Translate the following into a SQL query | How many trophy presentations where in the year 1987? | SELECT COUNT Trophy presentation FROM table WHERE Year = 1987 |
Translate the following into a SQL query | In which year were howard cosell and jack whitaker reporters and s analyst is bill hartack? | SELECT MIN Year FROM table WHERE Reporters = Howard Cosell and Jack Whitaker AND s Analyst = Bill Hartack |
Translate the following into a SQL query | Who is the race caller when jim mckay and al michaels were s hosts in the year 1987? | SELECT Race caller FROM table WHERE s Host = Jim McKay and Al Michaels AND Year = 1987 |
Translate the following into a SQL query | Name the host for john rotz and howard cosell | SELECT s Host FROM table WHERE s Analyst = John Rotz and Howard Cosell |
Translate the following into a SQL query | Name the race caller for jim mckay and howard cosell | SELECT Race caller FROM table WHERE s Host = Jim McKay AND Reporters = Howard Cosell |
Translate the following into a SQL query | Name the race caller for jim mckay and howard cosell and eddie arcaro | SELECT Race caller FROM table WHERE Trophy presentation = Jim McKay and Howard Cosell AND Reporters = Howard Cosell AND s Analyst = Eddie Arcaro |
Translate the following into a SQL query | Name the reporters for dave johnson for eddie arcaro and howard cosell | SELECT Reporters FROM table WHERE Race caller = Dave Johnson AND s Analyst = Eddie Arcaro and Howard Cosell |
Translate the following into a SQL query | Name the reporters for howard cosell | SELECT Reporters FROM table WHERE s Analyst = Howard Cosell |
Translate the following into a SQL query | Name the number of reporters for heywood hale broun | SELECT COUNT Reporters FROM table WHERE s Analyst = Heywood Hale Broun |
Translate the following into a SQL query | Which province has an elevation of 4550? | SELECT Province FROM table WHERE Elevation (m) = 4550 |
Translate the following into a SQL query | Which province is in the district of San Antonio de Chuca? | SELECT Province FROM table WHERE District = San Antonio de Chuca |
Translate the following into a SQL query | How many elevations are listed for Paratia? | SELECT COUNT Elevation (m) FROM table WHERE District = Paratia |
Translate the following into a SQL query | What province is in the district of Condoroma? | SELECT Province FROM table WHERE District = Condoroma |
Translate the following into a SQL query | Name the reporters for 2003 | SELECT Reporters FROM table WHERE Year = 2003 |
Translate the following into a SQL query | Name the total number for race caller for bob costas and charlsie cantey | SELECT COUNT Race caller FROM table WHERE Trophy presentation = Bob Costas and Charlsie Cantey |
Translate the following into a SQL query | Who is the race caller for the year 1994? | SELECT Race caller FROM table WHERE Year = 1994 |
Translate the following into a SQL query | How many reporters for the year 1993? | SELECT COUNT Reporters FROM table WHERE Year = 1993 |
Translate the following into a SQL query | What were the starting odds for the opening odds of 2-1? | SELECT Starting Odds FROM table WHERE Opening Odds = 2-1 |
Translate the following into a SQL query | Who was the jockey with opening odds of 4-1? | SELECT Jockey FROM table WHERE Opening Odds = 4-1 |
Translate the following into a SQL query | HOw many jockeys had eoin harty as a trainer | SELECT COUNT Jockey FROM table WHERE Trainer = Eoin Harty |
Translate the following into a SQL query | Which post had the horse named chocolate candy? | SELECT Post FROM table WHERE Horse name = Chocolate Candy |
Translate the following into a SQL query | What is every date successor seated for the Virginia 11th District? | SELECT Date successor seated FROM table WHERE District = Virginia 11th |
Translate the following into a SQL query | Name the successor for not filled this congress | SELECT Successor FROM table WHERE Date successor seated = Not filled this congress |
Translate the following into a SQL query | Name the district for rep. warren r. davis died during previous congress | SELECT District FROM table WHERE Reason for change = Rep. Warren R. Davis died during previous congress |
Translate the following into a SQL query | Name the total number of reason for change for not filled this congress | SELECT COUNT Reason for change FROM table WHERE Date successor seated = Not filled this congress |
Translate the following into a SQL query | Name the vacator for resigned february 26, 1836 because of ill health | SELECT Vacator FROM table WHERE Reason for change = Resigned February 26, 1836 because of ill health |
Translate the following into a SQL query | Name the vacator for failure to elect | SELECT Vacator FROM table WHERE Reason for change = Failure to elect |
Translate the following into a SQL query | Name the state class for iowa admitted to the union december 28, 1846 | SELECT State (class) FROM table WHERE Reason for change = Iowa admitted to the Union December 28, 1846 |
Translate the following into a SQL query | Who was the vacator when the reason for change was failure to elect? | SELECT Vacator FROM table WHERE Reason for change = Failure to elect |
Translate the following into a SQL query | Name the number of nat for total g of 6 | SELECT COUNT Nat FROM table WHERE Total G = 6 |
Translate the following into a SQL query | Name the l g for rubio | SELECT L G FROM table WHERE Player = Rubio |
Translate the following into a SQL query | Name the least total apaps for txema | SELECT MIN Total Apps FROM table WHERE Player = Txema |
Translate the following into a SQL query | when administrative centre is egilsstaðir, what is the pop./ km²? | SELECT COUNT Pop./ km² FROM table WHERE Administrative centre = Egilsstaðir |
Translate the following into a SQL query | when the name is southern region, what is the administrative centre? | SELECT Administrative centre FROM table WHERE Name (English) = Southern Region |
Translate the following into a SQL query | when the area (km²) is 22721, what is the pop./ km²? | SELECT Pop./ km² FROM table WHERE Area (km²) = 22721 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.