instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query
|
What is Weekly Winner, when Air Date is "July 4, 2008"?
|
SELECT Weekly Winner FROM table WHERE Air Date = july 4, 2008
|
Translate the following into a SQL query
|
What is Rating, when Air Date is "July 24, 2008*", and when Weekly Winner is "Sales Rep. Oscar Ledezma"?
|
SELECT Rating FROM table WHERE Air Date = july 24, 2008* AND Weekly Winner = sales rep. oscar ledezma
|
Translate the following into a SQL query
|
What is Viewers, when 18-49 is "N/A", and when Weekly Winner is "Wedding DJ Chris Dixon"?
|
SELECT Viewers FROM table WHERE 18-49 = n/a AND Weekly Winner = wedding dj chris dixon
|
Translate the following into a SQL query
|
What is 18-49, when Weekly Winner is "Youth Counselor Justin Meece"?
|
SELECT 18-49 FROM table WHERE Weekly Winner = youth counselor justin meece
|
Translate the following into a SQL query
|
What is Viewers, when Air Date is "July 4, 2008"?
|
SELECT Viewers FROM table WHERE Air Date = july 4, 2008
|
Translate the following into a SQL query
|
What is Air Date, when Rating is "N/A", and when Weekly Winner is "Wedding DJ Chris Dixon"?
|
SELECT Air Date FROM table WHERE Rating = n/a AND Weekly Winner = wedding dj chris dixon
|
Translate the following into a SQL query
|
What was the record for Dec 16?
|
SELECT Record FROM table WHERE Date = dec 16
|
Translate the following into a SQL query
|
What is the 2010 with a qf in 2011?
|
SELECT 2010 FROM table WHERE 2011 = qf
|
Translate the following into a SQL query
|
What is the 2013 of the grand slam tournaments?
|
SELECT 2013 FROM table WHERE Tournament = grand slam tournaments
|
Translate the following into a SQL query
|
What is the 2013 with a 2r in 2010 and a qf in 2011?
|
SELECT 2013 FROM table WHERE 2010 = 2r AND 2011 = qf
|
Translate the following into a SQL query
|
What is the 2011 with 1r in 2010?
|
SELECT 2011 FROM table WHERE 2010 = 1r
|
Translate the following into a SQL query
|
What is the 2012 with A in 2009 and 2r in 2010?
|
SELECT 2012 FROM table WHERE 2009 = a AND 2010 = 2r
|
Translate the following into a SQL query
|
What is the poison/klesha word for moha avijja in pali?
|
SELECT Poison/Klesha FROM table WHERE Pali = moha avijja
|
Translate the following into a SQL query
|
What is the poision/klesha word for the tibetan word gti mug ma rig pa?
|
SELECT Poison/Klesha FROM table WHERE Tibetan = gti mug ma rig pa
|
Translate the following into a SQL query
|
What is the pali word for pride in poison/klesha?
|
SELECT Pali FROM table WHERE Poison/Klesha = pride
|
Translate the following into a SQL query
|
What is the pali word for phrag dog in tibetan?
|
SELECT Pali FROM table WHERE Tibetan = phrag dog
|
Translate the following into a SQL query
|
What is the pali word for rāga in sanskrit?
|
SELECT Pali FROM table WHERE Sanskrit = rāga
|
Translate the following into a SQL query
|
What is the attendance total when Southend Manor is the away team and there are less than 93 ties?
|
SELECT COUNT Attendance FROM table WHERE Away team = southend manor AND Tie no < 93
|
Translate the following into a SQL query
|
What is the score when the attendance is less than 83 and Raunds Town is the away team?
|
SELECT Score FROM table WHERE Attendance < 83 AND Away team = raunds town
|
Translate the following into a SQL query
|
Who was the player that was picked at a number less than 205 from the Michigan State Spartans?
|
SELECT Player FROM table WHERE Pick # < 205 AND Team from = michigan state spartans
|
Translate the following into a SQL query
|
What is the average Density of 53 No. munic.?
|
SELECT AVG Density (per km²) FROM table WHERE No. munic. = 53
|
Translate the following into a SQL query
|
Name the Status of Venue of sydney sports ground , sydney?
|
SELECT Status FROM table WHERE Venue = sydney sports ground , sydney
|
Translate the following into a SQL query
|
Which Status has a Opposing Teams of wales?
|
SELECT Status FROM table WHERE Opposing Teams = wales
|
Translate the following into a SQL query
|
WHICH Date has a Venue of lancaster park , christchurch?
|
SELECT Date FROM table WHERE Venue = lancaster park , christchurch
|
Translate the following into a SQL query
|
WHAT IS THE TEAM WITH DAVE COGGIN?
|
SELECT Team FROM table WHERE Player = dave coggin
|
Translate the following into a SQL query
|
WHAT IS THE TEAM WITH AN OF POSITION AND PICK OF 24?
|
SELECT Team FROM table WHERE Position = of AND Pick = 24
|
Translate the following into a SQL query
|
WHAT IS THE POSITION WITH BOSTON RED SOX FOR COREY JENKINS?
|
SELECT Position FROM table WHERE Team = boston red sox AND Player = corey jenkins
|
Translate the following into a SQL query
|
WHAT PLAYER HAS UPLAND HIGH SCHOOL?
|
SELECT Player FROM table WHERE Hometown/School = upland high school
|
Translate the following into a SQL query
|
WHAT PLAYER HAS THE OAKLAND ATHLETICS?
|
SELECT Player FROM table WHERE Team = oakland athletics
|
Translate the following into a SQL query
|
WHAT TEAM HAS A PICK LARGER THAN 29?
|
SELECT Team FROM table WHERE Pick > 29
|
Translate the following into a SQL query
|
Which rampage killed 8 in Israel?
|
SELECT Name FROM table WHERE Killed = 8 AND Country = israel
|
Translate the following into a SQL query
|
What coutry had a rampaged killing 14 in 1965?
|
SELECT Country FROM table WHERE Killed = 14 AND Year = 1965
|
Translate the following into a SQL query
|
What is Club, when Drawn is "0", and when Try Bonus is "5"?
|
SELECT Club FROM table WHERE Drawn = 0 AND Try bonus = 5
|
Translate the following into a SQL query
|
What is Club, when Points is "82"?
|
SELECT Club FROM table WHERE Points = 82
|
Translate the following into a SQL query
|
What is Played, when Points Against is "374"?
|
SELECT Played FROM table WHERE Points against = 374
|
Translate the following into a SQL query
|
What is Points Against, when Try Bonus is "Try bonus"?
|
SELECT Points against FROM table WHERE Try bonus = try bonus
|
Translate the following into a SQL query
|
What is Try Bonus, when Losing Bonus is "1", and when Points For is "179"?
|
SELECT Try bonus FROM table WHERE Losing bonus = 1 AND Points for = 179
|
Translate the following into a SQL query
|
What is Points For, when Club is "Tycroes RFC"?
|
SELECT Points for FROM table WHERE Club = tycroes rfc
|
Translate the following into a SQL query
|
When has a cause of gas explosion, a Death toll smaller than 63, and a Location of penygraig?
|
SELECT Date FROM table WHERE cause = gas explosion AND Death toll < 63 AND Location = penygraig
|
Translate the following into a SQL query
|
Where has a cause of gas explosion, a Death toll larger than 38 on 10 june?
|
SELECT Location FROM table WHERE cause = gas explosion AND Death toll > 38 AND Date = 10 june
|
Translate the following into a SQL query
|
Which Year has a Location of dinas on 13 january?
|
SELECT Year FROM table WHERE Location = dinas AND Date = 13 january
|
Translate the following into a SQL query
|
Which Year has a cause of firedamp and a Death toll larger than 11?
|
SELECT SUM Year FROM table WHERE cause = firedamp AND Death toll > 11
|
Translate the following into a SQL query
|
Count the lowest Year which has gas explosion, Colliery of tylorstown colliery, and a Death toll larger than 57?
|
SELECT MIN Year FROM table WHERE cause = gas explosion AND Colliery = tylorstown colliery AND Death toll > 57
|
Translate the following into a SQL query
|
Which Colliery has a Death toll of 7?
|
SELECT Colliery FROM table WHERE Death toll = 7
|
Translate the following into a SQL query
|
What is the Score 1 of Tie no 6?
|
SELECT Score 1 FROM table WHERE Tie no = 6
|
Translate the following into a SQL query
|
What is the Attendance of Tie no 3?
|
SELECT Attendance FROM table WHERE Tie no = 3
|
Translate the following into a SQL query
|
What is the Attendance at the Hereford United Away game?
|
SELECT Attendance FROM table WHERE Away team = hereford united
|
Translate the following into a SQL query
|
What is the Home team of Tie no 11?
|
SELECT Home team FROM table WHERE Tie no = 11
|
Translate the following into a SQL query
|
What is the Tie no of Hereford United's Away game?
|
SELECT Tie no FROM table WHERE Away team = hereford united
|
Translate the following into a SQL query
|
What is the Score 1 of the game with Attendance of 2,571?
|
SELECT Score 1 FROM table WHERE Attendance = 2,571
|
Translate the following into a SQL query
|
What is the sum of the clubs remaining with 34 new entries this round and more than 34 clubs involved?
|
SELECT SUM Clubs remaining FROM table WHERE New entries this round = 34 AND Clubs involved > 34
|
Translate the following into a SQL query
|
What are the clubs involved with 16 clubs remaining?
|
SELECT Clubs involved FROM table WHERE Clubs remaining = 16
|
Translate the following into a SQL query
|
What is the total rank of the athlete with a total larger than 19.42 and a taijiquan less than 9.87?
|
SELECT COUNT Rank FROM table WHERE Total > 19.42 AND Taijiquan < 9.87
|
Translate the following into a SQL query
|
What is the lowest rank of the athlete with a taijiquan greater than 9.42 and a 19.02 total?
|
SELECT MIN Rank FROM table WHERE Taijiquan > 9.42 AND Total = 19.02
|
Translate the following into a SQL query
|
What is the highest taijijian with a 9.87 taijiquan and a total less than 19.77?
|
SELECT MAX Taijijian FROM table WHERE Taijiquan = 9.87 AND Total < 19.77
|
Translate the following into a SQL query
|
Who is the cyber girl in week 3 when Demi Jessica was the cyber girl in week 1?
|
SELECT Week 3 FROM table WHERE Week 1 = demi jessica
|
Translate the following into a SQL query
|
What is the name of the cyber girl in week 4 when Lexi Lombardelli was the cyber girl in week 2?
|
SELECT Week 4 FROM table WHERE Week 2 = lexi lombardelli
|
Translate the following into a SQL query
|
When Alinna D Penta was the cyber girl in week 3, who was the cyber girl in week 1?
|
SELECT Week 1 FROM table WHERE Week 3 = alinna d penta
|
Translate the following into a SQL query
|
Felicia Taylor was cyber girl in week 3, so who was the cyber girl in week 5?
|
SELECT Week 5 FROM table WHERE Week 3 = felicia taylor
|
Translate the following into a SQL query
|
Who is the cyber girl in week 3 when Ashley Lowe was the cyber girl in week 2?
|
SELECT Week 3 FROM table WHERE Week 2 = ashley lowe
|
Translate the following into a SQL query
|
When Diane Deluna was the cyber girl in week 4 who was the cyber girl in week 2?
|
SELECT Week 2 FROM table WHERE Week 4 = diane deluna
|
Translate the following into a SQL query
|
Which Round has a Year later than 2011?
|
SELECT Round FROM table WHERE Year > 2011
|
Translate the following into a SQL query
|
When was the Result of 3–2, with a Score of 6–0, 6–4?
|
SELECT Date FROM table WHERE Result = 3–2 AND Score = 6–0, 6–4
|
Translate the following into a SQL query
|
Which Surface has an Opponent(s) of anna-lena grönefeld tatjana malek?
|
SELECT Surface FROM table WHERE Opponent(s) = anna-lena grönefeld tatjana malek
|
Translate the following into a SQL query
|
Which Year has a Date of 5–6 february?
|
SELECT AVG Year FROM table WHERE Date = 5–6 february
|
Translate the following into a SQL query
|
What home team has 27 as the tie no.?
|
SELECT Home team FROM table WHERE Tie no = 27
|
Translate the following into a SQL query
|
What date has 1 as the tie no.?
|
SELECT Date FROM table WHERE Tie no = 1
|
Translate the following into a SQL query
|
What score has west ham united as the away team?
|
SELECT Score FROM table WHERE Away team = west ham united
|
Translate the following into a SQL query
|
What home team has Southampton as the away team?
|
SELECT Home team FROM table WHERE Away team = southampton
|
Translate the following into a SQL query
|
What current club has a Height of 1.96?
|
SELECT Current Club FROM table WHERE Height = 1.96
|
Translate the following into a SQL query
|
What is the Age of f/c Posiiton?
|
SELECT Year born (Age) FROM table WHERE Position = f/c
|
Translate the following into a SQL query
|
Who is the player with a score of 70-68-70=208?
|
SELECT Player FROM table WHERE Score = 70-68-70=208
|
Translate the following into a SQL query
|
What place is the player with score of 70-68-70=208 from?
|
SELECT Place FROM table WHERE Score = 70-68-70=208
|
Translate the following into a SQL query
|
What is the name for Malay with a foundation in Iptura?
|
SELECT Name in Malay FROM table WHERE Foundation = iptura
|
Translate the following into a SQL query
|
What is the acronym for the name Malay of Kolej Komuniti Sungai Petani?
|
SELECT Acronym FROM table WHERE Name in Malay = kolej komuniti sungai petani
|
Translate the following into a SQL query
|
What is the acronym for the English name Northern management and technological institute?
|
SELECT Acronym FROM table WHERE Name in English = northern management and technological institute
|
Translate the following into a SQL query
|
What is the location of the Kkspe Foundation?
|
SELECT Location FROM table WHERE Foundation = kkspe
|
Translate the following into a SQL query
|
What is Country, when Place is "T3", and when Score is "67-70=137"?
|
SELECT Country FROM table WHERE Place = t3 AND Score = 67-70=137
|
Translate the following into a SQL query
|
What is Score, when Player is "David Toms"?
|
SELECT Score FROM table WHERE Player = david toms
|
Translate the following into a SQL query
|
What is Score, when Player is "Tom Lehman"?
|
SELECT Score FROM table WHERE Player = tom lehman
|
Translate the following into a SQL query
|
What is the Title of the Pye Label mono LP release?
|
SELECT Title FROM table WHERE Format = mono lp AND Label = pye
|
Translate the following into a SQL query
|
What is the Catalog-Nr of the Epic Label Stereo LP named For Little Ones?
|
SELECT Catalog-Nr. FROM table WHERE Format = stereo lp AND Label = epic AND Title = for little ones
|
Translate the following into a SQL query
|
What is the assumed office date of the prime minister ranked 22?
|
SELECT Assumed Office: FROM table WHERE Rank: = 22
|
Translate the following into a SQL query
|
What is the total time in office of the prime minister from the liberal party and left office in 19 December 1967?
|
SELECT TOTAL Time in Office: FROM table WHERE Party: = liberal AND Left Office: = 19 december 1967
|
Translate the following into a SQL query
|
What is the party of the prime minister who left office on 11 March 1983?
|
SELECT Party: FROM table WHERE Left Office: = 11 march 1983
|
Translate the following into a SQL query
|
What is the total area with the census ranking of 3,129 of 5,008, and a Population smaller than 460?
|
SELECT COUNT Area km 2 FROM table WHERE Census Ranking = 3,129 of 5,008 AND Population < 460
|
Translate the following into a SQL query
|
What is the total area with the Census Ranking of 3,129 of 5,008, and a Population larger than 460?
|
SELECT COUNT Area km 2 FROM table WHERE Census Ranking = 3,129 of 5,008 AND Population > 460
|
Translate the following into a SQL query
|
What census ranking has an area greater than 578.28 km2?
|
SELECT Census Ranking FROM table WHERE Area km 2 > 578.28
|
Translate the following into a SQL query
|
What is the position for Jani Lajunen?
|
SELECT Position FROM table WHERE Player = jani lajunen
|
Translate the following into a SQL query
|
What is the round number when nationality was United States, and player is Jeffrey Foss?
|
SELECT COUNT Round FROM table WHERE Nationality = united states AND Player = jeffrey foss
|
Translate the following into a SQL query
|
What player has a round larger than 2, and position of (d)?
|
SELECT Player FROM table WHERE Round > 2 AND Position = (d)
|
Translate the following into a SQL query
|
What is the nationality for the position of (d), and college was SC Bern ( Swiss )?
|
SELECT Nationality FROM table WHERE Position = (d) AND College = sc bern ( swiss )
|
Translate the following into a SQL query
|
Who is the athlete with a run 1 larger than 54.95 and a 56.19 run 2?
|
SELECT Athlete FROM table WHERE Run 1 > 54.95 AND Run 2 = 56.19
|
Translate the following into a SQL query
|
What is the highest run 2 of athlete eric neilson, who has a run 3 larger than 55.97?
|
SELECT MAX Run 2 FROM table WHERE Athlete = eric neilson AND Run 3 > 55.97
|
Translate the following into a SQL query
|
What is the highest run 3 of the athlete with a 55.44 run 2?
|
SELECT MAX Run 3 FROM table WHERE Run 2 = 55.44
|
Translate the following into a SQL query
|
Who is the athlete with a run 1 less than 54.13 and a 55.21 run 3?
|
SELECT Athlete FROM table WHERE Run 1 < 54.13 AND Run 3 = 55.21
|
Translate the following into a SQL query
|
What is the sum of the run 1 of athlete matthias guggenberger, who has a run 2 greater than 55.24?
|
SELECT SUM Run 1 FROM table WHERE Run 2 > 55.24 AND Athlete = matthias guggenberger
|
Translate the following into a SQL query
|
What is the dissolved date of the parliament assembled on 3 June 1467?
|
SELECT Dissolved FROM table WHERE Assembled = 3 june 1467
|
Translate the following into a SQL query
|
What is the dissolved date of the parliament assembled on 4 November 1461?
|
SELECT Dissolved FROM table WHERE Assembled = 4 november 1461
|
Translate the following into a SQL query
|
What is the assembled date of the parliament with an unknown 2nd member who was elected in 1482/83?
|
SELECT Assembled FROM table WHERE 2nd member = unknown AND Elected = 1482/83
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.