instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What is the season where Vasco da gama is the score? | SELECT Season FROM table WHERE Score = vasco da gama |
Translate the following into a SQL query | Who is the winner in 2010? | SELECT Winners FROM table WHERE Season = 2010 |
Translate the following into a SQL query | Who is the winner in 2011? | SELECT Winners FROM table WHERE Season = 2011 |
Translate the following into a SQL query | What was the third place of the performance in 2006 with the host Japan? | SELECT Third place FROM table WHERE Host = japan AND Season < 2006 |
Translate the following into a SQL query | Which round did Dundee United end in? | SELECT Round FROM table WHERE Club = dundee united |
Translate the following into a SQL query | Name the event with pursuit of 18th and sprint of 20th | SELECT Event FROM table WHERE Pursuit = 18th AND Sprint = 20th |
Translate the following into a SQL query | Name the pursuit for 1994 lillehammer | SELECT Pursuit FROM table WHERE Event = 1994 lillehammer |
Translate the following into a SQL query | Name the sprint with mass start of 2nd | SELECT Sprint FROM table WHERE Mass Start = 2nd |
Translate the following into a SQL query | What country had a film in 1993? | SELECT Country FROM table WHERE Year = 1993 |
Translate the following into a SQL query | Where was Extreme Challenge 63 with a time of 2:00 held? | SELECT Location FROM table WHERE Event = extreme challenge 63 AND Time = 2:00 |
Translate the following into a SQL query | How many total rounds were there at UFC 114? | SELECT COUNT Round FROM table WHERE Event = ufc 114 |
Translate the following into a SQL query | In the round that lasted 0:20, what was the Res? | SELECT Res. FROM table WHERE Time = 0:20 |
Translate the following into a SQL query | In what City was the Ept Baden Classic? | SELECT City FROM table WHERE Event = ept baden classic |
Translate the following into a SQL query | What Event has a Prize of €869,000? | SELECT Event FROM table WHERE Prize = €869,000 |
Translate the following into a SQL query | What Winner had a Prize of zł2,153,999? | SELECT Winner FROM table WHERE Prize = zł2,153,999 |
Translate the following into a SQL query | How many decile has a roll less than 20? | SELECT AVG Decile FROM table WHERE Roll < 20 |
Translate the following into a SQL query | Which gender had a roll of 627? | SELECT Gender FROM table WHERE Roll = 627 |
Translate the following into a SQL query | Glenorchy school has a decile less than 10 and is in what area? | SELECT Area FROM table WHERE Decile < 10 AND Name = glenorchy school |
Translate the following into a SQL query | Makarora primary school has a roll less than 141 and what gender? | SELECT Gender FROM table WHERE Roll < 141 AND Name = makarora primary school |
Translate the following into a SQL query | In what season did the Sporting CP Club have a 1. round? | SELECT Season FROM table WHERE Round = 1. round AND Club = sporting cp |
Translate the following into a SQL query | The Club of Ekranas was an away with a score of what? | SELECT Away FROM table WHERE Club = ekranas |
Translate the following into a SQL query | What is Rhiannon Leier's lane? | SELECT Lane FROM table WHERE Name = rhiannon leier |
Translate the following into a SQL query | What pennant does Narbada have? | SELECT Pennant FROM table WHERE Name = narbada |
Translate the following into a SQL query | What date was the U21 pennant laid down? | SELECT Laid Down FROM table WHERE Pennant = u21 |
Translate the following into a SQL query | What position went lower than 106 from the College of Virginia? | SELECT Position FROM table WHERE Overall < 106 AND College = virginia |
Translate the following into a SQL query | What is the lowest round a fullback went in? | SELECT MIN Round FROM table WHERE Position = fullback |
Translate the following into a SQL query | Name the province with rank more than 49 | SELECT Province FROM table WHERE Rank > 49 |
Translate the following into a SQL query | Name the mountain peak with location of 46.7000°n 60.5992°w | SELECT Mountain Peak FROM table WHERE Location = 46.7000°n 60.5992°w |
Translate the following into a SQL query | Name the mountain peak with rank less than 6 abd location of 81.9083°n 75.0250°w | SELECT Mountain Peak FROM table WHERE Rank < 6 AND Location = 81.9083°n 75.0250°w |
Translate the following into a SQL query | Name the mountain range for nunavut with location of 73.2294°n 78.6233°w | SELECT Mountain Range FROM table WHERE Province = nunavut AND Location = 73.2294°n 78.6233°w |
Translate the following into a SQL query | Name the mountain peak of 49 rank | SELECT Mountain Peak FROM table WHERE Rank = 49 |
Translate the following into a SQL query | What is the total number of live births in 2006 with 98.40% of the population as Whites and has more than 2 for the TFR? | SELECT SUM Live births 2006 FROM table WHERE Whites as % of Pop. = 98.40% AND TFR 2006 > 2 |
Translate the following into a SQL query | What is the lowest total GFR that has 95.80% of the population as Whites, and a TFR total larger than 2.14, in 2006? | SELECT MIN GFR 2006 FROM table WHERE Whites as % of Pop. = 95.80% AND TFR 2006 > 2.14 |
Translate the following into a SQL query | In 2006, what is the highest number for Live births in the County of Cumbria that has a TFR larger than 1.76? | SELECT MAX Live births 2006 FROM table WHERE County = cumbria AND TFR 2006 > 1.76 |
Translate the following into a SQL query | Question doesn't make sense since there is no team of pramac d'antin ducati | SELECT MIN Year FROM table WHERE Team = pramac d'antin ducati |
Translate the following into a SQL query | Which player from the Ironi Nahariya club was born in 1980? | SELECT Player FROM table WHERE Current Club = ironi nahariya AND Year born = 1980 |
Translate the following into a SQL query | Which position from the Cherkassy Monkeys' club was born after 1978? | SELECT Position FROM table WHERE Year born > 1978 AND Current Club = cherkassy monkeys |
Translate the following into a SQL query | What is the rank of the cinema when the headquarters are in toronto, ON and the screens is less than 1,438? | SELECT AVG Rank FROM table WHERE Headquarters = toronto, on AND Screens < 1,438 |
Translate the following into a SQL query | what is the rank of the cinema when the number of sites is more than 62 and the circuit is cineplex entertainment? | SELECT SUM Rank FROM table WHERE Sites > 62 AND Circuit = cineplex entertainment |
Translate the following into a SQL query | what is the number of sites when the number of screens is 687 and rank is more than 7? | SELECT AVG Sites FROM table WHERE Screens = 687 AND Rank > 7 |
Translate the following into a SQL query | what is the lowest number of sites when the headquarters are in columbus, ga and the rank is smaller than 4? | SELECT MIN Sites FROM table WHERE Headquarters = columbus, ga AND Rank < 4 |
Translate the following into a SQL query | What is the Other transliteration for value 1 000? | SELECT Other FROM table WHERE Value = 1 000 |
Translate the following into a SQL query | What is the word form for the ALA-LC transliteration of muay s″ain? | SELECT Word Form FROM table WHERE ALA-LC = muay s″ain |
Translate the following into a SQL query | What number value has the Other transliteration of muoy roy? | SELECT Value FROM table WHERE Other = muoy roy |
Translate the following into a SQL query | What is the word form for the ALA-LC transliteration of muay bân? | SELECT Word Form FROM table WHERE ALA-LC = muay bân |
Translate the following into a SQL query | Name the loss when the record is 76-81 | SELECT Loss FROM table WHERE Record = 76-81 |
Translate the following into a SQL query | Which average bronze had a silver greater than 2 and a gold larger than 7? | SELECT AVG Bronze FROM table WHERE Silver > 2 AND Gold > 7 |
Translate the following into a SQL query | When the total was 11 and silver was greater than 4 what was the highest gold? | SELECT MAX Gold FROM table WHERE Total = 11 AND Silver > 4 |
Translate the following into a SQL query | How many bronze had a total less than 4 and gold bigger than 1? | SELECT COUNT Bronze FROM table WHERE Total < 4 AND Gold > 1 |
Translate the following into a SQL query | What is the enrollment associated with a capacity greater then 35,650? | SELECT MIN Enrollment FROM table WHERE Capacity > 35,650 |
Translate the following into a SQL query | Which Date has an Opposing Pitcher of jack morris, and an Inning of 4th? | SELECT Date FROM table WHERE Opposing Pitcher = jack morris AND Inning = 4th |
Translate the following into a SQL query | Which average Home Run has a Game of 89? | SELECT AVG Home Run FROM table WHERE Game = 89 |
Translate the following into a SQL query | Which team has a Home Run of 27? | SELECT Team FROM table WHERE Home Run = 27 |
Translate the following into a SQL query | Which Assist/pass has a Score of 1-0, and a Goal of 5? | SELECT Assist/pass FROM table WHERE Score = 1-0 AND Goal = 5 |
Translate the following into a SQL query | Which Assist/pass has a Result of 6-2? | SELECT Assist/pass FROM table WHERE Result = 6-2 |
Translate the following into a SQL query | Which Assist/pass has a Goal of 5? | SELECT Assist/pass FROM table WHERE Goal = 5 |
Translate the following into a SQL query | Which location has a Goal of 2? | SELECT Location FROM table WHERE Goal = 2 |
Translate the following into a SQL query | Which lineup has a Location of usa virginia beach? | SELECT Lineup FROM table WHERE Location = usa virginia beach |
Translate the following into a SQL query | Which date had a score of 5-1? | SELECT Date FROM table WHERE Score = 5-1 |
Translate the following into a SQL query | What result had a score of 2-1? | SELECT Result FROM table WHERE Score = 2-1 |
Translate the following into a SQL query | Which date had a score of 3-2? | SELECT Date FROM table WHERE Score = 3-2 |
Translate the following into a SQL query | What is the oldest model Porsche v12 that has points less than or equal to 0. | SELECT MIN Year FROM table WHERE Engine = porsche v12 AND Pts. < 0 |
Translate the following into a SQL query | Which design uses the theme alpine skiing? | SELECT Design FROM table WHERE Theme = alpine skiing |
Translate the following into a SQL query | When did the Theme of bobsleigh release? | SELECT Date of Issue FROM table WHERE Theme = bobsleigh |
Translate the following into a SQL query | What is the highest pts after 1952 with connaught type a? | SELECT MAX Pts. FROM table WHERE Year > 1952 AND Chassis = connaught type a |
Translate the following into a SQL query | Who did the Chiefs play in Week 8? | SELECT Opponent FROM table WHERE Week = 8 |
Translate the following into a SQL query | Which week was on October 11, 1970 and an attendance larger than 41,379. | SELECT Week FROM table WHERE Attendance > 41,379 AND Date = october 11, 1970 |
Translate the following into a SQL query | On what surface was the 26 August 2001 tournament played? | SELECT Surface FROM table WHERE Date = 26 august 2001 |
Translate the following into a SQL query | What is the average capacity for 150 suites? | SELECT AVG Capacity FROM table WHERE Suites = 150 |
Translate the following into a SQL query | Where is the Eren Talu bidding project located? | SELECT Location FROM table WHERE Project = eren talu bidding project |
Translate the following into a SQL query | Which location has a capacity larger than 52,000? | SELECT Location FROM table WHERE Capacity > 52,000 |
Translate the following into a SQL query | What is the highest capacity in Aslantepe in 2002-2005? | SELECT MAX Capacity FROM table WHERE Location = aslantepe AND Year = 2002-2005 |
Translate the following into a SQL query | What is the UNGEGN, when the Khmer is greater than ១០០០០០០០០? | SELECT UNGEGN FROM table WHERE Khmer > ១០០០០០០០០ |
Translate the following into a SQL query | What is the Value, when the Notes are literally "one hundred million"? | SELECT Value FROM table WHERE Notes = literally "one hundred million" |
Translate the following into a SQL query | What is the Word Form, when the Notes are literally "one hundred thousand"? | SELECT Word Form FROM table WHERE Notes = literally "one hundred thousand" |
Translate the following into a SQL query | What is the Word Form, when the Khmer is greater than ១០០០០០, and the UNGEGN is (muŏy) dáb leăn? | SELECT Word Form FROM table WHERE Khmer > ១០០០០០ AND UNGEGN = (muŏy) dáb leăn |
Translate the following into a SQL query | What is the total amount of Khmer, when the Notes are literally "one hundred thousand"? | SELECT COUNT Khmer FROM table WHERE Notes = literally "one hundred thousand" |
Translate the following into a SQL query | What is the UNGEGN, when the Value is 10 000? | SELECT UNGEGN FROM table WHERE Value = 10 000 |
Translate the following into a SQL query | Name the 2008 for wta premier mandatory tournaments of 2007 | SELECT 2008 FROM table WHERE 2007 = wta premier mandatory tournaments |
Translate the following into a SQL query | Name the tournament of beijing | SELECT 2011 FROM table WHERE Tournament = beijing |
Translate the following into a SQL query | Name the 2009 for 2007 of 2r and tournament of wimbledon | SELECT 2009 FROM table WHERE 2007 = 2r AND Tournament = wimbledon |
Translate the following into a SQL query | Name the 2011 for 2010 of olympic games | SELECT 2011 FROM table WHERE 2010 = olympic games |
Translate the following into a SQL query | Name the 2011 for tokyo tournament | SELECT 2011 FROM table WHERE Tournament = tokyo |
Translate the following into a SQL query | Name the 2009 for wta premier mandatory tournaments | SELECT 2009 FROM table WHERE Tournament = wta premier mandatory tournaments |
Translate the following into a SQL query | Who won Mixed Doubles the year that Marija Ulitina won the Women's Singles? | SELECT Mixed doubles FROM table WHERE Women's singles = marija ulitina |
Translate the following into a SQL query | Who won Men's singles the year that Hilde Themel won Women's singles? | SELECT Men's singles FROM table WHERE Women's singles = hilde themel |
Translate the following into a SQL query | Who won Mixed doubles the year that Pablo Abian won Men's singles? | SELECT Mixed doubles FROM table WHERE Men's singles = pablo abian |
Translate the following into a SQL query | Which year did Ray Crawford the Kurtis Kraft 500g chassis? | SELECT Year FROM table WHERE Chassis = kurtis kraft 500g |
Translate the following into a SQL query | What city had a july high below 84, and a january low of 34.3? | SELECT City FROM table WHERE July (Avg. High °F) < 84 AND January (Avg. Low °F) = 34.3 |
Translate the following into a SQL query | What is the july average low associated with a january average high of 30.4? | SELECT COUNT July (Avg. Low °F) FROM table WHERE January (Avg. High °F) = 30.4 |
Translate the following into a SQL query | Which class has an identifier of CBUA-FM? | SELECT Class FROM table WHERE Identifier = cbua-fm |
Translate the following into a SQL query | What is the city of license for the frequency 90.1 FM? | SELECT City of license FROM table WHERE Frequency = 90.1 fm |
Translate the following into a SQL query | What is the power when the city of license is Beaver Creek? | SELECT Power FROM table WHERE City of license = beaver creek |
Translate the following into a SQL query | What is the city of license when the class is LP and the identifier is CBDK? | SELECT City of license FROM table WHERE Class = lp AND Identifier = cbdk |
Translate the following into a SQL query | What is the class when the frequency is 560 AM? | SELECT Class FROM table WHERE Frequency = 560 am |
Translate the following into a SQL query | What are the smallest assets with a Company of piraeus bank, and a Revenue (US$ billion) smaller than 3.9? | SELECT MIN Assets (US$ billion) FROM table WHERE Company = piraeus bank AND Revenues (US$ billion) < 3.9 |
Translate the following into a SQL query | What is the average market value with a revenue greater than 6.2, a Company of national bank of greece, and a Rank smaller than 1? | SELECT AVG Market value (US$ billion) FROM table WHERE Revenues (US$ billion) > 6.2 AND Company = national bank of greece AND Rank < 1 |
Translate the following into a SQL query | Which company has a market value greater than 1, Assets (US$ billion) smaller than 10.7, a Rank smaller than 10, and revenue (US$ billion) of 9.3? | SELECT Company FROM table WHERE Market value (US$ billion) > 1 AND Assets (US$ billion) < 10.7 AND Rank < 10 AND Revenues (US$ billion) = 9.3 |
Translate the following into a SQL query | Tell me the venue with result of eng by 6 wkts | SELECT Venue FROM table WHERE Result = eng by 6 wkts |
Translate the following into a SQL query | Name the Home captain for venue of the oval | SELECT Home captain FROM table WHERE Venue = the oval |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.