NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
How many records show Utah as the opponent?
CREATE TABLE table_22815265_1 (record VARCHAR, opponent VARCHAR)
SELECT COUNT(record) FROM table_22815265_1 WHERE opponent = "Utah"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2577, 26320, 4122, 834, 536, 41, 60, 7621, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 3187, 504, 12339, 38, 8, 15264, 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, 2847, 17161, 599, 60, 7621, 61, 21680, 953, 834, 357, 2577, 26320, 4122, 834, 536, 549, 17444, 427, 15264, 3274, 96, 1265, 17, 9, 107, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the average age of patients in or above 76 years of age and admitted in or after the year 2173?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ...
SELECT AVG(demographic.age) FROM demographic WHERE demographic.age >= "76" AND demographic.admityear >= "2173"
[ 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, 71, 17217, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 545, 2490, 2423, 96, 3959, 121, 3430, 14798, 5, 20466, 17, 1201, 2490, 2423, 96, 2658, 4552, 121, 1, -100, -100, -100, -100, -100, -1...
What is who-two where you and i is ngœban?
CREATE TABLE table_1015914_24 (who_two VARCHAR, you_and_i VARCHAR)
SELECT who_two FROM table_1015914_24 WHERE you_and_i = "ngœban"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 27904, 2534, 834, 2266, 41, 8903, 834, 8264, 584, 4280, 28027, 6, 25, 834, 232, 834, 23, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 113, 18, 8264, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 113, 834, 8264, 21680, 953, 834, 1714, 27904, 2534, 834, 2266, 549, 17444, 427, 25, 834, 232, 834, 23, 3274, 96, 1725, 2, 3478, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the modern equivalent of the former kingdom "silla" with the hanja 尙州?
CREATE TABLE table_160510_1 (modern_equivalent VARCHAR, former_kingdom VARCHAR, hanja VARCHAR)
SELECT COUNT(modern_equivalent) FROM table_160510_1 WHERE former_kingdom = "Silla" AND hanja = "尙州"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19129, 25926, 834, 536, 41, 18306, 834, 15, 1169, 15592, 584, 4280, 28027, 6, 1798, 834, 1765, 5012, 584, 4280, 28027, 6, 3, 2618, 1191, 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, 2847, 17161, 599, 18306, 834, 15, 1169, 15592, 61, 21680, 953, 834, 19129, 25926, 834, 536, 549, 17444, 427, 1798, 834, 1765, 5012, 3274, 96, 134, 1092, 9, 121, 3430, 3, 2618, 1191, 3274, 96, 2, 121, 1, -100, -100, ...
Which team 1 has cbm valladolid as team 2?
CREATE TABLE table_42377 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text )
SELECT "Team 1" FROM table_42377 WHERE "Team 2" = 'cbm valladolid'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2773, 4013, 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, 18699, 209, 121, 21680, 953, 834, 591, 2773, 4013, 549, 17444, 427, 96, 18699, 204, 121, 3274, 3, 31, 75, 115, 51, 409, 195, 9, 26, 4172, 26, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which License has a System of amiga, and a Name of pocketuae?
CREATE TABLE table_name_83 (license VARCHAR, system VARCHAR, name VARCHAR)
SELECT license FROM table_name_83 WHERE system = "amiga" AND name = "pocketuae"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 28062, 584, 4280, 28027, 6, 358, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 16452, 65, 3, 9, 2149, 13, 183, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3344, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 358, 3274, 96, 9, 10673, 9, 121, 3430, 564, 3274, 96, 10496, 8044, 76, 9, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many entries for highest when the low team was baltimore rays?
CREATE TABLE table_237757_10 ( highest VARCHAR, low_team VARCHAR )
SELECT COUNT(highest) FROM table_237757_10 WHERE low_team = "Baltimore Rays"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 4013, 3436, 834, 1714, 41, 2030, 584, 4280, 28027, 6, 731, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 10066, 21, 2030, 116, 8, 731, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 6739, 222, 61, 21680, 953, 834, 2773, 4013, 3436, 834, 1714, 549, 17444, 427, 731, 834, 11650, 3274, 96, 279, 2920, 23, 3706, 8279, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many candidates were part of the republican party ?
CREATE TABLE table_203_615 ( id number, "district" text, "incumbent" text, "party" text, "first\nelected" number, "result" text, "candidates" text )
SELECT COUNT(*) FROM table_203_615 WHERE "party" = 'republican'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 948, 1808, 41, 3, 23, 26, 381, 6, 96, 26, 23, 20066, 121, 1499, 6, 96, 77, 75, 5937, 295, 121, 1499, 6, 96, 8071, 121, 1499, 6, 96, 14672, 2, 29, 19971, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 23330, 834, 948, 1808, 549, 17444, 427, 96, 8071, 121, 3274, 3, 31, 60, 15727, 152, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which position has a speed of 123.220?
CREATE TABLE table_name_35 (position VARCHAR, speed VARCHAR)
SELECT position FROM table_name_35 WHERE speed = "123.220"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 4718, 584, 4280, 28027, 6, 1634, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1102, 65, 3, 9, 1634, 13, 586, 19162, 1755, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 1634, 3274, 96, 2122, 19162, 1755, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the nickname that was founded 1798
CREATE TABLE table_25581 ( "Institution" text, "Nickname" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Joined" real, "Left" real )
SELECT "Nickname" FROM table_25581 WHERE "Founded" = '1798'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25502, 4959, 41, 96, 1570, 17448, 121, 1499, 6, 96, 567, 3142, 4350, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 20100, 121, 490, 6, 96, 25160, 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, 567, 3142, 4350, 121, 21680, 953, 834, 25502, 4959, 549, 17444, 427, 96, 20100, 121, 3274, 3, 31, 2517, 3916, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What LNER Class has a Class of 3?
CREATE TABLE table_57714 ( "Class" text, "Type" text, "Quantity" real, "Date" text, "LNER Class" text )
SELECT "LNER Class" FROM table_57714 WHERE "Class" = '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 4013, 2534, 41, 96, 21486, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 5991, 288, 485, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 434, 18206, 4501, 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, 0, 0...
[ 3, 23143, 14196, 96, 434, 18206, 4501, 121, 21680, 953, 834, 755, 4013, 2534, 549, 17444, 427, 96, 21486, 121, 3274, 3, 31, 519, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which room has the highest rate? List the room's full name, rate, check in and check out date.
CREATE TABLE rooms ( roomid text, roomname text, beds number, bedtype text, maxoccupancy number, baseprice number, decor text ) CREATE TABLE reservations ( code number, room text, checkin text, checkout text, rate number, lastname text, firstname text, adults...
SELECT T2.roomname, T1.rate, T1.checkin, T1.checkout FROM reservations AS T1 JOIN rooms AS T2 ON T1.room = T2.roomid GROUP BY T1.room ORDER BY T1.rate DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2801, 41, 562, 23, 26, 1499, 6, 562, 4350, 1499, 6, 8326, 381, 6, 1953, 6137, 1499, 6, 9858, 13377, 413, 6833, 381, 6, 1247, 102, 4920, 381, 6, 4469, 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, 332, 4416, 3082, 4350, 6, 332, 5411, 2206, 6, 332, 5411, 10031, 77, 6, 332, 5411, 10031, 670, 21680, 17653, 6157, 332, 536, 3, 15355, 3162, 2801, 6157, 332, 357, 9191, 332, 5411, 3082, 3274, 332, 4416, 3082, 23, 26,...
How many times is keauna mclaughlin / rockne brubaker ranked?
CREATE TABLE table_23938357_6 (rank VARCHAR, name VARCHAR)
SELECT COUNT(rank) FROM table_23938357_6 WHERE name = "Keauna McLaughlin / Rockne Brubaker"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 4271, 4591, 3436, 834, 948, 41, 6254, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 648, 19, 3, 1050, 9, 202, 9, 3, 51, 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, 2847, 17161, 599, 6254, 61, 21680, 953, 834, 2773, 4271, 4591, 3436, 834, 948, 549, 17444, 427, 564, 3274, 96, 439, 1607, 29, 9, 3038, 26604, 40, 77, 3, 87, 3120, 29, 15, 3, 9465, 19272, 49, 121, 1, -100, -100, ...
Name the first election for john mchugh
CREATE TABLE table_1341423_32 ( first_elected VARCHAR, incumbent VARCHAR )
SELECT COUNT(first_elected) FROM table_1341423_32 WHERE incumbent = "John McHugh"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2534, 2773, 834, 2668, 41, 166, 834, 19971, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 166, 4356, 21, 3, 27341, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 14672, 834, 19971, 61, 21680, 953, 834, 23747, 2534, 2773, 834, 2668, 549, 17444, 427, 28406, 3274, 96, 18300, 3038, 566, 14439, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Gold that has a Rank of 6, and a Bronze larger than 0 had what total number of gold?
CREATE TABLE table_38525 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT COUNT("Gold") FROM table_38525 WHERE "Rank" = '6' AND "Bronze" > '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 4433, 1828, 41, 96, 22557, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23576, 8512, 21680, 953, 834, 519, 4433, 1828, 549, 17444, 427, 96, 22557, 121, 3274, 3, 31, 948, 31, 3430, 96, 22780, 29, 776, 121, 2490, 3, 31, 632, 31, 1, -100, -100, -100, -100, -100, -1...
What was the away teams score when they played Carlton?
CREATE TABLE table_name_19 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_19 WHERE home_team = "carlton"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 8006, 834, 11650, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 550, 2323, 2604, 116, 79, 1944, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 550, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 2294, 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, ...
How many Ends Won have Blank Ends smaller than 14, and a Locale of manitoba, and Stolen Ends larger than 13?
CREATE TABLE table_name_58 (ends_won INTEGER, stolen_ends VARCHAR, blank_ends VARCHAR, locale VARCHAR)
SELECT SUM(ends_won) FROM table_name_58 WHERE blank_ends < 14 AND locale = "manitoba" AND stolen_ends > 13
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 989, 7, 834, 210, 106, 3, 21342, 17966, 6, 14244, 834, 989, 7, 584, 4280, 28027, 6, 11460, 834, 989, 7, 584, 4280, 28027, 6, 8522, 584, 4280, 28027, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 989, 7, 834, 210, 106, 61, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 11460, 834, 989, 7, 3, 2, 968, 3430, 8522, 3274, 96, 348, 23, 235, 115, 9, 121, 3430, 14244, 834, 989, 7, 2490, 1179,...
What is the sum of points for a position over 5 with more than 2 draws?
CREATE TABLE table_name_79 (points INTEGER, drawn VARCHAR, position VARCHAR)
SELECT SUM(points) FROM table_name_79 WHERE drawn > 2 AND position > 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 2700, 7, 3, 21342, 17966, 6, 6796, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4505, 13, 979, 21, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 6796, 2490, 204, 3430, 1102, 2490, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
At what Location was the Runner-up TBD?
CREATE TABLE table_name_3 ( location VARCHAR, runner_up VARCHAR )
SELECT location FROM table_name_3 WHERE runner_up = "tbd"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 1128, 584, 4280, 28027, 6, 3, 10806, 834, 413, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 486, 125, 10450, 47, 8, 3, 23572, 18, 413, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 3, 10806, 834, 413, 3274, 96, 17, 115, 26, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the 2nd round with a score of 3 - 3, and a team 1 fc gueugnon (d2)?
CREATE TABLE table_48479 ( "Team 1" text, "Score" text, "Team 2" text, "1st round" text, "2nd round" text )
SELECT "2nd round" FROM table_48479 WHERE "Score" = '3 - 3' AND "Team 1" = 'fc gueugnon (d2)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 591, 4440, 41, 96, 18699, 209, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 18699, 204, 121, 1499, 6, 96, 536, 7, 17, 1751, 121, 1499, 6, 96, 357, 727, 1751, 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, 1751, 121, 21680, 953, 834, 3707, 591, 4440, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 519, 3, 18, 220, 31, 3430, 96, 18699, 209, 121, 3274, 3, 31, 89, 75, 3, 5398, 76, 6715, 29, 41, 26, ...
What is the lowest earnings for a player with over 24 wins?
CREATE TABLE table_name_65 (earnings__ INTEGER, wins INTEGER)
SELECT MIN(earnings__) AS $__ FROM table_name_65 WHERE wins > 24
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 2741, 29, 53, 7, 834, 834, 3, 21342, 17966, 6, 9204, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 8783, 21, 3, 9, 1959, 28, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 2741, 29, 53, 7, 834, 834, 61, 6157, 1514, 834, 834, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 9204, 2490, 997, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the population for the Irish Name Leitir meall in?
CREATE TABLE table_101196_1 ( population VARCHAR, irish_name VARCHAR )
SELECT population FROM table_101196_1 WHERE irish_name = "Leitir Mealláin"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19621, 26937, 834, 536, 41, 2074, 584, 4280, 28027, 6, 3, 24804, 107, 834, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2074, 21, 8, 7262, 5570...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2074, 21680, 953, 834, 19621, 26937, 834, 536, 549, 17444, 427, 3, 24804, 107, 834, 4350, 3274, 96, 2796, 155, 23, 52, 1212, 1748, 2975, 77, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the height above sea level for the station opened 175.67km from Wellington prior to 1887?
CREATE TABLE table_59372 ( "Station" text, "Distance from Wellington" text, "Height above sea level (m)" text, "Opened" real, "Closed" text )
SELECT "Height above sea level (m)" FROM table_59372 WHERE "Opened" < '1887' AND "Distance from Wellington" = '175.67km'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 4118, 357, 41, 96, 134, 6821, 121, 1499, 6, 96, 308, 23, 8389, 45, 25176, 121, 1499, 6, 96, 3845, 2632, 756, 2805, 593, 41, 51, 61, 121, 1499, 6, 96, 22696, 15, 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, 3845, 2632, 756, 2805, 593, 41, 51, 61, 121, 21680, 953, 834, 3390, 4118, 357, 549, 17444, 427, 96, 22696, 15, 26, 121, 3, 2, 3, 31, 2606, 4225, 31, 3430, 96, 308, 23, 8389, 45, 25176, 121, 3274, 3, 31, 25...
Return a bar chart about the distribution of meter_500 and ID , and could you sort in descending by the total number?
CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Coun...
SELECT meter_500, ID FROM swimmer ORDER BY ID DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 27424, 41, 4699, 16, 17, 6, 564, 1499, 6, 868, 485, 1499, 6, 3, 4401, 834, 2915, 490, 6, 3, 4401, 834, 3632, 1499, 6, 3, 4401, 834, 5426, 1499, 6, 3, 4401, 834, 5548, 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, 3, 4401, 834, 2560, 6, 4699, 21680, 27424, 4674, 11300, 272, 476, 4699, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How old is the person with the height of m (ft 3 4 in)?
CREATE TABLE table_24192031_2 ( age VARCHAR, height VARCHAR )
SELECT age FROM table_24192031_2 WHERE height = "m (ft 3⁄4 in)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 2294, 1755, 3341, 834, 357, 41, 1246, 584, 4280, 28027, 6, 3902, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 625, 19, 8, 568, 28, 8, 3902, 13, 3, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1246, 21680, 953, 834, 2266, 2294, 1755, 3341, 834, 357, 549, 17444, 427, 3902, 3274, 96, 51, 41, 89, 17, 220, 2, 591, 16, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is procedure long title and icu stay id of subject id 74032?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT procedures.long_title, prescriptions.icustay_id FROM procedures INNER JOIN prescriptions ON procedures.hadm_id = prescriptions.hadm_id WHERE procedures.subject_id = "74032"
[ 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, 4293, 5, 2961, 834, 21869, 6, 7744, 7, 5, 23, 1071, 21545, 834, 23, 26, 21680, 4293, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 4293, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549, 17...
For those employees who was hired before 2002-06-21, return a bar chart about the distribution of job_id and the sum of employee_id , and group by attribute job_id, and list names in asc order.
CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), ...
SELECT JOB_ID, SUM(EMPLOYEE_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY JOB_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6266, 41, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 11116, 632, 201, 4083, 517, 9215, 834, 567, 17683, 3, 4331, 4059, 599, 1828, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 180, 6122, 599, 6037, 345, 5017, 476, 5080, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 350, 4630, 6880, 272, 476, 44...
What is 1996 Grand Slam Tournament if 1994 is LQ and 1992 is 3R?
CREATE TABLE table_name_4 (Id VARCHAR)
SELECT 1996 FROM table_name_4 WHERE 1994 = "lq" AND 1992 = "3r"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 6911, 2698, 29291, 20502, 3, 99, 7520, 19, 301, 2247, 11, 9047, 19, 220, 448, 58,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6911, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 7520, 3274, 96, 40, 1824, 121, 3430, 9047, 3274, 96, 519, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the successor for pennsylvania 15th
CREATE TABLE table_1958768_3 (successor VARCHAR, district VARCHAR)
SELECT successor FROM table_1958768_3 WHERE district = "Pennsylvania 15th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22464, 4225, 3651, 834, 519, 41, 7, 17431, 24901, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 22261, 21, 4550, 29, 7, 63, 40, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22261, 21680, 953, 834, 22464, 4225, 3651, 834, 519, 549, 17444, 427, 3939, 3274, 96, 345, 35, 29, 7, 63, 40, 16658, 9, 627, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which To par has a Player of tom watson?
CREATE TABLE table_12205 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text )
SELECT "To par" FROM table_12205 WHERE "Player" = 'tom watson'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 23201, 41, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 476, 2741, 599, 7, 61, 751, 121, 1499, 6, 96, 3696, 1947, 121, 490, 6, 96, 3696, 260, 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, 3696, 260, 121, 21680, 953, 834, 2122, 23201, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 235, 51, 8036, 17, 739, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which date has a round more than 9?
CREATE TABLE table_name_85 ( date VARCHAR, round INTEGER )
SELECT date FROM table_name_85 WHERE round > 9
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 833, 584, 4280, 28027, 6, 1751, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 833, 65, 3, 9, 1751, 72, 145, 668, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 1751, 2490, 668, 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,...
tell me how many married patients have been diagnosed with dysthymic disorder.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.marital_status = "MARRIED" AND diagnoses.short_title = "Dysthymic disorder"
[ 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, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
What was the date of the game with a score of W 106-100?
CREATE TABLE table_name_2 ( date VARCHAR, score VARCHAR )
SELECT date FROM table_name_2 WHERE score = "w 106-100"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 833, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 833, 13, 8, 467, 28, 3, 9, 2604, 13, 549, 3, 164...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 2604, 3274, 96, 210, 3, 16431, 18, 2915, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What CERCLIS ID was listed 10/14/1992?
CREATE TABLE table_name_49 (cerclis_id VARCHAR, listed VARCHAR)
SELECT cerclis_id FROM table_name_49 WHERE listed = "10/14/1992"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 2110, 14758, 7, 834, 23, 26, 584, 4280, 28027, 6, 2616, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 9265, 4902, 25769, 4699, 47, 2616, 335,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 19259, 40, 159, 834, 23, 26, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 2616, 3274, 96, 1714, 87, 2534, 13523, 4508, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the Date of Death of the person whose Date of Birth was 28 May 1371?
CREATE TABLE table_name_97 (date_of_death VARCHAR, date_of_birth VARCHAR)
SELECT date_of_death FROM table_name_97 WHERE date_of_birth = "28 may 1371"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 5522, 834, 858, 834, 221, 9, 189, 584, 4280, 28027, 6, 833, 834, 858, 834, 20663, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 7678...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 834, 858, 834, 221, 9, 189, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 833, 834, 858, 834, 20663, 3274, 96, 2577, 164, 1179, 4450, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who was the producer for the film 'Strange Little Girls'?
CREATE TABLE table_name_20 ( producer_s_ VARCHAR, film VARCHAR )
SELECT producer_s_ FROM table_name_20 WHERE film = "strange little girls"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 8211, 834, 7, 834, 584, 4280, 28027, 6, 814, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 8211, 21, 8, 814, 3, 31, 11500, 328...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8211, 834, 7, 834, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 814, 3274, 96, 7, 17, 5517, 385, 3567, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who directed the episode where u.s. viewers (million) is 12.90?
CREATE TABLE table_10701133_1 ( directed_by VARCHAR, us_viewers__million_ VARCHAR )
SELECT directed_by FROM table_10701133_1 WHERE us_viewers__million_ = "12.90"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 18057, 4542, 22974, 834, 536, 41, 6640, 834, 969, 584, 4280, 28027, 6, 178, 834, 4576, 277, 834, 834, 17030, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6640, 834, 969, 21680, 953, 834, 18057, 4542, 22974, 834, 536, 549, 17444, 427, 178, 834, 4576, 277, 834, 834, 17030, 834, 3274, 96, 9368, 2394, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what's the result with first elected being 1922
CREATE TABLE table_1342359_15 ( result VARCHAR, first_elected VARCHAR )
SELECT result FROM table_1342359_15 WHERE first_elected = 1922
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2773, 3390, 834, 1808, 41, 741, 584, 4280, 28027, 6, 166, 834, 19971, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 31, 7, 8, 741, 28, 166, 8160, 271,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 741, 21680, 953, 834, 23747, 2773, 3390, 834, 1808, 549, 17444, 427, 166, 834, 19971, 3274, 957, 2884, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who had a points average with 0 extra points and 0 field goals?
CREATE TABLE table_name_33 ( points INTEGER, extra_points VARCHAR, field_goals VARCHAR )
SELECT AVG(points) FROM table_name_33 WHERE extra_points = 0 AND field_goals > 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 979, 3, 21342, 17966, 6, 996, 834, 2700, 7, 584, 4280, 28027, 6, 1057, 834, 839, 5405, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 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, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 996, 834, 2700, 7, 3274, 3, 632, 3430, 1057, 834, 839, 5405, 2490, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
which patients with procedure icd9 code 8968 are still alive?
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 procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.expire_flag = "0" AND procedures.icd9_code = "8968"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Return the issue dates of volumes by artists who are at most 23 years old?
CREATE TABLE artist ( artist_id number, artist text, age number, famous_title text, famous_release_date text ) CREATE TABLE volume ( volume_id number, volume_issue text, issue_date text, weeks_on_top number, song text, artist_id number ) CREATE TABLE music_festival ( id...
SELECT issue_date FROM artist AS T1 JOIN volume AS T2 ON T1.artist_id = T2.artist_id WHERE T1.age <= 23
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2377, 41, 2377, 834, 23, 26, 381, 6, 2377, 1499, 6, 1246, 381, 6, 2581, 834, 21869, 1499, 6, 2581, 834, 21019, 834, 5522, 1499, 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, 962, 834, 5522, 21680, 2377, 6157, 332, 536, 3, 15355, 3162, 2908, 6157, 332, 357, 9191, 332, 5411, 1408, 343, 834, 23, 26, 3274, 332, 4416, 1408, 343, 834, 23, 26, 549, 17444, 427, 332, 5411, 545, 3, 2, 2423, 190...
what was the maximum daily number of patients who were admitted for s/p whipple since 2105?
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE vitalperiodic ( vitalperio...
SELECT MAX(t1.c1) FROM (SELECT COUNT(DISTINCT diagnosis.patientunitstayid) AS c1 FROM diagnosis WHERE diagnosis.diagnosisname = 's/p whipple' AND STRFTIME('%y', diagnosis.diagnosistime) >= '2105' GROUP BY STRFTIME('%y-%m-%d', diagnosis.diagnosistime)) AS t1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1058, 41, 1058, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1058, 4350, 1499, 6, 1058, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 8209, 41, 8209, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17, 5411, 75, 6982, 21680, 41, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 8209, 5, 10061, 15129, 21545, 23, 26, 61, 6157, 3, 75, 536, 21680, 8209, 549, 17444, 427, 8209, 5, 25930, 4844, 159, 4...
what is the no when the distance is 4168km?
CREATE TABLE table_3637 ( "No" real, "Origin City (Country)" text, "Destination City (Country)" text, "Train Name No" text, "Operator Name" text, "Distance" text, "No. of Stops" text, "Frequency" text, "Scheduled running time" text )
SELECT "No" FROM table_3637 WHERE "Distance" = '4168km'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 4118, 41, 96, 4168, 121, 490, 6, 96, 667, 3380, 77, 896, 41, 10628, 651, 61, 121, 1499, 6, 96, 308, 222, 77, 257, 896, 41, 10628, 651, 61, 121, 1499, 6, 96, 9402,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4168, 121, 21680, 953, 834, 3420, 4118, 549, 17444, 427, 96, 308, 23, 8389, 121, 3274, 3, 31, 4853, 3651, 5848, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the cost of a diagnosis of s/p surgery for cancer - liver?
CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE microlab ( microl...
SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'diagnosis' AND cost.eventid IN (SELECT diagnosis.diagnosisid FROM diagnosis WHERE diagnosis.diagnosisname = 's/p surgery for cancer - liver')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3362, 4267, 32, 4370, 41, 3362, 4267, 32, 26, 1294, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2912, 381, 6, 3, 7, 9, 32, 357, 381, 6, 842, 2206, 381, 6, 14114, 257, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 583, 5, 11290, 21680, 583, 549, 17444, 427, 583, 5, 15, 2169, 6137, 3274, 3, 31, 25930, 4844, 159, 31, 3430, 583, 5, 15, 2169, 23, 26, 3388, 41, 23143, 14196, 8209, 5, 25930, 4844, 159, 23, ...
What chassis has patrick racing as an entrant, with a start greater than 6?
CREATE TABLE table_name_69 ( chassis VARCHAR, entrant VARCHAR, start VARCHAR )
SELECT chassis FROM table_name_69 WHERE entrant = "patrick racing" AND start > 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 22836, 584, 4280, 28027, 6, 3, 295, 3569, 584, 4280, 28027, 6, 456, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 22836, 65, 6234, 5206, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 22836, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 3, 295, 3569, 3274, 96, 4665, 5206, 8191, 121, 3430, 456, 2490, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What tournament venue is listed during the Missouri Valley Conference?
CREATE TABLE table_28365816_2 (tournament_venue__city_ VARCHAR, conference VARCHAR)
SELECT tournament_venue__city_ FROM table_28365816_2 WHERE conference = "Missouri Valley conference"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 10402, 927, 2938, 834, 357, 41, 17, 1211, 20205, 17, 834, 15098, 834, 834, 6726, 834, 584, 4280, 28027, 6, 2542, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5892, 834, 15098, 834, 834, 6726, 834, 21680, 953, 834, 2577, 10402, 927, 2938, 834, 357, 549, 17444, 427, 2542, 3274, 96, 329, 159, 7, 32, 459, 3460, 2542, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the total number of silver with rank number 6?
CREATE TABLE table_name_6 ( silver VARCHAR, rank VARCHAR )
SELECT COUNT(silver) FROM table_name_6 WHERE rank = 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 4294, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381, 13, 4294, 28, 11003, 381, 431, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 7, 173, 624, 61, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 11003, 3274, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which team has 71 Points and F/Laps of 4?
CREATE TABLE table_45241 ( "Season" real, "Series" text, "Team" text, "Races" text, "Wins" text, "Poles" text, "F/Laps" text, "Podiums" text, "Points" text, "Position" text )
SELECT "Team" FROM table_45241 WHERE "Points" = '71' AND "F/Laps" = '4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 2266, 536, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 12106, 7, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 448, 9, 2319, 121, 1499, 6, 96, 18455, 7, 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, 18699, 121, 21680, 953, 834, 2128, 2266, 536, 549, 17444, 427, 96, 22512, 7, 121, 3274, 3, 31, 4450, 31, 3430, 96, 371, 87, 3612, 102, 7, 121, 3274, 3, 31, 591, 31, 1, -100, -100, -100, -100, -100, -100, -10...
Which Presentation of Credentials is listed for the Appointed by Benjamin Harrison?
CREATE TABLE table_15166 ( "Representative" text, "Title" text, "Presentation of Credentials" text, "Termination of Mission" text, "Appointed by" text )
SELECT "Presentation of Credentials" FROM table_15166 WHERE "Appointed by" = 'benjamin harrison'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 26811, 41, 96, 1649, 12640, 1528, 121, 1499, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 10572, 5277, 257, 13, 14301, 7220, 7, 121, 1499, 6, 96, 11679, 77, 257, 13, 896...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10572, 5277, 257, 13, 14301, 7220, 7, 121, 21680, 953, 834, 1808, 26811, 549, 17444, 427, 96, 9648, 32, 2429, 26, 57, 121, 3274, 3, 31, 115, 35, 1191, 1109, 3, 3272, 23790, 31, 1, -100, -100, -100, -100, -100,...
When there were 767 points, what was the point difference?
CREATE TABLE table_name_34 ( points_difference VARCHAR, points_against VARCHAR )
SELECT points_difference FROM table_name_34 WHERE points_against = "767"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 979, 834, 26, 99, 11788, 584, 4280, 28027, 6, 979, 834, 9, 16720, 7, 17, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 132, 130, 489, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 979, 834, 26, 99, 11788, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 979, 834, 9, 16720, 7, 17, 3274, 96, 940, 3708, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
how many members identified with the liberal party ?
CREATE TABLE table_202_150 ( id number, "election" number, "member" text, "party" text )
SELECT COUNT("member") FROM table_202_150 WHERE "party" = 'liberal'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19818, 834, 12278, 41, 3, 23, 26, 381, 6, 96, 15, 12252, 121, 381, 6, 96, 12066, 121, 1499, 6, 96, 8071, 121, 1499, 3, 61, 3, 32102, 32103, 32101, 32103, 149, 186, 724, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 121, 12066, 8512, 21680, 953, 834, 19818, 834, 12278, 549, 17444, 427, 96, 8071, 121, 3274, 3, 31, 10661, 138, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the lowest amount of losses the United States, ranked higher than 3 with more than 6 wins, have?
CREATE TABLE table_name_96 ( losses INTEGER, wins VARCHAR, rank VARCHAR, team VARCHAR )
SELECT MIN(losses) FROM table_name_96 WHERE rank < 3 AND team = "united states" AND wins > 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 8467, 3, 21342, 17966, 6, 9204, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 2298, 2260, 61, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 11003, 3, 2, 220, 3430, 372, 3274, 96, 15129, 15, 26, 2315, 121, 3430, 9204, 2490, 431, 1, -100, -100, -100, -100, -100, -100, -100, ...
What state is the city of Ruston in?
CREATE TABLE table_name_13 (state VARCHAR, city VARCHAR)
SELECT state FROM table_name_13 WHERE city = "ruston"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 5540, 584, 4280, 28027, 6, 690, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 538, 19, 8, 690, 13, 2770, 4411, 16, 58, 1, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 538, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 690, 3274, 96, 9277, 106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the country where % change on year is 21 and value is less than 86
CREATE TABLE table_name_12 (country VARCHAR, debt_as__percentage_of_value VARCHAR, _percentage_change_on_year VARCHAR)
SELECT country FROM table_name_12 WHERE debt_as__percentage_of_value < 86 AND _percentage_change_on_year = "21"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 17529, 584, 4280, 28027, 6, 2814, 834, 9, 7, 834, 834, 883, 3728, 545, 834, 858, 834, 12097, 584, 4280, 28027, 6, 3, 834, 883, 3728, 545, 834, 13073, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 684, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 2814, 834, 9, 7, 834, 834, 883, 3728, 545, 834, 858, 834, 12097, 3, 2, 3, 3840, 3430, 3, 834, 883, 3728, 545, 834, 13073, 834, 106, 834, 1201, 3274, 96, 26...
What cardwell has an insider advantage and a knight of 1%
CREATE TABLE table_name_43 ( cardwell VARCHAR, source VARCHAR, knight VARCHAR )
SELECT cardwell FROM table_name_43 WHERE source = "insider advantage" AND knight = "1%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 895, 2091, 584, 4280, 28027, 6, 1391, 584, 4280, 28027, 6, 29816, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 895, 2091, 65, 46, 1096, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 895, 2091, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 1391, 3274, 96, 77, 1583, 52, 2337, 121, 3430, 29816, 3274, 96, 4704, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the code of the category that the product with the name 'flax' belongs to?
CREATE TABLE product_characteristics ( product_id number, characteristic_id number, product_characteristic_value text ) CREATE TABLE ref_product_categories ( product_category_code text, product_category_description text, unit_of_measure text ) CREATE TABLE products ( product_id number, ...
SELECT product_category_code FROM products WHERE product_name = "flax"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 556, 834, 31886, 3040, 7, 41, 556, 834, 23, 26, 381, 6, 16115, 834, 23, 26, 381, 6, 556, 834, 31886, 3040, 834, 12097, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 556, 834, 8367, 839, 651, 834, 4978, 21680, 494, 549, 17444, 427, 556, 834, 4350, 3274, 96, 89, 521, 226, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
On what Week was the Result W 34–24?
CREATE TABLE table_name_22 (week INTEGER, result VARCHAR)
SELECT AVG(week) FROM table_name_22 WHERE result = "w 34–24"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 8041, 3, 21342, 17966, 6, 741, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 461, 125, 6551, 47, 8, 3, 20119, 549, 6154, 104, 2266, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 8041, 61, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 741, 3274, 96, 210, 6154, 104, 2266, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What percentage of browsers were using Chrome during the period in which 0.30% were using Opera and 6.77% were using Safari?
CREATE TABLE table_65831 ( "Internet Explorer" text, "Firefox , Other Mozilla" text, "Chrome" text, "Safari" text, "Opera" text )
SELECT "Chrome" FROM table_65831 WHERE "Opera" = '0.30%' AND "Safari" = '6.77%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 4591, 536, 41, 96, 22912, 15762, 121, 1499, 6, 96, 3183, 60, 20400, 3, 6, 2502, 30699, 121, 1499, 6, 96, 3541, 11956, 121, 1499, 6, 96, 134, 9, 5544, 23, 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, 3541, 11956, 121, 21680, 953, 834, 4122, 4591, 536, 549, 17444, 427, 96, 667, 883, 9, 121, 3274, 3, 31, 19997, 6932, 31, 3430, 96, 134, 9, 5544, 23, 121, 3274, 3, 31, 29045, 6170, 31, 1, -100, -100, -100, -1...
What is the class for the position of lg?
CREATE TABLE table_name_4 (class VARCHAR, position VARCHAR)
SELECT class FROM table_name_4 WHERE position = "lg"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 4057, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 853, 21, 8, 1102, 13, 3, 40, 122, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 853, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 1102, 3274, 96, 40, 122, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, give me the comparison about the average of salary over the job_id , and group by attribute job_id, and display in ascending by the X.
CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(...
SELECT JOB_ID, AVG(SALARY) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY JOB_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 613, 834, 10193, 10972, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 5097, 8241, 834, 308, 6048, 833, 6, 3, 14920, 834, 308, 6048, 833, 6, 446, 10539, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 71, 17217, 599, 134, 4090, 24721, 61, 21680, 1652, 549, 17444, 427, 180, 4090, 24721, 272, 7969, 518, 23394, 3, 25129, 3430, 586, 2313, 3430, 3, 6657, 329, 16994, 9215, 834, 4051, 382, 3, 2...
What is every part number with model number core i5-670?
CREATE TABLE table_23028629_2 ( part_number_s_ VARCHAR, model_number VARCHAR )
SELECT part_number_s_ FROM table_23028629_2 WHERE model_number = "Core i5-670"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 13427, 357, 3840, 3166, 834, 357, 41, 294, 834, 5525, 1152, 834, 7, 834, 584, 4280, 28027, 6, 825, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 294, 834, 5525, 1152, 834, 7, 834, 21680, 953, 834, 13427, 357, 3840, 3166, 834, 357, 549, 17444, 427, 825, 834, 5525, 1152, 3274, 96, 13026, 15, 3, 23, 755, 5783, 2518, 121, 1, -100, -100, -100, -100, -100, -100, ...
What percentage of the 2011 population had a mother tongue language that was spoken by 45.22% of the population in 2006 (over 120)?
CREATE TABLE table_name_13 ( percentage__2011_ VARCHAR, population__2006_ VARCHAR, percentage__2006_ VARCHAR )
SELECT percentage__2011_ FROM table_name_13 WHERE population__2006_ > 120 AND percentage__2006_ = "45.22%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 5294, 834, 834, 13907, 834, 584, 4280, 28027, 6, 2074, 834, 834, 21196, 834, 584, 4280, 28027, 6, 5294, 834, 834, 21196, 834, 584, 4280, 28027, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5294, 834, 834, 13907, 834, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 2074, 834, 834, 21196, 834, 2490, 5864, 3430, 5294, 834, 834, 21196, 834, 3274, 96, 591, 24342, 5406, 121, 1, -100, -100, -100, -100, -100...
What is the Dialcode of whitechapel?
CREATE TABLE table_53501 ( "Location" text, "Londonborough" text, "Post town" text, "Postcodedistrict" text, "Dialcode" text )
SELECT "Dialcode" FROM table_53501 WHERE "Location" = 'whitechapel'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4867, 20176, 41, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 29712, 12823, 121, 1499, 6, 96, 22507, 1511, 121, 1499, 6, 96, 22507, 4978, 26, 23, 20066, 121, 1499, 6, 96, 2377...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23770, 40, 4978, 121, 21680, 953, 834, 4867, 20176, 549, 17444, 427, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 13698, 3441, 4343, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the Lomavren associated with a Persian of se?
CREATE TABLE table_name_32 (lomavren VARCHAR, persian VARCHAR)
SELECT lomavren FROM table_name_32 WHERE persian = "se"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 40, 32, 51, 9, 10859, 29, 584, 4280, 28027, 6, 399, 10488, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1815, 51, 9, 10859, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6899, 51, 9, 10859, 29, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 399, 10488, 3274, 96, 7, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many points were earned with a Chassis of a Ferrari 156?
CREATE TABLE table_name_78 (points VARCHAR, chassis VARCHAR)
SELECT COUNT(points) FROM table_name_78 WHERE chassis = "ferrari 156"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 2700, 7, 584, 4280, 28027, 6, 22836, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 979, 130, 4964, 28, 3, 9, 4004, 6500, 7, 13, 3, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 22836, 3274, 96, 1010, 52, 1665, 3, 25463, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the original name for the one from bulgaria
CREATE TABLE table_name_4 (original_name VARCHAR, country VARCHAR)
SELECT original_name FROM table_name_4 WHERE country = "bulgaria"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 21878, 834, 4350, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 926, 564, 21, 8, 80, 45, 25876, 6286, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 926, 834, 4350, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 684, 3274, 96, 6724, 122, 6286, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Slalom has a Downhill of 4?
CREATE TABLE table_4991 ( "Season" real, "Overall" real, "Slalom" text, "Giant Slalom" text, "Super G" text, "Downhill" text, "Combined" text )
SELECT "Slalom" FROM table_4991 WHERE "Downhill" = '4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 4729, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 23847, 1748, 121, 490, 6, 96, 134, 40, 138, 32, 51, 121, 1499, 6, 96, 517, 23, 288, 180, 40, 138, 32, 51, 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, 134, 40, 138, 32, 51, 121, 21680, 953, 834, 3647, 4729, 549, 17444, 427, 96, 308, 9197, 6321, 121, 3274, 3, 31, 591, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
In what stadium was the game on August 22, 2008 played?
CREATE TABLE table_name_36 (stadium VARCHAR, date VARCHAR)
SELECT stadium FROM table_name_36 WHERE date = "august 22, 2008"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 2427, 12925, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 14939, 47, 8, 467, 30, 1660, 12889, 2628, 1944, 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, 14939, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 833, 3274, 96, 402, 17198, 12889, 2628, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
who was the Stage winner when the stage was smaller than 16, earlier than 1986, and a distance (km) was 19.6?
CREATE TABLE table_name_44 (stage VARCHAR, distance__km_ VARCHAR, year VARCHAR)
SELECT stage AS winner FROM table_name_44 WHERE stage < 16 AND year < 1986 AND distance__km_ = "19.6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 10705, 584, 4280, 28027, 6, 2357, 834, 834, 5848, 834, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 113, 47, 8, 13578, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1726, 6157, 4668, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 1726, 3, 2, 898, 3430, 215, 3, 2, 12698, 3430, 2357, 834, 834, 5848, 834, 3274, 96, 2294, 5, 948, 121, 1, -100, -100, -100, -100, -100, -100, -1...
Who is the Electorate, when the year for First elected is 1974, and when the Party is Country?
CREATE TABLE table_name_16 ( electorate VARCHAR, first_elected VARCHAR, party VARCHAR )
SELECT electorate FROM table_name_16 WHERE first_elected = "1974" AND party = "country"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 11924, 127, 342, 584, 4280, 28027, 6, 166, 834, 19971, 584, 4280, 28027, 6, 1088, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 11924, 127, 342, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 166, 834, 19971, 3274, 96, 27181, 20364, 3430, 1088, 3274, 96, 17529, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the record of the buccaneers on December 4, 1983?
CREATE TABLE table_51582 ( "Week" text, "Date" text, "Opponent" text, "Result" text, "Kickoff [a ]" text, "Game site" text, "Attendance" text, "Record" text )
SELECT "Record" FROM table_51582 WHERE "Date" = 'december 4, 1983'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5553, 3449, 357, 41, 96, 518, 10266, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 439, 3142, 1647, 784, 9, 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, 1649, 7621, 121, 21680, 953, 834, 5553, 3449, 357, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 221, 75, 18247, 6464, 15041, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the Position with a height of less than 183, and a weight of less than 91 kg and born in bloomington, minnesota?
CREATE TABLE table_name_73 (position VARCHAR, birthplace VARCHAR, height__cm_ VARCHAR, weight__kg_ VARCHAR)
SELECT position FROM table_name_73 WHERE height__cm_ < 183 AND weight__kg_ < 91 AND birthplace = "bloomington, minnesota"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 4718, 584, 4280, 28027, 6, 3879, 4687, 584, 4280, 28027, 6, 3902, 834, 834, 75, 51, 834, 584, 4280, 28027, 6, 1293, 834, 834, 8711, 834, 584, 4280, 280...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 3902, 834, 834, 75, 51, 834, 3, 2, 3, 24361, 3430, 1293, 834, 834, 8711, 834, 3, 2, 3, 4729, 3430, 3879, 4687, 3274, 96, 115, 14351, 6029, 6, 3519, 1496, ...
Find ACC_Road and Team_ID , and group by attribute ACC_Home, and visualize them by a bar chart, and list from high to low by the Team_ID.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( Scho...
SELECT ACC_Road, Team_ID FROM basketball_match GROUP BY ACC_Home, ACC_Road ORDER BY Team_ID DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 14775, 834, 448, 32, 9, 26, 6, 2271, 834, 4309, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 3, 14775, 834, 19040, 6, 3, 14775, 834, 448, 32, 9, 26, 4674, 11300, 272, 476, 2271, 834, 4309, 309, 25067, ...
Which Site that has a Sex and other data of old male?
CREATE TABLE table_68954 ( "Number (CMNH)" real, "Number (PNM)" text, "Date" text, "Site" real, "Altitude" text, "Sex and other data" text )
SELECT MAX("Site") FROM table_68954 WHERE "Sex and other data" = 'old male'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 3301, 591, 41, 96, 567, 5937, 49, 41, 5518, 15743, 61, 121, 490, 6, 96, 567, 5937, 49, 41, 15420, 329, 61, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 26030, 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, 4800, 4, 599, 121, 26030, 8512, 21680, 953, 834, 3651, 3301, 591, 549, 17444, 427, 96, 134, 994, 11, 119, 331, 121, 3274, 3, 31, 1490, 5069, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average Attendance, when Venue is 'Candlestick Park', and when Date is 'December 27'?
CREATE TABLE table_59360 ( "Year" real, "Date" text, "Home Team" text, "Result" text, "Visiting Team" text, "Venue" text, "Attendance" real )
SELECT AVG("Attendance") FROM table_59360 WHERE "Venue" = 'candlestick park' AND "Date" = 'december 27'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 19208, 41, 96, 476, 2741, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 19040, 2271, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 30338, 2271, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 3390, 19208, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 75, 232, 109, 9656, 2447, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 221, ...
Show the total number from each flag, and sort by the y axis in ascending.
CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text ) CREATE TABLE Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text )
SELECT Flag, COUNT(*) FROM Ship GROUP BY Flag ORDER BY COUNT(*)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14268, 41, 12202, 834, 4309, 16, 17, 6, 5570, 1499, 6, 15508, 834, 4309, 16, 17, 6, 1246, 1499, 6, 4501, 1499, 6, 3, 22557, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 17016, 6, 2847, 17161, 599, 1935, 61, 21680, 15508, 350, 4630, 6880, 272, 476, 17016, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What year was Black Swan up for the Gotham Awards?
CREATE TABLE table_46774 ( "Year" real, "Award" text, "Category" text, "Title" text, "Result" text )
SELECT COUNT("Year") FROM table_46774 WHERE "Title" = 'black swan' AND "Award" = 'gotham awards'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3708, 4581, 41, 96, 476, 2741, 121, 490, 6, 96, 188, 2239, 121, 1499, 6, 96, 18610, 6066, 651, 121, 1499, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 20119, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 476, 2741, 8512, 21680, 953, 834, 591, 3708, 4581, 549, 17444, 427, 96, 382, 155, 109, 121, 3274, 3, 31, 19699, 3, 7, 3877, 31, 3430, 96, 188, 2239, 121, 3274, 3, 31, 10779, 1483, 6120, 31, ...
What is the score when the tie number is 8?
CREATE TABLE table_name_84 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_84 WHERE tie_no = "8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 7, 9022, 584, 4280, 28027, 6, 6177, 834, 29, 32, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 116, 8, 6177, 381, 19, 505, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 6177, 834, 29, 32, 3274, 96, 927, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is the number of female patients with drug code d5lr1000?
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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.gender = "F" AND prescriptions.formulary_drug_cd = "D5LR1000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What are the names of the counties of public safety, ordered by population descending?
CREATE TABLE city ( city_id number, county_id number, name text, white number, black number, amerindian number, asian number, multiracial number, hispanic number ) CREATE TABLE county_public_safety ( county_id number, name text, population number, police_officers num...
SELECT name FROM county_public_safety ORDER BY population DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 690, 41, 690, 834, 23, 26, 381, 6, 5435, 834, 23, 26, 381, 6, 564, 1499, 6, 872, 381, 6, 1001, 381, 6, 183, 6655, 8603, 381, 6, 3, 9, 10488, 381, 6, 1249, 52, 9, 4703, 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, 564, 21680, 5435, 834, 15727, 834, 15233, 17, 63, 4674, 11300, 272, 476, 2074, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What year did Ferrari win the Kyalami circuit?
CREATE TABLE table_name_16 (year VARCHAR, circuit VARCHAR, winning_constructor VARCHAR)
SELECT year FROM table_name_16 WHERE circuit = "kyalami" AND winning_constructor = "ferrari"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 1201, 584, 4280, 28027, 6, 4558, 584, 4280, 28027, 6, 3447, 834, 15982, 5317, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 410, 21945, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 215, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 4558, 3274, 96, 3781, 138, 3690, 121, 3430, 3447, 834, 15982, 5317, 3274, 96, 1010, 52, 1665, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the class when the quantity perserved is 0 and the quantity made is 5?
CREATE TABLE table_name_78 (class VARCHAR, quantity_preserved VARCHAR, quantity_made VARCHAR)
SELECT class FROM table_name_78 WHERE quantity_preserved = "0" AND quantity_made = "5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 4057, 584, 4280, 28027, 6, 8708, 834, 7197, 49, 162, 26, 584, 4280, 28027, 6, 8708, 834, 4725, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 853, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 8708, 834, 7197, 49, 162, 26, 3274, 96, 632, 121, 3430, 8708, 834, 4725, 3274, 96, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Draw a scatter chart about the correlation between Height and Weight , and group by attribute Sex.
CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real ) CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate re...
SELECT Height, Weight FROM people GROUP BY Sex
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 2449, 834, 4309, 16, 17, 6, 679, 226, 1499, 6, 5570, 1499, 6, 7678, 834, 858, 834, 279, 23, 52, 189, 1499, 6, 24231, 490, 6, 14230, 490, 3, 61, 3, 32102, 32103, 32102, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 24231, 6, 14230, 21680, 151, 350, 4630, 6880, 272, 476, 679, 226, 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, ...
What did the home team score when playing Fitzroy as the away team?
CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_8 WHERE away_team = "fitzroy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 410, 8, 234, 372, 2604, 116, 1556, 9783,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 234, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 550, 834, 11650, 3274, 96, 89, 5615, 8170, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Find the total number of students in each department.
CREATE TABLE student ( dept_name VARCHAR )
SELECT COUNT(*), dept_name FROM student GROUP BY dept_name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 41, 20, 102, 17, 834, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2588, 8, 792, 381, 13, 481, 16, 284, 3066, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 201, 20, 102, 17, 834, 4350, 21680, 1236, 350, 4630, 6880, 272, 476, 20, 102, 17, 834, 4350, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Use a bar chart to show the number of start dates of all the apartment bookings made by guests with gender code 'Female' for each weekday, order in asc by the y axis.
CREATE TABLE Apartments ( apt_id INTEGER, building_id INTEGER, apt_type_code CHAR(15), apt_number CHAR(10), bathroom_count INTEGER, bedroom_count INTEGER, room_count CHAR(5) ) CREATE TABLE Apartment_Bookings ( apt_booking_id INTEGER, apt_id INTEGER, guest_id INTEGER, booking...
SELECT booking_start_date, COUNT(booking_start_date) FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id WHERE T2.gender_code = "Female" ORDER BY COUNT(booking_start_date)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15970, 7, 41, 3, 6789, 834, 23, 26, 3, 21342, 17966, 6, 740, 834, 23, 26, 3, 21342, 17966, 6, 3, 6789, 834, 6137, 834, 4978, 3, 28027, 599, 1808, 201, 3, 6789, 834, 5525, 1152, 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, 5038, 834, 10208, 834, 5522, 6, 2847, 17161, 599, 2567, 53, 834, 10208, 834, 5522, 61, 21680, 15970, 834, 13355, 53, 7, 6157, 332, 536, 3, 15355, 3162, 3, 22360, 6157, 332, 357, 9191, 332, 5411, 15991, 17, 834, 23, ...
What district had someone first elected in 1982?
CREATE TABLE table_1341522_41 (district VARCHAR, first_elected VARCHAR)
SELECT district FROM table_1341522_41 WHERE first_elected = 1982
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 1808, 2884, 834, 4853, 41, 26, 23, 20066, 584, 4280, 28027, 6, 166, 834, 19971, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 3939, 141, 841, 166, 8160, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3939, 21680, 953, 834, 23747, 1808, 2884, 834, 4853, 549, 17444, 427, 166, 834, 19971, 3274, 14505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What team has a national league in 2001?
CREATE TABLE table_49486 ( "Year" real, "Player" text, "Team" text, "League" text, "Position" text )
SELECT "Team" FROM table_49486 WHERE "League" = 'national' AND "Year" = '2001'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 591, 3840, 41, 96, 476, 2741, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 2796, 9, 5398, 121, 1499, 6, 96, 345, 32, 7, 4749, 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, 0...
[ 3, 23143, 14196, 96, 18699, 121, 21680, 953, 834, 3647, 591, 3840, 549, 17444, 427, 96, 2796, 9, 5398, 121, 3274, 3, 31, 16557, 31, 3430, 96, 476, 2741, 121, 3274, 3, 31, 23658, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
How many position in channel 4s ratings a have February 24, 2010 as the original airing on channel 4?
CREATE TABLE table_22170495_6 ( position_in_channel_4s_ratings_a VARCHAR, original_airing_on_channel_4 VARCHAR )
SELECT COUNT(position_in_channel_4s_ratings_a) FROM table_22170495_6 WHERE original_airing_on_channel_4 = "February 24, 2010"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 2517, 6348, 3301, 834, 948, 41, 1102, 834, 77, 834, 19778, 834, 591, 7, 834, 52, 1014, 7, 834, 9, 584, 4280, 28027, 6, 926, 834, 2256, 53, 834, 106, 834, 19778, 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, 2847, 17161, 599, 4718, 834, 77, 834, 19778, 834, 591, 7, 834, 52, 1014, 7, 834, 9, 61, 21680, 953, 834, 2884, 2517, 6348, 3301, 834, 948, 549, 17444, 427, 926, 834, 2256, 53, 834, 106, 834, 19778, 834, 591, 3274,...
provide the number of patients whose insurance is government and procedure short title is non-invasive mech vent?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob te...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Government" AND procedures.short_title = "Non-invasive mech vent"
[ 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, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Which Played is the lowest one that has a Team of vasco da gama, and an Against smaller than 11?
CREATE TABLE table_name_54 (played INTEGER, team VARCHAR, against VARCHAR)
SELECT MIN(played) FROM table_name_54 WHERE team = "vasco da gama" AND against < 11
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 4895, 15, 26, 3, 21342, 17966, 6, 372, 584, 4280, 28027, 6, 581, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2911, 15, 26, 19, 8, 7402, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 4895, 15, 26, 61, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 372, 3274, 96, 900, 3523, 836, 17371, 121, 3430, 581, 3, 2, 850, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What shows for 1997 when 1987 is 2r?
CREATE TABLE table_7336 ( "Tournament" text, "1986" text, "1987" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "Career SR" text, "Career Win-Loss" text )
SELECT "1997" FROM table_7336 WHERE "1987" = '2r'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4552, 3420, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 2294, 3840, 121, 1499, 6, 96, 2294, 4225, 121, 1499, 6, 96, 2294, 4060, 121, 1499, 6, 96, 2294, 3914, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2294, 4327, 121, 21680, 953, 834, 4552, 3420, 549, 17444, 427, 96, 2294, 4225, 121, 3274, 3, 31, 357, 52, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which player is from the United States, and played for the Bowling Green Falcons (CCHA) as their College/Junior/Club Team (League)?
CREATE TABLE table_name_38 (player VARCHAR, nationality VARCHAR, college_junior_club_team__league_ VARCHAR)
SELECT player FROM table_name_38 WHERE nationality = "united states" AND college_junior_club_team__league_ = "bowling green falcons (ccha)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 20846, 584, 4280, 28027, 6, 1157, 485, 584, 4280, 28027, 6, 1900, 834, 6959, 23, 127, 834, 13442, 834, 11650, 834, 834, 29512, 834, 584, 4280, 28027, 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, 1, 1, 1, 1...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 1157, 485, 3274, 96, 15129, 15, 26, 2315, 121, 3430, 1900, 834, 6959, 23, 127, 834, 13442, 834, 11650, 834, 834, 29512, 834, 3274, 96, 17710, 697, 1442, 12553, ...
how many stations broadcast with a power of 5kw ?
CREATE TABLE table_204_164 ( id number, "branding" text, "callsign" text, "frequency" text, "power (kw)" text, "location" text )
SELECT COUNT("branding") FROM table_204_164 WHERE "power (kw)" = 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 26987, 41, 3, 23, 26, 381, 6, 96, 12164, 53, 121, 1499, 6, 96, 16482, 6732, 121, 1499, 6, 96, 30989, 121, 1499, 6, 96, 6740, 41, 157, 210, 61, 121, 1499, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 12164, 53, 8512, 21680, 953, 834, 26363, 834, 26987, 549, 17444, 427, 96, 6740, 41, 157, 210, 61, 121, 3274, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many records for number of viewers is listed for episode number 8?
CREATE TABLE table_24689168_5 ( viewers__millions_ VARCHAR, episode VARCHAR )
SELECT COUNT(viewers__millions_) FROM table_24689168_5 WHERE episode = 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 3651, 4729, 3651, 834, 755, 41, 13569, 834, 834, 17030, 7, 834, 584, 4280, 28027, 6, 5640, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 3187, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 4576, 277, 834, 834, 17030, 7, 834, 61, 21680, 953, 834, 2266, 3651, 4729, 3651, 834, 755, 549, 17444, 427, 5640, 3274, 505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
how many hispanic or latino patients had the procedure long title incision of vessel, lower limb arteries?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.ethnicity = "HISPANIC OR LATINO" AND procedures.long_title = "Incision of vessel, lower limb arteries"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What was the poll source for october 6, 2008?
CREATE TABLE table_43701 ( "Poll Source" text, "Dates administered" text, "Democrat: Mark Begich" text, "Republican: Ted Stevens" text, "Lead Maragin" real )
SELECT "Poll Source" FROM table_43701 WHERE "Dates administered" = 'october 6, 2008'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4906, 2518, 536, 41, 96, 8931, 40, 9149, 121, 1499, 6, 96, 308, 6203, 19092, 121, 1499, 6, 96, 19679, 10, 2185, 10129, 362, 121, 1499, 6, 96, 1649, 15727, 152, 10, 19332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8931, 40, 9149, 121, 21680, 953, 834, 4906, 2518, 536, 549, 17444, 427, 96, 308, 6203, 19092, 121, 3274, 3, 31, 32, 75, 235, 1152, 8580, 2628, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the names of all products, and count them by a bar chart, rank X-axis from low to high order.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT Name, COUNT(Name) FROM Products GROUP BY Name ORDER BY Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 2847, 17161, 599, 23954, 61, 21680, 7554, 350, 4630, 6880, 272, 476, 5570, 4674, 11300, 272, 476, 5570, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
who was the opponent in the least attended game ?
CREATE TABLE table_204_755 ( id number, "week" number, "date" text, "opponent" text, "result" text, "attendance" number )
SELECT "opponent" FROM table_204_755 ORDER BY "attendance" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3072, 755, 41, 3, 23, 26, 381, 6, 96, 8041, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 60, 7, 83, 17, 121, 1499, 6, 96, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 32, 102, 9977, 121, 21680, 953, 834, 26363, 834, 3072, 755, 4674, 11300, 272, 476, 96, 15116, 663, 121, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the oldest log id and its corresponding problem id?
CREATE TABLE problem_log ( problem_log_id number, assigned_to_staff_id number, problem_id number, problem_category_code text, problem_status_code text, log_entry_date time, log_entry_description text, log_entry_fix text, other_log_details text ) CREATE TABLE staff ( staff_id num...
SELECT problem_log_id, problem_id FROM problem_log ORDER BY log_entry_date LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 682, 834, 2152, 41, 682, 834, 2152, 834, 23, 26, 381, 6, 7604, 834, 235, 834, 26416, 834, 23, 26, 381, 6, 682, 834, 23, 26, 381, 6, 682, 834, 8367, 839, 651, 834, 4978, 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, 682, 834, 2152, 834, 23, 26, 6, 682, 834, 23, 26, 21680, 682, 834, 2152, 4674, 11300, 272, 476, 4303, 834, 295, 651, 834, 5522, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...