instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
how many race car drivers out of the 43 listed drove toyotas ?
### Response:
| SELECT COUNT(*) FROM table_203_529 WHERE "make" = 'toyota' |
### Instruction:
How many episodes in season 6 titles 'Poppin' Tags'?
### Response:
| SELECT COUNT("No. in season") FROM table_90 WHERE "Title" = 'Poppin'' Tags' |
### Instruction:
For the game against the Washington Bullets, what was the final score?
### Response:
| SELECT "Score" FROM table_46557 WHERE "Opponent" = 'washington bullets' |
### Instruction:
What was the tie number with the away team of Sheffield Wednesday?
### Response:
| SELECT tie_no FROM table_name_63 WHERE away_team = "sheffield wednesday" |
### Instruction:
What was the score for the opponent florida panthers?
### Response:
| SELECT COUNT("Score") FROM table_74118 WHERE "Opponent" = 'Florida Panthers' |
### Instruction:
Which Election has a 1st Member of james parker?
### Response:
| SELECT "Election" FROM table_12843 WHERE "1st Member" = 'james parker' |
### Instruction:
What is the location of the match with an event of ecc 8: comeback?
### Response:
| SELECT location FROM table_name_49 WHERE event = "ecc 8: comeback" |
### Instruction:
When 74804 is the attendance what week is it?
### Response:
| SELECT week FROM table_14941284_1 WHERE attendance = 74804 |
### Instruction:
Which Byes have a Lexton Plains of skipton?
### Response:
| SELECT MAX("Byes") FROM table_62707 WHERE "Lexton Plains" = 'skipton' |
### Instruction:
Who is the writer with the ratings 14.8?
### Response:
| SELECT "Writer" FROM table_28795 WHERE "Ratings (Kanto)" = '14.8' |
### Instruction:
What Luca Barbarossa song had a draw smaller than 20?
### Response:
| SELECT song FROM table_name_17 WHERE draw < 20 AND artist = "luca barbarossa" |
### Instruction:
What's the total time for the summer universiade competition?
### Response:
| SELECT COUNT("Time") FROM table_12826 WHERE "Competition" = 'summer universiade' |
### Instruction:
What was the score of the player who earned $5,000?
### Response:
| SELECT "Score" FROM table_8403 WHERE "Money ($)" = '5,000' |
### Instruction:
Name the date with loss of carman (3-12)
### Response:
| SELECT "Date" FROM table_75607 WHERE "Loss" = 'carman (3-12)' |
### Instruction:
What are the points in the season with 47 games and 28 goals?
### Response:
| SELECT points FROM table_name_38 WHERE goals = "28" AND games = "47" |
### Instruction:
Which formula had a driver of John Moore-Brabazon?
### Response:
| SELECT "Formula" FROM table_65993 WHERE "Driver" = 'john moore-brabazon' |
### Instruction:
Who did the Flames play against when Stephen Lee was the man of the match?
### Response:
| SELECT opponent FROM table_name_6 WHERE man_of_the_match = "stephen lee" |
### Instruction:
What was the highest number on money list rank for Angela Stanford's career?
### Response:
| SELECT MAX(money_list_rank) FROM table_14836185_3 |
### Instruction:
Who, was the coach with an actual adjusted record of 0 19?
### Response:
| SELECT coach FROM table_name_2 WHERE actual_adjusted_record = "0–19" |
### Instruction:
what is admission type of subject id 21796?
### Response:
| SELECT demographic.admission_type FROM demographic WHERE demographic.subject_id = "21796" |
### Instruction:
hemodynamic instability / shock or severe congestive heart failure
### Response:
| SELECT * FROM table_test_9 WHERE hemodynamic_instability = 1 OR heart_disease = 1 |
### Instruction:
Which opponent has a record of 52-52?
### Response:
| SELECT "Opponent" FROM table_15696 WHERE "Record" = '52-52' |
### Instruction:
Which Date has an Attendance of 57,013?
### Response:
| SELECT "Date" FROM table_38608 WHERE "Attendance" = '57,013' |
### Instruction:
what opponent was competed against the most often ?
### Response:
| SELECT "opponent" FROM table_204_520 GROUP BY "opponent" ORDER BY COUNT(*) DESC LIMIT 1 |
### Instruction:
how many times is the location is homestead, florida?
### Response:
| SELECT COUNT("Pole position") FROM table_74056 WHERE "Location" = 'Homestead, Florida' |
### Instruction:
Which Geelong DFL has 8 losses and more than 4 wins?
### Response:
| SELECT geelong_dfl FROM table_name_87 WHERE wins > 4 AND losses = 8 |
### Instruction:
What is the competition that occured on 27 July 2004?
### Response:
| SELECT competition FROM table_name_98 WHERE date = "27 july 2004" |
### Instruction:
What is the number of the game that was played in the time of 2:38?
### Response:
| SELECT MAX(game) FROM table_name_95 WHERE time = "2:38" |
### Instruction:
Where in 1985 was tim mayotte runner up?
### Response:
| SELECT location FROM table_name_13 WHERE year > 1985 AND runner_up = "tim mayotte" |
### Instruction:
how many world green cars are there before 2007 ?
### Response:
| SELECT SUM("world green car") FROM table_203_838 WHERE "year" < 2007 |
### Instruction:
What award did Forest Whitaker win in 1989?
### Response:
| SELECT award FROM table_name_54 WHERE actor = "forest whitaker" AND year = 1989 |
### Instruction:
Tell me the launched for august 31, 1964
### Response:
| SELECT launched FROM table_name_23 WHERE commissioned = "august 31, 1964" |
### Instruction:
what is the date when the away team is bolton wanderers?
### Response:
| SELECT "Date" FROM table_14036 WHERE "Away team" = 'bolton wanderers' |
### Instruction:
How many matches were won by the teams that scored exactly 61 tries for?
### Response:
| SELECT "Won" FROM table_74083 WHERE "Tries for" = '61' |
### Instruction:
What is the total number of passengers of the airport ranked 15?
### Response:
| SELECT "International Passengers" FROM table_19007 WHERE "Rank" = '15' |
### Instruction:
what number of competitions were held in 2010 ?
### Response:
| SELECT COUNT("competition") FROM table_203_781 WHERE "year" = 2010 |
### Instruction:
What's the format of the season that ended on June 25?
### Response:
| SELECT "Format" FROM table_23027 WHERE "End Date" = 'June 25' |
### Instruction:
which religion has the highest percentage represented in india ?
### Response:
| SELECT "religious\ngroup" FROM table_203_90 ORDER BY "population\n%" DESC LIMIT 1 |
### Instruction:
When the year was 1992, what were the points won?
### Response:
| SELECT points_won FROM table_1628607_5 WHERE year = "1992" |
### Instruction:
Who is the person with the defining characteristic of the shortest band member?
### Response:
| SELECT "Real Name" FROM table_53027 WHERE "Defining characteristics" = 'shortest band member' |
### Instruction:
Name the total number of people that went when the record was 16-22
### Response:
| SELECT COUNT(attendance) FROM table_name_32 WHERE record = "16-22" |
### Instruction:
who won the women's singles in 1992?
### Response:
| SELECT "Women's singles" FROM table_68944 WHERE "Year" = '1992' |
### Instruction:
What is the total of Frequency MHz with a Class of b1?
### Response:
| SELECT SUM("Frequency MHz") FROM table_69060 WHERE "Class" = 'b1' |
### Instruction:
What is Team 1 when Team 2 is Jac Port-Gentil?
### Response:
| SELECT team_1 FROM table_name_77 WHERE team_2 = "jac port-gentil" |
### Instruction:
how many secretary of states were under prime minister macdonald ?
### Response:
| SELECT COUNT("secretary of state") FROM table_201_27 WHERE "prime minister" = 'macdonald' |
### Instruction:
What is the name of the recipient when the director was Susan Jacobson?
### Response:
| SELECT recipient FROM table_name_31 WHERE director_s_ = "susan jacobson" |
### Instruction:
Name the 1st place for limoges csp
### Response:
| SELECT "1st Place" FROM table_24144 WHERE "3rd Place" = 'Limoges CSP' |
### Instruction:
Loss of francis (4 9) has what highest attendance figure?
### Response:
| SELECT MAX(attendance) FROM table_name_45 WHERE loss = "francis (4–9)" |
### Instruction:
What is every CFL team with the player Mark Farraway?
### Response:
| SELECT cfl_team FROM table_28059992_1 WHERE player = "Mark Farraway" |
### Instruction:
Who is the current champion in the NECW Heavyweight Championship?
### Response:
| SELECT current_champion_s_ FROM table_name_44 WHERE championship = "necw heavyweight champion" |
### Instruction:
Which Tournament has a Date of jul 14, 2013?
### Response:
| SELECT tournament FROM table_name_6 WHERE date = "jul 14, 2013" |
### Instruction:
how many points did the brazilian football team auto get in 1926 ?
### Response:
| SELECT "points" FROM table_203_654 WHERE "team" = 'auto' |
### Instruction:
When the Overall is under 102, what's the round played?
### Response:
| SELECT "Round" FROM table_9205 WHERE "Overall" < '102' |
### Instruction:
what is the score when the competition is 1995 southeast asian games?
### Response:
| SELECT score FROM table_name_1 WHERE competition = "1995 southeast asian games" |
### Instruction:
How many picks were taken before round 3 and played Linebacker?
### Response:
| SELECT COUNT(pick) FROM table_name_41 WHERE position = "linebacker" AND round < 3 |
### Instruction:
what's the race winner with location being jacarepagu
### Response:
| SELECT race AS Winner FROM table_1140074_2 WHERE location = "Jacarepaguá" |
### Instruction:
Having 429 points against, what is the Tries Against?
### Response:
| SELECT tries_against FROM table_name_24 WHERE points_against = "429" |
### Instruction:
How many seasons did Apocalypstix place 2nd?
### Response:
| SELECT COUNT("Season") FROM table_31265 WHERE "Apocalypstix" = '2nd' |
### Instruction:
What is the accrediation for united tribes technical college?
### Response:
| SELECT "Accreditation" FROM table_2330 WHERE "School" = 'United Tribes Technical College' |
### Instruction:
Who was the bachelorette of the season where ian mckee was the winner?
### Response:
| SELECT bachelorette FROM table_name_20 WHERE winner = "ian mckee" |
### Instruction:
what's the result with opponent being at new england patriots
### Response:
| SELECT result FROM table_14951643_1 WHERE opponent = "at New England Patriots" |
### Instruction:
Name the truck for eric phillips
### Response:
| SELECT truck_s_ FROM table_24535095_2 WHERE crew_chief = "Eric Phillips" |
### Instruction:
What is the fee (if applicable) for Norway?
### Response:
| SELECT "Fee (if applicable)" FROM table_28212 WHERE "Countries and Territories" = 'Norway' |
### Instruction:
What is the name of the flag that means decimal digit 2?
### Response:
| SELECT "Flag Name" FROM table_74437 WHERE "Meaning" = 'Decimal Digit 2' |
### Instruction:
What is the date of the 200m individual medley?
### Response:
| SELECT "Date" FROM table_61223 WHERE "Event" = '200m individual medley' |
### Instruction:
Which Record that has a Loss of mays (0-3)?
### Response:
| SELECT "Record" FROM table_14565 WHERE "Loss" = 'mays (0-3)' |
### Instruction:
How many were in attendance when the score was 4 4 ?
### Response:
| SELECT "Attendance" FROM table_56591 WHERE "Score" = '† 4–4 †' |
### Instruction:
What is the host team with the stadium Lincoln Financial Field?
### Response:
| SELECT "Host team" FROM table_68708 WHERE "Stadium" = 'lincoln financial field' |
### Instruction:
who were the candidates when the incumbent was ed derwinski?
### Response:
| SELECT candidates FROM table_1341718_14 WHERE incumbent = "Ed Derwinski" |
### Instruction:
what's the tries against with tries for being 47
### Response:
| SELECT tries_against FROM table_12828723_3 WHERE tries_for = "47" |
### Instruction:
how many founded dates are listed for carlow university 1
### Response:
| SELECT COUNT(founded) FROM table_10581768_2 WHERE institution = "Carlow University 1" |
### Instruction:
What is the total viewership where the title is ' your cheating art '.
### Response:
| SELECT "Viewership" FROM table_21858 WHERE "Original title" = ' Your Cheating Art ' |
### Instruction:
What was the final score for the tie where Leeds United was the home team?
### Response:
| SELECT "Score" FROM table_79187 WHERE "Home team" = 'leeds united' |
### Instruction:
What was the built data for Knocklayd rebuild?
### Response:
| SELECT "Built" FROM table_17421 WHERE "Name as rebuilt" = 'Knocklayd' |
### Instruction:
What was the Tie no when the away team was east thurrock united?
### Response:
| SELECT tie_no FROM table_name_8 WHERE away_team = "east thurrock united" |
### Instruction:
Whas is the released date of the memory type ddr2-667?
### Response:
| SELECT released FROM table_name_42 WHERE memory_type = "ddr2-667" |
### Instruction:
Which catalog was published on December 19, 2001?
### Response:
| SELECT catalog FROM table_name_89 WHERE date = "december 19, 2001" |
### Instruction:
how long did it take ryosuke irie to finish ?
### Response:
| SELECT "time" FROM table_204_835 WHERE "name" = 'ryosuke irie' |
### Instruction:
What is the size of the crowd when the home team is Fitzroy?
### Response:
| SELECT COUNT("Crowd") FROM table_54374 WHERE "Home team" = 'fitzroy' |
### Instruction:
How many have the title 'the tale of the room for rent
### Response:
| SELECT COUNT("#") FROM table_16126 WHERE "Title" = 'The Tale of the Room for Rent' |
### Instruction:
What is High Assists, when Date is 'November 1'?
### Response:
| SELECT "High assists" FROM table_45500 WHERE "Date" = 'november 1' |
### Instruction:
What is the Established date of the Brian Timmis Stadium?
### Response:
| SELECT COUNT(established) FROM table_name_57 WHERE venue = "brian timmis stadium" |
### Instruction:
What release date has 6998 as the production num.?
### Response:
| SELECT "Release date" FROM table_66386 WHERE "Production Num." = '6998' |
### Instruction:
Find all the result(s) with the record of 2-13.
### Response:
| SELECT result FROM table_11449311_2 WHERE record = "2-13" |
### Instruction:
WHAT IS THE SCORE WITH A TIE NUMBER OF 13?
### Response:
| SELECT "Score" FROM table_10058 WHERE "Tie no" = '13' |
### Instruction:
What is the nationality of the person with number 27?
### Response:
| SELECT "Nationality" FROM table_43678 WHERE "Jersey Number(s)" = '27' |
### Instruction:
What away team scored 107-104?
### Response:
| SELECT "Away team" FROM table_44704 WHERE "Score" = '107-104' |
### Instruction:
Tell me the nomination for peresohla zemlia
### Response:
| SELECT "Nomination" FROM table_31810 WHERE "Film Name" = 'peresohla zemlia' |
### Instruction:
What locations are considered centre?
### Response:
| SELECT "Power (MW\u00b7hr/yr)" FROM table_73952 WHERE "Location (county)" = 'Centre' |
### Instruction:
What was the streak at the game at the Miami Orange Bowl?
### Response:
| SELECT "Streak" FROM table_9613 WHERE "Stadium" = 'miami orange bowl' |
### Instruction:
Compare the number of items in each color scheme using a bar chart, and sort Y in desc order.
### Response:
| SELECT color, COUNT(color) FROM photos GROUP BY color ORDER BY COUNT(color) DESC |
### Instruction:
How many pages does the story h 87112 have?
### Response:
| SELECT "Pages" FROM table_4635 WHERE "Story code" = 'h 87112' |
### Instruction:
What is the Date of the Int'l Debut of 1967?
### Response:
| SELECT "Date" FROM table_64941 WHERE "Year" = '1967' |
### Instruction:
What is the average oveall pick for players from the college of Miami (FL)?
### Response:
| SELECT AVG(overall) FROM table_name_69 WHERE college = "miami (fl)" |
### Instruction:
What is the average price for flights from Los Angeles to Honolulu.
### Response:
| SELECT AVG(price) FROM Flight WHERE origin = "Los Angeles" AND destination = "Honolulu" |
### Instruction:
What is the number of directors for the film title Eldra?
### Response:
| SELECT COUNT("Director") FROM table_28650 WHERE "Film title" = 'Eldra' |
### Instruction:
What are the mhz when the profile is 8b?
### Response:
| SELECT "Bandwidth ( MHz )" FROM table_26428 WHERE "Profile" = '8b' |
### Instruction:
what is the total when the rank is total and the silver is less than 10?
### Response:
| SELECT SUM(total) FROM table_name_35 WHERE rank = total AND silver < 10 |
### Instruction:
When party did the incumbent in the Arkansas 5 district belong to?
### Response:
| SELECT party FROM table_1341897_6 WHERE district = "Arkansas 5" |
### Instruction:
WHAT IS THE TRIES WITH POINTS 190?
### Response:
| SELECT "Tries for" FROM table_59346 WHERE "Points for" = '190' |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.