NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What player's hometown is Washington, IN?
CREATE TABLE table_name_83 (player VARCHAR, hometown VARCHAR)
SELECT player FROM table_name_83 WHERE hometown = "washington, in"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 20846, 584, 4280, 28027, 6, 22295, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1959, 31, 7, 22295, 19, 2386, 6, 3388, 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, 1959, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 22295, 3274, 96, 14710, 6029, 6, 16, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the seats 2006 total with %2001 of 39 and seats 2001 less than 12?
CREATE TABLE table_name_64 ( seats_2006 INTEGER, _percentage_2001 VARCHAR, seats_2001 VARCHAR )
SELECT MAX(seats_2006) FROM table_name_64 WHERE _percentage_2001 = 39 AND seats_2001 < 12
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 6116, 834, 21196, 3, 21342, 17966, 6, 3, 834, 883, 3728, 545, 834, 23658, 584, 4280, 28027, 6, 6116, 834, 23658, 584, 4280, 28027, 3, 61, 3, 32102, 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, 4800, 4, 599, 7, 1544, 7, 834, 21196, 61, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 3, 834, 883, 3728, 545, 834, 23658, 3274, 6352, 3430, 6116, 834, 23658, 3, 2, 586, 1, -100, -100, -100, -100, -100, -100...
When was the game with a record of 9-3?
CREATE TABLE table_name_65 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_65 WHERE record = "9-3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 5522, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 8, 467, 28, 3, 9, 1368, 13, 668, 3486, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 1368, 3274, 96, 1298, 3486, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which reign is the most common among wrestlers?
CREATE TABLE elimination ( elimination_id text, wrestler_id text, team text, eliminated_by text, elimination_move text, time text ) CREATE TABLE wrestler ( wrestler_id number, name text, reign text, days_held text, location text, event text )
SELECT reign FROM wrestler GROUP BY reign ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 23458, 41, 23458, 834, 23, 26, 1499, 6, 26033, 52, 834, 23, 26, 1499, 6, 372, 1499, 6, 17809, 834, 969, 1499, 6, 23458, 834, 7168, 15, 1499, 6, 97, 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, 17367, 21680, 26033, 52, 350, 4630, 6880, 272, 476, 17367, 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, -100, -100, -100...
What is the pick for the Maryland-Eastern Shore team with a round lower than 2?
CREATE TABLE table_name_70 ( pick INTEGER, school_club_team VARCHAR, round VARCHAR )
SELECT SUM(pick) FROM table_name_70 WHERE school_club_team = "maryland-eastern shore" AND round < 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 1432, 3, 21342, 17966, 6, 496, 834, 13442, 834, 11650, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 17967, 61, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 496, 834, 13442, 834, 11650, 3274, 96, 1635, 28900, 18, 15, 9, 13072, 10433, 121, 3430, 1751, 3, 2, 204, 1, -100, -100, -100, -100, -100,...
What team was 2 on November 22, 2008 when the result was 1-0?
CREATE TABLE table_name_82 (team_2 VARCHAR, date VARCHAR, result VARCHAR)
SELECT team_2 FROM table_name_82 WHERE date = "november 22, 2008" AND result = "1-0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 11650, 834, 357, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 372, 47, 204, 30, 1671, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 372, 834, 357, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 833, 3274, 96, 5326, 18247, 12889, 2628, 121, 3430, 741, 3274, 96, 18930, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many times was leather introduced before pedal steel guitars in episode 111?
CREATE TABLE table_15187735_9 (segment_c VARCHAR, segment_d VARCHAR)
SELECT COUNT(segment_c) FROM table_15187735_9 WHERE segment_d = "Pedal Steel Guitars"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26578, 27697, 2469, 834, 1298, 41, 7, 15, 122, 297, 834, 75, 584, 4280, 28027, 6, 5508, 834, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 648, 47, 429...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 7, 15, 122, 297, 834, 75, 61, 21680, 953, 834, 26578, 27697, 2469, 834, 1298, 549, 17444, 427, 5508, 834, 26, 3274, 96, 25048, 138, 6349, 23176, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100,...
Which Top-10 has a Cuts made of 10, and a Top-5 larger than 1?
CREATE TABLE table_41699 ( "Tournament" text, "Wins" real, "Top-5" real, "Top-10" real, "Top-25" real, "Events" real, "Cuts made" real )
SELECT MIN("Top-10") FROM table_41699 WHERE "Cuts made" = '10' AND "Top-5" > '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2938, 3264, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 22481, 18, 17395, 490, 6, 96, 22481, 4536, 121, 490, 6, 96, 22481, 14855, 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, 3, 17684, 599, 121, 22481, 4536, 8512, 21680, 953, 834, 591, 2938, 3264, 549, 17444, 427, 96, 15784, 17, 7, 263, 121, 3274, 3, 31, 1714, 31, 3430, 96, 22481, 18, 17395, 2490, 3, 31, 536, 31, 1, -100, -100, -100, ...
Which tournament was held after 1966?
CREATE TABLE table_54245 ( "Year" real, "Tournament" text, "Venue" text, "Result" text, "Event" text )
SELECT "Tournament" FROM table_54245 WHERE "Year" > '1966'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5062, 357, 2128, 41, 96, 476, 2741, 121, 490, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 427, 2169, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 96, 382, 1211, 20205, 17, 121, 21680, 953, 834, 5062, 357, 2128, 549, 17444, 427, 96, 476, 2741, 121, 2490, 3, 31, 2294, 3539, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
give me the number of patients whose diagnoses short title is 31-32 comp wks gestation and lab test fluid is urine?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "31-32 comp wks gestation" AND lab.fluid = "Urine"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Who is the friend of Zach with longest year relationship?
CREATE TABLE PersonFriend (friend VARCHAR, name VARCHAR, YEAR INTEGER)
SELECT friend FROM PersonFriend WHERE name = 'Zach' AND YEAR = (SELECT MAX(YEAR) FROM PersonFriend WHERE name = 'Zach')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5780, 17701, 41, 15504, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 6, 30431, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 1565, 13, 22045, 28, 14783, 215, 1675, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1565, 21680, 5780, 17701, 549, 17444, 427, 564, 3274, 3, 31, 956, 1836, 31, 3430, 30431, 3274, 41, 23143, 14196, 4800, 4, 599, 476, 19356, 61, 21680, 5780, 17701, 549, 17444, 427, 564, 3274, 3, 31, 956, 1836, 31, 61...
had patient 006-40255 when they came to the hospital last time been allergic to any substance?
CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, ...
SELECT COUNT(*) > 0 FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-40255' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospit...
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1868, 41, 775, 12417, 1499, 6, 1868, 15878, 3734, 21545, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7285, 1499, 6, 1246, 1499, 6, 11655, 485, 1499, 6, 2833, 23, 26, 381, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 2490, 3, 632, 21680, 23886, 549, 17444, 427, 23886, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 1006...
Name the highest goals for youth system and ita
CREATE TABLE table_56099 ( "Nat." text, "Name" text, "Since" real, "Goals" real, "Transfer fee" text )
SELECT MAX("Goals") FROM table_56099 WHERE "Nat." = 'ita' AND "Transfer fee" = 'youth system'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3328, 3264, 41, 96, 567, 144, 535, 1499, 6, 96, 23954, 121, 1499, 6, 96, 134, 77, 565, 121, 490, 6, 96, 6221, 5405, 121, 490, 6, 96, 18474, 1010, 2572, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 121, 6221, 5405, 8512, 21680, 953, 834, 755, 3328, 3264, 549, 17444, 427, 96, 567, 144, 535, 3274, 3, 31, 155, 9, 31, 3430, 96, 18474, 1010, 2572, 121, 3274, 3, 31, 4188, 189, 358, 31, 1, -100, -10...
What year was there a Tony award category of Best Revival of a Musical?
CREATE TABLE table_11944 ( "Year" real, "Award" text, "Category" text, "Nominee" text, "Result" text )
SELECT "Year" FROM table_11944 WHERE "Award" = 'tony award' AND "Category" = 'best revival of a musical'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19993, 3628, 41, 96, 476, 2741, 121, 490, 6, 96, 188, 2239, 121, 1499, 6, 96, 18610, 6066, 651, 121, 1499, 6, 96, 4168, 8695, 15, 121, 1499, 6, 96, 20119, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 476, 2741, 121, 21680, 953, 834, 19993, 3628, 549, 17444, 427, 96, 188, 2239, 121, 3274, 3, 31, 17, 106, 63, 2760, 31, 3430, 96, 18610, 6066, 651, 121, 3274, 3, 31, 9606, 26327, 13, 3, 9, 4183, 31, 1, -100, ...
When the name is badnawar, and the reserved for (sc / st /none) of none what is the constituency number?
CREATE TABLE table_13357 ( "Constituency number" text, "Name" text, "Reserved for ( SC / ST /None)" text, "District" text, "Number of electorates (2009)" real )
SELECT "Constituency number" FROM table_13357 WHERE "Reserved for ( SC / ST /None)" = 'none' AND "Name" = 'badnawar'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22974, 3436, 41, 96, 4302, 2248, 17, 76, 4392, 381, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 1649, 3473, 15, 26, 21, 41, 6508, 3, 87, 5097, 3, 87, 567, 782, 61, 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, 4302, 2248, 17, 76, 4392, 381, 121, 21680, 953, 834, 22974, 3436, 549, 17444, 427, 96, 1649, 3473, 15, 26, 21, 41, 6508, 3, 87, 5097, 3, 87, 567, 782, 61, 121, 3274, 3, 31, 29, 782, 31, 3430, 96, 23954, 12...
Who ran unsuccessfully against Bill Hefner?
CREATE TABLE table_1341522_36 ( opponent VARCHAR, incumbent VARCHAR )
SELECT opponent FROM table_1341522_36 WHERE incumbent = "Bill Hefner"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 1808, 2884, 834, 3420, 41, 15264, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 4037, 26684, 120, 581, 3259, 216, 89, 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, 0, 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, 23747, 1808, 2884, 834, 3420, 549, 17444, 427, 28406, 3274, 96, 279, 1092, 216, 89, 687, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average Attendance, when Date is 1 October 1998?
CREATE TABLE table_name_28 (attendance INTEGER, date VARCHAR)
SELECT AVG(attendance) FROM table_name_28 WHERE date = "1 october 1998"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 15116, 663, 3, 21342, 17966, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 22497, 663, 6, 116, 7678, 19, 209, 1797, 62...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 833, 3274, 96, 536, 3, 32, 75, 235, 1152, 6260, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Give me the times and numbers of all trains that go to Chennai.
CREATE TABLE station ( id int, network_name text, services text, local_authority text ) CREATE TABLE train ( id int, train_number int, name text, origin text, destination text, time text, interval text ) CREATE TABLE route ( train_id int, station_id int ) CREATE TA...
SELECT time, train_number FROM train WHERE destination = 'Chennai'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2478, 41, 3, 23, 26, 16, 17, 6, 1229, 834, 4350, 1499, 6, 364, 1499, 6, 415, 834, 17415, 485, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2412, 41, 3, 23, 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, 97, 6, 2412, 834, 5525, 1152, 21680, 2412, 549, 17444, 427, 3954, 3274, 3, 31, 3541, 35, 29, 9, 23, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many different dates of issue are the for the coin with kumsusan memorial palace on the obverse?
CREATE TABLE table_31381 ( "Value" text, "Dimensions" text, "Main Color" text, "Obverse" text, "Reverse" text, "Watermark" text, "Date of issue" text )
SELECT COUNT("Date of issue") FROM table_31381 WHERE "Obverse" = 'Kumsusan Memorial Palace'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2368, 4959, 41, 96, 18392, 76, 15, 121, 1499, 6, 96, 308, 23, 904, 1938, 7, 121, 1499, 6, 96, 21978, 29, 6088, 121, 1499, 6, 96, 667, 115, 7583, 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, 308, 342, 13, 962, 8512, 21680, 953, 834, 519, 2368, 4959, 549, 17444, 427, 96, 667, 115, 7583, 121, 3274, 3, 31, 439, 440, 7, 302, 152, 9107, 12530, 31, 1, -100, -100, -100, -100, -100, -10...
Which Bronze has a Silver of 15, and a Gold smaller than 20?
CREATE TABLE table_name_69 ( bronze INTEGER, silver VARCHAR, gold VARCHAR )
SELECT SUM(bronze) FROM table_name_69 WHERE silver = 15 AND gold < 20
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 13467, 3, 21342, 17966, 6, 4294, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 20841, 65, 3, 9, 5642, 13, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 13711, 776, 61, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 4294, 3274, 627, 3430, 2045, 3, 2, 460, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the last model and its origin ?
CREATE TABLE table_204_430 ( id number, "model" text, "origin" text, "type" text, "version" text, "in service" text, "notes" text )
SELECT "model", "origin" FROM table_204_430 ORDER BY id DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 25449, 41, 3, 23, 26, 381, 6, 96, 21770, 121, 1499, 6, 96, 32, 3380, 77, 121, 1499, 6, 96, 6137, 121, 1499, 6, 96, 8674, 121, 1499, 6, 96, 77, 313, 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, 1...
[ 3, 23143, 14196, 96, 21770, 1686, 96, 32, 3380, 77, 121, 21680, 953, 834, 26363, 834, 25449, 4674, 11300, 272, 476, 3, 23, 26, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
count the number of patients whose diagnosis short title is pyelonephritis nos and lab test abnormal status is delta.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Pyelonephritis NOS" AND lab.flag = "delta"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
how many patients whose gender is f and diagnoses short title is lap surg convert to open?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "F" AND diagnoses.short_title = "Lap surg convert to open"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
name the species that has the longest years since divergence from human .
CREATE TABLE table_204_358 ( id number, "species" text, "common name" text, "ncbi accession #" text, "ncbi name" text, "length" text, "sequence identity" text, "sequence similarity" text, "years since divergence from human (mya)" number )
SELECT "species" FROM table_204_358 ORDER BY "years since divergence from human (mya)" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 519, 3449, 41, 3, 23, 26, 381, 6, 96, 7576, 725, 121, 1499, 6, 96, 287, 2157, 564, 121, 1499, 6, 96, 29, 75, 115, 23, 4991, 1938, 1713, 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, 7576, 725, 121, 21680, 953, 834, 26363, 834, 519, 3449, 4674, 11300, 272, 476, 96, 1201, 7, 437, 12355, 122, 1433, 45, 936, 41, 2258, 9, 61, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, ...
What were the official itv ratings in millions for semi-final 5?
CREATE TABLE table_27319183_7 ( official_itv_rating__millions_ VARCHAR, episode VARCHAR )
SELECT official_itv_rating__millions_ FROM table_27319183_7 WHERE episode = "Semi-final 5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 519, 2294, 24361, 834, 940, 41, 2314, 834, 155, 208, 834, 52, 1014, 834, 834, 17030, 7, 834, 584, 4280, 28027, 6, 5640, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 2314, 834, 155, 208, 834, 52, 1014, 834, 834, 17030, 7, 834, 21680, 953, 834, 2555, 519, 2294, 24361, 834, 940, 549, 17444, 427, 5640, 3274, 96, 134, 15, 51, 23, 18, 12406, 3, 17395, 1, -100, -100, -100, -100, -10...
Name the height for asko esna
CREATE TABLE table_25058562_2 ( height VARCHAR, player VARCHAR )
SELECT height FROM table_25058562_2 WHERE player = "Asko Esna"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11434, 3449, 4834, 357, 834, 357, 41, 3902, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 3902, 21, 987, 32, 3, 15, 7, 29, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3902, 21680, 953, 834, 11434, 3449, 4834, 357, 834, 357, 549, 17444, 427, 1959, 3274, 96, 188, 17869, 1122, 29, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is the number of patients whose drug code is metl25?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.formulary_drug_cd = "METL25"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What is the lowest February, when Record is "21-30-11", and when Game is greater than 62?
CREATE TABLE table_name_54 (february INTEGER, record VARCHAR, game VARCHAR)
SELECT MIN(february) FROM table_name_54 WHERE record = "21-30-11" AND game > 62
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 89, 15, 9052, 1208, 3, 21342, 17966, 6, 1368, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 2083, 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, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 89, 15, 9052, 1208, 61, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 1368, 3274, 96, 2658, 10086, 9169, 121, 3430, 467, 2490, 3, 4056, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What rank is He Yingqin who was born before 1890?
CREATE TABLE table_name_75 ( rank INTEGER, name VARCHAR, birth VARCHAR )
SELECT AVG(rank) FROM table_name_75 WHERE name = "he yingqin" AND birth < 1890
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 11003, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 3879, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 11003, 19, 216, 3, 476, 53, 182...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 6254, 61, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 564, 3274, 96, 88, 3, 8149, 1824, 77, 121, 3430, 3879, 3, 2, 507, 2394, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which athlete played at the Birmingham venue?
CREATE TABLE table_name_32 (athlete VARCHAR, venue VARCHAR)
SELECT athlete FROM table_name_32 WHERE venue = "birmingham"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 26170, 15, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 17893, 1944, 44, 8, 15922, 5669, 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, 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, 17893, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 5669, 3274, 96, 8781, 51, 14799, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Return the average price of products that have each category code, and order by the mean product price in asc.
CREATE TABLE Products ( product_id INTEGER, parent_product_id INTEGER, product_category_code VARCHAR(20), date_product_first_available DATETIME, date_product_discontinued DATETIME, product_name VARCHAR(80), product_description VARCHAR(255), product_price DECIMAL(19,4) ) CREATE TABLE Com...
SELECT product_category_code, AVG(product_price) FROM Products GROUP BY product_category_code ORDER BY AVG(product_price)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 556, 834, 23, 26, 3, 21342, 17966, 6, 4208, 834, 15892, 834, 23, 26, 3, 21342, 17966, 6, 556, 834, 8367, 839, 651, 834, 4978, 584, 4280, 28027, 599, 1755, 201, 833, 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, 556, 834, 8367, 839, 651, 834, 4978, 6, 71, 17217, 599, 15892, 834, 102, 4920, 61, 21680, 7554, 350, 4630, 6880, 272, 476, 556, 834, 8367, 839, 651, 834, 4978, 4674, 11300, 272, 476, 71, 17217, 599, 15892, 834, 102,...
What is the largest Rd# for a PI GP greater than 0 and a Reg GP less than 62?
CREATE TABLE table_name_20 (rd__number INTEGER, pl_gp VARCHAR, reg_gp VARCHAR)
SELECT MAX(rd__number) FROM table_name_20 WHERE pl_gp > 0 AND reg_gp < 62
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 52, 26, 834, 834, 5525, 1152, 3, 21342, 17966, 6, 4752, 834, 122, 102, 584, 4280, 28027, 6, 5925, 834, 122, 102, 584, 4280, 28027, 61, 3, 32102, 32103,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 52, 26, 834, 834, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 4752, 834, 122, 102, 2490, 3, 632, 3430, 5925, 834, 122, 102, 3, 2, 3, 4056, 1, -100, -100, -100, -100, -100, -1...
count the number of patients who are below the age of 76 and their drug code is imdu30.
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 prescription...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "76" AND prescriptions.formulary_drug_cd = "IMDU30"
[ 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...
For all employees who have the letters D or S in their first name, visualize a bar chart about the distribution of job_id and the sum of salary , and group by attribute job_id, and rank total number in desc order.
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varc...
SELECT JOB_ID, SUM(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY SUM(SALARY) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2476, 41, 446, 10539, 834, 4309, 3, 4331, 4059, 599, 16968, 6, 446, 10539, 834, 382, 3177, 3765, 3, 4331, 4059, 599, 2469, 201, 3, 17684, 834, 134, 4090, 24721, 7908, 1982, 599, 11071,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 446, 10539, 834, 4309, 6, 180, 6122, 599, 134, 4090, 24721, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 13...
who is number 98?
CREATE TABLE table_14966667_19 ( name VARCHAR, number VARCHAR )
SELECT name FROM table_14966667_19 WHERE number = "98"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 4314, 3539, 3708, 834, 2294, 41, 564, 584, 4280, 28027, 6, 381, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 113, 19, 381, 3, 3916, 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, 564, 21680, 953, 834, 2534, 4314, 3539, 3708, 834, 2294, 549, 17444, 427, 381, 3274, 96, 3916, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the upper index kcal/nm3 for 62.47
CREATE TABLE table_1868929_1 (upper_index_kcal__nm_3 VARCHAR, lower_index_mj__nm_3 VARCHAR)
SELECT upper_index_kcal__nm_3 FROM table_1868929_1 WHERE lower_index_mj__nm_3 = "62.47"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25398, 3914, 3166, 834, 536, 41, 15689, 834, 18288, 834, 157, 1489, 834, 834, 29, 51, 834, 519, 584, 4280, 28027, 6, 1364, 834, 18288, 834, 51, 354, 834, 834, 29, 51, 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, 4548, 834, 18288, 834, 157, 1489, 834, 834, 29, 51, 834, 519, 21680, 953, 834, 25398, 3914, 3166, 834, 536, 549, 17444, 427, 1364, 834, 18288, 834, 51, 354, 834, 834, 29, 51, 834, 519, 3274, 96, 4056, 5, 4177, 121...
Name the production code for viewers for 1.69
CREATE TABLE table_19229713_4 (production_code VARCHAR, us_viewers__million_ VARCHAR)
SELECT production_code FROM table_19229713_4 WHERE us_viewers__million_ = "1.69"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 2884, 4327, 2368, 834, 591, 41, 20762, 834, 4978, 584, 4280, 28027, 6, 178, 834, 4576, 277, 834, 834, 17030, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 999, 834, 4978, 21680, 953, 834, 2294, 2884, 4327, 2368, 834, 591, 549, 17444, 427, 178, 834, 4576, 277, 834, 834, 17030, 834, 3274, 96, 5411, 3951, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the number of wins when the number of third was 1, points were less than 572 and had less than 16 races?
CREATE TABLE table_name_92 (wins VARCHAR, races VARCHAR, third VARCHAR, points VARCHAR)
SELECT wins FROM table_name_92 WHERE third = "1" AND points < 572 AND races < 16
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 3757, 7, 584, 4280, 28027, 6, 10879, 584, 4280, 28027, 6, 1025, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 9204, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 1025, 3274, 96, 536, 121, 3430, 979, 3, 2, 305, 5865, 3430, 10879, 3, 2, 898, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
until 1 year ago, patient 003-39724 had any allergies?
CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE treatment ( treatmenti...
SELECT COUNT(*) > 0 FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '003-39724')) AND DATETIME(allergy.allergytime) <= DATETIME(CURRENT_TIME(), '-1 y...
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 50, 9824, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7690, 4350, 1499, 6, 50, 1999, 7, 83, 17, 381, 6, 50, 1999, 7, 83, 17, 715, 97, 3, 61, 3, 32102, 32103, 32102, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 2490, 3, 632, 21680, 23886, 549, 17444, 427, 23886, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 1006...
Who got the high rebounds if Brook Lopez (15) earned the high points?
CREATE TABLE table_29731 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "High rebounds" FROM table_29731 WHERE "High points" = 'Brook Lopez (15)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4327, 3341, 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, 21417, 3, 23768, 121, 21680, 953, 834, 357, 4327, 3341, 549, 17444, 427, 96, 21417, 979, 121, 3274, 3, 31, 22780, 1825, 25692, 17251, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Chassis did the Entrant clarke-mordaunt-guthrie-durlacher carry?
CREATE TABLE table_name_57 ( chassis VARCHAR, entrant VARCHAR )
SELECT chassis FROM table_name_57 WHERE entrant = "clarke-mordaunt-guthrie-durlacher"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 22836, 584, 4280, 28027, 6, 3, 295, 3569, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 4004, 6500, 7, 410, 8, 4443, 3569, 6860, 1050, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22836, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 3, 295, 3569, 3274, 96, 23982, 1050, 18, 2528, 26, 9, 202, 17, 18, 1744, 189, 1753, 18, 13629, 521, 1703, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
List the names and birthdays of the top five players in terms of potential.
CREATE TABLE Player_Attributes (player_api_id VARCHAR); CREATE TABLE Player (player_name VARCHAR, birthday VARCHAR, player_api_id VARCHAR)
SELECT DISTINCT T1.player_name, T1.birthday FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id ORDER BY potential DESC LIMIT 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 12387, 834, 188, 17, 5135, 1422, 41, 20846, 834, 13306, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 12387, 41, 20846, 834, 4350, 584, 4280, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 332, 5411, 20846, 834, 4350, 6, 332, 5411, 20663, 1135, 21680, 12387, 6157, 332, 536, 3, 15355, 3162, 12387, 834, 188, 17, 5135, 1422, 6157, 332, 357, 9191, 332, 5411, 20846, 834, 13306, 834, 23...
What is the name of each aircraft and how many flights does each one complete Show bar chart, list bars from low to high order.
CREATE TABLE employee ( eid number(9,0), name varchar2(30), salary number(10,2) ) CREATE TABLE flight ( flno number(4,0), origin varchar2(20), destination varchar2(20), distance number(6,0), departure_date date, arrival_date date, price number(7,2), aid number(9,0) ) CREATE...
SELECT name, COUNT(*) FROM flight AS T1 JOIN aircraft AS T2 ON T1.aid = T2.aid GROUP BY T1.aid ORDER BY name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3490, 41, 3, 15, 23, 26, 381, 599, 1298, 6, 632, 201, 564, 3, 4331, 4059, 357, 599, 1458, 201, 9090, 381, 599, 1714, 6, 7318, 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, 564, 6, 2847, 17161, 599, 1935, 61, 21680, 3777, 6157, 332, 536, 3, 15355, 3162, 6442, 6157, 332, 357, 9191, 332, 5411, 6146, 3274, 332, 4416, 6146, 350, 4630, 6880, 272, 476, 332, 5411, 6146, 4674, 11300, 272, 476, ...
how many remittances in 2010 where the remittances is 19.73?
CREATE TABLE table_2941963_1 ( remittances_2010 VARCHAR, remittances_2009 VARCHAR )
SELECT COUNT(remittances_2010) FROM table_2941963_1 WHERE remittances_2009 = "19.73"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4240, 2294, 3891, 834, 536, 41, 3, 60, 1538, 17, 663, 7, 834, 14926, 584, 4280, 28027, 6, 3, 60, 1538, 17, 663, 7, 834, 16660, 584, 4280, 28027, 3, 61, 3, 32102, 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, 2847, 17161, 599, 60, 1538, 17, 663, 7, 834, 14926, 61, 21680, 953, 834, 357, 4240, 2294, 3891, 834, 536, 549, 17444, 427, 3, 60, 1538, 17, 663, 7, 834, 16660, 3274, 96, 2294, 5, 4552, 121, 1, -100, -100, -100, ...
What was the conference when Arizona State won the regular season?
CREATE TABLE table_22779004_1 (conference VARCHAR, regular_season_winner VARCHAR)
SELECT conference FROM table_22779004_1 WHERE regular_season_winner = "Arizona State"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 4013, 7015, 591, 834, 536, 41, 28496, 584, 4280, 28027, 6, 1646, 834, 9476, 834, 3757, 687, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2542, 116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2542, 21680, 953, 834, 2884, 4013, 7015, 591, 834, 536, 549, 17444, 427, 1646, 834, 9476, 834, 3757, 687, 3274, 96, 188, 13266, 106, 9, 1015, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the dominant religion of srpska crnja
CREATE TABLE table_27867 ( "Settlement" text, "Cyrillic Name Other Names" text, "Type" text, "Population (2011)" real, "Largest ethnic group (2002)" text, "Dominant religion (2002)" text )
SELECT "Dominant religion (2002)" FROM table_27867 WHERE "Settlement" = 'Srpska Crnja'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3940, 3708, 41, 96, 17175, 17, 3335, 121, 1499, 6, 96, 254, 63, 52, 173, 2176, 5570, 2502, 5570, 7, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 27773, 7830, 25163, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4135, 1109, 288, 5562, 3, 31444, 121, 21680, 953, 834, 357, 3940, 3708, 549, 17444, 427, 96, 17175, 17, 3335, 121, 3274, 3, 31, 134, 52, 102, 10717, 8427, 29, 1191, 31, 1, -100, -100, -100, -100, -100, -100, -...
count the number of patients whose admission location is phys referral/normal deli and item id is 51379?
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 demographic (...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND lab.itemid = "51379"
[ 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, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the average start for the season with $7,220 in winnings?
CREATE TABLE table_20692 ( "Year" real, "Starts" real, "Wins" real, "Top 5" real, "Top 10" real, "Poles" real, "Avg. Start" text, "Avg. Finish" text, "Winnings" text, "Position" text, "Team(s)" text )
SELECT "Avg. Start" FROM table_20692 WHERE "Winnings" = '$7,220'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24643, 4508, 41, 96, 476, 2741, 121, 490, 6, 96, 7681, 17, 7, 121, 490, 6, 96, 18455, 7, 121, 490, 6, 96, 22481, 3, 17395, 490, 6, 96, 22481, 335, 121, 490, 6, 96, 89...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 208, 122, 5, 3273, 121, 21680, 953, 834, 24643, 4508, 549, 17444, 427, 96, 518, 10503, 7, 121, 3274, 3, 31, 3229, 940, 6, 357, 1755, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What are all the characteristic names of product "sesame"?
CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)
SELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = "sesame"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 28027, 5173, 5946, 13582, 21202, 41, 31886, 3040, 834, 4350, 584, 4280, 28027, 6, 16115, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 494, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17, 5787, 31886, 3040, 834, 4350, 21680, 494, 6157, 3, 17, 536, 3, 15355, 3162, 556, 834, 31886, 3040, 7, 6157, 3, 17, 357, 9191, 3, 17, 5411, 15892, 834, 23, 26, 3274, 3, 17, 4416, 15892, 834, 23, 26, 3, 1...
Visualize a line chart that bins the open date into the Year interval and counts them, and could you sort X-axis in descending order?
CREATE TABLE wedding ( Church_ID int, Male_ID int, Female_ID int, Year int ) CREATE TABLE people ( People_ID int, Name text, Country text, Is_Male text, Age int ) CREATE TABLE church ( Church_ID int, Name text, Organized_by text, Open_Date int, Continuation_of t...
SELECT Open_Date, COUNT(Open_Date) FROM church ORDER BY Open_Date DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1683, 41, 2345, 834, 4309, 16, 17, 6, 17830, 834, 4309, 16, 17, 6, 27144, 834, 4309, 16, 17, 6, 2929, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2384, 834, 308, 342, 6, 2847, 17161, 599, 22696, 834, 308, 342, 61, 21680, 2078, 4674, 11300, 272, 476, 2384, 834, 308, 342, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
excessive alcohol intake
CREATE TABLE table_dev_25 ( "id" int, "gender" string, "pregnancy_or_lactation" bool, "systolic_blood_pressure_sbp" int, "hemoglobin_a1c_hba1c" float, "diastolic_blood_pressure_dbp" int, "alcohol_abuse" bool, "hypertension" bool, "NOUSE" float )
SELECT * FROM table_dev_25 WHERE alcohol_abuse = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9776, 834, 1828, 41, 96, 23, 26, 121, 16, 17, 6, 96, 122, 3868, 121, 6108, 6, 96, 2026, 11260, 11298, 834, 127, 834, 9700, 6821, 121, 3, 12840, 40, 6, 96, 7, 63, 7, 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, 1429, 21680, 953, 834, 9776, 834, 1828, 549, 17444, 427, 4798, 834, 9, 3465, 15, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the total of articles for this chart
CREATE TABLE table_204_843 ( id number, "volume" number, "year" text, "names" text, "articles" number, "pages" number, "images" number, "maps" number, "number of copies" number )
SELECT SUM("articles") FROM table_204_843
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4608, 519, 41, 3, 23, 26, 381, 6, 96, 23439, 121, 381, 6, 96, 1201, 121, 1499, 6, 96, 4350, 7, 121, 1499, 6, 96, 8372, 7, 121, 381, 6, 96, 6492, 7, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 8372, 7, 8512, 21680, 953, 834, 26363, 834, 4608, 519, 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 competition ended with a score of 38-14?
CREATE TABLE table_13328239_4 ( competition VARCHAR, score VARCHAR )
SELECT competition FROM table_13328239_4 WHERE score = "38-14"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22974, 2577, 357, 3288, 834, 591, 41, 2259, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 2259, 3492, 28, 3, 9, 2604, 13, 6654, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2259, 21680, 953, 834, 22974, 2577, 357, 3288, 834, 591, 549, 17444, 427, 2604, 3274, 96, 3747, 11590, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the result of the game played on May 5?
CREATE TABLE table_name_5 ( result VARCHAR, date VARCHAR )
SELECT result FROM table_name_5 WHERE date = "may 5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 741, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 13, 8, 467, 1944, 30, 932, 305, 58, 1, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 833, 3274, 96, 13726, 3, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What driver has grid number 18?
CREATE TABLE table_name_98 (driver VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_98 WHERE grid = 18
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 13739, 52, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 2535, 65, 8634, 381, 507, 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, 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, 2535, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 8634, 3274, 507, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the original air date for episode 17 in the season?
CREATE TABLE table_1245 ( "No. in season" real, "No. disc" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text )
SELECT "Original air date" FROM table_1245 WHERE "No. in season" = '17'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 2128, 41, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 4168, 5, 5025, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965, 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, 96, 667, 3380, 10270, 799, 833, 121, 21680, 953, 834, 2122, 2128, 549, 17444, 427, 96, 4168, 5, 16, 774, 121, 3274, 3, 31, 2517, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Quantity has a Type of e h4v, and a Year(s) of Manufacture of 1920 1924?
CREATE TABLE table_name_87 ( quantity INTEGER, type VARCHAR, year_s__of_manufacture VARCHAR )
SELECT MIN(quantity) FROM table_name_87 WHERE type = "e h4v" AND year_s__of_manufacture = "1920–1924"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 8708, 3, 21342, 17966, 6, 686, 584, 4280, 28027, 6, 215, 834, 7, 834, 834, 858, 834, 348, 76, 8717, 1462, 584, 4280, 28027, 3, 61, 3, 32102, 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, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 13158, 485, 61, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 686, 3274, 96, 15, 3, 107, 591, 208, 121, 3430, 215, 834, 7, 834, 834, 858, 834, 348, 76, 8717, 1462, 3274, 96, 2294, 1755, 104, ...
What is Year (Ceremony), when Director is 'Farid Gumbatov Category:Articles With hCards'?
CREATE TABLE table_47580 ( "Year (Ceremony)" text, "Film title used in nomination" text, "Original title" text, "Primary Language(s)" text, "Director" text, "Result" text )
SELECT "Year (Ceremony)" FROM table_47580 WHERE "Director" = 'farid gumbatov category:articles with hcards'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3072, 2079, 41, 96, 476, 2741, 41, 254, 49, 15, 21208, 61, 121, 1499, 6, 96, 371, 173, 51, 2233, 261, 16, 13588, 121, 1499, 6, 96, 667, 3380, 10270, 2233, 121, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 476, 2741, 41, 254, 49, 15, 21208, 61, 121, 21680, 953, 834, 591, 3072, 2079, 549, 17444, 427, 96, 23620, 127, 121, 3274, 3, 31, 89, 9, 4055, 11406, 3697, 32, 208, 3295, 10, 8372, 7, 28, 3, 107, 6043, 7, 3...
What is total amount claimed summed across all the claims?
CREATE TABLE claims ( claim_id number, policy_id number, date_claim_made time, date_claim_settled time, amount_claimed number, amount_settled number ) CREATE TABLE customers ( customer_id number, customer_details text ) CREATE TABLE payments ( payment_id number, settlement_id n...
SELECT SUM(amount_claimed) FROM claims
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3213, 41, 1988, 834, 23, 26, 381, 6, 1291, 834, 23, 26, 381, 6, 833, 834, 15085, 834, 4725, 97, 6, 833, 834, 15085, 834, 2244, 17, 1361, 97, 6, 866, 834, 20471, 381, 6, 866, 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, 180, 6122, 599, 9, 11231, 834, 20471, 61, 21680, 3213, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Year has a Binibining Pilipinas International of alma concepcion?
CREATE TABLE table_name_54 (year VARCHAR, binibining_pilipinas_international VARCHAR)
SELECT year FROM table_name_54 WHERE binibining_pilipinas_international = "alma concepcion"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 1201, 584, 4280, 28027, 6, 2701, 23, 4517, 53, 834, 102, 173, 23, 3180, 9, 7, 834, 27817, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 29...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 215, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 2701, 23, 4517, 53, 834, 102, 173, 23, 3180, 9, 7, 834, 27817, 3274, 96, 138, 51, 9, 3, 11620, 102, 20013, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
Visualize the average experience working length of journalists working on different role type using a bar chart, and display from low to high by the total number.
CREATE TABLE news_report ( journalist_ID int, Event_ID int, Work_Type text ) CREATE TABLE event ( Event_ID int, Date text, Venue text, Name text, Event_Attendance int ) CREATE TABLE journalist ( journalist_ID int, Name text, Nationality text, Age text, Years_working...
SELECT Work_Type, AVG(Years_working) FROM journalist AS t1 JOIN news_report AS t2 ON t1.journalist_ID = t2.journalist_ID GROUP BY t2.Work_Type ORDER BY AVG(Years_working)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1506, 834, 60, 1493, 41, 9994, 834, 4309, 16, 17, 6, 8042, 834, 4309, 16, 17, 6, 3118, 834, 25160, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 605, 41, 8042, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3118, 834, 25160, 6, 71, 17217, 599, 476, 2741, 7, 834, 9238, 61, 21680, 9994, 6157, 3, 17, 536, 3, 15355, 3162, 1506, 834, 60, 1493, 6157, 3, 17, 357, 9191, 3, 17, 5411, 25340, 343, 834, 4309, 3274, 3, 17, 4416...
What is the venue where the melbourne tigers play their home games?
CREATE TABLE table_name_26 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_26 WHERE home_team = "melbourne tigers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 15098, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 5669, 213, 8, 3, 2341, 26255, 3, 2880, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5669, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 234, 834, 11650, 3274, 96, 2341, 26255, 3, 2880, 277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the total of deaths in internment camps and during the wartime flight ?
CREATE TABLE table_203_234 ( id number, "description" text, "total" number, "poland" number, "baltic states(resettled in poland during war)" number, "resettled in poland during war(from ussr and romania)" number, "sudetendeutsch" number, "se europe\n(hungary, romania, yugoslavia & slovak...
SELECT SUM("total") FROM table_203_234 WHERE "description" IN ('in internment camps', 'during the wartime flight')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 357, 3710, 41, 3, 23, 26, 381, 6, 96, 221, 11830, 121, 1499, 6, 96, 235, 1947, 121, 381, 6, 96, 3233, 232, 121, 381, 6, 96, 3849, 1225, 2315, 599, 60, 2244,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 235, 1947, 8512, 21680, 953, 834, 23330, 834, 357, 3710, 549, 17444, 427, 96, 221, 11830, 121, 3388, 41, 31, 77, 9342, 297, 15926, 31, 6, 3, 31, 26, 7920, 8, 615, 715, 3777, 31, 61, 1, -100,...
What is the smallest total for a nation with more than 1 silver?
CREATE TABLE table_name_75 ( total INTEGER, silver INTEGER )
SELECT MIN(total) FROM table_name_75 WHERE silver > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 792, 3, 21342, 17966, 6, 4294, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 17924, 792, 21, 3, 9, 2982, 28, 72, 145, 209, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 4294, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who is the constituency when the runner-up was d. Venugopal?
CREATE TABLE table_25284 ( "Constituency" text, "Winner" text, "Party" text, "Margin" real, "Runner-up a" text, "Party a" text )
SELECT "Constituency" FROM table_25284 WHERE "Runner-up a" = 'D. Venugopal'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 357, 4608, 41, 96, 4302, 2248, 17, 76, 4392, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 7286, 122, 77, 121, 490, 6, 96, 23572, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4302, 2248, 17, 76, 4392, 121, 21680, 953, 834, 1828, 357, 4608, 549, 17444, 427, 96, 23572, 18, 413, 3, 9, 121, 3274, 3, 31, 308, 5, 7281, 76, 839, 6459, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
What number of Fatalities did the Epicenter M zandar n have?
CREATE TABLE table_32291 ( "Date" text, "Time" text, "Epicenter" text, "Magnitude" text, "Fatalities" text, "Name" text )
SELECT "Fatalities" FROM table_32291 WHERE "Epicenter" = 'māzandarān'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2668, 357, 4729, 41, 96, 308, 342, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 427, 102, 23, 13866, 121, 1499, 6, 96, 22909, 29, 20341, 121, 1499, 6, 96, 371, 9, 1947, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 371, 9, 1947, 2197, 121, 21680, 953, 834, 2668, 357, 4729, 549, 17444, 427, 96, 427, 102, 23, 13866, 121, 3274, 3, 31, 51, 2, 10241, 3439, 2, 29, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
I want to see trend the number of season over season by Home_team, and order by the X-axis from high to low.
CREATE TABLE game ( stadium_id int, id int, Season int, Date text, Home_team text, Away_team text, Score text, Competition text ) CREATE TABLE injury_accident ( game_id int, id int, Player text, Injury text, Number_of_matches text, Source text ) CREATE TABLE sta...
SELECT Season, COUNT(Season) FROM game GROUP BY Home_team, Season ORDER BY Season DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 467, 41, 14939, 834, 23, 26, 16, 17, 6, 3, 23, 26, 16, 17, 6, 7960, 16, 17, 6, 7678, 1499, 6, 1210, 834, 11650, 1499, 6, 71, 1343, 834, 11650, 1499, 6, 17763, 1499, 6, 15571, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7960, 6, 2847, 17161, 599, 134, 15, 9, 739, 61, 21680, 467, 350, 4630, 6880, 272, 476, 1210, 834, 11650, 6, 7960, 4674, 11300, 272, 476, 7960, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
who was the first death in the republican party ?
CREATE TABLE table_204_145 ( id number, "representative" text, "state" text, "district(s)" text, "served" text, "party" text, "date of birth" text, "date of death" text, "age" text )
SELECT "representative" FROM table_204_145 WHERE "party" = 'republican' ORDER BY "date of death" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 20987, 41, 3, 23, 26, 381, 6, 96, 60, 12640, 1528, 121, 1499, 6, 96, 5540, 121, 1499, 6, 96, 26, 23, 20066, 599, 7, 61, 121, 1499, 6, 96, 3473, 15, 26, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 60, 12640, 1528, 121, 21680, 953, 834, 26363, 834, 20987, 549, 17444, 427, 96, 8071, 121, 3274, 3, 31, 60, 15727, 152, 31, 4674, 11300, 272, 476, 96, 5522, 13, 1687, 121, 8729, 12604, 209, 1, -100, -100, -100, ...
What is the final score of the game on April 9?
CREATE TABLE table_23248967_10 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_23248967_10 WHERE date = "April 9"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 2266, 3914, 3708, 834, 1714, 41, 2604, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 804, 2604, 13, 8, 467, 30, 1186, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 2773, 2266, 3914, 3708, 834, 1714, 549, 17444, 427, 833, 3274, 96, 23323, 668, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the record where the opponent was @ Orioles and the loss was to Leal (5-4)?
CREATE TABLE table_name_5 (record VARCHAR, opponent VARCHAR, loss VARCHAR)
SELECT record FROM table_name_5 WHERE opponent = "@ orioles" AND loss = "leal (5-4)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 60, 7621, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 6, 1453, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1368, 213, 8, 15264, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 15264, 3274, 96, 1741, 5322, 32, 965, 121, 3430, 1453, 3274, 96, 109, 138, 9209, 18, 7256, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the high lap total for pedro diniz?
CREATE TABLE table_77802 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT MAX("Laps") FROM table_77802 WHERE "Driver" = 'pedro diniz'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4013, 2079, 357, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 3612, 102, 7, 8512, 21680, 953, 834, 4013, 2079, 357, 549, 17444, 427, 96, 20982, 52, 121, 3274, 3, 31, 3138, 52, 32, 176, 23, 172, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the 2nd leg where the team 2 was budoni (sardinia)?
CREATE TABLE table_53757 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text )
SELECT "2nd leg" FROM table_53757 WHERE "Team 2" = 'budoni (sardinia)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 4118, 3436, 41, 96, 18699, 209, 121, 1499, 6, 96, 188, 4102, 535, 1499, 6, 96, 18699, 204, 121, 1499, 6, 96, 536, 7, 17, 4553, 121, 1499, 6, 96, 357, 727, 4553, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 357, 727, 4553, 121, 21680, 953, 834, 755, 4118, 3436, 549, 17444, 427, 96, 18699, 204, 121, 3274, 3, 31, 11073, 106, 23, 41, 7, 986, 77, 23, 9, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which 2008 has a 2009 of A, and a 2010 of A, and a 2012 of 1r, and a Tournament of cincinnati masters?
CREATE TABLE table_6698 ( "Tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text )
SELECT "2008" FROM table_6698 WHERE "2009" = 'a' AND "2010" = 'a' AND "2012" = '1r' AND "Tournament" = 'cincinnati masters'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 3916, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 16128, 121, 1499, 6, 96, 16660, 121, 1499, 6, 96, 14926, 121, 1499, 6, 96, 13907, 121, 1499, 6, 96, 12172, 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, 16128, 121, 21680, 953, 834, 3539, 3916, 549, 17444, 427, 96, 16660, 121, 3274, 3, 31, 9, 31, 3430, 96, 14926, 121, 3274, 3, 31, 9, 31, 3430, 96, 12172, 121, 3274, 3, 31, 536, 52, 31, 3430, 96, 382, 1211, ...
How many millions of total viewers watched series #57?
CREATE TABLE table_17658 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Total viewers (in millions)" text )
SELECT COUNT("Total viewers (in millions)") FROM table_17658 WHERE "Series #" = '57'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26782, 3449, 41, 96, 12106, 7, 1713, 121, 490, 6, 96, 134, 15, 9, 739, 1713, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 3696, 1947, 13569, 41, 77, 4040, 61, 8512, 21680, 953, 834, 26782, 3449, 549, 17444, 427, 96, 12106, 7, 1713, 121, 3274, 3, 31, 3436, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When the Home team of carlton played, what was their score?
CREATE TABLE table_name_93 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_93 WHERE home_team = "carlton"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 5515, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 8, 1210, 372, 13, 443, 7377, 1944, 6, 125, 47, 70, 2604, 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, 234, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 234, 834, 11650, 3274, 96, 1720, 7377, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When the Runner-up was Angaston, and the Year was less than 1927, who was the Captain?
CREATE TABLE table_name_61 ( captain VARCHAR, year VARCHAR, runner_up VARCHAR )
SELECT captain FROM table_name_61 WHERE year < 1927 AND runner_up = "angaston"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 14268, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 3, 10806, 834, 413, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 8, 3, 23572, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14268, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 215, 3, 2, 957, 2555, 3430, 3, 10806, 834, 413, 3274, 96, 1468, 9, 4411, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the earliest year that Yvette Alexander took office and was up for reelection after 2016?
CREATE TABLE table_71476 ( "Name" text, "Position" text, "Party" text, "Took office" real, "Up for reelection" real )
SELECT MIN("Took office") FROM table_71476 WHERE "Name" = 'yvette alexander' AND "Up for reelection" > '2016'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2534, 3959, 41, 96, 23954, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 3696, 1825, 828, 121, 490, 6, 96, 11161, 21, 3, 60, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 3696, 1825, 828, 8512, 21680, 953, 834, 940, 2534, 3959, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 63, 19828, 1240, 226, 11849, 31, 3430, 96, 11161, 21, 3, 60, 15, 12252, 121, 2490, 3, 31, ...
What place had a To par of 10?
CREATE TABLE table_name_28 ( place VARCHAR, to_par VARCHAR )
SELECT place FROM table_name_28 WHERE to_par = "–10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 286, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 286, 141, 3, 9, 304, 260, 13, 335, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 286, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 12, 834, 1893, 3274, 96, 104, 1714, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who was the opponent for the 2003 davis cup europe/africa group ii?
CREATE TABLE table_9620 ( "Edition" text, "Round" text, "Date" text, "Against" text, "Surface" text, "Opponent" text, "Result" text )
SELECT "Opponent" FROM table_9620 WHERE "Edition" = '2003 davis cup europe/africa group ii'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4314, 1755, 41, 96, 427, 10569, 121, 1499, 6, 96, 448, 32, 1106, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 20749, 121, 1499, 6, 96, 134, 450, 4861, 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, 667, 102, 9977, 121, 21680, 953, 834, 4314, 1755, 549, 17444, 427, 96, 427, 10569, 121, 3274, 3, 31, 23948, 836, 3466, 4119, 3, 28188, 87, 9, 89, 2234, 9, 563, 3, 23, 23, 31, 1, -100, -100, -100, -100, -100,...
What is Group Song, when Song is ?
CREATE TABLE table_40381 ( "Index" text, "Name" text, "Song" text, "Group Song" text, "Score" text )
SELECT "Group Song" FROM table_40381 WHERE "Song" = '换季'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 3747, 536, 41, 96, 26267, 226, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 134, 2444, 121, 1499, 6, 96, 27247, 11263, 121, 1499, 6, 96, 134, 9022, 121, 1499, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 27247, 11263, 121, 21680, 953, 834, 2445, 3747, 536, 549, 17444, 427, 96, 134, 2444, 121, 3274, 3, 31, 2, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
On what date did the person who died on March 23, 1824 leave office?
CREATE TABLE table_8045 ( "Name" text, "Death" text, "Assumed Office" text, "Left Office" text, "Years in office" text, "Monarch" text )
SELECT "Left Office" FROM table_8045 WHERE "Death" = 'march 23, 1824'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2079, 2128, 41, 96, 23954, 121, 1499, 6, 96, 2962, 9, 189, 121, 1499, 6, 96, 188, 7, 4078, 15, 26, 2126, 121, 1499, 6, 96, 2796, 89, 17, 2126, 121, 1499, 6, 96, 476, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2796, 89, 17, 2126, 121, 21680, 953, 834, 2079, 2128, 549, 17444, 427, 96, 2962, 9, 189, 121, 3274, 3, 31, 51, 7064, 12992, 507, 2266, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which patients had a wbc joint fluid lab test?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.label = "WBC, Joint Fluid"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
For those employees who do not work in departments with managers that have ids between 100 and 200, find email and commission_pct , and visualize them by a bar chart, show by the Y in desc.
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decima...
SELECT EMAIL, COMMISSION_PCT FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY COMMISSION_PCT DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20211, 3502, 6, 3, 6657, 329, 16994, 9215, 834, 4051, 382, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 427, 283,...
At what Location was Miss World 2009?
CREATE TABLE table_38213 ( "Year" real, "Country/Territory" text, "Miss World" text, "National title" text, "Location" text )
SELECT "Location" FROM table_38213 WHERE "Year" = '2009'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3747, 357, 2368, 41, 96, 476, 2741, 121, 490, 6, 96, 10628, 651, 87, 382, 21301, 10972, 121, 1499, 6, 96, 329, 159, 7, 1150, 121, 1499, 6, 96, 24732, 2233, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 75, 257, 121, 21680, 953, 834, 3747, 357, 2368, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 16660, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the type of lithium when rubidium is nabr (1.9)?
CREATE TABLE table_70783 ( "Lithium" text, "Sodium" text, "Potassium" text, "Rubidium" text, "Caesium" text )
SELECT "Lithium" FROM table_70783 WHERE "Rubidium" = 'nabr (1.9)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 3940, 519, 41, 96, 434, 23, 189, 2552, 121, 1499, 6, 96, 28637, 121, 1499, 6, 96, 345, 32, 17, 6500, 440, 121, 1499, 6, 96, 448, 8371, 12925, 121, 1499, 6, 96, 25...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23, 189, 2552, 121, 21680, 953, 834, 2518, 3940, 519, 549, 17444, 427, 96, 448, 8371, 12925, 121, 3274, 3, 31, 29, 9, 115, 52, 41, 22493, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what was the last term year represented in the chart ?
CREATE TABLE table_204_699 ( id number, "district" text, "name" text, "party" text, "residence" text, "first served" number )
SELECT MAX("first served") FROM table_204_699
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 948, 3264, 41, 3, 23, 26, 381, 6, 96, 26, 23, 20066, 121, 1499, 6, 96, 4350, 121, 1499, 6, 96, 8071, 121, 1499, 6, 96, 60, 1583, 3772, 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, 4800, 4, 599, 121, 14672, 2098, 8512, 21680, 953, 834, 26363, 834, 948, 3264, 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 set 2 has 15:33 as the time?
CREATE TABLE table_name_14 (set_2 VARCHAR, time VARCHAR)
SELECT set_2 FROM table_name_14 WHERE time = "15:33"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 2244, 834, 357, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 356, 204, 65, 627, 10, 4201, 38, 8, 97, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 356, 834, 357, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 97, 3274, 96, 1808, 10, 4201, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What are the different ids and names of the stations that have had more than 12 bikes available Plot them as bar chart, display total number in desc order.
CREATE TABLE trip ( id INTEGER, duration INTEGER, start_date TEXT, start_station_name TEXT, start_station_id INTEGER, end_date TEXT, end_station_name TEXT, end_station_id INTEGER, bike_id INTEGER, subscription_type TEXT, zip_code INTEGER ) CREATE TABLE station ( id INTEG...
SELECT name, id FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id WHERE T2.bikes_available > 12 ORDER BY id DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1469, 41, 3, 23, 26, 3, 21342, 17966, 6, 8659, 3, 21342, 17966, 6, 456, 834, 5522, 3, 3463, 4, 382, 6, 456, 834, 6682, 834, 4350, 3, 3463, 4, 382, 6, 456, 834, 6682, 834, 23, 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, 564, 6, 3, 23, 26, 21680, 2478, 6157, 332, 536, 3, 15355, 3162, 2637, 6157, 332, 357, 9191, 332, 5411, 23, 26, 3274, 332, 4416, 6682, 834, 23, 26, 549, 17444, 427, 332, 4416, 15214, 7, 834, 28843, 2490, 586, 4674,...
On what day was Game 48 played?
CREATE TABLE table_name_39 (date VARCHAR, game VARCHAR)
SELECT date FROM table_name_39 WHERE game = 48
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 5522, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 461, 125, 239, 47, 4435, 4678, 1944, 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, 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, 833, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 467, 3274, 4678, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What type of surface was played on when julie halard-decugis was the partner on October 8, 2000?
CREATE TABLE table_name_88 (surface VARCHAR, partner VARCHAR, date VARCHAR)
SELECT surface FROM table_name_88 WHERE partner = "julie halard-decugis" AND date = "october 8, 2000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 26899, 584, 4280, 28027, 6, 2397, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 686, 13, 1774, 47, 1944, 30, 116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1774, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 2397, 3274, 96, 2047, 1896, 3, 3828, 986, 18, 221, 75, 25297, 7, 121, 3430, 833, 3274, 96, 32, 75, 235, 1152, 9478, 2766, 121, 1, -100, -100, -100, -100, -1...
Find meter_200 and the sum of ID , and group by attribute meter_200, and visualize them by a bar chart.
CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE swimme...
SELECT meter_200, SUM(ID) FROM swimmer GROUP BY meter_200
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 605, 41, 4699, 16, 17, 6, 5570, 1499, 6, 12750, 834, 4309, 16, 17, 6, 2929, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1368, 41, 4699, 16, 17, 6, 3, 20119, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4401, 834, 3632, 6, 180, 6122, 599, 4309, 61, 21680, 27424, 350, 4630, 6880, 272, 476, 3, 4401, 834, 3632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
count the number of patients whose admission location is phys referral/normal deli and discharge location is snf?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND demographic.discharge_location = "SNF"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 9, 26, 5451, 834, 14836, 3274, 96, 8023, 476, 134, 4083, 20805, 21415, 87, 24833, 329, 4090, 309, ...
get the number of widow patients who were ordered urine fluid lab test.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text,...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "WIDOWED" AND lab.fluid = "Urine"
[ 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, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Return the lot details of lots that belong to investors with details 'l', and count them by a bar chart
CREATE TABLE Transactions ( transaction_id INTEGER, investor_id INTEGER, transaction_type_code VARCHAR(10), date_of_transaction DATETIME, amount_of_transaction DECIMAL(19,4), share_count VARCHAR(40), other_details VARCHAR(255) ) CREATE TABLE Sales ( sales_transaction_id INTEGER, sal...
SELECT lot_details, COUNT(lot_details) FROM Investors AS T1 JOIN Lots AS T2 ON T1.investor_id = T2.investor_id WHERE T1.Investor_details = "l" GROUP BY lot_details
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 21469, 7, 41, 5878, 834, 23, 26, 3, 21342, 17966, 6, 12024, 834, 23, 26, 3, 21342, 17966, 6, 5878, 834, 6137, 834, 4978, 584, 4280, 28027, 599, 16968, 6, 833, 834, 858, 834, 7031, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 418, 834, 221, 5756, 7, 6, 2847, 17161, 599, 3171, 834, 221, 5756, 7, 61, 21680, 16873, 7, 6157, 332, 536, 3, 15355, 3162, 14868, 6157, 332, 357, 9191, 332, 5411, 15601, 127, 834, 23, 26, 3274, 332, 4416, 15601, 1...
What is the lowest Total, when Second is '55'?
CREATE TABLE table_61390 ( "Season" text, "Premier" real, "First" real, "Second" real, "Total" real )
SELECT MIN("Total") FROM table_61390 WHERE "Second" = '55'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4241, 519, 2394, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 10572, 51, 972, 121, 490, 6, 96, 25171, 121, 490, 6, 96, 134, 15, 1018, 26, 121, 490, 6, 96, 3696, 1947, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 3696, 1947, 8512, 21680, 953, 834, 4241, 519, 2394, 549, 17444, 427, 96, 134, 15, 1018, 26, 121, 3274, 3, 31, 3769, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many placed 4th on April 25?
CREATE TABLE table_22951 ( "Round" real, "Date" text, "City and venue" text, "Winner" text, "Runner-up" text, "3rd placed" text, "4th placed" text, "Results" text )
SELECT COUNT("4th placed") FROM table_22951 WHERE "Date" = 'April 25'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 3301, 536, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 254, 485, 11, 5669, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 23572, 18, 413,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 591, 189, 2681, 8512, 21680, 953, 834, 2884, 3301, 536, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 23323, 944, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the most peak performance for october 2006 - january 2010
CREATE TABLE table_3892 ( "Model - Computer name" text, "CPU type" text, "No. of processors" text, "Period of operation" text, "Maximum peak performance ( Teraflops )" text, "Use" text )
SELECT "Maximum peak performance ( Teraflops )" FROM table_3892 WHERE "Period of operation" = 'October 2006 - January 2010'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3747, 4508, 41, 96, 24663, 3, 18, 5491, 564, 121, 1499, 6, 96, 254, 10744, 686, 121, 1499, 6, 96, 4168, 5, 13, 7502, 7, 121, 1499, 6, 96, 12988, 23, 32, 26, 13, 2986, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21298, 603, 440, 6734, 821, 41, 9934, 9, 23588, 7, 3, 61, 121, 21680, 953, 834, 3747, 4508, 549, 17444, 427, 96, 12988, 23, 32, 26, 13, 2986, 121, 3274, 3, 31, 28680, 3581, 3, 18, 1762, 2735, 31, 1, -100, ...
What state is susana martinez from?
CREATE TABLE table_name_72 ( state VARCHAR, current_governor VARCHAR )
SELECT state FROM table_name_72 WHERE current_governor = "susana martinez"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 538, 584, 4280, 28027, 6, 750, 834, 122, 1890, 29, 127, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 538, 19, 4324, 152, 9, 3157, 4070,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 538, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 750, 834, 122, 1890, 29, 127, 3274, 96, 7, 302, 152, 9, 3157, 4070, 172, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the regions that use English or Dutch?
CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR); CREATE TABLE country (Region VARCHAR, Code VARCHAR)
SELECT DISTINCT T1.Region FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "English" OR T2.Language = "Dutch"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 684, 24925, 41, 10628, 651, 22737, 584, 4280, 28027, 6, 10509, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 684, 41, 17748, 23, 106, 584, 4280, 28027, 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, 0, 0...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 332, 5411, 17748, 23, 106, 21680, 684, 6157, 332, 536, 3, 15355, 3162, 684, 24925, 6157, 332, 357, 9191, 332, 5411, 22737, 3274, 332, 4416, 10628, 651, 22737, 549, 17444, 427, 332, 4416, 434, 14...
For those dates with a max temperature greater than or equal to 80, I want to see the number of days for each year using a bar chart, rank by the y axis in desc.
CREATE TABLE status ( station_id INTEGER, bikes_available INTEGER, docks_available INTEGER, time TEXT ) CREATE TABLE trip ( id INTEGER, duration INTEGER, start_date TEXT, start_station_name TEXT, start_station_id INTEGER, end_date TEXT, end_station_name TEXT, end_station...
SELECT date, COUNT(date) FROM weather WHERE max_temperature_f >= 80 ORDER BY COUNT(date) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2637, 41, 2478, 834, 23, 26, 3, 21342, 17966, 6, 13490, 834, 28843, 3, 21342, 17966, 6, 12908, 7, 834, 28843, 3, 21342, 17966, 6, 97, 3, 3463, 4, 382, 3, 61, 3, 32102, 32103, 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, 833, 6, 2847, 17161, 599, 5522, 61, 21680, 1969, 549, 17444, 427, 9858, 834, 21010, 15, 834, 89, 2490, 2423, 2775, 4674, 11300, 272, 476, 2847, 17161, 599, 5522, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, ...