NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Who choreographed the smooth waltz with lacey schwimmer?
CREATE TABLE table_name_94 (choreographer_s_ VARCHAR, style VARCHAR, partner VARCHAR)
SELECT choreographer_s_ FROM table_name_94 WHERE style = "smooth waltz" AND partner = "lacey schwimmer"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 19220, 15, 19891, 834, 7, 834, 584, 4280, 28027, 6, 869, 584, 4280, 28027, 6, 2397, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 15030, 164...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15030, 19891, 834, 7, 834, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 869, 3274, 96, 7, 51, 20895, 3, 5380, 17, 172, 121, 3430, 2397, 3274, 96, 11706, 63, 3, 5472, 12174, 121, 1, -100, -100, -100, -100, -1...
What's the record of game 67?
CREATE TABLE table_49348 ( "Game" real, "March" real, "Opponent" text, "Score" text, "Record" text )
SELECT "Record" FROM table_49348 WHERE "Game" = '67'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 519, 3707, 41, 96, 23055, 121, 490, 6, 96, 25019, 121, 490, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 3, 61, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 3647, 519, 3707, 549, 17444, 427, 96, 23055, 121, 3274, 3, 31, 3708, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the tournament for clay surface and outcome is winner with score is 6–3, 6–2
CREATE TABLE table_name_99 (tournament VARCHAR, score VARCHAR, surface VARCHAR, outcome VARCHAR)
SELECT tournament FROM table_name_99 WHERE surface = "clay" AND outcome = "winner" AND score = "6–3, 6–2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 17, 1211, 20205, 17, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 6, 1774, 584, 4280, 28027, 6, 6138, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 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, 0, 0...
[ 3, 23143, 14196, 5892, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 1774, 3274, 96, 4651, 63, 121, 3430, 6138, 3274, 96, 3757, 687, 121, 3430, 2604, 3274, 96, 948, 104, 6355, 431, 104, 357, 121, 1, -100, -100, -100, -100, -100...
What is the sum of byes for losses larger than 14 for a Portland DFL of westerns?
CREATE TABLE table_59316 ( "Portland DFL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real )
SELECT SUM("Byes") FROM table_59316 WHERE "Portland DFL" = 'westerns' AND "Losses" > '14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 25946, 41, 96, 14714, 40, 232, 309, 10765, 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, 180, 6122, 599, 121, 279, 10070, 8512, 21680, 953, 834, 3390, 25946, 549, 17444, 427, 96, 14714, 40, 232, 309, 10765, 121, 3274, 3, 31, 24411, 7, 31, 3430, 96, 434, 13526, 7, 121, 2490, 3, 31, 2534, 31, 1, -100, ...
give me the number of patients whose drug name is propofol?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear 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 ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "Propofol"
[ 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...
How many PATAs does an nForce Professional 3400 MCP have?
CREATE TABLE table_38739 ( "Model" text, "Processors Supported" text, "FSB/HT Frequency (MHz)" text, "Memory" text, "PCI-Express" text, "SATA" real, "PATA" real, "Sound" text, "Network" text, "Features" text )
SELECT SUM("PATA") FROM table_38739 WHERE "Model" = 'nforce professional 3400 mcp'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 4225, 3288, 41, 96, 24663, 121, 1499, 6, 96, 3174, 75, 24901, 7, 4224, 15, 26, 121, 1499, 6, 96, 7674, 279, 87, 10966, 5532, 835, 11298, 41, 20210, 61, 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, 180, 6122, 599, 121, 345, 19282, 8512, 21680, 953, 834, 519, 4225, 3288, 549, 17444, 427, 96, 24663, 121, 3274, 3, 31, 29, 10880, 771, 220, 5548, 3, 51, 75, 102, 31, 1, -100, -100, -100, -100, -100, -100, -100, -1...
How long is the bridge in Villeneuve-sur-Lot?
CREATE TABLE table_name_40 ( longest_span_in_s_metre___feet__ VARCHAR, location VARCHAR )
SELECT longest_span_in_s_metre___feet__ FROM table_name_40 WHERE location = "villeneuve-sur-lot"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 14783, 834, 7, 2837, 834, 77, 834, 7, 834, 22404, 834, 834, 834, 89, 15, 15, 17, 834, 834, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 3, 61, 3, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14783, 834, 7, 2837, 834, 77, 834, 7, 834, 22404, 834, 834, 834, 89, 15, 15, 17, 834, 834, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 1128, 3274, 96, 1420, 26445, 18, 3042, 18, 3171, 121, 1, -100, -100, ...
adult subjects ages 18 _ 35
CREATE TABLE table_train_272 ( "id" int, "fasting_plasma_glucose_fpg" float, "creatinine_clearance_cl" float, "baseline_hemoglobin_hgb" float, "sensitization_on_pra" bool, "age" float, "NOUSE" float )
SELECT * FROM table_train_272 WHERE age >= 18 AND age <= 35
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 2555, 357, 41, 96, 23, 26, 121, 16, 17, 6, 96, 11584, 53, 834, 21178, 9, 834, 13492, 509, 7, 15, 834, 89, 102, 122, 121, 3, 12660, 6, 96, 5045, 144, 77, 63...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 2555, 357, 549, 17444, 427, 1246, 2490, 2423, 507, 3430, 1246, 3, 2, 2423, 3097, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the most common competition type?
CREATE TABLE player ( player_id number, name text, position text, club_id number, apps number, tries number, goals text, points number ) CREATE TABLE competition_result ( competition_id number, club_id_1 number, club_id_2 number, score text ) CREATE TABLE competition ( competition_id number, year number, competition_type text, country text ) CREATE TABLE club ( club_id number, name text, region text, start_year text ) CREATE TABLE club_rank ( rank number, club_id number, gold number, silver number, bronze number, total number )
SELECT competition_type FROM competition GROUP BY competition_type ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1959, 41, 1959, 834, 23, 26, 381, 6, 564, 1499, 6, 1102, 1499, 6, 1886, 834, 23, 26, 381, 6, 4050, 381, 6, 3, 9000, 381, 6, 1766, 1499, 6, 979, 381, 3, 61, 3, 32102, 32103, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2259, 834, 6137, 21680, 2259, 350, 4630, 6880, 272, 476, 2259, 834, 6137, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the zip code of the address in the city Port Chelsea?
CREATE TABLE Addresses (zip_postcode VARCHAR, city VARCHAR)
SELECT zip_postcode FROM Addresses WHERE city = 'Port Chelsea'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 13246, 15, 7, 41, 13453, 834, 5950, 4978, 584, 4280, 28027, 6, 690, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 10658, 1081, 13, 8, 1115, 16, 8, 690, 3625, 14373...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10658, 834, 5950, 4978, 21680, 13246, 15, 7, 549, 17444, 427, 690, 3274, 3, 31, 14714, 14373, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Object type has a Constellation of cancer?
CREATE TABLE table_52287 ( "NGC number" real, "Object type" text, "Constellation" text, "Right ascension ( J2000 )" text, "Declination ( J2000 )" text )
SELECT "Object type" FROM table_52287 WHERE "Constellation" = 'cancer'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5373, 357, 4225, 41, 96, 12531, 254, 381, 121, 490, 6, 96, 17057, 686, 121, 1499, 6, 96, 4302, 7, 6714, 257, 121, 1499, 6, 96, 448, 2632, 38, 75, 35, 1938, 41, 446, 135...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17057, 686, 121, 21680, 953, 834, 5373, 357, 4225, 549, 17444, 427, 96, 4302, 7, 6714, 257, 121, 3274, 3, 31, 1608, 2110, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What date were there more than 16,000 people in the crowd and Carlton was the home team?
CREATE TABLE table_11118 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Date" FROM table_11118 WHERE "Crowd" > '16,000' AND "Home team" = 'carlton'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15866, 2606, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 15866, 2606, 549, 17444, 427, 96, 254, 3623, 26, 121, 2490, 3, 31, 536, 14835, 31, 3430, 96, 19040, 372, 121, 3274, 3, 31, 1720, 7377, 31, 1, -100, -100, -100, -100, -100, -100,...
How many people watch an away team score 6.9 (45)?
CREATE TABLE table_4898 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT AVG("Crowd") FROM table_4898 WHERE "Away team score" = '6.9 (45)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 3916, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 254, 3623, 26, 8512, 21680, 953, 834, 3707, 3916, 549, 17444, 427, 96, 188, 1343, 372, 2604, 121, 3274, 3, 31, 948, 5, 1298, 41, 2128, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100...
On which day were the subtotal hours 9:30?
CREATE TABLE table_35535 ( "Date" text, "ID code of his Zero Fighter" text, "Flight hours" text, "Count" text, "Sub-total" text )
SELECT "Date" FROM table_35535 WHERE "Sub-total" = '9:30'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 755, 2469, 41, 96, 308, 342, 121, 1499, 6, 96, 4309, 1081, 13, 112, 17971, 27894, 121, 1499, 6, 96, 371, 2242, 716, 121, 1499, 6, 96, 10628, 121, 1499, 6, 96, 25252...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2469, 755, 2469, 549, 17444, 427, 96, 25252, 18, 235, 1947, 121, 3274, 3, 31, 21150, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is total orders for goals of 239?
CREATE TABLE table_name_77 (order VARCHAR, goals VARCHAR)
SELECT COUNT(order) FROM table_name_77 WHERE goals = 239
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 9397, 584, 4280, 28027, 6, 1766, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 792, 5022, 21, 1766, 13, 204, 3288, 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, 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, 2847, 17161, 599, 9397, 61, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 1766, 3274, 204, 3288, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the grid when the driver is pierre levegh?
CREATE TABLE table_name_11 ( grid VARCHAR, driver VARCHAR )
SELECT grid FROM table_name_11 WHERE driver = "pierre levegh"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 8634, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 8634, 116, 8, 2535, 19, 16425, 90, 162, 122, 107, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8634, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 2535, 3274, 96, 8343, 60, 90, 162, 122, 107, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
how many patients whose gender is m and drug code is clop75?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id 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, label text, fluid 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, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.gender = "M" AND prescriptions.formulary_drug_cd = "CLOP75"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What chng has a rank greater than 6, with 12 as a prev?
CREATE TABLE table_name_55 (chng VARCHAR, rank VARCHAR, prev VARCHAR)
SELECT chng FROM table_name_55 WHERE rank > 6 AND prev = 12
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 524, 1725, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 554, 208, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 3, 524, 1725, 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, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 524, 1725, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 11003, 2490, 431, 3430, 554, 208, 3274, 586, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Find the organisation ids and details of the organisations which are involved in
CREATE TABLE grants ( grant_id number, organisation_id number, grant_amount number, grant_start_date time, grant_end_date time, other_details text ) CREATE TABLE project_staff ( staff_id number, project_id number, role_code text, date_from time, date_to time, other_details text ) CREATE TABLE staff_roles ( role_code text, role_description text ) CREATE TABLE documents ( document_id number, document_type_code text, grant_id number, sent_date time, response_received_date time, other_details text ) CREATE TABLE project_outcomes ( project_id number, outcome_code text, outcome_details text ) CREATE TABLE document_types ( document_type_code text, document_description text ) CREATE TABLE projects ( project_id number, organisation_id number, project_details text ) CREATE TABLE tasks ( task_id number, project_id number, task_details text, eg agree objectives text ) CREATE TABLE organisation_types ( organisation_type text, organisation_type_description text ) CREATE TABLE research_outcomes ( outcome_code text, outcome_description text ) CREATE TABLE research_staff ( staff_id number, employer_organisation_id number, staff_details text ) CREATE TABLE organisations ( organisation_id number, organisation_type text, organisation_details text )
SELECT T2.organisation_id, T2.organisation_details FROM grants AS T1 JOIN organisations AS T2 ON T1.organisation_id = T2.organisation_id GROUP BY T2.organisation_id HAVING SUM(T1.grant_amount) > 6000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11133, 41, 5334, 834, 23, 26, 381, 6, 5102, 834, 23, 26, 381, 6, 5334, 834, 9, 11231, 381, 6, 5334, 834, 10208, 834, 5522, 97, 6, 5334, 834, 989, 834, 5522, 97, 6, 119, 834, 221,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10832, 834, 23, 26, 6, 332, 4416, 10832, 834, 221, 5756, 7, 21680, 11133, 6157, 332, 536, 3, 15355, 3162, 6445, 6157, 332, 357, 9191, 332, 5411, 10832, 834, 23, 26, 3274, 332, 4416, 10832, 834, 23, 26, ...
What is American, when Initial-Syllable Open/Semi-Open Unstressed Vowels is 'y /a , /'?
CREATE TABLE table_name_7 ( american VARCHAR, initial_syllable_open_semi_open_unstressed_vowels VARCHAR )
SELECT american FROM table_name_7 WHERE initial_syllable_open_semi_open_unstressed_vowels = "y /aɪ, ɨ/"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 10211, 584, 4280, 28027, 6, 2332, 834, 7, 63, 195, 179, 834, 8751, 834, 7, 15, 51, 23, 834, 8751, 834, 202, 7, 9746, 15, 26, 834, 1621, 9803, 7, 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, 10211, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 2332, 834, 7, 63, 195, 179, 834, 8751, 834, 7, 15, 51, 23, 834, 8751, 834, 202, 7, 9746, 15, 26, 834, 1621, 9803, 7, 3274, 96, 63, 3, 87, 9, 2, 6, 3, ...
Find the personal name, family name, and author ID of the course author that teaches the most courses.
CREATE TABLE Course_Authors_and_Tutors ( personal_name VARCHAR, family_name VARCHAR, author_id VARCHAR ) CREATE TABLE Courses ( author_id VARCHAR )
SELECT T1.personal_name, T1.family_name, T2.author_id FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id = T2.author_id GROUP BY T2.author_id ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8670, 834, 23602, 127, 7, 834, 232, 834, 28676, 7, 41, 525, 834, 4350, 584, 4280, 28027, 6, 384, 834, 4350, 584, 4280, 28027, 6, 2291, 834, 23, 26, 584, 4280, 28027, 3, 61, 3, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17108, 834, 4350, 6, 332, 5411, 15474, 834, 4350, 6, 332, 4416, 17415, 834, 23, 26, 21680, 8670, 834, 23602, 127, 7, 834, 232, 834, 28676, 7, 6157, 332, 536, 3, 15355, 3162, 8670, 7, 6157, 332, 357, 919...
What is the common english word with the abbr of ai?
CREATE TABLE table_name_81 ( common_english VARCHAR, abbr VARCHAR )
SELECT common_english FROM table_name_81 WHERE abbr = "ai"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 1017, 834, 4606, 40, 1273, 584, 4280, 28027, 6, 3, 12982, 52, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1017, 22269, 1448, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1017, 834, 4606, 40, 1273, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 3, 12982, 52, 3274, 96, 9, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
NELL papers
CREATE TABLE paperdataset ( paperid int, datasetid int ) CREATE TABLE field ( fieldid int ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE cite ( citingpaperid int, citedpaperid int )
SELECT DISTINCT paper.paperid FROM dataset, paper, paperdataset WHERE dataset.datasetname = 'NELL' AND paperdataset.datasetid = dataset.datasetid AND paper.paperid = paperdataset.paperid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1040, 6757, 2244, 41, 1040, 23, 26, 16, 17, 6, 17953, 23, 26, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1057, 41, 1057, 23, 26, 16, 17, 3, 61, 3, 32102,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 1040, 5, 19587, 23, 26, 21680, 17953, 6, 1040, 6, 1040, 6757, 2244, 549, 17444, 427, 17953, 5, 6757, 2244, 4350, 3274, 3, 31, 567, 12735, 31, 3430, 1040, 6757, 2244, 5, 6757, 2244, 23, 26, 3...
Draw a pie chart about the proportion of ACC_Regular_Season and All_Games_Percent.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text )
SELECT ACC_Regular_Season, All_Games_Percent FROM basketball_match
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 6, 432, 834, 23055, 7, 834, 12988, 3728, 21680, 8498, 834, 19515, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average Loss, when Avg/g is 0, and when Long is less than 0?
CREATE TABLE table_76632 ( "Name" text, "Gain" real, "Loss" real, "Long" real, "Avg/g" real )
SELECT AVG("Loss") FROM table_76632 WHERE "Avg/g" = '0' AND "Long" < '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 3891, 357, 41, 96, 23954, 121, 1499, 6, 96, 517, 9, 77, 121, 490, 6, 96, 434, 32, 7, 7, 121, 490, 6, 96, 434, 2444, 121, 490, 6, 96, 188, 208, 122, 87, 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, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 434, 32, 7, 7, 8512, 21680, 953, 834, 3959, 3891, 357, 549, 17444, 427, 96, 188, 208, 122, 87, 122, 121, 3274, 3, 31, 632, 31, 3430, 96, 434, 2444, 121, 3, 2, 3, 31, 632, 31, 1, -100, -1...
Bar chart x axis open date y axis how many open date
CREATE TABLE church ( Church_ID int, Name text, Organized_by text, Open_Date int, Continuation_of text ) CREATE TABLE people ( People_ID int, Name text, Country text, Is_Male text, Age int ) CREATE TABLE wedding ( Church_ID int, Male_ID int, Female_ID int, Year int )
SELECT Open_Date, COUNT(Open_Date) FROM church
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2078, 41, 2345, 834, 4309, 16, 17, 6, 5570, 1499, 6, 18190, 1601, 834, 969, 1499, 6, 2384, 834, 308, 342, 16, 17, 6, 3, 16798, 76, 257, 834, 858, 1499, 3, 61, 3, 32102, 32103, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2384, 834, 308, 342, 6, 2847, 17161, 599, 22696, 834, 308, 342, 61, 21680, 2078, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many patients whose primary disease is pituitary bleed and days of hospital stay is greater than 4?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE 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 text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "PITUITARY BLEED" AND demographic.days_stay > "4"
[ 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, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 4111, 9968, 3177, 24721, 272, 3765, 2326, 121, 3430, 14798, 5, 1135, 7...
how long was the film schooled out before beginning blue ?
CREATE TABLE table_204_323 ( id number, "year" number, "film" text, "function" text, "notes" text )
SELECT (SELECT "year" FROM table_204_323 WHERE "film" = 'beginning blue') - (SELECT "year" FROM table_204_323 WHERE "film" = 'schooled')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 2668, 519, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 9988, 121, 1499, 6, 96, 23993, 121, 1499, 6, 96, 7977, 7, 121, 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, 0, 0...
[ 3, 23143, 14196, 41, 23143, 14196, 96, 1201, 121, 21680, 953, 834, 26363, 834, 2668, 519, 549, 17444, 427, 96, 9988, 121, 3274, 3, 31, 27006, 53, 1692, 31, 61, 3, 18, 41, 23143, 14196, 96, 1201, 121, 21680, 953, 834, 26363, 834, 2...
What is Celta's Agg.?
CREATE TABLE table_name_81 ( agg VARCHAR, team_1 VARCHAR )
SELECT agg FROM table_name_81 WHERE team_1 = "celta"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 3, 9, 4102, 584, 4280, 28027, 6, 372, 834, 536, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 9201, 17, 9, 31, 7, 71, 4102, 5, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 9, 4102, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 372, 834, 536, 3274, 96, 7125, 17, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many appearances by Meek Mill?
CREATE TABLE table_29160596_1 ( appearances INTEGER, top_mc VARCHAR )
SELECT MAX(appearances) FROM table_29160596_1 WHERE top_mc = "Meek Mill"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 2938, 3076, 4314, 834, 536, 41, 3179, 7, 3, 21342, 17966, 6, 420, 834, 51, 75, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 3179, 7, 57, 283, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 3096, 2741, 663, 7, 61, 21680, 953, 834, 3166, 2938, 3076, 4314, 834, 536, 549, 17444, 427, 420, 834, 51, 75, 3274, 96, 329, 10266, 4185, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Attendance has an Opponent of new york giants, and a Week smaller than 5?
CREATE TABLE table_name_88 ( attendance INTEGER, opponent VARCHAR, week VARCHAR )
SELECT AVG(attendance) FROM table_name_88 WHERE opponent = "new york giants" AND week < 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 11364, 3, 21342, 17966, 6, 15264, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 22497, 663, 65, 46, 4495, 9977,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 15264, 3274, 96, 5534, 25453, 6079, 7, 121, 3430, 471, 3, 2, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the sum for the week with the date october 30, 1994?
CREATE TABLE table_name_55 (week INTEGER, date VARCHAR)
SELECT SUM(week) FROM table_name_55 WHERE date = "october 30, 1994"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 8041, 3, 21342, 17966, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4505, 21, 8, 471, 28, 8, 833, 3, 32, 75, 235, 1152, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 8041, 61, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 833, 3274, 96, 32, 75, 235, 1152, 11558, 7520, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the casting temperature for the alloy with hardness 21?
CREATE TABLE table_name_98 ( casting_at__°c_ VARCHAR, hardness VARCHAR )
SELECT casting_at__°c_ FROM table_name_98 WHERE hardness = "21"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 16050, 834, 144, 834, 834, 1956, 75, 834, 584, 4280, 28027, 6, 614, 655, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 16050, 291...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16050, 834, 144, 834, 834, 1956, 75, 834, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 614, 655, 3274, 96, 2658, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest power (hp) of an OM314 engine?
CREATE TABLE table_name_5 ( power__hp_ INTEGER, engine VARCHAR )
SELECT MAX(power__hp_) FROM table_name_5 WHERE engine = "om314"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 579, 834, 834, 107, 102, 834, 3, 21342, 17966, 6, 1948, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 579, 41, 107, 102, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 6740, 834, 834, 107, 102, 834, 61, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 1948, 3274, 96, 32, 51, 3341, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which motor's quantity was more than 8, and a class of bs 1915?
CREATE TABLE table_name_57 ( motor VARCHAR, quantity VARCHAR, class VARCHAR )
SELECT motor FROM table_name_57 WHERE quantity > 8 AND class = "bs 1915"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 2340, 584, 4280, 28027, 6, 8708, 584, 4280, 28027, 6, 853, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 2340, 31, 7, 8708, 47, 72, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2340, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 8708, 2490, 505, 3430, 853, 3274, 96, 115, 7, 957, 1808, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many wheels does the train owned by Texas and New Orleans Railroad #319 have?
CREATE TABLE table_1057316_1 ( wheel_arrangement___whyte_notation__ VARCHAR, operational_owner_s_ VARCHAR )
SELECT COUNT(wheel_arrangement___whyte_notation__) FROM table_1057316_1 WHERE operational_owner_s_ = "Texas and New Orleans Railroad #319"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 12869, 4552, 2938, 834, 536, 41, 5094, 834, 291, 5517, 297, 834, 834, 834, 24443, 17, 15, 834, 2264, 257, 834, 834, 584, 4280, 28027, 6, 7763, 834, 13238, 834, 7, 834, 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, 14074, 834, 291, 5517, 297, 834, 834, 834, 24443, 17, 15, 834, 2264, 257, 834, 834, 61, 21680, 953, 834, 12869, 4552, 2938, 834, 536, 549, 17444, 427, 7763, 834, 13238, 834, 7, 834, 3274, 96, 13598...
Find the first and last name of students whose age is younger than the average age.
CREATE TABLE student (fname VARCHAR, lname VARCHAR, age INTEGER)
SELECT fname, lname FROM student WHERE age < (SELECT AVG(age) FROM student)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 41, 89, 4350, 584, 4280, 28027, 6, 3, 40, 4350, 584, 4280, 28027, 6, 1246, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 2588, 8, 166, 11, 336, 564, 13, 481, 3, 2544, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 89, 4350, 6, 3, 40, 4350, 21680, 1236, 549, 17444, 427, 1246, 3, 2, 41, 23143, 14196, 71, 17217, 599, 545, 61, 21680, 1236, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the attendance when the away team was Real Espana?
CREATE TABLE table_9229 ( "Date" text, "Home" text, "Score" text, "Away" text, "Attendance" real )
SELECT MIN("Attendance") FROM table_9229 WHERE "Away" = 'real espana'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4508, 3166, 41, 96, 308, 342, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 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, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 4508, 3166, 549, 17444, 427, 96, 188, 1343, 121, 3274, 3, 31, 6644, 16159, 152, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the position of the player from the denver broncos?
CREATE TABLE table_name_28 (position VARCHAR, team VARCHAR)
SELECT position FROM table_name_28 WHERE team = "denver broncos"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 4718, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1102, 13, 8, 1959, 45, 8, 177, 624, 3, 13711, 509, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 372, 3274, 96, 537, 624, 3, 13711, 509, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
have a serum creatinine greater than or equal to 1.5 milligrams / deciliter ( mg / dl ) ( male ) or greater than or equal to 1.4 mg / dl ( female ) , or a creatinine clearance less than 60 milliliters / minute ( ml / minute )
CREATE TABLE table_dev_38 ( "id" int, "gender" string, "serum_potassium" float, "systolic_blood_pressure_sbp" int, "creatinine_clearance_cl" float, "estimated_glomerular_filtration_rate_egfr" int, "diastolic_blood_pressure_dbp" int, "ace_inhibitors" bool, "serum_creatinine" float, "kidney_disease" bool, "NOUSE" float )
SELECT * FROM table_dev_38 WHERE (serum_creatinine >= 1.5 AND gender = 'male') OR (serum_creatinine >= 1.4 AND gender = 'female') OR creatinine_clearance_cl < 60
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9776, 834, 3747, 41, 96, 23, 26, 121, 16, 17, 6, 96, 122, 3868, 121, 6108, 6, 96, 7, 49, 440, 834, 3013, 6500, 440, 121, 3, 12660, 6, 96, 7, 63, 7, 235, 2176, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9776, 834, 3747, 549, 17444, 427, 41, 7, 49, 440, 834, 5045, 144, 77, 630, 2490, 2423, 8613, 3430, 7285, 3274, 3, 31, 13513, 31, 61, 4674, 41, 7, 49, 440, 834, 5045, 144, 77, 630, 2490, 24...
Who was the game on July 12 played against?
CREATE TABLE table_19789597_6 ( opponent VARCHAR, date VARCHAR )
SELECT opponent FROM table_19789597_6 WHERE date = "July 12"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 3940, 3301, 4327, 834, 948, 41, 15264, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 467, 30, 1718, 586, 1944, 581, 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, 15264, 21680, 953, 834, 2294, 3940, 3301, 4327, 834, 948, 549, 17444, 427, 833, 3274, 96, 683, 83, 63, 586, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the result when the date is august 24, 1997?
CREATE TABLE table_name_52 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_52 WHERE date = "august 24, 1997"
[ 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, 125, 19, 8, 741, 116, 8, 833, 19, 14663, 14320, 6622, 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, 741, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 833, 3274, 96, 402, 17198, 14320, 6622, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was his partner when he played on carpet?
CREATE TABLE table_32528 ( "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score" text )
SELECT "Partner" FROM table_32528 WHERE "Surface" = 'carpet'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 1828, 2577, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 13725, 687, 121, 1499, 6, 96, 667, 102, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13725, 687, 121, 21680, 953, 834, 519, 1828, 2577, 549, 17444, 427, 96, 134, 450, 4861, 121, 3274, 3, 31, 1720, 4995, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which location did the Tigers have?
CREATE TABLE table_name_90 ( location VARCHAR, nickname VARCHAR )
SELECT location FROM table_name_90 WHERE nickname = "tigers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 1128, 584, 4280, 28027, 6, 24649, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1128, 410, 8, 11804, 7, 43, 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, 1128, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 24649, 3274, 96, 2880, 277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How much Rossendale has a Fylde smaller than 0?
CREATE TABLE table_name_95 ( rossendale VARCHAR, fylde INTEGER )
SELECT COUNT(rossendale) FROM table_name_95 WHERE fylde < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 3, 1859, 7, 35, 5437, 584, 4280, 28027, 6, 3, 89, 63, 40, 221, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 231, 9616, 35, 5437, 65, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 1859, 7, 35, 5437, 61, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 3, 89, 63, 40, 221, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the opponent for the game that occurred after week 13?
CREATE TABLE table_38171 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT "Opponent" FROM table_38171 WHERE "Week" > '13'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3747, 2517, 536, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 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, 667, 102, 9977, 121, 21680, 953, 834, 3747, 2517, 536, 549, 17444, 427, 96, 518, 10266, 121, 2490, 3, 31, 2368, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is every entry for intermediate stops for the destination of Manchester?
CREATE TABLE table_3005999_1 (intermediate_stops VARCHAR, destination VARCHAR)
SELECT intermediate_stops FROM table_3005999_1 WHERE destination = "Manchester"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5426, 3390, 3264, 834, 536, 41, 3870, 5700, 342, 834, 7618, 7, 584, 4280, 28027, 6, 3954, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 334, 1764, 21, 18957, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18957, 834, 7618, 7, 21680, 953, 834, 5426, 3390, 3264, 834, 536, 549, 17444, 427, 3954, 3274, 96, 7296, 13263, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what was the total attendance of weeks 1 and 2 ?
CREATE TABLE table_203_672 ( id number, "week" number, "date" text, "opponent" text, "result" text, "venue" text, "attendance" number )
SELECT SUM("attendance") FROM table_203_672 WHERE "week" = 1 OR "week" = 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3708, 357, 41, 3, 23, 26, 381, 6, 96, 8041, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 60, 7, 83, 17, 121, 1499, 6, 96, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 15116, 663, 8512, 21680, 953, 834, 23330, 834, 3708, 357, 549, 17444, 427, 96, 8041, 121, 3274, 209, 4674, 96, 8041, 121, 3274, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the date of the game where the record was 4-4?
CREATE TABLE table_name_56 ( date VARCHAR, record VARCHAR )
SELECT date FROM table_name_56 WHERE record = "4-4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 833, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 833, 13, 8, 467, 213, 8, 1368, 47, 314, 4278, 58,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 1368, 3274, 96, 591, 18, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What June 10-11 is is that corresponds to March 28, 1968?
CREATE TABLE table_25284864_3 (june_10_11 VARCHAR, march_27_29 VARCHAR)
SELECT june_10_11 FROM table_25284864_3 WHERE march_27_29 = "March 28, 1968"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 2577, 3707, 4389, 834, 519, 41, 6959, 15, 834, 1714, 834, 2596, 584, 4280, 28027, 6, 10556, 834, 2555, 834, 3166, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 6959, 15, 834, 1714, 834, 2596, 21680, 953, 834, 1828, 2577, 3707, 4389, 834, 519, 549, 17444, 427, 10556, 834, 2555, 834, 3166, 3274, 96, 25019, 13719, 16506, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100...
In 1948-10-28, what were the lowest Goals in Tehran, Iran?
CREATE TABLE table_52151 ( "Date" text, "Venue" text, "Result" text, "Competition" text, "Goals" real )
SELECT MIN("Goals") FROM table_52151 WHERE "Venue" = 'tehran, iran' AND "Date" = '1948-10-28'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5373, 26578, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 5890, 4995, 4749, 121, 1499, 6, 96, 6221, 5405, 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, 6221, 5405, 8512, 21680, 953, 834, 5373, 26578, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 17, 7392, 152, 6, 3, 23, 2002, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 2294, 3707, ...
count the number of patients less than 49 years who stayed in the hospital for more than 3 days.
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 ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) 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 text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "49" AND demographic.days_stay > "3"
[ 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, 549, 17444, 427, 14798, 5, 545, 3, 2, 96, 3647, 121, 3430, 14798, 5, 1135, 7, 834, 21545, 2490, 96, 519, 121, 1, -100, -1...
What is the score of the match with partner Jim Pugh?
CREATE TABLE table_16029 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text )
SELECT "Score" FROM table_16029 WHERE "Partner" = 'Jim Pugh'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19129, 3166, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 476, 2741, 121, 490, 6, 96, 254, 1483, 12364, 2009, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 13725, 687,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19129, 3166, 549, 17444, 427, 96, 13725, 687, 121, 3274, 3, 31, 683, 603, 276, 14439, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the detail of the location UK Gallery?
CREATE TABLE visitors ( tourist_id number, tourist_details text ) CREATE TABLE tourist_attractions ( tourist_attraction_id number, attraction_type_code text, location_id number, how_to_get_there text, name text, description text, opening_hours text, other_details text ) CREATE TABLE street_markets ( market_id number, market_details text ) CREATE TABLE theme_parks ( theme_park_id number, theme_park_details text ) CREATE TABLE royal_family ( royal_family_id number, royal_family_details text ) CREATE TABLE ref_attraction_types ( attraction_type_code text, attraction_type_description text ) CREATE TABLE visits ( visit_id number, tourist_attraction_id number, tourist_id number, visit_date time, visit_details text ) CREATE TABLE ref_hotel_star_ratings ( star_rating_code text, star_rating_description text ) CREATE TABLE photos ( photo_id number, tourist_attraction_id number, name text, description text, filename text, other_details text ) CREATE TABLE locations ( location_id number, location_name text, address text, other_details text ) CREATE TABLE tourist_attraction_features ( tourist_attraction_id number, feature_id number ) CREATE TABLE museums ( museum_id number, museum_details text ) CREATE TABLE features ( feature_id number, feature_details text ) CREATE TABLE shops ( shop_id number, shop_details text ) CREATE TABLE staff ( staff_id number, tourist_attraction_id number, name text, other_details text ) CREATE TABLE hotels ( hotel_id number, star_rating_code text, pets_allowed_yn text, price_range number, other_hotel_details text )
SELECT other_details FROM locations WHERE location_name = "UK Gallery"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2692, 41, 8548, 834, 23, 26, 381, 6, 8548, 834, 221, 5756, 7, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 8548, 834, 144, 10559, 7, 41, 8548, 834, 144, 10559, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 119, 834, 221, 5756, 7, 21680, 3248, 549, 17444, 427, 1128, 834, 4350, 3274, 96, 15787, 7557, 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 car number sponsored by Post-It / National Guard?
CREATE TABLE table_name_40 ( car__number INTEGER, sponsor VARCHAR )
SELECT MAX(car__number) FROM table_name_40 WHERE sponsor = "post-it / national guard"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 443, 834, 834, 5525, 1152, 3, 21342, 17966, 6, 9037, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 443, 381, 11851, 57, 184...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 1720, 834, 834, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 9037, 3274, 96, 5950, 18, 155, 3, 87, 1157, 4879, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the 2007 result for a 2008 result of 1R and 2009 result of 2R?
CREATE TABLE table_name_47 (Id VARCHAR)
SELECT 2007 FROM table_name_47 WHERE 2009 = "2r" AND 2008 = "1r"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 4101, 741, 21, 3, 9, 2628, 741, 13, 209, 448, 11, 2464, 741, 13, 204, 448, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4101, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 2464, 3274, 96, 357, 52, 121, 3430, 2628, 3274, 96, 536, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the production code for episode 6 in the season?
CREATE TABLE table_1876825_3 ( production_code VARCHAR, no_in_season VARCHAR )
SELECT production_code FROM table_1876825_3 WHERE no_in_season = 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25828, 3651, 1828, 834, 519, 41, 999, 834, 4978, 584, 4280, 28027, 6, 150, 834, 77, 834, 9476, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 999, 1081...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 999, 834, 4978, 21680, 953, 834, 25828, 3651, 1828, 834, 519, 549, 17444, 427, 150, 834, 77, 834, 9476, 3274, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which team was played against on the game where Earl Watson (6) had the highest assists on January 19?
CREATE TABLE table_58003 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Team" FROM table_58003 WHERE "High assists" = 'earl watson (6)' AND "Date" = 'january 19'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3449, 1206, 519, 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, 18699, 121, 21680, 953, 834, 3449, 1206, 519, 549, 17444, 427, 96, 21417, 13041, 121, 3274, 3, 31, 2741, 40, 8036, 17, 739, 3, 18669, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 7066, 76, 1208, 957, 31, 1, -10...
What is the total overall in round 1, in which Charles White was a player?
CREATE TABLE table_32200 ( "Round" real, "Overall" real, "Player" text, "Position" text, "School/Club Team" text )
SELECT SUM("Overall") FROM table_32200 WHERE "Player" = 'charles white' AND "Round" < '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2668, 3632, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 23847, 1748, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 29364, 87, 254, 11158...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 121, 23847, 1748, 8512, 21680, 953, 834, 2668, 3632, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 4059, 965, 872, 31, 3430, 96, 448, 32, 1106, 121, 3, 2, 3, 31, 536, 31, 1, -100, -100, -100,...
How many times did Alyn McCauley get picked?
CREATE TABLE table_2886617_4 (pick VARCHAR, player VARCHAR)
SELECT COUNT(pick) FROM table_2886617_4 WHERE player = "Alyn McCauley"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 26750, 2517, 834, 591, 41, 17967, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 648, 410, 71, 120, 29, 7040, 402, 1306, 129,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 17967, 61, 21680, 953, 834, 2577, 26750, 2517, 834, 591, 549, 17444, 427, 1959, 3274, 96, 188, 120, 29, 7040, 402, 1306, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the game number on march 27?
CREATE TABLE table_29772 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT MIN("Game") FROM table_29772 WHERE "Date" = 'March 27'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 4013, 357, 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, 3, 17684, 599, 121, 23055, 8512, 21680, 953, 834, 3166, 4013, 357, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 25019, 2307, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the name of the project that has a scientist assigned to it whose name contains 'Smith', and count them by a bar chart, and show by the how many name in descending please.
CREATE TABLE AssignedTo ( Scientist int, Project char(4) ) CREATE TABLE Projects ( Code Char(4), Name Char(50), Hours int ) CREATE TABLE Scientists ( SSN int, Name Char(30) )
SELECT T2.Name, COUNT(T2.Name) FROM AssignedTo AS T1 JOIN Projects AS T2 ON T1.Project = T2.Code JOIN Scientists AS T3 ON T1.Scientist = T3.SSN WHERE T3.Name LIKE '%Smith%' GROUP BY T2.Name ORDER BY COUNT(T2.Name) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 282, 15532, 3696, 41, 21166, 16, 17, 6, 2786, 3, 4059, 10820, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2786, 7, 41, 3636, 7435, 10820, 6, 5570, 7435, 599, 1752, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 23954, 6, 2847, 17161, 599, 382, 4416, 23954, 61, 21680, 282, 15532, 3696, 6157, 332, 536, 3, 15355, 3162, 2786, 7, 6157, 332, 357, 9191, 332, 5411, 3174, 11827, 3274, 332, 4416, 22737, 3, 15355, 3162, 2116...
How many video game types exist?
CREATE TABLE plays_games ( stuid number, gameid number, hours_played number ) CREATE TABLE sportsinfo ( stuid number, sportname text, hoursperweek number, gamesplayed number, onscholarship text ) CREATE TABLE video_games ( gameid number, gname text, gtype text ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text )
SELECT COUNT(DISTINCT gtype) FROM video_games
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4805, 834, 7261, 7, 41, 21341, 23, 26, 381, 6, 467, 23, 26, 381, 6, 716, 834, 4895, 15, 26, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2100, 9583, 41, 21341, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 122, 6137, 61, 21680, 671, 834, 7261, 7, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
give me the number of patients whose drug type is main and lab test name is ammonia?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.drug_type = "MAIN" AND lab.label = "Ammonia"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 338...
How many values for points have Sophia Witherspoon as the player?
CREATE TABLE table_25352324_5 ( points VARCHAR, player VARCHAR )
SELECT COUNT(points) FROM table_25352324_5 WHERE player = "Sophia Witherspoon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 2469, 2773, 2266, 834, 755, 41, 979, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 2620, 21, 979, 43, 30174, 438, 49, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 2700, 7, 61, 21680, 953, 834, 1828, 2469, 2773, 2266, 834, 755, 549, 17444, 427, 1959, 3274, 96, 5231, 11692, 9, 438, 49, 7990, 106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
From what series is Peck Up Your Troubles?
CREATE TABLE table_name_66 ( series VARCHAR, title VARCHAR )
SELECT series FROM table_name_66 WHERE title = "peck up your troubles"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 939, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 1029, 125, 939, 19, 276, 5007, 3234, 696, 31520, 7, 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, 939, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 2233, 3274, 96, 102, 5007, 95, 39, 16973, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the website of the cunningham hill infant school?
CREATE TABLE table_28523_2 ( school VARCHAR )
SELECT school AS website FROM table_28523_2 WHERE school = "Cunningham Hill Infant school"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4433, 2773, 834, 357, 41, 496, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 475, 13, 8, 123, 9416, 1483, 9956, 9806, 496, 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, 496, 6157, 475, 21680, 953, 834, 357, 4433, 2773, 834, 357, 549, 17444, 427, 496, 3274, 96, 15784, 9416, 1483, 3588, 28405, 496, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Location of the Mill Built in the Early 19th Century?
CREATE TABLE table_63582 ( "Location" text, "Name of mill" text, "Type" text, "Built" text, "Notes" text )
SELECT "Location" FROM table_63582 WHERE "Built" = 'early 19th century'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 3449, 357, 41, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 23954, 13, 3293, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 7793, 173, 17, 121, 1499, 6, 96, 10358, 15, 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, 96, 434, 32, 75, 257, 121, 21680, 953, 834, 3891, 3449, 357, 549, 17444, 427, 96, 7793, 173, 17, 121, 3274, 3, 31, 2741, 120, 957, 189, 2646, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What are the subject ID, subject name, and the number of available courses for each subject?
CREATE TABLE student_tests_taken ( registration_id number, date_test_taken time, test_result text ) CREATE TABLE student_course_enrolment ( registration_id number, student_id number, course_id number, date_of_enrolment time, date_of_completion time ) CREATE TABLE course_authors_and_tutors ( author_id number, author_tutor_atb text, login_name text, password text, personal_name text, middle_name text, family_name text, gender_mf text, address_line_1 text ) CREATE TABLE courses ( course_id number, author_id number, subject_id number, course_name text, course_description text ) CREATE TABLE students ( student_id number, date_of_registration time, date_of_latest_logon time, login_name text, password text, personal_name text, middle_name text, family_name text ) CREATE TABLE subjects ( subject_id number, subject_name text )
SELECT T1.subject_id, T2.subject_name, COUNT(*) FROM courses AS T1 JOIN subjects AS T2 ON T1.subject_id = T2.subject_id GROUP BY T1.subject_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 834, 4377, 7, 834, 4914, 29, 41, 3816, 834, 23, 26, 381, 6, 833, 834, 4377, 834, 4914, 29, 97, 6, 794, 834, 60, 7, 83, 17, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7304, 11827, 834, 23, 26, 6, 332, 4416, 7304, 11827, 834, 4350, 6, 2847, 17161, 599, 1935, 61, 21680, 2996, 6157, 332, 536, 3, 15355, 3162, 7404, 6157, 332, 357, 9191, 332, 5411, 7304, 11827, 834, 23, 26,...
What's the smallest number of bronze medals that any one if the ensembles has?
CREATE TABLE table_1305623_6 ( bronze_medals INTEGER )
SELECT MIN(bronze_medals) FROM table_1305623_6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21448, 4834, 2773, 834, 948, 41, 13467, 834, 2726, 5405, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 3, 17924, 381, 13, 13467, 9365, 7, 24, 136, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 13711, 776, 834, 2726, 5405, 61, 21680, 953, 834, 21448, 4834, 2773, 834, 948, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How often does Dengeki girl's style come out?
CREATE TABLE table_name_5 ( frequency VARCHAR, parent_magazine VARCHAR )
SELECT frequency FROM table_name_5 WHERE parent_magazine = "dengeki girl's style"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 7321, 584, 4280, 28027, 6, 4208, 834, 10835, 15, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 557, 405, 3128, 397, 2168, 3202, 31, 7, 86...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7321, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 4208, 834, 10835, 15, 3274, 96, 537, 397, 2168, 3202, 31, 7, 869, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Before 2007, what was the avg start that had a pole of 0 and in 65th position?
CREATE TABLE table_name_81 (starts INTEGER, year VARCHAR, poles VARCHAR, position VARCHAR)
SELECT AVG(starts) FROM table_name_81 WHERE poles = 0 AND position = "65th" AND year < 2007
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 10208, 7, 3, 21342, 17966, 6, 215, 584, 4280, 28027, 6, 11148, 7, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10208, 7, 61, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 11148, 7, 3274, 3, 632, 3430, 1102, 3274, 96, 4122, 189, 121, 3430, 215, 3, 2, 4101, 1, -100, -100, -100, -100, -100, -100, -100, -1...
Tell me the bore and stroke for Engine of 351-2v cleveland v8
CREATE TABLE table_4445 ( "Engine" text, "Horsepower" text, "Torque" text, "Carburetor" text, "Compression Ratio" text, "Bore & Stroke" text, "VIN Code" text )
SELECT "Bore & Stroke" FROM table_4445 WHERE "Engine" = '351-2v cleveland v8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3628, 2128, 41, 96, 31477, 121, 1499, 6, 96, 566, 127, 7, 15, 6740, 121, 1499, 6, 96, 382, 127, 835, 121, 1499, 6, 96, 6936, 5808, 15, 17, 127, 121, 1499, 6, 96, 5890, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 279, 127, 15, 3, 184, 5500, 1825, 15, 121, 21680, 953, 834, 3628, 2128, 549, 17444, 427, 96, 31477, 121, 3274, 3, 31, 2469, 9596, 208, 3, 75, 4563, 232, 3, 208, 927, 31, 1, -100, -100, -100, -100, -100, -100...
Who was the driver with 29 laps?
CREATE TABLE table_name_39 ( driver VARCHAR, laps VARCHAR )
SELECT driver FROM table_name_39 WHERE laps = "29"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 2535, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 2535, 28, 2838, 14941, 7, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2535, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 14941, 7, 3274, 96, 3166, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many Points have a Position larger than 3, and a Played smaller than 14?
CREATE TABLE table_name_42 ( points VARCHAR, position VARCHAR, played VARCHAR )
SELECT COUNT(points) FROM table_name_42 WHERE position > 3 AND played < 14
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 979, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 1944, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 4564, 7, 43, 3, 9, 14258, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 1102, 2490, 220, 3430, 1944, 3, 2, 968, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who won in 1965?
CREATE TABLE table_name_42 ( winner VARCHAR, year VARCHAR )
SELECT winner FROM table_name_42 WHERE year = "1965"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 4668, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 751, 16, 19201, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4668, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 215, 3274, 96, 26937, 17395, 1, -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 percentage of Tukunga when La Crescenta-Montrose is 28%?
CREATE TABLE table_74692 ( "Tujunga" text, "La Crescenta- Montrose" text, "Glendale" text, "La Ca\u00f1ada Flintridge" text, "Pasadena" text )
SELECT "Tujunga" FROM table_74692 WHERE "La Crescenta- Montrose" = '28%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4581, 3951, 357, 41, 96, 382, 76, 22498, 9, 121, 1499, 6, 96, 3612, 31260, 9, 18, 5788, 8115, 121, 1499, 6, 96, 517, 40, 35, 5437, 121, 1499, 6, 96, 3612, 1336, 2, 76, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 76, 22498, 9, 121, 21680, 953, 834, 4581, 3951, 357, 549, 17444, 427, 96, 3612, 31260, 9, 18, 5788, 8115, 121, 3274, 3, 31, 357, 5953, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the number of different channel owners?
CREATE TABLE channel ( OWNER VARCHAR )
SELECT COUNT(DISTINCT OWNER) FROM channel
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4245, 41, 3, 15251, 18206, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 381, 13, 315, 4245, 2713, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 3, 15251, 18206, 61, 21680, 4245, 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, ...
How many draws feature artist wendy fierce?
CREATE TABLE table_name_18 ( draw INTEGER, artist VARCHAR )
SELECT SUM(draw) FROM table_name_18 WHERE artist = "wendy fierce"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 3314, 3, 21342, 17966, 6, 2377, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 14924, 1451, 2377, 62, 727, 63, 19894, 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, 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, 180, 6122, 599, 19489, 61, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 2377, 3274, 96, 210, 989, 63, 19894, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the highest game whose score was 94-116
CREATE TABLE table_name_62 (game INTEGER, score VARCHAR)
SELECT MAX(game) FROM table_name_62 WHERE score = "94-116"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 7261, 3, 21342, 17966, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 467, 3, 2544, 2604, 47, 3, 4240, 18, 20159, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 7261, 61, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 2604, 3274, 96, 4240, 18, 20159, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the earliest year that had a Lotus 49B chassis?
CREATE TABLE table_name_73 (year INTEGER, chassis VARCHAR)
SELECT MIN(year) FROM table_name_73 WHERE chassis = "lotus 49b"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 1201, 3, 21342, 17966, 6, 22836, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 16454, 215, 24, 141, 3, 9, 25413, 9526, 279, 22836...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 1201, 61, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 22836, 3274, 96, 3171, 302, 9526, 115, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What were the total number of Events, when the Top-5 was less than 2, and when the Top-25 was less than 3?
CREATE TABLE table_name_23 (events VARCHAR, top_5 VARCHAR, top_25 VARCHAR)
SELECT COUNT(events) FROM table_name_23 WHERE top_5 < 2 AND top_25 < 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 15, 2169, 7, 584, 4280, 28027, 6, 420, 834, 755, 584, 4280, 28027, 6, 420, 834, 1828, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 130, 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, 2847, 17161, 599, 15, 2169, 7, 61, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 420, 834, 755, 3, 2, 204, 3430, 420, 834, 1828, 3, 2, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Give me a bar chart for sum price of each name, and could you order in ascending by the x axis?
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT Name, SUM(Price) FROM Products GROUP BY Name ORDER BY Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 180, 6122, 599, 345, 4920, 61, 21680, 7554, 350, 4630, 6880, 272, 476, 5570, 4674, 11300, 272, 476, 5570, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the December game that led to an 11-13-5 record?
CREATE TABLE table_name_9 (december INTEGER, record VARCHAR)
SELECT MAX(december) FROM table_name_9 WHERE record = "11-13-5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 221, 75, 18247, 3, 21342, 17966, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1882, 467, 24, 2237, 12, 46, 850, 2292, 1836...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 221, 75, 18247, 61, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 1368, 3274, 96, 2596, 13056, 18, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Entrant had the Bugatti T35B Chassis and the Driver, Heinrich-Joachim Von Morgen?
CREATE TABLE table_name_66 ( entrant VARCHAR, chassis VARCHAR, driver VARCHAR )
SELECT entrant FROM table_name_66 WHERE chassis = "bugatti t35b" AND driver = "heinrich-joachim von morgen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 3, 295, 3569, 584, 4280, 28027, 6, 22836, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 4443, 3569, 141, 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, 3, 295, 3569, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 22836, 3274, 96, 14588, 15817, 3, 17, 2469, 115, 121, 3430, 2535, 3274, 96, 88, 77, 3723, 18, 1927, 9, 9737, 193, 8030, 729, 121, 1, -100, -100, -10...
what's the na -350- with title and source being paper wars: cannon fodder
CREATE TABLE table_13663434_1 ( na__350_ VARCHAR, title_and_source VARCHAR )
SELECT na__350_ FROM table_13663434_1 WHERE title_and_source = "Paper Wars: Cannon Fodder"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 3539, 3710, 3710, 834, 536, 41, 3, 29, 9, 834, 834, 16975, 834, 584, 4280, 28027, 6, 2233, 834, 232, 834, 7928, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 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, 3, 29, 9, 834, 834, 16975, 834, 21680, 953, 834, 2368, 3539, 3710, 3710, 834, 536, 549, 17444, 427, 2233, 834, 232, 834, 7928, 3274, 96, 15182, 49, 10265, 10, 205, 17805, 4452, 26, 588, 121, 1, -100, -100, -100, -...
How many first games are associated with 5 games played and under 3 games lost?
CREATE TABLE table_name_85 ( first_game INTEGER, played VARCHAR, lost VARCHAR )
SELECT SUM(first_game) FROM table_name_85 WHERE played = 5 AND lost < 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 166, 834, 7261, 3, 21342, 17966, 6, 1944, 584, 4280, 28027, 6, 1513, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 166, 1031, 33, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 14672, 834, 7261, 61, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 1944, 3274, 305, 3430, 1513, 3, 2, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the sum of credit value of courses with more than one prerequisite for each title? Return a bar chart, rank in asc by the x-axis.
CREATE TABLE takes ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0), grade varchar(2) ) CREATE TABLE instructor ( ID varchar(5), name varchar(20), dept_name varchar(20), salary numeric(8,2) ) CREATE TABLE course ( course_id varchar(8), title varchar(50), dept_name varchar(20), credits numeric(2,0) ) CREATE TABLE section ( course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0), building varchar(15), room_number varchar(7), time_slot_id varchar(4) ) CREATE TABLE teaches ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0) ) CREATE TABLE student ( ID varchar(5), name varchar(20), dept_name varchar(20), tot_cred numeric(3,0) ) CREATE TABLE advisor ( s_ID varchar(5), i_ID varchar(5) ) CREATE TABLE classroom ( building varchar(15), room_number varchar(7), capacity numeric(4,0) ) CREATE TABLE department ( dept_name varchar(20), building varchar(15), budget numeric(12,2) ) CREATE TABLE prereq ( course_id varchar(8), prereq_id varchar(8) ) CREATE TABLE time_slot ( time_slot_id varchar(4), day varchar(1), start_hr numeric(2), start_min numeric(2), end_hr numeric(2), end_min numeric(2) )
SELECT title, SUM(credits) FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY title ORDER BY title
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1217, 41, 4699, 3, 4331, 4059, 15757, 6, 503, 834, 23, 26, 3, 4331, 4059, 28007, 6, 4220, 834, 23, 26, 3, 4331, 4059, 28007, 6, 10542, 3, 4331, 4059, 18669, 6, 215, 206, 17552, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2233, 6, 180, 6122, 599, 15547, 7, 61, 21680, 503, 6157, 332, 536, 3, 15355, 3162, 554, 60, 1824, 6157, 332, 357, 9191, 332, 5411, 19221, 834, 23, 26, 3274, 332, 4416, 19221, 834, 23, 26, 350, 4630, 6880, 272, 476...
What is the total number of Round(s), when Time is "n/a", and when Location is "Canton, Ohio, USA"?
CREATE TABLE table_name_75 (round VARCHAR, time VARCHAR, location VARCHAR)
SELECT COUNT(round) FROM table_name_75 WHERE time = "n/a" AND location = "canton, ohio, usa"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 7775, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381, 13, 9609, 599, 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, 7775, 61, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 97, 3274, 96, 29, 87, 9, 121, 3430, 1128, 3274, 96, 658, 6992, 6, 3, 32, 107, 23, 32, 6, 178, 9, 121, 1, -100, -100, -100, -100, -...
what was the lowest number that auburn triumphed where the activities took part was 92
CREATE TABLE table_2846320_4 ( au_won INTEGER, games_played VARCHAR )
SELECT MIN(au_won) FROM table_2846320_4 WHERE games_played = 92
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 4448, 15003, 834, 591, 41, 185, 834, 210, 106, 3, 21342, 17966, 6, 1031, 834, 4895, 15, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 47, 8, 7402, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 402, 834, 210, 106, 61, 21680, 953, 834, 2577, 4448, 15003, 834, 591, 549, 17444, 427, 1031, 834, 4895, 15, 26, 3274, 3, 4508, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Bar chart of total number of height from each sex, and display in descending by the y-axis please.
CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real ) CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate real )
SELECT Sex, SUM(Height) FROM people GROUP BY Sex ORDER BY SUM(Height) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 2449, 834, 4309, 16, 17, 6, 679, 226, 1499, 6, 5570, 1499, 6, 7678, 834, 858, 834, 279, 23, 52, 189, 1499, 6, 24231, 490, 6, 14230, 490, 3, 61, 3, 32102, 32103, 32102, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 679, 226, 6, 180, 6122, 599, 3845, 2632, 61, 21680, 151, 350, 4630, 6880, 272, 476, 679, 226, 4674, 11300, 272, 476, 180, 6122, 599, 3845, 2632, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What nationality has a year larger than 2009 with a position of power forward?
CREATE TABLE table_name_32 (nationality VARCHAR, year VARCHAR, position VARCHAR)
SELECT nationality FROM table_name_32 WHERE year > 2009 AND position = "power forward"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 16557, 485, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1157, 485, 65, 3, 9, 215, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1157, 485, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 215, 2490, 2464, 3430, 1102, 3274, 96, 6740, 1039, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total number of modern grannies performed?
CREATE TABLE table_28180840_15 ( act VARCHAR, name_name_of_act VARCHAR )
SELECT COUNT(act) FROM table_28180840_15 WHERE name_name_of_act = "Modern Grannies"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 20829, 26311, 834, 1808, 41, 1810, 584, 4280, 28027, 6, 564, 834, 4350, 834, 858, 834, 2708, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 2708, 61, 21680, 953, 834, 2577, 20829, 26311, 834, 1808, 549, 17444, 427, 564, 834, 4350, 834, 858, 834, 2708, 3274, 96, 15594, 49, 29, 12102, 14347, 121, 1, -100, -100, -100, -100, -100, -100, -100...
Record of 6–8 had what attendance?
CREATE TABLE table_name_33 (attendance VARCHAR, record VARCHAR)
SELECT attendance FROM table_name_33 WHERE record = "6–8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 15116, 663, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 11392, 13, 431, 104, 927, 141, 125, 11364, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11364, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 1368, 3274, 96, 948, 104, 927, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the against when the draw was more than 0 and had 13 losses?
CREATE TABLE table_name_47 ( against VARCHAR, losses VARCHAR, draws VARCHAR )
SELECT COUNT(against) FROM table_name_47 WHERE losses = 13 AND draws > 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 581, 584, 4280, 28027, 6, 8467, 584, 4280, 28027, 6, 14924, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 581, 116, 8, 3314, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 9, 16720, 7, 17, 61, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 8467, 3274, 1179, 3430, 14924, 2490, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many times did a center that attended Oral Roberts play for the Rockets?
CREATE TABLE table_331 ( "Player" text, "No.(s)" text, "Height in Ft." text, "Position" text, "Years for Rockets" text, "School/Club Team/Country" text )
SELECT COUNT("Years for Rockets") FROM table_331 WHERE "Position" = 'Center' AND "School/Club Team/Country" = 'Oral Roberts'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3341, 41, 96, 15800, 49, 121, 1499, 6, 96, 4168, 5, 599, 7, 61, 121, 1499, 6, 96, 3845, 2632, 16, 377, 17, 535, 1499, 6, 96, 345, 32, 7, 4749, 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, 2847, 17161, 599, 121, 476, 2741, 7, 21, 22176, 7, 8512, 21680, 953, 834, 519, 3341, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 24382, 31, 3430, 96, 29364, 87, 254, 11158, 2271, 87, 10628, 651, 121, ...
What is the receipt date of the document with id 3?
CREATE TABLE circulation_history ( document_id number, draft_number number, copy_number number, employee_id number ) CREATE TABLE employees ( employee_id number, role_code text, employee_name text, other_details text ) CREATE TABLE documents_mailed ( document_id number, mailed_to_address_id number, mailing_date time ) CREATE TABLE ref_document_status ( document_status_code text, document_status_description text ) CREATE TABLE roles ( role_code text, role_description text ) CREATE TABLE document_drafts ( document_id number, draft_number number, draft_details text ) CREATE TABLE ref_document_types ( document_type_code text, document_type_description text ) CREATE TABLE draft_copies ( document_id number, draft_number number, copy_number number ) CREATE TABLE ref_shipping_agents ( shipping_agent_code text, shipping_agent_name text, shipping_agent_description text ) CREATE TABLE documents ( document_id number, document_status_code text, document_type_code text, shipping_agent_code text, receipt_date time, receipt_number text, other_details text ) CREATE TABLE addresses ( address_id number, address_details text )
SELECT receipt_date FROM documents WHERE document_id = 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11027, 834, 10193, 10972, 41, 1708, 834, 23, 26, 381, 6, 6488, 834, 5525, 1152, 381, 6, 2405, 834, 5525, 1152, 381, 6, 3490, 834, 23, 26, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8958, 834, 5522, 21680, 2691, 549, 17444, 427, 1708, 834, 23, 26, 3274, 220, 1, -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 title of the episode directed by Rodney Clouden?
CREATE TABLE table_23242958_1 (title VARCHAR, directed_by VARCHAR)
SELECT title FROM table_23242958_1 WHERE directed_by = "Rodney Clouden"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 2266, 3166, 3449, 834, 536, 41, 21869, 584, 4280, 28027, 6, 6640, 834, 969, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2233, 13, 8, 5640, 6640, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2233, 21680, 953, 834, 2773, 2266, 3166, 3449, 834, 536, 549, 17444, 427, 6640, 834, 969, 3274, 96, 448, 32, 26, 3186, 5713, 35, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What model has a g green rating, has chrysler jeep as a manufacturer, has an l/100km urban (cold) less than 18, and has an mpg-uk combined of 27.7?
CREATE TABLE table_65279 ( "Manufacturer" text, "Model" text, "Transmission" text, "Engine Capacity" real, "Fuel Type" text, "L/100km Urban (Cold)" real, "L/100km Extra-Urban" real, "L/100km Combined" real, "mpg-UK Urban (Cold)" real, "mpg-UK Extra-Urban" real, "mpg-UK Combined" real, "mpg-US Urban" real, "mpg-US Extra-Urban" real, "mpg-US Combined" real, "CO 2 g/km" real, "Green Rating" text )
SELECT "Model" FROM table_65279 WHERE "Green Rating" = 'g' AND "Manufacturer" = 'chrysler jeep' AND "L/100km Urban (Cold)" < '18' AND "mpg-UK Combined" = '27.7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 357, 4440, 41, 96, 7296, 76, 8717, 450, 49, 121, 1499, 6, 96, 24663, 121, 1499, 6, 96, 18474, 5451, 121, 1499, 6, 96, 31477, 4000, 9, 6726, 121, 490, 6, 96, 371, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24663, 121, 21680, 953, 834, 4122, 357, 4440, 549, 17444, 427, 96, 22918, 21662, 121, 3274, 3, 31, 122, 31, 3430, 96, 7296, 76, 8717, 450, 49, 121, 3274, 3, 31, 524, 651, 7, 1171, 528, 15, 102, 31, 3430, 96,...
How many were the US viewers (in millions) of the episode that was written by Gordon C. Lonsdale?
CREATE TABLE table_74031 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (millions)" text )
SELECT "U.S. viewers (millions)" FROM table_74031 WHERE "Directed by" = 'Gordon C. Lonsdale'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2445, 3341, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1265, 5, 134, 5, 13569, 41, 17030, 7, 61, 121, 21680, 953, 834, 940, 2445, 3341, 549, 17444, 427, 96, 23620, 15, 26, 57, 121, 3274, 3, 31, 517, 127, 2029, 205, 5, 301, 106, 7, 5437, 31, 1, -100, -100, -100...