instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Who had the high rebounds in Philips Arena 12,088? | SELECT High rebounds FROM table WHERE Location Attendance = philips arena 12,088 |
Translate the following into a SQL query | Who had the high points when the score was w 108–105 (ot)? | SELECT High points FROM table WHERE Score = w 108–105 (ot) |
Translate the following into a SQL query | What was the competition on 29 November 1997 that resulted in a draw? | SELECT Competition FROM table WHERE Result = draw AND Date = 29 november 1997 |
Translate the following into a SQL query | What is the average Area (in km²), when Markatal is less than 0? | SELECT AVG Area (in km²) FROM table WHERE Markatal < 0 |
Translate the following into a SQL query | What is the highest Markatal, when Municipality is Leirvík, and when Inhabitants Per Km² is greater than 79? | SELECT MAX Markatal FROM table WHERE Municipality = leirvík AND Inhabitants per km² > 79 |
Translate the following into a SQL query | What is the sum of Population, when Markatal is greater than 48, when Inhabitants Per Km² is greater than 24, and when Municipality is Runavík? | SELECT SUM Population FROM table WHERE Markatal > 48 AND Inhabitants per km² > 24 AND Municipality = runavík |
Translate the following into a SQL query | What is the sum of Markatal, when Inhabitants Per Km² is less than 13, and when Area (in Km²) is 27? | SELECT SUM Markatal FROM table WHERE Inhabitants per km² < 13 AND Area (in km²) = 27 |
Translate the following into a SQL query | How many seasons have Losses larger than 1, and a Competition of fiba europe cup, and Wins smaller than 4? | SELECT COUNT Season FROM table WHERE Loses > 1 AND Competition = fiba europe cup AND Wins < 4 |
Translate the following into a SQL query | How many Wins have Losses larger than 2, and an Against of 73.3? | SELECT SUM Wins FROM table WHERE Loses > 2 AND Against = 73.3 |
Translate the following into a SQL query | In what Year was the Game on September 26? | SELECT SUM Year FROM table WHERE Date = september 26 |
Translate the following into a SQL query | What was the Loser of the Game with a Result of 35-27? | SELECT Loser FROM table WHERE Result = 35-27 |
Translate the following into a SQL query | In what Year was the Result of the game 16-14? | SELECT MAX Year FROM table WHERE Result = 16-14 |
Translate the following into a SQL query | What Year had a Result of 34-25? | SELECT AVG Year FROM table WHERE Result = 34-25 |
Translate the following into a SQL query | What is the Winner of the Game on November 26? | SELECT Winner FROM table WHERE Date = november 26 |
Translate the following into a SQL query | What was the 2012/13 result for the tournament that had a 2006/07 and 2007/08 finish of LQ, with the tournament not held in 2009/10? | SELECT 2012/ 13 FROM table WHERE 2007/ 08 = lq AND 2006/ 07 = lq AND 2009/ 10 = tournament not held |
Translate the following into a SQL query | What was the 2006/07 finish for the tournament that had a 2009/10 finish of LQ and a 2010/11 finish of A? | SELECT 2006/ 07 FROM table WHERE 2009/ 10 = lq AND 2010/ 11 = a |
Translate the following into a SQL query | What is the highest Position, when Pilot is "Mario Kiessling"? | SELECT MAX Position FROM table WHERE Pilot = mario kiessling |
Translate the following into a SQL query | What is the average Position, when Speed is "143.5km/h"? | SELECT AVG Position FROM table WHERE Speed = 143.5km/h |
Translate the following into a SQL query | What is Glider, when Speed is "147.3km/h"? | SELECT Glider FROM table WHERE Speed = 147.3km/h |
Translate the following into a SQL query | What is Distance, when Pilot is "Stanislaw Wujczak"? | SELECT Distance FROM table WHERE Pilot = stanislaw wujczak |
Translate the following into a SQL query | Who has a Jersey number of 31? | SELECT Player FROM table WHERE Jersey Number(s) = 31 |
Translate the following into a SQL query | What was the position in 1999? | SELECT Position FROM table WHERE Years = 1999 |
Translate the following into a SQL query | What is the name of the away team with a Tie no of 7? | SELECT Away team FROM table WHERE Tie no = 7 |
Translate the following into a SQL query | What is home team Chelsea's Tie no? | SELECT Tie no FROM table WHERE Home team = chelsea |
Translate the following into a SQL query | What away team has a Tie no of 5? | SELECT Away team FROM table WHERE Tie no = 5 |
Translate the following into a SQL query | Can you tell me the Score that has the Player of raymond floyd? | SELECT Score FROM table WHERE Player = raymond floyd |
Translate the following into a SQL query | Can you tell me the Player that has the Country of united states, and the Score of 77-72-72=221? | SELECT Player FROM table WHERE Country = united states AND Score = 77-72-72=221 |
Translate the following into a SQL query | Can you tell me the Score that has the Country of united states, and the To par of 8? | SELECT Score FROM table WHERE Country = united states AND To par = 8 |
Translate the following into a SQL query | What was the time when his opponent was Cleber Luciano? | SELECT Time FROM table WHERE Opponent = cleber luciano |
Translate the following into a SQL query | What was the method in round 1 of the UFC 20 event? | SELECT Method FROM table WHERE Round = 1 AND Event = ufc 20 |
Translate the following into a SQL query | What is Points, when Tries For is "correct as of 00:00 11 June 2008"? | SELECT Points FROM table WHERE Tries for = correct as of 00:00 11 june 2008 |
Translate the following into a SQL query | What is Try Bonus, when Lost is "5", and when Points is "73"? | SELECT Try bonus FROM table WHERE Lost = 5 AND Points = 73 |
Translate the following into a SQL query | What is Points, when Played is "20", and when Club is "Caldicot RFC"? | SELECT Points FROM table WHERE Played = 20 AND Club = caldicot rfc |
Translate the following into a SQL query | What is Points, when Drawn is "1", and when Lost is "5"? | SELECT Points FROM table WHERE Drawn = 1 AND Lost = 5 |
Translate the following into a SQL query | What is Lost, when Points For is "257"? | SELECT Lost FROM table WHERE Points for = 257 |
Translate the following into a SQL query | What is Lost, when Losing Bonus is "3", and when Club is "Bettws RFC"? | SELECT Lost FROM table WHERE Losing bonus = 3 AND Club = bettws rfc |
Translate the following into a SQL query | What was the record when the visitor was Atlanta Hawks? | SELECT Record FROM table WHERE Visitor = atlanta hawks |
Translate the following into a SQL query | Who was the visitor when the score was 136–120? | SELECT Visitor FROM table WHERE Score = 136–120 |
Translate the following into a SQL query | Who was the home when the visitor was New York Knicks? | SELECT Home FROM table WHERE Visitor = new york knicks |
Translate the following into a SQL query | When was the home Los Angeles Lakers? | SELECT Date FROM table WHERE Home = los angeles lakers |
Translate the following into a SQL query | Who was the visitor on december 15, 1976? | SELECT Visitor FROM table WHERE Date = december 15, 1976 |
Translate the following into a SQL query | At Time Warner Cable Arena 12,096, what was the high points? | SELECT High points FROM table WHERE Location Attendance = time warner cable arena 12,096 |
Translate the following into a SQL query | On November 2 what was the record of the team? | SELECT Record FROM table WHERE Date = november 2 |
Translate the following into a SQL query | Average frequency with ERP W of 62? | SELECT AVG Frequency MHz FROM table WHERE ERP W = 62 |
Translate the following into a SQL query | Total frequency with ERP W of 62? | SELECT COUNT Frequency MHz FROM table WHERE ERP W = 62 |
Translate the following into a SQL query | Frequency for kamy? | SELECT Frequency MHz FROM table WHERE Call sign = kamy |
Translate the following into a SQL query | What was the method of resolution when LaVerne Clark's record was 23-16-1? | SELECT Method FROM table WHERE Record = 23-16-1 |
Translate the following into a SQL query | how many subdivisions have an English Name of jiyang? | SELECT COUNT Population FROM table WHERE English Name = jiyang |
Translate the following into a SQL query | What is the Population of the subdivision with the English Name of nanbin farm? | SELECT MIN Population FROM table WHERE English Name = nanbin farm |
Translate the following into a SQL query | What is the Traditional when the Pinyin is hédōng qū? | SELECT Traditional FROM table WHERE Pinyin = hédōng qū |
Translate the following into a SQL query | What is the Traditional for area 35? | SELECT Traditional FROM table WHERE Area = 35 |
Translate the following into a SQL query | Which class has the verb meaning of to run? | SELECT Class FROM table WHERE Verb meaning = to run |
Translate the following into a SQL query | What is the entry for Part 1 for class 7d? | SELECT Part 1 FROM table WHERE Class = 7d |
Translate the following into a SQL query | What is the part 3 entry that has a part 4 entry of giboran? | SELECT Part 3 FROM table WHERE Part 4 = giboran |
Translate the following into a SQL query | What is the part 2 entry for class 3a? | SELECT Part 2 FROM table WHERE Class = 3a |
Translate the following into a SQL query | What is the part 4 entry for class 7b? | SELECT Part 4 FROM table WHERE Class = 7b |
Translate the following into a SQL query | On what date was the result a draw? | SELECT Date FROM table WHERE Result = draw |
Translate the following into a SQL query | What is the score at the 2010 FIFA World Cup Qualification that results in a win? | SELECT Score FROM table WHERE Competition = 2010 fifa world cup qualification AND Result = win |
Translate the following into a SQL query | What is the Power (kW) for the station located in Cebu? | SELECT Power (kW) FROM table WHERE Location = cebu |
Translate the following into a SQL query | What is the Power (kW) for the station with a frequency of 95.1mhz? | SELECT Power (kW) FROM table WHERE Frequency = 95.1mhz |
Translate the following into a SQL query | What is the Callsign for the station with the branding 93dot5 home radio Cagayan De Oro? | SELECT Callsign FROM table WHERE Branding = 93dot5 home radio cagayan de oro |
Translate the following into a SQL query | What is the frequency for the station with the branding of 94dot3 home radio Palawan? | SELECT Frequency FROM table WHERE Branding = 94dot3 home radio palawan |
Translate the following into a SQL query | What is the Branding for the station located in Zamboanga? | SELECT Branding FROM table WHERE Location = zamboanga |
Translate the following into a SQL query | What is the Power (kW) for the station with the frequency of 98.7mhz? | SELECT Power (kW) FROM table WHERE Frequency = 98.7mhz |
Translate the following into a SQL query | What is the medal total of Denmark? | SELECT COUNT Total FROM table WHERE Nation = denmark |
Translate the following into a SQL query | What is the record of the game with a game number greater than 24 on December 19? | SELECT Record FROM table WHERE Game > 24 AND Date = december 19 |
Translate the following into a SQL query | What is the record of game 26 with beno udrih (4) as the highest assists? | SELECT Record FROM table WHERE High assists = beno udrih (4) AND Game = 26 |
Translate the following into a SQL query | What is the score of game 25? | SELECT Score FROM table WHERE Game = 25 |
Translate the following into a SQL query | WHAT IS THE DRAW FOR u ritmu ljubavi, POINTS LARGER THAN 87? | SELECT MAX Draw FROM table WHERE Song = u ritmu ljubavi AND Points > 87 |
Translate the following into a SQL query | WHAT IS THE DRAW FOR PERFORMER ANDREA CUBRIC? | SELECT Draw FROM table WHERE Performer = andrea cubric |
Translate the following into a SQL query | What is the game number when the record is 30-22? | SELECT AVG Game FROM table WHERE Record = 30-22 |
Translate the following into a SQL query | At what location was the score W 82-76? | SELECT Location FROM table WHERE Score = w 82-76 |
Translate the following into a SQL query | What was the record when the game was at the Rose Garden? | SELECT Record FROM table WHERE Location = rose garden |
Translate the following into a SQL query | What is the highest number of games with more than 0 draws and 11 losses? | SELECT MAX Games FROM table WHERE Draws > 0 AND Lost = 11 |
Translate the following into a SQL query | What is the 1994 finish in the event that had a 1998 finish of 2R? | SELECT 1994 FROM table WHERE 1998 = 2r |
Translate the following into a SQL query | Which tournament had a 1994 finish of RR and 1996 and 1998 finishes of A? | SELECT Tournament FROM table WHERE 1996 = a AND 1998 = a AND 1994 = rr |
Translate the following into a SQL query | What is the 1994 finish associated with a 1995 finish of 3R and 1997 of QF? | SELECT 1994 FROM table WHERE 1997 = qf AND 1995 = 3r |
Translate the following into a SQL query | What is the 1999 finish for the tournament in Rome? | SELECT 1999 FROM table WHERE Tournament = rome |
Translate the following into a SQL query | What is the 1991 finish for the 1993 Grand Slams? | SELECT 1991 FROM table WHERE 1993 = grand slams |
Translate the following into a SQL query | What was the playoff apps for Thomas Heary, that had the position df? | SELECT Playoff Apps FROM table WHERE Position = df AND Name = thomas heary |
Translate the following into a SQL query | What's the lowest squad number with more than 6 goals, fewer than 8 league goals, and more than 0 playoff goals? | SELECT MIN Squad No. FROM table WHERE Total Goals > 6 AND League Goals < 8 AND Playoff Goals > 0 |
Translate the following into a SQL query | How many total goals did the squad with 2 playoff apps, 2 FA Cup Apps, and 0 League Cup goals get? | SELECT SUM Total Goals FROM table WHERE Playoff Apps = 2 AND FA Cup Apps = 2 AND League Cup Goals < 0 |
Translate the following into a SQL query | Which title had rank 9? | SELECT Title FROM table WHERE Rank = 9 |
Translate the following into a SQL query | Which title placed in rank 7? | SELECT Title FROM table WHERE Rank = 7 |
Translate the following into a SQL query | shows for the artist Santana featuring the product g&b? | SELECT Volume:Issue FROM table WHERE Artist = santana featuring the product g&b |
Translate the following into a SQL query | What volume 3 weeks on top for Third Eye Blind? | SELECT Volume:Issue FROM table WHERE Weeks on Top = 3 AND Artist = third eye blind |
Translate the following into a SQL query | What is the name of the artist of " bang bang boom "? | SELECT Artist FROM table WHERE Song = " bang bang boom " |
Translate the following into a SQL query | What is the song name with a Volume:Issue was 70:8-9? | SELECT Song FROM table WHERE Volume:Issue = 70:8-9 |
Translate the following into a SQL query | What was the music video that was from the album High Society, with a length of 3:50? | SELECT Music video FROM table WHERE Album = high society AND Length = 3:50 |
Translate the following into a SQL query | Which music video was from the album Map of the Human Soul? | SELECT Music video FROM table WHERE Album = map of the human soul |
Translate the following into a SQL query | What is the agg when team 2 was Cementarnica? | SELECT Agg. FROM table WHERE Team 2 = cementarnica |
Translate the following into a SQL query | What are the total number of podiums for more than 4 laps, and less than 149 races? | SELECT COUNT Podiums FROM table WHERE Fastest Laps > 4 AND Races < 149 |
Translate the following into a SQL query | What was the score for the golfer from the country of fiji? | SELECT COUNT Score FROM table WHERE Country = fiji |
Translate the following into a SQL query | What was the score of the golfer from the united states who had a To par of e? | SELECT SUM Score FROM table WHERE To par = e AND Country = united states |
Translate the following into a SQL query | Which united states player finished with a place of t10? | SELECT Player FROM table WHERE Country = united states AND Place = t10 |
Translate the following into a SQL query | What label uses the stereo LP for catalog scyl-934,623? | SELECT Label FROM table WHERE Format = stereo lp AND Catalog = scyl-934,623 |
Translate the following into a SQL query | On what date was the catalog cy-24623 for New Zealand? | SELECT Date FROM table WHERE Region = new zealand AND Catalog = cy-24623 |
Translate the following into a SQL query | On what date was the catalog scyl-934,623 for Australia? | SELECT Date FROM table WHERE Catalog = scyl-934,623 AND Region = australia |
Translate the following into a SQL query | Which label has a catalog of y8hr 1006 in 1972? | SELECT Label FROM table WHERE Catalog = y8hr 1006 AND Date = 1972 |
Translate the following into a SQL query | What catalog uses the stereo compact cassette format? | SELECT Catalog FROM table WHERE Format = stereo compact cassette |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.