instruction
stringlengths 5
766
| input
stringlengths 38
5.51k
| response
stringlengths 4
3.91k
|
---|---|---|
How many different play-by-play announcers also had pregame analysis by Darren Flutie, Eric Tillman and Greg Frers? | CREATE TABLE table_21830 (
"Year" real,
"Network" text,
"Play-by-play" text,
"Colour commentator(s)" text,
"Sideline reporters" text,
"Pregame host" text,
"Pregame analysts" text
) | SELECT COUNT("Play-by-play") FROM table_21830 WHERE "Pregame analysts" = 'Darren Flutie, Eric Tillman and Greg Frers' |
What is the sum of Goals, when Matches is less than 29? | CREATE TABLE table_78960 (
"Goalkeeper" text,
"Goals" real,
"Matches" real,
"Average" real,
"Team" text
) | SELECT SUM("Goals") FROM table_78960 WHERE "Matches" < '29' |
What is the Result where Goal is 9? | CREATE TABLE table_70866 (
"Goal" real,
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
) | SELECT "Result" FROM table_70866 WHERE "Goal" = '9' |
How many dates did David Savage get man of the match? | CREATE TABLE table_21355 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real,
"Competition" text,
"Man of the Match" text
) | SELECT COUNT("Date") FROM table_21355 WHERE "Man of the Match" = 'David Savage' |
When Naomi Owen won the Womens Singles and Ricardo Walther won the Mens Singles, who won the mixed veteran? | CREATE TABLE table_74251 (
"Date/Location" text,
"Mens singles" text,
"Womens Singles" text,
"U21 Mens" text,
"U21 Womens" text,
"Mixed Restricted" text,
"Mixed Veteran" text
) | SELECT "Mixed Veteran" FROM table_74251 WHERE "Womens Singles" = 'Naomi Owen' AND "Mens singles" = 'Ricardo Walther' |
Who was the rookie that played week 6? | CREATE TABLE table_6047 (
"Month" text,
"Week" real,
"Offensive" text,
"Defensive" text,
"Goalkeeper" text,
"Rookie" text
) | SELECT "Rookie" FROM table_6047 WHERE "Week" = '6' |
after the 1990/91 season , which place was earned in the next season ? | CREATE TABLE table_204_79 (
id number,
"season" text,
"tier" number,
"division" text,
"place" text
) | SELECT "place" FROM table_204_79 WHERE "season" > '1990/91' ORDER BY "season" LIMIT 1 |
What is the flange thickness when the weight is 19.9? | CREATE TABLE table_2071644_2 (
flange_thickness__mm_ VARCHAR,
weight__kg_m_ VARCHAR
) | SELECT flange_thickness__mm_ FROM table_2071644_2 WHERE weight__kg_m_ = "19.9" |
What is the average Area (in km ), when Markatal is less than 0? | CREATE TABLE table_46968 (
"Municipality" text,
"Population" real,
"Inhabitants per km\u00b2" real,
"Area (in km\u00b2)" real,
"Markatal" real,
"Island" text,
"Region" text
) | SELECT AVG("Area (in km\u00b2)") FROM table_46968 WHERE "Markatal" < '0' |
What is the agg when team #2 is 2006 UEFA Intertoto Cup? | CREATE TABLE table_48302 (
"Round" text,
"Team #1" text,
"Agg." text,
"Team #2" text,
"1st leg" text,
"2nd leg" text
) | SELECT "Agg." FROM table_48302 WHERE "Team #2" = '2006 uefa intertoto cup' |
what is the title when the imprint is dengeki bunko and the artist is kiyotaka haimura? | CREATE TABLE table_9571 (
"Year" real,
"Character" text,
"Title" text,
"Author" text,
"Artist" text,
"Imprint" text
) | SELECT "Title" FROM table_9571 WHERE "Imprint" = 'dengeki bunko' AND "Artist" = 'kiyotaka haimura' |
How many verbs mean to grow, to produce | CREATE TABLE table_21725 (
"Class" text,
"Part 1" text,
"Part 2" text,
"Part 3" text,
"Part 4" text,
"Verb meaning" text
) | SELECT COUNT("Part 1") FROM table_21725 WHERE "Verb meaning" = 'to grow, to produce' |
What Genre did S ndor Sim direct? | CREATE TABLE table_68838 (
"Original title" text,
"Title in English" text,
"Genre" text,
"Role" text,
"Directed by" text
) | SELECT "Genre" FROM table_68838 WHERE "Directed by" = 'sándor simó' |
What was the 2009 final placing? | CREATE TABLE table_name_17 (
final_placing VARCHAR,
season VARCHAR
) | SELECT final_placing FROM table_name_17 WHERE season = 2009 |
What time was the game during week 5? | CREATE TABLE table_38501 (
"Week" real,
"Date" text,
"Opponent" text,
"Location" text,
"Time ( ET )" text,
"Result" text,
"Record" text
) | SELECT "Time ( ET )" FROM table_38501 WHERE "Week" = '5' |
Name the number of ends lost for 6 stolen ends | CREATE TABLE table_28987 (
"Country" text,
"Skip" text,
"W" real,
"L" real,
"PF" real,
"PA" real,
"Ends Won" real,
"Ends Lost" real,
"Blank Ends" real,
"Stolen Ends" real,
"Shot %" text
) | SELECT COUNT("Ends Lost") FROM table_28987 WHERE "Stolen Ends" = '6' |
What was Eduardo Romero's score? | CREATE TABLE table_name_59 (
score VARCHAR,
player VARCHAR
) | SELECT score FROM table_name_59 WHERE player = "eduardo romero" |
What is the lowest of the athlete from sri lanka who has a lane greater than 8? | CREATE TABLE table_name_62 (
react INTEGER,
country VARCHAR,
lane VARCHAR
) | SELECT MIN(react) FROM table_name_62 WHERE country = "sri lanka" AND lane > 8 |
What director has 2004-03-31 as the release date, with daffy (as duck dodgers) as the character? | CREATE TABLE table_name_93 (
director VARCHAR,
release_date VARCHAR,
characters VARCHAR
) | SELECT director FROM table_name_93 WHERE release_date = "2004-03-31" AND characters = "daffy (as duck dodgers)" |
In 2005-06 what was the disaster? | CREATE TABLE table_11649123_1 (
disaster VARCHAR,
year VARCHAR
) | SELECT disaster FROM table_11649123_1 WHERE year = "2005-06" |
What's the Area with a Density of 263? | CREATE TABLE table_11104 (
"Suburb" text,
"Population (in 2008)" real,
"Median age (in 2006)" text,
"Mean household size (in 2006)" text,
"Area (km\u00b2)" real,
"Density (/km\u00b2)" real,
"Date first settled as a suburb" real,
"Gazetted as a Division Name" text
) | SELECT AVG("Area (km\u00b2)") FROM table_11104 WHERE "Density (/km\u00b2)" = '263' |
Bronze smaller than 5, and a Silver larger than 0 is which nation? | CREATE TABLE table_name_66 (
nation VARCHAR,
bronze VARCHAR,
silver VARCHAR
) | SELECT nation FROM table_name_66 WHERE bronze < 5 AND silver > 0 |
What was the reading score in the year the science score was 96.13? | CREATE TABLE table_27576 (
"School Year" text,
"Language" text,
"Science" text,
"Reading" text,
"Mathematics" text,
"Social Studies" text
) | SELECT "Reading" FROM table_27576 WHERE "Science" = '96.13' |
How many opponents were there when the record was 6-0? | CREATE TABLE table_21197135_1 (
date VARCHAR,
record VARCHAR
) | SELECT date FROM table_21197135_1 WHERE record = "6-0" |
What is the smallest Pick with Overall larger than 17, a Player name of dave adams category:articles with hcards, and a Year larger than 1963? | CREATE TABLE table_60085 (
"Year" real,
"Round" real,
"Pick" real,
"Overall" real,
"Player name" text,
"Position" text,
"AFL team" text
) | SELECT MIN("Pick") FROM table_60085 WHERE "Overall" > '17' AND "Player name" = 'dave adams category:articles with hcards' AND "Year" > '1963' |
What is the name of the home team that played against Hawthorn? | CREATE TABLE table_53059 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Home team" FROM table_53059 WHERE "Away team" = 'hawthorn' |
Which format had a United States region and a date of August 11, 2009? | CREATE TABLE table_52353 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalogue" text
) | SELECT "Format" FROM table_52353 WHERE "Region" = 'united states' AND "Date" = 'august 11, 2009' |
How many round of 32 results are followed by Polidori ( Ita ) w 6-1, 3-6, 6-3 in the round of 16? | CREATE TABLE table_18602462_22 (
round_of_32 VARCHAR,
round_of_16 VARCHAR
) | SELECT COUNT(round_of_32) FROM table_18602462_22 WHERE round_of_16 = "Polidori ( ITA ) W 6-1, 3-6, 6-3" |
how many matches were held in the netherlands ? | CREATE TABLE table_204_53 (
id number,
"date" text,
"result" text,
"opponent" text,
"event" text,
"location" text,
"method" text,
"round" number,
"time" text
) | SELECT COUNT("event") FROM table_204_53 WHERE "location" = 'netherlands' |
What is the lowest 13.5-inch/1400lb with a 13.5-inch/1250lb of more than 1, and a 12-inch smaller than 8? | CREATE TABLE table_41095 (
"Ship" text,
"13.5-inch/1400lb" real,
"13.5-inch/1250lb" real,
"12-inch" real,
"Total" real
) | SELECT MIN("13.5-inch/1400lb") FROM table_41095 WHERE "13.5-inch/1250lb" > '1' AND "12-inch" < '8' |
How many lowest mark entries are there when % passed is 76? | CREATE TABLE table_31361 (
"Subject" text,
"No. Sat" real,
"No. Passed" real,
"% Pass" real,
"Highest mark" real,
"Lowest mark" real,
"Mean" real
) | SELECT COUNT("Lowest mark") FROM table_31361 WHERE "% Pass" = '76' |
How many years did Paul Griffin play for the Jazz? | CREATE TABLE table_11545282_7 (
years_for_jazz VARCHAR,
player VARCHAR
) | SELECT COUNT(years_for_jazz) FROM table_11545282_7 WHERE player = "Paul Griffin" |
How many rain figures are provided for sunlight hours in 1966? | CREATE TABLE table_17829 (
"City/Town" text,
"July av. T" text,
"Rain" text,
"Days with rain (year/summer)" text,
"Days with frost" real,
"Sunlight hours" real
) | SELECT COUNT("Rain") FROM table_17829 WHERE "Sunlight hours" = '1966' |
geno hayes and nick roach both played which position ? | CREATE TABLE table_204_783 (
id number,
"position" text,
"player" text,
"free agency\ntag" text,
"date signed" text,
"2013 team" text
) | SELECT "position" FROM table_204_783 WHERE "player" = 'geno hayes' |
What are the different customer ids, and how many cards does each one hold? | CREATE TABLE customers_cards (
card_id number,
customer_id number,
card_type_code text,
card_number text,
date_valid_from time,
date_valid_to time,
other_card_details text
)
CREATE TABLE customers (
customer_id number,
customer_first_name text,
customer_last_name text,
customer_address text,
customer_phone text,
customer_email text,
other_customer_details text
)
CREATE TABLE accounts (
account_id number,
customer_id number,
account_name text,
other_account_details text
)
CREATE TABLE financial_transactions (
transaction_id number,
previous_transaction_id number,
account_id number,
card_id number,
transaction_type text,
transaction_date time,
transaction_amount number,
transaction_comment text,
other_transaction_details text
) | SELECT customer_id, COUNT(*) FROM customers_cards GROUP BY customer_id |
What is the original team of the celebrity who had the result 08 fired in week 10 (2008-03-06) | CREATE TABLE table_489 (
"Celebrity" text,
"Background" text,
"Original Team" text,
"Age" real,
"Hometown" text,
"Charity" text,
"Result" text,
"Raised" text
) | SELECT "Original Team" FROM table_489 WHERE "Result" = '08 Fired in week 10 (2008-03-06)' |
What is the name of immunity when the finish is 3rd voted out day 9? | CREATE TABLE table_28742659_2 (
immunity VARCHAR,
finish VARCHAR
) | SELECT immunity FROM table_28742659_2 WHERE finish = "3rd voted Out Day 9" |
Who directed the episode with an audience of 14.11 million? | CREATE TABLE table_27776266_1 (
directed_by VARCHAR,
us_viewers__million_ VARCHAR
) | SELECT directed_by FROM table_27776266_1 WHERE us_viewers__million_ = "14.11" |
total number of wins | CREATE TABLE table_203_648 (
id number,
"date" text,
"opposition" text,
"result" text,
"score" text,
"brazil scorers" text,
"competition" text
) | SELECT COUNT(*) FROM table_203_648 WHERE "result" = 'w' |
Who wrote the story viewed by 0.53 million viewers? | CREATE TABLE table_26914076_3 (
story_by VARCHAR,
us_viewers__millions_ VARCHAR
) | SELECT story_by FROM table_26914076_3 WHERE us_viewers__millions_ = "0.53" |
What is Date, when Tournament is Alfred Dunhill Championship 1? | CREATE TABLE table_name_87 (
date VARCHAR,
tournament VARCHAR
) | SELECT date FROM table_name_87 WHERE tournament = "alfred dunhill championship 1" |
Which Altitude (mslm) is the highest one that has an Area (km 2) smaller than 13.01, and a Population of 74536, and a Density (inhabitants/km 2) larger than 5869? | CREATE TABLE table_name_20 (
altitude__mslm_ INTEGER,
density__inhabitants_km_2__ VARCHAR,
area__km_2__ VARCHAR,
population VARCHAR
) | SELECT MAX(altitude__mslm_) FROM table_name_20 WHERE area__km_2__ < 13.01 AND population = 74536 AND density__inhabitants_km_2__ > 5869 |
How many picks on average did Jay Bruchak have before round 6? | CREATE TABLE table_65728 (
"Round" real,
"Pick" real,
"Player" text,
"Nationality" text,
"College" text
) | SELECT AVG("Pick") FROM table_65728 WHERE "Player" = 'jay bruchak' AND "Round" < '6' |
Who had the most points and how many did they have on April 22? | CREATE TABLE table_27700530_15 (
high_points VARCHAR,
date VARCHAR
) | SELECT high_points FROM table_27700530_15 WHERE date = "April 22" |
What number (#) is associated with the Name Ron Baxter? | CREATE TABLE table_12032893_1 (
_number VARCHAR,
name VARCHAR
) | SELECT COUNT(_number) FROM table_12032893_1 WHERE name = "Ron Baxter" |
What away team has 7 as the tie no.? | CREATE TABLE table_name_38 (
away_team VARCHAR,
tie_no VARCHAR
) | SELECT away_team FROM table_name_38 WHERE tie_no = "7" |
Which venue has a Home team of south melbourne? | CREATE TABLE table_name_88 (
venue VARCHAR,
home_team VARCHAR
) | SELECT venue FROM table_name_88 WHERE home_team = "south melbourne" |
What was the aggregate score that had a 1-2 second leg score? | CREATE TABLE table_78933 (
"Home (1st leg)" text,
"Home (2nd leg)" text,
"1st Leg" text,
"2nd leg" text,
"Aggregate" text
) | SELECT "Aggregate" FROM table_78933 WHERE "2nd leg" = '1-2' |
Which date released had a Democratic Alternative value of 1% and Labour of 34%? | CREATE TABLE table_66678 (
"Date(s) Released" text,
"Polling institute" text,
"Nationalist" text,
"Labour" text,
"Democratic Alternative" text,
"Undecided/ No answer" text,
"Lead" text
) | SELECT "Date(s) Released" FROM table_66678 WHERE "Democratic Alternative" = '1%' AND "Labour" = '34%' |
Tell me the time for martin kampmann | CREATE TABLE table_54311 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Round" real,
"Time" text,
"Location" text
) | SELECT "Time" FROM table_54311 WHERE "Opponent" = 'martin kampmann' |
who is ranked # 1 ? | CREATE TABLE table_204_302 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
) | SELECT "nation" FROM table_204_302 WHERE "rank" = 1 |
what is the cfl team for position d? | CREATE TABLE table_49152 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
) | SELECT "CFL Team" FROM table_49152 WHERE "Position" = 'd' |
what is the place when the score is 76-69-71-70=286? | CREATE TABLE table_46191 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
) | SELECT "Place" FROM table_46191 WHERE "Score" = '76-69-71-70=286' |
For those products with a price between 60 and 120, return a bar chart about the distribution of name and price , and order in ascending by the Y. | CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
) | SELECT Name, Price FROM Products WHERE Price BETWEEN 60 AND 120 ORDER BY Price |
What was the average crowd attendance for the Junction Oval venue? | CREATE TABLE table_name_36 (
crowd INTEGER,
venue VARCHAR
) | SELECT AVG(crowd) FROM table_name_36 WHERE venue = "junction oval" |
For those records from the products and each product's manufacturer, show me about the correlation between code and code , and group by attribute headquarter in a scatter chart. | CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
) | SELECT T1.Code, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter |
how many years is the chart for ? | CREATE TABLE table_204_88 (
id number,
"year" number,
"english title" text,
"japanese" text,
"romanization" text,
"type" text
) | SELECT MAX("year") - MIN("year") + 1 FROM table_204_88 |
Name the highest Channel with an Aspect of 4:3, and a PSIP Short Name of ibc-tv? | CREATE TABLE table_name_12 (
channel INTEGER,
aspect VARCHAR,
psip_short_name VARCHAR
) | SELECT MAX(channel) FROM table_name_12 WHERE aspect = "4:3" AND psip_short_name = "ibc-tv" |
What is the Chinese title with a premiere rating of 31? | CREATE TABLE table_name_91 (
chinese_title VARCHAR,
premiere VARCHAR
) | SELECT chinese_title FROM table_name_91 WHERE premiere = 31 |
Which rank has a more than 0 silver, 4 bronze, and a total smaller than 10? | CREATE TABLE table_name_34 (
rank INTEGER,
total VARCHAR,
silver VARCHAR,
bronze VARCHAR
) | SELECT SUM(rank) FROM table_name_34 WHERE silver > 0 AND bronze = 4 AND total < 10 |
which country won swimming track & field when lexington won swimming and madison won volleyball | CREATE TABLE table_16423070_4 (
track_ VARCHAR,
_field VARCHAR,
swimming VARCHAR,
volleyball VARCHAR
) | SELECT track_ & _field FROM table_16423070_4 WHERE swimming = "Lexington" AND volleyball = "Madison" |
Name the number of party with the incubent james william trimble | CREATE TABLE table_1341930_5 (
party VARCHAR,
incumbent VARCHAR
) | SELECT COUNT(party) FROM table_1341930_5 WHERE incumbent = "James William Trimble" |
How many grids have less than 41 laps and a Driver of pedro de la rosa? | CREATE TABLE table_name_11 (
grid VARCHAR,
laps VARCHAR,
driver VARCHAR
) | SELECT COUNT(grid) FROM table_name_11 WHERE laps < 41 AND driver = "pedro de la rosa" |
Which title was No. 4 in season? | CREATE TABLE table_20545 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written By" text,
"Originalairdate" text,
"TV Broadcast" text
) | SELECT "Title" FROM table_20545 WHERE "No. in season" = '4' |
How many height entries are there for players from lagos, nigeria? | CREATE TABLE table_25061 (
"Name" text,
"#" real,
"Position" text,
"Height" text,
"Weight" real,
"Year" text,
"Home Town" text,
"High School" text
) | SELECT COUNT("Height") FROM table_25061 WHERE "Home Town" = 'Lagos, Nigeria' |
What number is Fall 08 from the state with 57 in Fall 06 and 74 or less in Fall 05? | CREATE TABLE table_name_52 (
fall_08 VARCHAR,
fall_06 VARCHAR,
fall_05 VARCHAR
) | SELECT COUNT(fall_08) FROM table_name_52 WHERE fall_06 = 57 AND fall_05 < 74 |
What was the date when the opponent was Sheffield Scimitars and the venue was Home? | CREATE TABLE table_name_4 (
date VARCHAR,
opponent VARCHAR,
venue VARCHAR
) | SELECT date FROM table_name_4 WHERE opponent = "sheffield scimitars" AND venue = "home" |
How much Overall has a Name of bob anderson? | CREATE TABLE table_name_30 (
overall VARCHAR,
name VARCHAR
) | SELECT COUNT(overall) FROM table_name_30 WHERE name = "bob anderson" |
WHAT ROUND HAS A GUARD POSITION AT OHIO COLLEGE? | CREATE TABLE table_name_18 (
round VARCHAR,
position VARCHAR,
college VARCHAR
) | SELECT round FROM table_name_18 WHERE position = "guard" AND college = "ohio" |
What is Frank Kimmel's lowest top 5 with more than 0 wins and fewer than 14 top 10s? | CREATE TABLE table_45029 (
"Driver" text,
"Points" real,
"Wins" real,
"Top 5" real,
"Top 10" real
) | SELECT MIN("Top 5") FROM table_45029 WHERE "Wins" > '0' AND "Driver" = 'frank kimmel' AND "Top 10" < '14' |
Name the 2011 when 2010 is 2r | CREATE TABLE table_80361 (
"Tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
) | SELECT "2011" FROM table_80361 WHERE "2010" = '2r' |
How many matches have a City/Country of karachi, pakistan, and a Year larger than 1996? | CREATE TABLE table_6282 (
"Runs" real,
"Match" real,
"City/Country" text,
"Venue" text,
"Year" real
) | SELECT COUNT("Match") FROM table_6282 WHERE "City/Country" = 'karachi, pakistan' AND "Year" > '1996' |
How much money was raised in the 2Q when the total receipts were $63,075,927? | CREATE TABLE table_55349 (
"Candidate" text,
"Money Raised, 2Q" text,
"Loans Received, 2Q" text,
"Money Spent, 2Q" text,
"Total Receipts" text,
"Cash On Hand" text
) | SELECT "Money Raised, 2Q" FROM table_55349 WHERE "Total Receipts" = '$63,075,927' |
Name the popultion density being manthai west | CREATE TABLE table_26974 (
"DS Division" text,
"Main Town" text,
"GN Divisions" real,
"Area (km 2 )" real,
"Sri Lankan Tamil" real,
"Sri Lankan Moors" real,
"Sinhalese" real,
"Indian Tamil" real,
"Other" real,
"Total" real,
"Population Density (/km 2 )" real
) | SELECT "Population Density (/km 2 )" FROM table_26974 WHERE "DS Division" = 'Manthai West' |
What is the percent yes of Alberta, which had a percent no larger than 60.2? | CREATE TABLE table_name_68 (
percent_yes VARCHAR,
jurisdiction VARCHAR,
percent_no VARCHAR
) | SELECT COUNT(percent_yes) FROM table_name_68 WHERE jurisdiction = "alberta" AND percent_no > 60.2 |
Which Laid down has a Ship of fearless? | CREATE TABLE table_67044 (
"Ship" text,
"Pennant number" text,
"Laid down" text,
"Launched" text,
"Commissioned" text
) | SELECT "Laid down" FROM table_67044 WHERE "Ship" = 'fearless' |
What game was played at Philadelphia? | CREATE TABLE table_name_36 (
game INTEGER,
team VARCHAR
) | SELECT AVG(game) FROM table_name_36 WHERE team = "philadelphia" |
Name the story number for paul cornell | CREATE TABLE table_22064 (
"Story No." text,
"Episode" real,
"Title" text,
"Directed by" text,
"Written by" text,
"UK viewers (million)" text,
"AI (%)" real,
"Original air date" text,
"Production code" text
) | SELECT "Story No." FROM table_22064 WHERE "Written by" = 'Paul Cornell' |
How many total bronze medals did Canada receive? | CREATE TABLE table_name_58 (
bronze INTEGER,
nation VARCHAR
) | SELECT MAX(bronze) FROM table_name_58 WHERE nation = "canada" |
what player went to ul-monroe | CREATE TABLE table_name_7 (
player VARCHAR,
school VARCHAR
) | SELECT player FROM table_name_7 WHERE school = "ul-monroe" |
Name the explanation for alben w. barkley | CREATE TABLE table_2026548_1 (
explanation VARCHAR,
vice_president VARCHAR
) | SELECT explanation FROM table_2026548_1 WHERE vice_president = "Alben W. Barkley" |
Which Round is pick 112 in? | CREATE TABLE table_78294 (
"Pick" real,
"Round" text,
"Player" text,
"Position" text,
"School" text
) | SELECT "Round" FROM table_78294 WHERE "Pick" = '112' |
what was the only tribunal to pronounce zero sentences ? | CREATE TABLE table_203_303 (
id number,
"tribunal" text,
"number of autos da fe" number,
"executions in persona" number,
"executions in effigie" number,
"penanced" number,
"total" number
) | SELECT "tribunal" FROM table_203_303 WHERE "total" = 0 |
What is the smallest number of third place earned for the Es Sahel at a rank less than 3? | CREATE TABLE table_name_37 (
third INTEGER,
club VARCHAR,
rank VARCHAR
) | SELECT MIN(third) FROM table_name_37 WHERE club = "es sahel" AND rank < 3 |
What is the nominal GDP per capita when the population is 63.056 million? | CREATE TABLE table_20566 (
"Year" real,
"GDP Nominal ($ billions)" text,
"GDP Adjusted ($ billions)" text,
"Population (millions)" text,
"GDP per capita Nominal ($)" real,
"GDP per capita Adjusted ($)" real
) | SELECT MIN("GDP per capita Nominal ($)") FROM table_20566 WHERE "Population (millions)" = '63.056' |
If points against was 371, what is the drawn? | CREATE TABLE table_74944 (
"Club" text,
"Played" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text,
"Losing bonus" text,
"Points" text
) | SELECT "Drawn" FROM table_74944 WHERE "Points against" = '371' |
Which tournament did the opponent Guillermo Carry play? | CREATE TABLE table_name_60 (
tournament VARCHAR,
opponent VARCHAR
) | SELECT tournament FROM table_name_60 WHERE opponent = "guillermo carry" |
Which channel comes out of Israel? | CREATE TABLE table_name_83 (
channel VARCHAR,
country VARCHAR
) | SELECT channel FROM table_name_83 WHERE country = "israel" |
What is the position for the years 1998-99 | CREATE TABLE table_11545282_11 (
position VARCHAR,
years_for_jazz VARCHAR
) | SELECT position FROM table_11545282_11 WHERE years_for_jazz = "1998-99" |
What is the air date for 'there goes the bride'? | CREATE TABLE table_19608 (
"Series #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production Code" real,
"U.S. viewers (millions)" text
) | SELECT "Original air date" FROM table_19608 WHERE "Title" = 'There Goes the Bride' |
What is the total time that it took for the driver to finish 14 laps? | CREATE TABLE table_name_52 (
time VARCHAR,
laps VARCHAR
) | SELECT time FROM table_name_52 WHERE laps = 14 |
How economically free is the country of Armenia? | CREATE TABLE table_1604579_2 (
country VARCHAR
) | SELECT 2013 AS _index_of_economic_freedom FROM table_1604579_2 WHERE country = "Armenia" |
How many U.S. viewers (million) watched the episode directed by Allison Liddi-Brown? | CREATE TABLE table_27116696_1 (
us_viewers__million_ VARCHAR,
directed_by VARCHAR
) | SELECT us_viewers__million_ FROM table_27116696_1 WHERE directed_by = "Allison Liddi-Brown" |
What is the first elected date for the incumbent in the South Carolina 4 district? | CREATE TABLE table_name_98 (
first_elected VARCHAR,
district VARCHAR
) | SELECT first_elected FROM table_name_98 WHERE district = "south carolina 4" |
What category was the nominated in after 2008? | CREATE TABLE table_name_31 (
category VARCHAR,
outcome VARCHAR,
year VARCHAR
) | SELECT category FROM table_name_31 WHERE outcome = "nominated" AND year > 2008 |
How many Foreign-born (1000) are from Sweden and born in some other EU state (1000) larger than 477? | CREATE TABLE table_name_7 (
total_foreign_born__1000_ INTEGER,
country VARCHAR,
born_in_other_eu_state__1000_ VARCHAR
) | SELECT SUM(total_foreign_born__1000_) FROM table_name_7 WHERE country = "sweden" AND born_in_other_eu_state__1000_ > 477 |
What type of 3D game did Valve Corporation release? | CREATE TABLE table_name_4 (
genre VARCHAR,
type VARCHAR,
developer_s_ VARCHAR
) | SELECT genre FROM table_name_4 WHERE type = "3d" AND developer_s_ = "valve corporation" |
what is the engine when the tyre is d, the constructor is era and the driver is bob gerard? | CREATE TABLE table_name_17 (
engine VARCHAR,
driver VARCHAR,
tyre VARCHAR,
constructor VARCHAR
) | SELECT engine FROM table_name_17 WHERE tyre = "d" AND constructor = "era" AND driver = "bob gerard" |
For the club that had tries of 50 and drawn of 0, what were the points? | CREATE TABLE table_name_51 (
points_against VARCHAR,
drawn VARCHAR,
tries_for VARCHAR
) | SELECT points_against FROM table_name_51 WHERE drawn = "0" AND tries_for = "50" |
which country scored the least medals ? | CREATE TABLE table_204_232 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
) | SELECT "nation" FROM table_204_232 WHERE "total" = (SELECT MIN("total") FROM table_204_232) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.