instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What is the Draw for match 10, and the team was skra warszawa? | SELECT Draw FROM table WHERE Match = 10 AND Team = skra warszawa |
Translate the following into a SQL query | What is the Draw for the team of tramwajarz łódź? | SELECT Draw FROM table WHERE Team = tramwajarz łódź |
Translate the following into a SQL query | What is the Draw for the team tramwajarz łódź? | SELECT Draw FROM table WHERE Team = tramwajarz łódź |
Translate the following into a SQL query | What is the Location when the novelty is gen? | SELECT Location FROM table WHERE Novelty = gen |
Translate the following into a SQL query | What shows for Unit with a status of nomen oblitum? | SELECT Unit FROM table WHERE Status = nomen oblitum |
Translate the following into a SQL query | What is the Location when the name is telmatosaurus? | SELECT Location FROM table WHERE Name = telmatosaurus |
Translate the following into a SQL query | What is the Status with a novelty of gen et sp, and the name is haplocanthosaurus? | SELECT Status FROM table WHERE Novelty = gen et sp AND Name = haplocanthosaurus |
Translate the following into a SQL query | How many League cups had a total less than 25 and a league larger than 19? | SELECT COUNT League Cup FROM table WHERE Total < 25 AND League > 19 |
Translate the following into a SQL query | How many FA trophies did Ceri Williams get with a smaller total than 19? | SELECT COUNT FA Trophy FROM table WHERE Player = ceri williams AND Total < 19 |
Translate the following into a SQL query | Which City has an Average of 6.85? | SELECT City FROM table WHERE Average = 6.85 |
Translate the following into a SQL query | What is the Average of bergen, norway? | SELECT MIN Average FROM table WHERE City = bergen, norway |
Translate the following into a SQL query | Which Comprehension of Danish has an Average smaller than 6.85, and a Comprehension of Norwegian of 4.13? | SELECT Comprehension of Danish FROM table WHERE Average < 6.85 AND Comprehension of Norwegian = 4.13 |
Translate the following into a SQL query | What are the Attendance numbers for november 18, 1990? | SELECT Attendance FROM table WHERE Date = november 18, 1990 |
Translate the following into a SQL query | What is the Date for a week higher than 7 with a record of 9–1? | SELECT Date FROM table WHERE Week > 7 AND Record = 9–1 |
Translate the following into a SQL query | What was the result of the game with an attendance over 53,731 after week 5? | SELECT Result FROM table WHERE Attendance > 53,731 AND Week = 5 |
Translate the following into a SQL query | What is the average week of a game on November 12, 1989? | SELECT AVG Week FROM table WHERE Date = november 12, 1989 |
Translate the following into a SQL query | What is the Set 5 with a Set 3 that is 25-23 and a Set 4 that is 23-25? | SELECT Set 5 FROM table WHERE Set 3 = 25-23 AND Set 4 = 23-25 |
Translate the following into a SQL query | What is the sum of the Game with a Set 4 of 25-21 and a Set 3 of 25-23? | SELECT SUM Game FROM table WHERE Set 4 = 25-21 AND Set 3 = 25-23 |
Translate the following into a SQL query | What is the Set 5 with a Game that is 59? | SELECT Set 5 FROM table WHERE Game = 59 |
Translate the following into a SQL query | What shows for nation when the Competition is preseason, Year less than 2011, and a Club of chivas de guadalajara? | SELECT Nation FROM table WHERE Competition = preseason AND Year < 2011 AND Club = chivas de guadalajara |
Translate the following into a SQL query | What was the Result for the club universidad de guadalajara? | SELECT Result FROM table WHERE Club = club universidad de guadalajara |
Translate the following into a SQL query | What is the Nation with 2012 as the year, and a Competition of preseason, and a Result of w 0–3? | SELECT Nation FROM table WHERE Year = 2012 AND Competition = preseason AND Result = w 0–3 |
Translate the following into a SQL query | What is the average Year when the Competition was friendly, and a Club of everton? | SELECT AVG Year FROM table WHERE Competition = friendly AND Club = everton |
Translate the following into a SQL query | What is the Competition when the Club was costa rica u-20? | SELECT Competition FROM table WHERE Club = costa rica u-20 |
Translate the following into a SQL query | What is the Club of mexico, Year of 2010, and a Competition of preseason, and a Result of w 0–1? | SELECT Club FROM table WHERE Nation = mexico AND Year = 2010 AND Competition = preseason AND Result = w 0–1 |
Translate the following into a SQL query | What is the lowest total when the nation is Sweden? | SELECT MIN Total FROM table WHERE Nation = sweden |
Translate the following into a SQL query | What is the average Total when silver is less than 1, and the rank is 15? | SELECT AVG Total FROM table WHERE Silver < 1 AND Rank = 15 |
Translate the following into a SQL query | What is the total number of Bronze when rank is 11, and the total is less than 1? | SELECT COUNT Bronze FROM table WHERE Rank = 11 AND Total < 1 |
Translate the following into a SQL query | Which name's 2012 club was deportivo nacional? | SELECT Name FROM table WHERE 2012 club = deportivo nacional |
Translate the following into a SQL query | Which name's 2012 club was deportivo nacional? | SELECT Name FROM table WHERE 2012 club = deportivo nacional |
Translate the following into a SQL query | Which weight was attached to the 2012 club San Pedro? | SELECT Weight FROM table WHERE 2012 club = san pedro |
Translate the following into a SQL query | What year is the latest year that has no under director? | SELECT MAX Year FROM table WHERE Director = no |
Translate the following into a SQL query | With yes under writer and in 2014, what is the director? | SELECT Director FROM table WHERE Year = 2014 AND Writer = yes |
Translate the following into a SQL query | Who is the writer of the film Run? | SELECT Writer FROM table WHERE Film = run |
Translate the following into a SQL query | What is the most goals made for a person with less than 208 matches and ranked lower than 12? | SELECT MAX Goals FROM table WHERE Matches < 208 AND Rank > 12 |
Translate the following into a SQL query | In what years was there a rank lower than 9, under 84 goals, and more than 158 matches? | SELECT Years FROM table WHERE Matches > 158 AND Rank > 9 AND Goals < 84 |
Translate the following into a SQL query | What is the HDTV status of the r-light television service? | SELECT HDTV FROM table WHERE Television service = r-light |
Translate the following into a SQL query | Which television service has programmi per adulti 24h/24 content and no HDTV? | SELECT Television service FROM table WHERE Content = programmi per adulti 24h/24 AND HDTV = no |
Translate the following into a SQL query | Which television service has a qualsiasi package/option? | SELECT Television service FROM table WHERE Package/Option = qualsiasi |
Translate the following into a SQL query | What is the total number of wins for Darley of Ballarat FL against larger than 1055? | SELECT COUNT Wins FROM table WHERE Ballarat FL = darley AND Against > 1055 |
Translate the following into a SQL query | What is the lowest draw that has less than 4 wins, 14 losses, and against more than 1836? | SELECT MIN Draws FROM table WHERE Wins < 4 AND Losses = 14 AND Against > 1836 |
Translate the following into a SQL query | What is the average Byes that has Ballarat FL of Sunbury against more than 1167? | SELECT AVG Byes FROM table WHERE Ballarat FL = sunbury AND Against > 1167 |
Translate the following into a SQL query | What is the average draws with more than 1 win, 14 losses, and against less than 1836? | SELECT AVG Draws FROM table WHERE Wins > 1 AND Losses = 14 AND Against < 1836 |
Translate the following into a SQL query | What was the lowest draw from Ballarat FL of sunbury, and byes larger than 2? | SELECT MIN Draws FROM table WHERE Ballarat FL = sunbury AND Byes > 2 |
Translate the following into a SQL query | What is the highest medium Gallup March 2008 value for a Strategic Marking value under 17 and Medium Gallup May 2008 value over 10? | SELECT MAX Medium Gallup, March 2008 FROM table WHERE Strategic Marketing, March 2008 < 17 AND Medium Gallup, May 2008 > 10 |
Translate the following into a SQL query | What is the sum of Medium Gallup, March 2008 values where the Medium Gallup, May 2008 values are under 10? | SELECT SUM Medium Gallup, March 2008 FROM table WHERE Medium Gallup, May 2008 < 10 |
Translate the following into a SQL query | What show is on at 9:30 when Dating in the Dark is on at 10:00? | SELECT 9:30 FROM table WHERE 10:00 = dating in the dark |
Translate the following into a SQL query | What show is on at 9:00 when Law & Order: Criminal Intent is on at 9:30 and The Great American Road Trip is on at 8:00? | SELECT 9:00 FROM table WHERE 9:30 = law & order: criminal intent AND 8:00 = the great american road trip |
Translate the following into a SQL query | What show is on at 9:00 when The Bachelorette is on at 8:30? | SELECT 9:00 FROM table WHERE 8:30 = the bachelorette |
Translate the following into a SQL query | Which away has apoel as the club? | SELECT Away FROM table WHERE Club = apoel |
Translate the following into a SQL query | Which away has uefa cup as the competition, group f as the round, with espanyol as the club? | SELECT Away FROM table WHERE Competition = uefa cup AND Round = group f AND Club = espanyol |
Translate the following into a SQL query | In what location were the fatalities unknown for the Ju-52 aircraft? | SELECT Location FROM table WHERE Fatalities = unknown AND Aircraft = ju-52 |
Translate the following into a SQL query | In what location was the tail number ZS-SPF? | SELECT Location FROM table WHERE Tail number = zs-spf |
Translate the following into a SQL query | What was the location of the Ju-52 aircraft? | SELECT Location FROM table WHERE Aircraft = ju-52 |
Translate the following into a SQL query | How many fatalities occurred for an unknown tail number? | SELECT Fatalities FROM table WHERE Tail number = unknown |
Translate the following into a SQL query | What was the tail number with 3/3 fatalities? | SELECT Tail number FROM table WHERE Fatalities = 3/3 |
Translate the following into a SQL query | How many fatalities occurred for the Ju-52 aircraft? | SELECT Fatalities FROM table WHERE Aircraft = ju-52 |
Translate the following into a SQL query | What was the score for a goal of 6? | SELECT Score FROM table WHERE Goal = 6 |
Translate the following into a SQL query | Where was the match held on July 17, 1999? | SELECT Venue FROM table WHERE Date = july 17, 1999 |
Translate the following into a SQL query | Who was on the Democratic ticket for the Office of Attorney General? | SELECT Democratic ticket FROM table WHERE Office = attorney general |
Translate the following into a SQL query | What name has gen et sp nov as the novelty? | SELECT Name FROM table WHERE Novelty = gen et sp nov |
Translate the following into a SQL query | What authors have clarno formation as the unit, actinidia oregonensis as the name? | SELECT Authors FROM table WHERE Unit = clarno formation AND Name = actinidia oregonensis |
Translate the following into a SQL query | What novelty has USA as the location, and coryloides as the name? | SELECT Novelty FROM table WHERE Location = usa AND Name = coryloides |
Translate the following into a SQL query | What status has paleopanax as the name? | SELECT Status FROM table WHERE Name = paleopanax |
Translate the following into a SQL query | What unit has gen et sp nov as the novelty? | SELECT Unit FROM table WHERE Novelty = gen et sp nov |
Translate the following into a SQL query | Which date was the Memorial Tournament held on, when Payne Stewart was runner-up? | SELECT Date FROM table WHERE Tournament = memorial tournament AND Runner(s)-up = payne stewart |
Translate the following into a SQL query | What grand slam event has a 2011-12 of q? | SELECT Event FROM table WHERE 2011–12 = q |
Translate the following into a SQL query | What is the 2009-10 result that has a 2006-07 result of n/a? | SELECT 2009–10 FROM table WHERE 2006–07 = n/a |
Translate the following into a SQL query | What is the 2007-08 result when the event was Colonial Square? | SELECT 2007–08 FROM table WHERE Event = colonial square |
Translate the following into a SQL query | What is the result in 2008-09 that has a 2011-12 result of qf? | SELECT 2008–09 FROM table WHERE 2011–12 = qf |
Translate the following into a SQL query | What result in 2006-07 has a result in 2010-11 of n/a, and the event is Colonial Square? | SELECT 2006–07 FROM table WHERE 2010–11 = n/a AND Event = colonial square |
Translate the following into a SQL query | What is the 2008-09 result has Masters as the event? | SELECT 2008–09 FROM table WHERE Event = masters |
Translate the following into a SQL query | What year gave a nominated result for the room 222 series? | SELECT COUNT Year FROM table WHERE Result = nominated AND Series = room 222 |
Translate the following into a SQL query | What was actor Teresa Graves's series before the year 1993? | SELECT Series FROM table WHERE Year < 1993 AND Actor = teresa graves |
Translate the following into a SQL query | Which motor's quantity was more than 8, and a class of bs 1915? | SELECT Motor FROM table WHERE Quantity > 8 AND Class = bs 1915 |
Translate the following into a SQL query | Which motor's class was bs 1910? | SELECT Motor FROM table WHERE Class = bs 1910 |
Translate the following into a SQL query | What is the quantity when the seats number was 16 and the class was kss 1913? | SELECT Quantity FROM table WHERE Seats = 16 AND Class = kss 1913 |
Translate the following into a SQL query | What is the Root of All Evil with an Original air date that is september 3, 2008? | SELECT Root of All Evil FROM table WHERE Original air date = september 3, 2008 |
Translate the following into a SQL query | Goals Conceded (GC) that has a Draw (PE) larger than 2, and a Goals Scored (GF) larger than 19? | SELECT MAX Goals Conceded (GC) FROM table WHERE Draw (PE) > 2 AND Goals Scored (GF) > 19 |
Translate the following into a SQL query | What is the number for the University of Dublin with their Cultural and Educational Panel of 5, and an Industrial and Commercial Panel with less than 9? | SELECT COUNT University of Dublin FROM table WHERE Cultural and Educational Panel = 5 AND Industrial and Commercial Panel < 9 |
Translate the following into a SQL query | Which Rank has a Losing Semi- finalist larger than 1, and a Winner smaller than 5? | SELECT Rank FROM table WHERE Losing Semi- finalist > 1 AND Winner < 5 |
Translate the following into a SQL query | Which Rank has a Country of costa rica, and a Losing Semi- finalist larger than 1? | SELECT AVG Rank FROM table WHERE Country = costa rica AND Losing Semi- finalist > 1 |
Translate the following into a SQL query | Which Rank has a Runner -up smaller than 0? | SELECT MAX Rank FROM table WHERE Runner -up < 0 |
Translate the following into a SQL query | What is the Winner's share in 2007? | SELECT COUNT Winner's share ($) FROM table WHERE Year = 2007 |
Translate the following into a SQL query | What Year was the United States the country for aug 3–5? | SELECT Year FROM table WHERE Country = united states AND Dates = aug 3–5 |
Translate the following into a SQL query | What is the highest Purse for aug 3–5? | SELECT MAX Purse ($) FROM table WHERE Dates = aug 3–5 |
Translate the following into a SQL query | Which country has a qualsiasi tranne sky hd package/option? | SELECT Country FROM table WHERE Package/Option = qualsiasi tranne sky hd |
Translate the following into a SQL query | Which package/option has sky wwe 24/7 television service? | SELECT Package/Option FROM table WHERE Television service = sky wwe 24/7 |
Translate the following into a SQL query | What is the package/option for the calcio content? | SELECT Package/Option FROM table WHERE Content = calcio |
Translate the following into a SQL query | What is the language of the television service cartello promozionale sky hd? | SELECT Language FROM table WHERE Television service = cartello promozionale sky hd |
Translate the following into a SQL query | What kind of bike had a grid less than 23, an accident under time, and Graeme Gowland as a rider? | SELECT Bike FROM table WHERE Grid < 23 AND Time = accident AND Rider = graeme gowland |
Translate the following into a SQL query | Who was the rider with more than 5 laps on a grid bigger than 29 on a Honda CBR600RR and time at +1:27.385? | SELECT Rider FROM table WHERE Laps > 5 AND Grid > 29 AND Bike = honda cbr600rr AND Time = +1:27.385 |
Translate the following into a SQL query | Who was the rider with a grid of 36? | SELECT Rider FROM table WHERE Grid = 36 |
Translate the following into a SQL query | Which bike had a grid less than 35 and time at 37:58.607? | SELECT Bike FROM table WHERE Grid < 35 AND Time = 37:58.607 |
Translate the following into a SQL query | What is Result, when Director is Veljko Bulajić category:articles with hcards, and when Original title is Sarajevski Atentat? | SELECT Result FROM table WHERE Director = veljko bulajić category:articles with hcards AND Original title = sarajevski atentat |
Translate the following into a SQL query | What is Result, when Director is Mirza Idrizović category:articles with hcards? | SELECT Result FROM table WHERE Director = mirza idrizović category:articles with hcards |
Translate the following into a SQL query | What is Original title, when Film title used in nomination is Train Without A Timetable? | SELECT Original title FROM table WHERE Film title used in nomination = train without a timetable |
Translate the following into a SQL query | What is Original title, when Director is Veljko Bulajić category:articles with hcards, and when Film title used in nomination is Train Without A Timetable? | SELECT Original title FROM table WHERE Director = veljko bulajić category:articles with hcards AND Film title used in nomination = train without a timetable |
Translate the following into a SQL query | What is Film title used in nomination, when Year (Ceremony) is 1968 (41st)? | SELECT Film title used in nomination FROM table WHERE Year (Ceremony) = 1968 (41st) |
Translate the following into a SQL query | What is Director, when Result is nominee, and when Year (Ceremony) is 1969 (42nd)? | SELECT Director FROM table WHERE Result = nominee AND Year (Ceremony) = 1969 (42nd) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.