answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT All_Road, Team_ID FROM basketball_match ORDER BY All_Road | Give me the comparison about Team_ID over the All_Road by a bar chart, I want to list by the X-axis in ascending please. | CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Per... |
SELECT COUNT(player) FROM table_23670057_7 WHERE height__m_ = "2.07" | How many players have a height of 2.07? | CREATE TABLE table_23670057_7 (player VARCHAR, height__m_ VARCHAR) |
SELECT district FROM table_2417390_4 WHERE date_successor_seated = "March 28, 1878" | What district was the successor seated in March 28, 1878? | CREATE TABLE table_2417390_4 (district VARCHAR, date_successor_seated VARCHAR) |
SELECT T2.name, SUM(T1.show_times_per_day) FROM schedule AS T1 JOIN cinema AS T2 ON T1.cinema_id = T2.cinema_id GROUP BY T1.cinema_id | What is total number of show times per dat for each cinema? | CREATE TABLE film (
film_id number,
rank_in_series number,
number_in_season number,
title text,
directed_by text,
original_air_date text,
production_code text
)
CREATE TABLE schedule (
cinema_id number,
film_id number,
date text,
show_times_per_day number,
price number
)... |
SELECT MAX(year_born) FROM table_23670057_7 WHERE current_club = "Barons LMT" | What is the latest year born when the current club is Barons LMT? | CREATE TABLE table_23670057_7 (year_born INTEGER, current_club VARCHAR) |
SELECT vacator FROM table_2417390_4 WHERE district = "Nebraska At-large" | Who was the vacator for the district of Nebraska at-large? | CREATE TABLE table_2417390_4 (vacator VARCHAR, district VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "20" AND prescriptions.formulary_drug_cd = "IPRA2H" | what is the number of patients whose days of hospital stay is greater than 20 and drug code is ipra2h? | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
... |
SELECT COUNT(current_club) FROM table_23670057_7 WHERE player = "Aigars Vitols" | How many current clubs have the player Aigars Vitols? | CREATE TABLE table_23670057_7 (current_club VARCHAR, player VARCHAR) |
SELECT enrollment FROM table_24216139_2 WHERE nickname = "Cougars" | Name the enrollment with cougars | CREATE TABLE table_24216139_2 (enrollment VARCHAR, nickname VARCHAR) |
SELECT social_software FROM table_name_18 WHERE discussion = "no" AND time_tracking = "no" AND charting = "no" | WHAT IS THE SOCIAL SOFTWARE WITH NO DISCUSSION, NO TIME TRACKING, AND NO CHARTING? | CREATE TABLE table_name_18 (
social_software VARCHAR,
charting VARCHAR,
discussion VARCHAR,
time_tracking VARCHAR
) |
SELECT year_born FROM table_23670057_7 WHERE height__m_ = "1.88" | What is every year born for height of 1.88? | CREATE TABLE table_23670057_7 (year_born VARCHAR, height__m_ VARCHAR) |
SELECT MIN(enrollment) FROM table_24216139_2 WHERE sport = "Field hockey, men's swimming" | Name the least enrollment for field hockey, men's swimming | CREATE TABLE table_24216139_2 (enrollment INTEGER, sport VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2121" AND lab.fluid = "Cerebrospinal Fluid (CSF)" | what is the number of patients whose year of birth is less than 2121 and lab test fluid is cerebrospinal fluid (csf)? | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... |
SELECT no FROM table_23670057_7 WHERE player = "Aigars Vitols" | What is every number when the player is Aigars Vitols? | CREATE TABLE table_23670057_7 (no VARCHAR, player VARCHAR) |
SELECT institution FROM table_24216139_2 WHERE nickname = "Cougars" | Name the school that is cougars | CREATE TABLE table_24216139_2 (institution VARCHAR, nickname VARCHAR) |
SELECT ((TIME_TO_STR(Posts.CreationDate, '%W')) + (TIME_TO_STR(Posts.CreationDate, '%h')) / 24.0) AS HourOfWeek, COUNT(Posts.Id) AS Questions FROM Posts WHERE PostTypeId = 1 GROUP BY TIME_TO_STR(Posts.CreationDate, '%W'), TIME_TO_STR(Posts.CreationDate, '%h') ORDER BY HourOfWeek | Questions by Time of Day and Day of Week. Designed to consider whether 'night' questions have more visibility than 'day' questions | 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 MAX(high_schools) FROM table_2367847_2 WHERE district_wide = 31851 | Name the most high schools for 31851 | CREATE TABLE table_2367847_2 (high_schools INTEGER, district_wide VARCHAR) |
SELECT institution FROM table_24216139_2 WHERE nickname = "Purple Aces" | Name the institution for purple aces | CREATE TABLE table_24216139_2 (institution VARCHAR, nickname VARCHAR) |
SELECT SUM(cost.cost) FROM cost WHERE cost.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 73423) AND DATETIME(cost.chargetime) <= DATETIME(CURRENT_TIME(), '-4 year') | how much is the total medical bill of patient 73423 until 4 years ago during their stay? | CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE inputevents_cv (
row_id nu... |
SELECT MAX(district_wide) FROM table_2367847_2 WHERE other_programs_ & _adjustments = 1639 | Name the most district wide for 1639 other programs | CREATE TABLE table_2367847_2 (district_wide INTEGER, other_programs_ VARCHAR, _adjustments VARCHAR) |
SELECT title FROM table_24222929_2 WHERE directed_by = "John Terlesky" | Name the title that was directed by john terlesky | CREATE TABLE table_24222929_2 (title VARCHAR, directed_by VARCHAR) |
SELECT "Incumbent" FROM table_724 WHERE "District" = 'Florida 9' | who is the incumbent where the district is florida 9? | CREATE TABLE table_724 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
) |
SELECT COUNT(elementary_schools) FROM table_2367847_2 WHERE district_wide = 31851 | Name the total number of elementary schools for 31851 | CREATE TABLE table_2367847_2 (elementary_schools VARCHAR, district_wide VARCHAR) |
SELECT COUNT(title) FROM table_24222929_2 WHERE production_code = "3X5655" | Name the total number of titles for 3x5655 | CREATE TABLE table_24222929_2 (title VARCHAR, production_code VARCHAR) |
WITH a AS (SELECT pa.Score, pq.CreationDate AS question_date, pa.CreationDate AS answer_date, DATEDIFF(day, pq.CreationDate, CreationDate) AS daydiff FROM Posts AS pa JOIN Posts AS pq ON pa.ParentId = pq.Id) SELECT daydiff, AVG(1.00 * Score) AS quality FROM a WHERE daydiff >= 0 AND daydiff <= 300 GROUP BY daydiff ORDER... | mean answer score as function of response time. | CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
O... |
SELECT MAX(middle_schools) FROM table_2367847_2 WHERE year = "2005-2006" | Name the most middle schools for 2005-2006 | CREATE TABLE table_2367847_2 (middle_schools INTEGER, year VARCHAR) |
SELECT original_air_date FROM table_24223834_3 WHERE us_viewers__in_millions_ = "1.023" | What date did the episode that had 1.023 million u.s. viewers originally air? | CREATE TABLE table_24223834_3 (original_air_date VARCHAR, us_viewers__in_millions_ VARCHAR) |
SELECT "Player" FROM table_46647 WHERE "College/Country/Team" = 'connecticut' | What Player is from Connecticut? | CREATE TABLE table_46647 (
"Pick" real,
"Player" text,
"Nationality" text,
"New WNBA Team" text,
"Former WNBA Team" text,
"College/Country/Team" text
) |
SELECT may_2009 FROM table_23680576_2 WHERE jul_2009 = "7.2%" | If the polling average in July 2009 was 7.2%, what was it in May 2009? | CREATE TABLE table_23680576_2 (may_2009 VARCHAR, jul_2009 VARCHAR) |
SELECT no_in_series FROM table_24223834_3 WHERE us_viewers__in_millions_ = "2.528" | What episode number in the series had 2.528 million u.s. viewers? | CREATE TABLE table_24223834_3 (no_in_series VARCHAR, us_viewers__in_millions_ VARCHAR) |
SELECT "1406 Komppa" FROM table_21566 WHERE "1391 Carelia" = '1460 Haltia' | what is the 1406 komppa of asteroid which 1391 carelia is 1460 haltia | CREATE TABLE table_21566 (
"1391 Carelia" text,
"1398 Donnera" text,
"1405 Sibelius" text,
"1406 Komppa" text,
"1407 Lindel\u00f6f" text
) |
SELECT aug_2008 FROM table_23680576_2 WHERE sep_2008 = "5.0%" | What was the polling average in Aug 2009 when is was 5.0% in Sep 2009? | CREATE TABLE table_23680576_2 (aug_2008 VARCHAR, sep_2008 VARCHAR) |
SELECT us_viewers__in_millions_ FROM table_24223834_3 WHERE directed_by = "Daniel H. Forer" | How many million U.S. viewers watched the episode that Daniel H. Forer directed? | CREATE TABLE table_24223834_3 (us_viewers__in_millions_ VARCHAR, directed_by VARCHAR) |
SELECT COUNT("emission standard") FROM table_204_909 WHERE "emission standard" = '≤ 1.1' | at most part , how many emission standards are equal to or less than 1.1 ? | CREATE TABLE table_204_909 (
id number,
"pollutant" text,
"units" text,
"emission standard" number,
"coal-fired" text,
"petroleum coke-fired" text
) |
SELECT COUNT(oct_2008) FROM table_23680576_2 WHERE aug_2008 = "30.8%" | How many polling percentages were there in October 2008 when is was 30.8% in Aug 2008? | CREATE TABLE table_23680576_2 (oct_2008 VARCHAR, aug_2008 VARCHAR) |
SELECT COUNT(overall) FROM table_24223834_3 WHERE title = "This is What They Want" | How may overall episodes had the title "this is what they want"? | CREATE TABLE table_24223834_3 (overall VARCHAR, title VARCHAR) |
SELECT "Team" FROM table_73343 WHERE "Match played" = '10 4' | Which team has a match played of 10 4? | CREATE TABLE table_73343 (
"Team" text,
"Stadium" text,
"Match played" text,
"Highest" real,
"Lowest" real,
"Average" real
) |
SELECT party FROM table_23680576_2 WHERE dec_2008 = "6.3%" | Name the party/s when the polling percentage was 6.3% in Dec 2008. | CREATE TABLE table_23680576_2 (party VARCHAR, dec_2008 VARCHAR) |
SELECT tournament_winner FROM table_24248450_3 WHERE regular_season_winner = "UNC Wilmington" | Who was the Tournament Winner when UNC Wilmington won the regular season? | CREATE TABLE table_24248450_3 (tournament_winner VARCHAR, regular_season_winner VARCHAR) |
SELECT CAST(N'2016-03-08T08:00:00' AS DATETIME) | Users receiving multiple bounties from the same person. | CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
... |
SELECT nov_2008 FROM table_23680576_2 WHERE aug_2008 = "1.7%" | What was the polling percentage in Nov 2008 when it was 1.7% in Aug 2008? | CREATE TABLE table_23680576_2 (nov_2008 VARCHAR, aug_2008 VARCHAR) |
SELECT tournament_winner FROM table_24248450_3 WHERE conference = "Atlantic Sun conference" | Who won the tournament for the Atlantic Sun Conference? | CREATE TABLE table_24248450_3 (tournament_winner VARCHAR, conference VARCHAR) |
SELECT AVG("Episode number") FROM table_46367 WHERE "Original airdate" = 'march 21, 2010' AND "Season" < '3' | What is the average Episode Number, when Original Airdate is March 21, 2010, and when Season is less than 3? | CREATE TABLE table_46367 (
"Year" real,
"Show" text,
"Season" real,
"Episode" text,
"Episode number" real,
"Original airdate" text
) |
SELECT week_32 FROM table_23680576_3 WHERE week_33 = "31.9%" | What is the week 32 result when week 33 is 31.9%? | CREATE TABLE table_23680576_3 (week_32 VARCHAR, week_33 VARCHAR) |
SELECT conference AS Tournament FROM table_24248450_3 WHERE conference = "Big Sky conference" | What is the tournament called for the Big Sky Conference? | CREATE TABLE table_24248450_3 (conference VARCHAR) |
SELECT venue FROM table_name_2 WHERE round = "gs" AND result = "0–3" | Which Venue has a Round of gs, and a Result of 0 3? | CREATE TABLE table_name_2 (
venue VARCHAR,
round VARCHAR,
result VARCHAR
) |
SELECT week_37 FROM table_23680576_3 WHERE week_33 = "14.3%" | List all week 37 results when week 33 is 14.3%. | CREATE TABLE table_23680576_3 (week_37 VARCHAR, week_33 VARCHAR) |
SELECT COUNT(event_2_truck_pull) FROM table_24302700_2 WHERE event_1_medley = "6 (16.6m)" | How many men had an event 1 medley score of 6 (16.6m)? | CREATE TABLE table_24302700_2 (event_2_truck_pull VARCHAR, event_1_medley VARCHAR) |
SELECT producer_s_ FROM table_name_42 WHERE recipient = "animus films ltd" | Which producer worked for Animus Films LTD? | CREATE TABLE table_name_42 (
producer_s_ VARCHAR,
recipient VARCHAR
) |
SELECT COUNT(week_36) FROM table_23680576_3 WHERE week_32 = "13.2%" | List the full amount of week 36 results when week 32 is 13.2%. | CREATE TABLE table_23680576_3 (week_36 VARCHAR, week_32 VARCHAR) |
SELECT COUNT(event_4_carwalk) FROM table_24302700_2 WHERE nationality = "Ukraine" | How many men from the Ukraine? | CREATE TABLE table_24302700_2 (event_4_carwalk VARCHAR, nationality VARCHAR) |
SELECT Studio, COUNT(*) FROM film GROUP BY Studio ORDER BY Studio | List the studios of each film and the number of films produced by that studio Show bar chart, could you list by the X from low to high? | CREATE TABLE film (
Film_ID int,
Title text,
Studio text,
Director text,
Gross_in_dollar int
)
CREATE TABLE film_market_estimation (
Estimation_ID int,
Low_Estimate real,
High_Estimate real,
Film_ID int,
Type text,
Market_ID int,
Year int
)
CREATE TABLE market (
Mar... |
SELECT est FROM table_23685890_2 WHERE land_area__km²_ = "4563" | On what year was the local government area with a surface of 4563 square kilometers established? | CREATE TABLE table_23685890_2 (est VARCHAR, land_area__km²_ VARCHAR) |
SELECT event_3_squat_lift FROM table_24302700_2 WHERE nationality = "United States" AND event_2_truck_pull = "1 (42.66s)" | What was the result(s) in the event 3 squatlift for the man from the United states with a result of 1 (42.66s) in the event 2 truck pull? | CREATE TABLE table_24302700_2 (event_3_squat_lift VARCHAR, nationality VARCHAR, event_2_truck_pull VARCHAR) |
SELECT "U.S. viewers (millions)" FROM table_29792 WHERE "Directed by" = 'Michael Lembeck' | how many millions of north american viewers had the episode whose director was Michael Lembeck? | CREATE TABLE table_29792 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code(s)" real,
"U.S. viewers (millions)" text
) |
SELECT major_town FROM table_23685890_2 WHERE local_government_area = "Outback Areas Community Development Trust" | Which major town is located within the Outback Areas Community Development Trust? | CREATE TABLE table_23685890_2 (major_town VARCHAR, local_government_area VARCHAR) |
SELECT event_1_medley FROM table_24302700_2 WHERE event_3_squat_lift = "4 (6 in 31.85s)" | What was the result in the event 1 medley for the man with a 4 (6 in 31.85s) in the event 3 squat lift? | CREATE TABLE table_24302700_2 (event_1_medley VARCHAR, event_3_squat_lift VARCHAR) |
SELECT try_bonus FROM table_name_82 WHERE tries_against = "37" | With 37 tries against, what is the try bonus? | CREATE TABLE table_name_82 (
try_bonus VARCHAR,
tries_against VARCHAR
) |
SELECT MIN(towns) FROM table_23685890_2 WHERE land_area__km²_ = "110" | How many towns exist on the government area with a surface of 110 square kilometers? | CREATE TABLE table_23685890_2 (towns INTEGER, land_area__km²_ VARCHAR) |
SELECT MIN(series_no) FROM table_2430014_9 | Name the least series number | CREATE TABLE table_2430014_9 (series_no INTEGER) |
SELECT "name" FROM table_203_345 ORDER BY "took office" DESC LIMIT 1 | who was the last representative to take office ? | CREATE TABLE table_203_345 (
id number,
"name" text,
"party" text,
"took office" number,
"left office" number
) |
SELECT type FROM table_23685890_2 WHERE local_government_area = "Yalata" | What type of local government area is Yalata? | CREATE TABLE table_23685890_2 (type VARCHAR, local_government_area VARCHAR) |
SELECT county FROM table_24329520_8 WHERE members = 1 AND franchise_type = "Corporation" AND borough = "Ennis" | Which county has a membership of 1, a franchise type of corporation and a borough of Ennis? | CREATE TABLE table_24329520_8 (county VARCHAR, borough VARCHAR, members VARCHAR, franchise_type VARCHAR) |
SELECT SCHOOL_CODE, COUNT(*) FROM DEPARTMENT AS T1 JOIN PROFESSOR AS T2 ON T1.DEPT_CODE = T2.DEPT_CODE GROUP BY T1.SCHOOL_CODE ORDER BY COUNT(*) DESC | Return a bar chart on what is the number of professors for different school?, and sort from high to low by the the total number . | CREATE TABLE COURSE (
CRS_CODE varchar(10),
DEPT_CODE varchar(10),
CRS_DESCRIPTION varchar(35),
CRS_CREDIT float(8)
)
CREATE TABLE PROFESSOR (
EMP_NUM int,
DEPT_CODE varchar(10),
PROF_OFFICE varchar(50),
PROF_EXTENSION varchar(4),
PROF_HIGH_DEGREE varchar(5)
)
CREATE TABLE STUDENT ... |
SELECT pop_2006 FROM table_23685890_2 WHERE major_town = "Coober Pedy" | What was the 2006 population count of the local government area where Coober Pedy is located? | CREATE TABLE table_23685890_2 (pop_2006 VARCHAR, major_town VARCHAR) |
SELECT COUNT(members) FROM table_24329520_8 WHERE borough = "Bandon Bridge" | What is the number of members that have boroughs of Bandon Bridge? | CREATE TABLE table_24329520_8 (members VARCHAR, borough VARCHAR) |
SELECT COUNT(matches) FROM table_name_16 WHERE clubs = "588 → 406" | What is the total number of Matches, when Clubs is 588 406? | CREATE TABLE table_name_16 (
matches VARCHAR,
clubs VARCHAR
) |
SELECT MAX(week) FROM table_23685152_2 WHERE attendance = 20114 | During what week was the game attended by 20114 people? | CREATE TABLE table_23685152_2 (week INTEGER, attendance VARCHAR) |
SELECT COUNT(voters_in_1800) FROM table_24329520_8 WHERE borough = "Drogheda" | What is the number of voters in 1800 that have boroughs named Drogheda? | CREATE TABLE table_24329520_8 (voters_in_1800 VARCHAR, borough VARCHAR) |
SELECT meter_400, ID FROM swimmer ORDER BY ID DESC | Find meter_400 and ID , and visualize them by a bar chart, and list by the Y from high to low please. | CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year text
)
CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City text,
Country text,
Opening_year int
)
CREATE TABLE swimme... |
SELECT record FROM table_23685152_2 WHERE date = "July 28" | What was the record in game played on July 28? | CREATE TABLE table_23685152_2 (record VARCHAR, date VARCHAR) |
SELECT original_1st_us_tour_cast FROM table_24353141_1 WHERE original_tokyo___seoul_tour_cast = "Thomas Hettrick" | While the original toyko/seoul tour cast included thomas hettrick, who was in the original 1st us tour cast? | CREATE TABLE table_24353141_1 (original_1st_us_tour_cast VARCHAR, original_tokyo___seoul_tour_cast VARCHAR) |
SELECT LAST_NAME, EMPLOYEE_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY EMPLOYEE_ID | For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about employee_id over the last_name , show by the Y-axis in ascending. | CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE regions (
REGION_ID decimal(5,0),
... |
SELECT record FROM table_23685152_2 WHERE opponent = "Eskimos" | What was the record in the game against Eskimos? | CREATE TABLE table_23685152_2 (record VARCHAR, opponent VARCHAR) |
SELECT COUNT(original_3rd_us_tour_cast) FROM table_24353141_1 WHERE original_uk_cast = "Alyssa DiPalma" | How many original 3rd us tour cast were there while the original uk cast was alyssa dipalma? | CREATE TABLE table_24353141_1 (original_3rd_us_tour_cast VARCHAR, original_uk_cast VARCHAR) |
SELECT MAX(week) FROM table_name_83 WHERE attendance = "64,900" AND result = "l 34-13" | What is the Week of the game with an Attendance of 64,900 and a Result of L 34-13? | CREATE TABLE table_name_83 (
week INTEGER,
attendance VARCHAR,
result VARCHAR
) |
SELECT name FROM table_23696862_6 WHERE wsop_earnings = "$36,372" | Whose WSOP earnings were $36,372? | CREATE TABLE table_23696862_6 (name VARCHAR, wsop_earnings VARCHAR) |
SELECT original_tokyo___seoul_tour_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = "Nicci Claspell" | While the original 1st us tour cast included nicci claspell, who was in the original tokyo/seoul tour cast? | CREATE TABLE table_24353141_1 (original_tokyo___seoul_tour_cast VARCHAR, original_1st_us_tour_cast VARCHAR) |
SELECT "To par" FROM table_70730 WHERE "Player" = 'vijay singh' | What is the To par has the presence of Vijay Singh? | CREATE TABLE table_70730 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Hole" text
) |
SELECT wsop_cashes FROM table_23696862_6 WHERE wsop_earnings = "0" | The person who had 0 WSOP earnings had how man WSOP cashes? | CREATE TABLE table_23696862_6 (wsop_cashes VARCHAR, wsop_earnings VARCHAR) |
SELECT original_berkeley_cast FROM table_24353141_1 WHERE original_broadway_cast = "Stark Sands" | Who was in the original berkley cast while stark sands was in the original broadway cast? | CREATE TABLE table_24353141_1 (original_berkeley_cast VARCHAR, original_broadway_cast VARCHAR) |
SELECT name FROM personfriend GROUP BY name HAVING COUNT(*) = 1 | What are the names of everybody who has exactly one friend? | CREATE TABLE personfriend (
name text,
friend text,
year number
)
CREATE TABLE person (
name text,
age number,
city text,
gender text,
job text
) |
SELECT name FROM table_23696862_6 WHERE wsop_cashes = 2 AND final_place = "6th" | Who had 2 WSOP cashes and was 6th in final place? | CREATE TABLE table_23696862_6 (name VARCHAR, wsop_cashes VARCHAR, final_place VARCHAR) |
SELECT original_broadway_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = "Jake Epstein" | Who was in the original broadway cast while jake epstein was in the original 1st us tour cast? | CREATE TABLE table_24353141_1 (original_broadway_cast VARCHAR, original_1st_us_tour_cast VARCHAR) |
SELECT AVG(in_service) FROM table_name_37 WHERE aircraft = "antonov an-2 colt" | How many Antonov An-2 Colt aircraft are in service? | CREATE TABLE table_name_37 (
in_service INTEGER,
aircraft VARCHAR
) |
SELECT MIN(wsop_bracelets) FROM table_23696862_6 | What is the smallest amount of WSOP bracelets anyone had? | CREATE TABLE table_23696862_6 (wsop_bracelets INTEGER) |
SELECT original_3rd_us_tour_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = "Scott J. Campbell" | Who was in the original 3rd us tour cast while scott j. campbell was in the original 1st us tour cast? | CREATE TABLE table_24353141_1 (original_3rd_us_tour_cast VARCHAR, original_1st_us_tour_cast 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 (((flight.arrival_time <= 1730 AND flight.arrival_time >= 1630) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'CHICAGO' AND flight.to... | i want to fly from MIAMI to CHICAGO on AA and arrive at around 5 o'clock in the afternoon show me all flights | CREATE TABLE city (
city_code varchar,
city_name varchar,
state_code varchar,
country_name varchar,
time_zone_code varchar
)
CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines int,
propulsion varchar... |
SELECT wsop_cashes FROM table_23696862_6 WHERE wsop_earnings = "$126,796" | The person who had $126,796 WSOP earnings had how many WSOP cashes? | CREATE TABLE table_23696862_6 (wsop_cashes VARCHAR, wsop_earnings VARCHAR) |
SELECT MAX(cable_rank) FROM table_24399615_6 | What is the highest cable ranking? | CREATE TABLE table_24399615_6 (cable_rank INTEGER) |
SELECT "Opponent in the final" FROM table_57816 WHERE "Tournament" = 'lahore' | Who is the opponent in the Tournament of Lahore final? | CREATE TABLE table_57816 (
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent in the final" text,
"Score" text
) |
SELECT MAX(high_10_profile) FROM table_237036_2 WHERE high_profile = 80 | What is the high 10 profile number when the high profile is 80? | CREATE TABLE table_237036_2 (high_10_profile INTEGER, high_profile VARCHAR) |
SELECT status FROM table_24431348_18 WHERE player = "Philipp Kohlschreiber" | What is the status of player Philipp Kohlschreiber? | CREATE TABLE table_24431348_18 (status VARCHAR, player VARCHAR) |
SELECT HIRE_DATE, AVG(MANAGER_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) | For those employees who do not work in departments with managers that have ids between 100 and 200, a bar chart shows the distribution of hire_date and the average of manager_id bin hire_date by time. | CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varc... |
SELECT MIN(baseline), _extended_and_main_profiles FROM table_237036_2 WHERE level = "1.3" | What is the baseline extended and main profiles when level is 1.3? | CREATE TABLE table_237036_2 (_extended_and_main_profiles VARCHAR, baseline INTEGER, level VARCHAR) |
SELECT COUNT(points) AS won FROM table_24431348_18 WHERE seed = 25 | What the total amount of points won during seed 25? | CREATE TABLE table_24431348_18 (points VARCHAR, seed VARCHAR) |
SELECT DISTINCT paper.paperid FROM keyphrase, paper, paperkeyphrase, venue WHERE keyphrase.keyphrasename = 'crowdsourcing' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND paper.year = 2015 AND venue.venueid = paper.venueid AND venue.venuename = 'acl' | papers about crowdsourcing in acl 2015 | CREATE TABLE paperfield (
fieldid int,
paperid int
)
CREATE TABLE author (
authorid int,
authorname varchar
)
CREATE TABLE paperkeyphrase (
paperid int,
keyphraseid int
)
CREATE TABLE paperdataset (
paperid int,
datasetid int
)
CREATE TABLE field (
fieldid int
)
CREATE TABLE key... |
SELECT level FROM table_237036_2 WHERE macroblocks_s = 11880 AND high_10_profile = 6000 | What level has 11880 macroblocks and high 10 profile is 6000? | CREATE TABLE table_237036_2 (level VARCHAR, macroblocks_s VARCHAR, high_10_profile VARCHAR) |
SELECT status FROM table_24431348_18 WHERE rank = 20 | What was the status of rank 20? | CREATE TABLE table_24431348_18 (status VARCHAR, rank VARCHAR) |
SELECT "Years in Competition" FROM table_34195 WHERE "Premiership Years" = '1982, 1984, 1999, 2002-03, 2008-09-10' | What was the Years in competition that had a Premiership of 1982, 1984, 1999, 2002-03, 2008-09-10? | CREATE TABLE table_34195 (
"Club" text,
"Nickname" text,
"Years in Competition" text,
"No. of Premierships" real,
"Premiership Years" text
) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.