NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Show the names of products that are in at least two events.
CREATE TABLE Products (Product_Name VARCHAR, Product_ID VARCHAR); CREATE TABLE Products_in_Events (Product_ID VARCHAR)
SELECT T1.Product_Name FROM Products AS T1 JOIN Products_in_Events AS T2 ON T1.Product_ID = T2.Product_ID GROUP BY T1.Product_Name HAVING COUNT(*) >= 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3174, 7472, 834, 23954, 584, 4280, 28027, 6, 6246, 834, 4309, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 834, 77, 834, 427, 2169, 7, 41,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 3174, 7472, 834, 23954, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 7554, 834, 77, 834, 427, 2169, 7, 6157, 332, 357, 9191, 332, 5411, 3174, 7472, 834, 4309, 3274, 332, 4416, 3174, 7472, 834, 4309, 350, ...
Draw a bar chart of affiliation versus sum enrollment, and I want to display y axis from low to high order please.
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 university ( Scho...
SELECT Affiliation, SUM(Enrollment) FROM university GROUP BY Affiliation ORDER BY SUM(Enrollment)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 89, 8027, 23, 257, 6, 180, 6122, 599, 8532, 4046, 297, 61, 21680, 3819, 350, 4630, 6880, 272, 476, 71, 89, 8027, 23, 257, 4674, 11300, 272, 476, 180, 6122, 599, 8532, 4046, 297, 61, 1, -100, -100, -100, -100, ...
what is the total number of administrative buildings on the campus of bw .
CREATE TABLE table_204_240 ( id number, "name" text, "current use" text, "completed" text, "namesake" text, "info" text )
SELECT COUNT("name") FROM table_204_240
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 11944, 41, 3, 23, 26, 381, 6, 96, 4350, 121, 1499, 6, 96, 14907, 169, 121, 1499, 6, 96, 25288, 26, 121, 1499, 6, 96, 4350, 7, 9, 1050, 121, 1499, 6, 96, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 4350, 8512, 21680, 953, 834, 26363, 834, 11944, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What kind of party is the district in Alabama 1?
CREATE TABLE table_1342338_3 ( party VARCHAR, district VARCHAR )
SELECT party FROM table_1342338_3 WHERE district = "Alabama 1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2773, 3747, 834, 519, 41, 1088, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 773, 13, 1088, 19, 8, 3939, 16, 13050, 209, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1088, 21680, 953, 834, 23747, 2773, 3747, 834, 519, 549, 17444, 427, 3939, 3274, 96, 188, 9339, 265, 9, 209, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the Title of the episode after Season 10 Directed by Erik Wiese and Eddie Trigueros after Seres 35?
CREATE TABLE table_49457 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original airdate" text )
SELECT "Title" FROM table_49457 WHERE "Season #" > '10' AND "Series #" > '35' AND "Directed by" = 'erik wiese and eddie trigueros'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 591, 3436, 41, 96, 12106, 7, 1713, 121, 490, 6, 96, 134, 15, 9, 739, 1713, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 155, 109, 121, 21680, 953, 834, 3647, 591, 3436, 549, 17444, 427, 96, 134, 15, 9, 739, 1713, 121, 2490, 3, 31, 1714, 31, 3430, 96, 12106, 7, 1713, 121, 2490, 3, 31, 2469, 31, 3430, 96, 23620, 15, 26, ...
count the number of patients whose diagnoses short title is adv eff antifung antbiot and drug route is buccal?
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 text, dob te...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Adv eff antifung antbiot" AND prescriptions.route = "BUCCAL"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Give me the proportion of the total number of every ship type.
CREATE TABLE mission ( Mission_ID int, Ship_ID int, Code text, Launched_Year int, Location text, Speed_knots int, Fate text ) CREATE TABLE ship ( Ship_ID int, Name text, Type text, Nationality text, Tonnage int )
SELECT Type, COUNT(Type) FROM ship GROUP BY Type
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2253, 41, 8960, 834, 4309, 16, 17, 6, 15508, 834, 4309, 16, 17, 6, 3636, 1499, 6, 17113, 15, 26, 834, 476, 2741, 16, 17, 6, 10450, 1499, 6, 9913, 834, 157, 2264, 7, 16, 17, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6632, 6, 2847, 17161, 599, 25160, 61, 21680, 4383, 350, 4630, 6880, 272, 476, 6632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
In which discipline was non-championship under Championship?
CREATE TABLE table_name_45 (discipline VARCHAR, championship VARCHAR)
SELECT discipline FROM table_name_45 WHERE championship = "non-championship"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 26, 159, 3389, 747, 584, 4280, 28027, 6, 10183, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 86, 84, 7998, 47, 529, 18, 17788, 12364, 2009, 365, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7998, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 10183, 3274, 96, 29, 106, 18, 17788, 12364, 2009, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who had the most rebounds when the team record was 15-27?
CREATE TABLE table_23285805_6 (high_rebounds VARCHAR, record VARCHAR)
SELECT high_rebounds FROM table_23285805_6 WHERE record = "15-27"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 2577, 3449, 3076, 834, 948, 41, 6739, 834, 23768, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 141, 8, 167, 3, 23768, 116, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 306, 834, 23768, 21680, 953, 834, 2773, 2577, 3449, 3076, 834, 948, 549, 17444, 427, 1368, 3274, 96, 1808, 18, 2555, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many patients with iatrogen cv infarc/hmrhg had a blood test?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Iatrogen CV infarc/hmrhg" AND lab.fluid = "Blood"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Who wrote title number 38?
CREATE TABLE table_26199484_1 ( written_by VARCHAR, no VARCHAR )
SELECT written_by FROM table_26199484_1 WHERE no = 38
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 2294, 4240, 4608, 834, 536, 41, 1545, 834, 969, 584, 4280, 28027, 6, 150, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 2832, 2233, 381, 6654, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1545, 834, 969, 21680, 953, 834, 2688, 2294, 4240, 4608, 834, 536, 549, 17444, 427, 150, 3274, 6654, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
minimal weight of 40 kg
CREATE TABLE table_train_229 ( "id" int, "hemoglobin_a1c_hba1c" float, "active_metabolic" bool, "body_weight" float, "hba1c" float, "age" float, "NOUSE" float )
SELECT * FROM table_train_229 WHERE body_weight >= 40
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 357, 3166, 41, 96, 23, 26, 121, 16, 17, 6, 96, 6015, 32, 14063, 77, 834, 9, 536, 75, 834, 107, 115, 9, 536, 75, 121, 3, 12660, 6, 96, 6645, 834, 27787, 447...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 357, 3166, 549, 17444, 427, 643, 834, 9378, 2490, 2423, 1283, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the score when the decision is dipietro and the visitor is philadelphia
CREATE TABLE table_55960 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text )
SELECT "Score" FROM table_55960 WHERE "Decision" = 'dipietro' AND "Visitor" = 'philadelphia'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 27699, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 2962, 18901, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 3769, 27699, 549, 17444, 427, 96, 2962, 18901, 121, 3274, 3, 31, 21981, 23, 15252, 31, 3430, 96, 553, 159, 155, 127, 121, 3274, 3, 31, 18118, 15311, 11692, 9, 31, 1, -100, -100...
what round saw the ground of telstra dome and shaun burgoyne as nominees?
CREATE TABLE table_51245 ( "Round" real, "Nominees" text, "Team" text, "Match" text, "Ground" text )
SELECT MAX("Round") FROM table_51245 WHERE "Ground" = 'telstra dome' AND "Nominees" = 'shaun burgoyne'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24163, 2128, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 4168, 8695, 15, 7, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 329, 14547, 121, 1499, 6, 96, 517, 7775, 121, 1499, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 448, 32, 1106, 8512, 21680, 953, 834, 24163, 2128, 549, 17444, 427, 96, 517, 7775, 121, 3274, 3, 31, 1625, 3109, 22161, 31, 3430, 96, 4168, 8695, 15, 7, 121, 3274, 3, 31, 7, 1024, 202, 3, 4824...
who is first in number of winnings on this list ?
CREATE TABLE table_203_529 ( id number, "fin" number, "st" number, "driver" text, "car #" number, "make" text, "points" number, "bonus" number, "laps" number, "winnings" text )
SELECT "driver" FROM table_203_529 ORDER BY "winnings" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 755, 3166, 41, 3, 23, 26, 381, 6, 96, 89, 77, 121, 381, 6, 96, 7, 17, 121, 381, 6, 96, 13739, 52, 121, 1499, 6, 96, 1720, 1713, 121, 381, 6, 96, 19509, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13739, 52, 121, 21680, 953, 834, 23330, 834, 755, 3166, 4674, 11300, 272, 476, 96, 8163, 7, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the largest amount of ends lost?
CREATE TABLE table_29118 ( "Country" text, "Skip" text, "W" real, "L" real, "PF" real, "PA" real, "Ends Won" real, "Ends Lost" real, "Blank Ends" real, "Stolen Ends" real, "Shot Pct." real )
SELECT MAX("Ends Lost") FROM table_29118
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 20056, 41, 96, 10628, 651, 121, 1499, 6, 96, 134, 2168, 102, 121, 1499, 6, 96, 518, 121, 490, 6, 96, 434, 121, 490, 6, 96, 12017, 121, 490, 6, 96, 3965, 121, 490,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 8532, 26, 7, 19576, 8512, 21680, 953, 834, 3166, 20056, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Find the total saving balance for each account name.
CREATE TABLE savings (balance INTEGER, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
SELECT SUM(T2.balance), T1.name FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid GROUP BY T1.name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5051, 41, 3849, 663, 3, 21342, 17966, 6, 123, 2248, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3744, 41, 4350, 584, 4280, 28027, 6, 123, 2248, 26, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 382, 4416, 3849, 663, 201, 332, 5411, 4350, 21680, 3744, 6157, 332, 536, 3, 15355, 3162, 5051, 6157, 332, 357, 9191, 332, 5411, 1071, 2248, 26, 3274, 332, 4416, 1071, 2248, 26, 350, 4630, 6880, 272, ...
What type of surface was used for the game played on September 20, 1993?
CREATE TABLE table_name_93 (surface VARCHAR, date VARCHAR)
SELECT surface FROM table_name_93 WHERE date = "september 20, 1993"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 26899, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 686, 13, 1774, 47, 261, 21, 8, 467, 1944, 30, 1600, 16047, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1774, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 833, 3274, 96, 7, 6707, 18247, 16047, 8388, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What position did the 5th place team after 1992 with over 346 laps finish in?
CREATE TABLE table_67857 ( "Year" real, "Team" text, "Co-Drivers" text, "Class" text, "Laps" real, "Pos." text, "Class Pos." text )
SELECT "Pos." FROM table_67857 WHERE "Class Pos." = '5th' AND "Year" > '1992' AND "Laps" > '346'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 927, 3436, 41, 96, 476, 2741, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 3881, 18, 20982, 52, 7, 121, 1499, 6, 96, 21486, 121, 1499, 6, 96, 3612, 102, 7, 121, 490,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 32, 7, 535, 21680, 953, 834, 3708, 927, 3436, 549, 17444, 427, 96, 21486, 13995, 535, 3274, 3, 31, 755, 189, 31, 3430, 96, 476, 2741, 121, 2490, 3, 31, 19479, 357, 31, 3430, 96, 3612, 102, 7, 121, 2490,...
What is the Theme of Christie Paquet after 2004 with an Issue Price of $34.95?
CREATE TABLE table_51668 ( "Year" real, "Theme" text, "Artist" text, "Finish" text, "Issue Price" text, "Total Mintage" real )
SELECT "Theme" FROM table_51668 WHERE "Artist" = 'christie paquet' AND "Issue Price" = '$34.95' AND "Year" > '2004'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2938, 3651, 41, 96, 476, 2741, 121, 490, 6, 96, 634, 526, 121, 1499, 6, 96, 7754, 343, 121, 1499, 6, 96, 371, 77, 1273, 121, 1499, 6, 96, 196, 7, 7, 76, 15, 5312...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 634, 526, 121, 21680, 953, 834, 755, 2938, 3651, 549, 17444, 427, 96, 7754, 343, 121, 3274, 3, 31, 15294, 23, 15, 2576, 835, 17, 31, 3430, 96, 196, 7, 7, 76, 15, 5312, 121, 3274, 3, 31, 3229, 3710, 5, 3301...
Return a scatter chart about the correlation between ACC_Percent and All_Games_Percent , and group by attribute All_Road.
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 university ( Scho...
SELECT ACC_Percent, All_Games_Percent FROM basketball_match GROUP BY All_Road
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 14775, 834, 12988, 3728, 6, 432, 834, 23055, 7, 834, 12988, 3728, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 432, 834, 448, 32, 9, 26, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
WHAT GOAL HAS A TIME OF 39:37?
CREATE TABLE table_name_45 (goal VARCHAR, time VARCHAR)
SELECT goal FROM table_name_45 WHERE time = "39:37"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 839, 138, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 21665, 3, 5577, 4090, 454, 3291, 71, 332, 15382, 3347, 6352, 10, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1288, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 97, 3274, 96, 3288, 10, 4118, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which of the chassis had a total of 7 points?
CREATE TABLE table_name_60 (chassis VARCHAR, points VARCHAR)
SELECT chassis FROM table_name_60 WHERE points = 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 524, 6500, 7, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 13, 8, 22836, 141, 3, 9, 792, 13, 489, 979, 58, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 22836, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 979, 3274, 489, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is Set 3, when Set 4 is 25-21, and when Date is Jun 14?
CREATE TABLE table_6884 ( "Date" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Set 4" text, "Set 5" text, "Total" text )
SELECT "Set 3" FROM table_6884 WHERE "Set 4" = '25-21' AND "Date" = 'jun 14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 4608, 41, 96, 308, 342, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 17175, 209, 121, 1499, 6, 96, 17175, 204, 121, 1499, 6, 96, 17175, 220, 121, 1499, 6, 96, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 17175, 220, 121, 21680, 953, 834, 3651, 4608, 549, 17444, 427, 96, 17175, 3, 20364, 3274, 3, 31, 1828, 16539, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 6959, 968, 31, 1, -100, -100, -100, -100, -100, -100, -10...
Which Venue has Footscray as it's Home team?
CREATE TABLE table_33023 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Venue" FROM table_33023 WHERE "Home team" = 'footscray'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17225, 2773, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 553, 35, 76, 15, 121, 21680, 953, 834, 17225, 2773, 549, 17444, 427, 96, 19040, 372, 121, 3274, 3, 31, 6259, 7, 2935, 63, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many patients are diagnosed with single lb in-hosp w/o cs and drug route = sl?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Single lb in-hosp w/o cs" AND prescriptions.route = "SL"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
what is the total number of 2nd leg where aggregate is 7-2
CREATE TABLE table_1061075_1 ( aggregate VARCHAR )
SELECT COUNT(2 AS nd_leg) FROM table_1061075_1 WHERE aggregate = "7-2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 16431, 1714, 3072, 834, 536, 41, 12955, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 792, 381, 13, 204, 727, 4553, 213, 12955, 19, 489, 4949, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 357, 6157, 3, 727, 834, 5772, 61, 21680, 953, 834, 16431, 1714, 3072, 834, 536, 549, 17444, 427, 12955, 3274, 96, 940, 4949, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which English has Dutch of tong?
CREATE TABLE table_name_26 ( english VARCHAR, dutch VARCHAR )
SELECT english FROM table_name_26 WHERE dutch = "tong"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 22269, 584, 4280, 28027, 6, 146, 17, 524, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1566, 65, 10098, 13, 12, 1725, 58, 1, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 22269, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 146, 17, 524, 3274, 96, 17, 2444, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the date of birth for the patient name tina henderson?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, ...
SELECT demographic.dob FROM demographic WHERE demographic.name = "Tina Henderson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 26, 32, 115, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 382, 77, 9, 25253, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the crowd number when Hawthorn was the away team?
CREATE TABLE table_55355 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT MAX("Crowd") FROM table_55355 WHERE "Away team" = 'hawthorn'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 2469, 755, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 254, 3623, 26, 8512, 21680, 953, 834, 3769, 2469, 755, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 1024, 210, 17, 6293, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the stadium for alloa athletic?
CREATE TABLE table_11206787_5 (stadium VARCHAR, team VARCHAR)
SELECT stadium FROM table_11206787_5 WHERE team = "Alloa Athletic"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 1755, 3708, 4225, 834, 755, 41, 2427, 12925, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 14939, 21, 66, 32, 9, 12217, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 14939, 21680, 953, 834, 2596, 1755, 3708, 4225, 834, 755, 549, 17444, 427, 372, 3274, 96, 6838, 32, 9, 18373, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the total number of wins that had an against greater than 1136 but losses less than 15 with Ultima with less than 2 byes?
CREATE TABLE table_name_62 ( wins INTEGER, byes VARCHAR, golden_rivers VARCHAR, against VARCHAR, losses VARCHAR )
SELECT SUM(wins) FROM table_name_62 WHERE against > 1136 AND losses < 15 AND golden_rivers = "ultima" AND byes < 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 9204, 3, 21342, 17966, 6, 57, 15, 7, 584, 4280, 28027, 6, 7069, 834, 5927, 277, 584, 4280, 28027, 6, 581, 584, 4280, 28027, 6, 8467, 584, 4280, 28027, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 3757, 7, 61, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 581, 2490, 850, 3420, 3430, 8467, 3, 2, 627, 3430, 7069, 834, 5927, 277, 3274, 96, 83, 2998, 9, 121, 3430, 57, 15, 7, 3, 2, 204, ...
Show the number of locations.
CREATE TABLE ref_document_types ( document_type_code text, document_type_name text, document_type_description text ) CREATE TABLE ref_locations ( location_code text, location_name text, location_description text ) CREATE TABLE all_documents ( document_id number, date_stored time, d...
SELECT COUNT(*) FROM ref_locations
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6273, 834, 28244, 834, 6137, 7, 41, 1708, 834, 6137, 834, 4978, 1499, 6, 1708, 834, 6137, 834, 4350, 1499, 6, 1708, 834, 6137, 834, 221, 11830, 1499, 3, 61, 3, 32102, 32103, 32102, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 6273, 834, 14836, 7, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the area of the province with a density of 533.59?
CREATE TABLE table_27665 ( "GB" text, "ISO \u2116" text, "Province" text, "Chinese Name" text, "Capital" text, "Population\u00b9" real, "Density\u00b2" text, "Area\u00b3" real, "Abbreviation/Symbol" text )
SELECT MAX("Area\u00b3") FROM table_27665 WHERE "Density\u00b2" = '533.59'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3959, 4122, 41, 96, 3443, 121, 1499, 6, 96, 196, 6582, 3, 2, 76, 2658, 2938, 121, 1499, 6, 96, 3174, 2494, 565, 121, 1499, 6, 96, 3541, 4477, 15, 5570, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 188, 864, 2, 76, 1206, 115, 519, 8512, 21680, 953, 834, 357, 3959, 4122, 549, 17444, 427, 96, 308, 35, 7, 485, 2, 76, 1206, 115, 357, 121, 3274, 3, 31, 4867, 9285, 1298, 31, 1, -100, -100, -...
Who were the semi finalists when Alexia Dechaume-Balleret Sandrine testud was the runner-up?
CREATE TABLE table_name_81 (semi_finalists VARCHAR, runner_up VARCHAR)
SELECT semi_finalists FROM table_name_81 WHERE runner_up = "alexia dechaume-balleret sandrine testud"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 7, 15, 51, 23, 834, 28077, 584, 4280, 28027, 6, 3, 10806, 834, 413, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 130, 8, 4772, 3, 28077, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4772, 834, 28077, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 3, 10806, 834, 413, 3274, 96, 9, 109, 19838, 20, 3441, 440, 15, 18, 3184, 49, 15, 17, 3, 7, 232, 9249, 794, 76, 26, 121, 1, -100, -100, -100, ...
how much does patient 011-31236 pay for his hospitalization until 3 years ago?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE microlab ( microlabid number, ...
SELECT SUM(cost.cost) FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '011-31236') AND DATETIME(cost.chargetime) <= DATETIME(CURRENT_TIME(), '-3 year')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 23886, 41, 23886, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 23886, 4350, 1499, 6, 23886, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 11290, 5, 11290, 61, 21680, 583, 549, 17444, 427, 583, 5, 10061, 15878, 3734, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15878, 3734, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, ...
For a total of 1 and the sport of softball what were the years?
CREATE TABLE table_60110 ( "School" text, "Sport" text, "Titles" text, "Years" text, "Total" text )
SELECT "Years" FROM table_60110 WHERE "Total" = '1' AND "Sport" = 'softball'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 19277, 41, 96, 29364, 121, 1499, 6, 96, 17682, 121, 1499, 6, 96, 382, 155, 965, 121, 1499, 6, 96, 476, 2741, 7, 121, 1499, 6, 96, 3696, 1947, 121, 1499, 3, 61, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 476, 2741, 7, 121, 21680, 953, 834, 3328, 19277, 549, 17444, 427, 96, 3696, 1947, 121, 3274, 3, 31, 536, 31, 3430, 96, 17682, 121, 3274, 3, 31, 12369, 3184, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
What is the surface for the riverhead raceway?
CREATE TABLE table_name_84 ( surface VARCHAR, track VARCHAR )
SELECT surface FROM table_name_84 WHERE track = "riverhead raceway"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 1774, 584, 4280, 28027, 6, 1463, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1774, 21, 8, 4033, 3313, 1964, 1343, 58, 1, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1774, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 1463, 3274, 96, 5927, 49, 3313, 1964, 1343, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is admission type and discharge time of subject id 42820?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ...
SELECT demographic.admission_type, demographic.dischtime FROM demographic WHERE demographic.subject_id = "42820"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 9, 26, 5451, 834, 6137, 6, 14798, 5, 26, 2499, 715, 21680, 14798, 549, 17444, 427, 14798, 5, 7304, 11827, 834, 23, 26, 3274, 96, 591, 2577, 1755, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who had the highest rebounds of the game with a game number higher than 65 on March 28?
CREATE TABLE table_51164 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "High rebounds" FROM table_51164 WHERE "Game" > '65' AND "Date" = 'march 28'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5553, 26987, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 3, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21417, 3, 23768, 121, 21680, 953, 834, 5553, 26987, 549, 17444, 427, 96, 23055, 121, 2490, 3, 31, 4122, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 51, 7064, 2059, 31, 1, -100, -100, -100, -100, -100, -100, -100...
Who was the opponent when they played at Delta Center with a record of 27-13?
CREATE TABLE table_46154 ( "Game" text, "Date" text, "Opponent" text, "Score" text, "Location/Attendance" text, "Record" text )
SELECT "Opponent" FROM table_46154 WHERE "Location/Attendance" = 'delta center' AND "Record" = '27-13'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 27308, 41, 96, 23055, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 75, 257, 87, 188, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 4448, 27308, 549, 17444, 427, 96, 434, 32, 75, 257, 87, 188, 17, 324, 26, 663, 121, 3274, 3, 31, 24876, 9, 1530, 31, 3430, 96, 1649, 7621, 121, 3274, 3, 31, 2555, 13056,...
Bar graph to show the total number from different formats, and I want to rank by the x axis in desc.
CREATE TABLE genre ( g_name varchar2(20), rating varchar2(10), most_popular_in varchar2(50) ) CREATE TABLE artist ( artist_name varchar2(50), country varchar2(20), gender varchar2(20), preferred_genre varchar2(50) ) CREATE TABLE song ( song_name varchar2(50), artist_name varchar2(5...
SELECT formats, COUNT(*) FROM files GROUP BY formats ORDER BY formats DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5349, 41, 3, 122, 834, 4350, 3, 4331, 4059, 357, 599, 1755, 201, 5773, 3, 4331, 4059, 357, 599, 16968, 6, 167, 834, 27302, 834, 77, 3, 4331, 4059, 357, 599, 1752, 61, 3, 61, 3, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 10874, 6, 2847, 17161, 599, 1935, 61, 21680, 2073, 350, 4630, 6880, 272, 476, 10874, 4674, 11300, 272, 476, 10874, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many export volume of goods and services values are associated with GDP at current prices of 161.340?
CREATE TABLE table_30133_1 (export_volume_of_goods_and_services__percent_change_ VARCHAR, gdp_at_current_prices__usd_billions_ VARCHAR)
SELECT COUNT(export_volume_of_goods_and_services__percent_change_) FROM table_30133_1 WHERE gdp_at_current_prices__usd_billions_ = "161.340"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1458, 22974, 834, 536, 41, 994, 1493, 834, 23439, 834, 858, 834, 10452, 7, 834, 232, 834, 5114, 7, 834, 834, 883, 3728, 834, 13073, 834, 584, 4280, 28027, 6, 3, 122, 26, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 994, 1493, 834, 23439, 834, 858, 834, 10452, 7, 834, 232, 834, 5114, 7, 834, 834, 883, 3728, 834, 13073, 834, 61, 21680, 953, 834, 1458, 22974, 834, 536, 549, 17444, 427, 3, 122, 26, 102, 834, 14...
what is the date that the away team is aldershot?
CREATE TABLE table_name_16 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_16 WHERE away_team = "aldershot"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 5522, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 833, 24, 8, 550, 372, 19, 491, 588, 11159,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 550, 834, 11650, 3274, 96, 138, 588, 11159, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of headquarter and the sum of manufacturer , and group by attribute headquarter, and display Headquarter from high to low order please.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT Headquarter, SUM(Manufacturer) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY Headquarter DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15248, 7, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 3642, 19973, 584, 4280, 28027, 599, 25502, 201, 3, 19145, 584, 4280, 28027, 599, 25502, 201, 19764, 17833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3642, 19973, 6, 180, 6122, 599, 7296, 76, 8717, 450, 49, 61, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, ...
When 'the 37-year itch' is the title what is the lowest series number?
CREATE TABLE table_27967 ( "Series #" real, "Season #" real, "Title" text, "Director" text, "Writer(s)" text, "Original air date" text )
SELECT MIN("Series #") FROM table_27967 WHERE "Title" = 'The 37-Year Itch'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4440, 3708, 41, 96, 12106, 7, 1713, 121, 490, 6, 96, 134, 15, 9, 739, 1713, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 127, 121, 1499, 6, 96, 24965, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 12106, 7, 1713, 8512, 21680, 953, 834, 357, 4440, 3708, 549, 17444, 427, 96, 382, 155, 109, 121, 3274, 3, 31, 634, 6862, 18, 476, 2741, 94, 524, 31, 1, -100, -100, -100, -100, -100, -100, -100,...
When 14.85 kilometers squared is the land area what is the name?
CREATE TABLE table_189598_7 (name VARCHAR, land_area__km²_ VARCHAR)
SELECT name FROM table_189598_7 WHERE land_area__km²_ = "14.85"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 3301, 3916, 834, 940, 41, 4350, 584, 4280, 28027, 6, 1322, 834, 498, 834, 834, 5848, 357, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 9264, 4433, 203...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 2606, 3301, 3916, 834, 940, 549, 17444, 427, 1322, 834, 498, 834, 834, 5848, 357, 834, 3274, 96, 2534, 5, 4433, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Musical Guest/Song with a pilot of 3?
CREATE TABLE table_40936 ( "Pilot" text, "Original Airdate" text, "Musical Guest/Song performed" text, "YouTube Hero" text, "MySpace Band" text )
SELECT "Musical Guest/Song performed" FROM table_40936 WHERE "Pilot" = '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4198, 3420, 41, 96, 345, 23, 3171, 121, 1499, 6, 96, 667, 3380, 10270, 1761, 5522, 121, 1499, 6, 96, 29035, 138, 14252, 87, 134, 2444, 3032, 121, 1499, 6, 96, 3774, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 29035, 138, 14252, 87, 134, 2444, 3032, 121, 21680, 953, 834, 591, 4198, 3420, 549, 17444, 427, 96, 345, 23, 3171, 121, 3274, 3, 31, 519, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
List the name and count of each product in all orders.
CREATE TABLE Shipment_Items ( shipment_id INTEGER, order_item_id INTEGER ) CREATE TABLE Shipments ( shipment_id INTEGER, order_id INTEGER, invoice_number INTEGER, shipment_tracking_number VARCHAR(80), shipment_date DATETIME, other_shipment_details VARCHAR(255) ) CREATE TABLE Invoices (...
SELECT T3.product_name, SUM(COUNT(*)) FROM Orders AS T1 JOIN Order_Items AS T2 JOIN Products AS T3 ON T1.order_id = T2.order_id AND T2.product_id = T3.product_id GROUP BY T3.product_name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15508, 297, 834, 196, 3524, 7, 41, 19843, 834, 23, 26, 3, 21342, 17966, 6, 455, 834, 23, 3524, 834, 23, 26, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5787, 15892, 834, 4350, 6, 180, 6122, 599, 5911, 17161, 599, 1935, 61, 61, 21680, 5197, 7, 6157, 332, 536, 3, 15355, 3162, 5197, 834, 196, 3524, 7, 6157, 332, 357, 3, 15355, 3162, 7554, 6157, 332, 519, 9191, ...
What date had a result of W 41-0?
CREATE TABLE table_name_29 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_29 WHERE result = "w 41-0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 5522, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 141, 3, 9, 741, 13, 549, 314, 18930, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 741, 3274, 96, 210, 314, 18930, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who was the finalist when the winner was First Vienna FC?
CREATE TABLE table_name_83 ( finalist VARCHAR, winner VARCHAR )
SELECT finalist FROM table_name_83 WHERE winner = "first vienna fc"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 804, 343, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 804, 343, 116, 8, 4668, 47, 1485, 19500, 7914...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 804, 343, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 4668, 3274, 96, 14672, 2240, 29, 29, 9, 3, 89, 75, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
which is the number of the season episode whose premiere was in january 3, 1997?
CREATE TABLE table_25522 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text )
SELECT COUNT("No. in season") FROM table_25522 WHERE "Original air date" = 'January 3, 1997'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25502, 2884, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 4168, 5, 16, 774, 8512, 21680, 953, 834, 25502, 2884, 549, 17444, 427, 96, 667, 3380, 10270, 799, 833, 121, 3274, 3, 31, 30404, 6180, 6622, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
Name the fourth district for beverly bodem
CREATE TABLE table_15442974_1 (fourth_district VARCHAR, first_district VARCHAR)
SELECT fourth_district FROM table_15442974_1 WHERE first_district = "Beverly Bodem"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 3628, 3166, 4581, 834, 536, 41, 12521, 189, 834, 26, 23, 20066, 584, 4280, 28027, 6, 166, 834, 26, 23, 20066, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4509, 834, 26, 23, 20066, 21680, 953, 834, 1808, 3628, 3166, 4581, 834, 536, 549, 17444, 427, 166, 834, 26, 23, 20066, 3274, 96, 279, 3258, 120, 1491, 1778, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what year was the first competition ?
CREATE TABLE table_204_813 ( id number, "year" number, "competition" text, "venue" text, "position" text, "event" text, "notes" text )
SELECT MIN("year") FROM table_204_813
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 927, 2368, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 287, 4995, 4749, 121, 1499, 6, 96, 15098, 121, 1499, 6, 96, 4718, 121, 1499, 6, 96, 15, 2169, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 1201, 8512, 21680, 953, 834, 26363, 834, 927, 2368, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
During what conference is North Carolina listed as the tournament winner?
CREATE TABLE table_28365816_2 (conference VARCHAR, tournament_winner VARCHAR)
SELECT conference FROM table_28365816_2 WHERE tournament_winner = "North Carolina"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 10402, 927, 2938, 834, 357, 41, 28496, 584, 4280, 28027, 6, 5892, 834, 3757, 687, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3, 2092, 125, 2542, 19, 1117, 508...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2542, 21680, 953, 834, 2577, 10402, 927, 2938, 834, 357, 549, 17444, 427, 5892, 834, 3757, 687, 3274, 96, 22969, 5089, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the author of Episode 38 (16)?
CREATE TABLE table_56428 ( "Episode #" text, "Title" text, "Directed by" text, "Written by" text, "Original airdate" text )
SELECT "Written by" FROM table_56428 WHERE "Episode #" = '38 (16)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4834, 591, 2577, 41, 96, 427, 102, 159, 32, 221, 1713, 121, 1499, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965, 324, 57, 121, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 24965, 324, 57, 121, 21680, 953, 834, 4834, 591, 2577, 549, 17444, 427, 96, 427, 102, 159, 32, 221, 1713, 121, 3274, 3, 31, 3747, 19198, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the name of the player from purcell, ok?
CREATE TABLE table_26916717_1 (name VARCHAR, home_town VARCHAR)
SELECT name FROM table_26916717_1 WHERE home_town = "Purcell, OK"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 4729, 3708, 2517, 834, 536, 41, 4350, 584, 4280, 28027, 6, 234, 834, 3540, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 8, 1959, 45, 3990...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 2688, 4729, 3708, 2517, 834, 536, 549, 17444, 427, 234, 834, 3540, 3274, 96, 345, 450, 8725, 6, 6902, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the mountains classification for bradley white
CREATE TABLE table_26426 ( "Stage (Winner)" text, "General classification" text, "Sprint Classification" text, "Mountains Classification" text, "Youth Classification" text, "Aggressive Rider" text, "Team Classification" text )
SELECT "Mountains Classification" FROM table_26426 WHERE "Aggressive Rider" = 'Bradley White'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26755, 2688, 41, 96, 134, 6505, 41, 18455, 687, 61, 121, 1499, 6, 96, 20857, 13774, 121, 1499, 6, 96, 134, 7260, 4501, 2420, 121, 1499, 6, 96, 329, 32, 14016, 77, 7, 4501...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 329, 32, 14016, 77, 7, 4501, 2420, 121, 21680, 953, 834, 26755, 2688, 549, 17444, 427, 96, 188, 122, 10292, 757, 25218, 121, 3274, 3, 31, 18304, 26, 1306, 1945, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
What is the UNGEGN, when the Value is 10 000?
CREATE TABLE table_name_34 (ungegn VARCHAR, value VARCHAR)
SELECT ungegn FROM table_name_34 WHERE value = "10 000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 425, 15, 122, 29, 584, 4280, 28027, 6, 701, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4417, 5042, 13738, 6, 116, 8, 12419, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 425, 15, 122, 29, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 701, 3274, 96, 1714, 6078, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What percentage of voters choise McCain in Burlington?
CREATE TABLE table_23638 ( "County" text, "Obama %" text, "Obama #" real, "McCain %" text, "McCain #" real, "Others %" text, "Others #" real )
SELECT "McCain %" FROM table_23638 WHERE "County" = 'Burlington'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3420, 3747, 41, 96, 10628, 63, 121, 1499, 6, 96, 667, 115, 265, 9, 3, 1454, 121, 1499, 6, 96, 667, 115, 265, 9, 1713, 121, 490, 6, 96, 329, 75, 254, 9, 77, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 329, 75, 254, 9, 77, 3, 1454, 121, 21680, 953, 834, 357, 3420, 3747, 549, 17444, 427, 96, 10628, 63, 121, 3274, 3, 31, 279, 16137, 6029, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what was the total amount of wins that the bridgeport barrage had in 2002 ?
CREATE TABLE table_203_853 ( id number, "date" text, "opponent" text, "home/away" text, "field" text, "result" text )
SELECT COUNT(*) FROM table_203_853 WHERE "result" = 'w'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 4433, 519, 41, 3, 23, 26, 381, 6, 96, 5522, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 5515, 87, 8006, 121, 1499, 6, 96, 1846, 121, 1499, 6, 96, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 23330, 834, 4433, 519, 549, 17444, 427, 96, 60, 7, 83, 17, 121, 3274, 3, 31, 210, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What 2006 has q2 as the 2007?
CREATE TABLE table_name_34 (Id VARCHAR)
SELECT 2006 FROM table_name_34 WHERE 2007 = "q2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 3581, 65, 3, 1824, 357, 38, 8, 4101, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3581, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 4101, 3274, 96, 1824, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Please show the names and the players of clubs.
CREATE TABLE competition_result ( competition_id number, club_id_1 number, club_id_2 number, score text ) CREATE TABLE competition ( competition_id number, year number, competition_type text, country text ) CREATE TABLE club ( club_id number, name text, region text, sta...
SELECT T1.name, T2.player_id FROM club AS T1 JOIN player AS T2 ON T1.club_id = T2.club_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2259, 834, 60, 7, 83, 17, 41, 2259, 834, 23, 26, 381, 6, 1886, 834, 23, 26, 834, 536, 381, 6, 1886, 834, 23, 26, 834, 357, 381, 6, 2604, 1499, 3, 61, 3, 32102, 32103, 32102, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 4350, 6, 332, 4416, 20846, 834, 23, 26, 21680, 1886, 6157, 332, 536, 3, 15355, 3162, 1959, 6157, 332, 357, 9191, 332, 5411, 13442, 834, 23, 26, 3274, 332, 4416, 13442, 834, 23, 26, 1, -100, -100, -100, ...
What was the result of the event on 20 September 2008, held at the Firhill venue, at which more than 3,303 were in attendance?
CREATE TABLE table_45889 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real )
SELECT "Result" FROM table_45889 WHERE "Attendance" > '3,303' AND "Venue" = 'firhill' AND "Date" = '20 september 2008'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 927, 3914, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 2128, 927, 3914, 549, 17444, 427, 96, 188, 17, 324, 26, 663, 121, 2490, 3, 31, 6355, 23335, 31, 3430, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 14581, 6321, 31, 3430, 96, 308, 342, ...
Who scored 69-71=140?
CREATE TABLE table_name_75 ( player VARCHAR, score VARCHAR )
SELECT player FROM table_name_75 WHERE score = 69 - 71 = 140
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 1959, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 5799, 3, 3951, 18, 4450, 2423, 22012, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 2604, 3274, 3, 3951, 3, 18, 3, 4450, 3274, 11397, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the to par of player vijay singh?
CREATE TABLE table_name_31 ( to_par VARCHAR, player VARCHAR )
SELECT to_par FROM table_name_31 WHERE player = "vijay singh"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 12, 834, 1893, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 12, 260, 13, 1959, 5931, 1191, 63, 10159,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 12, 834, 1893, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 1959, 3274, 96, 2099, 1191, 63, 10159, 107, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who is the chairman when teh captain is fawzi bashir?
CREATE TABLE table_29697 ( "Team" text, "Chairman" text, "Head Coach" text, "Captain" text, "Kitmaker" text, "Shirt sponsor" text )
SELECT "Chairman" FROM table_29697 WHERE "Captain" = 'Fawzi Bashir'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4314, 4327, 41, 96, 18699, 121, 1499, 6, 96, 254, 19176, 348, 121, 1499, 6, 96, 3845, 9, 26, 9493, 121, 1499, 6, 96, 19566, 17, 9, 77, 121, 1499, 6, 96, 439, 155, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 19176, 348, 121, 21680, 953, 834, 357, 4314, 4327, 549, 17444, 427, 96, 19566, 17, 9, 77, 121, 3274, 3, 31, 371, 9, 210, 702, 6653, 9288, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many different kinds of reports are there for races that Juan Manuel Fangio won?
CREATE TABLE table_1140111_5 ( report VARCHAR, winning_driver VARCHAR )
SELECT COUNT(report) FROM table_1140111_5 WHERE winning_driver = "Juan Manuel Fangio"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 2445, 15866, 834, 755, 41, 934, 584, 4280, 28027, 6, 3447, 834, 13739, 52, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 315, 4217, 13, 2279, 33, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 60, 1493, 61, 21680, 953, 834, 2596, 2445, 15866, 834, 755, 549, 17444, 427, 3447, 834, 13739, 52, 3274, 96, 683, 76, 152, 21630, 8362, 10253, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Birth has a Became Duchess of 17 april 1711 husband's ascension?
CREATE TABLE table_name_65 (birth VARCHAR, became_duchess VARCHAR)
SELECT birth FROM table_name_65 WHERE became_duchess = "17 april 1711 husband's ascension"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 20663, 584, 4280, 28027, 6, 1632, 834, 1259, 2951, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 26337, 65, 3, 9, 493, 6527, 15, 970, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 3879, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 1632, 834, 1259, 2951, 7, 3274, 96, 2517, 3, 9, 2246, 40, 1003, 2596, 2553, 31, 7, 38, 75, 35, 1938, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the average number of losses when there are more than 0 ties?
CREATE TABLE table_name_49 (lost INTEGER, tied INTEGER)
SELECT AVG(lost) FROM table_name_49 WHERE tied > 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 2298, 17, 3, 21342, 17966, 6, 10422, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 381, 13, 8467, 116, 132, 33, 72, 145, 3, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 2298, 17, 61, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 10422, 2490, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the crownded for 17 september 1025
CREATE TABLE table_26516 ( "Co-king" text, "Relationship to Monarch" text, "Crowned" text, "Co-kingship ceased" text, "Reason" text, "Monarch" text )
SELECT "Crowned" FROM table_26516 WHERE "Co-kingship ceased" = '17 September 1025'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4122, 2938, 41, 96, 3881, 18, 1765, 121, 1499, 6, 96, 1649, 6105, 2009, 12, 2963, 7064, 121, 1499, 6, 96, 254, 52, 9160, 121, 1499, 6, 96, 3881, 18, 1765, 2009, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 52, 9160, 121, 21680, 953, 834, 357, 4122, 2938, 549, 17444, 427, 96, 3881, 18, 1765, 2009, 3, 29220, 121, 3274, 3, 31, 2517, 1600, 335, 1828, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many first elections have Claude Fuller as incumbent?
CREATE TABLE table_1342315_4 ( first_elected VARCHAR, incumbent VARCHAR )
SELECT COUNT(first_elected) FROM table_1342315_4 WHERE incumbent = "Claude Fuller"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2773, 1808, 834, 591, 41, 166, 834, 19971, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 166, 9768, 43, 3, 19298, 4043,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 14672, 834, 19971, 61, 21680, 953, 834, 23747, 2773, 1808, 834, 591, 549, 17444, 427, 28406, 3274, 96, 19298, 4043, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the points classification for stage of 18b
CREATE TABLE table_75568 ( "Stage" text, "Winner" text, "General classification" text, "Points classification" text, "Mountains classification" text, "Team classification" text )
SELECT "Points classification" FROM table_75568 WHERE "Stage" = '18b'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 755, 3651, 41, 96, 134, 6505, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 20857, 13774, 121, 1499, 6, 96, 22512, 7, 13774, 121, 1499, 6, 96, 329, 32, 14016, 77,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 22512, 7, 13774, 121, 21680, 953, 834, 3072, 755, 3651, 549, 17444, 427, 96, 134, 6505, 121, 3274, 3, 31, 2606, 115, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
For those employees who do not work in departments with managers that have ids between 100 and 200, return a bar chart about the distribution of hire_date and the sum of manager_id bin hire_date by weekday.
CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0...
SELECT HIRE_DATE, SUM(MANAGER_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 613, 834, 10193, 10972, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 5097, 8241, 834, 308, 6048, 833, 6, 3, 14920, 834, 308, 6048, 833, 6, 446, 10539, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 180, 6122, 599, 9312, 188, 17966, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549...
what are the hospitals admission times of patient 016-8658?
CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREAT...
SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '016-8658'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 50, 9824, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7690, 4350, 1499, 6, 50, 1999, 7, 83, 17, 381, 6, 50, 1999, 7, 83, 17, 715, 97, 3, 61, 3, 32102, 32103, 32102, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1868, 5, 31386, 20466, 17, 715, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 632, 2938, 18, 3840, 3449, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the lowest against when the draw was at least 0?
CREATE TABLE table_name_16 (against INTEGER, draws INTEGER)
SELECT MIN(against) FROM table_name_16 WHERE draws > 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 9, 16720, 7, 17, 3, 21342, 17966, 6, 14924, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 7402, 581, 116, 8, 3314, 47, 44, 709, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 9, 16720, 7, 17, 61, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 14924, 2490, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
count the number of patients whose marital status is divorced and procedure icd9 code is 5771?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.marital_status = "DIVORCED" AND procedures.icd9_code = "5771"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the sum of households that makes a median household income of $44,718?
CREATE TABLE table_name_43 (number_of_households INTEGER, median_household_income VARCHAR)
SELECT SUM(number_of_households) FROM table_name_43 WHERE median_household_income = "$44,718"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 5525, 1152, 834, 858, 834, 1840, 6134, 7, 3, 21342, 17966, 6, 15572, 834, 1840, 6134, 834, 15759, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 5525, 1152, 834, 858, 834, 1840, 6134, 7, 61, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 15572, 834, 1840, 6134, 834, 15759, 3274, 96, 3229, 3628, 6, 940, 2606, 121, 1, -100, -100, -100, -100...
What year had a total of 2 and LA matches of 0?
CREATE TABLE table_name_35 ( year VARCHAR, total VARCHAR, la_matches VARCHAR )
SELECT year FROM table_name_35 WHERE total = "2" AND la_matches = "0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 215, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 6, 50, 834, 19515, 15, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 141, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 215, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 792, 3274, 96, 357, 121, 3430, 50, 834, 19515, 15, 7, 3274, 96, 632, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Count the number of captains younger than 50 of each rank, list by the y-axis in asc.
CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text ) CREATE TABLE Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text )
SELECT Rank, COUNT(*) FROM captain WHERE age < 50 GROUP BY Rank ORDER BY COUNT(*)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14268, 41, 12202, 834, 4309, 16, 17, 6, 5570, 1499, 6, 15508, 834, 4309, 16, 17, 6, 1246, 1499, 6, 4501, 1499, 6, 3, 22557, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 22557, 6, 2847, 17161, 599, 1935, 61, 21680, 14268, 549, 17444, 427, 1246, 3, 2, 943, 350, 4630, 6880, 272, 476, 3, 22557, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 1, -100, -100, -100, -100, -100, -100,...
Who was the opposing team when the status is second test?
CREATE TABLE table_name_76 (opposing_teams VARCHAR, status VARCHAR)
SELECT opposing_teams FROM table_name_76 WHERE status = "second test"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 28236, 7, 53, 834, 11650, 7, 584, 4280, 28027, 6, 2637, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 10720, 53, 372, 116, 8, 2637,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 10720, 53, 834, 11650, 7, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 2637, 3274, 96, 12091, 794, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Date of the Competition with Man of the Match Ollie Bronnimann?
CREATE TABLE table_name_41 (date VARCHAR, man_of_the_match VARCHAR)
SELECT date FROM table_name_41 WHERE man_of_the_match = "ollie bronnimann"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 5522, 584, 4280, 28027, 6, 388, 834, 858, 834, 532, 834, 19515, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7678, 13, 8, 15571, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 388, 834, 858, 834, 532, 834, 19515, 3274, 96, 20953, 15, 3, 13711, 29, 23, 2434, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
On what date were the 1997 Bridgetown games in which a Martinique girl competed?
CREATE TABLE table_13471 ( "Event" text, "Record" text, "Nationality" text, "Date" text, "Games" text )
SELECT "Date" FROM table_13471 WHERE "Nationality" = 'martinique' AND "Games" = '1997 bridgetown'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 4450, 41, 96, 427, 2169, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 23055, 7, 121, 1499, 3, 61, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 23747, 4450, 549, 17444, 427, 96, 24732, 485, 121, 3274, 3, 31, 1635, 17, 77, 1495, 31, 3430, 96, 23055, 7, 121, 3274, 3, 31, 2294, 4327, 4716, 3540, 31, 1, -100, -100, -100, ...
provide the number of patients whose diagnoses long title is unspecified protein-calorie malnutrition and drug type is base?
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, value_unit text,...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Unspecified protein-calorie malnutrition" AND prescriptions.drug_type = "BASE"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Who was the winner in the game that had Teikyo as the runner-up?
CREATE TABLE table_name_94 (winner VARCHAR, runner_up VARCHAR)
SELECT winner FROM table_name_94 WHERE runner_up = "teikyo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 3757, 687, 584, 4280, 28027, 6, 3, 10806, 834, 413, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 4668, 16, 8, 467, 24, 141, 2255, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4668, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 3, 10806, 834, 413, 3274, 96, 17, 15, 23, 3781, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was eliminated on the air date of November 3, 2005?
CREATE TABLE table_1893276_2 ( eliminated VARCHAR, air_date VARCHAR )
SELECT eliminated FROM table_1893276_2 WHERE air_date = "November 3, 2005"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25312, 2668, 3959, 834, 357, 41, 17809, 584, 4280, 28027, 6, 799, 834, 5522, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 17809, 30, 8, 799, 833, 13, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 17809, 21680, 953, 834, 25312, 2668, 3959, 834, 357, 549, 17444, 427, 799, 834, 5522, 3274, 96, 28635, 6180, 3105, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest number of wins where the byes are less than 0?
CREATE TABLE table_name_15 (wins INTEGER, byes INTEGER)
SELECT MIN(wins) FROM table_name_15 WHERE byes < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 3757, 7, 3, 21342, 17966, 6, 57, 15, 7, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 381, 13, 9204, 213, 8, 57, 15, 7, 33,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 3757, 7, 61, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 57, 15, 7, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how many of the patients on urgent admission had hemochromatos-rbc trans?
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 ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "URGENT" AND diagnoses.short_title = "Hemochromatos-rbc trans"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
What is the eccentricity when the semimajor axis is 20 au?
CREATE TABLE table_name_75 (eccentricity VARCHAR, semimajor_axis___au__ VARCHAR)
SELECT eccentricity FROM table_name_75 WHERE semimajor_axis___au__ = "20 au"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 15, 75, 17456, 485, 584, 4280, 28027, 6, 4772, 16547, 127, 834, 8606, 7, 834, 834, 834, 402, 834, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 30409, 485, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 4772, 16547, 127, 834, 8606, 7, 834, 834, 834, 402, 834, 834, 3274, 96, 1755, 185, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What's the Hangul/Japanese that happened before 2014 having a role of Baek Seung-Jo?
CREATE TABLE table_name_55 ( hangul___japanese VARCHAR, year VARCHAR, role VARCHAR )
SELECT hangul___japanese FROM table_name_55 WHERE year < 2014 AND role = "baek seung-jo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 5168, 83, 834, 834, 834, 1191, 2837, 15, 7, 15, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 1075, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5168, 83, 834, 834, 834, 1191, 2837, 15, 7, 15, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 215, 3, 2, 1412, 3430, 1075, 3274, 96, 115, 9, 15, 157, 142, 425, 18, 1927, 121, 1, -100, -100, -100, -100, -100...
how many lifts are of the detach quad type ?
CREATE TABLE table_204_907 ( id number, "lift name" text, "type" text, "top\nelevation\n(ft)" number, "bottom\nelevation" number, "vertical\nrise" number, "length\n(ft)" number, "slope\n(%)" text, "capacity\n(rides/hr)" number, "speed\n(ft/min)" number, "lift\nmanufacturer" t...
SELECT COUNT("lift name") FROM table_204_907 WHERE "type" = 'detach quad'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 2394, 940, 41, 3, 23, 26, 381, 6, 96, 9253, 564, 121, 1499, 6, 96, 6137, 121, 1499, 6, 96, 2916, 2, 29, 15, 10912, 257, 2, 29, 599, 89, 17, 61, 121, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 9253, 564, 8512, 21680, 953, 834, 26363, 834, 2394, 940, 549, 17444, 427, 96, 6137, 121, 3274, 3, 31, 221, 17, 1836, 16429, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how old is the patient josette orr?
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, religion text, ...
SELECT demographic.age FROM demographic WHERE demographic.name = "Josette Orr"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 545, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 683, 32, 7, 1954, 955, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the nhl times for jeff jacques
CREATE TABLE table_1965650_3 (nhl_team VARCHAR, player VARCHAR)
SELECT nhl_team FROM table_1965650_3 WHERE player = "Jeff Jacques"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 4122, 15348, 834, 519, 41, 29, 107, 40, 834, 11650, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 3, 29, 107, 40, 648, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 29, 107, 40, 834, 11650, 21680, 953, 834, 2294, 4122, 15348, 834, 519, 549, 17444, 427, 1959, 3274, 96, 7851, 89, 89, 3, 17453, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many rankings (timeslot) were there for the episode that aired on May 2, 2010?
CREATE TABLE table_23397386_2 ( rank__timeslot_ VARCHAR, airdate VARCHAR )
SELECT COUNT(rank__timeslot_) FROM table_23397386_2 WHERE airdate = "May 2, 2010"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 3288, 4552, 3840, 834, 357, 41, 11003, 834, 834, 715, 7, 3171, 834, 584, 4280, 28027, 6, 799, 5522, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 6254, 834, 834, 715, 7, 3171, 834, 61, 21680, 953, 834, 2773, 3288, 4552, 3840, 834, 357, 549, 17444, 427, 799, 5522, 3274, 96, 15881, 3547, 2735, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
what year did he have the same number car as 1964 ?
CREATE TABLE table_204_609 ( id number, "year" number, "car" number, "start" number, "qual" number, "rank" number, "finish" number, "laps" number, "led" number, "retired" text )
SELECT "year" FROM table_204_609 WHERE "year" <> 1964 AND "car" = (SELECT "car" FROM table_204_609 WHERE "year" = 1964)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 948, 4198, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 1720, 121, 381, 6, 96, 10208, 121, 381, 6, 96, 11433, 121, 381, 6, 96, 6254, 121, 381, 6, 96,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1201, 121, 21680, 953, 834, 26363, 834, 948, 4198, 549, 17444, 427, 96, 1201, 121, 3, 2, 3155, 18969, 3430, 96, 1720, 121, 3274, 41, 23143, 14196, 96, 1720, 121, 21680, 953, 834, 26363, 834, 948, 4198, 549, 1744...
Name the least tied
CREATE TABLE table_15829930_5 ( tied INTEGER )
SELECT MIN(tied) FROM table_15829930_5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 4613, 3264, 1458, 834, 755, 41, 10422, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 709, 10422, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 17, 5973, 61, 21680, 953, 834, 1808, 4613, 3264, 1458, 834, 755, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many patients are admitted before the year 2158 and followed the procedure inject ca chemother nec?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2158" AND procedures.short_title = "Inject ca chemother NEC"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
List the names of products that are not in any event.
CREATE TABLE agreements ( document_id number, event_id number ) CREATE TABLE locations ( location_id number, other_details text ) CREATE TABLE parties ( party_id number, party_details text ) CREATE TABLE products_in_events ( product_in_event_id number, event_id number, product_id ...
SELECT product_name FROM products WHERE NOT product_id IN (SELECT product_id FROM products_in_events)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10663, 41, 1708, 834, 23, 26, 381, 6, 605, 834, 23, 26, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 1128, 834, 23, 26, 381, 6, 119, 834, 221, 5756, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 556, 834, 4350, 21680, 494, 549, 17444, 427, 4486, 556, 834, 23, 26, 3388, 41, 23143, 14196, 556, 834, 23, 26, 21680, 494, 834, 77, 834, 15, 2169, 7, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many medals were won total for the country that won 1 silver and was ranked 2 or lower?
CREATE TABLE table_62214 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT COUNT("Total") FROM table_62214 WHERE "Silver" = '1' AND "Rank" < '2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4056, 27357, 41, 96, 22557, 121, 490, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, 3696, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 3696, 1947, 8512, 21680, 953, 834, 4056, 27357, 549, 17444, 427, 96, 134, 173, 624, 121, 3274, 3, 31, 536, 31, 3430, 96, 22557, 121, 3, 2, 3, 31, 357, 31, 1, -100, -100, -100, -100, -100, ...
how many actors have appeared in each musical?, could you rank in descending by the Y?
CREATE TABLE actor ( Actor_ID int, Name text, Musical_ID int, Character text, Duration text, age int ) CREATE TABLE musical ( Musical_ID int, Name text, Year int, Award text, Category text, Nominee text, Result text )
SELECT T2.Name, COUNT(*) FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID GROUP BY T1.Musical_ID ORDER BY COUNT(*) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7556, 41, 1983, 127, 834, 4309, 16, 17, 6, 5570, 1499, 6, 22307, 834, 4309, 16, 17, 6, 20087, 1499, 6, 20610, 1499, 6, 1246, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 23954, 6, 2847, 17161, 599, 1935, 61, 21680, 7556, 6157, 332, 536, 3, 15355, 3162, 4183, 6157, 332, 357, 9191, 332, 5411, 29035, 138, 834, 4309, 3274, 332, 4416, 29035, 138, 834, 4309, 350, 4630, 6880, 272,...