instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the frequency of the train named Garib nwaz exp?
SELECT Frequency (inbound/outbound) FROM table WHERE Train Name = garib nwaz exp
Translate the following into a SQL query
Name the segment c with episode less than 179 and segment b of s sticker
SELECT Segment C FROM table WHERE Episode < 179 AND Segment B = s sticker
Translate the following into a SQL query
Name the segment c for ski goggles
SELECT Segment C FROM table WHERE Segment A = ski goggles
Translate the following into a SQL query
In which position did Steve play first?
SELECT Position FROM table WHERE First = steve
Translate the following into a SQL query
Which bats did mitchell play first?
SELECT Bats FROM table WHERE First = mitchell
Translate the following into a SQL query
When is mr. ryan's DOB?
SELECT D.O.B. FROM table WHERE Surname = ryan
Translate the following into a SQL query
Which Throws have a Position of 3b/rhp?
SELECT Throws FROM table WHERE Position = 3b/rhp
Translate the following into a SQL query
When is Collins' DOB?
SELECT D.O.B. FROM table WHERE Surname = collins
Translate the following into a SQL query
Which Position has a D.O.B. of 3 june 1989?
SELECT Position FROM table WHERE D.O.B. = 3 june 1989
Translate the following into a SQL query
What type of architecture does the Saturn Vue have?
SELECT Architecture FROM table WHERE Vehicle Name = saturn vue
Translate the following into a SQL query
What architecture type does the Ford Escort Wagon have?
SELECT Architecture FROM table WHERE Original Vehicle = ford escort wagon
Translate the following into a SQL query
What original vehicle has uwhvt homepage architecture?
SELECT Original Vehicle FROM table WHERE Architecture = uwhvt homepage
Translate the following into a SQL query
Which Winner has a Last 16 of £400?
SELECT Winner FROM table WHERE Last 16 = £400
Translate the following into a SQL query
Which Runner-Up has a Total of £31,200?
SELECT Runner-Up FROM table WHERE Total = £31,200
Translate the following into a SQL query
Which Runner-Up has a Last 16 of £300?
SELECT Runner-Up FROM table WHERE Last 16 = £300
Translate the following into a SQL query
Which Last 64 has a Total of £34,600?
SELECT Last 64 FROM table WHERE Total = £34,600
Translate the following into a SQL query
Which Winner has Semi-Finalists of £2,000?
SELECT Winner FROM table WHERE Semi-Finalists = £2,000
Translate the following into a SQL query
Which Year has a Quarter-Finalists of £1,000, and Semi-Finalists of £1,500?
SELECT Year FROM table WHERE Quarter-Finalists = £1,000 AND Semi-Finalists = £1,500
Translate the following into a SQL query
How tall is Dylan Postl?
SELECT Height FROM table WHERE Name = dylan postl
Translate the following into a SQL query
What is the largest amount of goals when the points are less than 0?
SELECT MAX Goals FROM table WHERE Points < 0
Translate the following into a SQL query
Which player has more than 0 goals and less than 12 tries?
SELECT Player FROM table WHERE Goals > 0 AND Tries < 12
Translate the following into a SQL query
What is the smallest number of tries when Matt Diskin is the player and there are more than 16 points?
SELECT MIN Tries FROM table WHERE Player = matt diskin AND Points > 16
Translate the following into a SQL query
Which position has more than 4 points, less than 12 tries, a squad number of more than 1, and where Ali Lauitiiti is a player?
SELECT Position FROM table WHERE Points > 4 AND Tries < 12 AND Squad No > 1 AND Player = ali lauitiiti
Translate the following into a SQL query
What is the total number of squad no when there are more than 8 points, Danny Mcguire is a player, and there are more than 0 goals?
SELECT SUM Squad No FROM table WHERE Points > 8 AND Player = danny mcguire AND Goals > 0
Translate the following into a SQL query
What is the lowest lost from drawn of 1 or greater?
SELECT MIN Lost FROM table WHERE Drawn > 1
Translate the following into a SQL query
What is the highest games from a game with points less than 4, drawn of 1 and a lost less than 6?
SELECT MAX Games FROM table WHERE Points < 4 AND Drawn = 1 AND Lost < 6
Translate the following into a SQL query
What is the score of the game on January 18?
SELECT Score FROM table WHERE Date = january 18
Translate the following into a SQL query
What is the score of the game on January 10?
SELECT Score FROM table WHERE Date = january 10
Translate the following into a SQL query
What is the score of the game on November 12 with the Chicago Black Hawks as the visitor team?
SELECT Score FROM table WHERE Visitor = chicago black hawks AND Date = november 12
Translate the following into a SQL query
What is the series score of the game on May 6?
SELECT Series FROM table WHERE Date = may 6
Translate the following into a SQL query
The Zeehond was built by whom?
SELECT Builder FROM table WHERE Ship = zeehond
Translate the following into a SQL query
What college, junior, or club team did Victor Ignatjev play for?
SELECT College/Junior/Club Team FROM table WHERE Player = victor ignatjev
Translate the following into a SQL query
Which player is from Sweden?
SELECT Player FROM table WHERE Nationality = sweden
Translate the following into a SQL query
What was the score on April 22?
SELECT Score FROM table WHERE Date = april 22
Translate the following into a SQL query
What opponent has a score of 1-3?
SELECT Opponent FROM table WHERE Score = 1-3
Translate the following into a SQL query
What is the record for April 21?
SELECT Record FROM table WHERE Date = april 21
Translate the following into a SQL query
Which Player has a Round larger than 5, and a School/Club Team of bethune-cookman?
SELECT Player FROM table WHERE Round > 5 AND School/Club Team = bethune-cookman
Translate the following into a SQL query
Which Position has a Pick smaller than 152, and a Round smaller than 3?
SELECT Position FROM table WHERE Pick < 152 AND Round < 3
Translate the following into a SQL query
How many Picks have a Position of defensive back?
SELECT COUNT Pick FROM table WHERE Position = defensive back
Translate the following into a SQL query
Which Player has a Round smaller than 11, and a Pick smaller than 152, and a Position of guard?
SELECT Player FROM table WHERE Round < 11 AND Pick < 152 AND Position = guard
Translate the following into a SQL query
Which participants won the silver medal for the Men's Doubles?
SELECT Name FROM table WHERE Medal = silver AND Event = men's doubles
Translate the following into a SQL query
What event did Rashid Sidek participate in?
SELECT Event FROM table WHERE Name = rashid sidek
Translate the following into a SQL query
Which Olympic Games had a silver medal for the Men's Singles?
SELECT Games FROM table WHERE Event = men's singles AND Medal = silver
Translate the following into a SQL query
Which sport was in the 1992 Barcelona games?
SELECT Sport FROM table WHERE Games = 1992 barcelona
Translate the following into a SQL query
What event was in the 2008 Beijing games?
SELECT Event FROM table WHERE Games = 2008 beijing
Translate the following into a SQL query
What is the round of the defense player from the United States?
SELECT Round FROM table WHERE Position = defense AND Nationality = united states
Translate the following into a SQL query
What is the position of Dale Craigwell?
SELECT Position FROM table WHERE Player = dale craigwell
Translate the following into a SQL query
What is the position of the player from Sweden?
SELECT Position FROM table WHERE Nationality = sweden
Translate the following into a SQL query
Who is the player from a round larger than 5 and the college/junior/club team of Leningrad SKA (russia)?
SELECT Player FROM table WHERE Round > 5 AND College/Junior/Club Team = leningrad ska (russia)
Translate the following into a SQL query
What position does Mikhail Kravets play?
SELECT Position FROM table WHERE Player = mikhail kravets
Translate the following into a SQL query
Which date was held at Laguna Seca Raceway, in class GTX/GTO?
SELECT Date FROM table WHERE Circuit = laguna seca raceway AND Class = gtx/gto
Translate the following into a SQL query
Which circuit was held on May 7 for 1 hour?
SELECT Circuit FROM table WHERE Date = may 7 AND Length = 1 hour
Translate the following into a SQL query
Which circuit has a length of 45 minutes and is held on August 6?
SELECT Circuit FROM table WHERE Length = 45 minutes AND Date = august 6
Translate the following into a SQL query
What is the length of the 6 Hours of Talladega?
SELECT Length FROM table WHERE Race = 6 hours of talladega
Translate the following into a SQL query
Name the class AAAA with class A of lindsay and class AAAAA of galena park north shore
SELECT Class AAAA FROM table WHERE Class A = lindsay AND Class AAAAA = galena park north shore
Translate the following into a SQL query
Name the class A with class AAAA of longview pine tree and school year of 1995-96
SELECT Class A FROM table WHERE Class AAAA = longview pine tree AND School Year = 1995-96
Translate the following into a SQL query
Name the class AA with class A of rule and school year of 1995-96
SELECT Class AA FROM table WHERE Class A = rule AND School Year = 1995-96
Translate the following into a SQL query
Name the school year with class AAAAA of mcallen and class AAAA of longview pine tree
SELECT School Year FROM table WHERE Class AAAAA = mcallen AND Class AAAA = longview pine tree
Translate the following into a SQL query
Name the class A with school year of 2004-05
SELECT Class A FROM table WHERE School Year = 2004-05
Translate the following into a SQL query
Name the clas AAAA of school year 2000-01
SELECT Class AAAA FROM table WHERE School Year = 2000-01
Translate the following into a SQL query
What school is from 45 Lake county and is located in Merrillville?
SELECT School FROM table WHERE County = 45 lake AND Location = merrillville
Translate the following into a SQL query
What school is located in Michigan City?
SELECT School FROM table WHERE Location = michigan city
Translate the following into a SQL query
What is the IHSAA class for Chesterton?
SELECT IHSAA Class FROM table WHERE School = chesterton
Translate the following into a SQL query
What is the IHSAA class for Portage?
SELECT IHSAA Class FROM table WHERE School = portage
Translate the following into a SQL query
What is the IHSAA class for Crown Point?
SELECT IHSAA Class FROM table WHERE School = crown point
Translate the following into a SQL query
What is the average grid of driver Christian Vietoris who has less than 12 laps?
SELECT AVG Grid FROM table WHERE Driver = christian vietoris AND Laps < 12
Translate the following into a SQL query
What is the grid of driver joão urbano?
SELECT SUM Grid FROM table WHERE Driver = joão urbano
Translate the following into a SQL query
What is the lowest laps a grid less than 22 with a time of +35.268 has?
SELECT MIN Laps FROM table WHERE Grid < 22 AND Time = +35.268
Translate the following into a SQL query
What is the lowest laps driver Christian Vietoris with a grid smaller than 6 has?
SELECT MIN Laps FROM table WHERE Driver = christian vietoris AND Grid < 6
Translate the following into a SQL query
What is the primary sponsor of driver Mark Martin?
SELECT Primary Sponsor(s) FROM table WHERE Driver(s) = mark martin
Translate the following into a SQL query
Who is the crew chief of team Joe Gibbs Racing, which has a Chevrolet Monte Carlo and Fedex as the primary sponsor?
SELECT Crew Chief FROM table WHERE Car(s) = chevrolet monte carlo AND Team = joe gibbs racing AND Primary Sponsor(s) = fedex
Translate the following into a SQL query
Who is the driver of the team with the crew chief Derrick Finley?
SELECT Driver(s) FROM table WHERE Crew Chief = derrick finley
Translate the following into a SQL query
Who is the crew chief of team Chip Ganassi Racing with Felix Sabates, which has Casey Mears as the driver?
SELECT Crew Chief FROM table WHERE Team = chip ganassi racing with felix sabates AND Driver(s) = casey mears
Translate the following into a SQL query
Which team has Peak Fitness as the primary sponsor?
SELECT Team FROM table WHERE Primary Sponsor(s) = peak fitness
Translate the following into a SQL query
What date has w 20-17 as the result, and 1-0 as the record?
SELECT Date FROM table WHERE Result = w 20-17 AND Record = 1-0
Translate the following into a SQL query
What game site has december 24, 2000 as a date?
SELECT Game site FROM table WHERE Date = december 24, 2000
Translate the following into a SQL query
What date has dallas cowboys as the opponent?
SELECT Date FROM table WHERE Opponent = dallas cowboys
Translate the following into a SQL query
What is the attendance that has fedex field as the game site with 3 as the week?
SELECT Attendance FROM table WHERE Game site = fedex field AND Week = 3
Translate the following into a SQL query
What is the record for April 22?
SELECT Record FROM table WHERE Date = april 22
Translate the following into a SQL query
What is the record when the visiting team was the Quebec Nordiques on April 22?
SELECT Record FROM table WHERE Visitor = quebec nordiques AND Date = april 22
Translate the following into a SQL query
What is the longitude of Taurus?
SELECT Longitude အင်္သာ FROM table WHERE Latin = taurus
Translate the following into a SQL query
What is the Location for Belshina?
SELECT Location FROM table WHERE Team = belshina
Translate the following into a SQL query
What is the name of the Team with a Capacity larger than 5,000, and a Position in 2003 of 13?
SELECT Team FROM table WHERE Capacity > 5,000 AND Position in 2003 = 13
Translate the following into a SQL query
What is the total number for Capacity at city stadium, borisov?
SELECT COUNT Capacity FROM table WHERE Venue = city stadium, borisov
Translate the following into a SQL query
Which rating larger than 5 have the lowest amount of views in #3 rank with a share of 9?
SELECT MIN Viewers (millions) FROM table WHERE Weekly rank = #3 AND Share = 9 AND Rating > 5
Translate the following into a SQL query
What is the highest played that has a drawn less than 9, 36 as the difference, with a lost greater than 7?
SELECT MAX Played FROM table WHERE Drawn < 9 AND Difference = 36 AND Lost > 7
Translate the following into a SQL query
How many positions have figueirense as the team, with a played greater than 38?
SELECT COUNT Position FROM table WHERE Team = figueirense AND Played > 38
Translate the following into a SQL query
What is the largest drawn that has a played less than 38?
SELECT MAX Drawn FROM table WHERE Played < 38
Translate the following into a SQL query
How many positions have 9 as a drawn, 5 as a difference, with a lost less than 14?
SELECT COUNT Position FROM table WHERE Drawn = 9 AND Difference = 5 AND Lost < 14
Translate the following into a SQL query
What date did Episode 2-01 (42) air?
SELECT Original airdate FROM table WHERE Episode = 2-01 (42)
Translate the following into a SQL query
Who wrote Episode 2-15 (56)?
SELECT Writer(s) FROM table WHERE Episode = 2-15 (56)
Translate the following into a SQL query
What is the highest number of games with 1 loss and points less than 18?
SELECT MAX Games FROM table WHERE Lost = 1 AND Points < 18
Translate the following into a SQL query
Which City has a Result of w, and a Competition of international friendly (unofficial match), and a Score of 1-0?
SELECT City FROM table WHERE Result = w AND Competition = international friendly (unofficial match) AND Score = 1-0
Translate the following into a SQL query
Which Date has a Result of w, and a Score of 3-0?
SELECT Date FROM table WHERE Result = w AND Score = 3-0
Translate the following into a SQL query
Which City has a Date of june 9, 1976?
SELECT City FROM table WHERE Date = june 9, 1976
Translate the following into a SQL query
Which City has a Date of may 19, 1976?
SELECT City FROM table WHERE Date = may 19, 1976
Translate the following into a SQL query
What are the total number of laps for Tom Bridger?
SELECT COUNT Laps FROM table WHERE Driver = tom bridger
Translate the following into a SQL query
What are the lowest laps of Graham Hill?
SELECT MIN Laps FROM table WHERE Driver = graham hill
Translate the following into a SQL query
What are the lowest laps of grid 17?
SELECT MIN Laps FROM table WHERE Grid = 17
Translate the following into a SQL query
Which Avg/G has a Gain of 16, and a Name of barnes, freddie, and a Loss smaller than 2?
SELECT SUM Avg/G FROM table WHERE Gain = 16 AND Name = barnes, freddie AND Loss < 2