answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT team FROM table_name_67 WHERE pick = 40 | What Team has a Pick of 40? | CREATE TABLE table_name_67 (team VARCHAR, pick VARCHAR) |
SELECT COUNT(details) FROM table_211615_2 WHERE station = "Emlyn Road" | Name the number of details for emlyn road | CREATE TABLE table_211615_2 (details VARCHAR, station VARCHAR) |
SELECT "Date of Birth" FROM table_42115 WHERE "Block" > '342' | What is the Date of Birth with a Block that is larger than 342? | CREATE TABLE table_42115 (
"Name" text,
"Date of Birth" text,
"Height" real,
"Weight" real,
"Spike" real,
"Block" real
) |
SELECT date FROM table_name_78 WHERE away_team = "hawthorn" | What date was the away team Hawthorn? | CREATE TABLE table_name_78 (date VARCHAR, away_team VARCHAR) |
SELECT MAX(no_in_series) FROM table_21164557_1 WHERE directed_by = "John Behring" | What episode number in the series was directed by John Behring? | CREATE TABLE table_21164557_1 (no_in_series INTEGER, directed_by VARCHAR) |
SELECT "capacity" FROM table_204_750 WHERE "team" = 'yate town' | what is the total number of seating for the yate town ? | CREATE TABLE table_204_750 (
id number,
"team" text,
"stadium" text,
"capacity" number,
"seated" number
) |
SELECT MAX(losses) FROM table_name_82 WHERE wins = 0 AND win__percentage > 0 | What is the high loss total for players with zero wins and a win % greater than 0? | CREATE TABLE table_name_82 (losses INTEGER, wins VARCHAR, win__percentage VARCHAR) |
SELECT COUNT(original_air_date) FROM table_21164557_1 WHERE production_code = 4398016 | How many original air dates were there for episodes with a production code of 4398016? | CREATE TABLE table_21164557_1 (original_air_date VARCHAR, production_code VARCHAR) |
SELECT product_id, product_type_code FROM products ORDER BY product_price LIMIT 1 | Give the id and product type of the product with the lowest price. | CREATE TABLE supplier_addresses (
supplier_id number,
address_id number,
date_from time,
date_to time
)
CREATE TABLE departments (
department_id number,
dept_store_id number,
department_name text
)
CREATE TABLE product_suppliers (
product_id number,
supplier_id number,
date_sup... |
SELECT win__percentage FROM table_name_7 WHERE starts = 3 | What is the win % for the QB with 3 starts? | CREATE TABLE table_name_7 (win__percentage VARCHAR, starts VARCHAR) |
SELECT rank FROM table_211714_2 WHERE viewers__in_millions_ = "14.80" | Name the rank for 14.80 viewers | CREATE TABLE table_211714_2 (rank VARCHAR, viewers__in_millions_ VARCHAR) |
SELECT Position, COUNT(Position) FROM player GROUP BY Position HAVING AVG(Points) >= 20 ORDER BY Position DESC | List the positions of players whose average number of points scored by that position is larger than 20, give me a bar chart showing the number of different positions, could you show by the X-axis in desc? | CREATE TABLE competition_result (
Competition_ID int,
Club_ID_1 int,
Club_ID_2 int,
Score text
)
CREATE TABLE player (
Player_ID int,
name text,
Position text,
Club_ID int,
Apps real,
Tries real,
Goals text,
Points real
)
CREATE TABLE competition (
Competition_ID in... |
SELECT venue FROM table_name_90 WHERE away_team = "geelong" | What venue did geelong play an away game? | CREATE TABLE table_name_90 (venue VARCHAR, away_team VARCHAR) |
SELECT COUNT(rank) FROM table_211714_2 WHERE season = 6 | Name the number of rank for season 6 | CREATE TABLE table_211714_2 (rank VARCHAR, season VARCHAR) |
SELECT MAX(episode) FROM table_name_23 WHERE netflix = "s05e23" | What largest episode number's Netflix is S05E23? | CREATE TABLE table_name_23 (
episode INTEGER,
netflix VARCHAR
) |
SELECT home_team FROM table_name_28 WHERE away_team = "melbourne" | What home team played an away team of melbourne? | CREATE TABLE table_name_28 (home_team VARCHAR, away_team VARCHAR) |
SELECT original_air_date FROM table_21172539_1 WHERE production_code = 4301085 | What date did the episode with a production code of 4301085 originally air? | CREATE TABLE table_21172539_1 (original_air_date VARCHAR, production_code VARCHAR) |
SELECT "Years" FROM table_33720 WHERE "Coach" = 'walter meanwell' AND "Conference Record" = '63-9' | In what years, when the conference record was 63-9, was the coach Walter Meanwell? | CREATE TABLE table_33720 (
"Coach" text,
"Years" text,
"Record" text,
"Conference Record" text,
"Overall Win Percentage" text
) |
SELECT player FROM table_name_53 WHERE overall = "130" | Which player had an overall pick of 130? | CREATE TABLE table_name_53 (player VARCHAR, overall VARCHAR) |
SELECT original_air_date FROM table_21172539_1 WHERE no_in_season = 15 | What date did episode 15 of the season originally air? | CREATE TABLE table_21172539_1 (original_air_date VARCHAR, no_in_season VARCHAR) |
SELECT "Others" FROM table_36879 WHERE "MARTIN" = '9%' AND "Source" = 'ogm/news' | What percent of others did ogm/news count when MARTIN had 9%? | CREATE TABLE table_36879 (
"Source" text,
"Date" text,
"MARTIN" text,
"GR\u00dcNE" text,
"Others" text,
"Undecided" text
) |
SELECT AVG(round) FROM table_name_8 WHERE player = "corey cowick" | What round was Corey Cowick picked? | CREATE TABLE table_name_8 (round INTEGER, player VARCHAR) |
SELECT remarks FROM table_211791_1 WHERE nato_reporting_name = "SAWHOUSE" | Name the remarks for sawhouse | CREATE TABLE table_211791_1 (remarks VARCHAR, nato_reporting_name VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "77" AND prescriptions.drug = "Sodium Fluoride (Dental Gel)" | how many patients are below 77 years of age and use the drug sodium fluoride (dental gel)? | 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 position FROM table_name_20 WHERE club_team = "miami university (ccha)" | What position does the player from the Miami University (CCHA) club team play? | CREATE TABLE table_name_20 (position VARCHAR, club_team VARCHAR) |
SELECT nato_us_dod_code FROM table_211791_1 WHERE nato_reporting_name = "SABBOT" | Name the nato/ us dod code for sabbot | CREATE TABLE table_211791_1 (nato_us_dod_code VARCHAR, nato_reporting_name VARCHAR) |
SELECT "Coalition parties" FROM table_2452 WHERE "N\u00ba" = '3' | When n is 3, what are all the coaliton parties? | CREATE TABLE table_2452 (
"N\u00ba" real,
"Cabinet (Nickname)" text,
"Took office" text,
"Left office" text,
"Duration" text,
"Coalition parties" text,
"ministers" text,
"ministries" real,
"King" text
) |
SELECT MAX(year) FROM table_name_63 WHERE team = "north melbourne" AND player = "hamish mcintosh" | What most recent year had North Melbourne as a team and Hamish Mcintosh as a player? | CREATE TABLE table_name_63 (year INTEGER, team VARCHAR, player VARCHAR) |
SELECT report FROM table_21191496_1 WHERE circuit = "Autodromo Nazionale Monza" | When autodromo nazionale monza is the circuit what is the report? | CREATE TABLE table_21191496_1 (report VARCHAR, circuit VARCHAR) |
SELECT country FROM table_name_65 WHERE score = 73 - 74 - 72 - 64 = 283 | What country did the player with the score line 73-74-72-64=283 from? | CREATE TABLE table_name_65 (
country VARCHAR,
score VARCHAR
) |
SELECT score FROM table_name_53 WHERE opponent = "essendon" AND player = "steven clark" | Which score had Essendon as an opponent and Steven Clark as a player? | CREATE TABLE table_name_53 (score VARCHAR, opponent VARCHAR, player VARCHAR) |
SELECT date FROM table_21191496_1 WHERE pole_position = "Michele Pirro" | When michele pirro is the pole position what is the date? | CREATE TABLE table_21191496_1 (date VARCHAR, pole_position VARCHAR) |
SELECT answer.OwnerUserId AS "user_link", answer.OwnerUserId, COUNT(*) AS number FROM Posts AS question INNER JOIN Posts AS answer ON question.PostTypeId = 1 AND answer.PostTypeId = 2 AND question.OwnerUserId = '##userid##' AND answer.ParentId = question.Id GROUP BY answer.OwnerUserId ORDER BY number DESC | Who has answered your questions most?. | 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 team FROM table_name_86 WHERE outcome = "behind" AND opponent = "brisbane bears" | Which team got a Behind outcome and had an opponent of Brisbane Bears? | CREATE TABLE table_name_86 (team VARCHAR, outcome VARCHAR, opponent VARCHAR) |
SELECT report FROM table_21191496_1 WHERE country = "Netherlands" | When Netherlands is the country what is the report? | CREATE TABLE table_21191496_1 (report VARCHAR, country VARCHAR) |
SELECT MIN(game) FROM table_name_99 WHERE nuggets_points = 89 | Which Game has a Nugget points of 89? | CREATE TABLE table_name_99 (
game INTEGER,
nuggets_points VARCHAR
) |
SELECT date FROM table_name_7 WHERE home_team = "north melbourne" | When did the north melbourne team play? | CREATE TABLE table_name_7 (date VARCHAR, home_team VARCHAR) |
SELECT winning_team FROM table_21191496_1 WHERE circuit = "circuit Ricardo Tormo" | When circuit ricardo tormo is the circuit who is the winning team? | CREATE TABLE table_21191496_1 (winning_team VARCHAR, circuit VARCHAR) |
SELECT place FROM table_name_30 WHERE player = "fred funk" | What place is Fred Funk in? | CREATE TABLE table_name_30 (
place VARCHAR,
player VARCHAR
) |
SELECT away_team FROM table_name_81 WHERE venue = "junction oval" | Who was the away team at junction oval? | CREATE TABLE table_name_81 (away_team VARCHAR, venue VARCHAR) |
SELECT COUNT(round) FROM table_21191496_1 WHERE circuit = "circuit Ricardo Tormo" | When circuit ricardo tormo is the circuit what is the round? | CREATE TABLE table_21191496_1 (round VARCHAR, circuit VARCHAR) |
SELECT MAX(scored) FROM table_name_66 WHERE competition = "2010 east asian football championship" | What is the highest scored in the 2010 east asian football championship? | CREATE TABLE table_name_66 (
scored INTEGER,
competition VARCHAR
) |
SELECT home_team AS score FROM table_name_17 WHERE venue = "junction oval" | What was the home team's score at junction oval? | CREATE TABLE table_name_17 (home_team VARCHAR, venue VARCHAR) |
SELECT COUNT(opponent) FROM table_21197135_1 WHERE record = "6-0" | How many opponents were there when the record was 6-0? | CREATE TABLE table_21197135_1 (opponent VARCHAR, record VARCHAR) |
SELECT "CFL Team" FROM table_30256 WHERE "College" = 'Calgary' | What is every CFL team for the college of Calgary? | CREATE TABLE table_30256 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
) |
SELECT venue FROM table_name_20 WHERE away_team = "essendon" | What venue was essendon the away team? | CREATE TABLE table_name_20 (venue VARCHAR, away_team VARCHAR) |
SELECT date FROM table_21197135_1 WHERE record = "6-0" | How many opponents were there when the record was 6-0? | CREATE TABLE table_21197135_1 (date VARCHAR, record VARCHAR) |
SELECT home FROM table_name_3 WHERE visitor = "montreal canadiens" AND record = "0-3" | What team did the Montreal Canadiens visit when the record was 0-3? | CREATE TABLE table_name_3 (
home VARCHAR,
visitor VARCHAR,
record VARCHAR
) |
SELECT home_team FROM table_name_16 WHERE venue = "kardinia park" | Who is the home team at kardinia park? | CREATE TABLE table_name_16 (home_team VARCHAR, venue VARCHAR) |
SELECT record FROM table_21197135_1 WHERE opponent = "@ Utah" | What was the team record when the team played @ Utah? | CREATE TABLE table_21197135_1 (record VARCHAR, opponent VARCHAR) |
SELECT Votes.CreationDate, COUNT(Votes.CreationDate) FROM Votes INNER JOIN Posts ON Votes.PostId = Posts.Id WHERE Votes.PostId = 47089 GROUP BY Votes.CreationDate | Date Distribution of Answer Votes Grouped by Date. | CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
U... |
SELECT MIN(storage_stability) FROM table_name_30 WHERE toxicity_as_blood_agent > 8 AND agent = "arsine" AND field_stability < 5 | What is the storage stability of Arsine with a toxicity of 8, and field stability less than 5? | CREATE TABLE table_name_30 (storage_stability INTEGER, field_stability VARCHAR, toxicity_as_blood_agent VARCHAR, agent VARCHAR) |
SELECT cowboys_points FROM table_21197135_1 WHERE record = "7-0" | How many points did the Cowboys have when they had a 7-0 record? | CREATE TABLE table_21197135_1 (cowboys_points VARCHAR, record VARCHAR) |
SELECT * FROM table_train_177 WHERE proteinuria = 1 OR (urine_protein > 200 OR creatinine_clearance_cl > 2) | proteinuria ( urine protein > 200 mg / dl ) or a creatinine > 2 mg / dl | CREATE TABLE table_train_177 (
"id" int,
"hemoglobin_a1c_hba1c" float,
"renal_disease" bool,
"diabetic" string,
"creatinine_clearance_cl" float,
"urine_protein" int,
"proteinuria" int,
"fasting_glucose" int,
"NOUSE" float
) |
SELECT COUNT(field_stability) FROM table_name_5 WHERE agent = "cyanogen bromide" AND effectiveness_as_blood_agent > 9 | What is the field stability of Cyanogen Bromide that has an effectiveness of 9? | CREATE TABLE table_name_5 (field_stability VARCHAR, agent VARCHAR, effectiveness_as_blood_agent VARCHAR) |
SELECT scoreboard FROM table_21234111_6 WHERE total = "23.5" | Name the scoreboard for total being 23.5 | CREATE TABLE table_21234111_6 (scoreboard VARCHAR, total VARCHAR) |
SELECT l2_cache FROM table_name_93 WHERE frequency = "750mhz" | What is the L2 cache for the processor with a 750MHz frequency? | CREATE TABLE table_name_93 (
l2_cache VARCHAR,
frequency VARCHAR
) |
SELECT home_team FROM table_name_47 WHERE venue = "mcg" | When the Venue is mcg what is the Home team? | CREATE TABLE table_name_47 (home_team VARCHAR, venue VARCHAR) |
SELECT jason FROM table_21234111_6 WHERE public_vote__percentage = "19.20%" | Name the jason for public vote being 19.20% | CREATE TABLE table_21234111_6 (jason VARCHAR, public_vote__percentage VARCHAR) |
SELECT "Date" FROM table_61685 WHERE "Status" = 'five nations' AND "Against" = '23' | On what date is there a status of Five Nations and an against of 23? | CREATE TABLE table_61685 (
"Opposing Teams" text,
"Against" real,
"Date" text,
"Venue" text,
"Status" text
) |
SELECT home_team FROM table_name_84 WHERE away_team = "hawthorn" | When the Away team was hawthorn, what's the Home team? | CREATE TABLE table_name_84 (home_team VARCHAR, away_team VARCHAR) |
SELECT COUNT(song) FROM table_21234111_6 WHERE scoreboard = "3rd" | Name the number of song for scoreboard being 3rd | CREATE TABLE table_21234111_6 (song VARCHAR, scoreboard VARCHAR) |
SELECT away_team AS score FROM table_name_30 WHERE venue = "moorabbin oval" | What did the team score while away in moorabbin oval? | CREATE TABLE table_name_30 (
away_team VARCHAR,
venue VARCHAR
) |
SELECT total__kg_ FROM table_name_49 WHERE clean_ & _jerk = 135 AND snatch = 115 | What is the total associated with a Clean & jerk of 135, and a Snatch of 115? | CREATE TABLE table_name_49 (total__kg_ VARCHAR, snatch VARCHAR, clean_ VARCHAR, _jerk VARCHAR) |
SELECT opponent FROM table_21256068_3 WHERE venue = "Halliwell Jones Stadium" AND competition = "Super League XIV" | state the opponent on halliwell jones stadium in super league xiv | CREATE TABLE table_21256068_3 (opponent VARCHAR, venue VARCHAR, competition VARCHAR) |
SELECT "name" FROM table_204_174 WHERE "rank" IS NULL AND "nationality" <> 'south korea' | which person medaled , but was not from south korea ? | CREATE TABLE table_204_174 (
id number,
"rank" number,
"name" text,
"nationality" text,
"result" number,
"notes" text
) |
SELECT MAX(bodyweight) FROM table_name_37 WHERE clean_ & _jerk > 120 AND total__kg_ = 245 | What is the highest Bodyweight associated with a Clean & jerk larger than 120, and a Total (kg) of 245? | CREATE TABLE table_name_37 (bodyweight INTEGER, total__kg_ VARCHAR, clean_ VARCHAR, _jerk VARCHAR) |
SELECT COUNT(venue) FROM table_21256068_3 WHERE round = "1" | how many venues were played on in round 1 | CREATE TABLE table_21256068_3 (venue VARCHAR, round VARCHAR) |
SELECT "season" FROM table_204_974 WHERE "position" = 2 ORDER BY "season" DESC LIMIT 1 | when was the last year they placed 2nd ? | CREATE TABLE table_204_974 (
id number,
"season" number,
"level" text,
"division" text,
"section" text,
"administration" text,
"position" text,
"movements" text
) |
SELECT SUM(total__kg_) FROM table_name_26 WHERE snatch < 110 AND clean_ & _jerk > 120 | What is the sum Total (kg) associated with a Snatch less than 110, and a Clean & jerk larger than 120? | CREATE TABLE table_name_26 (total__kg_ INTEGER, snatch VARCHAR, clean_ VARCHAR, _jerk VARCHAR) |
SELECT round FROM table_21256068_3 WHERE score = "50-10" | state the round that had a game score 50-10 | CREATE TABLE table_21256068_3 (round VARCHAR, score VARCHAR) |
SELECT ACC_Regular_Season, ACC_Percent FROM basketball_match ORDER BY ACC_Percent | Give me the comparison about ACC_Percent over the ACC_Regular_Season by a bar chart, and order Y-axis in asc order. | 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(snatch) FROM table_name_48 WHERE clean_ & _jerk < 142.5 AND bodyweight < 55.58 AND total__kg_ > 210 | How many people have a Clean & jerk smaller than 142.5, a Bodyweight smaller than 55.58, and a Total (kg) larger than 210? | CREATE TABLE table_name_48 (snatch VARCHAR, total__kg_ VARCHAR, bodyweight VARCHAR, clean_ VARCHAR, _jerk VARCHAR) |
SELECT round FROM table_21256068_3 WHERE attendance = 9359 | state the round that had a game attended attended by 9359 people | CREATE TABLE table_21256068_3 (round VARCHAR, attendance VARCHAR) |
SELECT COUNT(*) FROM table_204_137 WHERE "jay-ten winner" = 'fabio fabiani' | how many times was fabio fabiani jay ten winner ? | CREATE TABLE table_204_137 (
id number,
"race" number,
"race name" text,
"pole position" text,
"fastest lap" text,
"winning driver" text,
"winning team" text,
"yokohama winner" text,
"jay-ten winner" text,
"report" text
) |
SELECT object_type FROM table_name_28 WHERE apparent_magnitude > 10.6 AND declination___j2000__ = "°44′07″" | Tell me the object type which has an apparent magnitude more than 10.6 and declination of °44′07″ | CREATE TABLE table_name_28 (object_type VARCHAR, apparent_magnitude VARCHAR, declination___j2000__ VARCHAR) |
SELECT COUNT(round) FROM table_21256068_3 WHERE score = "44-22" | how many rounds had the score 44-22 | CREATE TABLE table_21256068_3 (round VARCHAR, score VARCHAR) |
SELECT MAX("Caps") FROM table_31675 WHERE "Player" = 'glen moss' | What is the largest caps value for Glen Moss? | CREATE TABLE table_31675 (
"Player" text,
"Country" text,
"Caps" real,
"Goals" text,
"Years Active" text
) |
SELECT declination___j2000__ FROM table_name_12 WHERE apparent_magnitude > 10.4 AND ngc_number = 5112 | Tell me the declination with apparent magnitude more than 10.4 and NGC number of 5112 | CREATE TABLE table_name_12 (declination___j2000__ VARCHAR, apparent_magnitude VARCHAR, ngc_number VARCHAR) |
SELECT score FROM table_21256068_3 WHERE opponent = "Crusaders" | what's the score against crusaders | CREATE TABLE table_21256068_3 (score VARCHAR, opponent VARCHAR) |
SELECT MAX(lowest) FROM table_name_67 WHERE stadium = "ibrox stadium" AND average > 49 OFFSET 143 | What's the highest lowest number of capacity that ibrox stadium has when the average is larger than 49,143? | CREATE TABLE table_name_67 (
lowest INTEGER,
stadium VARCHAR,
average VARCHAR
) |
SELECT event FROM table_name_33 WHERE method = "submission (triangle choke)" AND opponent = "thiago tavares" | Which event has a Method of submission (triangle choke), and an Opponent of thiago tavares? | CREATE TABLE table_name_33 (event VARCHAR, method VARCHAR, opponent VARCHAR) |
SELECT COUNT(small__100ha_) FROM table_21249915_1 WHERE medium__500ha_ = 17101 | How many Small catagories are there for the department that has a medium of 17101? | CREATE TABLE table_21249915_1 (small__100ha_ VARCHAR, medium__500ha_ VARCHAR) |
SELECT * FROM table_test_28 WHERE allergy_to_aspirin = 1 OR allergy_to_thienopyridine = 1 OR allergy_to_heparin = 1 | aspirin, thienopyridine, or heparin allergy; | CREATE TABLE table_test_28 (
"id" int,
"positive_shock_index" bool,
"anemia" bool,
"serum_potassium" float,
"left_ventricular_ejection_fraction_lvef" int,
"systolic_blood_pressure_sbp" int,
"malignant_hypertension" bool,
"severe_hypertension" bool,
"hemoglobin_a1c_hba1c" float,
"... |
SELECT res FROM table_name_32 WHERE round = "3" AND opponent = "keith wisniewski" | What is the result with a Round of 3, and an Opponent of keith wisniewski? | CREATE TABLE table_name_32 (res VARCHAR, round VARCHAR, opponent VARCHAR) |
SELECT total FROM table_21249915_1 WHERE department = "Chuquisaca" | What is the total for Chuquisaca? | CREATE TABLE table_21249915_1 (total VARCHAR, department VARCHAR) |
SELECT SUM(march) FROM table_name_56 WHERE score = "2 - 2" AND game > 67 | What is the sum of March, when Score is '2 - 2', and when Game is greater than 67? | CREATE TABLE table_name_56 (
march INTEGER,
score VARCHAR,
game VARCHAR
) |
SELECT time FROM table_name_11 WHERE opponent = "eddie miller" | Which time has eddie miller as opponent? | CREATE TABLE table_name_11 (time VARCHAR, opponent VARCHAR) |
SELECT department FROM table_21249915_1 WHERE small__100ha_ = 11370 | Which department has a small of 11370? | CREATE TABLE table_21249915_1 (department VARCHAR, small__100ha_ VARCHAR) |
SELECT SUM(int_yards) FROM table_name_81 WHERE assts > 3 AND player = "jay alford" | What is the sum for the int yards that has an assts more than 3, and player Jay Alford? | CREATE TABLE table_name_81 (
int_yards INTEGER,
assts VARCHAR,
player VARCHAR
) |
SELECT AVG(rd__number) FROM table_name_2 WHERE player = "dane jackson" AND pick__number > 44 | What's the average Rd number for dane jackson with a pick number over 44? | CREATE TABLE table_name_2 (rd__number INTEGER, player VARCHAR, pick__number VARCHAR) |
SELECT COUNT(total) FROM table_21249915_1 WHERE department = "La Paz" | How many total catagories are there for La Paz? | CREATE TABLE table_21249915_1 (total VARCHAR, department VARCHAR) |
SELECT MIN(bronze) FROM table_name_39 WHERE rank = 3 AND silver > 0 | Which Bronze has a Rank of 3, and a Silver larger than 0? | CREATE TABLE table_name_39 (
bronze INTEGER,
rank VARCHAR,
silver VARCHAR
) |
SELECT MAX(pick__number) FROM table_name_34 WHERE player = "corrie d'alessio" AND rd__number > 6 | What's the largest pick number for corrie d'alessio with a rd number over 6? | CREATE TABLE table_name_34 (pick__number INTEGER, player VARCHAR, rd__number VARCHAR) |
SELECT to_par FROM table_2126093_3 WHERE tournament = "Miyagi TV Cup Dunlop Ladies Open" | How many points under par was the winner of the Miyagi TV Cup Dunlop Ladies Open? | CREATE TABLE table_2126093_3 (to_par VARCHAR, tournament VARCHAR) |
SELECT "Date" FROM table_75385 WHERE "Others" = 'n/a' AND "PSD - PC" = '30%' | When the other is n/a and the psc-pc is 30% what is the date? | CREATE TABLE table_75385 (
"Polling Firm" text,
"Date" text,
"PSD - PC" text,
"UDMR" text,
"Elena B\u0103sescu" text,
"Others" text,
"Undecided" text
) |
SELECT visitor FROM table_name_29 WHERE score = "121–85" | Who was the visiting team at the Cavaliers game that had a score of 121–85? | CREATE TABLE table_name_29 (visitor VARCHAR, score VARCHAR) |
SELECT winning_score FROM table_2126093_3 WHERE tournament = "Vernal Ladies" | What was the winning score of the Vernal Ladies tournament? | CREATE TABLE table_2126093_3 (winning_score VARCHAR, tournament VARCHAR) |
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', icustays.intime)) FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 49176) AND icustays.outtime IS NULL | how many hours have it been since the admission to the icu of patient 49176? | CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE charte... |
SELECT date FROM table_name_45 WHERE home_team = "melbourne" | On what date did Melbourne play as the home team? | CREATE TABLE table_name_45 (date VARCHAR, home_team VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.