answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT Time, ID FROM swimmer ORDER BY ID DESC | Show me about the distribution of Time and ID in a bar chart, could you sort y-axis in desc order? | 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 event (
ID int,
Name text,
Stadium_ID int,
Year text
)
CREATE TABLE swimme... |
SELECT percent_of_slovenes_1951 FROM table_name_22 WHERE percent_of_slovenes_1991 = "10.1%" | What was the percentage of Slovenes in 1951 in the village that had 10.1% in 1991? | CREATE TABLE table_name_22 (percent_of_slovenes_1951 VARCHAR, percent_of_slovenes_1991 VARCHAR) |
SELECT COUNT(position) FROM table_17357929_1 WHERE points_2 = 31 | How many teams finished with a 2nd points total of 31? | CREATE TABLE table_17357929_1 (position VARCHAR, points_2 VARCHAR) |
SELECT remelting_at__°c_ FROM table_name_51 WHERE sn_sb___percentage_ = "9.5/15" | What is the remelting temperature for the alloy that has a Sn/Sb ratio of 9.5/15? | CREATE TABLE table_name_51 (
remelting_at__°c_ VARCHAR,
sn_sb___percentage_ VARCHAR
) |
SELECT percent_of_slovenes_1991 FROM table_name_76 WHERE village__slovenian_ = "rut" | What was Rut's Slovenes percentage in 1991? | CREATE TABLE table_name_76 (percent_of_slovenes_1991 VARCHAR, village__slovenian_ VARCHAR) |
SELECT MAX(drawn) FROM table_17357929_1 WHERE goals_for = 72 | How many games drawn for the team that had 72 goals for? | CREATE TABLE table_17357929_1 (drawn INTEGER, goals_for VARCHAR) |
SELECT COUNT(hometown) FROM table_29970488_2 WHERE previous_school = "Charis Prep" | How many hometowns are there when Charis Prep was the previous school? | CREATE TABLE table_29970488_2 (
hometown VARCHAR,
previous_school VARCHAR
) |
SELECT status FROM table_name_33 WHERE unit = "hamaoka-3" | What is the status of the Hamaoka-3 unit? | CREATE TABLE table_name_33 (status VARCHAR, unit VARCHAR) |
SELECT COUNT(game) FROM table_17360840_4 WHERE record = "1-3-3" | How many games with record 1-3-3 | CREATE TABLE table_17360840_4 (game VARCHAR, record VARCHAR) |
SELECT position FROM table_name_30 WHERE round < 5 AND nationality = "canada" AND college_junior_club_team__league_ = "saint john sea dogs ( qmjhl )" | What is Position, when Round is less than 5, when Nationality is 'Canada', and when College/Junior/Club Team (League) is 'Saint John Sea Dogs ( QMJHL )'? | CREATE TABLE table_name_30 (
position VARCHAR,
college_junior_club_team__league_ VARCHAR,
round VARCHAR,
nationality VARCHAR
) |
SELECT gross_capacity FROM table_name_17 WHERE commercial_operation = "august 28, 1987" | What is the gross capacity of the unit that started commercial operation on August 28, 1987? | CREATE TABLE table_name_17 (gross_capacity VARCHAR, commercial_operation VARCHAR) |
SELECT COUNT(attendance) FROM table_17360840_4 WHERE opponent = "Atlanta Thrashers" | How many attended on mathches against atlanta thrashers | CREATE TABLE table_17360840_4 (attendance VARCHAR, opponent VARCHAR) |
SELECT "Away team score" FROM table_20757 WHERE "Ground" = 'Telstra Stadium' | What was the away team's score of at the game of telstra stadium? | CREATE TABLE table_20757 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Crowd" real,
"Date" text
) |
SELECT commercial_operation FROM table_name_27 WHERE construction_start = "june 10, 1971" | When was commercial operation where construction started June 10, 1971? | CREATE TABLE table_name_27 (commercial_operation VARCHAR, construction_start VARCHAR) |
SELECT date FROM table_17360840_4 WHERE opponent = "Minnesota Wild" | Give the date of games against minnesota wild | CREATE TABLE table_17360840_4 (date VARCHAR, opponent VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "ASIAN" AND diagnoses.long_title = "Neutropenia, unspecified" | how many of the asian patients had unspecified neutropenia? | CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE demographic ... |
SELECT gross_capacity FROM table_name_54 WHERE reactor_type = "abwr" | What is the gross capacity where the reactor is ABWR type? | CREATE TABLE table_name_54 (gross_capacity VARCHAR, reactor_type VARCHAR) |
SELECT date FROM table_17360840_4 WHERE record = "1-2-3" | State the dates of games with record 1-2-3 | CREATE TABLE table_17360840_4 (date VARCHAR, record VARCHAR) |
SELECT "Valley Vista" FROM table_183 WHERE "Willow Canyon" = 'Anthony Capuano' | Name the Valley Vista of Anthony Capuano | CREATE TABLE table_183 (
"Information" text,
"Dysart" text,
"Shadow Ridge" text,
"Valley Vista" text,
"Willow Canyon" text
) |
SELECT commercial_operation FROM table_name_42 WHERE unit = "hamaoka-4" | When was the Hamaoka-4 unit commercial operation date? | CREATE TABLE table_name_42 (commercial_operation VARCHAR, unit VARCHAR) |
SELECT MIN(attendance) FROM table_17360840_4 WHERE record = "0-2-1" | What is the minimum attendance on games of record 0-2-1 | CREATE TABLE table_17360840_4 (attendance INTEGER, record VARCHAR) |
SELECT "Year" FROM table_13677 WHERE "Ceremony" = '32nd' AND "Name" = 'william a. horning' AND "Film" = 'north by northwest' | In what Year was the 32nd Ceremony with winner William A. Horning in the Film North by Northwest? | CREATE TABLE table_13677 (
"Name" text,
"Ceremony" text,
"Year" text,
"Academy Award" text,
"Film" text
) |
SELECT status FROM table_name_50 WHERE net_capacity = "1212 mw" | What is the status of the unit with a net capacity of 1212 MW? | CREATE TABLE table_name_50 (status VARCHAR, net_capacity VARCHAR) |
SELECT venue FROM table_17356873_1 WHERE shirt_sponsor = "Mardan" | Which venue does Mardan sponsor? | CREATE TABLE table_17356873_1 (venue VARCHAR, shirt_sponsor VARCHAR) |
SELECT MAX(money___) AS $__ FROM table_name_65 WHERE score = 69 - 71 - 70 - 74 = 284 | What is the highest Money ( $ ), when Score is '69-71-70-74=284'? | CREATE TABLE table_name_65 (
money___ INTEGER,
score VARCHAR
) |
SELECT school FROM table_name_32 WHERE player = "rodney purvis" | Which school did player Rodney Purvis belong to? | CREATE TABLE table_name_32 (school VARCHAR, player VARCHAR) |
SELECT venue FROM table_17356873_1 WHERE head_coach = "Erdoğan Arıca" | Erdoğan Arıca is the head coach at what venue? | CREATE TABLE table_17356873_1 (venue VARCHAR, head_coach VARCHAR) |
SELECT MIN("Gold") FROM table_55405 WHERE "Total" = '4' AND "Nation" = 'liechtenstein' AND "Silver" < '2' | What's the lowest gold with a total of 4 and less than 2 silver for liechtenstein? | CREATE TABLE table_55405 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) |
SELECT nba_draft FROM table_name_7 WHERE school = "northeast high school" | What was the NBA draft status for Northeast High School? | CREATE TABLE table_name_7 (nba_draft VARCHAR, school VARCHAR) |
SELECT COUNT(points) FROM table_17360840_5 WHERE record = "6-8-6" | How many points were scored when the record was 6-8-6? | CREATE TABLE table_17360840_5 (points VARCHAR, record VARCHAR) |
SELECT "best 3-year period" FROM table_45644 WHERE "best 15-year period" = 'smyslov; kasparov' AND "Position" = '5' | Which best 3-year period has a best 15-year period of smyslov; kasparov, and a Position of 5? | CREATE TABLE table_45644 (
"Position" real,
"best year" text,
"best 2-year period" text,
"best 3-year period" text,
"best 5-year period" text,
"best 10-year period" text,
"best 15-year period" text
) |
SELECT player FROM table_name_82 WHERE college = "baylor" | Which players college was Baylor? | CREATE TABLE table_name_82 (player VARCHAR, college VARCHAR) |
SELECT game FROM table_17360840_5 WHERE record = "6-9-7" | Which game had a record of 6-9-7? | CREATE TABLE table_17360840_5 (game VARCHAR, record VARCHAR) |
SELECT labevents.charttime FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 73913) ORDER BY labevents.charttime LIMIT 1 | what was the first time patient 73913 had been tested for lab tests? | CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime ti... |
SELECT college FROM table_name_64 WHERE player = "alex poythress" | What was the college for Alex Poythress? | CREATE TABLE table_name_64 (college VARCHAR, player VARCHAR) |
SELECT record FROM table_17360840_5 WHERE location = "BankAtlantic Center" | When they played at the Bankatlantic Center, what was their record? | CREATE TABLE table_17360840_5 (record VARCHAR, location VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "WHITE" AND prescriptions.drug = "Metolazone" | what is the number of patients whose ethnicity is white and drug name is metolazone? | 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 height FROM table_name_78 WHERE player = "alex poythress" | What is Alex Poythress height? | CREATE TABLE table_name_78 (height VARCHAR, player VARCHAR) |
SELECT opponent FROM table_17360840_6 WHERE date = "December 27" | Who was the opponent on December 27? | CREATE TABLE table_17360840_6 (opponent VARCHAR, date VARCHAR) |
SELECT "Field" FROM table_61004 WHERE "Result" = 'w 18-12' | What field had results of w 18-12? | CREATE TABLE table_61004 (
"Date" text,
"Opponent" text,
"Home/Away" text,
"Field" text,
"Result" text
) |
SELECT winning_score FROM table_name_62 WHERE year > 2000 AND champion = "allison fouch" | What was Allison Fouch score in the year larger than 2000? | CREATE TABLE table_name_62 (winning_score VARCHAR, year VARCHAR, champion VARCHAR) |
SELECT score FROM table_17360840_6 WHERE date = "December 11" | What was the score of the game on December 11? | CREATE TABLE table_17360840_6 (score VARCHAR, date VARCHAR) |
SELECT COUNT("season") FROM table_204_79 WHERE "place" = 3 | how many seasons were finished in 3rd place ? | CREATE TABLE table_204_79 (
id number,
"season" text,
"tier" number,
"division" text,
"place" text
) |
SELECT COUNT(release_date) FROM table_name_89 WHERE country = "west germany" AND release_format = "vinyl" | How many release dates have a Country of west germany, and a Release format of vinyl? | CREATE TABLE table_name_89 (release_date VARCHAR, country VARCHAR, release_format VARCHAR) |
SELECT record FROM table_17360840_9 WHERE location = "St. Pete Times Forum" AND opponent = "Columbus Blue Jackets" | What was the record when the opposing team was the Columbus Blue Jackets at St. Pete Times Forum? | CREATE TABLE table_17360840_9 (record VARCHAR, location VARCHAR, opponent VARCHAR) |
SELECT Id, DisplayName, Reputation, WebsiteUrl, Location FROM Users WHERE Location LIKE '%Bangladesh%' ORDER BY Reputation DESC LIMIT 150 | Top 50 users from Bangladesh. | CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
Rejection... |
SELECT label FROM table_name_31 WHERE country = "spain" | Which label is from Spain? | CREATE TABLE table_name_31 (label VARCHAR, country VARCHAR) |
SELECT score FROM table_17360840_9 WHERE record = "21-31-13" | What was the score when the record was 21-31-13? | CREATE TABLE table_17360840_9 (score VARCHAR, record VARCHAR) |
SELECT COUNT("Rank") FROM table_56922 WHERE "Bronze" < '0' | what is the rank when the bronze is less than 0? | CREATE TABLE table_56922 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) |
SELECT save FROM table_name_76 WHERE loss = "santiago (2–2)" | What's the save when the loss was santiago (2–2)? | CREATE TABLE table_name_76 (save VARCHAR, loss VARCHAR) |
SELECT COUNT(location) FROM table_17360840_9 WHERE opponent = "Columbus Blue Jackets" | How many locations were recorded when the opponent Columbus Blue Jackets? | CREATE TABLE table_17360840_9 (location VARCHAR, opponent VARCHAR) |
SELECT COUNT("religious\ngroup") FROM table_203_90 WHERE "sex ratio\n(total)" > 1000 | the number of religious groups with a sex ratio of more than 1000 is how many ? | CREATE TABLE table_203_90 (
id number,
"religious\ngroup" text,
"population\n%" text,
"growth\n(1991-2001)" text,
"sex ratio\n(total)" number,
"literacy\n(%)" text,
"work participation\n(%)" text,
"sex ratio\n(rural)" number,
"sex ratio\n(urban)" number,
"sex ratio\n(child)" numb... |
SELECT season FROM table_name_84 WHERE position = "2nd" | Which season was 2nd position? | CREATE TABLE table_name_84 (season VARCHAR, position VARCHAR) |
SELECT MAX(attendance) FROM table_17360840_9 WHERE opponent = "Ottawa Senators" AND record = "24-35-17" | What was the attendance when the opposing team was the Ottawa Senators and the record was 24-35-17? | CREATE TABLE table_17360840_9 (attendance INTEGER, opponent VARCHAR, record VARCHAR) |
SELECT "Date successor seated" FROM table_72174 WHERE "Vacator" = 'Charles E. Chamberlain (R)' | When was the date successor seated when the vacator was charles e. chamberlain (r)? | CREATE TABLE table_72174 (
"District" text,
"Vacator" text,
"Reason for change" text,
"Successor" text,
"Date successor seated" text
) |
SELECT played FROM table_name_51 WHERE division = "nbl div2" AND position = "12th" | What's the value for played when the division is nbl div2 with 12th position? | CREATE TABLE table_name_51 (played VARCHAR, division VARCHAR, position VARCHAR) |
SELECT college_junior_club_team__league_ FROM table_17371135_30 WHERE position = "Left Wing" | The player who plays left wing is from what college/junior/club team? | CREATE TABLE table_17371135_30 (college_junior_club_team__league_ VARCHAR, position VARCHAR) |
SELECT player FROM table_name_94 WHERE pick__number < 2 | What player is picked before 2? | CREATE TABLE table_name_94 (
player VARCHAR,
pick__number INTEGER
) |
SELECT points FROM table_name_68 WHERE division = "ebl div1" AND played = "22" | What's the points when the division is ebl div1 with 22 played? | CREATE TABLE table_name_68 (points VARCHAR, division VARCHAR, played VARCHAR) |
SELECT college_junior_club_team__league_ FROM table_17371135_30 WHERE position = "Goaltender" | The player who plays goaltender is from what college/junior/club team? | CREATE TABLE table_17371135_30 (college_junior_club_team__league_ VARCHAR, position VARCHAR) |
SELECT date FROM table_2015453_1 WHERE attendance = 22000 | What date was the attendance 22000? | CREATE TABLE table_2015453_1 (
date VARCHAR,
attendance VARCHAR
) |
SELECT played FROM table_name_2 WHERE position = "11th" AND points = "8" | What's the value for played when points is 8 and position is 11th? | CREATE TABLE table_name_2 (played VARCHAR, position VARCHAR, points VARCHAR) |
SELECT played FROM table_17369472_2 WHERE tries_for = "39" | How many were played when there were 39 tries for? | CREATE TABLE table_17369472_2 (played VARCHAR, tries_for VARCHAR) |
SELECT COUNT("1st (m)") FROM table_19320 WHERE "2nd (m)" = '125.5' | Name the total number of 1stm when 2nd m is 125.5 | CREATE TABLE table_19320 (
"Rank" real,
"Name" text,
"Nationality" text,
"1st (m)" text,
"2nd (m)" text,
"Points" text,
"Overall NT points" text,
"Overall WC points (Rank)" text
) |
SELECT driver FROM table_name_45 WHERE grid = 13 | Who was driving with a Grid of 13? | CREATE TABLE table_name_45 (driver VARCHAR, grid VARCHAR) |
SELECT COUNT(won) FROM table_17369472_2 WHERE points = "12" | How many were won when the points were 12? | CREATE TABLE table_17369472_2 (won VARCHAR, points VARCHAR) |
SELECT date_address_from, SUM(monthly_rental) FROM Student_Addresses ORDER BY monthly_rental DESC | A bar chart shows the distribution of date_address_from and the sum of monthly_rental bin date_address_from by weekday. | CREATE TABLE Ref_Address_Types (
address_type_code VARCHAR(15),
address_type_description VARCHAR(80)
)
CREATE TABLE Students_in_Detention (
student_id INTEGER,
detention_id INTEGER,
incident_id INTEGER
)
CREATE TABLE Student_Addresses (
student_id INTEGER,
address_id INTEGER,
date_addr... |
SELECT SUM(grid) FROM table_name_5 WHERE laps < 6 | For Laps smaller than 6, what does the Grid add up to? | CREATE TABLE table_name_5 (grid INTEGER, laps INTEGER) |
SELECT won FROM table_17369472_2 WHERE points = "49" | How many were won when there were 49 points? | CREATE TABLE table_17369472_2 (won VARCHAR, points VARCHAR) |
SELECT COUNT(*) FROM table_204_627 WHERE "venue (location)" <> 'araneta coliseum' | how many games were not played at araneta coliseum ? | CREATE TABLE table_204_627 (
id number,
"date" text,
"opponent" text,
"score" text,
"top scorer (total points)" text,
"venue (location)" text
) |
SELECT report FROM table_name_5 WHERE circuit = "hockenheimring" | What is the report status of Hockenheimring circuit? | CREATE TABLE table_name_5 (report VARCHAR, circuit VARCHAR) |
SELECT points FROM table_17369472_2 WHERE tries_for = "84" | How many points were there when tries for were 84? | CREATE TABLE table_17369472_2 (points VARCHAR, tries_for VARCHAR) |
SELECT "Win-Loss" FROM table_28138 WHERE "Year(s)" = '1969' | What was the win loss record the lady who appeard in 1969? | CREATE TABLE table_28138 (
"Player" text,
"Nationality" text,
"Finals" real,
"Win-Loss" text,
"Year(s)" text
) |
SELECT winning_driver FROM table_name_29 WHERE fastest_lap = "clay regazzoni" AND pole_position = "jackie stewart" | Who was the winning driver of the race with Clay Regazzoni as the fastest lap and Jackie stewart as the pole position? | CREATE TABLE table_name_29 (winning_driver VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR) |
SELECT team FROM table_17382360_7 WHERE date = "February 18" | what team play in february 18 in the supersonic season | CREATE TABLE table_17382360_7 (team VARCHAR, date VARCHAR) |
SELECT high_points FROM table_30049462_3 WHERE team = "Milwaukee" | in the milwaukee team who made the high points | CREATE TABLE table_30049462_3 (
high_points VARCHAR,
team VARCHAR
) |
SELECT race FROM table_name_53 WHERE winning_driver = "jacky ickx" AND fastest_lap = "clay regazzoni" | Which race had Jacky Ickx as the winner and Clay Regazzoni with the fastest lap? | CREATE TABLE table_name_53 (race VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR) |
SELECT score FROM table_17382360_7 WHERE team = "Boston Celtics" | what is the score in february 12 of the boston celtics team | CREATE TABLE table_17382360_7 (score VARCHAR, team VARCHAR) |
SELECT Arrival, COUNT(Arrival) FROM train GROUP BY Arrival ORDER BY Arrival DESC | Tell me the distribution of the number of trains at each arrival time with a bar chart, could you display in descending by the x axis? | CREATE TABLE railway (
Railway_ID int,
Railway text,
Builder text,
Built text,
Wheels text,
Location text,
ObjectNumber text
)
CREATE TABLE railway_manage (
Railway_ID int,
Manager_ID int,
From_Year text
)
CREATE TABLE manager (
Manager_ID int,
Name text,
Country te... |
SELECT time_retired FROM table_name_53 WHERE grid < 5 AND driver = "jean alesi" | How much time does it take for jean alesi and grids lesser than 5? | CREATE TABLE table_name_53 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR) |
SELECT opponent FROM table_17386066_2 WHERE stadium = "Shea stadium" | Who is the opposing team when the game was played on the Shea Stadium? | CREATE TABLE table_17386066_2 (opponent VARCHAR, stadium VARCHAR) |
SELECT "Date of report" FROM table_24963 WHERE "Tier 1 ratio" = '3.9%' | Name the date of report for tier 1 ratio being 3.9% | CREATE TABLE table_24963 (
"Institution" text,
"Date of report" text,
"s Risk-weighted asset , \u20ac million" real,
"Tier 1 Capital, \u20ac million" real,
"Tier 1 ratio" text
) |
SELECT MIN(grid) FROM table_name_18 WHERE driver = "gerhard berger" AND laps > 56 | What is the low grid for gerhard berger for laps over 56? | CREATE TABLE table_name_18 (grid INTEGER, driver VARCHAR, laps VARCHAR) |
SELECT COUNT(record) FROM table_17386066_2 WHERE stadium = "Miami Orange Bowl" | How many games or records were played on the Miami Orange Bowl? | CREATE TABLE table_17386066_2 (record VARCHAR, stadium VARCHAR) |
SELECT Months AS "Months since user last seen", Posts AS "Posts at exactly", SUM(Posts) OVER (ORDER BY Months DESC) AS "Posts at or before" FROM (SELECT DATEDIFF(mm, Users.LastAccessDate, GETDATE()) AS "Months", COUNT(*) AS "Posts" FROM Users INNER JOIN Posts ON Posts.OwnerUserId = Users.Id GROUP BY DATEDIFF(mm, Users.... | Number of posts for users last seen X months ago. | CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
MarkdownConcensusDescription text,
CreationDate time,
CreationModeratorId number,
ApprovalDa... |
SELECT driver FROM table_name_42 WHERE grid = 13 | If the grid is 13 who is driving? | CREATE TABLE table_name_42 (driver VARCHAR, grid VARCHAR) |
SELECT result FROM table_17386066_2 WHERE date = "Nov. 26" | What was the result of the game that was played on Nov. 26, 1972? | CREATE TABLE table_17386066_2 (result VARCHAR, date VARCHAR) |
SELECT demographic.age, demographic.religion FROM demographic WHERE demographic.subject_id = "17519" | what is age and religion of subject id 17519? | 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 text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
... |
SELECT SUM(purse__) AS $__ FROM table_name_5 WHERE tournament = "royal caribbean golf classic" | What is the purse total for the royal caribbean golf classic? | CREATE TABLE table_name_5 (purse__ INTEGER, tournament VARCHAR) |
SELECT tamil_months FROM table_1740431_3 WHERE season_in_english = "Monsoon" | What are all Tamil months when the season in English is monsoon? | CREATE TABLE table_1740431_3 (tamil_months VARCHAR, season_in_english VARCHAR) |
SELECT "Time" FROM table_60619 WHERE "Composer(s)" = 'kyriakos papadopoulos' | What is Time, when Composer(s) is 'Kyriakos Papadopoulos'? | CREATE TABLE table_60619 (
"English translation" text,
"Original album" text,
"Lyricist(s)" text,
"Composer(s)" text,
"Time" text
) |
SELECT title FROM table_name_52 WHERE length = "3:38" | Which title is 3:38 long? | CREATE TABLE table_name_52 (title VARCHAR, length VARCHAR) |
SELECT english_translation FROM table_1740431_3 WHERE tamil_months = "mārkazhi, tai" | What is every English translation when Tamil months is Mārkazhi, Tai? | CREATE TABLE table_1740431_3 (english_translation VARCHAR, tamil_months VARCHAR) |
SELECT 1991 FROM table_name_26 WHERE 1997 = "18" | What is the 1991 when 1997 is 18? | CREATE TABLE table_name_26 (
Id VARCHAR
) |
SELECT title FROM table_name_37 WHERE length = "3:43" | Which title is 3:43 long? | CREATE TABLE table_name_37 (title VARCHAR, length VARCHAR) |
SELECT gregorian_months FROM table_1740431_3 WHERE season_in_tamil = "இளவேனில்" | What is every Gregorian month when the season in Tamil is இளவேனில்? | CREATE TABLE table_1740431_3 (gregorian_months VARCHAR, season_in_tamil VARCHAR) |
SELECT loss FROM table_name_82 WHERE date = "june 22" | What was the score June 22? | CREATE TABLE table_name_82 (
loss VARCHAR,
date VARCHAR
) |
SELECT dance FROM table_name_28 WHERE visual_arts = "bryon kim" | What Dance has the Visual Arts of Bryon Kim? | CREATE TABLE table_name_28 (dance VARCHAR, visual_arts VARCHAR) |
SELECT COUNT(season_in_tamil) FROM table_1740431_3 WHERE season_in_sanskrit = "Grishma" | How many seasons in Tamil occur when the season in Sanskrit is Grishma? | CREATE TABLE table_1740431_3 (season_in_tamil VARCHAR, season_in_sanskrit VARCHAR) |
SELECT carrier FROM phone GROUP BY carrier ORDER BY COUNT(*) DESC LIMIT 1 | Show the most frequently used carrier of the phones. | CREATE TABLE market (
market_id number,
district text,
num_of_employees number,
num_of_shops number,
ranking number
)
CREATE TABLE phone_market (
market_id number,
phone_id text,
num_of_stock number
)
CREATE TABLE phone (
name text,
phone_id number,
memory_in_g number,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.