answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT championship FROM table_22839669_1 WHERE score_in_the_final = "6–4, 6–2, 6–2" | What championship had a final score of 6–4, 6–2, 6–2? | CREATE TABLE table_22839669_1 (championship VARCHAR, score_in_the_final VARCHAR) |
SELECT "Home team" FROM table_44389 WHERE "Time" = '8:00 pm' AND "Home team score" = '11.18 (84)' | Who was the home team at 8:00 pm when the score was 11.18 (84)? | CREATE TABLE table_44389 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Crowd" real,
"Date" text,
"Time" text
) |
SELECT COUNT(points) FROM table_name_67 WHERE team = "discovery channel" | Cumulative point total for all teams playing on the Discovery Channel? | CREATE TABLE table_name_67 (points VARCHAR, team VARCHAR) |
SELECT top_10s FROM table_22838521_3 WHERE year = 2007 | If the year is 2007, what is the top ten? | CREATE TABLE table_22838521_3 (top_10s VARCHAR, year VARCHAR) |
SELECT date FROM table_name_62 WHERE opponent_in_the_final = "gwinyai tongoona" | On what date was the opponent in the final Gwinyai Tongoona? | CREATE TABLE table_name_62 (
date VARCHAR,
opponent_in_the_final VARCHAR
) |
SELECT name FROM table_name_44 WHERE nationality = "belgium" | Which player is from Belgium? | CREATE TABLE table_name_44 (name VARCHAR, nationality VARCHAR) |
SELECT MAX(money_list_rank) FROM table_22838521_3 | What is the possible maximum money list rank? | CREATE TABLE table_22838521_3 (money_list_rank INTEGER) |
SELECT COUNT("Year") FROM table_24988 WHERE "Date" = 'February 27' | In how many different years did the race happen on February 27? | CREATE TABLE table_24988 (
"Year" real,
"Date" text,
"Driver" text,
"Team" text,
"Manufacturer" text,
"Laps" text,
"Miles (km)" text,
"Race Time" text,
"Average Speed (mph)" text,
"Report" text
) |
SELECT visitor FROM table_name_42 WHERE home = "kings" | Who was the visiting team that played against the Kings? | CREATE TABLE table_name_42 (visitor VARCHAR, home VARCHAR) |
SELECT best_finish FROM table_22838521_3 WHERE scoring_average = "72.46" | If the scoring average is 72.46, what is the best finish? | CREATE TABLE table_22838521_3 (best_finish VARCHAR, scoring_average VARCHAR) |
SELECT name FROM table_name_9 WHERE moving_from = "1. fc nürnberg" | Name the name that has moving of 1. fc n rnberg. | CREATE TABLE table_name_9 (
name VARCHAR,
moving_from VARCHAR
) |
SELECT player FROM table_name_25 WHERE round > 5 AND position = "c" | Tell me the player for round more than 5 and position of c | CREATE TABLE table_name_25 (player VARCHAR, round VARCHAR, position VARCHAR) |
SELECT result FROM table_22853654_9 WHERE opponent = "Wesley Moodie" | Name the result for wesley moodie | CREATE TABLE table_22853654_9 (result VARCHAR, opponent VARCHAR) |
SELECT series__number FROM table_25800134_12 WHERE airdate = "February 26, 1968" | What episode number of the series aired on February 26, 1968? | CREATE TABLE table_25800134_12 (
series__number VARCHAR,
airdate VARCHAR
) |
SELECT college_junior_club_team__league_ FROM table_name_70 WHERE player = "carl hagelin" | Tell me the college for carl hagelin | CREATE TABLE table_name_70 (college_junior_club_team__league_ VARCHAR, player VARCHAR) |
SELECT surface FROM table_22853654_9 WHERE against = "Monaco" | Name the surface against monaco | CREATE TABLE table_22853654_9 (surface VARCHAR, against VARCHAR) |
SELECT "Player" FROM table_61953 WHERE "Money ( $ )" = '137' AND "Score" = '73-70-73-74=290' | Which Player has a Money ($) of 137, and a Score of 73-70-73-74=290? | CREATE TABLE table_61953 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To Par" text,
"Money ( $ )" real
) |
SELECT AVG(year) FROM table_name_88 WHERE points = 0 AND chassis = "toleman tg181" | Which year has a total of 0 points and a chassis of Toleman tg181? | CREATE TABLE table_name_88 (year INTEGER, points VARCHAR, chassis VARCHAR) |
SELECT result FROM table_22853654_9 WHERE opponent = "Alexander Shvec" | Name the result for alexander shvec | CREATE TABLE table_22853654_9 (result VARCHAR, opponent VARCHAR) |
SELECT t3.diagnosisname FROM (SELECT t2.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'headache' AND STRFTIME('%y', diagnosis.d... | what are the three most common diagnoses since 2102 in which patients are diagnosed in the same month after being diagnosed with headache? | CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE diagnosis (
diagn... |
SELECT MAX(year) FROM table_name_20 WHERE engine = "renault ef15 1.5 v6 t" AND points > 5 | What is the latest year that has more than 5 points and a renault ef15 1.5 v6 t engine? | CREATE TABLE table_name_20 (year INTEGER, engine VARCHAR, points VARCHAR) |
SELECT opponent FROM table_22853654_9 WHERE result = "3–6, 4–6, 6–1, 6–7 (7–9)" | Name the opponent for 3–6, 4–6, 6–1, 6–7 (7–9) | CREATE TABLE table_22853654_9 (opponent VARCHAR, result VARCHAR) |
SELECT AVG(Reputation) AS AVG_REP, COUNT(Id) AS "total_users" FROM Users WHERE LOWER(Location) LIKE '%manchester, united kingdom' AND Reputation > 15 | Average Reputation Of SO Users where reputation > 15. | CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,... |
SELECT COUNT(year) FROM table_name_36 WHERE chassis = "toleman tg183" | Which year had a toleman tg183 chassis? | CREATE TABLE table_name_36 (year VARCHAR, chassis VARCHAR) |
SELECT average_annual_rainfall__mm_ FROM table_22854436_1 WHERE population__2002_census_data_ = 493984 | Name the annual rainfail for 2002 population being 493984 | CREATE TABLE table_22854436_1 (average_annual_rainfall__mm_ VARCHAR, population__2002_census_data_ VARCHAR) |
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, procedures_icd.charttime, admissions.hadm_id FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FR... | what was the top five most commonly prescribed medication that patients were prescribed during the same hospital encounter after having received a int insert dual-cham dev procedure? | CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
first_careunit text,
last_careunit text,
first_wardid number,
... |
SELECT time FROM table_name_13 WHERE rider = "tony myres" | What is the time for tony myres? | CREATE TABLE table_name_13 (time VARCHAR, rider VARCHAR) |
SELECT MAX(population__2002_census_data_) FROM table_22854436_1 | Name the most population 2002 | CREATE TABLE table_22854436_1 (population__2002_census_data_ INTEGER) |
SELECT frequency FROM table_11602313_4 WHERE part_number_s_ = "LF80537GF0411M" | What is the frequency of the model with part number lf80537gf0411m? | CREATE TABLE table_11602313_4 (
frequency VARCHAR,
part_number_s_ VARCHAR
) |
SELECT speed FROM table_name_41 WHERE rider = "andy reynolds" | Name the speed for andy reynolds | CREATE TABLE table_name_41 (speed VARCHAR, rider VARCHAR) |
SELECT COUNT(per_capita_average_annual_renewable_water_resources_m_3) FROM table_22854436_1 WHERE average_annual_rainfall__mm_ = "650" | Name the total water resources m3 for rainfall being 650 | CREATE TABLE table_22854436_1 (per_capita_average_annual_renewable_water_resources_m_3 VARCHAR, average_annual_rainfall__mm_ VARCHAR) |
SELECT "High rebounds" FROM table_2686 WHERE "Team" = 'New York' | Name the high rebounds for new york | CREATE TABLE table_2686 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) |
SELECT COUNT(rank) FROM table_name_54 WHERE team = "348cc petty manx" | Name the total number of rank for 348cc petty manx | CREATE TABLE table_name_54 (rank VARCHAR, team VARCHAR) |
SELECT carpet_w_l FROM table_22860698_8 WHERE year = 1993 | What were the carpet w-l in 1993? | CREATE TABLE table_22860698_8 (carpet_w_l VARCHAR, year VARCHAR) |
SELECT "Position" FROM table_29221 WHERE "CFL Team" = 'Edmonton (2)' | where cfl team is edmonton (2) what are all the position | CREATE TABLE table_29221 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
) |
SELECT speed FROM table_name_13 WHERE time = "1:36.46.93" | Name the speed for 1:36.46.93 | CREATE TABLE table_name_13 (speed VARCHAR, time VARCHAR) |
SELECT COUNT(score_in_final) FROM table_22858557_1 WHERE championship = "US Open" AND outcome = "Runner-up" | What is the amount of US open runner-up score? | CREATE TABLE table_22858557_1 (score_in_final VARCHAR, championship VARCHAR, outcome VARCHAR) |
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE (((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'WASHINGTON' AND date_day.day_number = 21 AND date_day.month_number = 7 ... | show me the last flight available in the evening from BOSTON to WASHINGTON on 7 21 | CREATE TABLE flight (
aircraft_code_sequence text,
airline_code varchar,
airline_flight text,
arrival_time int,
connections int,
departure_time int,
dual_carrier text,
flight_days text,
flight_id int,
flight_number int,
from_airport varchar,
meal_code text,
stops int,... |
SELECT away_team AS score FROM table_name_54 WHERE away_team = "melbourne" | What is the away team score of Melbourne? | CREATE TABLE table_name_54 (away_team VARCHAR) |
SELECT MIN(year) FROM table_22858557_1 WHERE outcome = "Runner-up" | What is the year where the runner-up outcome was at its basic minimum? | CREATE TABLE table_22858557_1 (year INTEGER, outcome 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 = 'PITTSBURGH' AND CITY_2... | are there any flights from DENVER to ATLANTA to PITTSBURGH | CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE flight (
aircraft_code_sequence text,
airline_code varchar,
airline_flight text,
arrival_time int,
connections int,
departure_time int,
dual_carrier text,
flight_days text,
flight_id... |
SELECT away_team AS score FROM table_name_86 WHERE away_team = "south melbourne" | What is the away team score for South Melbourne? | CREATE TABLE table_name_86 (away_team VARCHAR) |
SELECT championship FROM table_22858557_1 WHERE opponent_in_final = "Steffi Graf" | How many championships have there been with Steffi Graf? | CREATE TABLE table_22858557_1 (championship VARCHAR, opponent_in_final VARCHAR) |
SELECT a.TagName AS "Tagname", a.upvotes AS "Upvotes", b.downvotes AS "Downvotes" FROM (SELECT TagName, COUNT(*) AS upvotes FROM Tags JOIN PostTags ON PostTags.TagId = Tags.Id JOIN Posts ON Posts.ParentId = PostTags.PostId OR Posts.Id = PostTags.PostId JOIN Votes ON Votes.PostId = Posts.Id AND Votes.VoteTypeId = 2 WHER... | Getting number of upvotes and downvotes for each tag for a user, along with ratio. number of upvotes and downvotes i have for each tag, questions and answers combined | CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate time,
OwnerUserId number,
AutoRenameCount number,
LastAutoRename time,
Score number... |
SELECT prime_mover FROM table_name_87 WHERE model = "fm cfa-16-4" | What is Prime Mover of Model FM CFA-16-4? | CREATE TABLE table_name_87 (prime_mover VARCHAR, model VARCHAR) |
SELECT COUNT(opponents) FROM table_22860698_2 WHERE championship = "Wimbledon (2)" | How many opponents have wimbledon (2) as the championship? | CREATE TABLE table_22860698_2 (opponents VARCHAR, championship VARCHAR) |
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'hypothermia... | how many patients in this year have undergone aortocor bypas-2 cor art within 2 months following the first hypothermia? | CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE prescriptions (
... |
SELECT MAX(purse__) AS $__ FROM table_name_80 WHERE location = "illinois" | what was the purse ($) in illinois? | CREATE TABLE table_name_80 (purse__ INTEGER, location VARCHAR) |
SELECT surface FROM table_22860698_2 WHERE championship = "US Open" AND year = 1979 | What is the surface when the us open is the championship in the year 1979? | CREATE TABLE table_22860698_2 (surface VARCHAR, championship VARCHAR, year VARCHAR) |
SELECT "Result(s)" FROM table_66859 WHERE "Format(s)" = 'single' AND "Date" = 'march 21' | What are the results of Format single on March 21? | CREATE TABLE table_66859 (
"Year" real,
"Date" text,
"Title" text,
"Format(s)" text,
"Award description(s)" text,
"Result(s)" text
) |
SELECT winner FROM table_name_21 WHERE score = "199 (-14)" AND date = "oct 31" | who won with a score of 199 (-14) on oct 31? | CREATE TABLE table_name_21 (winner VARCHAR, score VARCHAR, date VARCHAR) |
SELECT _number FROM table_22871239_5 WHERE date = "November 27" | What is the game number that was on November 27? | CREATE TABLE table_22871239_5 (_number VARCHAR, date VARCHAR) |
SELECT COUNT("Position") FROM table_21638 WHERE "Points 2" = '31' | How many teams finished with a 2nd points total of 31? | CREATE TABLE table_21638 (
"Position" real,
"Team" text,
"Played" real,
"Won" real,
"Drawn" real,
"Lost" real,
"Goals For" real,
"Goals Against" real,
"Goal Average 1" text,
"Points 2" real
) |
SELECT SUM(year) FROM table_name_6 WHERE city = "santiago de compostela" | How many years did he play in santiago de compostela? | CREATE TABLE table_name_6 (year INTEGER, city VARCHAR) |
SELECT score FROM table_22871239_5 WHERE team = "@ New Jersey" | What was the score when the team was @ New Jersey? | CREATE TABLE table_22871239_5 (score VARCHAR, team VARCHAR) |
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.hospitaldischargetime IS NULL AND patient.age BETWEEN 50 AND 59 | how many of the current patients are 50s? | CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
... |
SELECT SUM(finale) FROM table_name_64 WHERE chinese_title = "女人唔易做" | What is the Total Finale of 女人唔易做? | CREATE TABLE table_name_64 (finale INTEGER, chinese_title VARCHAR) |
SELECT COUNT(high_rebounds) FROM table_22871239_5 WHERE _number = 5 | How many high rebound catagories are listed for game number 5? | CREATE TABLE table_22871239_5 (high_rebounds VARCHAR, _number VARCHAR) |
SELECT COUNT("Builder") FROM table_25029 WHERE "Withdrawn" = '1951' AND "Number" = '42' | List the number of builders where the withdrawn is 1951 and number is 42. | CREATE TABLE table_25029 (
"Date" text,
"Builder" text,
"Type" text,
"Operator" text,
"Number" text,
"Withdrawn" text,
"Status" text
) |
SELECT MIN(premiere) FROM table_name_25 WHERE peak > 35 AND rank = 10 AND finale > 33 | What is the lowest Premiere peaking at more than 35 with a Rank of 10 and Finale greater than 33? | CREATE TABLE table_name_25 (premiere INTEGER, finale VARCHAR, peak VARCHAR, rank VARCHAR) |
SELECT opponent FROM table_22862203_2 WHERE record = "11-2" | Who were the opponents when the record was 11-2? | CREATE TABLE table_22862203_2 (opponent VARCHAR, record VARCHAR) |
SELECT "name" FROM table_204_806 WHERE "date" = 1455 | what is the only chateau built in 1455 ? | CREATE TABLE table_204_806 (
id number,
"name" text,
"date" text,
"condition" text,
"ownership\n/ access" text,
"notes" text
) |
SELECT chinese_title FROM table_name_60 WHERE hk_viewers = "2.07 million" AND premiere = 32 | What is the Chinese Title Premiering 32 with 2.07 million HK viewers? | CREATE TABLE table_name_60 (chinese_title VARCHAR, hk_viewers VARCHAR, premiere VARCHAR) |
SELECT record FROM table_22862203_2 WHERE opp_points = 50 | What were the records when the opponents had 50 points? | CREATE TABLE table_22862203_2 (record VARCHAR, opp_points VARCHAR) |
SELECT AVG("Week") FROM table_9546 WHERE "Opponent" = 'bye' | What week was the bye week? | CREATE TABLE table_9546 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
) |
SELECT AVG(average) FROM table_name_70 WHERE english_title = "men in pain" AND finale < 33 | What is the Average of Men in Pain with a Finale of less than 33? | CREATE TABLE table_name_70 (average INTEGER, english_title VARCHAR, finale VARCHAR) |
SELECT terps_points FROM table_22862203_2 WHERE date = "Nov. 25/05" | What are the terps points for the nov. 25/05 game? | CREATE TABLE table_22862203_2 (terps_points VARCHAR, date VARCHAR) |
SELECT rider FROM table_name_67 WHERE grid < 16 AND laps = 21 AND manufacturer = "honda" AND time = "+10.583" | What is Rider, when Grid is less than 16, when Laps is 21, when Manufacturer is Honda, and when Time is +10.583? | CREATE TABLE table_name_67 (
rider VARCHAR,
time VARCHAR,
manufacturer VARCHAR,
grid VARCHAR,
laps VARCHAR
) |
SELECT chinese_title FROM table_name_3 WHERE average = 32 AND peak < 38 AND rank = 7 | What Chinese Title Ranking #7 has an Average of 32 and Peak less than 38? | CREATE TABLE table_name_3 (chinese_title VARCHAR, rank VARCHAR, average VARCHAR, peak VARCHAR) |
SELECT location FROM table_22862203_2 WHERE record = "9-1" | Where were games played when the record was 9-1? | CREATE TABLE table_22862203_2 (location VARCHAR, record VARCHAR) |
SELECT away_team FROM table_name_25 WHERE venue = "mcg" | Who was the away team at mcg? | CREATE TABLE table_name_25 (
away_team VARCHAR,
venue VARCHAR
) |
SELECT AVG(crowd) FROM table_name_9 WHERE venue = "corio oval" | What is the average crowd size for corio oval? | CREATE TABLE table_name_9 (crowd INTEGER, venue VARCHAR) |
SELECT MAX(terps_points) FROM table_22862203_2 WHERE opp_points = 53 | What is the highest number of terps points in games where the opponent made 53 points? | CREATE TABLE table_22862203_2 (terps_points INTEGER, opp_points VARCHAR) |
SELECT "player" FROM table_203_507 ORDER BY "\u03c3 points" DESC LIMIT 1 | the most points were scored by which player ? | CREATE TABLE table_203_507 (
id number,
"#" text,
"player" text,
"\u03c3 points" number,
"qual." number,
"final" number
) |
SELECT AVG(crowd) FROM table_name_32 WHERE venue = "brunswick street oval" | What is the average crowd size for Brunswick street oval? | CREATE TABLE table_name_32 (crowd INTEGER, venue VARCHAR) |
SELECT location FROM table_22862203_2 WHERE date = "Jan. 16/06" | Where was the game on jan. 16/06 played? | CREATE TABLE table_22862203_2 (location VARCHAR, date VARCHAR) |
SELECT "Democratic Alternative" FROM table_66680 WHERE "Polling institute" = 'malta today' | What is the value of the Democratic Alternative for the poll released by Malta Today? | CREATE TABLE table_66680 (
"Date(s) Released" text,
"Polling institute" text,
"Nationalist" text,
"Labour" text,
"Democratic Alternative" text,
"Undecided/ No answer" text,
"Lead" text
) |
SELECT date FROM table_name_15 WHERE year > 1992 AND location = "murcia" AND score = "0-3" | What day did the team play in murcia with a score of 0-3 after 1992? | CREATE TABLE table_name_15 (date VARCHAR, score VARCHAR, year VARCHAR, location VARCHAR) |
SELECT COUNT(high_points) FROM table_22871239_9 WHERE record = "21-45" | Name the high points for 21-45 record | CREATE TABLE table_22871239_9 (high_points VARCHAR, record VARCHAR) |
SELECT demographic.admission_type, demographic.admittime FROM demographic WHERE demographic.name = "Ida Cook" | tell me the type and time of admission for patient ida cook. | 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 location FROM table_name_96 WHERE competition = "europe/africa zone, group i, round robin" AND result = "win" AND year < 1998 | What location did the team win before 1998 in the europe/africa zone, group i, round robin? | CREATE TABLE table_name_96 (location VARCHAR, year VARCHAR, competition VARCHAR, result VARCHAR) |
SELECT visitor FROM table_22871239_9 WHERE date = "March 23" | Name the visitor for march 23 | CREATE TABLE table_22871239_9 (visitor VARCHAR, date VARCHAR) |
SELECT "Head Linesman" FROM table_38531 WHERE "Date" = '1 february 2009' | Who is the head linesman of the game on 1 February 2009? | CREATE TABLE table_38531 (
"Game" text,
"Date" text,
"Referee" text,
"Umpire" text,
"Head Linesman" text,
"Line Judge" text,
"Field Judge" text,
"Back Judge" text
) |
SELECT date FROM table_name_55 WHERE score = "1-2" AND year = 1994 | What day did they record a score of 1-2 in 1994? | CREATE TABLE table_name_55 (date VARCHAR, score VARCHAR, year VARCHAR) |
SELECT high_rebounds FROM table_22871239_9 WHERE arena_attendance = "TD Garden 18,624" | Name the high rebounds for td garden 18,624 | CREATE TABLE table_22871239_9 (high_rebounds VARCHAR, arena_attendance VARCHAR) |
SELECT "Away team" FROM table_77279 WHERE "Ground" = 'waverley park' AND "Home team" = 'hawthorn' | Name the Away team which has a Ground of waverley park, and a Home team of hawthorn? | CREATE TABLE table_77279 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Crowd" real,
"Date" text,
"Local Time" text,
"AEDT Time" text
) |
SELECT AVG(matches) FROM table_name_91 WHERE country = "austria germany" AND rank < 5 | When the country is austria germany and the rank is kept under 5, what's the average number of matches played? | CREATE TABLE table_name_91 (matches INTEGER, country VARCHAR, rank VARCHAR) |
SELECT record FROM table_22871239_9 WHERE date = "March 16" | Name the record for march 16 | CREATE TABLE table_22871239_9 (record VARCHAR, date VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dod_year <= "2174.0" AND lab.fluid = "Other Body Fluid" | what is the number of patients whose year of death is less than or equal to 2174 and lab test fluid is other body fluid? | 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 country FROM table_name_85 WHERE name = "pele" | Which country does the player pele belong to? | CREATE TABLE table_name_85 (country VARCHAR, name VARCHAR) |
SELECT COUNT(_number) FROM table_22871239_8 WHERE score = "L 110-112" | Name the total number for score l 110-112 | CREATE TABLE table_22871239_8 (_number VARCHAR, score VARCHAR) |
SELECT status FROM table_name_73 WHERE notes = "n coelurosauria" | What is the Status of the dinosaur, whose notes are, 'n coelurosauria'? | CREATE TABLE table_name_73 (
status VARCHAR,
notes VARCHAR
) |
SELECT MIN(game) FROM table_name_94 WHERE attendance = 42 OFFSET 707 | What is the earliest game that had 42,707 attending? | CREATE TABLE table_name_94 (game INTEGER, attendance VARCHAR) |
SELECT team FROM table_22871239_8 WHERE score = "W 125-115" | Name the team for w 125-115 score | CREATE TABLE table_22871239_8 (team VARCHAR, score VARCHAR) |
SELECT schwaben FROM table_23224961_1 WHERE oberbayern_a = "Wacker Burghausen" | When wacker burghausen is the oberbayern a what is the schwaben? | CREATE TABLE table_23224961_1 (
schwaben VARCHAR,
oberbayern_a VARCHAR
) |
SELECT SUM(figures) FROM table_name_13 WHERE total < 117.78 | What is the sum of the figure skating scores whose total is less than 117.78? | CREATE TABLE table_name_13 (figures INTEGER, total INTEGER) |
SELECT high_assists FROM table_22871239_8 WHERE location_attendance = "American Airlines Center 19,585" | Name the high assists for american airlines center 19,585 | CREATE TABLE table_22871239_8 (high_assists VARCHAR, location_attendance VARCHAR) |
SELECT "9:30" FROM table_35273 WHERE "8:30" = 'the red green show' | What is the 9:30 program airing on the station that airs The Red Green Show at 8:30? | CREATE TABLE table_35273 (
"7:00" text,
"7:30" text,
"8:00" text,
"8:30" text,
"9:00" text,
"9:30" text,
"10:00" text,
"10:30" text
) |
SELECT MIN(total) FROM table_name_81 WHERE nation = "west germany" AND rank = 20 AND figures < 74.85 | What is the lowest total score among skaters from West Germany with a rank of 20 and a figure skating score less than 74.85? | CREATE TABLE table_name_81 (total INTEGER, figures VARCHAR, nation VARCHAR, rank VARCHAR) |
SELECT high_points FROM table_22871316_11 WHERE series = "3-2" | Who has the high points when 3-2 is the series? | CREATE TABLE table_22871316_11 (high_points VARCHAR, series VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.