answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT "Away team score" FROM table_57439 WHERE "Venue" = 'moorabbin oval' | What did the team score while away in moorabbin oval? | CREATE TABLE table_57439 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) |
SELECT high_points FROM table_name_85 WHERE date = "may 25" | What is the highest number of points a player got during the game on May 25? | CREATE TABLE table_name_85 (high_points VARCHAR, date VARCHAR) |
SELECT COUNT(class_aA) FROM table_14747043_1 WHERE school_year = "2002-03" | How many class AA in the year 2002-03 | CREATE TABLE table_14747043_1 (class_aA VARCHAR, school_year VARCHAR) |
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PHILAD... | what 's the earliest flight from BOSTON to PHILADELPHIA | CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int
)
CREATE TABLE compartment_class (
compartment varchar,
class_type varchar
)
CREATE TABLE fare_basis (
fare_basis_code ... |
SELECT position FROM table_name_79 WHERE first_team_goals = "ongoing" AND current_club = "aston villa" | What is the position of the player who has ongoing first-team goals and currently plays for the Aston Villa club? | CREATE TABLE table_name_79 (position VARCHAR, first_team_goals VARCHAR, current_club VARCHAR) |
SELECT class_aAAA FROM table_14747043_1 WHERE class_aAAAA = Weslaco AND school_year = "1994-95" | Who was the class AAAA when class AAAAA was Weslaco in 1994-95 | CREATE TABLE table_14747043_1 (class_aAAA VARCHAR, class_aAAAA VARCHAR, Weslaco VARCHAR, school_year VARCHAR) |
SELECT AVG("Total") FROM table_55383 WHERE "Silver" > '1' AND "Sport" = 'total' AND "Gold" > '1' | With more than 1 Gold and Silver and Total Sport, what is the Total? | CREATE TABLE table_55383 (
"Sport" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) |
SELECT player FROM table_name_79 WHERE first_team_appearances = "7" | Who is the player who has had 7 first team appearances? | CREATE TABLE table_name_79 (player VARCHAR, first_team_appearances VARCHAR) |
SELECT change__2009_to_2010_ FROM table_14752049_2 WHERE country = "Tunisia" | What are the changes from 2009 to 2010 in Tunisia? | CREATE TABLE table_14752049_2 (change__2009_to_2010_ VARCHAR, country VARCHAR) |
SELECT "Date" FROM table_66426 WHERE "Score" = '3-6 4-6' | When was the score 3-6 4-6? | CREATE TABLE table_66426 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
) |
SELECT current_club FROM table_name_28 WHERE first_team_appearances = "ongoing" AND position = "midfielder" AND player = "samir carruthers" | What is the name of the club that has ongoing first-team appearances, a midfielder, and whose player is Samir Carruthers? | CREATE TABLE table_name_28 (current_club VARCHAR, player VARCHAR, first_team_appearances VARCHAR, position VARCHAR) |
SELECT international_tourist_arrivals__2010_ FROM table_14752049_2 WHERE change__2010_to_2011_ = "+11.2%" | What are the international tourist arrivals in 2010 where change from 2010 to 2011 is +11.2% ? | CREATE TABLE table_14752049_2 (international_tourist_arrivals__2010_ VARCHAR, change__2010_to_2011_ VARCHAR) |
SELECT COUNT(Id), Tags, RIGHT(LEFT(CreationDate, 11), 4) AS year, LEFT(CreationDate, 3) AS month FROM Posts GROUP BY Tags, RIGHT(LEFT(CreationDate, 11), 4), LEFT(CreationDate, 3) HAVING COUNT(Id) > 5 ORDER BY COUNT(Id) DESC | why can't ya'll just have a good api. | CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE ReviewRejectionReasons (
Id ... |
SELECT first_team_goals FROM table_name_73 WHERE player = "samir carruthers" | How many first-team goals does the team have whose player is Samir Carruthers? | CREATE TABLE table_name_73 (first_team_goals VARCHAR, player VARCHAR) |
SELECT change__2010_to_2011_ FROM table_14752049_2 WHERE international_tourist_arrivals__2011_ = "1.7 million" | What are the changes (2010 to 2011) where the International Tourist Arrivals is 1.7 million? | CREATE TABLE table_14752049_2 (change__2010_to_2011_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR) |
SELECT "Non-Suited Match" FROM table_34655 WHERE "Number of Decks" > '6' | Name the Non-Suited Match that has greater than 6 Number of Decks. | CREATE TABLE table_34655 (
"Number of Decks" real,
"Non-Suited Match" text,
"Double Non-Suited Match" text,
"Suited Match" text,
"Suited + Non-Suited Match" text,
"Double Suited Match" text,
"House Edge" text
) |
SELECT position FROM table_name_47 WHERE first_team_appearances = "ongoing" AND current_club = "aston villa" AND player = "graham burke" | What position has ongoing first-team appearances, Graham Burke for a player, and whose club is Aston Villa? | CREATE TABLE table_name_47 (position VARCHAR, player VARCHAR, first_team_appearances VARCHAR, current_club VARCHAR) |
SELECT international_tourist_arrivals__2010_ FROM table_14752049_2 WHERE change__2009_to_2010_ = "+11.1%" | What are the international tourist arrivals(2010) where change from 2009 to 2010 is +11.1%? | CREATE TABLE table_14752049_2 (international_tourist_arrivals__2010_ VARCHAR, change__2009_to_2010_ VARCHAR) |
SELECT COUNT(*) FROM table_204_4 WHERE "rider" = 'tom boonen' | what are the total number of wins for tom boonen overall ? | CREATE TABLE table_204_4 (
id number,
"date" text,
"race" text,
"competition" text,
"rider" text,
"country" text,
"location" text
) |
SELECT position FROM table_name_7 WHERE first_team_appearances = "7" | Which position has had 7 first-team appearances? | CREATE TABLE table_name_7 (position VARCHAR, first_team_appearances VARCHAR) |
SELECT international_tourist_arrivals__2010_ FROM table_14752049_2 WHERE change__2010_to_2011_ = "+15%" | What are the International tourist arrivals (2010) where change from 2010 to 2011 is +15% | CREATE TABLE table_14752049_2 (international_tourist_arrivals__2010_ VARCHAR, change__2010_to_2011_ VARCHAR) |
SELECT COUNT(*) > 0 FROM admissions WHERE admissions.subject_id = 2700 AND admissions.admission_location = 'emergency room admit' AND STRFTIME('%y', admissions.admittime) <= '2104' | had patient 2700 been to er until 2104? | CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABL... |
SELECT theme FROM table_name_72 WHERE issue_price = "$508.95" | What was the theme when the issue price was $508.95? | CREATE TABLE table_name_72 (theme VARCHAR, issue_price VARCHAR) |
SELECT international_tourist_arrivals__2011_ FROM table_14752049_2 WHERE country = "Senegal" | How many international tourist arrivals were in Senegal in 2011? | CREATE TABLE table_14752049_2 (international_tourist_arrivals__2011_ VARCHAR, country VARCHAR) |
SELECT "Birth Date" FROM table_19308 WHERE "Shirt No" = '7' | Name the birth date for shirt number 7 | CREATE TABLE table_19308 (
"Shirt No" real,
"Nationality" text,
"Player" text,
"Birth Date" text,
"Height" real,
"Position" text
) |
SELECT mintage FROM table_name_18 WHERE theme = "year of the rabbit" | What's the mintage when the theme was year of the rabbit? | CREATE TABLE table_name_18 (mintage VARCHAR, theme VARCHAR) |
SELECT change__2011_to_2012_ FROM table_14752049_6 WHERE change__2010_to_2011_ = "+1.0%" | When the change (2010 to 2011) is +1.0% what is the change (2011 to 2012)? | CREATE TABLE table_14752049_6 (change__2011_to_2012_ VARCHAR, change__2010_to_2011_ VARCHAR) |
SELECT HIRE_DATE, AVG(SALARY) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY AVG(SALARY) DESC | For those employees who do not work in departments with managers that have ids between 100 and 200, return a bar chart about the distribution of hire_date and the average of salary bin hire_date by weekday, and sort by the Y-axis in desc please. | CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),... |
SELECT year FROM table_name_43 WHERE theme = "year of the pig" | What year was the year of the pig theme? | CREATE TABLE table_name_43 (year VARCHAR, theme VARCHAR) |
SELECT country FROM table_14752049_6 WHERE change__2011_to_2012_ = "-0.1%" | When the change (2011 to 2012) is -0.1% what is the country? | CREATE TABLE table_14752049_6 (country VARCHAR, change__2011_to_2012_ VARCHAR) |
SELECT week_5 FROM table_name_36 WHERE week_2 = "audra lynn" | When Audra Lynn was featured in Week 2, who was the cyber girl for Week 5? | CREATE TABLE table_name_36 (
week_5 VARCHAR,
week_2 VARCHAR
) |
SELECT artist FROM table_name_76 WHERE theme = "year of the snake" | Who was the artist for the year of the snake? | CREATE TABLE table_name_76 (artist VARCHAR, theme VARCHAR) |
SELECT country FROM table_14752049_6 WHERE change__2011_to_2012_ = "+13.4%" | When the change (2011 to 2012) is +13.4% what is the country? | CREATE TABLE table_14752049_6 (country VARCHAR, change__2011_to_2012_ VARCHAR) |
SELECT MIN("Grid") FROM table_46291 WHERE "Time" = '+0.499' AND "Laps" > '21' | What is the lowest grid with time of +0.499,when laps are larger than 21? | CREATE TABLE table_46291 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time" text,
"Grid" real
) |
SELECT COUNT(frequency_mhz) FROM table_name_41 WHERE city_of_license = "port charlotte, florida" AND erp_w > 10 | What is the total Frequency MHz Port Charlotte, Florida, which has an ERP W larger than 10, has? | CREATE TABLE table_name_41 (frequency_mhz VARCHAR, city_of_license VARCHAR, erp_w VARCHAR) |
SELECT change__2010_to_2011_ FROM table_14752049_6 WHERE international_tourist_arrivals__2012_ = "24.1 million" | When 24.1 million is international tourist arrivals (2012) what is the change (2010 to 2011) ? | CREATE TABLE table_14752049_6 (change__2010_to_2011_ VARCHAR, international_tourist_arrivals__2012_ VARCHAR) |
SELECT city FROM table_name_43 WHERE team = "trojans" AND school = "taylor" | What city has trojans as the team, and taylor as the school? | CREATE TABLE table_name_43 (
city VARCHAR,
team VARCHAR,
school VARCHAR
) |
SELECT call_sign FROM table_name_38 WHERE erp_w > 10 | What is the call sign for the translator with an ERP W larger than 10? | CREATE TABLE table_name_38 (call_sign VARCHAR, erp_w INTEGER) |
SELECT change__2011_to_2012_ FROM table_14752049_6 WHERE country = "United Kingdom" | United kingdom is the country what is the change (2011 to 2012)? | CREATE TABLE table_14752049_6 (change__2011_to_2012_ VARCHAR, country VARCHAR) |
SELECT "Reported age" FROM table_44410 WHERE "Reported birth date" = '22 december 1878' | what is the reported age when the reported birth date is 22 december 1878? | CREATE TABLE table_44410 (
"Region" text,
"Name" text,
"Reported birth date" text,
"Reported death date" text,
"Reported age" text
) |
SELECT MAX(erp_w) FROM table_name_94 WHERE call_sign = "w284av" | What is the highest ERP W of the translator with a call sign of w284av? | CREATE TABLE table_name_94 (erp_w INTEGER, call_sign VARCHAR) |
SELECT COUNT(international_tourist_arrivals__2012_) FROM table_14752049_6 WHERE rank = 1 | When the 1 is the rank what is the overall amount of international tourist arrivals in 2012? | CREATE TABLE table_14752049_6 (international_tourist_arrivals__2012_ VARCHAR, rank VARCHAR) |
SELECT date_became_customer FROM customers WHERE customer_id BETWEEN 10 AND 20 | Find the 'date became customers' of the customers whose ID is between 10 and 20. | CREATE TABLE products (
product_id number,
product_details text
)
CREATE TABLE customer_contact_channels (
customer_id number,
channel_code text,
active_from_date time,
active_to_date time,
contact_number text
)
CREATE TABLE customers (
customer_id number,
payment_method text,
... |
SELECT MAX(crowd) FROM table_name_92 WHERE home_team = "collingwood" | How big was the crowd of the Home team of Collingwood? | CREATE TABLE table_name_92 (crowd INTEGER, home_team VARCHAR) |
SELECT enrollment FROM table_14754471_1 WHERE hispanic___percentage_ = "3.6" | What is the enrollment amount where Hispanic (%) is 3.6? | CREATE TABLE table_14754471_1 (enrollment VARCHAR, hispanic___percentage_ VARCHAR) |
SELECT "Reference" FROM table_26622 WHERE "Violas" = '2' AND "Author" = 'Nelson Riddle' | What reference, written by Nelson Riddle, suggests 2 violas? | CREATE TABLE table_26622 (
"Reference" text,
"Author" text,
"Section Size" text,
"Violins" real,
"Violas" real,
"Celli" real,
"Basses" real
) |
SELECT away_team FROM table_name_85 WHERE home_team = "south melbourne" | What was the away team when the home team was south melbourne? | CREATE TABLE table_name_85 (away_team VARCHAR, home_team VARCHAR) |
SELECT asian___percentage_ FROM table_14754471_1 WHERE year = 2009 | What percentage of Asians are there in the year 2009? | CREATE TABLE table_14754471_1 (asian___percentage_ VARCHAR, year VARCHAR) |
SELECT COUNT(points) FROM table_name_18 WHERE losses < 9 AND games > 24 AND team_name = "vancouver burrards" | What's the total number of points when the vancouver burrards have fewer than 9 losses and more than 24 games? | CREATE TABLE table_name_18 (
points VARCHAR,
team_name VARCHAR,
losses VARCHAR,
games VARCHAR
) |
SELECT player FROM table_name_34 WHERE college = "calgary" | Who was recruited from Calgary? | CREATE TABLE table_name_34 (player VARCHAR, college VARCHAR) |
SELECT asian___percentage_ FROM table_14754471_1 WHERE year = 2004 | What percentage of Asians are there in the year 2004? | CREATE TABLE table_14754471_1 (asian___percentage_ VARCHAR, year VARCHAR) |
SELECT "Venue" FROM table_32315 WHERE "Home team score" = '9.9 (63)' | Where did a home team score 9.9 (63)? | CREATE TABLE table_32315 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) |
SELECT SUM(wins) FROM table_name_43 WHERE rank > 5 | What number of wins was ranked higher than 5? | CREATE TABLE table_name_43 (wins INTEGER, rank INTEGER) |
SELECT hispanic___percentage_ FROM table_14754471_1 WHERE free_reduced_lunch___percentage_ = "81.4" | What percentage of hispanics are there when the free/reduced lunch percentage is 81.4? | CREATE TABLE table_14754471_1 (hispanic___percentage_ VARCHAR, free_reduced_lunch___percentage_ VARCHAR) |
SELECT COUNT("Class") FROM table_1006 WHERE "Player" = 'Everett Sweeley' | How many entries are there for Class for the player Everett Sweeley? | CREATE TABLE table_1006 (
"Player" text,
"Position" text,
"Games started" text,
"Hometown" text,
"Height" text,
"Weight" real,
"Class" text,
"Prior experience" text
) |
SELECT rank FROM table_name_35 WHERE wins > 11 AND player = "miller barber" | What rank is Miller Barber with more than 11 wins? | CREATE TABLE table_name_35 (rank VARCHAR, wins VARCHAR, player VARCHAR) |
SELECT free_reduced_lunch___percentage_ FROM table_14754471_1 WHERE hispanic___percentage_ = "3.7" | What percentage of free/reduced lunch are there when the hispanic percentage is 3.7? | CREATE TABLE table_14754471_1 (free_reduced_lunch___percentage_ VARCHAR, hispanic___percentage_ VARCHAR) |
SELECT "peak name" FROM table_203_808 WHERE "elevation" > (SELECT "elevation" FROM table_203_808 WHERE "peak name" = 'dumlong') | what two peaks are taller than dumlong ? | CREATE TABLE table_203_808 (
id number,
"rank" number,
"peak name" text,
"elevation" text,
"location" text,
"notes" text
) |
SELECT venue FROM table_name_34 WHERE home_team = "collingwood" | What was the venue when Collingwood was the home team? | CREATE TABLE table_name_34 (venue VARCHAR, home_team VARCHAR) |
SELECT arranger FROM table_14778650_1 WHERE writer = "Nizar Francis" | Who was the arranger for the track written by Nizar Francis ? | CREATE TABLE table_14778650_1 (arranger VARCHAR, writer VARCHAR) |
SELECT "Written by" FROM table_52670 WHERE "Season no." > '4' AND "Series no." = '49' | Who wrote the series number 49 with a season larger than 4? | CREATE TABLE table_52670 (
"Series no." real,
"Season no." real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production Code" real
) |
SELECT MAX(crowd) FROM table_name_75 WHERE venue = "vfl park" | What was the largest crowd at vfl park? | CREATE TABLE table_name_75 (crowd INTEGER, venue VARCHAR) |
SELECT writer FROM table_14778650_1 WHERE length = "4:29" | Who was the writer for the song 4:29 in length? | CREATE TABLE table_14778650_1 (writer VARCHAR, length VARCHAR) |
SELECT "Population (1991)" FROM table_27849 WHERE "Urban settlement" = 'Bački Jarak' | What is the 1991 population for the urban settlement named Ba ki Jarak? | CREATE TABLE table_27849 (
"Urban settlement" text,
"Cyrillic Name" text,
"City / municipality" text,
"District" text,
"Population (1991)" real,
"Population (2002)" real,
"Population (2011)" real
) |
SELECT crowd FROM table_name_16 WHERE home_team = "south melbourne" | How many people were at the game where the home team was South Melbourne? | CREATE TABLE table_name_16 (crowd VARCHAR, home_team VARCHAR) |
SELECT _number FROM table_14778650_1 WHERE length = "4:29" | What track number is 4:29 in length? | CREATE TABLE table_14778650_1 (_number VARCHAR, length VARCHAR) |
SELECT frequency FROM table_134987_3 WHERE format = "Classic Country KRKI-FM booster" | What is the frequency of the Classic Country Krki-fm booster station? | CREATE TABLE table_134987_3 (
frequency VARCHAR,
format VARCHAR
) |
SELECT away_team AS score FROM table_name_25 WHERE away_team = "footscray" | What was the score when the away team was Footscray? | CREATE TABLE table_name_25 (away_team VARCHAR) |
SELECT females_rank FROM table_14785903_1 WHERE states = "Karnataka" | What is the female rank in Karnataka? | CREATE TABLE table_14785903_1 (females_rank VARCHAR, states VARCHAR) |
SELECT Nationality, COUNT(Nationality) FROM swimmer GROUP BY Nationality ORDER BY COUNT(Nationality) | Give me the comparison about the amount of Nationality over the Nationality , and group by attribute Nationality, could you list by the y axis in ascending? | CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City text,
Country text,
Opening_year int
)
CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year text
)
CREATE TABLE swimme... |
SELECT away_team AS score FROM table_name_56 WHERE away_team = "collingwood" | What was the score when the away team was Collingwood? | CREATE TABLE table_name_56 (away_team VARCHAR) |
SELECT title__english_ FROM table_1481865_1 WHERE title__original_ = "Die Qual der Wahl" | What is the English title when the original title is Die Qual Der Wahl? | CREATE TABLE table_1481865_1 (title__english_ VARCHAR, title__original_ VARCHAR) |
SELECT venue FROM table_name_32 WHERE away_team = "south melbourne" | What venue had an away team of south melbourne? | CREATE TABLE table_name_32 (
venue VARCHAR,
away_team VARCHAR
) |
SELECT home_team FROM table_name_15 WHERE venue = "corio oval" | What was the home team that played at Corio Oval? | CREATE TABLE table_name_15 (home_team VARCHAR, venue VARCHAR) |
SELECT number_of_episode FROM table_1481865_1 WHERE title__english_ = "Pilot" | What is the episode number where the English title is Pilot? | CREATE TABLE table_1481865_1 (number_of_episode VARCHAR, title__english_ VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "S/P FALL" AND demographic.dod_year <= "2164.0" | count the number of patients whose primary disease is s/p fall and year of death is less than or equal to 2164? | CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (... |
SELECT SUM(goal) FROM table_name_13 WHERE date = "november 22, 1994" | How many goals were scored on November 22, 1994? | CREATE TABLE table_name_13 (goal INTEGER, date VARCHAR) |
SELECT original_air_date FROM table_1481865_1 WHERE number_of_episode = 6 | What was the original air date for episode number 6? | CREATE TABLE table_1481865_1 (original_air_date VARCHAR, number_of_episode VARCHAR) |
SELECT Posts.Id AS "post_link", COUNT(Upvotes.Id) AS UpvoteCount, COUNT(Downvotes.Id) AS DownvoteCount FROM Posts LEFT JOIN Votes AS Upvotes ON Upvotes.PostId = Posts.Id LEFT JOIN Votes AS Downvotes ON Downvotes.PostId = Posts.Id WHERE Upvotes.VoteTypeId = 2 AND Downvotes.VoteTypeId = 3 AND Posts.PostTypeId = 2 AND Pos... | Just how badly are W3Schools answers treated?. | CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDisplayName text... |
SELECT result FROM table_name_49 WHERE goal = 9 | What was the result of the game with 9 goals? | CREATE TABLE table_name_49 (result VARCHAR, goal VARCHAR) |
SELECT title__original_ FROM table_1481865_1 WHERE number_of_season = 3 | What is the original title of season number 3? | CREATE TABLE table_1481865_1 (title__original_ VARCHAR, number_of_season VARCHAR) |
SELECT date_moved_in, COUNT(date_moved_in) FROM Customer_Events GROUP BY date_moved_in ORDER BY COUNT(date_moved_in) | Draw a bar chart of date moved in versus how many date moved in, and sort in asc by the y axis. | CREATE TABLE Organizations (
organization_id INTEGER,
parent_organization_id INTEGER,
organization_details VARCHAR(255)
)
CREATE TABLE Residents (
resident_id INTEGER,
property_id INTEGER,
date_moved_in DATETIME,
date_moved_out DATETIME,
other_details VARCHAR(255)
)
CREATE TABLE Proper... |
SELECT MAX(for_prohibition) FROM table_name_43 WHERE percent_against > 10.8 AND percent_for < 72.2 AND jurisdiction = "british columbia" AND against_prohibition < 4 OFFSET 756 | What is the highest number supporting prohibition in British Columbia when the percent opposing is more than 10.8, the percent supporting is less than 72.2, number against is less than 4,756? | CREATE TABLE table_name_43 (for_prohibition INTEGER, against_prohibition VARCHAR, jurisdiction VARCHAR, percent_against VARCHAR, percent_for VARCHAR) |
SELECT municipality FROM table_1480455_1 WHERE human_development_index__2000_ = "0.7827" | What municipality where the human development index in the year 2000 was 0.7827? | CREATE TABLE table_1480455_1 (municipality VARCHAR, human_development_index__2000_ VARCHAR) |
SELECT novelty FROM table_name_70 WHERE location = "usa" AND name = "coryloides" | What novelty has USA as the location, and coryloides as the name? | CREATE TABLE table_name_70 (
novelty VARCHAR,
location VARCHAR,
name VARCHAR
) |
SELECT COUNT(apparent_magnitude) FROM table_name_24 WHERE constellation = "sculptor" | what is the apparent magnitude of the constellation sculptor | CREATE TABLE table_name_24 (apparent_magnitude VARCHAR, constellation VARCHAR) |
SELECT COUNT(population__2005_) FROM table_1480455_1 WHERE population_density___km_2__ = "35.9" | What is the total number of population in the year 2005 where the population density 35.9 (/km 2)? | CREATE TABLE table_1480455_1 (population__2005_ VARCHAR, population_density___km_2__ VARCHAR) |
SELECT "Together We Can Do More" FROM table_28763 WHERE "Democratic Coalition" = 'René Alinco ( PPD )' | Who is the together we can do more when democratic coalition is ren alinco ( ppd )? | CREATE TABLE table_28763 (
"Dist." real,
"Democratic Coalition" text,
"Alliance" text,
"Together We Can Do More" text,
"Independent Regional Force" text,
"Independents" text
) |
SELECT right_ascension___j2000__ FROM table_name_15 WHERE object_type = "spiral galaxy" AND apparent_magnitude > 12.2 | What is the Right ascension of the Object type spiral galaxy that has an Apparent magnitude larger that 12.2 | CREATE TABLE table_name_15 (right_ascension___j2000__ VARCHAR, object_type VARCHAR, apparent_magnitude VARCHAR) |
SELECT human_development_index__2000_ FROM table_1480455_1 WHERE inegi_code = 10 | What is the human development index for the year 2000 where the ingei code is 10? | CREATE TABLE table_1480455_1 (human_development_index__2000_ VARCHAR, inegi_code VARCHAR) |
SELECT COUNT("Year of intro") FROM table_7704 WHERE "Country of origin" = 'soviet union' AND "Type" = 'reusable' AND "Primary cartridge" = '40mm' AND "Name/ designation" = 'rpg-29' | What is the total number of Year of Intro(s), when Country of Origin is Soviet Union, when Type is Reusable, when Primary Cartridge is 40mm, and when Name/ Designation is RPG-29? | CREATE TABLE table_7704 (
"Name/ designation" text,
"Year of intro" real,
"Country of origin" text,
"Primary cartridge" text,
"Type" text
) |
SELECT constellation FROM table_name_60 WHERE apparent_magnitude > 7.7 AND ngc_number = 7777 | Which Constellation has an Apparent magnitude larger that 7.7, and an NGC number of 7777 | CREATE TABLE table_name_60 (constellation VARCHAR, apparent_magnitude VARCHAR, ngc_number VARCHAR) |
SELECT area__km_2__ FROM table_1480455_1 WHERE population_density___km_2__ = "84.3" | What is the area (km 2) where the population density (/mk2) is 84.3? | CREATE TABLE table_1480455_1 (area__km_2__ VARCHAR, population_density___km_2__ VARCHAR) |
SELECT MIN(capacity) FROM table_24039173_1 WHERE stadium = "Sangre Grande Ground" | What is the minimum capacity for Sangre Grande Ground? | CREATE TABLE table_24039173_1 (
capacity INTEGER,
stadium VARCHAR
) |
SELECT chassis FROM table_name_62 WHERE rounds = "1" AND driver = "maria teresa de filippis" | What is the name of the Chassis of Diver Maria Teresa de Filippis in round 1? | CREATE TABLE table_name_62 (chassis VARCHAR, rounds VARCHAR, driver VARCHAR) |
SELECT mandate FROM table_14834801_1 WHERE list_pct = "12.39%" | Name the mandate for list pct 12.39% | CREATE TABLE table_14834801_1 (mandate VARCHAR, list_pct VARCHAR) |
SELECT COUNT("Feature") FROM table_41758 WHERE "Wins" = '6' AND "Driver" = 'adam carroll' AND "Starts" > '32' | How many features did Adam Carroll win 6 times when the start was larger than 32? | CREATE TABLE table_41758 (
"Driver" text,
"Wins" real,
"Starts" real,
"Sprint" real,
"Feature" real
) |
SELECT COUNT(yards) FROM table_name_6 WHERE player = "james macpherson" AND long < 1 | How many yards have a Player of james macpherson, and a Long smaller than 1? | CREATE TABLE table_name_6 (yards VARCHAR, player VARCHAR, long VARCHAR) |
SELECT COUNT(list_votes) FROM table_14834801_1 WHERE list_pct = "20.95%" | Name the total number of list votes for 20.95% | CREATE TABLE table_14834801_1 (list_votes VARCHAR, list_pct VARCHAR) |
SELECT 2007 AS _result FROM table_13618584_1 WHERE district = "28th" | What was the 2007 result in the 28th district? | CREATE TABLE table_13618584_1 (
district VARCHAR
) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.