answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT away_team AS score FROM table_name_33 WHERE home_team = "footscray" | During footscray's home match, who was the away team? | CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR) |
SELECT position FROM table_1637041_6 WHERE avg_start = "9.2" | What was the position in the season when the average start is 9.2? | CREATE TABLE table_1637041_6 (position VARCHAR, avg_start VARCHAR) |
SELECT "1st prize ( $ )" FROM table_37503 WHERE "Location" = 'ohio' AND "Tournament" = 'american golf classic' | How much was the first place prize for the American golf classic located in Ohio? | CREATE TABLE table_37503 (
"Date" text,
"Tournament" text,
"Location" text,
"Winner" text,
"Score" text,
"1st prize ( $ )" text
) |
SELECT format FROM table_name_92 WHERE region = "united states" AND date = "august 11, 2009" | Which format had a United States region and a date of August 11, 2009? | CREATE TABLE table_name_92 (format VARCHAR, region VARCHAR, date VARCHAR) |
SELECT avg_start FROM table_1637041_6 WHERE winnings = "$7,220" | What is the average start for the season with $7,220 in winnings? | CREATE TABLE table_1637041_6 (avg_start VARCHAR, winnings VARCHAR) |
SELECT meter_400, ID FROM swimmer ORDER BY meter_400 DESC | Show id from each meter 400, and list by the X from high to low. | 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 swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
meter_200 text,
meter_300 text,
meter_40... |
SELECT date FROM table_name_76 WHERE region = "japan" | Which date had a Japan region? | CREATE TABLE table_name_76 (date VARCHAR, region VARCHAR) |
SELECT winnings FROM table_1637041_6 WHERE avg_finish = "11.1" | What are the winnings for the season where the average finish is 11.1? | CREATE TABLE table_1637041_6 (winnings VARCHAR, avg_finish VARCHAR) |
SELECT result FROM table_name_83 WHERE western_champion = "sacramento monarchs" AND eastern_champion = "connecticut sun" | What is the score from the Sacramento monarchs from the west and the Connecticut sun from the east? | CREATE TABLE table_name_83 (
result VARCHAR,
western_champion VARCHAR,
eastern_champion VARCHAR
) |
SELECT region FROM table_name_89 WHERE catalogue = "9362482872" | Which region had a catalogue number of 9362482872? | CREATE TABLE table_name_89 (region VARCHAR, catalogue VARCHAR) |
SELECT MAX(wins) FROM table_1637041_6 WHERE starts = 22 | What is the maximum number of wins in the season with 22 starts? | CREATE TABLE table_1637041_6 (wins INTEGER, starts VARCHAR) |
SELECT record FROM table_name_60 WHERE opponent = "cincinnati royals" | What was the record in the game where the opponent was the cincinnati royals? | CREATE TABLE table_name_60 (
record VARCHAR,
opponent VARCHAR
) |
SELECT region FROM table_name_41 WHERE date = "november 18, 2002" | Which region had the date of November 18, 2002? | CREATE TABLE table_name_41 (region VARCHAR, date VARCHAR) |
SELECT all_games FROM table_16372244_1 WHERE team = "Maryland" | What is the all games for Maryland? | CREATE TABLE table_16372244_1 (all_games VARCHAR, team VARCHAR) |
SELECT club FROM table_2454589_1 WHERE home_city = "Quevedo" | Name the club for quevedo | CREATE TABLE table_2454589_1 (
club VARCHAR,
home_city VARCHAR
) |
SELECT label FROM table_name_53 WHERE region = "japan" AND date = "november 3, 2004" | Which label had a Japan region and a date of November 3, 2004? | CREATE TABLE table_name_53 (label VARCHAR, region VARCHAR, date VARCHAR) |
SELECT kalamazoo__azo_ FROM table_1637981_7 WHERE saginaw__mbs_ = "$481.39" | What is the fare to Kalamazoo during the time frame when Saginaw's was $481.39? | CREATE TABLE table_1637981_7 (kalamazoo__azo_ VARCHAR, saginaw__mbs_ VARCHAR) |
SELECT money___$__ FROM table_name_19 WHERE player = "lloyd mangrum" | What was the Money ($) amount for Lloyd Mangrum? | CREATE TABLE table_name_19 (
money___$__ VARCHAR,
player VARCHAR
) |
SELECT label FROM table_name_38 WHERE format = "cd" AND date = "june 25, 2002" | Which label had a CD format and a date of June 25, 2002? | CREATE TABLE table_name_38 (label VARCHAR, format VARCHAR, date VARCHAR) |
SELECT detroit__dtw_ FROM table_1637981_7 WHERE lansing__lan_ = "$433.59" | When Lansing's fare is $433.59, what is the Detroit fare? | CREATE TABLE table_1637981_7 (detroit__dtw_ VARCHAR, lansing__lan_ VARCHAR) |
SELECT Questions.Id AS "post_link", Questions.Title, Questions.AnswerCount, Questions.ViewCount, Questions.FavoriteCount, Questions.Score, Questions.LastActivityDate, Questions.Tags FROM Posts AS Answers INNER JOIN Posts AS Questions ON Questions.Id = Answers.ParentId INNER JOIN Users AS Users ON Answers.OwnerUserId = ... | Top 100 most viewed questions. Questions must have at least 1000 views to qualify | CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text text,
Title text,
Tags text,
RevisionGUID other
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
... |
SELECT award FROM table_name_76 WHERE result = "nominated" AND year = 2007 | What award was nominated in 2007? | CREATE TABLE table_name_76 (award VARCHAR, result VARCHAR, year VARCHAR) |
SELECT lansing__lan_ FROM table_1637981_7 WHERE saginaw__mbs_ = "$470.47" | At a Saginaw fare of $470.47, what is the fare to Lansing? | CREATE TABLE table_1637981_7 (lansing__lan_ VARCHAR, saginaw__mbs_ VARCHAR) |
SELECT T2.Name, MAX(T1.Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY MAX(T1.Price) | Select the name of each manufacturer along with the price of its most expensive product using a bar chart, order y axis from low to high order please. | 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 AVG(year) FROM table_name_41 WHERE result = "won" AND award = "inside soap awards" | What year did was the Inside Soap Awards won? | CREATE TABLE table_name_41 (year INTEGER, result VARCHAR, award VARCHAR) |
SELECT kalamazoo__azo_ FROM table_1637981_7 WHERE lansing__lan_ = "$433.59" | During the year when Lansing's fare is $433.59, what is the fare to Kalamazoo? | CREATE TABLE table_1637981_7 (kalamazoo__azo_ VARCHAR, lansing__lan_ VARCHAR) |
SELECT termini FROM table_name_2 WHERE junctions = "i-35 fm 3338 sh 255" | What's the termini of the route with junctions of i-35 fm 3338 sh 255? | CREATE TABLE table_name_2 (
termini VARCHAR,
junctions VARCHAR
) |
SELECT record FROM table_name_9 WHERE date = "april 9, 2008" | What was the record for the game on April 9, 2008? | CREATE TABLE table_name_9 (record VARCHAR, date VARCHAR) |
SELECT grand_rapids__grr_ FROM table_1637981_7 WHERE saginaw__mbs_ = "$470.47" | When Saginaw's fare is $470.47, what was the fare to Grand Rapids? | CREATE TABLE table_1637981_7 (grand_rapids__grr_ VARCHAR, saginaw__mbs_ VARCHAR) |
SELECT TIME_TO_STR(CreationDate, '%Y') AS "year", TIME_TO_STR(CreationDate, '%m') AS "date", Score AS "score", COUNT(*) AS CommentCount, SUM(LENGTH(Text)) AS Typed, GROUPING(TIME_TO_STR(CreationDate, '%Y')), GROUPING(TIME_TO_STR(CreationDate, '%m')), GROUPING(Score) FROM Comments WHERE UserId = @UserId GROUP BY CUBE (T... | Testing CUBE (and ROLLUP) using ISO-Compliant syntax. It seems even though you cannot refer to column names in normal SQL
(simple ORDER BY references excepted -- a SQL Extension I believe)
you do have to consider the matching expression as a name because
although ISNULL(x,y) should never be null, it clearly is in the
s... | CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TAB... |
SELECT leading_scorer FROM table_name_34 WHERE date = "april 9, 2008" | Who was the leading scorer on April 9, 2008? | CREATE TABLE table_name_34 (leading_scorer VARCHAR, date VARCHAR) |
SELECT detroit__dtw_ FROM table_1637981_7 WHERE grand_rapids__grr_ = "$377.29" | When Grand Rapids's fare was $377.29, what is the fare to Detroit? | CREATE TABLE table_1637981_7 (detroit__dtw_ VARCHAR, grand_rapids__grr_ VARCHAR) |
SELECT country, COUNT(*) FROM member GROUP BY country | Show the different countries and the number of members from each. | CREATE TABLE round (
round_id number,
member_id number,
decoration_theme text,
rank_in_round number
)
CREATE TABLE college (
college_id number,
name text,
leader_name text,
college_location text
)
CREATE TABLE member (
member_id number,
name text,
country text,
college_... |
SELECT away_team FROM table_name_33 WHERE home_team = "st kilda" | in a game against st kilda, what was the away team's score? | CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR) |
SELECT MAX(enrollment) FROM table_16383772_1 WHERE school = "Niagara University" | Name the maximum enrollment for niagara university | CREATE TABLE table_16383772_1 (enrollment INTEGER, school VARCHAR) |
SELECT MIN(crowd) FROM table_name_50 WHERE venue = "kardinia park" | what is the lowest crowd at kardinia park | CREATE TABLE table_name_50 (
crowd INTEGER,
venue VARCHAR
) |
SELECT home_team FROM table_name_46 WHERE away_team = "geelong" | In the match where geelong was the away team, who was the home team? | CREATE TABLE table_name_46 (home_team VARCHAR, away_team VARCHAR) |
SELECT primary_conference FROM table_16383772_1 WHERE school = "St. Bonaventure University" | Name the primary conference for st. bonaventure university | CREATE TABLE table_16383772_1 (primary_conference VARCHAR, school VARCHAR) |
SELECT AVG(workload) FROM program_course WHERE category LIKE '%PreMajor%' | On average , how hard are PreMajor courses ? | CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE instructor (
instructor_id int,
name varchar,
uniqname varchar
)
CREATE TABLE program_cours... |
SELECT COUNT(votes) FROM table_name_67 WHERE seats > 28 | What is the number of votes for the party which got more than 28 seats? | CREATE TABLE table_name_67 (votes VARCHAR, seats INTEGER) |
SELECT COUNT(nickname) FROM table_16383772_1 WHERE school = "St. Bonaventure University" | Name the total number of nicknames for st. bonaventure university | CREATE TABLE table_16383772_1 (nickname VARCHAR, school VARCHAR) |
SELECT MIN(grid) FROM table_name_24 WHERE bike = "ducati 1098 rs 08" AND rider = "max biaggi" | Name the lowest Grid which has a Bike of ducati 1098 rs 08 and a Rider of max biaggi? | CREATE TABLE table_name_24 (
grid INTEGER,
bike VARCHAR,
rider VARCHAR
) |
SELECT MIN(votes) FROM table_name_86 WHERE party = "labour" | What is the number of votes for the Party of Labour? | CREATE TABLE table_name_86 (votes INTEGER, party VARCHAR) |
SELECT COUNT(affiliation) FROM table_16383772_1 WHERE enrollment = 14898 | Name the total number of affiliation for enrollment being 14898 | CREATE TABLE table_16383772_1 (affiliation VARCHAR, enrollment VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "SDH" | which patients have sdh primary disease? | CREATE TABLE diagnoses (
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
)
C... |
SELECT percentage FROM table_name_15 WHERE seats = 80 | What is the percentage of votes for the party that has Seats of 80? | CREATE TABLE table_name_15 (percentage VARCHAR, seats VARCHAR) |
SELECT acc_home FROM table_16372911_1 WHERE acc__percentage = ".813" | what was the ACC home game record for the team who's ACC winning percentage was .813? | CREATE TABLE table_16372911_1 (acc_home VARCHAR, acc__percentage VARCHAR) |
SELECT lab.labresulttime FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '004-86136')) AND lab.labname = 'anion gap' AND DATETIME(lab.labresulttime, 'start o... | what was the first time patient 004-86136 had a maximum of anion gap in 12/this year? | CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE intakeoutput (
intakeoutpu... |
SELECT leader FROM table_name_18 WHERE seats < 28 AND percentage = "54.03" AND votes > 120 OFFSET 801 | Who is the leader of the party which has Seats less than 28, a percentage of votes 54.03, and more votes than 120,801? | CREATE TABLE table_name_18 (leader VARCHAR, votes VARCHAR, seats VARCHAR, percentage VARCHAR) |
SELECT written_by FROM table_16384596_4 WHERE broadcast_order = "S02 E07" | Who wrote the episode for s02 e07? | CREATE TABLE table_16384596_4 (written_by VARCHAR, broadcast_order VARCHAR) |
SELECT MIN("Ties") FROM table_53417 WHERE "Losses" = '7' AND "Games Played" < '10' | what is the lowest number of ties when the losses is 7 and games played is less than 10? | CREATE TABLE table_53417 (
"Team" text,
"Games Played" real,
"Wins" real,
"Losses" real,
"Ties" real,
"Goals For" real,
"Goals Against" real
) |
SELECT MAX(seats) FROM table_name_83 WHERE votes = 244 OFFSET 867 | Which highest number of Seats has votes of 244,867? | CREATE TABLE table_name_83 (seats INTEGER, votes VARCHAR) |
SELECT directed_by FROM table_16384596_4 WHERE broadcast_order = "S02 E08" | Who directed the episode for s02 e08? | CREATE TABLE table_16384596_4 (directed_by VARCHAR, broadcast_order VARCHAR) |
SELECT DISTINCT paper.year FROM author, paper, writes WHERE author.authorname = 'Luke S Zettlemoyer' AND writes.authorid = author.authorid AND writes.paperid = paper.paperid ORDER BY paper.year | When did Luke S Zettlemoyer publish ? | CREATE TABLE writes (
paperid int,
authorid int
)
CREATE TABLE paperfield (
fieldid int,
paperid int
)
CREATE TABLE journal (
journalid int,
journalname varchar
)
CREATE TABLE keyphrase (
keyphraseid int,
keyphrasename varchar
)
CREATE TABLE venue (
venueid int,
venuename var... |
SELECT date FROM table_name_89 WHERE home_team = "melbourne" | What was the Date of the game of the Home team of melbourne? | CREATE TABLE table_name_89 (date VARCHAR, home_team VARCHAR) |
SELECT directed_by FROM table_16384596_4 WHERE production_code = 209 | Who directed the episode with the production code 209? | CREATE TABLE table_16384596_4 (directed_by VARCHAR, production_code VARCHAR) |
SELECT "Chassis" FROM table_42453 WHERE "Rank" = '3rd' | What is the chassis when the rank is 3rd? | CREATE TABLE table_42453 (
"Year" real,
"Team" text,
"Chassis" text,
"Engine" text,
"Rank" text,
"Points" real
) |
SELECT home_team AS score FROM table_name_29 WHERE away_team = "south melbourne" | What was the score of the Home team in the game that had the Away team of south melbourne? | CREATE TABLE table_name_29 (home_team VARCHAR, away_team VARCHAR) |
SELECT COUNT(institution) FROM table_16384648_2 WHERE team_nickname = "Bobcats" | How many schools have the team nickname bobcats? | CREATE TABLE table_16384648_2 (institution VARCHAR, team_nickname VARCHAR) |
SELECT CRS_CODE, COUNT(*) FROM CLASS GROUP BY CRS_CODE ORDER BY COUNT(*) DESC | How many sections does each course has Visualize by bar chart, and rank y axis in descending order. | CREATE TABLE ENROLL (
CLASS_CODE varchar(5),
STU_NUM int,
ENROLL_GRADE varchar(50)
)
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 (
STU_NUM int,
STU_LNAME varc... |
SELECT away_team FROM table_name_60 WHERE home_team = "north melbourne" | what was the away team for the north melbourne home team? | CREATE TABLE table_name_60 (away_team VARCHAR, home_team VARCHAR) |
SELECT location FROM table_16384648_2 WHERE team_nickname = "Bearcats" | Which city has the team nickname bearcats? | CREATE TABLE table_16384648_2 (location VARCHAR, team_nickname VARCHAR) |
SELECT COUNT("serial name") FROM table_203_173 WHERE "channel" = 'zee tv' | how many shows were on zee tv ? | CREATE TABLE table_203_173 (
id number,
"year(s)" text,
"serial name" text,
"role" text,
"co-star" text,
"note(s)" text,
"channel" text
) |
SELECT away_team AS score FROM table_name_31 WHERE home_team = "melbourne" | what was the away team score in a game with north melbourne as home team? | CREATE TABLE table_name_31 (away_team VARCHAR, home_team VARCHAR) |
SELECT joined_tschl FROM table_16384648_2 WHERE institution = "University of Pittsburgh" | What year did the university of Pittsburgh school join the hockey league? | CREATE TABLE table_16384648_2 (joined_tschl VARCHAR, institution VARCHAR) |
SELECT protein_name FROM table_name_2 WHERE sequence_identity_to_human_protein = "32%" | What is the protein name of the protein with a sequence identity to human protein of 32%? | CREATE TABLE table_name_2 (
protein_name VARCHAR,
sequence_identity_to_human_protein VARCHAR
) |
SELECT away_team AS score FROM table_name_15 WHERE away_team = "st kilda" | what was the away team with st kilda as the away team? | CREATE TABLE table_name_15 (away_team VARCHAR) |
SELECT MIN(joined_tschl) FROM table_16384648_2 | What's the earliest year anybody joined the hockey league? | CREATE TABLE table_16384648_2 (joined_tschl INTEGER) |
SELECT "Winner" FROM table_48655 WHERE "Year" < '1935' AND "Result" = '56-0' | Who was the winner when the result was 56-0 before 1935? | CREATE TABLE table_48655 (
"Year" real,
"Date" text,
"Winner" text,
"Result" text,
"Loser" text,
"Location" text
) |
SELECT MAX(yards) FROM table_name_25 WHERE solo = 1 AND sack > 0 | How many yards for the player with 1 solo tackle and over 0 sacks? | CREATE TABLE table_name_25 (yards INTEGER, solo VARCHAR, sack VARCHAR) |
SELECT location FROM table_16384648_2 WHERE team_website = "Cincinnati Hockey" | Which city has the cincinnati hockey website? | CREATE TABLE table_16384648_2 (location VARCHAR, team_website VARCHAR) |
SELECT "Date" FROM table_55793 WHERE "Home team score" = '11.18 (84)' | What date has a Home team score of 11.18 (84)? | CREATE TABLE table_55793 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) |
SELECT 3 AS _credits FROM table_name_34 WHERE hand = "theoretical return" | What does a hand of Theoretical return have as a 3 credit? | CREATE TABLE table_name_34 (hand VARCHAR) |
SELECT MIN(capacity) FROM table_16384648_2 WHERE team_nickname = "Flyers" | For the flyers, what's the minimum capacity? | CREATE TABLE table_16384648_2 (capacity INTEGER, team_nickname VARCHAR) |
SELECT left_office FROM table_name_63 WHERE political_party = "ba'ath party ( syria region )" AND took_office = "7 march 1958" | What is Left Office, when Political Party is Ba'ath Party ( Syria Region ), and when Took Office is 7 March 1958? | CREATE TABLE table_name_63 (
left_office VARCHAR,
political_party VARCHAR,
took_office VARCHAR
) |
SELECT 5 AS _credits FROM table_name_58 WHERE hand = "full house" | What does full house have as a 5 credits? | CREATE TABLE table_name_58 (hand VARCHAR) |
SELECT COUNT(pinyin) FROM table_1638437_2 WHERE simplified = "河西区" | Name the number of pinyin where simplified is 河西区 | CREATE TABLE table_1638437_2 (pinyin VARCHAR, simplified VARCHAR) |
SELECT "Home Team" FROM table_66045 WHERE "Rank" > '6' AND "Capacity" = '94,392' | What home team has a rank greater than 6, and 94,392 as the capacity? | CREATE TABLE table_66045 (
"Rank" real,
"Stadium" text,
"Capacity" text,
"Location" text,
"Home Team" text
) |
SELECT 4 AS _credits FROM table_name_28 WHERE hand = "straight" | What would be the 4 credits result of a straight? | CREATE TABLE table_name_28 (hand VARCHAR) |
SELECT pinyin FROM table_1638437_2 WHERE population = 44617 | Name the pinyin for where population is 44617 | CREATE TABLE table_1638437_2 (pinyin VARCHAR, population VARCHAR) |
SELECT tournament FROM table_name_88 WHERE date = "12 november 2006" | What tournament happened on 12 november 2006? | CREATE TABLE table_name_88 (
tournament VARCHAR,
date VARCHAR
) |
SELECT home FROM table_name_96 WHERE score = "2 – 2" | Who was the home team at the game that had a score of 2 – 2? | CREATE TABLE table_name_96 (home VARCHAR, score VARCHAR) |
SELECT pinyin FROM table_1638437_2 WHERE area = "487" | Name the pinyin for 487 area | CREATE TABLE table_1638437_2 (pinyin VARCHAR, area VARCHAR) |
SELECT "SlNo" FROM table_27635 WHERE "Contact Person" = 'SDE (P), Thiruppattur' | What was the SlNo no of contact person SDE (P), Thiruppattur? | CREATE TABLE table_27635 (
"SlNo" real,
"Name of the City" text,
"Address" text,
"Contact Person" text,
"Telephone No" text,
"Facilities Offered" text
) |
SELECT date FROM table_name_36 WHERE visitor = "colorado" AND home = "chicago" | What was the date of the game when Colorado was the visiting team and Chicago was the home team? | CREATE TABLE table_name_36 (date VARCHAR, visitor VARCHAR, home VARCHAR) |
SELECT traditional FROM table_1638437_2 WHERE population = 74779 | Name the traditional for population 74779 | CREATE TABLE table_1638437_2 (traditional VARCHAR, population VARCHAR) |
SELECT DISTINCT course_offering.friday, course_offering.monday, course_offering.saturday, course_offering.sunday, course_offering.thursday, course_offering.tuesday, course_offering.wednesday, semester.semester, semester.year FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND c... | Are 2 or 3 lessons per week usually given for 555 ? | CREATE TABLE student (
student_id int,
lastname varchar,
firstname varchar,
program_id int,
declare_major varchar,
total_credit int,
total_gpa float,
entered_as varchar,
admit_term int,
predicted_graduation_semester int,
degree varchar,
minor varchar,
internship varch... |
SELECT date FROM table_name_34 WHERE record = "8–3–1" | What was the date of the game when the Avalanche had a record of 8–3–1? | CREATE TABLE table_name_34 (date VARCHAR, record VARCHAR) |
SELECT english_name FROM table_1638437_2 WHERE simplified = "崖城镇" | Name the english name for 崖城镇 | CREATE TABLE table_1638437_2 (english_name VARCHAR, simplified VARCHAR) |
SELECT "District" FROM table_62254 WHERE "First elected" = '2000' AND "Party" = 'republican' | What district was a republican first elected in 2000? | CREATE TABLE table_62254 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Results" text
) |
SELECT opponents FROM table_name_3 WHERE wicket_partnership = "5th" | Who was the opponents of the 5th Wicket Partnership? | CREATE TABLE table_name_3 (opponents VARCHAR, wicket_partnership VARCHAR) |
SELECT date FROM table_16387700_1 WHERE away_team = "Richmond" | Name the date for richmond | CREATE TABLE table_16387700_1 (date VARCHAR, away_team VARCHAR) |
SELECT "Place" FROM table_65390 WHERE "Score" = '65-70-72=207' | What was the place when the score was 65-70-72=207? | CREATE TABLE table_65390 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
) |
SELECT season FROM table_name_70 WHERE competition = "champions league" | In which season was there a competition in the Champions League? | CREATE TABLE table_name_70 (season VARCHAR, competition VARCHAR) |
SELECT MAX(crowd) FROM table_16387700_1 WHERE date = "Saturday 16 February" | Name the most crowd for saturday 16 february | CREATE TABLE table_16387700_1 (crowd INTEGER, date VARCHAR) |
SELECT COUNT(average_speed__mph_) FROM table_2268216_1 WHERE year = "2003" | How many average speeds are listed in the year 2003? | CREATE TABLE table_2268216_1 (
average_speed__mph_ VARCHAR,
year VARCHAR
) |
SELECT score FROM table_name_68 WHERE club = "rsc anderlecht" | What scores did the RSC Anderlecht club have? | CREATE TABLE table_name_68 (score VARCHAR, club VARCHAR) |
SELECT home_team FROM table_16388230_1 WHERE away_team = "West Coast" | What home team played the West Coast away team? | CREATE TABLE table_16388230_1 (home_team VARCHAR, away_team VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "M" AND diagnoses.short_title = "Cong skin pigment anomal" | provide the number of patients whose gender is m and diagnoses short title is cong skin pigment anomal? | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id t... |
SELECT MAX(opening_week_nett_gross) FROM table_name_42 WHERE rank < 5 AND studio_s_ = "reliance entertainment" | What is the highest opening week net gross of the movie ranked higher than 5 from Reliance Entertainment? | CREATE TABLE table_name_42 (opening_week_nett_gross INTEGER, rank VARCHAR, studio_s_ VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.