instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Which date has a round more than 9? | SELECT Date FROM table WHERE Round > 9 |
Translate the following into a SQL query | Who is the driver that one for the winning tpc team qi-meritus that has a round more than 8? | SELECT Winning Driver FROM table WHERE Winning Team = tpc team qi-meritus AND Round > 8 |
Translate the following into a SQL query | What is the time of 12 December 2009 with record start? | SELECT Time FROM table WHERE Record = start AND Date = 12 december 2009 |
Translate the following into a SQL query | What is Elizabeth Yarnold's nation? | SELECT Nation FROM table WHERE Athlete(s) = elizabeth yarnold |
Translate the following into a SQL query | What country is the Jiufotang Formation located in? | SELECT Location FROM table WHERE Unit = jiufotang formation |
Translate the following into a SQL query | Which author is located in Mexico? | SELECT Authors FROM table WHERE Location = mexico |
Translate the following into a SQL query | Where is wang li duan cheng located? | SELECT Location FROM table WHERE Authors = wang li duan cheng |
Translate the following into a SQL query | What is the status of the pterosaur named Cathayopterus? | SELECT Status FROM table WHERE Name = cathayopterus |
Translate the following into a SQL query | Which Years in Orlando has a School/Club Team of texas tech? | SELECT Years in Orlando FROM table WHERE School/Club Team = texas tech |
Translate the following into a SQL query | Which Nationality has a Player of keith bogans, and a Years in Orlando of 2006–2009? | SELECT Nationality FROM table WHERE Player = keith bogans AND Years in Orlando = 2006–2009 |
Translate the following into a SQL query | What is Pat Burke's Nationality? | SELECT Nationality FROM table WHERE Player = pat burke |
Translate the following into a SQL query | Which School/Club Team has a Player of michael bradley? | SELECT School/Club Team FROM table WHERE Player = michael bradley |
Translate the following into a SQL query | Which Years in Orlando has a School/Club Team of kentucky? | SELECT Years in Orlando FROM table WHERE School/Club Team = kentucky |
Translate the following into a SQL query | Which School/Club Team has a Player of jud buechler? | SELECT School/Club Team FROM table WHERE Player = jud buechler |
Translate the following into a SQL query | What is the position for years under 1999? | SELECT Pos. FROM table WHERE Year < 1999 |
Translate the following into a SQL query | What is the average year for Team Oreca? | SELECT AVG Year FROM table WHERE Team = team oreca |
Translate the following into a SQL query | Which team had a class position of 5th? | SELECT Team FROM table WHERE Class Pos. = 5th |
Translate the following into a SQL query | What is the class having a year under 2010 and a class position of 5th? | SELECT Class FROM table WHERE Year < 2010 AND Class Pos. = 5th |
Translate the following into a SQL query | Which Position has an Against larger than 17, and a Team of juventus, and a Drawn smaller than 4? | SELECT MIN Position FROM table WHERE Against > 17 AND Team = juventus AND Drawn < 4 |
Translate the following into a SQL query | Which Lost has an Against of 49 and a Played smaller than 20? | SELECT COUNT Lost FROM table WHERE Against = 49 AND Played < 20 |
Translate the following into a SQL query | In which championship had a previous champion of "defeated Justin Corino in tournament final"? | SELECT Championship FROM table WHERE Previous champion(s) = defeated justin corino in tournament final |
Translate the following into a SQL query | Which location had previous champions of Mike Webb and Nick Fahrenheit? | SELECT Location FROM table WHERE Previous champion(s) = mike webb and nick fahrenheit |
Translate the following into a SQL query | Who were the previous champions from the event won on May 1, 2010? | SELECT Previous champion(s) FROM table WHERE Date won = may 1, 2010 |
Translate the following into a SQL query | Who is the current champion for the event in Beverly, MA, with previous champions of Mike Webb and Nick Fahrenheit? | SELECT Current champion(s) FROM table WHERE Location = beverly, ma AND Previous champion(s) = mike webb and nick fahrenheit |
Translate the following into a SQL query | Who is the current champion in the NECW Heavyweight Championship? | SELECT Current champion(s) FROM table WHERE Championship = necw heavyweight champion |
Translate the following into a SQL query | Which location held the Iron 8 Championship tournament? | SELECT Location FROM table WHERE Championship = iron 8 championship tournament |
Translate the following into a SQL query | What is the capacity of 3500v volts? | SELECT Capacity FROM table WHERE Volts = 3500v |
Translate the following into a SQL query | How many volts has an energy-to-weight ratio of 54 kj/kg to 2.0v? | SELECT Volts FROM table WHERE Energy-to-weight ratio = 54 kj/kg to 2.0v |
Translate the following into a SQL query | What is the capacity with 2.7v volts and a power-to-weight ratio of 5.44 w/kg c/1 (1.875a)? | SELECT Capacity FROM table WHERE Volts = 2.7v AND Power-to-weight ratio = 5.44 w/kg c/1 (1.875a) |
Translate the following into a SQL query | Which season led to a position of 13, and a head coach of Protasov Lyutyi Talalayev Balakhnin Baidachny? | SELECT Season FROM table WHERE Pos. = 13 AND Head Coach = protasov lyutyi talalayev balakhnin baidachny |
Translate the following into a SQL query | Which week had the highest attendance with 58,701? | SELECT MAX Week FROM table WHERE Attendance = 58,701 |
Translate the following into a SQL query | What was the score of the game against the San Diego Chargers? | SELECT SUM Week FROM table WHERE Opponent = san diego chargers |
Translate the following into a SQL query | When was the attendance less than 44,851 during the first 4 weeks of the season? | SELECT Date FROM table WHERE Week < 4 AND Attendance = 44,851 |
Translate the following into a SQL query | On week 13 what was the score of the game? | SELECT Result FROM table WHERE Week = 13 |
Translate the following into a SQL query | What week had 58,025 in attendance? | SELECT SUM Week FROM table WHERE Attendance = 58,025 |
Translate the following into a SQL query | When was the game that had 58,025 people in attendance? | SELECT Date FROM table WHERE Attendance = 58,025 |
Translate the following into a SQL query | What is the lowest number of Drawn games for Team Mackenzie where the Played is less and 11 and the Points are greater than 7? | SELECT MIN Drawn FROM table WHERE Played < 11 AND Points > 7 AND Team = mackenzie |
Translate the following into a SQL query | What number of Points are shown for Team Paulistano where the Drawn is less than 2 and the Against is less than 15? | SELECT COUNT Points FROM table WHERE Drawn < 2 AND Team = paulistano AND Against < 15 |
Translate the following into a SQL query | What is the Lowest lost for Team Ypiranga-SP where the games Played is more than 10 and the goals Against is greater than 50? | SELECT MIN Lost FROM table WHERE Played > 10 AND Team = ypiranga-sp AND Against > 50 |
Translate the following into a SQL query | What is the highest number of Played games with a Position smaller than 2 and Drawn games less than 4? | SELECT MAX Played FROM table WHERE Position < 2 AND Drawn < 4 |
Translate the following into a SQL query | What is the average number of runner-up that National University, which has more than 2 total championships, has? | SELECT AVG Runner-up FROM table WHERE University = national university AND Total Championships > 2 |
Translate the following into a SQL query | What is the lowest number of total championships of the university with 2 men's and more than 2 women's? | SELECT MIN Total Championships FROM table WHERE Men's = 2 AND Women's > 2 |
Translate the following into a SQL query | How many runner-ups does the university with more than 0 men's and less than 4 total championships have? | SELECT Runner-up FROM table WHERE Men's > 0 AND Total Championships < 4 |
Translate the following into a SQL query | What is the average total championships of the university with more than 0 women's, less than 4 runner-ups, and less than 0 men's? | SELECT AVG Total Championships FROM table WHERE Women's > 0 AND Runner-up < 4 AND Men's < 0 |
Translate the following into a SQL query | What is the lowest number of total championships of the University of Santo Tomas, which has less than 2 men's? | SELECT MIN Total Championships FROM table WHERE University = university of santo tomas AND Men's < 2 |
Translate the following into a SQL query | Who was on the Progressive ticket when John T. Norton was on the Democratic ticket? | SELECT Progressive ticket FROM table WHERE Democratic ticket = john t. norton |
Translate the following into a SQL query | What name is under the Socialist ticket when Thomas J. Kreuzer was on the Democratic ticket? | SELECT Socialist ticket FROM table WHERE Democratic ticket = thomas j. kreuzer |
Translate the following into a SQL query | Who ran under the Republican ticket when Frank H. Hiscock ran under the Progressive ticket? | SELECT Republican ticket FROM table WHERE Progressive ticket = frank h. hiscock |
Translate the following into a SQL query | What name ran for the Prohibition ticket when the Progressive ticket was Eugene M. Travis? | SELECT Prohibition ticket FROM table WHERE Progressive ticket = eugene m. travis |
Translate the following into a SQL query | When Coleridge A. Hart ran under the Prohibition ticket who ran under the Independence League ticket? | SELECT Independence League ticket FROM table WHERE Prohibition ticket = coleridge a. hart |
Translate the following into a SQL query | With the Republican ticket of Frank M. Williams who was the Progressive ticket? | SELECT Progressive ticket FROM table WHERE Republican ticket = frank m. williams |
Translate the following into a SQL query | What kind of Prohibition ticket that has a Office of lieutenant governor? | SELECT Prohibition ticket FROM table WHERE Office = lieutenant governor |
Translate the following into a SQL query | Which Socialist Labor ticket has a Office of secretary of state? | SELECT Socialist Labor ticket FROM table WHERE Office = secretary of state |
Translate the following into a SQL query | What kind of Independent Citizens' ticket that has a Republican ticket of william j. morgan? | SELECT Independent Citizens' ticket FROM table WHERE Republican ticket = william j. morgan |
Translate the following into a SQL query | What kind of Republican ticket has a Prohibition ticket of stephen mead wing? | SELECT Republican ticket FROM table WHERE Prohibition ticket = stephen mead wing |
Translate the following into a SQL query | What is the kind of Democratic ticket has a Office of comptroller? | SELECT Democratic ticket FROM table WHERE Office = comptroller |
Translate the following into a SQL query | Which Prohibition ticket has a Socialist Labor ticket of joseph smith? | SELECT Prohibition ticket FROM table WHERE Socialist Labor ticket = joseph smith |
Translate the following into a SQL query | What is the lowest grid number when Colin Edwards is the rider? | SELECT MIN Grid FROM table WHERE Rider = colin edwards |
Translate the following into a SQL query | What is the time/retired when there are less than 22 laps and honda is the manufacturer? | SELECT Time/Retired FROM table WHERE Laps < 22 AND Manufacturer = honda |
Translate the following into a SQL query | What is the average number of laps when the grid number is 9? | SELECT AVG Laps FROM table WHERE Grid = 9 |
Translate the following into a SQL query | What is the highest number of laps when honda is the manufacturer and the grid number is 12? | SELECT MAX Laps FROM table WHERE Manufacturer = honda AND Grid = 12 |
Translate the following into a SQL query | Who is the rider when the grid number is 3? | SELECT Rider FROM table WHERE Grid = 3 |
Translate the following into a SQL query | How many laps were driven when the time/retired is +44.284? | SELECT COUNT Laps FROM table WHERE Time/Retired = +44.284 |
Translate the following into a SQL query | What is the value of the coin weighing 10.5 g and made of cupronickel? | SELECT Value FROM table WHERE Composition = cupronickel AND Weight = 10.5 g |
Translate the following into a SQL query | What is the coin with a € equivalency of 0.30 made of? | SELECT Composition FROM table WHERE € equiv. = 0.30 |
Translate the following into a SQL query | What is the coin that weighs 3 g made of? | SELECT Composition FROM table WHERE Weight = 3 g |
Translate the following into a SQL query | What is the diameter of the coin with a € equivalence of 0.60? | SELECT Diameter FROM table WHERE € equiv. = 0.60 |
Translate the following into a SQL query | How much does the coin with a 14mm diameter weigh? | SELECT Weight FROM table WHERE Diameter = 14mm |
Translate the following into a SQL query | What is the coverage for the 99.5mhz frequency? | SELECT Coverage FROM table WHERE Frequency = 99.5mhz |
Translate the following into a SQL query | What is the power in kW corresponding to the station that covers General Santos? | SELECT Power (kW) FROM table WHERE Coverage = general santos |
Translate the following into a SQL query | What is the branding for the station with a frequency of 93.1mhz and a coverage of Zamboanga? | SELECT Branding FROM table WHERE Frequency = 93.1mhz AND Coverage = zamboanga |
Translate the following into a SQL query | What is the frequency for the 10kw station with DXEZ as its callsign? | SELECT Frequency FROM table WHERE Power (kW) = 10kw AND Callsign = dxez |
Translate the following into a SQL query | What is the frequency for the station with DYBT as its callsign? | SELECT Frequency FROM table WHERE Callsign = dybt |
Translate the following into a SQL query | What is the branding for the station with a frequency of 93.1mhz and a callsign of DWRX? | SELECT Branding FROM table WHERE Frequency = 93.1mhz AND Callsign = dwrx |
Translate the following into a SQL query | What is Women's Doubles, when Year is 2007? | SELECT Women's doubles FROM table WHERE Year = 2007 |
Translate the following into a SQL query | Can you tell me lowest Rank that has the Capacity in use of 93.6%, and the Total Passengers larger than 4,679,457? | SELECT MIN Rank FROM table WHERE Capacity in use = 93.6% AND Total Passengers > 4,679,457 |
Translate the following into a SQL query | Can you tell me the lowest Total Passengers than has the Location of salvador, and the Rank larger than 5? | SELECT MIN Total Passengers FROM table WHERE Location = salvador AND Rank > 5 |
Translate the following into a SQL query | Can you tell me the Annual change that has the Location of manaus? | SELECT Annual change FROM table WHERE Location = manaus |
Translate the following into a SQL query | What is the average number of cuts made when there were more than 2 tournaments played in 2011? | SELECT AVG Cuts made FROM table WHERE Tournaments played > 2 AND Year = 2011 |
Translate the following into a SQL query | What is the total number of wins with 10 cuts made and a score average under 74.09? | SELECT COUNT Wins FROM table WHERE Cuts made = 10 AND Scoring average < 74.09 |
Translate the following into a SQL query | What is Madeleine Dupont's shot pct.? | SELECT Shot Pct. FROM table WHERE Skip = madeleine dupont |
Translate the following into a SQL query | Can you tell me the Score that has the High assists of rafer alston (8)? | SELECT Score FROM table WHERE High assists = rafer alston (8) |
Translate the following into a SQL query | Can you tell me the High points that has the High rebounds of rafer alston (9)? | SELECT High points FROM table WHERE High rebounds = rafer alston (9) |
Translate the following into a SQL query | Can you tell me the Score that has the Date of april 8? | SELECT Score FROM table WHERE Date = april 8 |
Translate the following into a SQL query | Which boys' school wears Royal Blue and Gold and entered the competition in 1929? | SELECT School FROM table WHERE Boys/Girls = boys AND Year Entered Competition = 1929 AND School Colors = royal blue and gold |
Translate the following into a SQL query | What's the highest attendance for a game the Texan's played at Arrowhead Stadium? | SELECT MAX Attendance FROM table WHERE Game site = arrowhead stadium |
Translate the following into a SQL query | Who did the Texan's play on Week 4? | SELECT Opponent FROM table WHERE Week = 4 |
Translate the following into a SQL query | What's the date for HOF week? | SELECT Date FROM table WHERE Week = hof |
Translate the following into a SQL query | What is Total, when FA Cup is 1 0 (3)? | SELECT Total FROM table WHERE FA Cup = 1 0 (3) |
Translate the following into a SQL query | What is the lowest number of delegates when John McCain was the candidate with less than 45 candidates? | SELECT MIN Delegates FROM table WHERE Candidate = john mccain AND Counties < 45 |
Translate the following into a SQL query | What is the sum of Counties when there were 701,761 votes and less than 57 delegates? | SELECT SUM Counties FROM table WHERE Votes = 701,761 AND Delegates < 57 |
Translate the following into a SQL query | What is the highest Counties when Mitt Romney was the candidate with less than 0 delegates? | SELECT MAX Counties FROM table WHERE Candidate = mitt romney AND Delegates < 0 |
Translate the following into a SQL query | What is the name of the candidate with more than 4,060 votes and more than 0 delegates? | SELECT Candidate FROM table WHERE Votes > 4,060 AND Delegates > 0 |
Translate the following into a SQL query | What is the number of votes when Ron Paul is the candidate with less than 0 counties? | SELECT COUNT Votes FROM table WHERE Candidate = ron paul AND Counties < 0 |
Translate the following into a SQL query | What is the sum of totals associated with a UEFA Cup score of 4? | SELECT SUM Total FROM table WHERE UEFA Cup = 4 |
Translate the following into a SQL query | What is the sum of totals for FA Cup values of 0? | SELECT SUM Total FROM table WHERE FA Cup < 0 |
Translate the following into a SQL query | What is the Hometown of the person with a height of 5'8"? | SELECT Hometown (Previous school) FROM table WHERE Height = 5'8" |
Translate the following into a SQL query | What is the average Weight of the person who is 6'9"? | SELECT AVG Weight FROM table WHERE Height = 6'9" |
Translate the following into a SQL query | What is the Hometown of Tim Williams? | SELECT Hometown (Previous school) FROM table WHERE Name = tim williams |
Translate the following into a SQL query | What is the Year of the person who is 6'1", and weighs more than 165? | SELECT Year FROM table WHERE Height = 6'1" AND Weight > 165 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.