text
stringlengths
197
8.39k
### Context: CREATE TABLE table_44038 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What label has the netherlands as the region, and magik muzik 802-1 as the catalog? ### Query:...
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutp...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE wdmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZTM...
### Context: CREATE TABLE table_name_30 ( time VARCHAR, nation VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the time of kenya, which is ranked 2? ### Query: SELECT time FROM table_name_30 WHERE nation = "kenya" AND rank = "2"
### Context: CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutp...
### Context: CREATE TABLE people ( people_id number, name text, height number, weight number, birth_date text, birth_place text ) CREATE TABLE body_builder ( body_builder_id number, people_id number, snatch number, clean_jerk number, total number ) -- Using valid SQLite, a...
### Context: CREATE TABLE table_33275 ( "Rank by average" real, "Place" real, "Couple" text, "Total points" real, "Number of dances" real, "Average" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest number of dances with a less t...
### Context: CREATE TABLE table_name_31 ( pioneer INTEGER, year VARCHAR, sarina VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest Pioneer population in 1966 with a Sarina population greater than 4,611? ### Query: SELECT MIN(pioneer) FROM...
### Context: CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE universi...
### Context: 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...
### Context: CREATE TABLE table_64235 ( "Title" text, "Label" text, "Year of Release" real, "Country of Release" text, "Peaches:" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which title has origianal sound entertainment as its label? ### Query: ...
### Context: CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score...
### Context: CREATE TABLE table_name_97 ( city VARCHAR, years VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which city had years 1971-1974? ### Query: SELECT city FROM table_name_97 WHERE years = "1971-1974"
### Context: 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, admissi...
### Context: CREATE TABLE table_44487 ( "Team" text, "Tries for" text, "Tries against" text, "Try diff" text, "Points for" text, "Points against" text, "Points diff" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Try Diff, when Point...
### Context: CREATE TABLE diagnoses ( 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 ...
### Context: 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, admissi...
### Context: CREATE TABLE table_77124 ( "Date" text, "Opponent#" text, "Site" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Attendance when the Result is l0-13? ### Query: SELECT "Attendance" FROM tabl...
### Context: CREATE TABLE table_74852 ( "Game" real, "October" real, "Opponent" text, "Score" text, "Record" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Points have an Opponent of @ los angeles kings and a Game larger ...
### Context: CREATE TABLE table_59203 ( "Year" real, "Lok Sabha" text, "Members of Parliament" text, "Party Won" text, "Winner's % votes" text, "Trailing Party" text, "Trailing Party % votes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Wh...
### Context: CREATE TABLE table_41771 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many totals have 1 gold and a rank smaller than 2? ### Query: SELECT COUNT...
### Context: CREATE TABLE table_204_987 ( id number, "city/municipality" text, "no. of\nbarangays" number, "area\n(km2)" number, "population\n(2010 census)" number, "pop. density\n(per km2)" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- the n...
### Context: CREATE TABLE table_name_32 ( crowd INTEGER, away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest crowd for an Away team of st kilda? ### Query: SELECT MAX(crowd) FROM table_name_32 WHERE away_team = "st kilda"
### Context: CREATE TABLE table_5075 ( "Match" real, "League" text, "Date & Time ( CET )" text, "Arena" text, "Team and Score" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result at A Arena, the SL league, and a mat...
### Context: CREATE TABLE table_name_25 ( played VARCHAR, bp VARCHAR, pts_agst VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- B.P. of 0, and a Pts Agst smaller than 247 has how many total number of played? ### Query: SELECT COUNT(played) FROM table_name...
### Context: CREATE TABLE table_name_29 ( speed VARCHAR, position VARCHAR, time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the speed of the race that ended in 2nd place and had a time of 01:13:03.39? ### Query: SELECT speed FROM table_name_...
### Context: CREATE TABLE people ( people_id number, sex text, name text, date_of_birth text, height number, weight number ) CREATE TABLE candidate ( candidate_id number, people_id number, poll_source text, date text, support_rate number, consider_rate number, oppose...
### Context: CREATE TABLE table_53082 ( "Height (m.)" text, "No. of times visited" real, "No. of HC climbs" real, "First time as HC climb" real, "Most recent" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many HC climbs had 1 visit more recentl...
### Context: CREATE TABLE table_40602 ( "Pick" real, "Player" text, "Team" text, "Position" text, "School" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Team with a Player that is david cooper? ### Query: SELECT "Team" FROM table_40602...
### Context: 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age tex...
### Context: CREATE TABLE table_61181 ( "Nat." text, "Name" text, "Moving from" text, "Type" text, "Transfer window" text, "Ends" real, "Transfer fee" text, "Source" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Where did the player wit...
### Context: CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmitti...
### Context: CREATE TABLE table_33176 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the away team when the scor...
### Context: CREATE TABLE table_25545 ( "Year" real, "Dates" text, "Champion" text, "Country" text, "Score" text, "Margin of victory" text, "Tournament location" text, "Purse ( $ )" real, "Winners share ($)" real ) -- Using valid SQLite, answer the following questions for the table...
### Context: CREATE TABLE table_64749 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What venue had a competition of World Junior Championships before 2011? ### Query: SELECT...
### Context: CREATE TABLE jyjgzbb ( BGDH text, BGRQ time, CKZFWDX text, CKZFWSX number, CKZFWXX number, JCFF text, JCRGH text, JCRXM text, JCXMMC text, JCZBDM text, JCZBJGDL number, JCZBJGDW text, JCZBJGDX text, JCZBMC text, JLDW text, JYRQ time, JYZBL...
### Context: CREATE TABLE table_name_74 ( champion VARCHAR, second VARCHAR, third VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the winner the year Ramona Rahnis finished 2nd and Diana Sartor 3rd? ### Query: SELECT champion FROM table_name_74 W...
### Context: CREATE TABLE table_204_215 ( id number, "airline" text, "destination(s)" text, "aircraft scheduled" text, "service date(s)" text, "comments" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which airline has more listed destinations ,...
### Context: CREATE TABLE table_20903 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What position was taken out of Louisiana-Lafayette? ### Query: SELECT "Position" FROM t...
### Context: CREATE TABLE table_name_39 ( born_died VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Born-Died dates of Xhafer Bej Ypi? ### Query: SELECT born_died FROM table_name_39 WHERE name = "xhafer bej ypi"
### Context: 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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, val...
### Context: CREATE TABLE table_name_22 ( silver VARCHAR, total VARCHAR, gold VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of silver medals for nations with 5 total medals and more than 3 gold medals? ### Query: SELECT COUNT(s...
### Context: CREATE TABLE table_66584 ( "Latest stable release" text, "Developer" text, "3D support?" text, "Runs on POSIX style systems ?" text, "Runs on Windows?" text, "User Interface Language(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -...
### Context: CREATE TABLE student_record ( student_id int, course_id int, semester int, grade varchar, how varchar, transfer_source varchar, earn_credit varchar, repeat_term varchar, test_id varchar ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE ...
### Context: CREATE TABLE t_kc22 ( MED_EXP_DET_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, MED_EXP_BILL_ID text, SOC_SRT_DIRE_CD text, SOC_SRT_DIRE_NM text, DIRE_TYPE number, CHA_ITEM_LEV number, MED_INV_ITEM_TYPE text, MED_DIRE_CD text, MED_...
### Context: CREATE TABLE table_36629 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Opponent of @ giants, and a Record of 8 12 had what score? ### Query: SE...
### Context: CREATE TABLE table_73379 ( "Round" real, "Circuit" text, "Date" text, "Pole Position" text, "Fastest Lap" text, "Winning Driver" text, "Winning Team" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the driver for the winn...
### Context: CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, ...
### Context: CREATE TABLE table_11210576_4 ( final_episode VARCHAR, character VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what's the total number of final epbeingode count with character being rick stetler ### Query: SELECT COUNT(final_episode) AS Count ...
### Context: CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, int...
### Context: CREATE TABLE diagnoses ( 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, reli...
### Context: CREATE TABLE table_26770 ( "Season" real, "Series" text, "Team" text, "Races" real, "Wins" real, "Poles" real, "F/Laps" real, "Podiums" real, "Points" text, "Position" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- H...
### Context: CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) -- Using valid SQLite, answer the following ques...
### Context: CREATE TABLE table_name_29 ( labour_party INTEGER, green_party VARCHAR, fianna_fáil VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many are in the Labour Party of a Fianna Fail of 3 with a total higher than 9 and more ...
### Context: CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC text, ...
### Context: CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE universi...
### Context: 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, admissi...
### Context: CREATE TABLE table_name_12 ( points_for VARCHAR, drawn VARCHAR, losing_bonus VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points drew 2 with a losing bonus of 5? ### Query: SELECT points_for FROM table_name_12 WHERE drawn = "2" A...
### Context: CREATE TABLE t_kc21_t_kc22 ( MED_CLINIC_ID text, MED_EXP_DET_ID number ) CREATE TABLE t_kc21 ( CLINIC_ID text, CLINIC_TYPE text, COMP_ID text, DATA_ID text, DIFF_PLACE_FLG number, FERTILITY_STS number, FLX_MED_ORG_ID text, HOSP_LEV number, HOSP_STS number, I...
### Context: CREATE TABLE table_name_80 ( date VARCHAR, h_a_n VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what Date was the Score 105-118 and the H/A/N A? ### Query: SELECT date FROM table_name_80 WHERE h_a_n = "a" AND score = "105-...
### Context: CREATE TABLE table_38115 ( "Outcome" text, "Date" text, "Surface" text, "Partner" text, "Opponent in the Final" text, "Score" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the Outcome of the game with a Score of 3 6, 4 6? ...
### Context: CREATE TABLE table_name_28 ( rank VARCHAR, season VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What rank for season 1? ### Query: SELECT rank FROM table_name_28 WHERE season = 1
### Context: CREATE TABLE person_info ( RYBH text, XBDM number, XBMC text, XM text, CSRQ time, CSD text, MZDM text, MZMC text, GJDM text, GJMC text, JGDM text, JGMC text, XLDM text, XLMC text, ZYLBDM text, ZYMC text ) CREATE TABLE zyjzjlb ( YLJGDM tex...
### Context: CREATE TABLE city ( city_id number, county_id number, name text, white number, black number, amerindian number, asian number, multiracial number, hispanic number ) CREATE TABLE county_public_safety ( county_id number, name text, population number, police...
### Context: CREATE TABLE table_34669 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the value of bronze with less than 2 in total? ### Query: SELECT "Bron...
### Context: CREATE TABLE table_66151 ( "Season" real, "First Aired" text, "Last Aired" text, "Episodes" real, "Network" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Of the series that last aired August 20, 2010, what is the lowest number of seaso...
### Context: CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, drug text, dose_val_rx text, dose_unit_rx text, route text ) CRE...
### Context: 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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_t...
### Context: CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text, MZMC text, RYBH text, XBDM number, XBMC text, XLDM text, XLMC text, XM text, ZYLBDM text, ZYMC text ) CREATE TABLE hz_info_zyjzjlb ( JZ...
### Context: CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_location text, discharge_location text, insurance text, language text, marital_status text, ethnicity text, age numb...
### Context: CREATE TABLE table_202_24 ( id number, "year" number, "single" text, "peak chart positions\nfin" number, "peak chart positions\nnor" number, "peak chart positions\nswe" number, "album" text ) -- Using valid SQLite, answer the following questions for the tables provided above. ...
### Context: CREATE TABLE captain ( captain_id number, name text, ship_id number, age text, class text, rank text ) CREATE TABLE ship ( ship_id number, name text, type text, built_year number, class text, flag text ) -- Using valid SQLite, answer the following question...
### Context: CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, valueuom text ) C...
### Context: CREATE TABLE table_4091 ( "Track no." real, "Track" text, "Original Artist" text, "Soloist(s)" text, "Vocal Percussionist" text, "Arranger(s)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the original artist when the vocal...
### Context: CREATE TABLE table_name_46 ( winning_driver VARCHAR, pole_position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the Winning driver with a Pole position of bryan herta? ### Query: SELECT winning_driver FROM table_name_46 WHERE pole_posit...
### Context: CREATE TABLE table_6895 ( "Peel" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Wins has a Byes larger than 0? ### Query: SELECT MAX("Wins") FROM table_68...
### Context: CREATE TABLE table_11862 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team has an away team score o...
### Context: CREATE TABLE table_5717 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the latest week with a result of l 14-3? ### Query: SELECT MAX("Week") FROM table_...
### Context: 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age tex...
### Context: CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE medication ( m...
### Context: CREATE TABLE table_name_46 ( enrollment INTEGER, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest enrollment that has Lafayette as the location? ### Query: SELECT MIN(enrollment) FROM table_name_46 WHERE location = "la...
### Context: CREATE TABLE table_name_60 ( to_par VARCHAR, player VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the to par of player tom weiskopf, who has a 71-74=145 score? ### Query: SELECT to_par FROM table_name_60 WHERE score ...
### Context: CREATE TABLE table_train_246 ( "id" int, "allergy_to_dapagliflozin" bool, "allergy_to_exenatide" bool, "estimated_glomerular_filtration_rate_egfr" int, "fasting_c_peptide" float, "urine_albumin_to_creatinine_ratio_uacr" int, "fasting_triglyceride" int, "NOUSE" float ) -- U...
### Context: CREATE TABLE table_dev_45 ( "id" int, "tc" int, "systolic_blood_pressure_sbp" int, "parenteral_antibiotic_therapy" bool, "fasting_plasma_glucose_fpg" float, "active_infection" bool, "untreated_hyperlipidemia" bool, "hemoglobin_a1c_hba1c" float, "temperature" float, "...
### Context: CREATE TABLE table_204_789 ( id number, "plant name" text, "location" text, "country" text, "startup date" number, "capacity (mmtpa)" text, "corporation" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- qatargas ii started up the ...
### Context: CREATE TABLE table_1558077_8 ( lunar_blastoff_date VARCHAR, mission_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the total number of luna blastoff date for apollo 11 ### Query: SELECT COUNT(lunar_blastoff_date) FROM table_1558077_8 ...
### Context: CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE ...
### Context: CREATE TABLE t_kc21_t_kc24 ( MED_CLINIC_ID text, MED_SAFE_PAY_ID number ) CREATE TABLE t_kc22 ( AMOUNT number, CHA_ITEM_LEV number, DATA_ID text, DIRE_TYPE number, DOSE_FORM text, DOSE_UNIT text, EACH_DOSAGE text, EXP_OCC_DATE time, FLX_MED_ORG_ID text, FXBZ...
### Context: CREATE TABLE table_31340 ( "Rank 2012" real, "Country" text, "UNWTO Region" text, "International tourism expenditure 2011" text, "International tourism expenditure 2012" text, "% change" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -...
### Context: CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmitti...
### Context: CREATE TABLE table_38617 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest number of play...
### Context: CREATE TABLE table_53923 ( "Player" text, "No.(s)" text, "Height in Ft." text, "Position" text, "Years for Rockets" text, "School/Club Team/Country" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the player number for the pl...
### Context: CREATE TABLE table_name_64 ( results¹ VARCHAR, type_of_game VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result for the 1964 summer olympics on october 18? ### Query: SELECT results¹ FROM table_name_64 WHERE typ...
### Context: CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(1...
### Context: CREATE TABLE table_name_52 ( bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the average Bronze when silver is more than 3, gold is more than 1 and the total is 14 ### Query: SELEC...
### Context: CREATE TABLE table_18522 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the result of the election in the Texas 4 district...
### Context: CREATE TABLE table_1342256_38 ( incumbent VARCHAR, district VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the incumbent in Pennsylvania 27? ### Query: SELECT incumbent FROM table_1342256_38 WHERE district = "Pennsylvania 27"
### Context: CREATE TABLE Apartment_Buildings ( building_id INTEGER, building_short_name CHAR(15), building_full_name VARCHAR(80), building_description VARCHAR(255), building_address VARCHAR(255), building_manager VARCHAR(50), building_phone VARCHAR(80) ) CREATE TABLE View_Unit_Status ( ...
### Context: CREATE TABLE table_name_25 ( competition VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What competition has may 5, 2001 as the date? ### Query: SELECT competition FROM table_name_25 WHERE date = "may 5, 2001"
### Context: CREATE TABLE person_info ( CSD text, CSRQ time, GJDM text, GJMC text, JGDM text, JGMC text, MZDM text, MZMC text, RYBH text, XBDM number, XBMC text, XLDM text, XLMC text, XM text, ZYLBDM text, ZYMC text ) CREATE TABLE mzjzjlb ( HXPLC numb...