NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
give me the number of patients whose admission location is transfer from hosp/extram and procedure icd9 code is 5781?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_location = "TRANSFER FROM HOSP/EXTRAM" AND procedures.icd9_code = "5781"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What game number was on January 14?
CREATE TABLE table_27713583_8 ( game VARCHAR, date VARCHAR )
SELECT game FROM table_27713583_8 WHERE date = "January 14"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4450, 2469, 4591, 834, 927, 41, 467, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 467, 381, 47, 30, 1762, 968, 58, 1, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 467, 21680, 953, 834, 2555, 4450, 2469, 4591, 834, 927, 549, 17444, 427, 833, 3274, 96, 30404, 968, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the lowest Height (m) on the island of Burray?
CREATE TABLE table_name_22 ( height__m_ INTEGER, island VARCHAR )
SELECT MIN(height__m_) FROM table_name_22 WHERE island = "burray"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 3902, 834, 834, 51, 834, 3, 21342, 17966, 6, 3368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 24231, 41, 51, 61, 30, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 88, 2632, 834, 834, 51, 834, 61, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 3368, 3274, 96, 5808, 2866, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which round has an opponent of Freiburg?
CREATE TABLE table_name_39 (round VARCHAR, opponent VARCHAR)
SELECT round FROM table_name_39 WHERE opponent = "freiburg"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 7775, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1751, 65, 46, 15264, 13, 30498, 58, 1, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1751, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 15264, 3274, 96, 9477, 4824, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How much gold does the tank have that has 3 silver and more than 3 bronze?
CREATE TABLE table_59951 ( "Rank" real, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT COUNT("Gold") FROM table_59951 WHERE "Silver" = '3' AND "Bronze" > '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 3301, 536, 41, 96, 22557, 121, 490, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, 3696, 1947, 121, 490, 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, 2847, 17161, 599, 121, 23576, 8512, 21680, 953, 834, 3390, 3301, 536, 549, 17444, 427, 96, 134, 173, 624, 121, 3274, 3, 31, 519, 31, 3430, 96, 22780, 29, 776, 121, 2490, 3, 31, 519, 31, 1, -100, -100, -100, -100, ...
Which Unit's Construction started on 01.07.1967?
CREATE TABLE table_70002 ( "Unit" text, "Reactortype" text, "Net capacity" text, "Gross capacity" text, "Construction started" text, "Electricity Grid" text, "Commercial Operation" text, "Shutdown" text )
SELECT "Unit" FROM table_70002 WHERE "Construction started" = '01.07.1967'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27133, 357, 41, 96, 5110, 155, 121, 1499, 6, 96, 1649, 9, 5317, 6137, 121, 1499, 6, 96, 9688, 2614, 121, 1499, 6, 96, 517, 1859, 7, 2614, 121, 1499, 6, 96, 4302, 7, 268...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5110, 155, 121, 21680, 953, 834, 27133, 357, 549, 17444, 427, 96, 4302, 7, 26853, 708, 121, 3274, 3, 31, 10068, 14681, 2294, 3708, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which opponent is friendly and played on 15-08-2012?
CREATE TABLE table_10233 ( "Date" text, "Venue" text, "Opponent" text, "Result" text, "Competition" text )
SELECT "Opponent" FROM table_10233 WHERE "Competition" = 'friendly' AND "Date" = '15-08-2012'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 20879, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 5890, 4995, 4749, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 1714, 20879, 549, 17444, 427, 96, 5890, 4995, 4749, 121, 3274, 3, 31, 4905, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 1808, 18, 4018, 18, 12172, 31, 1, -100, -100, -100, ...
For which tournament was the margin of victory 7 strokes?
CREATE TABLE table_name_50 (tournament VARCHAR, margin_of_victory VARCHAR)
SELECT tournament FROM table_name_50 WHERE margin_of_victory = "7 strokes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 17, 1211, 20205, 17, 584, 4280, 28027, 6, 6346, 834, 858, 834, 7287, 10972, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 242, 84, 5892, 47, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5892, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 6346, 834, 858, 834, 7287, 10972, 3274, 96, 940, 9529, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What are the names of the top 8 countries by total invoice size and what are those sizes?
CREATE TABLE media_types ( id number, name text ) CREATE TABLE albums ( id number, title text, artist_id number ) CREATE TABLE playlist_tracks ( playlist_id number, track_id number ) CREATE TABLE genres ( id number, name text ) CREATE TABLE customers ( id number, first_na...
SELECT billing_country, SUM(total) FROM invoices GROUP BY billing_country ORDER BY SUM(total) DESC LIMIT 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 783, 834, 6137, 7, 41, 3, 23, 26, 381, 6, 564, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 14234, 41, 3, 23, 26, 381, 6, 2233, 1499, 6, 2377, 834, 23, 26, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14425, 834, 17529, 6, 180, 6122, 599, 235, 1947, 61, 21680, 10921, 7, 350, 4630, 6880, 272, 476, 14425, 834, 17529, 4674, 11300, 272, 476, 180, 6122, 599, 235, 1947, 61, 309, 25067, 8729, 12604, 505, 1, -100, -100, ...
What is the highest total value when bask and base are each 3?
CREATE TABLE table_8557 ( "School" text, "Base" text, "Bask" real, "Golf" text, "Soccer" text, "Swimming" text, "Tennis" text, "Indoor track" text, "Outdoor track" text, "Total" real )
SELECT MAX("Total") FROM table_8557 WHERE "Bask" = '3' AND "Base" = '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4433, 3436, 41, 96, 29364, 121, 1499, 6, 96, 14885, 15, 121, 1499, 6, 96, 14885, 157, 121, 490, 6, 96, 6221, 40, 89, 121, 1499, 6, 96, 134, 13377, 49, 121, 1499, 6, 96,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 3696, 1947, 8512, 21680, 953, 834, 4433, 3436, 549, 17444, 427, 96, 14885, 157, 121, 3274, 3, 31, 519, 31, 3430, 96, 14885, 15, 121, 3274, 3, 31, 519, 31, 1, -100, -100, -100, -100, -100, -100, ...
What frame of time is listed under years during the 72nd congress?
CREATE TABLE table_4025 ( "Representative" text, "Party" text, "Years" text, "Congress" text, "District Home" text, "Occupation" text, "Electoral history" text )
SELECT "Years" FROM table_4025 WHERE "Congress" = '72nd'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 1828, 41, 96, 1649, 12640, 1528, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 476, 2741, 7, 121, 1499, 6, 96, 4302, 10292, 121, 1499, 6, 96, 308, 23, 20066, 1210,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 476, 2741, 7, 121, 21680, 953, 834, 2445, 1828, 549, 17444, 427, 96, 4302, 10292, 121, 3274, 3, 31, 5865, 727, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many bookings does each booking status have? List the booking status code and the number of corresponding bookings in a pie chart.
CREATE TABLE Apartment_Bookings ( apt_booking_id INTEGER, apt_id INTEGER, guest_id INTEGER, booking_status_code CHAR(15), booking_start_date DATETIME, booking_end_date DATETIME ) CREATE TABLE View_Unit_Status ( apt_id INTEGER, apt_booking_id INTEGER, status_date DATETIME, availa...
SELECT booking_status_code, COUNT(*) FROM Apartment_Bookings GROUP BY booking_status_code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15970, 834, 13355, 53, 7, 41, 3, 6789, 834, 2567, 53, 834, 23, 26, 3, 21342, 17966, 6, 3, 6789, 834, 23, 26, 3, 21342, 17966, 6, 3886, 834, 23, 26, 3, 21342, 17966, 6, 5038, 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, 5038, 834, 8547, 302, 834, 4978, 6, 2847, 17161, 599, 1935, 61, 21680, 15970, 834, 13355, 53, 7, 350, 4630, 6880, 272, 476, 5038, 834, 8547, 302, 834, 4978, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the least draw for elena dermidjean
CREATE TABLE table_1160 ( "Draw" real, "Artist" text, "Song" text, "Televote" real, "Points" real, "Professional Jury" real, "TRM Committee" real, "Total" real, "Place" real )
SELECT MIN("Draw") FROM table_1160 WHERE "Artist" = 'Elena Dermidjean'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 3328, 41, 96, 308, 10936, 121, 490, 6, 96, 7754, 343, 121, 1499, 6, 96, 134, 2444, 121, 1499, 6, 96, 382, 400, 1621, 17, 15, 121, 490, 6, 96, 22512, 7, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 308, 10936, 8512, 21680, 953, 834, 2596, 3328, 549, 17444, 427, 96, 7754, 343, 121, 3274, 3, 31, 10991, 35, 9, 660, 6983, 26459, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what's the health score with justice being 80.7
CREATE TABLE table_145439_1 ( health VARCHAR, justice VARCHAR )
SELECT health FROM table_145439_1 WHERE justice = "80.7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 5062, 3288, 834, 536, 41, 533, 584, 4280, 28027, 6, 4831, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 31, 7, 8, 533, 2604, 28, 4831, 271, 505, 22426,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 533, 21680, 953, 834, 2534, 5062, 3288, 834, 536, 549, 17444, 427, 4831, 3274, 96, 927, 22426, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the headquarters that have at least two companies.
CREATE TABLE company ( Headquarters VARCHAR )
SELECT Headquarters FROM company GROUP BY Headquarters HAVING COUNT(*) >= 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 349, 41, 31282, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3111, 8, 13767, 24, 43, 44, 709, 192, 688, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 31282, 21680, 349, 350, 4630, 6880, 272, 476, 31282, 454, 6968, 2365, 2847, 17161, 599, 1935, 61, 2490, 2423, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
When was the incumbent from the Virginia 10 district first elected?
CREATE TABLE table_2668401_17 (first_elected VARCHAR, district VARCHAR)
SELECT first_elected FROM table_2668401_17 WHERE district = "Virginia 10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3651, 20016, 834, 2517, 41, 14672, 834, 19971, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 8, 28406, 45, 8, 5382, 335, 3939...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 166, 834, 19971, 21680, 953, 834, 2688, 3651, 20016, 834, 2517, 549, 17444, 427, 3939, 3274, 96, 21031, 122, 77, 23, 9, 335, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
A bar chart for finding the number of the 'date became customers' of the customers whose ID is between 10 and 20, and display by the y-axis in descending.
CREATE TABLE Customers ( customer_id INTEGER, payment_method VARCHAR(15), customer_name VARCHAR(80), date_became_customer DATETIME, other_customer_details VARCHAR(255) ) CREATE TABLE Order_Items ( order_id INTEGER, product_id INTEGER, order_quantity VARCHAR(15) ) CREATE TABLE Customer_...
SELECT date_became_customer, COUNT(date_became_customer) FROM Customers WHERE customer_id BETWEEN 10 AND 20 ORDER BY COUNT(date_became_customer) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 16423, 41, 884, 834, 23, 26, 3, 21342, 17966, 6, 1942, 834, 23152, 584, 4280, 28027, 599, 1808, 201, 884, 834, 4350, 584, 4280, 28027, 599, 2079, 201, 833, 834, 346, 6527, 15, 834, 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, 833, 834, 346, 6527, 15, 834, 25697, 49, 6, 2847, 17161, 599, 5522, 834, 346, 6527, 15, 834, 25697, 49, 61, 21680, 16423, 549, 17444, 427, 884, 834, 23, 26, 272, 7969, 518, 23394, 335, 3430, 460, 4674, 11300, 272, ...
how many times has patient 010-9756 been in intensive care unit since 2 years ago?
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 medication ( medi...
SELECT COUNT(DISTINCT patient.patientunitstayid) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-9756') AND DATETIME(patient.unitadmittime) >= DATETIME(CURRENT_TIME(), '-2 year')
[ 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, 2847, 17161, 599, 15438, 25424, 6227, 1868, 5, 10061, 15129, 21545, 23, 26, 61, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3734, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15878, 3734, 21545, 23, ...
What's the name is the island with a population of just 64?
CREATE TABLE table_19034 ( "Rank" real, "Islands Name" text, "Area (sqmi)" real, "Area (km 2 )" real, "Location" text, "Population (2000)" text )
SELECT "Islands Name" FROM table_19034 WHERE "Population (2000)" = '64'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11776, 3710, 41, 96, 22557, 121, 490, 6, 96, 196, 7, 6347, 5570, 121, 1499, 6, 96, 188, 864, 41, 7, 1824, 51, 23, 61, 121, 490, 6, 96, 188, 864, 41, 5848, 204, 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, 96, 196, 7, 6347, 5570, 121, 21680, 953, 834, 11776, 3710, 549, 17444, 427, 96, 27773, 7830, 3, 31804, 121, 3274, 3, 31, 4389, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what are all the result for New York 6 district
CREATE TABLE table_1341395_33 (result VARCHAR, district VARCHAR)
SELECT result FROM table_1341395_33 WHERE district = "New York 6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2368, 3301, 834, 4201, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 33, 66, 8, 741, 21, 368, 1060, 431, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 23747, 2368, 3301, 834, 4201, 549, 17444, 427, 3939, 3274, 96, 6861, 1060, 431, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
abnormal renal function test results ( calculated gfr < 60 ml / min / 1.73 m2 )
CREATE TABLE table_dev_23 ( "id" int, "anemia" bool, "gender" string, "thyroid_disease" bool, "hemoglobin_a1c_hba1c" float, "tsh" int, "renal_disease" bool, "estimated_glomerular_filtration_rate_egfr" int, "hba1c" float, "insulin_requirement" float, "body_mass_index_bmi" floa...
SELECT * FROM table_dev_23 WHERE renal_disease = 1 OR estimated_glomerular_filtration_rate_egfr < 60
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9776, 834, 2773, 41, 96, 23, 26, 121, 16, 17, 6, 96, 152, 11658, 121, 3, 12840, 40, 6, 96, 122, 3868, 121, 6108, 6, 96, 17, 31878, 834, 26, 159, 14608, 121, 3, 12840, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9776, 834, 2773, 549, 17444, 427, 23328, 834, 26, 159, 14608, 3274, 209, 4674, 5861, 834, 24422, 4885, 834, 18974, 834, 2206, 834, 15, 122, 89, 52, 3, 2, 1640, 1, -100, -100, -100, -100, -100,...
What is the date when Grimsby Town is the home team?
CREATE TABLE table_name_67 ( date VARCHAR, home_team VARCHAR )
SELECT date FROM table_name_67 WHERE home_team = "grimsby town"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 833, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 833, 116, 23427, 7, 969, 4463, 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, 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, 3708, 549, 17444, 427, 234, 834, 11650, 3274, 96, 3496, 51, 7, 969, 1511, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the largest village that had 103279 houses affected?
CREATE TABLE table_23713 ( "Year" real, "District" real, "Blocks" real, "Panchayat" real, "Village" real, "Human (in Lakh )" text, "Animal (in Lakh )" text, "Total Area (in Lakh ha )" text, "Cropped area (in Lakh ha )" text, "Crop Damaged (in Lakh INR )" text, "House Affected...
SELECT MAX("Village") FROM table_23713 WHERE "House Affected" = '103279'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4118, 2368, 41, 96, 476, 2741, 121, 490, 6, 96, 308, 23, 20066, 121, 490, 6, 96, 279, 4029, 7, 121, 490, 6, 96, 345, 152, 3441, 63, 144, 121, 490, 6, 96, 553, 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, 4800, 4, 599, 121, 553, 17614, 8512, 21680, 953, 834, 357, 4118, 2368, 549, 17444, 427, 96, 4489, 1074, 71, 27488, 121, 3274, 3, 31, 1714, 2668, 4440, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
List the name and the number of stations for all the cities that have at least 15 stations Show bar chart, and list in desc by the Y.
CREATE TABLE station ( id INTEGER, name TEXT, lat NUMERIC, long NUMERIC, dock_count INTEGER, city TEXT, installation_date TEXT ) CREATE TABLE weather ( date TEXT, max_temperature_f INTEGER, mean_temperature_f INTEGER, min_temperature_f INTEGER, max_dew_point_f INTEGER, ...
SELECT city, COUNT(*) FROM station GROUP BY city ORDER BY COUNT(*) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2478, 41, 3, 23, 26, 3, 21342, 17966, 6, 564, 3, 3463, 4, 382, 6, 50, 17, 13046, 13098, 4666, 6, 307, 13046, 13098, 4666, 6, 12908, 834, 13362, 3, 21342, 17966, 6, 690, 3, 3463, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 690, 6, 2847, 17161, 599, 1935, 61, 21680, 2478, 350, 4630, 6880, 272, 476, 690, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how many patients whose primary disease is cerebral aneurysm/sda and drug route is ih?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.diagnosis = "CEREBRAL ANEURYSM/SDA" AND prescriptions.route = "IH"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Who are the mens doubles and and mens singles is lee hyun-il?
CREATE TABLE table_13553701_1 (mens_doubles VARCHAR, mens_singles VARCHAR)
SELECT mens_doubles FROM table_13553701_1 WHERE mens_singles = "Lee Hyun-il"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 3769, 22520, 536, 834, 536, 41, 904, 7, 834, 25761, 7, 584, 4280, 28027, 6, 1076, 7, 834, 7, 53, 965, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 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, 1076, 7, 834, 25761, 7, 21680, 953, 834, 2368, 3769, 22520, 536, 834, 536, 549, 17444, 427, 1076, 7, 834, 7, 53, 965, 3274, 96, 2796, 15, 5555, 202, 18, 173, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
what was the elevation in september 2009?
CREATE TABLE table_27435931_1 (elevation_m VARCHAR, year VARCHAR)
SELECT elevation_m FROM table_27435931_1 WHERE year = "September 2009"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4906, 3390, 3341, 834, 536, 41, 15, 10912, 257, 834, 51, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 47, 8, 16417, 16, 16022, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16417, 834, 51, 21680, 953, 834, 2555, 4906, 3390, 3341, 834, 536, 549, 17444, 427, 215, 3274, 96, 27652, 2464, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Return a bar chart on how many players played each position?
CREATE TABLE team ( Team_id int, Name text ) CREATE TABLE player ( Player_ID int, Player text, Years_Played text, Total_WL text, Singles_WL text, Doubles_WL text, Team int ) CREATE TABLE country ( Country_id int, Country_name text, Capital text, Official_native_lang...
SELECT Position, COUNT(*) FROM match_season GROUP BY Position
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 372, 41, 2271, 834, 23, 26, 16, 17, 6, 5570, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1959, 41, 12387, 834, 4309, 16, 17, 6, 12387, 1499, 6, 13825, 834, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14258, 6, 2847, 17161, 599, 1935, 61, 21680, 1588, 834, 9476, 350, 4630, 6880, 272, 476, 14258, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What opposing team has second test as the status?
CREATE TABLE table_name_12 ( opposing_team VARCHAR, status VARCHAR )
SELECT opposing_team FROM table_name_12 WHERE status = "second test"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 10720, 53, 834, 11650, 584, 4280, 28027, 6, 2637, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 10720, 53, 372, 65, 511, 794, 38, 8, 263...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10720, 53, 834, 11650, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 2637, 3274, 96, 12091, 794, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Score when there was a hard surface and the Championship is new haven , usa?
CREATE TABLE table_43360 ( "Outcome" text, "Date" text, "Championship" text, "Surface" text, "Opponent" text, "Score" text )
SELECT "Score" FROM table_43360 WHERE "Surface" = 'hard' AND "Championship" = 'new haven , usa'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4906, 19208, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 254, 1483, 12364, 2009, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, 102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 4906, 19208, 549, 17444, 427, 96, 134, 450, 4861, 121, 3274, 3, 31, 5651, 31, 3430, 96, 254, 1483, 12364, 2009, 121, 3274, 3, 31, 5534, 43, 29, 3, 6, 178, 9, 31, 1, -100, -...
how many patients have been diagnosed with brain mass; intracranial hemorrhage?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic (...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "BRAIN MASS;INTRACRANIAL HEMORRHAGE"
[ 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, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 22899, 3162, 4800, 4256, 117, 13777, 22034, 16375, 15397, 3, 6021, 5365,...
Which Doubles have a Total larger than 176, and a Date smaller than 1907, and Doubles, I Class smaller than 21?
CREATE TABLE table_64474 ( "Date" real, "Doubles, I Class" real, "Doubles, II Class" real, "Greater Doubles" real, "Doubles" real, "Semidoubles" real, "Total" real )
SELECT MAX("Doubles") FROM table_64474 WHERE "Total" > '176' AND "Date" < '1907' AND "Doubles, I Class" < '21'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4389, 4177, 591, 41, 96, 308, 342, 121, 490, 6, 96, 4135, 76, 2296, 7, 6, 27, 4501, 121, 490, 6, 96, 4135, 76, 2296, 7, 6, 2466, 4501, 121, 490, 6, 96, 24189, 49, 840...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4135, 76, 2296, 7, 8512, 21680, 953, 834, 4389, 4177, 591, 549, 17444, 427, 96, 3696, 1947, 121, 2490, 3, 31, 26782, 31, 3430, 96, 308, 342, 121, 3, 2, 3, 31, 2294, 4560, 31, 3430, 96, 4135, ...
what is the district of wallasey
CREATE TABLE table_74845 ( "Name" text, "Status" text, "Population" real, "District" text, "Former local authority" text )
SELECT "District" FROM table_74845 WHERE "Name" = 'wallasey'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3707, 2128, 41, 96, 23954, 121, 1499, 6, 96, 134, 17, 144, 302, 121, 1499, 6, 96, 27773, 7830, 121, 490, 6, 96, 308, 23, 20066, 121, 1499, 6, 96, 3809, 935, 415, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 23, 20066, 121, 21680, 953, 834, 940, 3707, 2128, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 5380, 25718, 63, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Cross Code Debut for a player that had their Int'l Debut of RU test New Zealand v Australia?
CREATE TABLE table_65126 ( "Player" text, "Int'l Debut" text, "Year" text, "Cross Code Debut" text, "Date" text, "Position" text )
SELECT "Cross Code Debut" FROM table_65126 WHERE "Int'l Debut" = 'ru test new zealand v australia'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 21976, 41, 96, 15800, 49, 121, 1499, 6, 96, 1570, 17, 31, 40, 374, 2780, 121, 1499, 6, 96, 476, 2741, 121, 1499, 6, 96, 254, 1859, 7, 3636, 374, 2780, 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, 254, 1859, 7, 3636, 374, 2780, 121, 21680, 953, 834, 4122, 21976, 549, 17444, 427, 96, 1570, 17, 31, 40, 374, 2780, 121, 3274, 3, 31, 52, 76, 794, 126, 3, 776, 138, 232, 3, 208, 23407, 31, 1, -100, -100, -...
Which To par is the highest one that has a Total smaller than 148?
CREATE TABLE table_47451 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" real )
SELECT MAX("To par") FROM table_47451 WHERE "Total" < '148'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4177, 2128, 536, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3696, 260, 8512, 21680, 953, 834, 4177, 2128, 536, 549, 17444, 427, 96, 3696, 1947, 121, 3, 2, 3, 31, 24748, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who had the highest points against new york?
CREATE TABLE table_25725 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "High points" FROM table_25725 WHERE "Team" = 'New York'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3436, 1828, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21417, 979, 121, 21680, 953, 834, 357, 3436, 1828, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 6861, 1060, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When did the Broncos play the Miami Dolphins?
CREATE TABLE table_17294353_1 ( date VARCHAR, opponent VARCHAR )
SELECT date FROM table_17294353_1 WHERE opponent = "Miami Dolphins"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 3166, 4906, 4867, 834, 536, 41, 833, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 410, 8, 4027, 29, 509, 7, 577, 8, 8327, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 2517, 3166, 4906, 4867, 834, 536, 549, 17444, 427, 15264, 3274, 96, 329, 23, 3690, 27676, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Tell me the gender of the patient with patient id 76446.
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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) ...
SELECT demographic.gender FROM demographic WHERE demographic.subject_id = "76446"
[ 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, 14798, 5, 122, 3868, 21680, 14798, 549, 17444, 427, 14798, 5, 7304, 11827, 834, 23, 26, 3274, 96, 3959, 591, 4448, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which round was a player from the Long Island Lizards drafted in first?
CREATE TABLE table_name_26 (round INTEGER, team VARCHAR)
SELECT MAX(round) FROM table_name_26 WHERE team = "long island lizards"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 7775, 3, 21342, 17966, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1751, 47, 3, 9, 1959, 45, 8, 3230, 2834, 17814, 986, 7, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 7775, 61, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 372, 3274, 96, 2961, 3368, 3, 13287, 986, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
give the number of patients whose ethnicity is american indian/alaska native with an item id 50803.
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND lab.itemid = "50803"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
aspero and caral are both cities that can be found in which country ?
CREATE TABLE table_204_965 ( id number, "year" text, "city" text, "state, province, dept., etc." text, "country" text, "notes" text )
SELECT "country" FROM table_204_965 WHERE "city" = 'aspero'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4314, 755, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 1499, 6, 96, 6726, 121, 1499, 6, 96, 5540, 6, 7985, 6, 20, 102, 17, 5, 6, 672, 535, 1499, 6, 96, 17529, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17529, 121, 21680, 953, 834, 26363, 834, 4314, 755, 549, 17444, 427, 96, 6726, 121, 3274, 3, 31, 9, 4339, 32, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the first leg score when team 2 is Wagad Mogadishu?
CREATE TABLE table_41711 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text )
SELECT "1st leg" FROM table_41711 WHERE "Team 2" = 'wagad mogadishu'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2517, 2596, 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, 536, 7, 17, 4553, 121, 21680, 953, 834, 591, 2517, 2596, 549, 17444, 427, 96, 18699, 204, 121, 3274, 3, 31, 15238, 9, 26, 3, 22706, 9, 26, 1273, 76, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What number is Fall 08 from the state with 57 in Fall 06 and 74 or less in Fall 05?
CREATE TABLE table_name_52 ( fall_08 VARCHAR, fall_06 VARCHAR, fall_05 VARCHAR )
SELECT COUNT(fall_08) FROM table_name_52 WHERE fall_06 = 57 AND fall_05 < 74
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 1590, 834, 4018, 584, 4280, 28027, 6, 1590, 834, 5176, 584, 4280, 28027, 6, 1590, 834, 3076, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 2857, 834, 4018, 61, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 1590, 834, 5176, 3274, 3, 3436, 3430, 1590, 834, 3076, 3, 2, 3, 4581, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
For all employees who have the letters D or S in their first name, give me the comparison about the sum of department_id over the hire_date bin hire_date by weekday by a bar chart.
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) 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 ( LOCAT...
SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2476, 41, 446, 10539, 834, 4309, 3, 4331, 4059, 599, 16968, 6, 446, 10539, 834, 382, 3177, 3765, 3, 4331, 4059, 599, 2469, 201, 3, 17684, 834, 134, 4090, 24721, 7908, 1982, 599, 11071,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 180, 6122, 599, 5596, 19846, 11810, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, 9914,...
If the visiting team is Clemson, when was the time?
CREATE TABLE table_26842217_8 ( time VARCHAR, visiting_team VARCHAR )
SELECT time FROM table_26842217_8 WHERE visiting_team = "Clemson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 4608, 2884, 2517, 834, 927, 41, 97, 584, 4280, 28027, 6, 3644, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 156, 8, 3644, 372, 19, 205, 109, 51...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 97, 21680, 953, 834, 2688, 4608, 2884, 2517, 834, 927, 549, 17444, 427, 3644, 834, 11650, 3274, 96, 254, 109, 51, 739, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
provide the number of patients whose age is less than 67 and drug code is benz100?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "67" AND prescriptions.formulary_drug_cd = "BENZ100"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What is the lowest Round, when College/Team is "Kansas", and when Pick is less than 56?
CREATE TABLE table_name_96 (round INTEGER, college_team VARCHAR, pick VARCHAR)
SELECT MIN(round) FROM table_name_96 WHERE college_team = "kansas" AND pick < 56
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 7775, 3, 21342, 17966, 6, 1900, 834, 11650, 584, 4280, 28027, 6, 1432, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 9609, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 7775, 61, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 1900, 834, 11650, 3274, 96, 3304, 7, 9, 7, 121, 3430, 1432, 3, 2, 11526, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the score in the August 20, 2007 match?
CREATE TABLE table_60740 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text )
SELECT "Score" FROM table_60740 WHERE "Date" = 'august 20, 2007'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 940, 2445, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 3328, 940, 2445, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 402, 17198, 16047, 4101, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
which company uses pinborough, sarah sarah pinborough?
CREATE TABLE table_20174050_23 (company VARCHAR, author VARCHAR)
SELECT company FROM table_20174050_23 WHERE author = "Pinborough, Sarah Sarah Pinborough"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9887, 2445, 1752, 834, 2773, 41, 29179, 584, 4280, 28027, 6, 2291, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 84, 349, 2284, 4522, 12823, 6, 3, 7, 2551, 107, 3, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 349, 21680, 953, 834, 9887, 2445, 1752, 834, 2773, 549, 17444, 427, 2291, 3274, 96, 345, 77, 12823, 6, 8077, 8077, 8050, 12823, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Country that has 600?
CREATE TABLE table_name_43 (country VARCHAR, money___$__ VARCHAR)
SELECT country FROM table_name_43 WHERE money___$__ = 600
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 17529, 584, 4280, 28027, 6, 540, 834, 834, 834, 3229, 834, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 6993, 24, 65, 7366, 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, 684, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 540, 834, 834, 834, 3229, 834, 834, 3274, 7366, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the winning constructor for when the fastest lap was mark webber at the malaysian grand prix
CREATE TABLE table_name_77 (winning_constructor VARCHAR, fastest_lap VARCHAR, grand_prix VARCHAR)
SELECT winning_constructor FROM table_name_77 WHERE fastest_lap = "mark webber" AND grand_prix = "malaysian grand prix"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 8163, 834, 15982, 5317, 584, 4280, 28027, 6, 10391, 834, 8478, 584, 4280, 28027, 6, 1907, 834, 2246, 226, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3447, 834, 15982, 5317, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 10391, 834, 8478, 3274, 96, 3920, 765, 1152, 121, 3430, 1907, 834, 2246, 226, 3274, 96, 1982, 9, 63, 10488, 1907, 3407, 121, 1, -100, -100, ...
What School/Club did Dominique Wilkins play for?
CREATE TABLE table_name_27 ( school_club_team VARCHAR, player VARCHAR )
SELECT school_club_team FROM table_name_27 WHERE player = "dominique wilkins"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 496, 834, 13442, 834, 11650, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1121, 87, 254, 11158, 410, 30184, 85...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 496, 834, 13442, 834, 11650, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 1959, 3274, 96, 5012, 77, 1495, 3, 210, 173, 7815, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
has any microbiological test been performed on patient 025-28600's abscess during their first hospital encounter?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, sy...
SELECT COUNT(*) FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-28600' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospital...
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 23886, 41, 23886, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 23886, 4350, 1499, 6, 23886, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 2179, 9339, 549, 17444, 427, 2179, 9339, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 1...
What is on at 5pm when Local Programs are on at 7:30am and 8:00am?
CREATE TABLE table_13183 ( "7:00 am" text, "7:30 am" text, "8:00 am" text, "9:00 am" text, "10:00 am" text, "11:00 am" text, "noon" text, "12:30 pm" text, "1:00 pm" text, "1:30 pm" text, "2:00 pm" text, "3:00 pm" text, "4:30 pm" text, "5:00 pm" text, "6:30 pm"...
SELECT "5:00 pm" FROM table_13183 WHERE "8:00 am" = 'local programs' AND "7:30 am" = 'local programs'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 24361, 41, 96, 18735, 183, 121, 1499, 6, 96, 18078, 183, 121, 1499, 6, 96, 15692, 183, 121, 1499, 6, 96, 1298, 10, 1206, 183, 121, 1499, 6, 96, 536, 25713, 183, 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, 19870, 6366, 121, 21680, 953, 834, 2368, 24361, 549, 17444, 427, 96, 15692, 183, 121, 3274, 3, 31, 16882, 1356, 31, 3430, 96, 18078, 183, 121, 3274, 3, 31, 16882, 1356, 31, 1, -100, -100, -100, -100, -100, -100,...
Which home team played Hawthorn as the away team?
CREATE TABLE table_name_44 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_44 WHERE away_team = "hawthorn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 234, 372, 1944, 1626, 210, 17, 6293, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 550, 834, 11650, 3274, 96, 1024, 210, 17, 6293, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the sign of Burmese taninganwe တနင်္ဂနွေ?
CREATE TABLE table_name_87 (sign VARCHAR, burmese VARCHAR)
SELECT sign FROM table_name_87 WHERE burmese = "taninganwe တနင်္ဂနွေ"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 6732, 584, 4280, 28027, 6, 7018, 2687, 15, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1320, 13, 4152, 2687, 15, 3, 17, 152, 53, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1320, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 7018, 2687, 15, 3274, 96, 17, 152, 53, 152, 1123, 3, 2, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the GP winner for the Race winners valentin giraud / nicolas musset, and a place genk?
CREATE TABLE table_49574 ( "Date" text, "Place" text, "Race winners" text, "GP winner" text, "Source" text )
SELECT "GP winner" FROM table_49574 WHERE "Race winners" = 'valentin giraud / nicolas musset' AND "Place" = 'genk'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 3436, 591, 41, 96, 308, 342, 121, 1499, 6, 96, 345, 11706, 121, 1499, 6, 96, 448, 3302, 8969, 121, 1499, 6, 96, 8049, 4668, 121, 1499, 6, 96, 23799, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 8049, 4668, 121, 21680, 953, 834, 3647, 3436, 591, 549, 17444, 427, 96, 448, 3302, 8969, 121, 3274, 3, 31, 15592, 77, 3, 9427, 402, 26, 3, 87, 3, 29, 23, 12600, 7, 2171, 15, 17, 31, 3430, 96, 345, 11706, 1...
Which player is Andre Owens in Year for Jazz?
CREATE TABLE table_52027 ( "Player" text, "Nationality" text, "Position" text, "Years for Jazz" text, "School/Club Team" text )
SELECT "Years for Jazz" FROM table_52027 WHERE "Player" = 'andre owens'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25356, 2555, 41, 96, 15800, 49, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 476, 2741, 7, 21, 12313, 121, 1499, 6, 96, 29364, 87...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 476, 2741, 7, 21, 12313, 121, 21680, 953, 834, 25356, 2555, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 232, 60, 3, 2381, 35, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show all artist names and the year joined who are not from United States.
CREATE TABLE artist (name VARCHAR, year_join VARCHAR, country VARCHAR)
SELECT name, year_join FROM artist WHERE country <> 'United States'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2377, 41, 4350, 584, 4280, 28027, 6, 215, 834, 1927, 77, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3111, 66, 2377, 3056, 11, 8, 215, 3311, 113, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 6, 215, 834, 1927, 77, 21680, 2377, 549, 17444, 427, 684, 3, 2, 3155, 3, 31, 5110, 23, 1054, 1323, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What score has tim duncan (14) as the high rebounds?
CREATE TABLE table_76382 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Score" FROM table_76382 WHERE "High rebounds" = 'tim duncan (14)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 3747, 357, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 3959, 3747, 357, 549, 17444, 427, 96, 21417, 3, 23768, 121, 3274, 3, 31, 2998, 146, 29, 1608, 4077, 7256, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the sport of the La Liga league?
CREATE TABLE table_10815352_1 ( sport VARCHAR, league VARCHAR )
SELECT sport FROM table_10815352_1 WHERE league = "La Liga"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 16169, 27025, 5373, 834, 536, 41, 2600, 584, 4280, 28027, 6, 5533, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2600, 13, 8, 325, 18515, 5533, 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, 2600, 21680, 953, 834, 16169, 27025, 5373, 834, 536, 549, 17444, 427, 5533, 3274, 96, 3612, 18515, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which country had a cad 4011 catalogue #?
CREATE TABLE table_name_66 ( country VARCHAR, catalogue__number VARCHAR )
SELECT country FROM table_name_66 WHERE catalogue__number = "cad 4011"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 684, 584, 4280, 28027, 6, 14978, 834, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 684, 141, 3, 9, 212, 26, 1283, 259...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 684, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 14978, 834, 834, 5525, 1152, 3274, 96, 658, 26, 1283, 2596, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many Viewers have a Rank smaller than 2?
CREATE TABLE table_63853 ( "Rank" real, "Series" text, "Episode title" text, "Viewers" real, "Date" text )
SELECT SUM("Viewers") FROM table_63853 WHERE "Rank" < '2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 4433, 519, 41, 96, 22557, 121, 490, 6, 96, 12106, 7, 121, 1499, 6, 96, 427, 102, 159, 32, 221, 2233, 121, 1499, 6, 96, 15270, 277, 121, 490, 6, 96, 308, 342, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 15270, 277, 8512, 21680, 953, 834, 3891, 4433, 519, 549, 17444, 427, 96, 22557, 121, 3, 2, 3, 31, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Where was the competition that took place that had a 5-1 result?
CREATE TABLE table_name_7 (venue VARCHAR, result VARCHAR)
SELECT venue FROM table_name_7 WHERE result = "5-1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 15098, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2840, 47, 8, 2259, 24, 808, 286, 24, 141, 3, 9, 305, 2292, 741, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5669, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 741, 3274, 96, 755, 2292, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Return a bar chart about the number of counties for all appellations?, and list by the y axis in descending.
CREATE TABLE grapes ( ID INTEGER, Grape TEXT, Color TEXT ) CREATE TABLE appellations ( No INTEGER, Appelation TEXT, County TEXT, State TEXT, Area TEXT, isAVA TEXT ) CREATE TABLE wine ( No INTEGER, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT, Name TE...
SELECT County, COUNT(County) FROM appellations GROUP BY County ORDER BY COUNT(County) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11457, 7, 41, 4699, 3, 21342, 17966, 6, 29083, 3, 3463, 4, 382, 6, 6088, 3, 3463, 4, 382, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 8319, 6105, 7, 41, 465, 3, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1334, 6, 2847, 17161, 599, 10628, 63, 61, 21680, 8319, 6105, 7, 350, 4630, 6880, 272, 476, 1334, 4674, 11300, 272, 476, 2847, 17161, 599, 10628, 63, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average capacity that has switzerland as the country?
CREATE TABLE table_name_19 (capacity INTEGER, country VARCHAR)
SELECT AVG(capacity) FROM table_name_19 WHERE country = "switzerland"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 4010, 9, 6726, 3, 21342, 17966, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 2614, 24, 65, 3, 7, 15686, 15, 7721, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 4010, 9, 6726, 61, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 684, 3274, 96, 7, 15686, 15, 7721, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is College of Ohio State's pick number with an overall lower than 145?
CREATE TABLE table_name_42 (pick__number VARCHAR, overall VARCHAR, college VARCHAR)
SELECT pick__number FROM table_name_42 WHERE overall < 145 AND college = "ohio state"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 17967, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 1879, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 1888, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1432, 834, 834, 5525, 1152, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 1879, 3, 2, 3, 20987, 3430, 1900, 3274, 96, 32, 107, 23, 32, 538, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the score of the game that had a visiting team of Edmonton?
CREATE TABLE table_name_93 (score VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_93 WHERE visitor = "edmonton"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 7, 9022, 584, 4280, 28027, 6, 7019, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 13, 8, 467, 24, 141, 3, 9, 3644, 372, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4271, 549, 17444, 427, 7019, 3274, 96, 15, 26, 4662, 106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What opponent had a record of 37-27?
CREATE TABLE table_9288 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Record" text )
SELECT "Opponent" FROM table_9288 WHERE "Record" = '37-27'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4508, 4060, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 75, 257, 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, 667, 102, 9977, 121, 21680, 953, 834, 4508, 4060, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 4118, 18, 2555, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is Score, when Money ( $ ) is 32,200, and when Player is Chip Beck?
CREATE TABLE table_name_2 ( score VARCHAR, money___$__ VARCHAR, player VARCHAR )
SELECT score FROM table_name_2 WHERE money___$__ = "32,200" AND player = "chip beck"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 2604, 584, 4280, 28027, 6, 540, 834, 834, 834, 3229, 834, 834, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 540, 834, 834, 834, 3229, 834, 834, 3274, 96, 2668, 6, 3632, 121, 3430, 1959, 3274, 96, 17362, 3, 12993, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100...
Which record has 2:57 as the time?
CREATE TABLE table_name_91 (record VARCHAR, time VARCHAR)
SELECT record FROM table_name_91 WHERE time = "2:57"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 60, 7621, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1368, 65, 204, 10, 3436, 38, 8, 97, 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, 1368, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 97, 3274, 96, 357, 10, 3436, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What were highest points received from someone using a zabel-wsp with a position greater than 7?
CREATE TABLE table_name_15 (points INTEGER, equipment VARCHAR, position VARCHAR)
SELECT MAX(points) FROM table_name_15 WHERE equipment = "zabel-wsp" AND position > 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 2700, 7, 3, 21342, 17966, 6, 1277, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 130, 2030, 979, 1204, 45, 841, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 1277, 3274, 96, 172, 10333, 18, 210, 7, 102, 121, 3430, 1102, 2490, 489, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the 2007 value for the 2006 wta premier tournaments?
CREATE TABLE table_name_25 ( Id VARCHAR )
SELECT 2007 FROM table_name_25 WHERE 2006 = "wta premier tournaments"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4101, 701, 21, 8, 3581, 3, 210, 17, 9, 2761, 5892, 7, 58, 1, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4101, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 3581, 3274, 96, 210, 17, 9, 2761, 5892, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What district is Mac Collins an incumbent in?
CREATE TABLE table_1341472_12 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1341472_12 WHERE incumbent = "Mac Collins"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 24719, 357, 834, 2122, 41, 26, 23, 20066, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 3939, 19, 2143, 16517, 46, 28406, 16, 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, 0, 0, 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, 24719, 357, 834, 2122, 549, 17444, 427, 28406, 3274, 96, 17772, 16517, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who was the home team on 27 march 2008?
CREATE TABLE table_11520 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Attendance" real, "Record" text )
SELECT "Home" FROM table_11520 WHERE "Date" = '27 march 2008'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15660, 1755, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 2796, 9, 26, 53, 2604, 52, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 121, 21680, 953, 834, 15660, 1755, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 2555, 10556, 2628, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Nationality has a Date of 8 may 1942?
CREATE TABLE table_name_39 (nationality VARCHAR, date VARCHAR)
SELECT nationality FROM table_name_39 WHERE date = "8 may 1942"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 16557, 485, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 868, 485, 65, 3, 9, 7678, 13, 505, 164, 24466, 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, 1157, 485, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 833, 3274, 96, 927, 164, 24466, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the santee sisseton for morning
CREATE TABLE table_19781 ( "English gloss" text, "Santee-Sisseton" text, "Yankton-Yanktonai" text, "Northern Lakota" text, "Southern Lakota" text )
SELECT "Santee-Sisseton" FROM table_19781 WHERE "English gloss" = 'morning'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27181, 4959, 41, 96, 26749, 20666, 121, 1499, 6, 96, 134, 1841, 15, 18, 134, 3818, 17, 106, 121, 1499, 6, 96, 476, 5979, 17, 106, 18, 476, 5979, 17, 106, 9, 23, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 1841, 15, 18, 134, 3818, 17, 106, 121, 21680, 953, 834, 27181, 4959, 549, 17444, 427, 96, 26749, 20666, 121, 3274, 3, 31, 2528, 29, 53, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many roles did this actor have before 2010 ?
CREATE TABLE table_204_729 ( id number, "year" text, "show" text, "role" text, "channel" text, "notes" text )
SELECT COUNT("role") FROM table_204_729 WHERE "year" < 2010
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 940, 3166, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 1499, 6, 96, 10049, 121, 1499, 6, 96, 3491, 15, 121, 1499, 6, 96, 19778, 121, 1499, 6, 96, 7977, 7, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 3491, 15, 8512, 21680, 953, 834, 26363, 834, 940, 3166, 549, 17444, 427, 96, 1201, 121, 3, 2, 2735, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What campus is in Brgy. Alangilan, Batangas City?
CREATE TABLE table_65868 ( "Campus" text, "Executive Director" text, "Founded" real, "Type" text, "Location" text )
SELECT "Campus" FROM table_65868 WHERE "Location" = 'brgy. alangilan, batangas city'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 3449, 3651, 41, 96, 24626, 302, 121, 1499, 6, 96, 5420, 15, 3044, 757, 2578, 121, 1499, 6, 96, 20100, 121, 490, 6, 96, 25160, 121, 1499, 6, 96, 434, 32, 75, 257, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24626, 302, 121, 21680, 953, 834, 948, 3449, 3651, 549, 17444, 427, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 115, 52, 122, 63, 5, 3, 9, 4612, 173, 152, 6, 3795, 1468, 9, 7, 690, 31, 1, -100, -100, -100, -...
What is the total amount of money that the United States one with a To par of 2?
CREATE TABLE table_48651 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real )
SELECT COUNT("Money ( $ )") FROM table_48651 WHERE "Country" = 'united states' AND "To par" = '–2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 4122, 536, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 9168, 15, 63, 41, 1514, 3, 61, 8512, 21680, 953, 834, 3707, 4122, 536, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 15129, 15, 26, 2315, 31, 3430, 96, 3696, 260, 121, 3274, 3, 31, 10...
what is lab test name of subject name kelly gallardo?
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 lab.label FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.name = "Kelly Gallardo"
[ 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, 7690, 5, 40, 10333, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 439, 15, 6073, 10987, 98...
What year was the version with a remixes album?
CREATE TABLE table_name_76 (year VARCHAR, album VARCHAR)
SELECT year FROM table_name_76 WHERE album = "remixes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 1201, 584, 4280, 28027, 6, 2306, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 47, 8, 988, 28, 3, 9, 26063, 15, 7, 2306, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 215, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 2306, 3274, 96, 60, 13682, 15, 7, 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 finish in 1953?
CREATE TABLE table_name_75 (finish VARCHAR, year VARCHAR)
SELECT finish FROM table_name_75 WHERE year = "1953"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 25535, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1992, 16, 23726, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1992, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 215, 3274, 96, 2294, 4867, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the away team that played home team Perth Wildcats?
CREATE TABLE table_name_82 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_82 WHERE home_team = "perth wildcats"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 8006, 834, 11650, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 550, 372, 24, 1944, 234, 372, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 550, 834, 11650, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 234, 834, 11650, 3274, 96, 883, 189, 3645, 2138, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
For all employees who have the letters D or S in their first name, show me about the distribution of job_id and the average of salary , and group by attribute job_id in a bar chart.
CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,...
SELECT JOB_ID, AVG(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP 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, 71, 17217, 599, 134, 4090, 24721, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 13...
Which Played has a Club of atl tico ceuta, and less than 11 Losses?
CREATE TABLE table_name_40 ( played INTEGER, club VARCHAR, losses VARCHAR )
SELECT MAX(played) FROM table_name_40 WHERE club = "atlético ceuta" AND losses < 11
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 1944, 3, 21342, 17966, 6, 1886, 584, 4280, 28027, 6, 8467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 2911, 15, 26, 65, 3, 9, 1949, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 4895, 15, 26, 61, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 1886, 3274, 96, 144, 40, 17678, 509, 197, 76, 17, 9, 121, 3430, 8467, 3, 2, 850, 1, -100, -100, -100, -100, -100, -100, -100, -1...
When was the incumbent Sherrod Brown first elected?
CREATE TABLE table_1341453_37 ( first_elected INTEGER, incumbent VARCHAR )
SELECT MAX(first_elected) FROM table_1341453_37 WHERE incumbent = "Sherrod Brown"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2534, 4867, 834, 4118, 41, 166, 834, 19971, 3, 21342, 17966, 6, 28406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 8, 28406, 451, 52, 9488, 3899, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 14672, 834, 19971, 61, 21680, 953, 834, 23747, 2534, 4867, 834, 4118, 549, 17444, 427, 28406, 3274, 96, 134, 760, 9488, 3899, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the total number of games for lost being 41
CREATE TABLE table_2509505_1 (games VARCHAR, lost VARCHAR)
SELECT COUNT(games) FROM table_2509505_1 WHERE lost = 41
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11434, 3301, 3076, 834, 536, 41, 7261, 7, 584, 4280, 28027, 6, 1513, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 792, 381, 13, 1031, 21, 1513, 271, 8798, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7261, 7, 61, 21680, 953, 834, 11434, 3301, 3076, 834, 536, 549, 17444, 427, 1513, 3274, 8798, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
tell me the number of patients born before 2112 who had other lysis of peritoneal adhesions procedure.
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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dob_year < "2112" AND procedures.short_title = "Oth periton adhesiolysis"
[ 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 year's label was label?
CREATE TABLE table_42516 ( "Year" text, "Title" text, "Genre" text, "Label" text, "Result" text )
SELECT "Year" FROM table_42516 WHERE "Label" = 'label'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 1828, 2938, 41, 96, 476, 2741, 121, 1499, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 13714, 60, 121, 1499, 6, 96, 434, 10333, 121, 1499, 6, 96, 20119, 121, 1499, 3, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 476, 2741, 121, 21680, 953, 834, 591, 1828, 2938, 549, 17444, 427, 96, 434, 10333, 121, 3274, 3, 31, 40, 10333, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many records were made on the game that ended with score w 121–119 (ot)
CREATE TABLE table_17190012_7 (record VARCHAR, score VARCHAR)
SELECT COUNT(record) FROM table_17190012_7 WHERE score = "W 121–119 (OT)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2294, 1206, 2122, 834, 940, 41, 60, 7621, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 149, 186, 3187, 130, 263, 30, 8, 467, 24, 34...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 60, 7621, 61, 21680, 953, 834, 2517, 2294, 1206, 2122, 834, 940, 549, 17444, 427, 2604, 3274, 96, 518, 3, 22011, 104, 19993, 41, 6951, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many rushing yards are listed when the passing yards are 244?
CREATE TABLE table_30693 ( "Rank" real, "Player" text, "Year" real, "Opponent" text, "Passing yards" real, "Rushing yards" real, "Total offense" real )
SELECT "Rushing yards" FROM table_30693 WHERE "Passing yards" = '244'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1458, 3951, 519, 41, 96, 22557, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 476, 2741, 121, 490, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20192, 53, 6460, 121, 490, 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, 17137, 9525, 6460, 121, 21680, 953, 834, 1458, 3951, 519, 549, 17444, 427, 96, 20192, 53, 6460, 121, 3274, 3, 31, 357, 3628, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What's the Loss listed with a Score of 5-1?
CREATE TABLE table_name_60 ( loss VARCHAR, score VARCHAR )
SELECT loss FROM table_name_60 WHERE score = "5-1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 1453, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 3144, 7, 2616, 28, 3, 9, 17763, 13, 305, 2292...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1453, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 2604, 3274, 96, 755, 2292, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
who write the episode 5 in no. in season
CREATE TABLE table_19417244_2 ( written_by VARCHAR, no_in_season VARCHAR )
SELECT written_by FROM table_19417244_2 WHERE no_in_season = 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 591, 27156, 3628, 834, 357, 41, 1545, 834, 969, 584, 4280, 28027, 6, 150, 834, 77, 834, 9476, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 113, 1431, 8, 56...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1545, 834, 969, 21680, 953, 834, 2294, 591, 27156, 3628, 834, 357, 549, 17444, 427, 150, 834, 77, 834, 9476, 3274, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Return a bar chart on how many bookings does each booking status have? List the booking status code and the number of corresponding bookings, show total number in descending order.
CREATE TABLE Apartment_Facilities ( apt_id INTEGER, facility_code CHAR(15) ) CREATE TABLE Apartment_Buildings ( building_id INTEGER, building_short_name CHAR(15), building_full_name VARCHAR(80), building_description VARCHAR(255), building_address VARCHAR(255), building_manager VARCHAR(5...
SELECT booking_status_code, COUNT(*) FROM Apartment_Bookings GROUP BY booking_status_code ORDER BY COUNT(*) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15970, 834, 371, 9, 13067, 3010, 41, 3, 6789, 834, 23, 26, 3, 21342, 17966, 6, 3064, 834, 4978, 3, 28027, 599, 1808, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8547, 302, 834, 4978, 6, 2847, 17161, 599, 1935, 61, 21680, 15970, 834, 13355, 53, 7, 350, 4630, 6880, 272, 476, 5038, 834, 8547, 302, 834, 4978, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25...
Name the championship for outcome being winner for 7 5, 4 6, 6 1
CREATE TABLE table_24638867_6 ( championship VARCHAR, outcome VARCHAR, score VARCHAR )
SELECT championship FROM table_24638867_6 WHERE outcome = "Winner" AND score = "7–5, 4–6, 6–1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 3891, 4060, 3708, 834, 948, 41, 10183, 584, 4280, 28027, 6, 6138, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 10183, 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, 10183, 21680, 953, 834, 2266, 3891, 4060, 3708, 834, 948, 549, 17444, 427, 6138, 3274, 96, 18455, 687, 121, 3430, 2604, 3274, 96, 940, 104, 11116, 314, 104, 11071, 431, 104, 536, 121, 1, -100, -100, -100, -100, -100, ...
Show id and location of railways that are associated with more than one train Visualize by bar chart, could you sort x axis in desc order?
CREATE TABLE railway_manage ( Railway_ID int, Manager_ID int, From_Year text ) CREATE TABLE railway ( Railway_ID int, Railway text, Builder text, Built text, Wheels text, Location text, ObjectNumber text ) CREATE TABLE train ( Train_ID int, Train_Num text, Name text...
SELECT T1.Location, T1.Railway_ID FROM railway AS T1 JOIN train AS T2 ON T1.Railway_ID = T2.Railway_ID ORDER BY T1.Location DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14421, 834, 348, 545, 41, 18025, 834, 4309, 16, 17, 6, 3440, 834, 4309, 16, 17, 6, 1029, 834, 476, 2741, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 14421, 41, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 434, 32, 75, 257, 6, 332, 5411, 448, 9, 173, 1343, 834, 4309, 21680, 14421, 6157, 332, 536, 3, 15355, 3162, 2412, 6157, 332, 357, 9191, 332, 5411, 448, 9, 173, 1343, 834, 4309, 3274, 332, 4416, 448, 9, ...
What's Albufeira's assist/pass?
CREATE TABLE table_name_22 ( assist_pass VARCHAR, location VARCHAR )
SELECT assist_pass FROM table_name_22 WHERE location = "albufeira"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 2094, 834, 3968, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 12677, 76, 89, 15809, 31, 7, 2094, 87, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2094, 834, 3968, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 1128, 3274, 96, 138, 3007, 89, 15809, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What country has the city, Sydney?
CREATE TABLE table_name_99 (country VARCHAR, city VARCHAR)
SELECT country FROM table_name_99 WHERE city = "sydney"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 17529, 584, 4280, 28027, 6, 690, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 684, 65, 8, 690, 6, 7476, 58, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 690, 3274, 96, 7, 63, 26, 3186, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which home team had a visitor of Ottawa Senators with a score of 1 5?
CREATE TABLE table_name_61 ( home VARCHAR, visitor VARCHAR, score VARCHAR )
SELECT home FROM table_name_61 WHERE visitor = "ottawa senators" AND score = "1–5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 234, 584, 4280, 28027, 6, 7019, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 234, 372, 141, 3, 9, 7019, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 7019, 3274, 96, 32, 17, 17, 7396, 20596, 7, 121, 3430, 2604, 3274, 96, 536, 104, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...