NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What is the place of the player from the United States with a score of 74-72=146?
CREATE TABLE table_name_87 (place VARCHAR, country VARCHAR, score VARCHAR)
SELECT place FROM table_name_87 WHERE country = "united states" AND score = 74 - 72 = 146
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 4687, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 286, 13, 8, 1959, 45, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 286, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 684, 3274, 96, 15129, 15, 26, 2315, 121, 3430, 2604, 3274, 3, 4581, 3, 18, 9455, 3274, 3, 24300, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of founder and the amount of founder , and group by attribute founder, and order Y-axis in ascending order.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT Founder, COUNT(Founder) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder ORDER BY COUNT(Founder)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15248, 7, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 3642, 19973, 584, 4280, 28027, 599, 25502, 201, 3, 19145, 584, 4280, 28027, 599, 25502, 201, 19764, 17833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 19145, 6, 2847, 17161, 599, 19145, 61, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 3, 19145,...
Which College has a Pick # larger than 30, and a Position of ol?
CREATE TABLE table_76785 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text )
SELECT "College" FROM table_76785 WHERE "Pick #" > '30' AND "Position" = 'ol'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 3940, 755, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 254, 10765, 2271, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 9939, 78...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9939, 7883, 121, 21680, 953, 834, 3959, 3940, 755, 549, 17444, 427, 96, 345, 3142, 1713, 121, 2490, 3, 31, 1458, 31, 3430, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 32, 40, 31, 1, -100, -100, -100, -100, -100,...
List all the runners-up on 16 October 2012?
CREATE TABLE table_30848 ( "Series" real, "Premiere" text, "Finale" text, "Runners-up" text, "Winner" text )
SELECT "Runners-up" FROM table_30848 WHERE "Finale" = '16 October 2012'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1458, 927, 3707, 41, 96, 12106, 7, 121, 490, 6, 96, 10572, 2720, 60, 121, 1499, 6, 96, 371, 10270, 15, 121, 1499, 6, 96, 23572, 7, 18, 413, 121, 1499, 6, 96, 18455, 687...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23572, 7, 18, 413, 121, 21680, 953, 834, 1458, 927, 3707, 549, 17444, 427, 96, 371, 10270, 15, 121, 3274, 3, 31, 2938, 1797, 1673, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
provide the number of patients whose days of hospital stay is greater than 29 and lab test name is red blood cells?
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 ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "29" AND lab.label = "Red Blood Cells"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
how many patients are with black/cape verdean ethnicity and with drug name levofloxacin?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "BLACK/CAPE VERDEAN" AND prescriptions.drug = "Levofloxacin"
[ 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...
Show the number of apartment bookings in each year and bin booking end date by year with a bar chart, could you list Y in ascending order please?
CREATE TABLE Apartments ( apt_id INTEGER, building_id INTEGER, apt_type_code CHAR(15), apt_number CHAR(10), bathroom_count INTEGER, bedroom_count INTEGER, room_count CHAR(5) ) CREATE TABLE Apartment_Bookings ( apt_booking_id INTEGER, apt_id INTEGER, guest_id INTEGER, booking...
SELECT booking_end_date, COUNT(booking_end_date) FROM Apartment_Bookings ORDER BY COUNT(booking_end_date)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15970, 7, 41, 3, 6789, 834, 23, 26, 3, 21342, 17966, 6, 740, 834, 23, 26, 3, 21342, 17966, 6, 3, 6789, 834, 6137, 834, 4978, 3, 28027, 599, 1808, 201, 3, 6789, 834, 5525, 1152, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5038, 834, 989, 834, 5522, 6, 2847, 17161, 599, 2567, 53, 834, 989, 834, 5522, 61, 21680, 15970, 834, 13355, 53, 7, 4674, 11300, 272, 476, 2847, 17161, 599, 2567, 53, 834, 989, 834, 5522, 61, 1, -100, -100, -100, ...
what is bb - blind bear where ba - running bear is mf - mountain falcon?
CREATE TABLE table_28265 ( "AB - Angry boar" text, "B - Bishop" text, "BA - Running Bear" text, "BB - Blind Bear" text, "BC - Beast Cadet" text )
SELECT "BB - Blind Bear" FROM table_28265 WHERE "BA - Running Bear" = 'MF - Mountain Falcon'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 357, 4122, 41, 96, 5359, 3, 18, 3, 8365, 651, 3005, 291, 121, 1499, 6, 96, 279, 3, 18, 16098, 121, 1499, 6, 96, 4882, 3, 18, 18286, 9034, 121, 1499, 6, 96, 7640, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7640, 3, 18, 21465, 9034, 121, 21680, 953, 834, 2577, 357, 4122, 549, 17444, 427, 96, 4882, 3, 18, 18286, 9034, 121, 3274, 3, 31, 13286, 3, 18, 5617, 22150, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
What is Record, when Date is Oct 19?
CREATE TABLE table_name_30 ( record VARCHAR, date VARCHAR )
SELECT record FROM table_name_30 WHERE date = "oct 19"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 1368, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 11392, 6, 116, 7678, 19, 6416, 957, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 833, 3274, 96, 32, 75, 17, 957, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the number of schools for 1011/12 is 26
CREATE TABLE table_27335 ( "2013/14" real, "2012/13" real, "2011/12" real, "2010/11" real, "Institute" text, "Region" text )
SELECT COUNT("Institute") FROM table_27335 WHERE "2011/12" = '26'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 519, 2469, 41, 96, 11138, 14785, 20364, 490, 6, 96, 12172, 87, 2368, 121, 490, 6, 96, 13907, 18009, 121, 490, 6, 96, 14926, 20223, 121, 490, 6, 96, 9496, 15, 121, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 9496, 15, 8512, 21680, 953, 834, 2555, 519, 2469, 549, 17444, 427, 96, 13907, 18009, 121, 3274, 3, 31, 2688, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the week 12 standing for the housemate that nominated Deepak P Rahul in week 1 and Amit Carol in week 3?
CREATE TABLE table_name_8 ( Final VARCHAR, week_1 VARCHAR, week_3 VARCHAR )
SELECT Final AS week_12 FROM table_name_8 WHERE week_1 = "deepak p rahul" AND week_3 = "amit carol"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 6514, 584, 4280, 28027, 6, 471, 834, 536, 584, 4280, 28027, 6, 471, 834, 519, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 471, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6514, 6157, 471, 834, 2122, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 471, 834, 536, 3274, 96, 25221, 1639, 3, 102, 3, 52, 9, 107, 83, 121, 3430, 471, 834, 519, 3274, 96, 9, 1538, 212, 3491, 121, 1, -100...
What is the average Tries with less than 0 goals?
CREATE TABLE table_name_7 (tries INTEGER, goals INTEGER)
SELECT AVG(tries) FROM table_name_7 WHERE goals < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 9000, 3, 21342, 17966, 6, 1766, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 332, 2593, 28, 705, 145, 3, 632, 1766, 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, 71, 17217, 599, 9000, 61, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 1766, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Visualize a bar chart about the distribution of All_Road and All_Games_Percent , and rank by the All_Games_Percent in ascending please.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Per...
SELECT All_Road, All_Games_Percent FROM basketball_match ORDER BY All_Games_Percent
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 432, 834, 448, 32, 9, 26, 6, 432, 834, 23055, 7, 834, 12988, 3728, 21680, 8498, 834, 19515, 4674, 11300, 272, 476, 432, 834, 23055, 7, 834, 12988, 3728, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the number of patients with abnormal lab test status who were diagnosed with perforation of intestine?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Perforation of intestine" AND lab.flag = "abnormal"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Name the nationality of the player with round more than 4
CREATE TABLE table_52859 ( "Round" real, "Player" text, "Nationality" text, "NHL team" text, "College/Junior/Club team (league)" text )
SELECT "Nationality" FROM table_52859 WHERE "Round" > '4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2577, 3390, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 15743, 434, 372, 121, 1499, 6, 96, 9939, 7883, 87, 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, 24732, 485, 121, 21680, 953, 834, 755, 2577, 3390, 549, 17444, 427, 96, 448, 32, 1106, 121, 2490, 3, 31, 591, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
who was the Stage winner when the stage was smaller than 16, earlier than 1986, and a distance (km) was 19.6?
CREATE TABLE table_13568 ( "Year" real, "Stage" real, "Start of stage" text, "Distance (km)" text, "Category of climb" text, "Stage winner" text, "Yellow jersey" text )
SELECT "Stage winner" FROM table_13568 WHERE "Stage" < '16' AND "Year" < '1986' AND "Distance (km)" = '19.6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 536, 2469, 3651, 41, 96, 476, 2741, 121, 490, 6, 96, 134, 6505, 121, 490, 6, 96, 7681, 17, 13, 1726, 121, 1499, 6, 96, 308, 23, 8389, 41, 5848, 61, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 6505, 4668, 121, 21680, 953, 834, 536, 2469, 3651, 549, 17444, 427, 96, 134, 6505, 121, 3, 2, 3, 31, 2938, 31, 3430, 96, 476, 2741, 121, 3, 2, 3, 31, 2294, 3840, 31, 3430, 96, 308, 23, 8389, 41, 5848,...
Which result has a Score of 1–1?
CREATE TABLE table_name_23 (result VARCHAR, score VARCHAR)
SELECT result FROM table_name_23 WHERE score = "1–1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 741, 65, 3, 9, 17763, 13, 209, 104, 536, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 2604, 3274, 96, 536, 104, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the smallest crowd at princes park?
CREATE TABLE table_name_57 (crowd INTEGER, venue VARCHAR)
SELECT MIN(crowd) FROM table_name_57 WHERE venue = "princes park"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 75, 3623, 26, 3, 21342, 17966, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 17924, 4374, 44, 22277, 7, 2447, 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, 3, 17684, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 5669, 3274, 96, 12298, 2319, 2447, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the kickoff time for the game in week of 17?
CREATE TABLE table_name_92 ( kickoff_time VARCHAR, week VARCHAR )
SELECT kickoff_time FROM table_name_92 WHERE week = 17
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 4583, 1647, 834, 715, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4583, 1647, 97, 21, 8, 467, 16, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4583, 1647, 834, 715, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 471, 3274, 1003, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
patient 013-23115 has any disease diagnosed since 6 years ago?
CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE treatment ( ...
SELECT COUNT(*) > 0 FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-23115')) AND DATETIME(diagnosis.diagnosistime) >= DATETIME(CURRENT_TIME(...
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8209, 41, 8209, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 8209, 4350, 1499, 6, 8209, 715, 97, 6, 3, 447, 26, 1298, 4978, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 2490, 3, 632, 21680, 8209, 549, 17444, 427, 8209, 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,...
What is the CFL Team with Will Grant?
CREATE TABLE table_name_32 (cfl_team VARCHAR, player VARCHAR)
SELECT cfl_team FROM table_name_32 WHERE player = "will grant"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 75, 89, 40, 834, 11650, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 205, 10765, 2271, 28, 2003, 8059, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 75, 89, 40, 834, 11650, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 1959, 3274, 96, 8894, 5334, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What district is incumbent melvin price from?
CREATE TABLE table_1342233_13 ( district VARCHAR, incumbent VARCHAR )
SELECT district FROM table_1342233_13 WHERE incumbent = "Melvin Price"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 4165, 20879, 834, 2368, 41, 3939, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 3939, 19, 28406, 3, 2341, 2494, 594, 45, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3939, 21680, 953, 834, 2368, 4165, 20879, 834, 2368, 549, 17444, 427, 28406, 3274, 96, 329, 15, 40, 2494, 5312, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
who is the miss earth venezuela when the 2nd runner-up is mar a escalante?
CREATE TABLE table_9721 ( "Year" real, "Miss Earth Venezuela" text, "1st Runner Up" text, "2nd Runner Up" text, "3rd Runner Up" text, "4th Runner Up" text )
SELECT "Miss Earth Venezuela" FROM table_9721 WHERE "2nd Runner Up" = 'maría escalante'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4327, 2658, 41, 96, 476, 2741, 121, 490, 6, 96, 329, 159, 7, 4030, 17841, 121, 1499, 6, 96, 536, 7, 17, 3, 23572, 3234, 121, 1499, 6, 96, 357, 727, 3, 23572, 3234, 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, 329, 159, 7, 4030, 17841, 121, 21680, 953, 834, 4327, 2658, 549, 17444, 427, 96, 357, 727, 3, 23572, 3234, 121, 3274, 3, 31, 1635, 2, 9, 3, 1579, 138, 1841, 31, 1, -100, -100, -100, -100, -100, -100, -100, -...
Tell me the result for 1979-01-17
CREATE TABLE table_11952 ( "Date" text, "Opponent" text, "Winner" text, "Score" text, "Result" text )
SELECT "Result" FROM table_11952 WHERE "Date" = '1979-01-17'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19993, 5373, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 20119, 121, 1499, 3, 61, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 19993, 5373, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 2294, 4440, 14772, 10794, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the average finish for winnings of $1,400?
CREATE TABLE table_1875157_2 ( avg_finish VARCHAR, winnings VARCHAR )
SELECT avg_finish FROM table_1875157_2 WHERE winnings = "$1,400"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 3072, 27452, 834, 357, 41, 3, 9, 208, 122, 834, 25535, 584, 4280, 28027, 6, 3447, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 1992, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 9, 208, 122, 834, 25535, 21680, 953, 834, 2606, 3072, 27452, 834, 357, 549, 17444, 427, 3447, 7, 3274, 96, 3229, 4347, 5548, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the biggest roll number of Sylvia Park School, which has a state authority?
CREATE TABLE table_52271 ( "Name" text, "Years" text, "Area" text, "Authority" text, "Decile" text, "Roll" real )
SELECT MAX("Roll") FROM table_52271 WHERE "Authority" = 'state' AND "Name" = 'sylvia park school'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5373, 2555, 536, 41, 96, 23954, 121, 1499, 6, 96, 476, 2741, 7, 121, 1499, 6, 96, 188, 864, 121, 1499, 6, 96, 23602, 127, 485, 121, 1499, 6, 96, 2962, 75, 699, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 29807, 8512, 21680, 953, 834, 5373, 2555, 536, 549, 17444, 427, 96, 23602, 127, 485, 121, 3274, 3, 31, 5540, 31, 3430, 96, 23954, 121, 3274, 3, 31, 7, 63, 40, 5907, 2447, 496, 31, 1, -100, -10...
Which year has the most degrees conferred?
CREATE TABLE degrees (YEAR VARCHAR, degrees INTEGER)
SELECT YEAR FROM degrees GROUP BY YEAR ORDER BY SUM(degrees) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4526, 41, 476, 19356, 584, 4280, 28027, 6, 4526, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 4073, 215, 65, 8, 167, 4526, 11323, 1271, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 30431, 21680, 4526, 350, 4630, 6880, 272, 476, 30431, 4674, 11300, 272, 476, 180, 6122, 599, 19706, 7, 61, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the 2012 with 2013 of 2r and 2009 of 3r
CREATE TABLE table_name_69 ( Id VARCHAR )
SELECT 2012 FROM table_name_69 WHERE 2013 = "2r" AND 2009 = "3r"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1673, 28, 2038, 13, 204, 52, 11, 2464, 13, 220, 52, 1, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1673, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 2038, 3274, 96, 357, 52, 121, 3430, 2464, 3274, 96, 519, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the home team of the game where Geelong was the away team?
CREATE TABLE table_53170 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Date" text )
SELECT "Home team" FROM table_53170 WHERE "Away team" = 'geelong'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3341, 2518, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 372, 121, 21680, 953, 834, 755, 3341, 2518, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 397, 15, 2961, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What venue features geelong as the away side?
CREATE TABLE table_4633 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Venue" FROM table_4633 WHERE "Away team" = 'geelong'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 4201, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 553, 35, 76, 15, 121, 21680, 953, 834, 4448, 4201, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 397, 15, 2961, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the date of the game on week 9 with attendance greater than 41,863?
CREATE TABLE table_47820 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT "Date" FROM table_47820 WHERE "Attendance" > '41,863' AND "Week" = '9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3940, 1755, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 591, 3940, 1755, 549, 17444, 427, 96, 188, 17, 324, 26, 663, 121, 2490, 3, 31, 4853, 6, 3840, 519, 31, 3430, 96, 518, 10266, 121, 3274, 3, 31, 1298, 31, 1, -100, -100, -100, ...
How many Points have Goals against of 35, and less than 13 losses?
CREATE TABLE table_name_45 (points INTEGER, goals_against VARCHAR, losses VARCHAR)
SELECT SUM(points) FROM table_name_45 WHERE goals_against = 35 AND losses < 13
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 2700, 7, 3, 21342, 17966, 6, 1766, 834, 9, 16720, 7, 17, 584, 4280, 28027, 6, 8467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 4564...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 1766, 834, 9, 16720, 7, 17, 3274, 3097, 3430, 8467, 3, 2, 1179, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Give me the comparison about the sum of Weight over the Sex , and group by attribute Sex by a bar chart, display by the Y-axis from low to high.
CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real ) CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate re...
SELECT Sex, SUM(Weight) FROM people GROUP BY Sex ORDER BY SUM(Weight)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 2449, 834, 4309, 16, 17, 6, 679, 226, 1499, 6, 5570, 1499, 6, 7678, 834, 858, 834, 279, 23, 52, 189, 1499, 6, 24231, 490, 6, 14230, 490, 3, 61, 3, 32102, 32103, 32102, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 679, 226, 6, 180, 6122, 599, 1326, 2632, 61, 21680, 151, 350, 4630, 6880, 272, 476, 679, 226, 4674, 11300, 272, 476, 180, 6122, 599, 1326, 2632, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the number of patients whose discharge location is home health care and age is less than 41?
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 WHERE demographic.discharge_location = "HOME HEALTH CARE" AND demographic.age < "41"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 26, 159, 7993, 834, 14836, 3274, 96, 6299, 4369, 3, 6021, 4090, 4611, 3, 22443, 121, 3430, 14798, ...
Which rule has The Event of n/a, The Result of loss, and The Location of winsford england?
CREATE TABLE table_name_2 ( rules VARCHAR, location VARCHAR, event VARCHAR, result VARCHAR )
SELECT rules FROM table_name_2 WHERE event = "n/a" AND result = "loss" AND location = "winsford england"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 2219, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 6, 605, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 3356, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2219, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 605, 3274, 96, 29, 87, 9, 121, 3430, 741, 3274, 96, 2298, 7, 121, 3430, 1128, 3274, 96, 3757, 7, 2590, 3, 4606, 40, 232, 121, 1, -100, -100, -100, -100, -1...
What is the meaning of the class 6 verbs?
CREATE TABLE table_1745843_5 ( verb_meaning VARCHAR, class VARCHAR )
SELECT verb_meaning FROM table_1745843_5 WHERE class = "6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27693, 3449, 4906, 834, 755, 41, 7375, 834, 27639, 584, 4280, 28027, 6, 853, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2530, 13, 8, 853, 431, 7375...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7375, 834, 27639, 21680, 953, 834, 27693, 3449, 4906, 834, 755, 549, 17444, 427, 853, 3274, 96, 948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Venue of Pepsi arena involved what club?
CREATE TABLE table_36909 ( "Club" text, "Sport" text, "Founded" real, "League" text, "Venue" text, "Head Coach" text )
SELECT "Club" FROM table_36909 WHERE "Venue" = 'pepsi arena'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3951, 4198, 41, 96, 254, 11158, 121, 1499, 6, 96, 17682, 121, 1499, 6, 96, 20100, 121, 490, 6, 96, 2796, 9, 5398, 121, 1499, 6, 96, 553, 35, 76, 15, 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, 254, 11158, 121, 21680, 953, 834, 519, 3951, 4198, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 855, 102, 7, 23, 15134, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What average Wins has Losses 2, and Draws less than 0?
CREATE TABLE table_name_92 (wins INTEGER, loses VARCHAR, draws VARCHAR)
SELECT AVG(wins) FROM table_name_92 WHERE loses = 2 AND draws < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 3757, 7, 3, 21342, 17966, 6, 2615, 7, 584, 4280, 28027, 6, 14924, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1348, 4871, 7, 65, 3144, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 3757, 7, 61, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 2615, 7, 3274, 204, 3430, 14924, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who had the pole at the French Grand Prix?
CREATE TABLE table_name_86 (pole_position VARCHAR, grand_prix VARCHAR)
SELECT pole_position FROM table_name_86 WHERE grand_prix = "french grand prix"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 14332, 834, 4718, 584, 4280, 28027, 6, 1907, 834, 2246, 226, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 141, 8, 11148, 44, 8, 2379, 2698,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11148, 834, 4718, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 1907, 834, 2246, 226, 3274, 96, 89, 60, 5457, 1907, 3407, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
which was released in 2011 , undefeated or freakonomics ?
CREATE TABLE table_204_228 ( id number, "year" number, "title" text, "credit" text, "role" text, "notes" text )
SELECT "title" FROM table_204_228 WHERE "title" IN ('undefeated', 'freakonomics') AND "year" = 2011
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 357, 2577, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 21869, 121, 1499, 6, 96, 15547, 121, 1499, 6, 96, 3491, 15, 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, 1...
[ 3, 23143, 14196, 96, 21869, 121, 21680, 953, 834, 26363, 834, 357, 2577, 549, 17444, 427, 96, 21869, 121, 3388, 41, 31, 1106, 15, 89, 15, 920, 31, 6, 3, 31, 89, 864, 4470, 27036, 31, 61, 3430, 96, 1201, 121, 3274, 2722, 1, -100,...
What country is Jack Nicklaus from?
CREATE TABLE table_45302 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" text )
SELECT "Country" FROM table_45302 WHERE "Player" = 'jack nicklaus'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 1458, 357, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10628, 651, 121, 21680, 953, 834, 2128, 1458, 357, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 9325, 3, 11191, 40, 2064, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What district is Samuel A. Bridges ( D ) assigned to as a successor?
CREATE TABLE table_228439_4 (district VARCHAR, successor VARCHAR)
SELECT district FROM table_228439_4 WHERE successor = "Samuel A. Bridges ( D )"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 4608, 3288, 834, 591, 41, 26, 23, 20066, 584, 4280, 28027, 6, 22261, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 3939, 19, 15718, 71, 5, 6132, 7, 41, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3939, 21680, 953, 834, 2884, 4608, 3288, 834, 591, 549, 17444, 427, 22261, 3274, 96, 134, 265, 76, 15, 40, 71, 5, 6132, 7, 41, 309, 3, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many Adelaide viewers were there in Week 5?
CREATE TABLE table_24291077_4 (adelaide VARCHAR, week VARCHAR)
SELECT adelaide FROM table_24291077_4 WHERE week = 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 3166, 1714, 4013, 834, 591, 41, 15311, 5385, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 24272, 13569, 130, 132, 16, 6551, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 15311, 5385, 21680, 953, 834, 2266, 3166, 1714, 4013, 834, 591, 549, 17444, 427, 471, 3274, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Where was the tournament that happened in 1987 on a clay surface?
CREATE TABLE table_name_18 ( tournament VARCHAR, date VARCHAR, surface VARCHAR )
SELECT tournament FROM table_name_18 WHERE date = 1987 AND surface = "clay"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 5892, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 6, 1774, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2840, 47, 8, 5892, 24, 2817, 16, 127...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2606, 549, 17444, 427, 833, 3274, 12701, 3430, 1774, 3274, 96, 4651, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many laps had a time of +2.987?
CREATE TABLE table_name_37 (laps VARCHAR, time VARCHAR)
SELECT COUNT(laps) FROM table_name_37 WHERE time = "+2.987"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 8478, 7, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 14941, 7, 141, 3, 9, 97, 13, 1768, 27297, 4225, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 8478, 7, 61, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 97, 3274, 96, 1220, 27297, 4225, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Show the distinct countries of managers.
CREATE TABLE manager ( Country VARCHAR )
SELECT DISTINCT Country FROM manager
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2743, 41, 6993, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3111, 8, 6746, 1440, 13, 5903, 5, 1, 0, 0, 0, 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, 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, 0, 0, 0...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 6993, 21680, 2743, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
A pie chart showing the total number of each ship's nationality.
CREATE TABLE mission ( Mission_ID int, Ship_ID int, Code text, Launched_Year int, Location text, Speed_knots int, Fate text ) CREATE TABLE ship ( Ship_ID int, Name text, Type text, Nationality text, Tonnage int )
SELECT Nationality, COUNT(Nationality) FROM ship GROUP BY Nationality
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2253, 41, 8960, 834, 4309, 16, 17, 6, 15508, 834, 4309, 16, 17, 6, 3636, 1499, 6, 17113, 15, 26, 834, 476, 2741, 16, 17, 6, 10450, 1499, 6, 9913, 834, 157, 2264, 7, 16, 17, 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, 868, 485, 6, 2847, 17161, 599, 24732, 485, 61, 21680, 4383, 350, 4630, 6880, 272, 476, 868, 485, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Engine has a Year that's Larger than 2006 and Power of BHP (KW)?
CREATE TABLE table_name_8 (engine VARCHAR, year VARCHAR, power VARCHAR)
SELECT engine FROM table_name_8 WHERE year > 2006 AND power = "bhp (kw)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 20165, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 579, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 10612, 65, 3, 9, 2929, 24, 31, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1948, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 215, 2490, 3581, 3430, 579, 3274, 96, 115, 107, 102, 41, 157, 210, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the away team's score at western oval?
CREATE TABLE table_name_14 ( away_team VARCHAR, venue VARCHAR )
SELECT away_team AS score FROM table_name_14 WHERE venue = "western oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 550, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 550, 372, 31, 7, 2604, 44, 8282, 17986,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 550, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 5669, 3274, 96, 24411, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the number of field goals for 19 extra points
CREATE TABLE table_14342592_8 ( field_goals VARCHAR, extra_points VARCHAR )
SELECT COUNT(field_goals) FROM table_14342592_8 WHERE extra_points = 19
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 3710, 1828, 4508, 834, 927, 41, 1057, 834, 839, 5405, 584, 4280, 28027, 6, 996, 834, 2700, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 381, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1846, 834, 839, 5405, 61, 21680, 953, 834, 2534, 3710, 1828, 4508, 834, 927, 549, 17444, 427, 996, 834, 2700, 7, 3274, 957, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the status of the building with less than 18 floors and later than 2013?
CREATE TABLE table_name_18 (status VARCHAR, floors VARCHAR, year VARCHAR)
SELECT status FROM table_name_18 WHERE floors < 18 AND year > 2013
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 8547, 302, 584, 4280, 28027, 6, 8242, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2637, 13, 8, 740, 28, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2637, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 8242, 3, 2, 507, 3430, 215, 2490, 2038, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What record does the event of dream 9 with a round of 2 hold?
CREATE TABLE table_69498 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
SELECT "Record" FROM table_69498 WHERE "Round" = '2' AND "Event" = 'dream 9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 591, 3916, 41, 96, 1649, 7, 535, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 23351, 107, 32, 26, 121, 1499, 6, 96, 427, 2169, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 3951, 591, 3916, 549, 17444, 427, 96, 448, 32, 1106, 121, 3274, 3, 31, 357, 31, 3430, 96, 427, 2169, 121, 3274, 3, 31, 26066, 668, 31, 1, -100, -100, -100, -100, -100, -100, ...
Name the Social Sec Leeds has a President of tom dawson?
CREATE TABLE table_name_13 (social_sec_leeds VARCHAR, president VARCHAR)
SELECT social_sec_leeds FROM table_name_13 WHERE president = "tom dawson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 15745, 834, 7549, 834, 40, 6958, 7, 584, 4280, 28027, 6, 2753, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2730, 14969, 23370, 65, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 569, 834, 7549, 834, 40, 6958, 7, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 2753, 3274, 96, 235, 51, 836, 210, 739, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
WHAT IS THE TYPE OF LAND WITH A 2007 POPULATION SMALLER THAN 4346, 2010 POPULATION LARGER THAN 3385, FROM BARANGAY OF MANALONGON?
CREATE TABLE table_name_10 ( geographic_character VARCHAR, barangay VARCHAR, population__2007_ VARCHAR, population__2010_ VARCHAR )
SELECT geographic_character FROM table_name_10 WHERE population__2007_ < 4346 AND population__2010_ > 3385 AND barangay = "manalongon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 20929, 834, 31886, 584, 4280, 28027, 6, 1207, 1468, 9, 63, 584, 4280, 28027, 6, 2074, 834, 834, 20615, 834, 584, 4280, 28027, 6, 2074, 834, 834, 14926, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 20929, 834, 31886, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 2074, 834, 834, 20615, 834, 3, 2, 8838, 4448, 3430, 2074, 834, 834, 14926, 834, 2490, 5400, 4433, 3430, 1207, 1468, 9, 63, 3274, 96, 348, 9, 2961...
What 1976 has a Tournament of overall win loss?
CREATE TABLE table_12547 ( "Tournament" text, "1973" text, "1974" text, "1975" text, "1976" text, "1977" text, "1978" text, "1979" text, "1983" text, "1984" text, "1985" text, "1986" text )
SELECT "1976" FROM table_12547 WHERE "Tournament" = 'overall win – loss'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 10124, 4177, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 2294, 4552, 121, 1499, 6, 96, 27181, 20364, 1499, 6, 96, 27181, 17395, 1499, 6, 96, 2294, 3959, 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, 2294, 3959, 121, 21680, 953, 834, 10124, 4177, 549, 17444, 427, 96, 382, 1211, 20205, 17, 121, 3274, 3, 31, 1890, 1748, 1369, 3, 104, 1453, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Bar graph to show how many nationality from different nationality, order in descending by the x axis please.
CREATE TABLE ship ( Ship_ID int, Name text, Type text, Nationality text, Tonnage int ) CREATE TABLE mission ( Mission_ID int, Ship_ID int, Code text, Launched_Year int, Location text, Speed_knots int, Fate text )
SELECT Nationality, COUNT(Nationality) FROM ship GROUP BY Nationality ORDER BY Nationality DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4383, 41, 15508, 834, 4309, 16, 17, 6, 5570, 1499, 6, 6632, 1499, 6, 868, 485, 1499, 6, 8475, 9761, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2253, 41, 89...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 868, 485, 6, 2847, 17161, 599, 24732, 485, 61, 21680, 4383, 350, 4630, 6880, 272, 476, 868, 485, 4674, 11300, 272, 476, 868, 485, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the away team's score when north melbourne is the home team?
CREATE TABLE table_name_28 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_28 WHERE home_team = "north melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 8006, 834, 11650, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 550, 372, 31, 7, 2604, 116, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 550, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 234, 834, 11650, 3274, 96, 29, 127, 189, 3, 2341, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the census ranking(s) of maugerville?
CREATE TABLE table_176521_2 (census_ranking VARCHAR, official_name VARCHAR)
SELECT census_ranking FROM table_176521_2 WHERE official_name = "Maugerville"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 4122, 2658, 834, 357, 41, 75, 35, 7, 302, 834, 6254, 53, 584, 4280, 28027, 6, 2314, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 23087,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 23087, 834, 6254, 53, 21680, 953, 834, 2517, 4122, 2658, 834, 357, 549, 17444, 427, 2314, 834, 4350, 3274, 96, 329, 402, 1304, 1420, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the D 50 when the D 41 is d 41?
CREATE TABLE table_name_84 ( d_50 VARCHAR, d_41 VARCHAR )
SELECT d_50 FROM table_name_84 WHERE d_41 = "d 41"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 3, 26, 834, 1752, 584, 4280, 28027, 6, 3, 26, 834, 4853, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 309, 943, 116, 8, 309, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 26, 834, 1752, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 3, 26, 834, 4853, 3274, 96, 26, 8798, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which team has less than 73 laps and a gearbox time?
CREATE TABLE table_name_56 ( team VARCHAR, laps VARCHAR, time_retired VARCHAR )
SELECT team FROM table_name_56 WHERE laps < 73 AND time_retired = "gearbox"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 372, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 6, 97, 834, 10682, 1271, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 372, 65, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 14941, 7, 3, 2, 3, 4552, 3430, 97, 834, 10682, 1271, 3274, 96, 397, 291, 2689, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the time/retired for damon hill?
CREATE TABLE table_name_36 (time_retired VARCHAR, driver VARCHAR)
SELECT time_retired FROM table_name_36 WHERE driver = "damon hill"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 715, 834, 10682, 1271, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 97, 87, 10682, 1271, 21, 10157, 106, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 97, 834, 10682, 1271, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 2535, 3274, 96, 7812, 106, 9956, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What percentage of the vote did McCain win in Waynesboro (city)?
CREATE TABLE table_20524090_1 (mccain_percentage VARCHAR, county VARCHAR)
SELECT mccain_percentage FROM table_20524090_1 WHERE county = "Waynesboro (city)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23201, 11944, 2394, 834, 536, 41, 51, 12464, 77, 834, 883, 3728, 545, 584, 4280, 28027, 6, 5435, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 5294, 13, 8, 2902, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 51, 12464, 77, 834, 883, 3728, 545, 21680, 953, 834, 23201, 11944, 2394, 834, 536, 549, 17444, 427, 5435, 3274, 96, 518, 21993, 7, 14901, 41, 6726, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which country has a FIS Nordic World Ski Championship before 1989, was in the winter Olympics before 1980, and has a Holmenkollen of 1956?
CREATE TABLE table_name_26 ( country VARCHAR, holmenkollen VARCHAR, fis_nordic_world_ski_championships VARCHAR, winter_olympics VARCHAR )
SELECT country FROM table_name_26 WHERE fis_nordic_world_ski_championships < 1989 AND winter_olympics < 1980 AND holmenkollen = "1956"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 684, 584, 4280, 28027, 6, 3, 2831, 51, 18994, 195, 35, 584, 4280, 28027, 6, 361, 7, 834, 29, 127, 4370, 834, 7276, 834, 4009, 834, 17788, 12364, 2009, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 361, 7, 834, 29, 127, 4370, 834, 7276, 834, 4009, 834, 17788, 12364, 2009, 7, 3, 2, 9975, 3430, 2265, 834, 32, 120, 51, 6174, 7, 3, 2, 6694, 3430, 3, 2831,...
What is the average year for Maserati Straight-4 Engines?
CREATE TABLE table_name_86 ( year INTEGER, engine VARCHAR )
SELECT AVG(year) FROM table_name_86 WHERE engine = "maserati straight-4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 215, 3, 21342, 17966, 6, 1948, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 215, 21, 6664, 15, 6850, 28044, 4278, 10612, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 1201, 61, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 1948, 3274, 96, 2754, 15, 6850, 2541, 18, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is the total number of teams that qualified ?
CREATE TABLE table_204_642 ( id number, "team" text, "domestic tournament" text, "position" text, "appearance" text, "qualified" text )
SELECT COUNT("team") FROM table_204_642
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4389, 357, 41, 3, 23, 26, 381, 6, 96, 11650, 121, 1499, 6, 96, 5012, 222, 447, 5892, 121, 1499, 6, 96, 4718, 121, 1499, 6, 96, 3096, 2741, 663, 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, 11650, 8512, 21680, 953, 834, 26363, 834, 4389, 357, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the highest field goals when there were more than 1 touchdown and 0 extra points?
CREATE TABLE table_75348 ( "Player" text, "Position" text, "Starter" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real )
SELECT MAX("Field goals") FROM table_75348 WHERE "Touchdowns" > '1' AND "Extra points" > '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 519, 3707, 41, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 7681, 449, 121, 1499, 6, 96, 3696, 2295, 3035, 7, 121, 490, 6, 96, 5420, 1313,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3183, 8804, 1766, 8512, 21680, 953, 834, 3072, 519, 3707, 549, 17444, 427, 96, 3696, 2295, 3035, 7, 121, 2490, 3, 31, 536, 31, 3430, 96, 5420, 1313, 979, 121, 2490, 3, 31, 632, 31, 1, -100, -1...
What is the home ground for the team located in Canterbury?
CREATE TABLE table_name_96 (home_ground VARCHAR, location VARCHAR)
SELECT home_ground FROM table_name_96 WHERE location = "canterbury"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 5515, 834, 9232, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 234, 1591, 21, 8, 372, 1069, 16, 31868, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 9232, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 1128, 3274, 96, 1608, 449, 7165, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
On what date was the score 1-2 at Athens Olympic Stadium?
CREATE TABLE table_name_37 (date VARCHAR, score VARCHAR, venue VARCHAR)
SELECT date FROM table_name_37 WHERE score = "1-2" AND venue = "athens olympic stadium"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 5522, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 461, 125, 833, 47, 8, 2604, 3, 9596, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 2604, 3274, 96, 9596, 121, 3430, 5669, 3274, 96, 9, 189, 35, 7, 3, 32, 120, 51, 6174, 14939, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which street is 12.2 miles long?
CREATE TABLE table_10568553_1 ( street_names VARCHAR, milepost VARCHAR )
SELECT street_names FROM table_10568553_1 WHERE milepost = "12.2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 12869, 3651, 3769, 519, 834, 536, 41, 2815, 834, 4350, 7, 584, 4280, 28027, 6, 7728, 5950, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 2815, 19, 8013, 357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2815, 834, 4350, 7, 21680, 953, 834, 12869, 3651, 3769, 519, 834, 536, 549, 17444, 427, 7728, 5950, 3274, 96, 9368, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, find hire_date and the sum of employee_id bin hire_date by weekday, and visualize them by a bar chart.
CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,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...
SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10521, 41, 3396, 19846, 11810, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3396, 19846, 11810, 834, 567, 17683, 3, 4331, 4059, 599, 1458, 201, 283, 15610, 17966, 834, 4309, 7908, 1982, 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, 454, 14132, 834, 308, 6048, 6, 180, 6122, 599, 6037, 345, 5017, 476, 5080, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 180, 4090, 24721, 272, 7969, 518, 23394, 3, 25129, 3430, 586, 2313, 3430, 3, 6657, 329, 16994, ...
tell me the time of admission and primary disease of patient with patient id 25167.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, ...
SELECT demographic.diagnosis, demographic.admittime FROM demographic WHERE demographic.subject_id = "25167"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 25930, 4844, 159, 6, 14798, 5, 20466, 17, 715, 21680, 14798, 549, 17444, 427, 14798, 5, 7304, 11827, 834, 23, 26, 3274, 96, 1828, 27650, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the last names of the author of the paper titled "Binders Unbound"?
CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE authors (lname VARCHAR, authid VARCHAR); CREATE TABLE papers (paperid VARCHAR, title VARCHAR)
SELECT t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t3.title = "Binders Unbound"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2291, 2009, 41, 402, 17, 11740, 584, 4280, 28027, 6, 1040, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 5921, 41, 40, 4350, 584, 4280, 28027, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17, 5411, 40, 4350, 21680, 5921, 6157, 3, 17, 536, 3, 15355, 3162, 2291, 2009, 6157, 3, 17, 357, 9191, 3, 17, 5411, 402, 17, 11740, 3274, 3, 17, 4416, 402, 17, 11740, 3, 15355, 3162, 5778, 6157, 3, 17, 519, ...
How many league division does football_data database has?
CREATE TABLE betfront ( year number, datetime time, country text, competion text, match text, home_opening number, draw_opening number, away_opening number, home_closing number, draw_closing number, away_closing number ) CREATE TABLE football_data ( season text, date...
SELECT COUNT(div) FROM football_data
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 36, 17, 6849, 41, 215, 381, 6, 833, 715, 97, 6, 684, 1499, 6, 2890, 15, 1575, 1499, 6, 1588, 1499, 6, 234, 834, 8751, 53, 381, 6, 3314, 834, 8751, 53, 381, 6, 550, 834, 8751, 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, 2847, 17161, 599, 8481, 61, 21680, 3370, 834, 6757, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the date of the game played after week 4 with 60,658 people in attendance?
CREATE TABLE table_name_28 ( date VARCHAR, week VARCHAR, attendance VARCHAR )
SELECT date FROM table_name_28 WHERE week > 4 AND attendance = "60,658"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 833, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 833, 13, 8, 467, 1944, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 471, 2490, 314, 3430, 11364, 3274, 96, 3328, 6, 948, 3449, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how many are in beijing 's urban area ?
CREATE TABLE table_203_363 ( id number, "city\n2010 census" text, "chinese" text, "built-up area" number, "urban area" number, "level" text, "administrative area" number, "province-level division" text, "remarks" text )
SELECT "urban area" FROM table_203_363 WHERE "city\n2010 census" = 'beijing'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3420, 519, 41, 3, 23, 26, 381, 6, 96, 6726, 2, 29, 14926, 23087, 121, 1499, 6, 96, 1436, 1496, 15, 121, 1499, 6, 96, 16152, 18, 413, 616, 121, 381, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19413, 616, 121, 21680, 953, 834, 23330, 834, 3420, 519, 549, 17444, 427, 96, 6726, 2, 29, 14926, 23087, 121, 3274, 3, 31, 5358, 354, 53, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What day is their record 13-15?
CREATE TABLE table_37347 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text )
SELECT "Date" FROM table_37347 WHERE "Record" = '13-15'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4118, 519, 4177, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 188, 17, 324, 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, 96, 308, 342, 121, 21680, 953, 834, 4118, 519, 4177, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 2368, 10106, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many blocks have a weight greater than 82, and a height less than 199?
CREATE TABLE table_40185 ( "Name" text, "Date of Birth" text, "Height" real, "Weight" real, "Spike" real, "Block" real )
SELECT SUM("Block") FROM table_40185 WHERE "Weight" > '82' AND "Height" < '199'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 21594, 41, 96, 23954, 121, 1499, 6, 96, 308, 342, 13, 26337, 121, 1499, 6, 96, 3845, 2632, 121, 490, 6, 96, 1326, 2632, 121, 490, 6, 96, 134, 102, 5208, 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, 180, 6122, 599, 121, 279, 4029, 8512, 21680, 953, 834, 2445, 21594, 549, 17444, 427, 96, 1326, 2632, 121, 2490, 3, 31, 4613, 31, 3430, 96, 3845, 2632, 121, 3, 2, 3, 31, 19479, 31, 1, -100, -100, -100, -100, -100, ...
who was the head of the medici for the most years ?
CREATE TABLE table_203_421 ( id number, "name" text, "from" text, "until" text, "relationship with predecessor" text )
SELECT "name" FROM table_203_421 ORDER BY "until" - "from" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 591, 2658, 41, 3, 23, 26, 381, 6, 96, 4350, 121, 1499, 6, 96, 7152, 121, 1499, 6, 96, 202, 17, 173, 121, 1499, 6, 96, 60, 6105, 2009, 28, 21654, 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, 4350, 121, 21680, 953, 834, 23330, 834, 591, 2658, 4674, 11300, 272, 476, 96, 202, 17, 173, 121, 3, 18, 96, 7152, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
I want the time/retired with grid less than 22 and Laps less than 33 for john surtees
CREATE TABLE table_name_96 ( time_retired VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR )
SELECT time_retired FROM table_name_96 WHERE grid < 22 AND laps < 33 AND driver = "john surtees"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 97, 834, 10682, 1271, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 97, 834, 10682, 1271, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 8634, 3, 2, 1630, 3430, 14941, 7, 3, 2, 5400, 3430, 2535, 3274, 96, 27341, 244, 17, 15, 15, 7, 121, 1, -100, -100, -100, -100, -100, -100, ...
Tell me the country with ICAO of zgha
CREATE TABLE table_name_71 ( country VARCHAR, icao VARCHAR )
SELECT country FROM table_name_71 WHERE icao = "zgha"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 684, 584, 4280, 28027, 6, 3, 2617, 32, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 684, 28, 3, 15038, 667, 13, 3, 172, 122,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4450, 549, 17444, 427, 3, 2617, 32, 3274, 96, 172, 122, 1024, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
List all the dates of enrollment and completion of students.
CREATE TABLE student_tests_taken ( registration_id number, date_test_taken time, test_result text ) CREATE TABLE course_authors_and_tutors ( author_id number, author_tutor_atb text, login_name text, password text, personal_name text, middle_name text, family_name text, gende...
SELECT date_of_enrolment, date_of_completion FROM student_course_enrolment
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 834, 4377, 7, 834, 4914, 29, 41, 3816, 834, 23, 26, 381, 6, 833, 834, 4377, 834, 4914, 29, 97, 6, 794, 834, 60, 7, 83, 17, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 834, 858, 834, 35, 3491, 297, 6, 833, 834, 858, 834, 7699, 109, 1575, 21680, 1236, 834, 19221, 834, 35, 3491, 297, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What's the version in the 1.0.4 release?
CREATE TABLE table_28540539_2 ( version VARCHAR, release VARCHAR )
SELECT version FROM table_28540539_2 WHERE release = "1.0.4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 5062, 3076, 3288, 834, 357, 41, 988, 584, 4280, 28027, 6, 1576, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 988, 16, 8, 1300, 22776, 1576, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 988, 21680, 953, 834, 2577, 5062, 3076, 3288, 834, 357, 549, 17444, 427, 1576, 3274, 96, 12734, 5, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What title did George Fury win when on the Oran Park Raceway?
CREATE TABLE table_name_6 ( race_title VARCHAR, winner VARCHAR, circuit VARCHAR )
SELECT race_title FROM table_name_6 WHERE winner = "george fury" AND circuit = "oran park raceway"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 1964, 834, 21869, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 6, 4558, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 2233, 410, 3080, 1075...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1964, 834, 21869, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 4668, 3274, 96, 397, 1677, 15, 4223, 63, 121, 3430, 4558, 3274, 96, 127, 152, 2447, 1964, 1343, 121, 1, -100, -100, -100, -100, -100, -100, -100, -...
What kind of sockets does a 2100MHz Athlon X2 QL-64 use?
CREATE TABLE table_27277284_27 ( socket VARCHAR, frequency VARCHAR, model_number VARCHAR )
SELECT socket FROM table_27277284_27 WHERE frequency = "2100MHz" AND model_number = "Athlon X2 QL-64"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 2555, 5865, 4608, 834, 2555, 41, 16197, 584, 4280, 28027, 6, 7321, 584, 4280, 28027, 6, 825, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 16197, 21680, 953, 834, 2555, 2555, 5865, 4608, 834, 2555, 549, 17444, 427, 7321, 3274, 96, 357, 2915, 20210, 121, 3430, 825, 834, 5525, 1152, 3274, 96, 188, 189, 40, 106, 3, 4, 357, 1593, 434, 18, 4389, 121, 1, -...
What week was the opponent the San Diego Chargers?
CREATE TABLE table_name_71 (week INTEGER, opponent VARCHAR)
SELECT AVG(week) FROM table_name_71 WHERE opponent = "san diego chargers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 8041, 3, 21342, 17966, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 471, 47, 8, 15264, 8, 1051, 8851, 15907, 52, 7, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 8041, 61, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 15264, 3274, 96, 7, 152, 67, 839, 17020, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
give me the number of patients whose year of birth is less than 2146 and item id is 51352?
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.dob_year < "2146" AND lab.itemid = "51352"
[ 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,...
find the number of patients under procedure icd9 code 3615 whose admission type is elective .
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 procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND procedures.icd9_code = "3615"
[ 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, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
what nfl team had the last pick ?
CREATE TABLE table_204_70 ( id number, "pick #" number, "nfl team" text, "player" text, "position" text, "college" text )
SELECT "nfl team" FROM table_204_70 ORDER BY "pick #" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 2518, 41, 3, 23, 26, 381, 6, 96, 17967, 1713, 121, 381, 6, 96, 29, 89, 40, 372, 121, 1499, 6, 96, 20846, 121, 1499, 6, 96, 4718, 121, 1499, 6, 96, 3297, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 29, 89, 40, 372, 121, 21680, 953, 834, 26363, 834, 2518, 4674, 11300, 272, 476, 96, 17967, 1713, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What lifespan has a majors greater than 1, and fuzzy zoeller as the name?
CREATE TABLE table_5505 ( "Name" text, "Lifespan" text, "Country" text, "Wins" real, "Majors" real, "Winning span" text, "Span (years)" text )
SELECT "Lifespan" FROM table_5505 WHERE "Majors" > '1' AND "Name" = 'fuzzy zoeller'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 3076, 41, 96, 23954, 121, 1499, 6, 96, 16427, 7, 2837, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 329, 9, 12775, 7, 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, 16427, 7, 2837, 121, 21680, 953, 834, 3769, 3076, 549, 17444, 427, 96, 329, 9, 12775, 7, 121, 2490, 3, 31, 536, 31, 3430, 96, 23954, 121, 3274, 3, 31, 22845, 4164, 3, 172, 32, 9670, 31, 1, -100, -100, -100, ...
Which college has fewer than 2 rounds?
CREATE TABLE table_name_7 ( college VARCHAR, round INTEGER )
SELECT college FROM table_name_7 WHERE round < 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 1900, 584, 4280, 28027, 6, 1751, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1900, 65, 3, 10643, 145, 204, 14419, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1900, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 1751, 3, 2, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which birthplace's height in inches was more than 192 when the position was d and the birthday was April 5, 1983?
CREATE TABLE table_name_70 ( birthplace VARCHAR, birthdate VARCHAR, height__in_ VARCHAR, position VARCHAR )
SELECT birthplace FROM table_name_70 WHERE height__in_ > 192 AND position = "d" AND birthdate = "april 5, 1983"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 3879, 4687, 584, 4280, 28027, 6, 3879, 5522, 584, 4280, 28027, 6, 3902, 834, 834, 77, 834, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 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, 3879, 4687, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 3902, 834, 834, 77, 834, 2490, 3, 19978, 3430, 1102, 3274, 96, 26, 121, 3430, 3879, 5522, 3274, 96, 9, 2246, 40, 7836, 15041, 121, 1, -100, -100, -100, ...
What is the col location with a col height (m) of 1107?
CREATE TABLE table_2731431_1 ( col_location VARCHAR, col_height__m_ VARCHAR )
SELECT col_location FROM table_2731431_1 WHERE col_height__m_ = 1107
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 519, 2534, 3341, 834, 536, 41, 7632, 834, 14836, 584, 4280, 28027, 6, 7632, 834, 88, 2632, 834, 834, 51, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 7632, 834, 14836, 21680, 953, 834, 2555, 519, 2534, 3341, 834, 536, 549, 17444, 427, 7632, 834, 88, 2632, 834, 834, 51, 834, 3274, 850, 4560, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average points that the driver Ryan Hunter-Reay has?
CREATE TABLE table_name_54 (points INTEGER, driver VARCHAR)
SELECT AVG(points) FROM table_name_54 WHERE driver = "ryan hunter-reay"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 2700, 7, 3, 21342, 17966, 6, 2535, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 979, 24, 8, 2535, 7826, 14046, 18, 1649, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 2535, 3274, 96, 651, 152, 8069, 49, 18, 864, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of patients whose admission location is trsf within this facility and days of hospital stay is greater than 34?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND demographic.days_stay > "34"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 9, 26, 5451, 834, 14836, 3274, 96, 11421, 7016, 11951, 3162, 12689, 377, 5173, 3502, 15296, 121, 3...
Which Rank number has a Silver of 0, Gold of 2 and total smaller than 2?
CREATE TABLE table_74479 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT COUNT("Rank") FROM table_74479 WHERE "Silver" = '0' AND "Gold" = '2' AND "Total" < '2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4581, 591, 4440, 41, 96, 22557, 121, 490, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 22557, 8512, 21680, 953, 834, 4581, 591, 4440, 549, 17444, 427, 96, 134, 173, 624, 121, 3274, 3, 31, 632, 31, 3430, 96, 23576, 121, 3274, 3, 31, 357, 31, 3430, 96, 3696, 1947, 121, 3, 2, 3...
What are the names of all female candidates in alphabetical order (sex is F)?
CREATE TABLE people ( people_id number, sex text, name text, date_of_birth text, height number, weight number ) CREATE TABLE candidate ( candidate_id number, people_id number, poll_source text, date text, support_rate number, consider_rate number, oppose_rate number,...
SELECT t1.name FROM people AS t1 JOIN candidate AS t2 ON t1.people_id = t2.people_id WHERE t1.sex = 'F' ORDER BY t1.name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 151, 834, 23, 26, 381, 6, 3, 7, 994, 1499, 6, 564, 1499, 6, 833, 834, 858, 834, 20663, 1499, 6, 3902, 381, 6, 1293, 381, 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, 3, 17, 5411, 4350, 21680, 151, 6157, 3, 17, 536, 3, 15355, 3162, 4775, 6157, 3, 17, 357, 9191, 3, 17, 5411, 16588, 834, 23, 26, 3274, 3, 17, 4416, 16588, 834, 23, 26, 549, 17444, 427, 3, 17, 5411, 7, 994, 3274...
Who was the match against when on a clay surface during round 2r?
CREATE TABLE table_60099 ( "Edition" text, "Round" text, "Date" text, "Against" text, "Surface" text, "Opponent" text, "Result" text )
SELECT "Against" FROM table_60099 WHERE "Round" = '2r' AND "Surface" = 'clay'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 6007, 3264, 41, 96, 427, 10569, 121, 1499, 6, 96, 448, 32, 1106, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 20749, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20749, 121, 21680, 953, 834, 6007, 3264, 549, 17444, 427, 96, 448, 32, 1106, 121, 3274, 3, 31, 357, 52, 31, 3430, 96, 134, 450, 4861, 121, 3274, 3, 31, 4651, 63, 31, 1, -100, -100, -100, -100, -100, -100, -1...
What is the mpg-UK urban (cold) for a fuel type of diesel, extraurban MPG in the UK over 68.9, engine capacity of 1422, and L/100km urban (cold) over 5.1?
CREATE TABLE table_14145 ( "Manufacturer" text, "Transmission" text, "Engine Capacity" real, "Fuel Type" text, "L/100km Urban (Cold)" real, "L/100km Extra-Urban" real, "L/100km Combined" real, "mpg-UK Urban (Cold)" real, "mpg-UK Extra-Urban" real, "mpg-UK Combined" real, "mpg...
SELECT "mpg-UK Urban (Cold)" FROM table_14145 WHERE "Fuel Type" = 'diesel' AND "mpg-UK Extra-Urban" > '68.9' AND "Engine Capacity" = '1422' AND "L/100km Urban (Cold)" > '5.1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 20987, 41, 96, 7296, 76, 8717, 450, 49, 121, 1499, 6, 96, 18474, 5451, 121, 1499, 6, 96, 31477, 4000, 9, 6726, 121, 490, 6, 96, 371, 76, 15, 40, 6632, 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, 1167, 122, 18, 15787, 10127, 41, 9939, 26, 61, 121, 21680, 953, 834, 2534, 20987, 549, 17444, 427, 96, 371, 76, 15, 40, 6632, 121, 3274, 3, 31, 7719, 15, 40, 31, 3430, 96, 1167, 122, 18, 15787, 8505, 18, 126...
Which Losses have Wins smaller than 6, and a South West DFL of sandford?
CREATE TABLE table_name_39 ( losses INTEGER, wins VARCHAR, south_west_dfl VARCHAR )
SELECT MIN(losses) FROM table_name_39 WHERE wins < 6 AND south_west_dfl = "sandford"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 8467, 3, 21342, 17966, 6, 9204, 584, 4280, 28027, 6, 3414, 834, 12425, 834, 26, 89, 40, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 2298, 2260, 61, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 9204, 3, 2, 431, 3430, 3414, 834, 12425, 834, 26, 89, 40, 3274, 96, 7, 232, 2590, 121, 1, -100, -100, -100, -100, -100, -100, -100,...
give me the number of patients whose primary disease is newborn and lab test fluid is cerebrospinal fluid (csf)?
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 INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.diagnosis = "NEWBORN" AND lab.fluid = "Cerebrospinal Fluid (CSF)"
[ 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, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...