instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query
|
Which prefix has a binary meaning of 2 10 = 1024 1?
|
SELECT Prefix FROM table WHERE Binary meaning = 2 10 = 1024 1
|
Translate the following into a SQL query
|
What is the size difference for exa?
|
SELECT Size difference FROM table WHERE Prefix = exa
|
Translate the following into a SQL query
|
What is the size difference for the binary meaning of 2 70 = 1024 7?
|
SELECT Size difference FROM table WHERE Binary meaning = 2 70 = 1024 7
|
Translate the following into a SQL query
|
What is the score of champion masahiro kawamura?
|
SELECT Score FROM table WHERE Champion = masahiro kawamura
|
Translate the following into a SQL query
|
What dates was champion masahiro kawamura at the ibaraki country club tournament?
|
SELECT Dates FROM table WHERE Tournament Location = ibaraki country club AND Champion = masahiro kawamura
|
Translate the following into a SQL query
|
What is the winner's share of champion hideto tanihara?
|
SELECT Winner's Share FROM table WHERE Champion = hideto tanihara
|
Translate the following into a SQL query
|
Who is the champion with a ¥200,000,000 purse?
|
SELECT Champion FROM table WHERE Purse = ¥200,000,000
|
Translate the following into a SQL query
|
What round had Canada with a draft of 1970 and a pick of 7?
|
SELECT MAX Round FROM table WHERE Nationality = canada AND Draft < 1970 AND Pick = 7
|
Translate the following into a SQL query
|
Which Placement in Miss Universe has a Delegate of janine mari raymundo tugonon?
|
SELECT Placement in Miss Universe FROM table WHERE Delegate = janine mari raymundo tugonon
|
Translate the following into a SQL query
|
Which Placement in Miss Universe is armi barbara quiray crespo?
|
SELECT Placement in Miss Universe FROM table WHERE Delegate = armi barbara quiray crespo
|
Translate the following into a SQL query
|
Which Delegate has a Placement in Miss Universe of fourth runner-up, and a Hometown of makati , rizal?
|
SELECT Delegate FROM table WHERE Placement in Miss Universe = fourth runner-up AND Hometown = makati , rizal
|
Translate the following into a SQL query
|
What kind of Placement in Miss Universe that rosita cornell capuyon is in?
|
SELECT Placement in Miss Universe FROM table WHERE Delegate = rosita cornell capuyon
|
Translate the following into a SQL query
|
Which Year jennifer tarol barrientos is in?
|
SELECT MAX Year FROM table WHERE Delegate = jennifer tarol barrientos
|
Translate the following into a SQL query
|
WHAT YEAR WAS THE WORLD CHAMPIONSHIPS IN WITH NOTES OF 39.01?
|
SELECT SUM Year FROM table WHERE Competition = world championships AND Notes = 39.01
|
Translate the following into a SQL query
|
What's the sum of money ($) that angela park has won?
|
SELECT SUM Money ( $ ) FROM table WHERE Player = angela park
|
Translate the following into a SQL query
|
What number was the pick for the position of DT in 1952, after round 1, where the overall was less than 155?
|
SELECT Pick FROM table WHERE Position = dt AND Round > 1 AND Overall < 155 AND Year = 1952
|
Translate the following into a SQL query
|
Which NFL team chose a position of DE when the pick was larger than 9, after round 5, and the overal was larger than 118?
|
SELECT NFL team FROM table WHERE Overall > 118 AND Pick > 9 AND Round > 5 AND Position = de
|
Translate the following into a SQL query
|
What is 2006, when 2007 is "1R", and when 2002 is "Q2"?
|
SELECT 2006 FROM table WHERE 2007 = 1r AND 2002 = q2
|
Translate the following into a SQL query
|
What is 2001, when 2007 is "1R", and when 2008 is "Q1"?
|
SELECT 2001 FROM table WHERE 2007 = 1r AND 2008 = q1
|
Translate the following into a SQL query
|
What is Tournament, when 2003 is "A"?
|
SELECT Tournament FROM table WHERE 2003 = a
|
Translate the following into a SQL query
|
What is 2012, when Tournament is "French Open"?
|
SELECT 2012 FROM table WHERE Tournament = french open
|
Translate the following into a SQL query
|
What is Tournament, when 2012 is "Grand Slam Tournaments"?
|
SELECT Tournament FROM table WHERE 2012 = grand slam tournaments
|
Translate the following into a SQL query
|
What is 2004, when 2010 is "Grand Slam Tournaments"?
|
SELECT 2004 FROM table WHERE 2010 = grand slam tournaments
|
Translate the following into a SQL query
|
Which Member has an Electorate of southern melbourne?
|
SELECT Member FROM table WHERE Electorate = southern melbourne
|
Translate the following into a SQL query
|
When was H.B. Higgins first elected?
|
SELECT First elected FROM table WHERE Member = h.b. higgins
|
Translate the following into a SQL query
|
What is the highest number of byes when draws are larger than 0?
|
SELECT MAX Byes FROM table WHERE Draws > 0
|
Translate the following into a SQL query
|
What is the lowest amount of losses when the goldne rivers is quambatook, wins are smaller than 15 and draws larger than 0?
|
SELECT MIN Losses FROM table WHERE Wins < 15 AND Golden Rivers = quambatook AND Draws > 0
|
Translate the following into a SQL query
|
How many losses did the golden rivers of ultima have when wins were less than 12 and byes larger than 2?
|
SELECT COUNT Losses FROM table WHERE Wins < 12 AND Golden Rivers = ultima AND Byes > 2
|
Translate the following into a SQL query
|
How many losses did the Golden rivers of hay have?
|
SELECT AVG Losses FROM table WHERE Golden Rivers = hay
|
Translate the following into a SQL query
|
What is the total number of byes when the wins were 9?
|
SELECT COUNT Byes FROM table WHERE Wins = 9
|
Translate the following into a SQL query
|
What is th average dras when wins are less than 12 and the against is 989?
|
SELECT AVG Draws FROM table WHERE Against = 989 AND Wins < 12
|
Translate the following into a SQL query
|
What is the highest pole for class 125 cc and a WChmp more than 1?
|
SELECT MAX Pole FROM table WHERE Class = 125 cc AND WChmp > 1
|
Translate the following into a SQL query
|
What is the highest flap for class 500 cc?
|
SELECT MAX FLap FROM table WHERE Class = 500 cc
|
Translate the following into a SQL query
|
Name the Result F – A that has a League position of 1st on 4 january 1994?
|
SELECT Result F – A FROM table WHERE League position = 1st AND Date = 4 january 1994
|
Translate the following into a SQL query
|
What is the Thai name for the word abbreviated มี.ค.?
|
SELECT Thai name FROM table WHERE Abbr. = มี.ค.
|
Translate the following into a SQL query
|
What is the English word that is abbreviated พ.ย.?
|
SELECT English name FROM table WHERE Abbr. = พ.ย.
|
Translate the following into a SQL query
|
What is the transcription for the English word March?
|
SELECT Transcription FROM table WHERE English name = march
|
Translate the following into a SQL query
|
What is the zodiac sign for the English March?
|
SELECT Zodiac sign FROM table WHERE English name = march
|
Translate the following into a SQL query
|
What is the abbreviation for the sign of Capricorn?
|
SELECT Abbr. FROM table WHERE Zodiac sign = capricorn
|
Translate the following into a SQL query
|
What is the transcription for the English March?
|
SELECT Transcription FROM table WHERE English name = march
|
Translate the following into a SQL query
|
What date was the 1988 world group i edition with a result of 7–6 (7–5) , 6–3?
|
SELECT Date FROM table WHERE Edition = 1988 world group i AND Result = 7–6 (7–5) , 6–3
|
Translate the following into a SQL query
|
Who was the opponent on april 24, 1999?
|
SELECT Opponent FROM table WHERE Date = april 24, 1999
|
Translate the following into a SQL query
|
What's the result for the clay surface edition on july 17, 1992?
|
SELECT Result FROM table WHERE Surface = clay AND Date = july 17, 1992
|
Translate the following into a SQL query
|
What round had a result of 6–7 (6–8) , 1–6?
|
SELECT Round FROM table WHERE Result = 6–7 (6–8) , 1–6
|
Translate the following into a SQL query
|
Who was the opponent when the result was 7–6 (7–5) , 6–3?
|
SELECT Opponent FROM table WHERE Result = 7–6 (7–5) , 6–3
|
Translate the following into a SQL query
|
What clay surface edition had an opponent of miho saeki?
|
SELECT Edition FROM table WHERE Surface = clay AND Opponent = miho saeki
|
Translate the following into a SQL query
|
What is To par, when Country is "Spain"?
|
SELECT To par FROM table WHERE Country = spain
|
Translate the following into a SQL query
|
What is Country, when Player is "José María Olazábal"?
|
SELECT Country FROM table WHERE Player = josé maría olazábal
|
Translate the following into a SQL query
|
What is Place, when Player is "John Cook"?
|
SELECT Place FROM table WHERE Player = john cook
|
Translate the following into a SQL query
|
What is Score, when Country is "United States", and when Player is "Raymond Floyd"?
|
SELECT Score FROM table WHERE Country = united states AND Player = raymond floyd
|
Translate the following into a SQL query
|
What is To par, when Player is "Larry Rinker"?
|
SELECT To par FROM table WHERE Player = larry rinker
|
Translate the following into a SQL query
|
What is Country, when Place is "T8", and when Score is "70-67=137"?
|
SELECT Country FROM table WHERE Place = t8 AND Score = 70-67=137
|
Translate the following into a SQL query
|
What Country is player Sandy Lyle from when she scored less than 69?
|
SELECT Country FROM table WHERE Score < 69 AND Player = sandy lyle
|
Translate the following into a SQL query
|
What is the to par of Philip Parkin?
|
SELECT To par FROM table WHERE Player = philip parkin
|
Translate the following into a SQL query
|
What was the lowest attendance was the opponent was chelsea?
|
SELECT MIN Attendance FROM table WHERE Opponent = chelsea
|
Translate the following into a SQL query
|
What is the Date of Birth of the CB Player with a Height of m (ft 4in)?
|
SELECT Date of Birth FROM table WHERE Pos. = cb AND Height = m (ft 4in)
|
Translate the following into a SQL query
|
Which country had a t4 place and scored 66-73=139?
|
SELECT Country FROM table WHERE Place = t4 AND Score = 66-73=139
|
Translate the following into a SQL query
|
Who placed t1 in Scotland?
|
SELECT Player FROM table WHERE Place = t1 AND Country = scotland
|
Translate the following into a SQL query
|
Who had a to par of e and scored 71-69=140?
|
SELECT Player FROM table WHERE To par = e AND Score = 71-69=140
|
Translate the following into a SQL query
|
What is the to par for t10 and Colin Montgomerie?
|
SELECT To par FROM table WHERE Place = t10 AND Player = colin montgomerie
|
Translate the following into a SQL query
|
What country scored 71-69=140?
|
SELECT Country FROM table WHERE Score = 71-69=140
|
Translate the following into a SQL query
|
What week's game had a result of bye?
|
SELECT Week FROM table WHERE Result = bye
|
Translate the following into a SQL query
|
What was the record at week 9?
|
SELECT Record FROM table WHERE Week = 9
|
Translate the following into a SQL query
|
What is the to par of player vijay singh?
|
SELECT To par FROM table WHERE Player = vijay singh
|
Translate the following into a SQL query
|
Who is the player with playoff money from the United States?
|
SELECT Player FROM table WHERE Money ( £ ) = playoff AND Country = united states
|
Translate the following into a SQL query
|
What is the place of the player from New Zealand?
|
SELECT Place FROM table WHERE Country = new zealand
|
Translate the following into a SQL query
|
What is the to par of the player from the United States with a t1 place?
|
SELECT To par FROM table WHERE Country = united states AND Place = t1
|
Translate the following into a SQL query
|
How much money does the player with a 72-70-71-72=285 score have?
|
SELECT Money ( £ ) FROM table WHERE Score = 72-70-71-72=285
|
Translate the following into a SQL query
|
What is the save of the game with a 7-6 score?
|
SELECT Save FROM table WHERE Score = 7-6
|
Translate the following into a SQL query
|
What is the save of the game where moran (1-2) lost?
|
SELECT Save FROM table WHERE Loss = moran (1-2)
|
Translate the following into a SQL query
|
Who was the opponent on June 15?
|
SELECT Opponent FROM table WHERE Date = june 15
|
Translate the following into a SQL query
|
What is the save of the game with rice as the opponent?
|
SELECT Save FROM table WHERE Opponent = rice
|
Translate the following into a SQL query
|
What is the lowest Goals Agains, when Played is greater than 34?
|
SELECT MIN Goals Against FROM table WHERE Played > 34
|
Translate the following into a SQL query
|
What is the lowest Lost, when Goals For is greater than 52, when Points 1 is "44", and when Drawn is less than 8?
|
SELECT MIN Lost FROM table WHERE Goals For > 52 AND Points 1 = 44 AND Drawn < 8
|
Translate the following into a SQL query
|
What is the total number of Lost, when Played is less than 34?
|
SELECT COUNT Lost FROM table WHERE Played < 34
|
Translate the following into a SQL query
|
Which song has a U.S. R&B 100 in 2010?
|
SELECT Song FROM table WHERE Year = 2010 AND U.S. R&B = 100
|
Translate the following into a SQL query
|
What is the Lowest value in Against with Wins % of 50.4% and Losses less than 20?
|
SELECT MIN Against FROM table WHERE Wins % = 50.4% AND Losses < 20
|
Translate the following into a SQL query
|
Which Losses have a Wins % of 48.6%?
|
SELECT Losses FROM table WHERE Wins % = 48.6%
|
Translate the following into a SQL query
|
What is the Champion at Sopot prior to 2006 with a Score of 6–4, 6–7(7), 6–3?
|
SELECT Champion FROM table WHERE Location = sopot AND Year < 2006 AND Score = 6–4, 6–7(7), 6–3
|
Translate the following into a SQL query
|
In what Year was the match at Sopot with a Score of 2–6, 6–2, 6–3?
|
SELECT COUNT Year FROM table WHERE Location = sopot AND Score = 2–6, 6–2, 6–3
|
Translate the following into a SQL query
|
Which Team has Podiums of 0, and a Position of nc†?
|
SELECT Team FROM table WHERE Podiums = 0 AND Position = nc†
|
Translate the following into a SQL query
|
Which Wins has a Team of scuderia toro rosso, Poles of 0, and Races of 16?
|
SELECT Wins FROM table WHERE Team = scuderia toro rosso AND Poles = 0 AND Races = 16
|
Translate the following into a SQL query
|
Which Season has Podiums of 0, and Races of 16?
|
SELECT MAX Season FROM table WHERE Podiums = 0 AND Races = 16
|
Translate the following into a SQL query
|
Which Wins has Podiums of 0, and a Series of masters of formula 3?
|
SELECT Wins FROM table WHERE Podiums = 0 AND Series = masters of formula 3
|
Translate the following into a SQL query
|
What was the method used when the time was 4:52?
|
SELECT Method FROM table WHERE Time = 4:52
|
Translate the following into a SQL query
|
What was the result when the time was 4:15?
|
SELECT Res. FROM table WHERE Time = 4:15
|
Translate the following into a SQL query
|
Which NHL team chose an American player from the United States Hockey League?
|
SELECT NHL team FROM table WHERE Nationality = united states AND League from = united states hockey league
|
Translate the following into a SQL query
|
What is the nationality of player Jani Hakanpaa?
|
SELECT Nationality FROM table WHERE Player = jani hakanpaa
|
Translate the following into a SQL query
|
From which league is the player chosen by the Atlanta Thrashers (from Dallas) 6?
|
SELECT League from FROM table WHERE NHL team = atlanta thrashers (from dallas) 6
|
Translate the following into a SQL query
|
What median family income has a population greater than 93,643, with cleveland as the county?
|
SELECT Median family income FROM table WHERE Population > 93,643 AND County = cleveland
|
Translate the following into a SQL query
|
How many households have yadkin as the county?
|
SELECT Number of households FROM table WHERE County = yadkin
|
Translate the following into a SQL query
|
What is the highest pick for a year after 2010, and a round smaller than 1?
|
SELECT MAX Pick FROM table WHERE Year > 2010 AND Round < 1
|
Translate the following into a SQL query
|
What is the highest pick for a year after 2010 and a round larger than 1?
|
SELECT MAX Pick FROM table WHERE Year > 2010 AND Round > 1
|
Translate the following into a SQL query
|
What is the sum for the pick of the year 2009, and a round smaller than 2 and an NBA Club Denver Nuggets?
|
SELECT SUM Pick FROM table WHERE Year = 2009 AND Round < 2 AND NBA Club = denver nuggets
|
Translate the following into a SQL query
|
Can you tell me the total number of Total that has the First round of 0, and the Finals smaller than 5?
|
SELECT COUNT Total FROM table WHERE First round = 0 AND Finals < 5
|
Translate the following into a SQL query
|
Can you tell me the average Conference Finals that has Finals smaller than 5?
|
SELECT AVG Conference Finals FROM table WHERE Finals < 5
|
Translate the following into a SQL query
|
Can you tell me the Finals that has the Conference Finals smaller than 12, and the Semifinals of 0, and the Total of 3?
|
SELECT Finals FROM table WHERE Conference Finals < 12 AND Semifinals = 0 AND Total = 3
|
Translate the following into a SQL query
|
What's the sum of the headcounts that have an n/a value of $60k to $70K?
|
SELECT SUM Headcount FROM table WHERE $60,000 to $70,000 = n/a
|
Translate the following into a SQL query
|
What's the mean of the $70-80k ones that have 2.80%?
|
SELECT Mean FROM table WHERE $70,000 to $80,000 = 2.80%
|
Translate the following into a SQL query
|
Which have more than $80k and a total percent of 2.2%?
|
SELECT More than $80,000 FROM table WHERE Percent of total = 2.2%
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.