NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
what was the date of the game on week 2?
CREATE TABLE table_name_2 (date VARCHAR, week VARCHAR)
SELECT date FROM table_name_2 WHERE week = 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 5522, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 47, 8, 833, 13, 8, 467, 30, 471, 204, 58, 1, 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, 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, 357, 549, 17444, 427, 471, 3274, 204, 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 the lowest points for a match before 14?
CREATE TABLE table_name_88 (points INTEGER, match INTEGER)
SELECT MIN(points) FROM table_name_88 WHERE match > 14
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 2700, 7, 3, 21342, 17966, 6, 1588, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 979, 21, 3, 9, 1588, 274, 968, 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, 1, 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, 2700, 7, 61, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 1588, 2490, 968, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the to par for Tom Weiskopf?
CREATE TABLE table_name_6 (to_par INTEGER, player VARCHAR)
SELECT AVG(to_par) FROM table_name_6 WHERE player = "tom weiskopf"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 235, 834, 1893, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 12, 260, 21, 3059, 101, 159, 23136, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 235, 834, 1893, 61, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 1959, 3274, 96, 235, 51, 3, 13206, 23136, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
For those records from the products and each product's manufacturer, find name and price , and group by attribute founder, and visualize them by a bar chart, and rank by the Name in desc.
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 T1.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder, T1.Name ORDER BY T1.Name 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, 332, 5411, 23954, 6, 332, 5411, 345, 4920, 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, 272, 476, 3, 19145...
Who scored the most points when the Bucks played against Houston?
CREATE TABLE table_27756014_6 ( high_points VARCHAR, team VARCHAR )
SELECT high_points FROM table_27756014_6 WHERE team = "Houston"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3072, 3328, 2534, 834, 948, 41, 306, 834, 2700, 7, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 5799, 8, 167, 979, 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, 2700, 7, 21680, 953, 834, 2555, 3072, 3328, 2534, 834, 948, 549, 17444, 427, 372, 3274, 96, 4489, 76, 4411, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What shows for nation when the Competition is preseason, Year less than 2011, and a Club of chivas de guadalajara?
CREATE TABLE table_name_37 (nation VARCHAR, club VARCHAR, competition VARCHAR, year VARCHAR)
SELECT nation FROM table_name_37 WHERE competition = "preseason" AND year < 2011 AND club = "chivas de guadalajara"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 29, 257, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1267, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2982, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 2259, 3274, 96, 2026, 9476, 121, 3430, 215, 3, 2, 2722, 3430, 1886, 3274, 96, 1436, 9856, 20, 3, 1744, 9, 26, 138, 9, 5670, 9, 121, 1, -100, -100, -100, -...
What was the result of the Oregon 5 District incumbent who was first elected in 1996?
CREATE TABLE table_79150 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text )
SELECT "Results" FROM table_79150 WHERE "First elected" = '1996' AND "District" = 'oregon 5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 12278, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 490, 6, 96, 20119, 7, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7, 121, 21680, 953, 834, 4440, 12278, 549, 17444, 427, 96, 25171, 8160, 121, 3274, 3, 31, 2294, 4314, 31, 3430, 96, 308, 23, 20066, 121, 3274, 3, 31, 127, 15, 5307, 305, 31, 1, -100, -100, -100, -100, ...
What is the production number for episode 23?
CREATE TABLE table_2370579_1 (prod__number INTEGER, episode__number VARCHAR)
SELECT MIN(prod__number) FROM table_2370579_1 WHERE episode__number = 23
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4118, 3076, 4440, 834, 536, 41, 1409, 26, 834, 834, 5525, 1152, 3, 21342, 17966, 6, 5640, 834, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1409, 26, 834, 834, 5525, 1152, 61, 21680, 953, 834, 357, 4118, 3076, 4440, 834, 536, 549, 17444, 427, 5640, 834, 834, 5525, 1152, 3274, 1902, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
find the number of patients under the age of 47 who had joint fluid as lab test fluid.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "47" AND lab.fluid = "Joint Fluid"
[ 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, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
count the number of patients whose admission location is phys referral/normal deli and admission year is less than 2187?
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 WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND demographic.admityear < "2187"
[ 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, 549, 17444, 427, 14798, 5, 9, 26, 5451, 834, 14836, 3274, 96, 8023, 476, 134, 4083, 20805, 21415, 87, 24833, 329, 4090, 309, ...
How many opponents led to an exactly 7-0 record?
CREATE TABLE table_21034801_1 ( opponent VARCHAR, record VARCHAR )
SELECT COUNT(opponent) FROM table_21034801_1 WHERE record = "7-0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15239, 3710, 2079, 536, 834, 536, 41, 15264, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 16383, 2237, 12, 46, 1776, 489, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 32, 102, 9977, 61, 21680, 953, 834, 15239, 3710, 2079, 536, 834, 536, 549, 17444, 427, 1368, 3274, 96, 940, 18, 632, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Result F A of 5 0 had what date?
CREATE TABLE table_69703 ( "Date" text, "Opponents" text, "Result F\u2013A" text, "Attendance" real, "Group position" text )
SELECT "Date" FROM table_69703 WHERE "Result F\u2013A" = '5–0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 2518, 519, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 7, 121, 1499, 6, 96, 20119, 377, 2, 76, 11138, 188, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3951, 2518, 519, 549, 17444, 427, 96, 20119, 377, 2, 76, 11138, 188, 121, 3274, 3, 31, 755, 104, 632, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the rnag for lyric fm 98.7?
CREATE TABLE table_18475946_2 (rnag__mhz_ VARCHAR, lyric_fm__mhz_ VARCHAR)
SELECT rnag__mhz_ FROM table_18475946_2 WHERE lyric_fm__mhz_ = "98.7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 4177, 3390, 4448, 834, 357, 41, 52, 15603, 834, 834, 51, 107, 172, 834, 584, 4280, 28027, 6, 3, 120, 2234, 834, 89, 51, 834, 834, 51, 107, 172, 834, 584, 4280, 2802...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 52, 15603, 834, 834, 51, 107, 172, 834, 21680, 953, 834, 2606, 4177, 3390, 4448, 834, 357, 549, 17444, 427, 3, 120, 2234, 834, 89, 51, 834, 834, 51, 107, 172, 834, 3274, 96, 3916, 5, 940, 121, 1, -100, -100, ...
Calculate the total number of patients from hispanic or latino - puertorican ethnic origin who received additive therapy
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "HISPANIC/LATINO - PUERTO RICAN" AND prescriptions.drug_type = "ADDITIVE"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What is Style, when Choreographer(s) is Dave Scott?
CREATE TABLE table_name_17 (style VARCHAR, choreographer_s_ VARCHAR)
SELECT style FROM table_name_17 WHERE choreographer_s_ = "dave scott"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 4084, 584, 4280, 28027, 6, 15030, 19891, 834, 7, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 7936, 6, 116, 17531, 15, 19891, 599, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 869, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 15030, 19891, 834, 7, 834, 3274, 96, 26, 9, 162, 3, 7, 10405, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
how many american indian/alaska native ethnic background patients were born before 2148?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND demographic.admityear < "2148"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 549, 17444, 427, 14798, 5, 15, 189, 2532, 485, 3274, 96, 17683, 5593, 11425, 3, 13885, 21758, 87, 23634, 134, 12048, 3, 25271...
Show each state and the number of addresses in each state by a bar chart, and list x axis from high to low order please.
CREATE TABLE Customer_Address_History ( customer_id INTEGER, address_id INTEGER, date_from DATETIME, date_to DATETIME ) CREATE TABLE Contacts ( contact_id INTEGER, customer_id INTEGER, gender VARCHAR(1), first_name VARCHAR(80), last_name VARCHAR(50), contact_phone VARCHAR(80) ) ...
SELECT state_province_county, COUNT(*) FROM Addresses GROUP BY state_province_county ORDER BY state_province_county DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7327, 834, 20773, 9377, 834, 12146, 13029, 41, 884, 834, 23, 26, 3, 21342, 17966, 6, 1115, 834, 23, 26, 3, 21342, 17966, 6, 833, 834, 7152, 309, 6048, 382, 15382, 6, 833, 834, 235, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 538, 834, 1409, 2494, 565, 834, 13362, 63, 6, 2847, 17161, 599, 1935, 61, 21680, 13246, 15, 7, 350, 4630, 6880, 272, 476, 538, 834, 1409, 2494, 565, 834, 13362, 63, 4674, 11300, 272, 476, 538, 834, 1409, 2494, 565, ...
What is the to par of player notah begay iii from the United States?
CREATE TABLE table_61557 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" text )
SELECT "To par" FROM table_61557 WHERE "Country" = 'united states' AND "Player" = 'notah begay iii'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 1808, 3436, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 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, 3696, 260, 121, 21680, 953, 834, 948, 1808, 3436, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 15129, 15, 26, 2315, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 2264, 9, 107, 36, 122, 9, 63, 3, 23, 23,...
Which Yonguk has a Halang of ran ?
CREATE TABLE table_name_35 ( yonguk VARCHAR, halang VARCHAR )
SELECT yonguk FROM table_name_35 WHERE halang = "ran¹"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 3, 63, 2444, 1598, 584, 4280, 28027, 6, 4244, 4612, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, 476, 2444, 1598, 65, 3, 9, 1626, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 63, 2444, 1598, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 4244, 4612, 3274, 96, 2002, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Venue has a Goal larger than 3, and a Competition of 2011 afc asian cup?
CREATE TABLE table_name_3 (venue VARCHAR, goal VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_3 WHERE goal > 3 AND competition = "2011 afc asian cup"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 15098, 584, 4280, 28027, 6, 1288, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 29940, 65, 3, 9, 17916, 2186, 145,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 5669, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 1288, 2490, 220, 3430, 2259, 3274, 96, 13907, 3, 9, 89, 75, 3, 9, 10488, 4119, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which venue had a status of five nations, an against larger than 12 and took place on 15/02/1975?
CREATE TABLE table_name_59 ( venue VARCHAR, date VARCHAR, status VARCHAR, against VARCHAR )
SELECT venue FROM table_name_59 WHERE status = "five nations" AND against > 12 AND date = "15/02/1975"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 5669, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 6, 2637, 584, 4280, 28027, 6, 581, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 5669, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5669, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 2637, 3274, 96, 16443, 9352, 121, 3430, 581, 2490, 586, 3430, 833, 3274, 96, 1808, 87, 4305, 13523, 3072, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100...
Name the delegate first elected in 2003?
CREATE TABLE table_14009909_1 (delegate VARCHAR, first_elected VARCHAR)
SELECT delegate FROM table_14009909_1 WHERE first_elected = 2003
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 536, 5548, 3264, 4198, 834, 536, 41, 221, 8791, 584, 4280, 28027, 6, 166, 834, 19971, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 20, 8791, 166, 8160, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 20, 8791, 21680, 953, 834, 536, 5548, 3264, 4198, 834, 536, 549, 17444, 427, 166, 834, 19971, 3274, 3888, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the largest number of points they had?
CREATE TABLE table_23308178_8 ( points INTEGER )
SELECT MAX(points) FROM table_23308178_8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20879, 4018, 27640, 834, 927, 41, 979, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2015, 381, 13, 979, 79, 141, 58, 1, 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, 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...
[ 3, 23143, 14196, 4800, 4, 599, 2700, 7, 61, 21680, 953, 834, 20879, 4018, 27640, 834, 927, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the content of the rai 1 television service?
CREATE TABLE table_15887683_1 ( content VARCHAR, television_service VARCHAR )
SELECT content FROM table_15887683_1 WHERE television_service = "Rai 1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 4060, 3959, 4591, 834, 536, 41, 738, 584, 4280, 28027, 6, 4390, 834, 5114, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 738, 13, 8, 3, 7253, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 738, 21680, 953, 834, 1808, 4060, 3959, 4591, 834, 536, 549, 17444, 427, 4390, 834, 5114, 3274, 96, 448, 9, 23, 209, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who were the candidates that ran when Jim Moody was up for reelection after 1982?
CREATE TABLE table_18243 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text )
SELECT "Candidates" FROM table_18243 WHERE "First elected" = '1982'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 27730, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 490, 6, 96, 20119, 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, 14050, 12416, 6203, 121, 21680, 953, 834, 2606, 27730, 549, 17444, 427, 96, 25171, 8160, 121, 3274, 3, 31, 2294, 4613, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the total Goals with a Rank smaller than 10, a Name of nicolas anelka, and Appearances larger than 9?
CREATE TABLE table_name_7 ( goals INTEGER, appearances VARCHAR, rank VARCHAR, name VARCHAR )
SELECT SUM(goals) FROM table_name_7 WHERE rank < 10 AND name = "nicolas anelka" AND appearances > 9
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 1766, 3, 21342, 17966, 6, 3179, 7, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 839, 5405, 61, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 11003, 3, 2, 335, 3430, 564, 3274, 96, 29, 23, 12600, 7, 46, 15, 40, 1258, 121, 3430, 3179, 7, 2490, 668, 1, -100, -100, -100, -10...
How much Avg/G has a Name of robert marve, and a Gain smaller than 236?
CREATE TABLE table_name_32 (avg_g INTEGER, name VARCHAR, gain VARCHAR)
SELECT SUM(avg_g) FROM table_name_32 WHERE name = "robert marve" AND gain < 236
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 9, 208, 122, 834, 122, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 2485, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 231, 71, 208, 122,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9, 208, 122, 834, 122, 61, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 564, 3274, 96, 5840, 49, 17, 3157, 162, 121, 3430, 2485, 3, 2, 204, 3420, 1, -100, -100, -100, -100, -100, -100, -100, ...
Which player played DB
CREATE TABLE table_16441561_5 ( player VARCHAR, position VARCHAR )
SELECT player FROM table_16441561_5 WHERE position = "DB"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 3628, 1808, 4241, 834, 755, 41, 1959, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1959, 1944, 3, 9213, 1, 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, 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...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 2938, 3628, 1808, 4241, 834, 755, 549, 17444, 427, 1102, 3274, 96, 9213, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest Round of joe patterson?
CREATE TABLE table_name_79 (round INTEGER, player VARCHAR)
SELECT MIN(round) FROM table_name_79 WHERE player = "joe patterson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 7775, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 9609, 13, 3, 1927, 15, 6234, 17, 13515, 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, 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, 7775, 61, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 1959, 3274, 96, 1927, 15, 6234, 17, 13515, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Game number when the Rangers have a Record of 25-24-11?
CREATE TABLE table_name_18 (game VARCHAR, record VARCHAR)
SELECT COUNT(game) FROM table_name_18 WHERE record = "25-24-11"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 7261, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4435, 381, 116, 8, 12612, 277, 43, 3, 9, 11392, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 7261, 61, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 1368, 3274, 96, 1828, 14962, 9169, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the party of Richard Simpson?
CREATE TABLE table_name_59 (party VARCHAR, name VARCHAR)
SELECT party FROM table_name_59 WHERE name = "richard simpson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 8071, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1088, 13, 4117, 21965, 58, 1, 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, 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...
[ 3, 23143, 14196, 1088, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 564, 3274, 96, 3723, 986, 108, 1167, 739, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the high earnings for players with 34 events and over 2 wins?
CREATE TABLE table_name_90 ( earnings___ INTEGER, events VARCHAR, wins VARCHAR )
SELECT MAX(earnings___) AS $__ FROM table_name_90 WHERE events = 34 AND wins > 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 8783, 834, 834, 834, 3, 21342, 17966, 6, 984, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 306, 8783,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 2741, 29, 53, 7, 834, 834, 834, 61, 6157, 1514, 834, 834, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 984, 3274, 6154, 3430, 9204, 2490, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the score of the game on January 18?
CREATE TABLE table_name_85 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_85 WHERE date = "january 18"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 7, 9022, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 13, 8, 467, 30, 1762, 507, 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, 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, 2604, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 833, 3274, 96, 7066, 76, 1208, 507, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What position has ongoing first-team appearances, Graham Burke for a player, and whose club is Aston Villa?
CREATE TABLE table_name_47 ( position VARCHAR, player VARCHAR, first_team_appearances VARCHAR, current_club VARCHAR )
SELECT position FROM table_name_47 WHERE first_team_appearances = "ongoing" AND current_club = "aston villa" AND player = "graham burke"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 1102, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 6, 166, 834, 11650, 834, 3096, 2741, 663, 7, 584, 4280, 28027, 6, 750, 834, 13442, 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, 1102, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 166, 834, 11650, 834, 3096, 2741, 663, 7, 3274, 96, 106, 9545, 121, 3430, 750, 834, 13442, 3274, 96, 9, 4411, 12159, 121, 3430, 1959, 3274, 96, 3484, 1483, 70...
Plot year by mean price as a line chart, rank from high to low by the x axis.
CREATE TABLE appellations ( No INTEGER, Appelation TEXT, County TEXT, State TEXT, Area TEXT, isAVA TEXT ) CREATE TABLE grapes ( ID INTEGER, Grape TEXT, Color TEXT ) CREATE TABLE wine ( No INTEGER, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT, Name TE...
SELECT Year, AVG(Price) FROM wine GROUP BY Year ORDER BY Year DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8319, 6105, 7, 41, 465, 3, 21342, 17966, 6, 3, 27794, 257, 3, 3463, 4, 382, 6, 1334, 3, 3463, 4, 382, 6, 1015, 3, 3463, 4, 382, 6, 5690, 3, 3463, 4, 382, 6, 19, 6968, 188, 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, 2929, 6, 71, 17217, 599, 345, 4920, 61, 21680, 2013, 350, 4630, 6880, 272, 476, 2929, 4674, 11300, 272, 476, 2929, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the attendance for the away team Solihull Moors?
CREATE TABLE table_79603 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text )
SELECT "Attendance" FROM table_79603 WHERE "Away team" = 'solihull moors'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 3328, 519, 41, 96, 382, 23, 15, 150, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 17, 324, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 188, 17, 324, 26, 663, 121, 21680, 953, 834, 4440, 3328, 519, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 7, 4172, 22699, 3, 21477, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is John Edwards, when John Kerry is "70%"?
CREATE TABLE table_name_41 (john_edwards VARCHAR, john_kerry VARCHAR)
SELECT john_edwards FROM table_name_41 WHERE john_kerry = "70%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 27341, 834, 15, 26, 2239, 7, 584, 4280, 28027, 6, 3, 27341, 834, 2304, 651, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 1079, 8200, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 27341, 834, 15, 26, 2239, 7, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 3, 27341, 834, 2304, 651, 3274, 96, 2518, 1454, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the engine configuration & notes 0-100km/h with an engine type with b5252 fs?
CREATE TABLE table_11136 ( "model" text, "max. motive power" text, "max. torque at rpm" text, "engine displacement" text, "engine type" text, "engine configuration & notes 0-100km/h" text )
SELECT "engine configuration & notes 0-100km/h" FROM table_11136 WHERE "engine type" = 'b5252 fs'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15866, 3420, 41, 96, 21770, 121, 1499, 6, 96, 9128, 5, 10280, 579, 121, 1499, 6, 96, 9128, 5, 19527, 44, 3, 52, 2028, 121, 1499, 6, 96, 20165, 27780, 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, 20165, 5298, 3, 184, 3358, 3, 9498, 2915, 5848, 87, 107, 121, 21680, 953, 834, 15866, 3420, 549, 17444, 427, 96, 20165, 686, 121, 3274, 3, 31, 115, 5373, 5373, 3, 89, 7, 31, 1, -100, -100, -100, -100, -100, ...
Which complex used the Soyuz (r) launcher to facilitate 14 orbital flights?
CREATE TABLE table_name_35 (launch_complex VARCHAR, launcher VARCHAR, flights VARCHAR)
SELECT launch_complex FROM table_name_35 WHERE launcher = "soyuz (r)" AND flights = "14 orbital"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 27493, 834, 287, 9247, 584, 4280, 28027, 6, 3289, 49, 584, 4280, 28027, 6, 7534, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1561, 261, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3289, 834, 287, 9247, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 3289, 49, 3274, 96, 7, 32, 63, 76, 172, 41, 52, 61, 121, 3430, 7534, 3274, 96, 2534, 15607, 138, 121, 1, -100, -100, -100, -100, -100, -100,...
What is the most divisional titles won by a school with an enrollment of 30049?
CREATE TABLE table_23605 ( "Institution" text, "Team Name" text, "Location (Population)" text, "Team Started" real, "Affiliation" text, "Enrollment" real, "Mascot" text, "Divisional Titles" real, "Big 12 Titles" real, "National Titles" real )
SELECT MAX("Divisional Titles") FROM table_23605 WHERE "Enrollment" = '30049'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3420, 3076, 41, 96, 1570, 17448, 121, 1499, 6, 96, 18699, 5570, 121, 1499, 6, 96, 434, 32, 75, 257, 41, 27773, 7830, 61, 121, 1499, 6, 96, 18699, 2042, 1054, 121, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21313, 159, 6318, 11029, 7, 8512, 21680, 953, 834, 357, 3420, 3076, 549, 17444, 427, 96, 8532, 4046, 297, 121, 3274, 3, 31, 5426, 3647, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Cyrillic code with a cu Latin 2-letter code?
CREATE TABLE table_name_68 ( cyrillic_code VARCHAR, latin_2_letter_code VARCHAR )
SELECT cyrillic_code FROM table_name_68 WHERE latin_2_letter_code = "cu"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 3, 75, 63, 52, 173, 2176, 834, 4978, 584, 4280, 28027, 6, 3, 14098, 834, 357, 834, 16024, 834, 4978, 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, 0, 0...
[ 3, 23143, 14196, 3, 75, 63, 52, 173, 2176, 834, 4978, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 3, 14098, 834, 357, 834, 16024, 834, 4978, 3274, 96, 1071, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What musical performances aired on 5 April 2010?
CREATE TABLE table_26733129_1 ( musical_performance VARCHAR, air_date VARCHAR )
SELECT musical_performance FROM table_26733129_1 WHERE air_date = "5 April 2010"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 4552, 3341, 3166, 834, 536, 41, 4183, 834, 18558, 584, 4280, 28027, 6, 799, 834, 5522, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 4183, 7357, 3, 2378,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4183, 834, 18558, 21680, 953, 834, 2688, 4552, 3341, 3166, 834, 536, 549, 17444, 427, 799, 834, 5522, 3274, 96, 755, 1186, 2735, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who was the outgoing manager for the team of târgu mureş?
CREATE TABLE table_26976615_3 (outgoing_manager VARCHAR, team VARCHAR)
SELECT outgoing_manager FROM table_26976615_3 WHERE team = "Târgu Mureş"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 4327, 3539, 1808, 834, 519, 41, 670, 9545, 834, 24185, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 91, 9545, 2743, 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, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 91, 9545, 834, 24185, 21680, 953, 834, 2688, 4327, 3539, 1808, 834, 519, 549, 17444, 427, 372, 3274, 96, 382, 1439, 52, 1744, 8054, 15, 1314, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is maximum age of patients whose gender is m and discharge location is short term hospital?
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 demographic ( subject_id text, hadm_id t...
SELECT MAX(demographic.age) FROM demographic WHERE demographic.gender = "M" AND demographic.discharge_location = "SHORT TERM HOSPITAL"
[ 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, 4800, 4, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 122, 3868, 3274, 96, 329, 121, 3430, 14798, 5, 26, 159, 7993, 834, 14836, 3274, 96, 134, 6299, 5934, 3, 5946, 329, 454, 3638, 4111, 1...
Name the title for 446913
CREATE TABLE table_2409041_4 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_2409041_4 WHERE production_code = 446913
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11944, 2394, 4853, 834, 591, 41, 21869, 584, 4280, 28027, 6, 999, 834, 4978, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2233, 21, 8537, 3951, 2368, 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, 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, 2233, 21680, 953, 834, 11944, 2394, 4853, 834, 591, 549, 17444, 427, 999, 834, 4978, 3274, 8537, 3951, 2368, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the smallest population with an Area (km²) of 1115.4?
CREATE TABLE table_name_72 (population INTEGER, area__km²_ VARCHAR)
SELECT MIN(population) FROM table_name_72 WHERE area__km²_ = 1115.4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 9791, 7830, 3, 21342, 17966, 6, 616, 834, 834, 5848, 357, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 17924, 2074, 28, 46,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 9791, 7830, 61, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 616, 834, 834, 5848, 357, 834, 3274, 3, 15866, 27436, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
provide the number of patients whose drug name is methadone?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "Methadone"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Who held the same position in 2014 that Danielle Button held in 2013?
CREATE TABLE table_name_49 ( Id VARCHAR )
SELECT 2014 FROM table_name_49 WHERE 2013 = "danielle button"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 1213, 8, 337, 1102, 16, 1412, 24, 4173, 109, 272, 12499, 1213, 16, 2038, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1412, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 2038, 3274, 96, 26, 2738, 693, 2218, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many Baia Mare have an Electrica North Transylvania under 14.476, Bistrita of 643, and Zalau under 737?
CREATE TABLE table_name_59 ( baia_mare VARCHAR, zalau VARCHAR, electrica_north_transylvania VARCHAR, bistrita VARCHAR )
SELECT COUNT(baia_mare) FROM table_name_59 WHERE electrica_north_transylvania < 14.476 AND bistrita = 643 AND zalau < 737
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 3, 9441, 9, 834, 1635, 15, 584, 4280, 28027, 6, 3, 172, 138, 402, 584, 4280, 28027, 6, 2806, 9, 834, 29, 127, 189, 834, 7031, 63, 40, 16658, 9, 584...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9441, 9, 834, 1635, 15, 61, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 2806, 9, 834, 29, 127, 189, 834, 7031, 63, 40, 16658, 9, 3, 2, 9264, 591, 3959, 3430, 15840, 10694, 3274, 431, 4906,...
What is the UK broadcast date of the episode where Chris Bonington was the presenter?
CREATE TABLE table_34567 ( "Episode No." text, "Episode Title" text, "UK Broadcast Date" text, "Presenter" text, "Countries Visited" text )
SELECT "UK Broadcast Date" FROM table_34567 WHERE "Presenter" = 'chris bonington'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2128, 3708, 41, 96, 427, 102, 159, 32, 221, 465, 535, 1499, 6, 96, 427, 102, 159, 32, 221, 11029, 121, 1499, 6, 96, 15787, 13017, 5254, 7678, 121, 1499, 6, 96, 10572...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15787, 13017, 5254, 7678, 121, 21680, 953, 834, 519, 2128, 3708, 549, 17444, 427, 96, 10572, 5277, 49, 121, 3274, 3, 31, 524, 52, 159, 2682, 6029, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the customer first, last name and id with least number of accounts.
CREATE TABLE Accounts ( customer_id VARCHAR ) CREATE TABLE Customers ( customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR )
SELECT T2.customer_first_name, T2.customer_last_name, T1.customer_id FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6288, 7, 41, 884, 834, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 16423, 41, 884, 834, 14672, 834, 4350, 584, 4280, 28027, 6, 884, 834, 506...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25697, 49, 834, 14672, 834, 4350, 6, 332, 4416, 25697, 49, 834, 5064, 834, 4350, 6, 332, 5411, 25697, 49, 834, 23, 26, 21680, 6288, 7, 6157, 332, 536, 3, 15355, 3162, 16423, 6157, 332, 357, 9191, 332, 5...
What Place has a Player of bernhard langer?
CREATE TABLE table_name_49 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_49 WHERE player = "bernhard langer"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 4687, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 3399, 65, 3, 9, 12387, 13, 3, 1152, 29, 5651, 6575, 52, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 286, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 1959, 3274, 96, 1152, 29, 5651, 6575, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the old bulgarian names for yuni
CREATE TABLE table_15275060_1 ( old_bulgarian_names VARCHAR, Yuni VARCHAR, Transliteration VARCHAR )
SELECT old_bulgarian_names FROM table_15275060_1 WHERE BULGARIAN_NAME(Transliteration) = Yuni
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26320, 9979, 3328, 834, 536, 41, 625, 834, 6724, 122, 6855, 834, 4350, 7, 584, 4280, 28027, 6, 6214, 29, 23, 584, 4280, 28027, 6, 4946, 9842, 257, 584, 4280, 28027, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 625, 834, 6724, 122, 6855, 834, 4350, 7, 21680, 953, 834, 26320, 9979, 3328, 834, 536, 549, 17444, 427, 272, 4254, 25826, 21758, 834, 567, 17683, 599, 18474, 9842, 257, 61, 3274, 6214, 29, 23, 1, -100, -100, -100, -...
Name the avg start for avg finish being 24.2
CREATE TABLE table_25647 ( "Year" real, "Starts" real, "Wins" real, "Top 5" real, "Top 10" real, "Poles" real, "Avg. Start" text, "Avg. Finish" text, "Winnings" text, "Position" text, "Team(s)" text )
SELECT "Avg. Start" FROM table_25647 WHERE "Avg. Finish" = '24.2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19337, 4177, 41, 96, 476, 2741, 121, 490, 6, 96, 7681, 17, 7, 121, 490, 6, 96, 18455, 7, 121, 490, 6, 96, 22481, 3, 17395, 490, 6, 96, 22481, 335, 121, 490, 6, 96, 89...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 188, 208, 122, 5, 3273, 121, 21680, 953, 834, 19337, 4177, 549, 17444, 427, 96, 188, 208, 122, 5, 17578, 121, 3274, 3, 31, 357, 19765, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
count the number of patients whose diagnoses short title is nb obs genetc/metabl cnd and lab test fluid is ascites?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT 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 = "NB obs genetc/metabl cnd" AND lab.fluid = "Ascites"
[ 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...
When the # is 9 what is the U.S original airdate?
CREATE TABLE table_29475589_5 ( us_original_airdate VARCHAR, _number VARCHAR )
SELECT us_original_airdate FROM table_29475589_5 WHERE _number = 9
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 4177, 3769, 3914, 834, 755, 41, 178, 834, 21878, 834, 2256, 5522, 584, 4280, 28027, 6, 3, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 178, 834, 21878, 834, 2256, 5522, 21680, 953, 834, 3166, 4177, 3769, 3914, 834, 755, 549, 17444, 427, 3, 834, 5525, 1152, 3274, 668, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
give me the number of patients whose diagnoses icd9 code is 78791 and drug type is additive?
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 INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.icd9_code = "78791" AND prescriptions.drug_type = "ADDITIVE"
[ 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 was the home team that scored 8.7 (55)?
CREATE TABLE table_33631 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Home team" FROM table_33631 WHERE "Home team score" = '8.7 (55)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3420, 3341, 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, 96, 19040, 372, 121, 21680, 953, 834, 519, 3420, 3341, 549, 17444, 427, 96, 19040, 372, 2604, 121, 3274, 3, 31, 927, 5, 940, 9209, 9120, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which driver has a Time/Retired of 2:45:46.2?
CREATE TABLE table_name_44 (driver VARCHAR, time_retired VARCHAR)
SELECT driver FROM table_name_44 WHERE time_retired = "2:45:46.2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 13739, 52, 584, 4280, 28027, 6, 97, 834, 10682, 1271, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2535, 65, 3, 9, 2900, 87, 1649, 11809, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2535, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 97, 834, 10682, 1271, 3274, 96, 357, 10, 2128, 10, 591, 23913, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who was the opponent of the game that 31,293 people attended that had a final score of 9 - 6.
CREATE TABLE table_name_4 (opponent VARCHAR, score VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_4 WHERE score = "9 - 6" AND attendance > 31 OFFSET 293
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 32, 102, 9977, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 15264, 13, 8, 46...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15264, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 2604, 3274, 96, 1298, 3, 18, 431, 121, 3430, 11364, 2490, 2664, 3, 15316, 20788, 204, 4271, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what was the total number of patients on ward 489 until 2 years ago?
CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, ...
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.wardid = 489 AND DATETIME(patient.unitadmittime) <= DATETIME(CURRENT_TIME(), '-2 year')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1868, 41, 775, 12417, 1499, 6, 1868, 15878, 3734, 21545, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7285, 1499, 6, 1246, 1499, 6, 11655, 485, 1499, 6, 2833, 23, 26, 381, 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, 15438, 25424, 6227, 1868, 5, 202, 1495, 12417, 61, 21680, 1868, 549, 17444, 427, 1868, 5, 2239, 23, 26, 3274, 314, 3914, 3430, 309, 6048, 382, 15382, 599, 10061, 5, 15129, 20466, 17, 715, 61, 3, 2,...
What's Ontario's highest Ends Lost?
CREATE TABLE table_name_11 ( ends_lost INTEGER, locale VARCHAR )
SELECT MAX(ends_lost) FROM table_name_11 WHERE locale = "ontario"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 5542, 834, 2298, 17, 3, 21342, 17966, 6, 8522, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 9163, 31, 7, 2030, 3720, 7, 19576, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 989, 7, 834, 2298, 17, 61, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 8522, 3274, 96, 1770, 14414, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Place that has a Date of 22 august 2004?
CREATE TABLE table_name_92 ( place VARCHAR, date VARCHAR )
SELECT place FROM table_name_92 WHERE date = "22 august 2004"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 286, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3399, 24, 65, 3, 9, 7678, 13, 1630, 14663, 4406, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 286, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 833, 3274, 96, 2884, 14663, 4406, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average finish that has a start greater than 3, with honda as the engine, and 2011 as the year?
CREATE TABLE table_name_35 ( finish INTEGER, year VARCHAR, start VARCHAR, engine VARCHAR )
SELECT AVG(finish) FROM table_name_35 WHERE start > 3 AND engine = "honda" AND year = 2011
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 1992, 3, 21342, 17966, 6, 215, 584, 4280, 28027, 6, 456, 584, 4280, 28027, 6, 1948, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 25535, 61, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 456, 2490, 220, 3430, 1948, 3274, 96, 31782, 121, 3430, 215, 3274, 2722, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the score when Bornor Regis Town was the opponent?
CREATE TABLE table_name_58 ( score VARCHAR, opponent VARCHAR )
SELECT score FROM table_name_58 WHERE opponent = "bornor regis town"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 2604, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 116, 12896, 127, 15232, 7, 4463, 47, 8, 152...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 15264, 3274, 96, 7473, 127, 5925, 159, 1511, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what did patient 015-56390 receive for his or her last procedure during the first hospital encounter?
CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE lab ( labid numbe...
SELECT treatment.treatmentname FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-56390' AND NOT patient.hospitaldischargetime IS NULL ORDER BY...
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3362, 4267, 32, 4370, 41, 3362, 4267, 32, 26, 1294, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2912, 381, 6, 3, 7, 9, 32, 357, 381, 6, 842, 2206, 381, 6, 14114, 257, 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, 1058, 5, 26889, 4350, 21680, 1058, 549, 17444, 427, 1058, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3734, 21545, ...
Which Score has Opponent of mariners and a Record of 24 25?
CREATE TABLE table_name_91 ( score VARCHAR, opponent VARCHAR, record VARCHAR )
SELECT score FROM table_name_91 WHERE opponent = "mariners" AND record = "24–25"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 2604, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 17763, 65, 4495, 9977, 13, 876...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 15264, 3274, 96, 12181, 277, 121, 3430, 1368, 3274, 96, 2266, 104, 1828, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What region is William R. Johnson Coliseum in?
CREATE TABLE table_4669 ( "Region" text, "Host" text, "Venue" text, "City" text, "State" text )
SELECT "Region" FROM table_4669 WHERE "Venue" = 'william r. johnson coliseum'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 3951, 41, 96, 17748, 23, 106, 121, 1499, 6, 96, 566, 3481, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 134, 4748, 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, 17748, 23, 106, 121, 21680, 953, 834, 4448, 3951, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 8894, 23, 265, 3, 52, 5, 3, 27341, 739, 3, 9044, 7, 15, 440, 31, 1, -100, -100, -100, -100, -100, ...
What is the total for miguel indur in with a Vuelta larger than 1?
CREATE TABLE table_67753 ( "Name" text, "Tour" real, "Giro" real, "Vuelta" real, "Total" real )
SELECT MIN("Total") FROM table_67753 WHERE "Name" = 'miguel induráin' AND "Vuelta" > '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 3072, 519, 41, 96, 23954, 121, 1499, 6, 96, 382, 1211, 121, 490, 6, 96, 30428, 121, 490, 6, 96, 553, 76, 15, 40, 17, 9, 121, 490, 6, 96, 3696, 1947, 121, 490, 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, 3, 17684, 599, 121, 3696, 1947, 8512, 21680, 953, 834, 3708, 3072, 519, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 51, 15795, 40, 16, 13629, 2975, 77, 31, 3430, 96, 553, 76, 15, 40, 17, 9, 121, 2490, 3, 31, ...
If the Cuatro Ca adas municipality percentage is 252, what are all the San Antonio de Lomer o municipality percentage?
CREATE TABLE table_23471 ( "Language" text, "Concepci\u00f3n Municipality (%)" real, "San Javier Municipality (%)" real, "San Ram\u00f3n Municipality (%)" real, "San Juli\u00e1n Municipality (%)" real, "San Antonio de Lomer\u00edo Municipality (%)" text, "Cuatro Ca\u00f1adas Municipality (%)...
SELECT "San Antonio de Lomer\u00edo Municipality (%)" FROM table_23471 WHERE "Cuatro Ca\u00f1adas Municipality (%)" = '252'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3710, 4450, 41, 96, 434, 1468, 76, 545, 121, 1499, 6, 96, 4302, 565, 102, 75, 23, 2, 76, 1206, 89, 519, 29, 16492, 485, 41, 6210, 121, 490, 6, 96, 134, 152, 2215, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 152, 12923, 20, 1815, 935, 2, 76, 1206, 15, 26, 32, 16492, 485, 41, 6210, 121, 21680, 953, 834, 357, 3710, 4450, 549, 17444, 427, 96, 15784, 144, 52, 32, 1336, 2, 76, 1206, 89, 536, 9, 7664, 16492, 485,...
what was the final score of the game where josh powell (13) scored the most points?
CREATE TABLE table_29885 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Score" FROM table_29885 WHERE "High points" = 'Josh Powell (13)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3916, 4433, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 357, 3916, 4433, 549, 17444, 427, 96, 21417, 979, 121, 3274, 3, 31, 683, 32, 7, 107, 26458, 4077, 5268, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What date did home team liverpool play?
CREATE TABLE table_name_70 ( date VARCHAR, home_team VARCHAR )
SELECT date FROM table_name_70 WHERE home_team = "liverpool"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 833, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 410, 234, 372, 11501, 13194, 577, 58, 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, 833, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 234, 834, 11650, 3274, 96, 7591, 52, 13194, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Please show the trend about the number of days with max temperature reaches 80 change over dates, and could you display x axis from high to low order please?
CREATE TABLE station ( id INTEGER, name TEXT, lat NUMERIC, long NUMERIC, dock_count INTEGER, city TEXT, installation_date TEXT ) CREATE TABLE status ( station_id INTEGER, bikes_available INTEGER, docks_available INTEGER, time TEXT ) CREATE TABLE weather ( date TEXT, ...
SELECT date, COUNT(date) FROM weather WHERE max_temperature_f >= 80 GROUP BY date ORDER BY date DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2478, 41, 3, 23, 26, 3, 21342, 17966, 6, 564, 3, 3463, 4, 382, 6, 50, 17, 13046, 13098, 4666, 6, 307, 13046, 13098, 4666, 6, 12908, 834, 13362, 3, 21342, 17966, 6, 690, 3, 3463, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 6, 2847, 17161, 599, 5522, 61, 21680, 1969, 549, 17444, 427, 9858, 834, 21010, 15, 834, 89, 2490, 2423, 2775, 350, 4630, 6880, 272, 476, 833, 4674, 11300, 272, 476, 833, 309, 25067, 1, -100, -100, -100, -100, -...
what is the number of patients whose primary disease is hypertension;rule out coronary artery disease\cardiac cath and procedure icd9 code is 7761?
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 lab ( subject_id text, hadm_id text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "HYPERTENSION;RULE OUT CORONARY ARTERY DISEASE\CARDIAC CATH" AND procedures.icd9_code = "7761"
[ 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, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Find all the distinct district names ordered by city area in descending.
CREATE TABLE district (District_name VARCHAR, city_area VARCHAR)
SELECT DISTINCT District_name FROM district ORDER BY city_area DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3939, 41, 308, 23, 20066, 834, 4350, 584, 4280, 28027, 6, 690, 834, 498, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2588, 66, 8, 6746, 3939, 3056, 5563, 57, 690, 616, 16, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 3570, 834, 4350, 21680, 3939, 4674, 11300, 272, 476, 690, 834, 498, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Attendance has a Result of l 29 23?
CREATE TABLE table_name_54 ( attendance VARCHAR, result VARCHAR )
SELECT attendance FROM table_name_54 WHERE result = "l 29–23"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 11364, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 22497, 663, 65, 3, 9, 3, 20119, 13, 3, 40, 2838, 1902, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11364, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 741, 3274, 96, 40, 2838, 104, 2773, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the highest Round, when the Opponent is Junior Pitbull?
CREATE TABLE table_name_28 (round INTEGER, opponent VARCHAR)
SELECT MAX(round) FROM table_name_28 WHERE opponent = "junior pitbull"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 7775, 3, 21342, 17966, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 9609, 6, 116, 8, 4495, 9977, 19, 10243, 13430, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 7775, 61, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 15264, 3274, 96, 6959, 23, 127, 7688, 20638, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
count the number of patients whose diagnosis short title is dmii renl nt st uncntrld and lab test abnormal status is abnormal.
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT 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 = "DMII renl nt st uncntrld" AND lab.flag = "abnormal"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 power of 1.9 diesel?
CREATE TABLE table_name_66 (power VARCHAR, name VARCHAR)
SELECT power FROM table_name_66 WHERE name = "1.9 diesel"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 6740, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 579, 13, 3, 22493, 12292, 58, 1, 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, 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...
[ 3, 23143, 14196, 579, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 564, 3274, 96, 22493, 12292, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Give me the comparison about the average of ID over the Nationality , and group by attribute Nationality by a bar chart, and list from low to high by the Y.
CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE swimme...
SELECT Nationality, AVG(ID) FROM swimmer GROUP BY Nationality ORDER BY AVG(ID)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14939, 41, 4699, 16, 17, 6, 564, 1499, 6, 4000, 9, 6726, 16, 17, 6, 896, 1499, 6, 6993, 1499, 6, 20360, 834, 1201, 16, 17, 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, 868, 485, 6, 71, 17217, 599, 4309, 61, 21680, 27424, 350, 4630, 6880, 272, 476, 868, 485, 4674, 11300, 272, 476, 71, 17217, 599, 4309, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is Robert Allenby's average to par score?
CREATE TABLE table_name_88 (to_par INTEGER, player VARCHAR)
SELECT AVG(to_par) FROM table_name_88 WHERE player = "robert allenby"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 235, 834, 1893, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 2715, 10618, 969, 31, 7, 1348, 12, 260, 2604, 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, 71, 17217, 599, 235, 834, 1893, 61, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 1959, 3274, 96, 5840, 49, 17, 6127, 969, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who wrote the last episode (episode 15) of season 3?
CREATE TABLE table_17861265_1 ( written_by VARCHAR, no_in_season VARCHAR )
SELECT written_by FROM table_17861265_1 WHERE no_in_season = 15
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 3840, 2122, 4122, 834, 536, 41, 1545, 834, 969, 584, 4280, 28027, 6, 150, 834, 77, 834, 9476, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 2832, 8, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1545, 834, 969, 21680, 953, 834, 2517, 3840, 2122, 4122, 834, 536, 549, 17444, 427, 150, 834, 77, 834, 9476, 3274, 627, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the crowd size at the moorabbin oval venue?
CREATE TABLE table_name_86 (crowd VARCHAR, venue VARCHAR)
SELECT COUNT(crowd) FROM table_name_86 WHERE venue = "moorabbin oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 75, 3623, 26, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 4374, 812, 44, 8, 3, 21477, 12982, 77, 17986,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 5669, 3274, 96, 21477, 12982, 77, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many female patients were born before the year 2080?
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 WHERE demographic.gender = "F" AND demographic.dob_year < "2080"
[ 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, 549, 17444, 427, 14798, 5, 122, 3868, 3274, 96, 371, 121, 3430, 14798, 5, 26, 32, 115, 834, 1201, 3, 2, 96, 1755, 2079, 1...
What year did jockey Ramon Dominguez have a distance of 1-1/16?
CREATE TABLE table_name_40 (year VARCHAR, distance VARCHAR, jockey VARCHAR)
SELECT year FROM table_name_40 WHERE distance = "1-1/16" AND jockey = "ramon dominguez"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 1201, 584, 4280, 28027, 6, 2357, 584, 4280, 28027, 6, 8624, 4397, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 410, 8624, 4397, 4425, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 215, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 2357, 3274, 96, 536, 2292, 16033, 121, 3430, 8624, 4397, 3274, 96, 2375, 106, 10138, 1744, 457, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the total number of draws when there are fewer than 3 wins?
CREATE TABLE table_60688 ( "Golden Rivers" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real )
SELECT COUNT("Draws") FROM table_60688 WHERE "Wins" < '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 3651, 927, 41, 96, 23576, 35, 2473, 7, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 279, 10070, 121, 490, 6, 96, 434, 13526, 7, 121, 490, 6, 96, 308, 10936, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 308, 10936, 7, 8512, 21680, 953, 834, 3328, 3651, 927, 549, 17444, 427, 96, 18455, 7, 121, 3, 2, 3, 31, 519, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
If collingwood was the Home team, what Date did they play?
CREATE TABLE table_name_71 ( date VARCHAR, home_team VARCHAR )
SELECT date FROM table_name_71 WHERE home_team = "collingwood"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 833, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 156, 8029, 53, 2037, 47, 8, 1210, 372, 6, 125, 7678,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 234, 834, 11650, 3274, 96, 3297, 697, 2037, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Match has Runs of 100, and a Year larger than 1994?
CREATE TABLE table_name_14 ( match INTEGER, runs VARCHAR, year VARCHAR )
SELECT SUM(match) FROM table_name_14 WHERE runs = 100 AND year > 1994
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 1588, 3, 21342, 17966, 6, 3154, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 12296, 65, 7113, 7, 13, 910, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 19515, 61, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 3154, 3274, 910, 3430, 215, 2490, 7520, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Tell me the race name where stirling moss won on 16 april
CREATE TABLE table_name_61 ( race_name VARCHAR, winning_driver VARCHAR, date VARCHAR )
SELECT race_name FROM table_name_61 WHERE winning_driver = "stirling moss" AND date = "16 april"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 1964, 834, 4350, 584, 4280, 28027, 6, 3447, 834, 13739, 52, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 1964, 834, 4350, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 3447, 834, 13739, 52, 3274, 96, 2248, 52, 697, 3, 3972, 7, 121, 3430, 833, 3274, 96, 2938, 3, 9, 2246, 40, 121, 1, -100, -100, -100, -100, -100, ...
Who was the home team for the game with Platense as the away team and attendance under 529?
CREATE TABLE table_name_67 ( home VARCHAR, attendance VARCHAR, away VARCHAR )
SELECT home FROM table_name_67 WHERE attendance < 529 AND away = "platense"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 234, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 6, 550, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 234, 372, 21, 8, 467, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 234, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 11364, 3, 2, 305, 3166, 3430, 550, 3274, 96, 17628, 29, 7, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the end result for 28 February 2001?
CREATE TABLE table_name_52 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_52 WHERE date = "28 february 2001"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 414, 741, 21, 2059, 2083, 4402, 58, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 833, 3274, 96, 2577, 29976, 76, 1208, 4402, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Did he win or lose rof 32: respect?
CREATE TABLE table_45603 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" text, "Location" text )
SELECT "Res." FROM table_45603 WHERE "Event" = 'rof 32: respect'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 3328, 519, 41, 96, 1649, 7, 535, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 23351, 107, 32, 26, 121, 1499, 6, 96, 427, 2169, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1649, 7, 535, 21680, 953, 834, 2128, 3328, 519, 549, 17444, 427, 96, 427, 2169, 121, 3274, 3, 31, 52, 858, 3538, 10, 1445, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is gender and admission time of subject id 5027?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( ...
SELECT demographic.gender, demographic.admittime FROM demographic WHERE demographic.subject_id = "5027"
[ 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, 14798, 5, 122, 3868, 6, 14798, 5, 20466, 17, 715, 21680, 14798, 549, 17444, 427, 14798, 5, 7304, 11827, 834, 23, 26, 3274, 96, 1752, 2555, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the number of races associated with 7 podiums and a position of 4th?
CREATE TABLE table_49324 ( "Season" text, "Series" text, "Team" text, "Races" text, "Wins" text, "Poles" text, "F/Laps" text, "Podiums" text, "Points" text, "Position" text )
SELECT "Races" FROM table_49324 WHERE "Position" = '4th' AND "Podiums" = '7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 519, 2266, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 12106, 7, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 448, 9, 2319, 121, 1499, 6, 96, 18455, 7, 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, 448, 9, 2319, 121, 21680, 953, 834, 3647, 519, 2266, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 591, 189, 31, 3430, 96, 16665, 2552, 7, 121, 3274, 3, 31, 940, 31, 1, -100, -100, -100, -100, -...
What was the result of round 2r?
CREATE TABLE table_16643 ( "Edition" real, "Zone" text, "Round" text, "Date" text, "Against" text, "Surface" text, "Opponent" text, "Outcome" text, "Result" text )
SELECT "Outcome" FROM table_16643 WHERE "Round" = '2R'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26811, 4906, 41, 96, 427, 10569, 121, 490, 6, 96, 956, 782, 121, 1499, 6, 96, 448, 32, 1106, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 20749, 121, 1499, 6, 96, 134,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15767, 287, 15, 121, 21680, 953, 834, 26811, 4906, 549, 17444, 427, 96, 448, 32, 1106, 121, 3274, 3, 31, 357, 448, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
count the number of patients whose ethnicity is white - russian and diagnoses icd9 code is 7761?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND diagnoses.icd9_code = "7761"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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's the population that has a median family income of $50,553?
CREATE TABLE table_name_1 ( population VARCHAR, median_family_income VARCHAR )
SELECT COUNT(population) FROM table_name_1 WHERE median_family_income = "$50,553"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 2074, 584, 4280, 28027, 6, 15572, 834, 15474, 834, 15759, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 2074, 24, 65, 3, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 9791, 7830, 61, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 15572, 834, 15474, 834, 15759, 3274, 96, 3229, 1752, 6, 3769, 519, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the poision/klesha word for the tibetan word gti mug ma rig pa?
CREATE TABLE table_61849 ( "Poison/Klesha" text, "Sanskrit" text, "Pali" text, "Tibetan" text, "Alternate translations" text )
SELECT "Poison/Klesha" FROM table_61849 WHERE "Tibetan" = 'gti mug ma rig pa'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2606, 3647, 41, 96, 345, 32, 23, 739, 87, 439, 965, 1024, 121, 1499, 6, 96, 134, 3247, 10648, 17, 121, 1499, 6, 96, 345, 4288, 121, 1499, 6, 96, 382, 23, 346, 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, 345, 32, 23, 739, 87, 439, 965, 1024, 121, 21680, 953, 834, 948, 2606, 3647, 549, 17444, 427, 96, 382, 23, 346, 17, 152, 121, 3274, 3, 31, 122, 17, 23, 3, 12963, 954, 3, 3380, 2576, 31, 1, -100, -100, -100...
What is the muzzle energy with grains (g) bullet weight and a max pressure of 35,000 psi?
CREATE TABLE table_name_67 ( muzzle_energy VARCHAR, bullet_weight VARCHAR, max_pressure VARCHAR )
SELECT muzzle_energy FROM table_name_67 WHERE bullet_weight = "grains (g)" AND max_pressure = "35,000 psi"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 4035, 15133, 834, 24310, 584, 4280, 28027, 6, 11126, 834, 9378, 584, 4280, 28027, 6, 9858, 834, 26866, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 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, 4035, 15133, 834, 24310, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 11126, 834, 9378, 3274, 96, 3484, 77, 7, 41, 122, 61, 121, 3430, 9858, 834, 26866, 3274, 96, 519, 5898, 3, 102, 7, 23, 121, 1, -100, -100...
List the name of all products along with the number of complaints that they have received with a bar chart.
CREATE TABLE Complaints ( complaint_id INTEGER, product_id INTEGER, customer_id INTEGER, complaint_outcome_code VARCHAR(20), complaint_status_code VARCHAR(20), complaint_type_code VARCHAR(20), date_complaint_raised DATETIME, date_complaint_closed DATETIME, staff_id INTEGER ) CREATE ...
SELECT product_name, COUNT(*) FROM Products AS t1 JOIN Complaints AS t2 ON t1.product_id = t2.product_id GROUP BY t1.product_name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2570, 18689, 17, 7, 41, 10394, 834, 23, 26, 3, 21342, 17966, 6, 556, 834, 23, 26, 3, 21342, 17966, 6, 884, 834, 23, 26, 3, 21342, 17966, 6, 10394, 834, 670, 287, 15, 834, 4978, 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, 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, 6, 2847, 17161, 599, 1935, 61, 21680, 7554, 6157, 3, 17, 536, 3, 15355, 3162, 2570, 18689, 17, 7, 6157, 3, 17, 357, 9191, 3, 17, 5411, 15892, 834, 23, 26, 3274, 3, 17, 4416, 15892, 834, 23, 26, ...