instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What class is Rob Collard in?
SELECT Class FROM table WHERE Drivers = rob collard
Translate the following into a SQL query
What is the car specs for team Airwaves BMW's driver Rob Collard?
SELECT Car Spec. FROM table WHERE Team = airwaves bmw AND Drivers = rob collard
Translate the following into a SQL query
What is the language of TV3?
SELECT Language FROM table WHERE Name = tv3
Translate the following into a SQL query
What is the group of ESPN International Sports?
SELECT Group FROM table WHERE Name = espn international sports
Translate the following into a SQL query
What is the type of station for ESPN International Sports?
SELECT Type FROM table WHERE Name = espn international sports
Translate the following into a SQL query
What is the type of station that is in the movies group?
SELECT Type FROM table WHERE Group = movies
Translate the following into a SQL query
What is the total sum ranked less than 5 with a 37.076 (2) 3rd run?
SELECT SUM Total FROM table WHERE Rank < 5 AND 3rd run = 37.076 (2)
Translate the following into a SQL query
What is the name of the person with a total of 22?
SELECT Name FROM table WHERE Total = 22
Translate the following into a SQL query
What is the total with a rank less than 8 and a 40.143 (4) 2nd run?
SELECT Total FROM table WHERE Rank < 8 AND 2nd run = 40.143 (4)
Translate the following into a SQL query
What's the nationality of Henry Carr having a time of 20.3y?
SELECT Nationality FROM table WHERE Athlete = henry carr AND Time = 20.3y
Translate the following into a SQL query
What's the nationality of Livio Berruti?
SELECT Nationality FROM table WHERE Athlete = livio berruti
Translate the following into a SQL query
What's the nationality of Ray norton with a time of 20.6?
SELECT Nationality FROM table WHERE Time = 20.6 AND Athlete = ray norton
Translate the following into a SQL query
What is the sum of the prominence in m of slovakia?
SELECT SUM Prominence (m) FROM table WHERE Country = slovakia
Translate the following into a SQL query
What is the prominence in m of a col in m greater than 738?
SELECT Prominence (m) FROM table WHERE Col (m) > 738
Translate the following into a SQL query
Whta is the lowest col in m of gerlachovský štít peak, which has an elevation greater than 2,655 m?
SELECT MIN Col (m) FROM table WHERE Peak = gerlachovský štít AND Elevation (m) > 2,655
Translate the following into a SQL query
What is the lowest elevation in m of moldoveanu peak, which has a prominence in m less than 2,103 and a col in m less than 498?
SELECT MIN Elevation (m) FROM table WHERE Prominence (m) < 2,103 AND Peak = moldoveanu peak AND Col (m) < 498
Translate the following into a SQL query
What is the average prominence in m of pietrosul rodnei peak, which has an elevation less than 2,303?
SELECT AVG Prominence (m) FROM table WHERE Peak = pietrosul rodnei AND Elevation (m) < 2,303
Translate the following into a SQL query
What is the Score of the Shooter with a Comp of OG?
SELECT Score FROM table WHERE Comp = og
Translate the following into a SQL query
What is the B Score when the total is more than 16.125, and position is 3rd?
SELECT SUM B Score FROM table WHERE Total > 16.125 AND Position = 3rd
Translate the following into a SQL query
What is the lowest A Score when the B Score is 9.15, and total is 16.05?
SELECT MIN A Score FROM table WHERE B Score = 9.15 AND Total = 16.05
Translate the following into a SQL query
Who had a time of 7:14.64?
SELECT Athlete FROM table WHERE Time = 7:14.64
Translate the following into a SQL query
What rank was Lassi Karonen?
SELECT COUNT Rank FROM table WHERE Athlete = lassi karonen
Translate the following into a SQL query
What was the rank when then time was 7:52.53?
SELECT MIN Rank FROM table WHERE Time = 7:52.53
Translate the following into a SQL query
Who was the athlete from Germany with notes of Q?
SELECT Athlete FROM table WHERE Notes = q AND Country = germany
Translate the following into a SQL query
What rank is Germany?
SELECT Rank FROM table WHERE Country = germany
Translate the following into a SQL query
Who was the athlete from Hong Kong?
SELECT Athlete FROM table WHERE Country = hong kong
Translate the following into a SQL query
Which school has a mascot of the Blazers and in the Northeast Corner conference?
SELECT School FROM table WHERE Conference Joined = northeast corner AND Mascot = blazers
Translate the following into a SQL query
Which mascot has an IHSAA Class and Football class of 2A/2A?
SELECT Mascot FROM table WHERE IHSAA Class / Football Class = 2a/2a
Translate the following into a SQL query
Which player was selected in rounds under 3?
SELECT Player FROM table WHERE Round < 3
Translate the following into a SQL query
Which Water (sqmi) has a Pop (2010) of 359, and a Longitude smaller than -97.176811?
SELECT MAX Water (sqmi) FROM table WHERE Pop. (2010) = 359 AND Longitude < -97.176811
Translate the following into a SQL query
Which Land (sqmi) has a Water (sqmi) smaller than 0.04, and a Longitude of -96.794706?
SELECT MIN Land ( sqmi ) FROM table WHERE Water (sqmi) < 0.04 AND Longitude = -96.794706
Translate the following into a SQL query
How much Latitude has a Water (sqmi) of 0.267, and an ANSI code larger than 1759605?
SELECT SUM Latitude FROM table WHERE Water (sqmi) = 0.267 AND ANSI code > 1759605
Translate the following into a SQL query
Which ANSI code has a GEO ID larger than 3809927140, and a Water (sqmi) smaller than 0.492, and a Pop (2010) of 37, and a Latitude larger than 48.245979?
SELECT MIN ANSI code FROM table WHERE GEO ID > 3809927140 AND Water (sqmi) < 0.492 AND Pop. (2010) = 37 AND Latitude > 48.245979
Translate the following into a SQL query
What is the Owner of Frequency 00 99.3?
SELECT Owner FROM table WHERE Frequency = 00 99.3
Translate the following into a SQL query
What is the Branding of Frequency 00 94.5?
SELECT Branding FROM table WHERE Frequency = 00 94.5
Translate the following into a SQL query
What is the Call Sign of the Frequency by Owner CKUA Radio Foundation?
SELECT Call sign FROM table WHERE Owner = ckua radio foundation
Translate the following into a SQL query
What is the Owner of the Frequency with a Format of First Nations Community Radio?
SELECT Owner FROM table WHERE Format = first nations community radio
Translate the following into a SQL query
Which School has a Previous Conference of none (new school), and a Year Joined larger than 1960, and a Location of versailles?
SELECT School FROM table WHERE Previous Conference = none (new school) AND Year Joined > 1960 AND Location = versailles
Translate the following into a SQL query
Which Location has a Previous Conference of independents, and a Mascot of hilltoppers?
SELECT Location FROM table WHERE Previous Conference = independents AND Mascot = hilltoppers
Translate the following into a SQL query
Which Year Joined has a Size larger than 93, and a Previous Conference of none (new school), and a Mascot of rebels?
SELECT AVG Year Joined FROM table WHERE Size > 93 AND Previous Conference = none (new school) AND Mascot = rebels
Translate the following into a SQL query
How many years Joined have a Size smaller than 417, and an IHSAA Class of A, and a School of jac-cen-del?
SELECT COUNT Year Joined FROM table WHERE Size < 417 AND IHSAA Class = a AND School = jac-cen-del
Translate the following into a SQL query
What is the 1957 number when the 1955 is smaller than 0.63, and 1952 is larger than 0.22?
SELECT COUNT 1957 FROM table WHERE 1955 < 0.63 AND 1952 > 0.22
Translate the following into a SQL query
What is the 1952 rate when the 1954 is more than 4.2?
SELECT SUM 1952 FROM table WHERE 1954 > 4.2
Translate the following into a SQL query
What is the 1955 rate when the 1956 is more than 2.9, and 1953 is larger than 4.5?
SELECT SUM 1955 FROM table WHERE 1956 > 2.9 AND 1953 > 4.5
Translate the following into a SQL query
Where was Alex Song signed from after 2010?
SELECT From FROM table WHERE Year > 2010 AND Player = alex song
Translate the following into a SQL query
How many players were signed from Sevilla?
SELECT COUNT Year FROM table WHERE From = sevilla
Translate the following into a SQL query
In what Week resulting in the bottom 3 was Endre Jansen Partner?
SELECT MAX Week FROM table WHERE Result = bottom 3 AND Partner = endre jansen
Translate the following into a SQL query
What Dance in Week 1 resulted in Safe?
SELECT Dance FROM table WHERE Result = safe AND Week = 1
Translate the following into a SQL query
In what Week was the Locking Dance?
SELECT MAX Week FROM table WHERE Dance = locking
Translate the following into a SQL query
What position has 7 as the round, with a pick # less than 214?
SELECT Position FROM table WHERE Round = 7 AND Pick # < 214
Translate the following into a SQL query
What college has a round greater than 1, with dylan mcfarland as the player?
SELECT College FROM table WHERE Round > 1 AND Player = dylan mcfarland
Translate the following into a SQL query
What player has a pick # greater than 207?
SELECT Player FROM table WHERE Pick # > 207
Translate the following into a SQL query
Which artist had a 4x platinum?
SELECT Artist FROM table WHERE Certification = 4x platinum
Translate the following into a SQL query
What was the highest peak position for the album one of the boys?
SELECT MAX Peak position FROM table WHERE Album = one of the boys
Translate the following into a SQL query
How many sales had a peak position of 1 and a certification of 6x platinum?
SELECT COUNT Sales FROM table WHERE Peak position = 1 AND Certification = 6x platinum
Translate the following into a SQL query
What album had a peak position of 6 and a certification of 3x platinum?
SELECT Album FROM table WHERE Certification = 3x platinum AND Peak position = 6
Translate the following into a SQL query
How many sales had a peak position more than 2 and a Certification of 3x platinum?
SELECT COUNT Sales FROM table WHERE Peak position > 2 AND Certification = 3x platinum
Translate the following into a SQL query
Who were the rowers who had a time of 7:39.70?
SELECT Rowers FROM table WHERE Time = 7:39.70
Translate the following into a SQL query
Who were the rowers from china wh had a rank smaller than 4?
SELECT Rowers FROM table WHERE Rank < 4 AND Country = china
Translate the following into a SQL query
What is the notes for the rowers from denmark?
SELECT Notes FROM table WHERE Country = denmark
Translate the following into a SQL query
Which Bronze has a Nation of austria, and a Total larger than 6?
SELECT MAX Bronze FROM table WHERE Nation = austria AND Total > 6
Translate the following into a SQL query
Which Rank has a Silver of 1, and a Gold of 0, and a Nation of austria?
SELECT Rank FROM table WHERE Silver = 1 AND Gold = 0 AND Nation = austria
Translate the following into a SQL query
Which Total has a Rank of 5, and a Bronze smaller than 0?
SELECT AVG Total FROM table WHERE Rank = 5 AND Bronze < 0
Translate the following into a SQL query
Which Total has a Bronze of 5, and a Silver smaller than 1?
SELECT MIN Total FROM table WHERE Bronze = 5 AND Silver < 1
Translate the following into a SQL query
What is the highest year with a formula of Grand Prix?
SELECT MAX Year FROM table WHERE Formula = grand prix
Translate the following into a SQL query
Which formula had a driver of John Moore-Brabazon?
SELECT Formula FROM table WHERE Driver = john moore-brabazon
Translate the following into a SQL query
Which driver had a year under 1905?
SELECT Driver FROM table WHERE Year < 1905
Translate the following into a SQL query
How many years had a formula of Grand Prix?
SELECT COUNT Year FROM table WHERE Formula = grand prix
Translate the following into a SQL query
Which location was won by George Heath?
SELECT Location FROM table WHERE Driver = george heath
Translate the following into a SQL query
What is the 2010 total for ghana?
SELECT COUNT 2010 FROM table WHERE Country = ghana
Translate the following into a SQL query
Which country is the nnamdi azikiwe international airport in?
SELECT Country FROM table WHERE Airport = nnamdi azikiwe international airport
Translate the following into a SQL query
What is the average lane for Kenya with react larger than 0.212?
SELECT AVG Lane FROM table WHERE Nationality = kenya AND React > 0.212
Translate the following into a SQL query
what is the highest rank for tim maeyens?
SELECT MAX Rank FROM table WHERE Athlete = tim maeyens
Translate the following into a SQL query
what is the notes for andre vonarburg?
SELECT Notes FROM table WHERE Athlete = andre vonarburg
Translate the following into a SQL query
Who is the athlete from greece?
SELECT Athlete FROM table WHERE Country = greece
Translate the following into a SQL query
who is the athlete with the rank smaller than 2?
SELECT Athlete FROM table WHERE Rank < 2
Translate the following into a SQL query
what is the notes for the athlete with the time of 7:38.87?
SELECT Notes FROM table WHERE Time = 7:38.87
Translate the following into a SQL query
What is the sum of the gold medals of the nation with 4 silvers and more than 6 total medals?
SELECT SUM Gold FROM table WHERE Silver = 4 AND Total > 6
Translate the following into a SQL query
What is the highest number of bronze medals of west germany, which has more than 0 golds?
SELECT MAX Bronze FROM table WHERE Nation = west germany AND Gold > 0
Translate the following into a SQL query
What is the average total medals of the soviet union, which has more than 2 bronze and more than 0 silver medals?
SELECT AVG Total FROM table WHERE Bronze > 2 AND Silver > 0 AND Nation = soviet union
Translate the following into a SQL query
What year did the ship Europa, have the dates of 14 – 23 October?
SELECT AVG Year FROM table WHERE Ship = europa AND Dates = 14 – 23 october
Translate the following into a SQL query
What is the ship in the Cunard line from Liverpool 19 – 29 July?
SELECT Ship FROM table WHERE Line = cunard AND From = liverpool AND Dates = 19 – 29 july
Translate the following into a SQL query
What is the distance for 5 d, 23 h, 7 m?
SELECT Distance FROM table WHERE Days, hours, minutes = 5 d, 23 h, 7 m
Translate the following into a SQL query
What is the Days, hours, minutes for the GW line from Liverpool?
SELECT Days, hours, minutes FROM table WHERE Line = gw AND From = liverpool
Translate the following into a SQL query
What is the Days, hours, minutes for 21 – 26 October?
SELECT Days, hours, minutes FROM table WHERE Dates = 21 – 26 october
Translate the following into a SQL query
Which year did the school with the mascot of the Vikings join?
SELECT Year Joined FROM table WHERE Mascot = vikings
Translate the following into a SQL query
Who wrote the album recorded at funhouse studios with a time of 3:27?
SELECT Writer(s) FROM table WHERE Recorded at = funhouse studios AND Time = 3:27
Translate the following into a SQL query
Who performed the song recorded at the Cabin in the Woods Studio with a Time of 3:16?
SELECT Performer(s) FROM table WHERE Recorded at = the cabin in the woods studio AND Time = 3:16
Translate the following into a SQL query
Which League Cup Goals have a League Cup Apps of 1 (1)?
SELECT League Cup Goals FROM table WHERE League Cup Apps = 1 (1)
Translate the following into a SQL query
Which FA Cup Apps have Total Goals larger than 6, and an FA Cup Goals smaller than 1?
SELECT FA Cup Apps FROM table WHERE Total Goals > 6 AND FA Cup Goals < 1
Translate the following into a SQL query
How many League Goals have an FA Cup Apps of 0 (1)?
SELECT COUNT League Goals FROM table WHERE FA Cup Apps = 0 (1)
Translate the following into a SQL query
What is the lowest round number in which Will Wilcox was selected?
SELECT MIN Round FROM table WHERE Player = will wilcox
Translate the following into a SQL query
Which player went to college at Tennessee-Chattanooga?
SELECT Player FROM table WHERE College = tennessee-chattanooga
Translate the following into a SQL query
Which Col (m) has an Elevation (m) smaller than 1,624?
SELECT MIN Col (m) FROM table WHERE Elevation (m) < 1,624
Translate the following into a SQL query
How much Elevation (m) has a Prominence (m) larger than 1,754?
SELECT SUM Elevation (m) FROM table WHERE Prominence (m) > 1,754
Translate the following into a SQL query
Which Col (m) has a Prominence (m) larger than 1,519, and a Peak of jiehkkevárri, and an Elevation (m) larger than 1,834?
SELECT MIN Col (m) FROM table WHERE Prominence (m) > 1,519 AND Peak = jiehkkevárri AND Elevation (m) > 1,834
Translate the following into a SQL query
What is the highest score when the 1st half is smaller than 289 and rank smaller than 61?
SELECT MAX Score FROM table WHERE 1st Half < 289 AND Rank < 61
Translate the following into a SQL query
What is the lowest first half when the score is larger than 621 and the rank 35?
SELECT MIN 1st Half FROM table WHERE Score > 621 AND Rank = 35
Translate the following into a SQL query
Which Grid has Points larger than 10 and a Time/Retired of +13.7 secs?
SELECT Grid FROM table WHERE Points > 10 AND Time/Retired = +13.7 secs
Translate the following into a SQL query
Which Team has Points of 0, a Grid larger than 13, and a Driver of alex yoong?
SELECT Team FROM table WHERE Points = 0 AND Grid > 13 AND Driver = alex yoong