instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What kind of vehicle is the agra 1050?
SELECT Vehicle Category FROM table WHERE Till Agra = 1050
Translate the following into a SQL query
If the till aligarh is 150, what the mac till mathura?
SELECT MAX Till Mathura FROM table WHERE Till Aligarh = 150
Translate the following into a SQL query
If the till agra is 1050, what is the max round trip?
SELECT MAX For Round Trip FROM table WHERE Till Agra = 1050
Translate the following into a SQL query
If the vehicle category is multi-axle vehicle, what is the till aligarh?
SELECT MIN Till Aligarh FROM table WHERE Vehicle Category = Multi-axle Vehicle
Translate the following into a SQL query
What's the lowest number of a game where S. Johnson (3) did the most high assists?
SELECT MIN Game FROM table WHERE High assists = S. Johnson (3)
Translate the following into a SQL query
Who was the game on July 12 played against?
SELECT Opponent FROM table WHERE Date = July 12
Translate the following into a SQL query
What was the record in the game where McWilliams (8) did the most high rebounds?
SELECT Record FROM table WHERE High rebounds = McWilliams (8)
Translate the following into a SQL query
Who was the game on July 7 played against?
SELECT Opponent FROM table WHERE Date = July 7
Translate the following into a SQL query
what is the owner of the callsign wliw
SELECT Owner FROM table WHERE Callsign = WLIW
Translate the following into a SQL query
how many callsigns are for the branding telemundo 47
SELECT COUNT Callsign FROM table WHERE Branding = Telemundo 47
Translate the following into a SQL query
what is the virtual callsign if is wnet
SELECT (Virtual) FROM table WHERE Callsign = WNET
Translate the following into a SQL query
what is the name of the branding where the virtual is 13.1
SELECT Branding FROM table WHERE (Virtual) = 13.1
Translate the following into a SQL query
Name the district for newtown square
SELECT MIN District FROM table WHERE Residence = Newtown Square
Translate the following into a SQL query
Name the party for bensalem
SELECT Party FROM table WHERE Residence = Bensalem
Translate the following into a SQL query
Name the term ends for bethlehem
SELECT COUNT Term ends FROM table WHERE Residence = Bethlehem
Translate the following into a SQL query
Name the total number of districts for rob teplitz
SELECT COUNT District FROM table WHERE Representative = Rob Teplitz
Translate the following into a SQL query
What was the result for the contestant whose background was as a business major?
SELECT Result FROM table WHERE Background = Business major
Translate the following into a SQL query
What was the background of the contestant whose result was 11th place?
SELECT Background FROM table WHERE Result = 11th place
Translate the following into a SQL query
For how many contestants was the background internet dreamer?
SELECT COUNT Contestant FROM table WHERE Background = Internet dreamer
Translate the following into a SQL query
What was the result for the contestant who was a small business owner?
SELECT Result FROM table WHERE Background = Small business owner
Translate the following into a SQL query
What team was the contestant who finished in 10th place originally on?
SELECT Original team FROM table WHERE Result = 10th place
Translate the following into a SQL query
What is the hometown of the contestant whose background is as a financial consultant?
SELECT Hometown FROM table WHERE Background = Financial consultant
Translate the following into a SQL query
If the rating/share is 3.8/10, what is the total number of rating?
SELECT COUNT Rating FROM table WHERE Rating/Share (18-49) = 3.8/10
Translate the following into a SQL query
If the night rank is 9, what is the total share number?
SELECT COUNT Share FROM table WHERE Rank (Night) = 9
Translate the following into a SQL query
What is the name of the episode with a night rank of 9?
SELECT Episode FROM table WHERE Rank (Night) = 9
Translate the following into a SQL query
If the amount of viewers is 5.14 million and the rating/share is 2.0/6, what is the ranking?
SELECT Rating FROM table WHERE Rating/Share (18-49) = 2.0/6 AND Viewers (millions) = 5.14
Translate the following into a SQL query
For cities with a census of 74000 in 1920, what was their census in 1890?
SELECT 1890 census FROM table WHERE 1920 census = 74000
Translate the following into a SQL query
For cities with a census of 296000 in 1940, what was their census in 1920?
SELECT 1920 census FROM table WHERE 1940 census = 296000
Translate the following into a SQL query
How many cities had a census of 400000 in 1940?
SELECT COUNT Rank FROM table WHERE 1940 census = 400000
Translate the following into a SQL query
Name the season number for "the night of the feathered fury"
SELECT COUNT Season # FROM table WHERE Title = "The Night of the Feathered Fury"
Translate the following into a SQL query
Name the writers for swedish sailor
SELECT Writer(s) FROM table WHERE Arties disguises = Swedish sailor
Translate the following into a SQL query
Name the series number for "the night of the flying pie plate"
SELECT MAX Series # FROM table WHERE Title = "The Night of the Flying Pie Plate"
Translate the following into a SQL query
Name the season number for herr ostropolyer, pastry chef
SELECT MIN Season # FROM table WHERE Arties disguises = Herr Ostropolyer, pastry chef
Translate the following into a SQL query
Name the principal of Northfield Junior-Senior High School.
SELECT Principal FROM table WHERE School = Northfield Junior-Senior High School
Translate the following into a SQL query
What is the name of the school/s in North Manchester?
SELECT School FROM table WHERE City / Town = North Manchester
Translate the following into a SQL query
Name the school/s with is size of 604.
SELECT School FROM table WHERE Size = 604
Translate the following into a SQL query
What is the IDOE Profile in North Manchester?
SELECT IDOE Profile FROM table WHERE City / Town = North Manchester
Translate the following into a SQL query
What are the grades served at Manchester Junior-Senior High School?
SELECT Grades FROM table WHERE School = Manchester Junior-Senior High School
Translate the following into a SQL query
Writer Max Ehrlich, what is the minimum series number?
SELECT MIN Series # FROM table WHERE Writer(s) = Max Ehrlich
Translate the following into a SQL query
From writer Denne Bart Petitclerc, what is the maximum season number?
SELECT MAX Season # FROM table WHERE Writer(s) = Denne Bart Petitclerc
Translate the following into a SQL query
From writer Max Ehrlich, what is the total amount of series numbers?
SELECT COUNT Series # FROM table WHERE Writer(s) = Max Ehrlich
Translate the following into a SQL query
Who is the winning driver when rd. is 3?
SELECT Winning driver FROM table WHERE Rd. = 3
Translate the following into a SQL query
How many winning drivers are there when the winning team is Bryan herta autosport?
SELECT COUNT Winning driver FROM table WHERE Winning team = Bryan Herta Autosport
Translate the following into a SQL query
Which report is where rd. is 9?
SELECT Report FROM table WHERE Rd. = 9
Translate the following into a SQL query
Who held the fastest lap in the race in texas and dario franchitti is the winning driver?
SELECT Fastest lap FROM table WHERE Race = Texas AND Winning driver = Dario Franchitti
Translate the following into a SQL query
What is top ep number for "missile bound cat"?
SELECT MAX Ep FROM table WHERE Pixie and Dixie = "Missile Bound Cat"
Translate the following into a SQL query
How many Huckleberry Hound episodes were aired on 1960.09.18?
SELECT COUNT Huckleberry Hound FROM table WHERE Air date = 1960.09.18
Translate the following into a SQL query
Who animated "Science Friction"
SELECT Credited Animators FROM table WHERE Huckleberry Hound = "Science Friction"
Translate the following into a SQL query
What is the air date of "Rah Rah Bear"?
SELECT Air date FROM table WHERE Yogi Bear = "Rah Rah Bear"
Translate the following into a SQL query
What episode includes "Cop and Saucer"?
SELECT MIN Ep FROM table WHERE Huckleberry Hound = "Cop and Saucer"
Translate the following into a SQL query
What is the Pixie and Dixie skit in episode 7?
SELECT Pixie and Dixie FROM table WHERE Ep = 7
Translate the following into a SQL query
What is the Yogi Bear that aired on 1959.12.21?
SELECT Yogi Bear FROM table WHERE Air date = 1959.12.21
Translate the following into a SQL query
From brand Yes! FM 101.1, what was the frequency?
SELECT Frequency FROM table WHERE Branding = YES! FM 101.1
Translate the following into a SQL query
If the branding is Yes! FM 91.1 Boracay, what is the power?
SELECT Power (kW) FROM table WHERE Branding = YES! FM 91.1 Boracay
Translate the following into a SQL query
If the call sign is DXYR, what is the branding?
SELECT Branding FROM table WHERE Callsign = DXYR
Translate the following into a SQL query
When divisional semifinals are the playoffs what is the year?
SELECT Year FROM table WHERE Playoffs = Divisional Semifinals
Translate the following into a SQL query
When divisional finals are the playoffs what is the regular season?
SELECT Regular Season FROM table WHERE Playoffs = Divisional Finals
Translate the following into a SQL query
When 1992 is the year how many divisions are there?
SELECT COUNT Division FROM table WHERE Year = 1992
Translate the following into a SQL query
When final is the open cup what is the league?
SELECT League FROM table WHERE Open Cup = Final
Translate the following into a SQL query
When 1995 is the year what is the open cup?
SELECT Open Cup FROM table WHERE Year = 1995
Translate the following into a SQL query
When 2008 is the year how many divisions are there?
SELECT COUNT Division FROM table WHERE Year = 2008
Translate the following into a SQL query
what is the least number of stumps in a game with 13 dismissals
SELECT MIN Stumped FROM table WHERE Dismissals = 13
Translate the following into a SQL query
what is the highest number of dismissals in a match with 8 innings
SELECT COUNT Dismissals FROM table WHERE Innings = 8
Translate the following into a SQL query
what is the rank of adam gilchrist
SELECT COUNT Rank FROM table WHERE Player = Adam Gilchrist
Translate the following into a SQL query
Where is the ballpark of the Twins?
SELECT Location FROM table WHERE Team = Twins
Translate the following into a SQL query
How many locations have been used for ballparks named Memorial Stadium?
SELECT COUNT Location FROM table WHERE Ballpark = Memorial Stadium
Translate the following into a SQL query
When was the park demolished in 1994 closed?
SELECT MIN Closed FROM table WHERE Demod = 1994
Translate the following into a SQL query
Which flag was on the Green Marine's boat?
SELECT Flag FROM table WHERE Builder = Green Marine
Translate the following into a SQL query
Who build the boat where Ken Read was the skipper?
SELECT Builder FROM table WHERE Skipper = Ken Read
Translate the following into a SQL query
Farr Yacht Design designed boats for how many country/flags?
SELECT COUNT Flag FROM table WHERE Design Firm = Farr Yacht Design
Translate the following into a SQL query
Who were the builders of the boat designed by Botin Carkeek?
SELECT Builder FROM table WHERE Design Firm = Botin Carkeek
Translate the following into a SQL query
In how many locations was the episode with the Bailey family filmed?
SELECT COUNT Location(s) FROM table WHERE Family/families = The Bailey Family
Translate the following into a SQL query
How many episodes with different season numbers had the Jeans family in them?
SELECT COUNT No. in season FROM table WHERE Family/families = The Jeans Family
Translate the following into a SQL query
When did the episode with the Ririe family air for the first time?
SELECT Original air date FROM table WHERE Family/families = The Ririe Family
Translate the following into a SQL query
Where was the episode with series number US9 filmed?
SELECT Location(s) FROM table WHERE No. in series = US9
Translate the following into a SQL query
What's the season number of the episode with series number US6?
SELECT MIN No. in season FROM table WHERE No. in series = US6
Translate the following into a SQL query
What family was featured in episode us14 of the series?
SELECT Family/families FROM table WHERE No. in series = US14
Translate the following into a SQL query
How many locations featured the Webb Family?
SELECT COUNT Location(s) FROM table WHERE Family/families = The Webb Family
Translate the following into a SQL query
What episode in the season was episode us17 in the series?
SELECT COUNT No. in season FROM table WHERE No. in series = US17
Translate the following into a SQL query
What episode in the season was episode us18 in the series?
SELECT COUNT No. in season FROM table WHERE No. in series = US18
Translate the following into a SQL query
What episode in the series was the Amaral family featured?
SELECT No. in series FROM table WHERE Family/families = The Amaral Family
Translate the following into a SQL query
Who is the round winner when entrant is craven mild racing?
SELECT Round winner FROM table WHERE Entrant = Craven Mild Racing
Translate the following into a SQL query
Who is the round winner of the wanneroo park circuit?
SELECT Round winner FROM table WHERE Circuit = Wanneroo Park
Translate the following into a SQL query
Which circuit has two heats as the format?
SELECT Circuit FROM table WHERE Format = Two heats
Translate the following into a SQL query
Name the original air date for the potter family
SELECT Original air date FROM table WHERE Family/families = The Potter Family
Translate the following into a SQL query
how many original air date where family/families is the ryder family and the schwartz family
SELECT COUNT Original air date FROM table WHERE Family/families = The Ryder Family and The Schwartz Family
Translate the following into a SQL query
where was the abbas family and the pickering family located
SELECT Location(s) FROM table WHERE Family/families = The Abbas Family and The Pickering Family
Translate the following into a SQL query
in which class is the position forward
SELECT Class FROM table WHERE Position = Forward
Translate the following into a SQL query
in which season the position was center
SELECT Season FROM table WHERE Position = Center
Translate the following into a SQL query
in which class was the ohio state university
SELECT Class FROM table WHERE University = Ohio State
Translate the following into a SQL query
Name the number of families for uk30
SELECT COUNT Family/families FROM table WHERE No. overall = UK30
Translate the following into a SQL query
Name the number in series for in the ward family and the wren family
SELECT MAX No. in series FROM table WHERE Family/families = The Ward Family and The Wren Family
Translate the following into a SQL query
Name the family for uk31
SELECT Family/families FROM table WHERE No. overall = UK31
Translate the following into a SQL query
Name the least number in series
SELECT MIN No. in series FROM table
Translate the following into a SQL query
Name the number of locations for uk32
SELECT COUNT Location(s) FROM table WHERE No. overall = UK32
Translate the following into a SQL query
Name the air date for uk17
SELECT Original air date FROM table WHERE No. overall = UK17
Translate the following into a SQL query
Name the family/families uk17
SELECT Family/families FROM table WHERE No. overall = UK17
Translate the following into a SQL query
What is the number of the truck that has the crew chief Billy Wilburn?
SELECT MAX # FROM table WHERE Crew Chief = Billy Wilburn
Translate the following into a SQL query
What number truck is owned by Stephen Germain?
SELECT # FROM table WHERE Listed Owner(s) = Stephen Germain
Translate the following into a SQL query
What team is sponsored by d3 Outdoors?
SELECT Team FROM table WHERE Primary Sponsor(s) = D3 Outdoors