answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT original_air_date FROM table_26824484_1 WHERE production_code = "3AKY05" | What date did the episode with production code 3aky05 air? | CREATE TABLE table_26824484_1 (original_air_date VARCHAR, production_code VARCHAR) |
SELECT "Location/Attendance" FROM table_29628 WHERE "December" = '1' | What is the location and attendance total from the game on December 1? | CREATE TABLE table_29628 (
"Game" real,
"December" real,
"Opponent" text,
"Score" text,
"Location/Attendance" text,
"Record" text,
"Points" real
) |
SELECT population FROM table_name_15 WHERE area = "11" | What is the population of area of 11? | CREATE TABLE table_name_15 (population VARCHAR, area VARCHAR) |
SELECT title FROM table_26824484_1 WHERE directed_by = "Jeff Woolnough" AND written_by = "Christopher Ambrose" | Which episode was directed by Jeff Woolnough and written by Christopher Ambrose? | CREATE TABLE table_26824484_1 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR) |
SELECT MIN("Rank") FROM table_75473 WHERE "Points" > '52' AND "Year" > '1970' | Which Rank is the lowest one that has Points larger than 52, and a Year larger than 1970? | CREATE TABLE table_75473 (
"Rank" real,
"Player" text,
"Year" real,
"Game" text,
"Points" real
) |
SELECT traditional FROM table_name_14 WHERE population = "44,803" | What shows for traditional when the population was 44,803? | CREATE TABLE table_name_14 (traditional VARCHAR, population VARCHAR) |
SELECT original_air_date FROM table_26824484_1 WHERE directed_by = "Jessica Landaw" | What was the original air date of the episode that was directed by Jessica Landaw? | CREATE TABLE table_26824484_1 (original_air_date VARCHAR, directed_by VARCHAR) |
SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY AVG(EMPLOYEE_ID) DESC | For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about the average of employee_id over the hire_date bin hire_date by weekday by a bar chart, and show by the mean employee id from high to low. | CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE date,
JO... |
SELECT population FROM table_name_8 WHERE area = "4,575" | What is the population when the area is 4,575? | CREATE TABLE table_name_8 (population VARCHAR, area VARCHAR) |
SELECT no_in_season FROM table_26825349_1 WHERE production_code = "4AKY14" | What is the episode number of the episode with a production code of 4aky14? | CREATE TABLE table_26825349_1 (no_in_season VARCHAR, production_code VARCHAR) |
SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name, T1.Name ORDER BY T1.Code | For those records from the products and each product's manufacturer, give me the comparison about code over the name , and group by attribute name by a bar chart, and sort from low to high by the Code. | 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 simplified FROM table_name_13 WHERE density = "52" | What shows for simplified when the density is 52? | CREATE TABLE table_name_13 (simplified VARCHAR, density VARCHAR) |
SELECT original_air_date FROM table_26825349_1 WHERE us_viewers__millions_ = "8.62" | The episode that had 8.62 million US viewers originally aired on which date? | CREATE TABLE table_26825349_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) |
SELECT prescriptions.drug_type, prescriptions.formulary_drug_cd FROM prescriptions WHERE prescriptions.drug = "Hydrocerin" | provide the drug type and drug code for hydrocerin? | 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 density FROM table_name_33 WHERE simplified = "南山区" | What is the density when simplified shows 南山区? | CREATE TABLE table_name_33 (density VARCHAR, simplified VARCHAR) |
SELECT result FROM table_26842217_12 WHERE broadcast = "Big East Network" | What was the result in the game broadcast on the Big East Network? | CREATE TABLE table_26842217_12 (result VARCHAR, broadcast VARCHAR) |
SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '028-7951' AND STRFTIME('%y', patient.hospitaladmittime) <= '2104' ORDER BY patient.hospitaladmittime LIMIT 1 | when was patient 028-7951 admitted for the first time to the hospital until 2104? | CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmittime time,
... |
SELECT pinyin FROM table_name_22 WHERE simplified = "南山区" | What is the pinyin when the simplified shows 南山区? | CREATE TABLE table_name_22 (pinyin VARCHAR, simplified VARCHAR) |
SELECT result FROM table_26842217_12 WHERE visiting_team = "Louisiana-Monroe" | What was the result in the game where the visiting team was Louisiana-Monroe? | CREATE TABLE table_26842217_12 (result VARCHAR, visiting_team VARCHAR) |
SELECT MAX("No.") FROM table_22206 WHERE "Tournament" = 'Evian Masters' | List the total numbers of Evian Masters tournaments. | CREATE TABLE table_22206 (
"No." real,
"Date" text,
"Tournament" text,
"Winning score" text,
"To par" text,
"Margin of victory" text,
"Runner(s)-up" text,
"Winners share ( $ )" real
) |
SELECT country FROM table_name_26 WHERE player = "greg norman" | What country does Greg Norman represent? | CREATE TABLE table_name_26 (country VARCHAR, player VARCHAR) |
SELECT home_team FROM table_26842217_12 WHERE broadcast = "Big East Network" | Who was the home team in the game broadcast on the Big East Network? | CREATE TABLE table_26842217_12 (home_team VARCHAR, broadcast VARCHAR) |
SELECT entrant FROM table_name_76 WHERE year = 1967 | What is the entrant for 1967? | CREATE TABLE table_name_76 (
entrant VARCHAR,
year VARCHAR
) |
SELECT year_s__won FROM table_name_11 WHERE total = 286 | What years won have a total of 286? | CREATE TABLE table_name_11 (year_s__won VARCHAR, total VARCHAR) |
SELECT result FROM table_26842217_12 WHERE broadcast = "SEC Network" | What was the result in the game broadcast on the SEC Network? | CREATE TABLE table_26842217_12 (result VARCHAR, broadcast VARCHAR) |
SELECT MIN(interview) FROM table_name_46 WHERE state = "oklahoma" AND swimsuit < 8.8 | Tell me the lowest interview for oklahoma and swimsuit less than 8.8 | CREATE TABLE table_name_46 (
interview INTEGER,
state VARCHAR,
swimsuit VARCHAR
) |
SELECT player FROM table_name_22 WHERE total = 295 | Which player had a total of 295? | CREATE TABLE table_name_22 (player VARCHAR, total VARCHAR) |
SELECT E / vap FROM table_2683116_1 WHERE turnout = "85.7%" | What is the e/vap value for a turnout of exactly 85.7%? | CREATE TABLE table_2683116_1 (E VARCHAR, vap VARCHAR, turnout VARCHAR) |
SELECT * FROM table_dev_51 WHERE hypertension = 1 OR systolic_blood_pressure_sbp > 160 OR diastolic_blood_pressure_dbp > 95 | uncontrolled hypertension ( i.e., systolic blood pressure > 160 mm hg, or a diastolic blood pressure > 95 mmhg based on an average of 3 readings sitting ) | CREATE TABLE table_dev_51 (
"id" int,
"gender" string,
"antihypertensive_agents" bool,
"systolic_blood_pressure_sbp" int,
"hemoglobin_a1c_hba1c" float,
"obesity" bool,
"diastolic_blood_pressure_dbp" int,
"body_mass_index_bmi" float,
"hypertension" bool,
"prehypertension" bool,
... |
SELECT to_par FROM table_name_10 WHERE total = 291 | What is the To par when there was a total of 291? | CREATE TABLE table_name_10 (to_par VARCHAR, total VARCHAR) |
SELECT communes FROM table_2683116_1 WHERE enrolled = 174946 | What communes have enrolled values of 174946? | CREATE TABLE table_2683116_1 (communes VARCHAR, enrolled VARCHAR) |
SELECT "Stories" FROM table_45205 WHERE "Height (m)" < '138' AND "Year of completion" = '1971' | How many stories have a height less than 138 meters with a completion date in 1971? | CREATE TABLE table_45205 (
"Name" text,
"Location" text,
"Height (m)" real,
"Stories" real,
"Year of completion" real
) |
SELECT years_of_daylight_service FROM table_name_7 WHERE builder = "alco" | What is the year of daylight service when the builder was Alco? | CREATE TABLE table_name_7 (years_of_daylight_service VARCHAR, builder VARCHAR) |
SELECT COUNT(vap) FROM table_2683116_1 WHERE valid_votes = 140469 | How many vap values are associated with 140469 valid votes? | CREATE TABLE table_2683116_1 (vap VARCHAR, valid_votes VARCHAR) |
SELECT MAX("Attendance") FROM table_14003 WHERE "Round" = 'group e' | What is the highest attendance among Group E games? | CREATE TABLE table_14003 (
"Date" text,
"Time (CET)" text,
"Res." text,
"Round" text,
"Attendance" real
) |
SELECT 2006 AS _07_season FROM table_name_64 WHERE team = "kf fushë kosova" | What is 2006-07 Season, when Team is "KF Fushë Kosova"? | CREATE TABLE table_name_64 (team VARCHAR) |
SELECT time FROM table_26842217_10 WHERE visiting_team = "Georgia" | Name the time for georgia | CREATE TABLE table_26842217_10 (time VARCHAR, visiting_team VARCHAR) |
SELECT player FROM table_name_92 WHERE team = "chicago bulls" | Who plays for the chicago bulls? | CREATE TABLE table_name_92 (
player VARCHAR,
team VARCHAR
) |
SELECT year_s__won FROM table_name_40 WHERE total = 145 AND country = "united states" | What is Year(s) Won, when Total is "145", and when Country is "United States"? | CREATE TABLE table_name_40 (year_s__won VARCHAR, total VARCHAR, country VARCHAR) |
SELECT time FROM table_26842217_10 WHERE visiting_team = "#1 Alabama" | Name the time for #1 alabama | CREATE TABLE table_26842217_10 (time VARCHAR, visiting_team VARCHAR) |
SELECT q.Id AS "qid", t.Title AS "link", q.CreationDate AS "question_date", MIN(a.CreationDate) AS "1st_answer_date", DATEDIFF(n, q.CreationDate, MIN(a.CreationDate)) AS "min_to_1st_answer" FROM Posts AS q LEFT OUTER JOIN Posts AS a ON q.Id = a.ParentId LEFT OUTER JOIN Posts AS t ON q.Id = t.Id WHERE q.PostTypeId = 1 A... | (EXAMPLE #3) Time to First Answer (Link to Q using 3rd join to [Posts]). | CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate time,
OwnerUserId number,
AutoRenameCount number,
LastAutoRename time,
Score number,
ApprovedByUserId number,
ApprovalDate time
)
CREATE TABLE PostHistory (
Id number,
PostHistoryT... |
SELECT MIN(to_par) FROM table_name_97 WHERE total < 148 AND year_s__won = "1959 , 1968 , 1974" | What is the lowest To par, when Total is greater than 148, and when Year(s) Won is "1959 , 1968 , 1974"? | CREATE TABLE table_name_97 (to_par INTEGER, total VARCHAR, year_s__won VARCHAR) |
SELECT time FROM table_26842217_18 WHERE result = "MSST 29–24" | Name the time for result msst 29–24 | CREATE TABLE table_26842217_18 (time VARCHAR, result VARCHAR) |
SELECT COUNT("Gain") FROM table_48410 WHERE "Name" = 'williams, jonathan' AND "Loss" > '3' | Can you tell me the total number of Gain that has the Name of williams, jonathan, and the Loss larger than 3? | CREATE TABLE table_48410 (
"Name" text,
"Gain" real,
"Loss" real,
"Long" real,
"Avg/g" real
) |
SELECT country FROM table_name_20 WHERE to_par = 1 AND player = "seve ballesteros" | What is Country, when To par is "1", and when Player is "Seve Ballesteros"? | CREATE TABLE table_name_20 (country VARCHAR, to_par VARCHAR, player VARCHAR) |
SELECT COUNT(time) FROM table_26842217_18 WHERE visiting_team = "UAB" | Name the number of time for uab | CREATE TABLE table_26842217_18 (time VARCHAR, visiting_team VARCHAR) |
SELECT COUNT("VAP") FROM table_29055 WHERE "Valid votes" = '140469' | How many vap values are associated with 140469 valid votes? | CREATE TABLE table_29055 (
"District" real,
"Region" text,
"Communes" text,
"Population (2002 census)" real,
"% of total population" text,
"VAP" real,
"Enrolled" real,
"Total votes" real,
"Valid votes" real,
"Turnout" text,
"E/VAP" text,
"T/VAP" text,
"V/VAP" text
) |
SELECT SUM(total) FROM table_name_81 WHERE year_s__won = "1966 , 1970 , 1978" AND to_par < 4 | What is the sum of Total, when Year(s) Won is "1966 , 1970 , 1978", and when To par is less than 4? | CREATE TABLE table_name_81 (total INTEGER, year_s__won VARCHAR, to_par VARCHAR) |
SELECT date FROM table_26842217_18 WHERE broadcast = "FSN" | Name the date for broadcast fsn | CREATE TABLE table_26842217_18 (date VARCHAR, broadcast VARCHAR) |
SELECT result FROM table_name_23 WHERE score = "1–1" | Which result has a Score of 1 1? | CREATE TABLE table_name_23 (
result VARCHAR,
score VARCHAR
) |
SELECT country FROM table_name_19 WHERE total < 148 AND player = "gary player" | What is Country, when Total is less than 148, and when Player is "Gary Player"? | CREATE TABLE table_name_19 (country VARCHAR, total VARCHAR, player VARCHAR) |
SELECT broadcast FROM table_26842217_18 WHERE time = "7:00pm" AND home_team = "Mississippi State" | Name the broadcast for 7:00pm and mississippi state | CREATE TABLE table_26842217_18 (broadcast VARCHAR, time VARCHAR, home_team VARCHAR) |
SELECT "Township" FROM table_22467 WHERE "Longitude" = '-98.741656' | Which township has a longitude of -98.741656? | CREATE TABLE table_22467 (
"Township" text,
"County" text,
"Pop. (2010)" real,
"Land ( sqmi )" text,
"Water (sqmi)" text,
"Latitude" text,
"Longitude" text,
"GEO ID" real,
"ANSI code" real
) |
SELECT to_par FROM table_name_7 WHERE total < 148 AND country = "south africa" | What is To par, when Total is less than 148, and when Country is "South Africa"? | CREATE TABLE table_name_7 (to_par VARCHAR, total VARCHAR, country VARCHAR) |
SELECT date FROM table_26842217_18 WHERE broadcast = "ESPN" | Name the date for espn | CREATE TABLE table_26842217_18 (date VARCHAR, broadcast VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND diagnoses.icd9_code = "431" | how many patients are in admission location clinic referral/premature and with diagnosis icd9 code 431? | 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
C... |
SELECT AVG(age_at_appointment) FROM table_name_58 WHERE portfolio_attachment = "security" | What is the average age at appointment of those attached to security? | CREATE TABLE table_name_58 (age_at_appointment INTEGER, portfolio_attachment VARCHAR) |
SELECT broadcast FROM table_26842217_18 WHERE site = "Davis-Wade Stadium • Starkville MS" | Name the broadcast for davis-wade stadium • starkville ms | CREATE TABLE table_26842217_18 (broadcast VARCHAR, site VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dob_year < "2066" AND procedures.icd9_code = "9983" | how many patients born before 2066 undertook procedure icd9 code 9983? | CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
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
)
... |
SELECT distance FROM table_name_59 WHERE date = "saturday, august 23" | What was the distance of the race on saturday, august 23? | CREATE TABLE table_name_59 (distance VARCHAR, date VARCHAR) |
SELECT broadcast FROM table_26842217_16 WHERE home_team = "Kentucky" | On what network was the Kentucky game broadcast? | CREATE TABLE table_26842217_16 (broadcast VARCHAR, home_team VARCHAR) |
SELECT p.Id AS "post_link", p.Score, (SELECT COUNT(v.Id) FROM Votes AS v WHERE v.VoteTypeId IN (2, 3) AND v.PostId = p.Id) AS VoteCount, p.CreationDate FROM Posts AS p WHERE p.Score < '##ScoreInput##' AND (p.CreationDate < GETDATE() AND p.CreationDate > DATEADD(day, -'##DaysAgo##', GETDATE())) ORDER BY p.CreationDate D... | Questions with X amount of votes.. | CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId nu... |
SELECT winner FROM table_name_70 WHERE distance = "175.6km" | Who was the winner of the race that had a distance of 175.6km? | CREATE TABLE table_name_70 (winner VARCHAR, distance VARCHAR) |
SELECT site FROM table_26842217_4 WHERE visiting_team = "Louisiana-Lafayette" | Where's the louisiana-lafayette as a visiting team? | CREATE TABLE table_26842217_4 (site VARCHAR, visiting_team VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.diagnosis = "NEWBORN" AND lab.fluid = "Joint Fluid" | how many patients with newborn primary disease had joint fluid lab test? | 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 winner FROM table_name_18 WHERE date = "wednesday, august 27" | Who won the race on wednesday, august 27? | CREATE TABLE table_name_18 (winner VARCHAR, date VARCHAR) |
SELECT result FROM table_26842217_4 WHERE visiting_team = "Tennessee Tech" | What were the results of the tennessee tech as a visiting team? | CREATE TABLE table_26842217_4 (result VARCHAR, visiting_team VARCHAR) |
SELECT MAX(pestcode) FROM resultsdata15 | Which kind of pesticide is the easiest to be tested? | CREATE TABLE sampledata15 (
sample_pk number,
state text,
year text,
month text,
day text,
site text,
commod text,
source_id text,
variety text,
origin text,
country text,
disttype text,
commtype text,
claim text,
quantity number,
growst text,
packst t... |
SELECT distance FROM table_name_71 WHERE route = "maldegem > brussels" | What is the distance of the maldegem > brussels route? | CREATE TABLE table_name_71 (distance VARCHAR, route VARCHAR) |
SELECT home_team FROM table_26842217_4 WHERE visiting_team = "San Jose State" | What is the home team where the San Jose state is the visiting team? | CREATE TABLE table_26842217_4 (home_team VARCHAR, visiting_team VARCHAR) |
SELECT "To par" FROM table_61998 WHERE "Country" = 'united states' AND "Player" = 'jay haas' | What is To par, when Country is 'United States', and when Player is 'Jay Haas'? | CREATE TABLE table_61998 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
) |
SELECT winner FROM table_name_63 WHERE route = "mechelen > mechelen" | Who was the winner of the mechelen > mechelen route? | CREATE TABLE table_name_63 (winner VARCHAR, route VARCHAR) |
SELECT result FROM table_26842217_4 WHERE site = "Bryant-Denny Stadium • Tuscaloosa, AL" | What were the results in the bryant-denny stadium • tuscaloosa, al? | CREATE TABLE table_26842217_4 (result VARCHAR, site VARCHAR) |
SELECT COUNT(position) FROM table_name_61 WHERE goals_against > 48 AND points_1 = "29" AND played < 34 | What is the total number of positions when there are more than 48 goals against, 1 of 29 points are played, and less than 34 games have been played? | CREATE TABLE table_name_61 (
position VARCHAR,
played VARCHAR,
goals_against VARCHAR,
points_1 VARCHAR
) |
SELECT imap_shared FROM table_name_93 WHERE web_ui = "web ui" | What IMAP sharing options exist for software with a web UI? | CREATE TABLE table_name_93 (imap_shared VARCHAR, web_ui VARCHAR) |
SELECT home_team FROM table_26842217_4 WHERE time = "7:30pm" AND broadcast = "ESPN" | What home team is at 7:30pm in ESPN? | CREATE TABLE table_26842217_4 (home_team VARCHAR, time VARCHAR, broadcast VARCHAR) |
SELECT "Country" FROM table_4328 WHERE "Lane" = '6' | Tell me the country for lane of 6 | CREATE TABLE table_4328 (
"Heat Rank" real,
"Lane" real,
"Swimmer" text,
"Country" text,
"Time" real,
"Overall Rank" text
) |
SELECT total FROM table_name_3 WHERE event = "wc belgrade" AND rank_points = "10" | What's the total for the wc belgrade event with 10 rank points? | CREATE TABLE table_name_3 (total VARCHAR, event VARCHAR, rank_points VARCHAR) |
SELECT time FROM table_26842217_8 WHERE visiting_team = "Clemson" | If the visiting team is Clemson, when was the time? | CREATE TABLE table_26842217_8 (time VARCHAR, visiting_team VARCHAR) |
SELECT titles FROM table_25840200_1 WHERE notes = "Undercard of Stevenson/Bellew" | What was the title for the Undercard of Stevenson/Bellew? | CREATE TABLE table_25840200_1 (
titles VARCHAR,
notes VARCHAR
) |
SELECT total FROM table_name_72 WHERE rank_points = "olympic gold medalist" | That's the total for rank points of olympic gold medalist? | CREATE TABLE table_name_72 (total VARCHAR, rank_points VARCHAR) |
SELECT COUNT(attendance) FROM table_26842217_8 WHERE site = "Wallace Wade Stadium • Durham, NC" | How many times was the site wallace wade stadium • durham, nc? | CREATE TABLE table_26842217_8 (attendance VARCHAR, site VARCHAR) |
SELECT school FROM table_name_88 WHERE round = 3 | From what school was the player drafted in round 3? | CREATE TABLE table_name_88 (
school VARCHAR,
round VARCHAR
) |
SELECT shooter FROM table_name_51 WHERE score_points = "defending champion" | Who's the shooter with score points of defending champion? | CREATE TABLE table_name_51 (shooter VARCHAR, score_points VARCHAR) |
SELECT result FROM table_26842217_8 WHERE site = "Wallace Wade Stadium • Durham, NC" | If the site was wallace wade stadium • durham, nc, what was the result? | CREATE TABLE table_26842217_8 (result VARCHAR, site VARCHAR) |
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight, flight_stop WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SEATTLE' AND CITY_2.ci... | list the flights from BALTIMORE to SEATTLE that stop in MINNEAPOLIS | CREATE TABLE date_day (
month_number int,
day_number int,
year int,
day_name varchar
)
CREATE TABLE fare (
fare_id int,
from_airport varchar,
to_airport varchar,
fare_basis_code text,
fare_airline text,
restriction_code text,
one_direction_cost int,
round_trip_cost int,
... |
SELECT shooter FROM table_name_57 WHERE total = "25" | Who's the shooter with a total of 25? | CREATE TABLE table_name_57 (shooter VARCHAR, total VARCHAR) |
SELECT date FROM table_26842217_8 WHERE site = "Sanford Stadium • Athens, GA" | If the site is sanford stadium • athens, ga, what is the date? | CREATE TABLE table_26842217_8 (date VARCHAR, site VARCHAR) |
SELECT "Videoconferencing" FROM table_59588 WHERE "Synchronous conferencing" = 'no' AND "Web conferencing" = 'no' AND "Faxing" = 'yes' | What is Videoconferencing, when Synchronous Conferencing is 'No', when Web Conferencing is 'No', and when Faxing is 'Yes'? | CREATE TABLE table_59588 (
"Name" text,
"E-mail server" text,
"Faxing" text,
"Instant messaging" text,
"Telephony" text,
"Videoconferencing" text,
"Web conferencing" text,
"Data conferencing" text,
"Application sharing" text,
"Electronic meeting system" text,
"Synchronous con... |
SELECT shooter FROM table_name_32 WHERE score_points = "13" AND rank_points = "10" | Who's the shooter with 13 score points and 10 rank points? | CREATE TABLE table_name_32 (shooter VARCHAR, score_points VARCHAR, rank_points VARCHAR) |
SELECT production_code FROM table_26845668_1 WHERE us_viewers__millions_ = "4.32" | What is the production code for the movie with 4.32 million U.S. viewers? | CREATE TABLE table_26845668_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR) |
SELECT "Date" FROM table_37637 WHERE "Week" < '4' AND "Game Site" = 'rca dome' AND "Opponent" = 'new england patriots' | Week smaller than 4, and a Game Site of rca dome, and a Opponent of new england patriots involves what date? | CREATE TABLE table_37637 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game Site" text,
"Attendance" text
) |
SELECT MAX(points) FROM table_name_95 WHERE top_goal_scorer = "khaled msakni (10)" AND final_standing < 12 | What is the highest points when the top goal scorer was Khaled Msakni (10), and the final standing is less than 12? | CREATE TABLE table_name_95 (points INTEGER, top_goal_scorer VARCHAR, final_standing VARCHAR) |
SELECT COUNT(time) FROM table_26842217_6 WHERE visiting_team = "Louisiana-Monroe" | How many times was Louisiana-Monroe a visiting team? | CREATE TABLE table_26842217_6 (time VARCHAR, visiting_team VARCHAR) |
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE Id = 1362136 ORDER BY Reputation DESC | Top Irish users on Stackoverflow. | CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE PostFeedback (
Id number,
PostId numb... |
SELECT final_standing FROM table_name_58 WHERE years = "1981–82" | What is the final standing in 1981–82? | CREATE TABLE table_name_58 (final_standing VARCHAR, years VARCHAR) |
SELECT date FROM table_26842217_6 WHERE visiting_team = "South Florida" | List all dates where South Florida was a visiting team. | CREATE TABLE table_26842217_6 (date VARCHAR, visiting_team VARCHAR) |
SELECT SUM(Amount_Claimed) FROM Claims | Find the total claimed amount of all the claims. | CREATE TABLE Claims (
Amount_Claimed INTEGER
) |
SELECT event FROM table_name_76 WHERE position = "4th" AND year = 2007 | Which event had 4th place and took place in the year 2007? | CREATE TABLE table_name_76 (event VARCHAR, position VARCHAR, year VARCHAR) |
SELECT time FROM table_26842217_6 WHERE visiting_team = "#7 Oregon" | How many times was #7 Oregon a visiting team? | CREATE TABLE table_26842217_6 (time VARCHAR, visiting_team VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.