NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
A bar chart that computes the total number of wines with a price is bigger than 100 Next, Bin the year into the weekday interval, rank y-axis from low to high order.
CREATE TABLE grapes ( ID INTEGER, Grape TEXT, Color TEXT ) CREATE TABLE wine ( No INTEGER, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT, Name TEXT, Year INTEGER, Price INTEGER, Score INTEGER, Cases INTEGER, Drink TEXT ) CREATE TABLE appellations ( No INTEGER, Appelation TEXT, County TEXT, State TEXT, Area TEXT, isAVA TEXT )
SELECT Year, COUNT(Year) FROM wine WHERE Price > 100 ORDER BY COUNT(Year)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11457, 7, 41, 4699, 3, 21342, 17966, 6, 29083, 3, 3463, 4, 382, 6, 6088, 3, 3463, 4, 382, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2013, 41, 465, 3, 21342, 17966...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2929, 6, 2847, 17161, 599, 476, 2741, 61, 21680, 2013, 549, 17444, 427, 5312, 2490, 910, 4674, 11300, 272, 476, 2847, 17161, 599, 476, 2741, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When has Result of 2–0, and a Score of 2 – 0?
CREATE TABLE table_name_38 (date VARCHAR, result VARCHAR, score VARCHAR)
SELECT date FROM table_name_38 WHERE result = "2–0" AND score = "2 – 0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 5522, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 65, 3, 20119, 13, 204, 104, 632, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 741, 3274, 96, 357, 104, 632, 121, 3430, 2604, 3274, 96, 357, 3, 104, 3, 632, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the names and ages of editors?
CREATE TABLE editor ( Name VARCHAR, Age VARCHAR )
SELECT Name, Age FROM editor
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6005, 41, 5570, 584, 4280, 28027, 6, 7526, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 3056, 11, 3, 2568, 13, 18008, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5570, 6, 7526, 21680, 6005, 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, -100, -100, -1...
What is the Mecha of the Japanese voice actor Shingo Kanemoto?
CREATE TABLE table_name_39 (mecha VARCHAR, japanese_voice_actor VARCHAR)
SELECT mecha FROM table_name_39 WHERE japanese_voice_actor = "shingo kanemoto"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 526, 3441, 584, 4280, 28027, 6, 2662, 2837, 15, 7, 15, 834, 23235, 834, 9, 5317, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 140, 3441, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 2662, 2837, 15, 7, 15, 834, 23235, 834, 9, 5317, 3274, 96, 9525, 32, 3, 3304, 15, 11188, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the id of students who registered course 301?
CREATE TABLE student_course_attendance (student_id VARCHAR, course_id VARCHAR)
SELECT student_id FROM student_course_attendance WHERE course_id = 301
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 834, 19221, 834, 15116, 663, 41, 8637, 295, 834, 23, 26, 584, 4280, 28027, 6, 503, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 3, 23, 26, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1236, 834, 23, 26, 21680, 1236, 834, 19221, 834, 15116, 663, 549, 17444, 427, 503, 834, 23, 26, 3274, 3, 25626, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients whose year of birth is less than 2098 and lab test abnormal status is delta?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) 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, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2098" AND lab.flag = "delta"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the total number of points team Alfa Romeo 184T won?
CREATE TABLE table_name_56 ( points INTEGER, team_chassis VARCHAR )
SELECT SUM(points) FROM table_name_56 WHERE team_chassis = "alfa romeo 184t"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 979, 3, 21342, 17966, 6, 372, 834, 524, 6500, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381, 13, 979, 372, 27900, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 372, 834, 524, 6500, 7, 3274, 96, 138, 89, 9, 3, 11956, 32, 3, 25987, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the birthplace of the player who was part of the Blind River Hockey Club team between 1963-1964?
CREATE TABLE table_40017 ( "Name" text, "Height (cm)" real, "Weight (kg)" real, "Birthdate" text, "Birthplace" text, "1963\u20131964 Team" text )
SELECT "Birthplace" FROM table_40017 WHERE "1963\u20131964 Team" = 'blind river hockey club'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5548, 2517, 41, 96, 23954, 121, 1499, 6, 96, 3845, 2632, 41, 75, 51, 61, 121, 490, 6, 96, 1326, 2632, 41, 8711, 61, 121, 490, 6, 96, 279, 23, 52, 189, 5522, 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, 279, 23, 52, 189, 4687, 121, 21680, 953, 834, 5548, 2517, 549, 17444, 427, 96, 2294, 3891, 2, 76, 11138, 2294, 4389, 2271, 121, 3274, 3, 31, 21746, 26, 4033, 16528, 1886, 31, 1, -100, -100, -100, -100, -100, -...
What is the Area of the Parish with a Population of 2,113?
CREATE TABLE table_name_58 (area_km_2 VARCHAR, population VARCHAR)
SELECT COUNT(area_km_2) FROM table_name_58 WHERE population = 2 OFFSET 113
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 498, 834, 5848, 834, 357, 584, 4280, 28027, 6, 2074, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 5690, 13, 8, 21954, 28, 3, 9, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 498, 834, 5848, 834, 7318, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 2074, 3274, 204, 3, 15316, 20788, 3, 20522, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Where does Melbourne play home games?
CREATE TABLE table_10620 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Venue" FROM table_10620 WHERE "Home team" = 'melbourne'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 16431, 1755, 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, 16431, 1755, 549, 17444, 427, 96, 19040, 372, 121, 3274, 3, 31, 2341, 26255, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Division does the City being jacksonville, florida belong to?
CREATE TABLE table_36704 ( "Conference" text, "Division" text, "Team" text, "City" text, "Home Stadium" text )
SELECT "Division" FROM table_36704 WHERE "City" = 'jacksonville, florida'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 2518, 591, 41, 96, 4302, 11788, 121, 1499, 6, 96, 308, 23, 6610, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 19040, 12750, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 23, 6610, 121, 21680, 953, 834, 3420, 2518, 591, 549, 17444, 427, 96, 254, 485, 121, 3274, 3, 31, 9325, 739, 1420, 6, 12215, 26, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Return a histogram on what are the different names and credit scores of customers who have taken a loan?
CREATE TABLE customer ( cust_ID varchar(3), cust_name varchar(20), acc_type char(1), acc_bal int, no_of_loans int, credit_score int, branch_ID int, state varchar(20) ) CREATE TABLE bank ( branch_ID int, bname varchar(20), no_of_customers int, city varchar(10), state varchar(20) ) CREATE TABLE loan ( loan_ID varchar(3), loan_type varchar(15), cust_ID varchar(3), branch_ID varchar(3), amount int )
SELECT cust_name, credit_score FROM customer AS T1 JOIN loan AS T2 ON T1.cust_ID = T2.cust_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 884, 41, 123, 7, 17, 834, 4309, 3, 4331, 4059, 17867, 6, 123, 7, 17, 834, 4350, 3, 4331, 4059, 599, 1755, 201, 3, 6004, 834, 6137, 3, 4059, 14296, 6, 3, 6004, 834, 3849, 16, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 123, 7, 17, 834, 4350, 6, 998, 834, 7, 9022, 21680, 884, 6157, 332, 536, 3, 15355, 3162, 2289, 6157, 332, 357, 9191, 332, 5411, 1071, 7, 17, 834, 4309, 3274, 332, 4416, 1071, 7, 17, 834, 4309, 1, -100, -100, -10...
How many silver medals did the nation who received 32 bronze medals receive?
CREATE TABLE table_name_61 ( silver VARCHAR, bronze VARCHAR )
SELECT silver FROM table_name_61 WHERE bronze = 32
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 4294, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 4294, 9365, 7, 410, 8, 2982, 113, 1204, 3538, 13467, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4294, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 13467, 3274, 3538, 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...
In what year were Reid's earnings 4,050 1?
CREATE TABLE table_31172 ( "Year" real, "Tournaments played" real, "Cuts made" real, "Wins" real, "2nd" real, "3rd" real, "Top 10s" real, "Best finish" text, "Earnings ( \u20ac )" text, "Money list rank" text, "Scoring average" text, "Scoring rank" text, "Rolex ranking" real )
SELECT MIN("Year") FROM table_31172 WHERE "Earnings ( \u20ac )" = '4,050 1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3341, 27156, 41, 96, 476, 2741, 121, 490, 6, 96, 382, 1211, 29, 9, 4128, 1944, 121, 490, 6, 96, 15784, 17, 7, 263, 121, 490, 6, 96, 18455, 7, 121, 490, 6, 96, 357, 72...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 476, 2741, 8512, 21680, 953, 834, 3341, 27156, 549, 17444, 427, 96, 427, 291, 29, 53, 7, 41, 3, 2, 76, 1755, 9, 75, 3, 61, 121, 3274, 3, 31, 8525, 632, 1752, 209, 31, 1, -100, -100, -100, ...
Which Rider finished with a speed of 80.18mph?
CREATE TABLE table_name_61 ( rider VARCHAR, speed VARCHAR )
SELECT rider FROM table_name_61 WHERE speed = "80.18mph"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 2564, 52, 584, 4280, 28027, 6, 1634, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 25218, 2369, 28, 3, 9, 1634, 13, 2775, 5, 2606, 7656...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2564, 52, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 1634, 3274, 96, 2079, 5, 2606, 7656, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
To which political party did the prime minister who served under George V and was born in Manchester belong?
CREATE TABLE table_name_5 (political_party VARCHAR, monarchs_served VARCHAR, birth_place VARCHAR)
SELECT political_party FROM table_name_5 WHERE monarchs_served = "george v" AND birth_place = "manchester"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 3003, 17, 1950, 834, 8071, 584, 4280, 28027, 6, 28397, 7, 834, 3473, 15, 26, 584, 4280, 28027, 6, 3879, 834, 4687, 584, 4280, 28027, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1827, 834, 8071, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 28397, 7, 834, 3473, 15, 26, 3274, 96, 397, 1677, 15, 3, 208, 121, 3430, 3879, 834, 4687, 3274, 96, 348, 13263, 121, 1, -100, -100, -100, -100, -1...
What is the highest game with a 1-0 record, and the Hornets scored more than 100?
CREATE TABLE table_61088 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Hornets score" real, "Opponent score" real, "Record" text )
SELECT MAX("Game") FROM table_61088 WHERE "Record" = '1-0' AND "Hornets score" > '100'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27097, 4060, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 566, 127, 1582, 7, 2604, 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, 4800, 4, 599, 121, 23055, 8512, 21680, 953, 834, 27097, 4060, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 18930, 31, 3430, 96, 566, 127, 1582, 7, 2604, 121, 2490, 3, 31, 2915, 31, 1, -100, -100, -100, -100,...
What is the color description of the product with name 'catnip'?
CREATE TABLE products ( color_code VARCHAR, product_name VARCHAR ) CREATE TABLE ref_colors ( color_description VARCHAR, color_code VARCHAR )
SELECT t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code WHERE t1.product_name = "catnip"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 494, 41, 945, 834, 4978, 584, 4280, 28027, 6, 556, 834, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 6273, 834, 9910, 7, 41, 945, 834, 221, 118...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4416, 9910, 834, 221, 11830, 21680, 494, 6157, 3, 17, 536, 3, 15355, 3162, 6273, 834, 9910, 7, 6157, 3, 17, 357, 9191, 3, 17, 5411, 9910, 834, 4978, 3274, 3, 17, 4416, 9910, 834, 4978, 549, 17444, 427, 3,...
what was the total number of gold awards won between spain and egypt ?
CREATE TABLE table_203_548 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT (SELECT "gold" FROM table_203_548 WHERE "nation" = 'spain') + (SELECT "gold" FROM table_203_548 WHERE "nation" = 'egypt')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 755, 3707, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 29, 257, 121, 1499, 6, 96, 14910, 121, 381, 6, 96, 7, 173, 624, 121, 381, 6, 96, 13711, 776, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 41, 23143, 14196, 96, 14910, 121, 21680, 953, 834, 23330, 834, 755, 3707, 549, 17444, 427, 96, 29, 257, 121, 3274, 3, 31, 14147, 77, 31, 61, 1768, 41, 23143, 14196, 96, 14910, 121, 21680, 953, 834, 23330, 834, 755, ...
give me the number of romanian eastern orthodox catholic patients who have lab test item id 50878.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.religion = "ROMANIAN EAST. ORTH" AND lab.itemid = "50878"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What league does Delaware Military Academy belong to
CREATE TABLE table_15475116_1 (league VARCHAR, school VARCHAR)
SELECT league FROM table_15475116_1 WHERE school = "Delaware Military Academy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27308, 3072, 20159, 834, 536, 41, 29512, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 5533, 405, 19722, 17190, 4702, 13000, 12, 1, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5533, 21680, 953, 834, 27308, 3072, 20159, 834, 536, 549, 17444, 427, 496, 3274, 96, 2962, 4207, 355, 17190, 4702, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Draw a bar chart about the distribution of All_Home and Team_ID , and group by attribute ACC_Home, and display in descending by the X.
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_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text )
SELECT All_Home, Team_ID FROM basketball_match GROUP BY ACC_Home, All_Home ORDER BY All_Home DESC
[ 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, 19040, 6, 2271, 834, 4309, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 3, 14775, 834, 19040, 6, 432, 834, 19040, 4674, 11300, 272, 476, 432, 834, 19040, 309, 25067, 1, -100, -100, -100, -100, -100, ...
List the names of the schools without any endowment.
CREATE TABLE endowment ( endowment_id number, school_id number, donator_name text, amount number ) CREATE TABLE budget ( school_id number, year number, budgeted number, total_budget_percent_budgeted number, invested number, total_budget_percent_invested number, budget_invested_percent text ) CREATE TABLE school ( school_id text, school_name text, location text, mascot text, enrollment number, ihsaa_class text, ihsaa_football_class text, county text )
SELECT school_name FROM school WHERE NOT school_id IN (SELECT school_id FROM endowment)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 414, 2381, 297, 41, 414, 2381, 297, 834, 23, 26, 381, 6, 496, 834, 23, 26, 381, 6, 278, 1016, 834, 4350, 1499, 6, 866, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 496, 834, 4350, 21680, 496, 549, 17444, 427, 4486, 496, 834, 23, 26, 3388, 41, 23143, 14196, 496, 834, 23, 26, 21680, 414, 2381, 297, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What amount of the university students and adults ehre the the senior high school is 26mm?
CREATE TABLE table_13555999_1 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, senior_high_school__15_18_yrs_ VARCHAR)
SELECT university_students_and_adults__18yrs + _ FROM table_13555999_1 WHERE senior_high_school__15_18_yrs_ = "26mm"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 28803, 19446, 834, 536, 41, 7846, 485, 834, 8637, 295, 7, 834, 232, 834, 28491, 7, 834, 834, 2606, 63, 52, 7, 584, 4280, 28027, 6, 3, 834, 584, 4280, 28027, 6, 2991...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3819, 834, 8637, 295, 7, 834, 232, 834, 28491, 7, 834, 834, 2606, 63, 52, 7, 1768, 3, 834, 21680, 953, 834, 2368, 28803, 19446, 834, 536, 549, 17444, 427, 2991, 834, 6739, 834, 6646, 834, 834, 1808, 834, 2606, 834...
When in 2003 to 2004 the January team is 5.7 what is it through 2001 through 2002?
CREATE TABLE table_22523 ( "Term Abroad" text, "2000/01" text, "2001/02" text, "2002/03" text, "2003/04" text, "2004/05" text, "2005/06" text, "2006/07" text, "2007/08" text, "2008/09" text )
SELECT "2001/02" FROM table_22523 WHERE "2003/04" = '5.7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20489, 2773, 41, 96, 11679, 891, 8635, 121, 1499, 6, 96, 13527, 87, 4542, 121, 1499, 6, 96, 23658, 87, 4305, 121, 1499, 6, 96, 24898, 87, 4928, 121, 1499, 6, 96, 23948, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23658, 87, 4305, 121, 21680, 953, 834, 20489, 2773, 549, 17444, 427, 96, 23948, 24288, 121, 3274, 3, 31, 27220, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who were the away teams when the competition was the 1st republic of srpska football day and the home team was u 14 republic of srpska?
CREATE TABLE table_29728596_2 ( away_team VARCHAR, competition VARCHAR, home_team VARCHAR )
SELECT away_team FROM table_29728596_2 WHERE competition = "1st ``Republic of Srpska Football Day``" AND home_team = "U 14 Republic of Srpska"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 5865, 4433, 4314, 834, 357, 41, 550, 834, 11650, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 550, 834, 11650, 21680, 953, 834, 3166, 5865, 4433, 4314, 834, 357, 549, 17444, 427, 2259, 3274, 96, 536, 7, 17, 3, 2, 1649, 15727, 13, 180, 52, 102, 10717, 10929, 1430, 2, 121, 3430, 234, 834, 11650, 3274, 96, 12...
What is the average crowd size for games with hawthorn as the home side?
CREATE TABLE table_name_8 ( crowd INTEGER, home_team VARCHAR )
SELECT AVG(crowd) FROM table_name_8 WHERE home_team = "hawthorn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 4374, 3, 21342, 17966, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 4374, 812, 21, 1031, 28, 4244, 210,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 234, 834, 11650, 3274, 96, 1024, 210, 17, 6293, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the name of the place that has a census ranking of 1,229 of 5,008?
CREATE TABLE table_name_63 ( official_name VARCHAR, census_ranking VARCHAR )
SELECT official_name FROM table_name_63 WHERE census_ranking = "1,229 of 5,008"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 2314, 834, 4350, 584, 4280, 28027, 6, 23087, 834, 6254, 53, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 8, 286, 24, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2314, 834, 4350, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 23087, 834, 6254, 53, 3274, 96, 4347, 357, 3166, 13, 7836, 1206, 927, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
which opponent had the lowest amount of points in one game ?
CREATE TABLE table_204_123 ( id number, "week" number, "date" text, "kickoff" text, "opponent" text, "results\nfinal score" text, "results\nteam record" text, "game site" text, "attendance" number )
SELECT "opponent" FROM table_204_123 ORDER BY "results\nfinal score" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 14574, 41, 3, 23, 26, 381, 6, 96, 8041, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 157, 3142, 1647, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 60, 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, 32, 102, 9977, 121, 21680, 953, 834, 26363, 834, 14574, 4674, 11300, 272, 476, 96, 60, 7, 83, 17, 7, 2, 29, 12406, 2604, 121, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
For those records from the products and each product's manufacturer, visualize a scatter chart about the correlation between manufacturer and revenue , and group by attribute name.
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 T1.Manufacturer, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Name
[ 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, 332, 5411, 7296, 76, 8717, 450, 49, 6, 332, 4416, 1649, 15098, 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...
provide the number of patients less than 62 years who were admitted via emergency hospital room.
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, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "EMERGENCY ROOM ADMIT" AND demographic.age < "62"
[ 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, 427, 13098, 18464, 17063, 3, 30270, 8502, 12604, 121, 3430, 147...
What was the home teams score at Arden Street Oval?
CREATE TABLE table_name_50 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_50 WHERE venue = "arden street oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 234, 2323, 2604, 44, 22635, 35, 1887, 411, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 234, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 5669, 3274, 96, 986, 35, 2815, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the final score of the game on November 23, 2008?
CREATE TABLE table_name_66 ( result VARCHAR, date VARCHAR )
SELECT result FROM table_name_66 WHERE date = "november 23, 2008"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 741, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 804, 2604, 13, 8, 467, 30, 1671, 12992, 2628, 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, 741, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 833, 3274, 96, 5326, 18247, 12992, 2628, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the score of the FIFA report on October 13, 2007?
CREATE TABLE table_name_97 (score VARCHAR, report VARCHAR, date VARCHAR)
SELECT score FROM table_name_97 WHERE report = "fifa" AND date = "october 13, 2007"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 7, 9022, 584, 4280, 28027, 6, 934, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 13, 8, 23129, 934, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 934, 3274, 96, 89, 99, 9, 121, 3430, 833, 3274, 96, 32, 75, 235, 1152, 10670, 4101, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What party represents the district with incumbent matthew clay?
CREATE TABLE table_2668378_18 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_2668378_18 WHERE incumbent = "Matthew Clay"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3651, 519, 3940, 834, 2606, 41, 8071, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1088, 5475, 8, 3939, 28, 28406, 6928, 532, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1088, 21680, 953, 834, 2688, 3651, 519, 3940, 834, 2606, 549, 17444, 427, 28406, 3274, 96, 329, 144, 532, 210, 20988, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the pole position at the san marino grand prix with michael schumacher as winning driver?
CREATE TABLE table_58396 ( "Grand Prix" text, "Pole Position" text, "Fastest Lap" text, "Winning Driver" text, "Constructor" text, "Report" text )
SELECT "Pole Position" FROM table_58396 WHERE "Winning Driver" = 'michael schumacher' AND "Grand Prix" = 'san marino grand prix'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3449, 519, 4314, 41, 96, 4744, 727, 12942, 121, 1499, 6, 96, 8931, 15, 14258, 121, 1499, 6, 96, 371, 9, 7, 4377, 325, 102, 121, 1499, 6, 96, 518, 10503, 10546, 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, 8931, 15, 14258, 121, 21680, 953, 834, 3449, 519, 4314, 549, 17444, 427, 96, 518, 10503, 10546, 121, 3274, 3, 31, 51, 362, 9, 15, 40, 3, 7, 8019, 24113, 31, 3430, 96, 4744, 727, 12942, 121, 3274, 3, 31, 7, ...
What is the average net yds for the player who had a long of 68 and started after 1984?
CREATE TABLE table_name_59 (net_yds INTEGER, long VARCHAR, start VARCHAR)
SELECT AVG(net_yds) FROM table_name_59 WHERE long = 68 AND start > 1984
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 1582, 834, 63, 26, 7, 3, 21342, 17966, 6, 307, 584, 4280, 28027, 6, 456, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 3134, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 1582, 834, 63, 26, 7, 61, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 307, 3274, 3, 3651, 3430, 456, 2490, 13480, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the gold when the total is less than 2, and rank is 3 and Canada is the nation?
CREATE TABLE table_name_29 (gold VARCHAR, nation VARCHAR, total VARCHAR, rank VARCHAR)
SELECT gold FROM table_name_29 WHERE total < 2 AND rank = 3 AND nation = "canada"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 14910, 584, 4280, 28027, 6, 2982, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 2045, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 792, 3, 2, 204, 3430, 11003, 3274, 220, 3430, 2982, 3274, 96, 658, 18089, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
when mixed doubles is zheng bo ma jin and womens singles is wang yihan, what was the tour?
CREATE TABLE table_21001903_2 (tour VARCHAR, mixed_doubles VARCHAR, womens_singles VARCHAR)
SELECT tour FROM table_21001903_2 WHERE mixed_doubles = "Zheng Bo Ma Jin" AND womens_singles = "Wang Yihan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2915, 11776, 519, 834, 357, 41, 17, 1211, 584, 4280, 28027, 6, 4838, 834, 25761, 7, 584, 4280, 28027, 6, 887, 7, 834, 7, 53, 965, 584, 4280, 28027, 61, 3, 32102, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1552, 21680, 953, 834, 357, 2915, 11776, 519, 834, 357, 549, 17444, 427, 4838, 834, 25761, 7, 3274, 96, 956, 88, 1725, 1491, 1534, 20500, 121, 3430, 887, 7, 834, 7, 53, 965, 3274, 96, 518, 1468, 14224, 2618, 121, ...
tell me the number of patients with left femur fracture primary disease who have delta abnormal lab test status.
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.diagnosis = "LEFT FEMUR FRACTURE" AND lab.flag = "delta"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What day in November has a record of 15-6-1?
CREATE TABLE table_name_91 ( november INTEGER, record VARCHAR )
SELECT AVG(november) FROM table_name_91 WHERE record = "15-6-1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 3, 5326, 18247, 3, 21342, 17966, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 239, 16, 1671, 65, 3, 9, 1368, 13, 627, 5783, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 5326, 18247, 61, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 1368, 3274, 96, 1808, 5783, 2292, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which player has 68 as the score and canada as the country?
CREATE TABLE table_name_35 (player VARCHAR, score VARCHAR, country VARCHAR)
SELECT player FROM table_name_35 WHERE score = 68 AND country = "canada"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 20846, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1959, 65, 3, 3651, 38, 8, 2604, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 2604, 3274, 3, 3651, 3430, 684, 3274, 96, 658, 18089, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What country has chunkath, mohan verghese as the name?
CREATE TABLE table_33897 ( "Position" real, "Name" text, "Country" text, "Win-Loss" text, "Spread" real )
SELECT "Country" FROM table_33897 WHERE "Name" = 'chunkath, mohan verghese'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3747, 4327, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 18455, 18, 434, 32, 7, 7, 121, 1499, 6, 96, 134, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10628, 651, 121, 21680, 953, 834, 519, 3747, 4327, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 524, 6513, 9, 189, 6, 2288, 2618, 548, 122, 88, 7, 15, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients whose admission type is elective and drug name is rosiglitazone maleate?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND prescriptions.drug = "Rosiglitazone Maleate"
[ 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...
What is the die size(mm 2) for model sgx531?
CREATE TABLE table_19314 ( "Model" text, "Year" text, "Die Size (mm 2 ) [1]" text, "Config core [2]" text, "MTriangles/s [1]" real, "MPixel/s [1]" real, "Bus width ( bit )" text, "DirectX" text, "OpenGL" text, "OpenGL ES" text, "GFLOPS(@ 200MHz)" text, "Frequency" real )
SELECT "Die Size (mm 2 ) [1]" FROM table_19314 WHERE "Model" = 'SGX531'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 519, 2534, 41, 96, 24663, 121, 1499, 6, 96, 476, 2741, 121, 1499, 6, 96, 8639, 8941, 41, 635, 204, 3, 61, 784, 536, 908, 121, 1499, 6, 96, 4302, 15994, 2583, 784, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8639, 8941, 41, 635, 204, 3, 61, 784, 536, 908, 121, 21680, 953, 834, 2294, 519, 2534, 549, 17444, 427, 96, 24663, 121, 3274, 3, 31, 9945, 4, 755, 3341, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients whose age is less than 62 and days of hospital stay is greater than 27?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE 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.age < "62" AND demographic.days_stay > "27"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 545, 3, 2, 96, 4056, 121, 3430, 14798, 5, 1135, 7, 834, 21545, 2490, 96, 2555, 121, 1, -100, -...
How many totals have 0 as Gold, a bronze greater than 1, and a silver less than 1?
CREATE TABLE table_14330 ( "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT COUNT("Total") FROM table_14330 WHERE "Gold" = '0' AND "Bronze" > '1' AND "Silver" < '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 17225, 41, 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, 3696, 1947, 121, 490, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 3696, 1947, 8512, 21680, 953, 834, 2534, 17225, 549, 17444, 427, 96, 23576, 121, 3274, 3, 31, 632, 31, 3430, 96, 22780, 29, 776, 121, 2490, 3, 31, 536, 31, 3430, 96, 134, 173, 624, 121, 3, ...
What is the H.S. Asst. principal with a Glendale principal Joyce Brace during 2002-2003?
CREATE TABLE table_name_47 ( h_s_asst_principal VARCHAR, glendale_principal VARCHAR, year VARCHAR )
SELECT h_s_asst_principal FROM table_name_47 WHERE glendale_principal = "joyce brace" AND year = "2002-2003"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 3, 107, 834, 7, 834, 9, 7, 7, 17, 834, 12298, 3389, 138, 584, 4280, 28027, 6, 3, 3537, 29, 5437, 834, 12298, 3389, 138, 584, 4280, 28027, 6, 215, 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, 3, 107, 834, 7, 834, 9, 7, 7, 17, 834, 12298, 3389, 138, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 3, 3537, 29, 5437, 834, 12298, 3389, 138, 3274, 96, 1927, 63, 565, 3858, 565, 121, 3430, 215, 3274, 96,...
Which school's team has the nickname of the Wildcats?
CREATE TABLE table_16078390_2 ( institution VARCHAR, team_nickname VARCHAR )
SELECT institution FROM table_16078390_2 WHERE team_nickname = "Wildcats"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19129, 3940, 519, 2394, 834, 357, 41, 6568, 584, 4280, 28027, 6, 372, 834, 11191, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 496, 31, 7, 372, 65, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6568, 21680, 953, 834, 19129, 3940, 519, 2394, 834, 357, 549, 17444, 427, 372, 834, 11191, 4350, 3274, 96, 518, 173, 26, 2138, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was his average finish when his average start was 27.7?
CREATE TABLE table_2169966_2 (avg_finish VARCHAR, avg_start VARCHAR)
SELECT avg_finish FROM table_2169966_2 WHERE avg_start = "27.7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27184, 3264, 3539, 834, 357, 41, 9, 208, 122, 834, 25535, 584, 4280, 28027, 6, 3, 9, 208, 122, 834, 10208, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 112...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 9, 208, 122, 834, 25535, 21680, 953, 834, 27184, 3264, 3539, 834, 357, 549, 17444, 427, 3, 9, 208, 122, 834, 10208, 3274, 96, 2555, 5, 940, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which title has a Black Ice for a guest performer and a length of 5:49?
CREATE TABLE table_name_50 ( title VARCHAR, guest_performer VARCHAR, time VARCHAR )
SELECT title FROM table_name_50 WHERE guest_performer = "black ice" AND time = "5:49"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 2233, 584, 4280, 28027, 6, 3886, 834, 883, 2032, 49, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 2233, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 3886, 834, 883, 2032, 49, 3274, 96, 19699, 3, 867, 121, 3430, 97, 3274, 96, 755, 10, 3647, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the earliest year that had a start of Saint-Gaudens and a stage smaller than 15?
CREATE TABLE table_name_56 ( year INTEGER, start VARCHAR, stage VARCHAR )
SELECT MIN(year) FROM table_name_56 WHERE start = "saint-gaudens" AND stage < 15
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 215, 3, 21342, 17966, 6, 456, 584, 4280, 28027, 6, 1726, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 3, 16454, 215, 24, 141, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 1201, 61, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 456, 3274, 96, 7, 9, 77, 17, 18, 20038, 537, 7, 121, 3430, 1726, 3, 2, 627, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many faculty members does each building have? List the result with the name of the building with a bar chart, and could you display in desc by the y-axis?
CREATE TABLE Participates_in ( stuid INTEGER, actid INTEGER ) CREATE TABLE Faculty_Participates_in ( FacID INTEGER, actid INTEGER ) CREATE TABLE Activity ( actid INTEGER, activity_name varchar(25) ) CREATE TABLE Faculty ( FacID INTEGER, Lname VARCHAR(15), Fname VARCHAR(15), Rank VARCHAR(15), Sex VARCHAR(1), Phone INTEGER, Room VARCHAR(5), Building VARCHAR(13) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) )
SELECT Building, COUNT(*) FROM Faculty GROUP BY Building ORDER BY COUNT(*) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15077, 6203, 834, 77, 41, 21341, 23, 26, 3, 21342, 17966, 6, 1810, 23, 26, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 16896, 834, 13725, 23, 3389, 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, 5450, 6, 2847, 17161, 599, 1935, 61, 21680, 16896, 350, 4630, 6880, 272, 476, 5450, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who is the composer of the song with a length of 6:24?
CREATE TABLE table_name_85 ( composer_s_ VARCHAR, length VARCHAR )
SELECT composer_s_ FROM table_name_85 WHERE length = "6:24"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 13075, 834, 7, 834, 584, 4280, 28027, 6, 2475, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 13075, 13, 8, 2324, 28, 3, 9, 247...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13075, 834, 7, 834, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 2475, 3274, 96, 948, 10, 2266, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who was the winning driver of the Kraco Car Stereo 150?
CREATE TABLE table_33446 ( "Name" text, "Pole Position" text, "Fastest Lap" text, "Winning driver" text, "Report" text )
SELECT "Winning driver" FROM table_33446 WHERE "Name" = 'kraco car stereo 150'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3710, 4448, 41, 96, 23954, 121, 1499, 6, 96, 8931, 15, 14258, 121, 1499, 6, 96, 371, 9, 7, 4377, 325, 102, 121, 1499, 6, 96, 518, 10503, 2535, 121, 1499, 6, 96, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 518, 10503, 2535, 121, 21680, 953, 834, 519, 3710, 4448, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 9669, 509, 443, 16687, 4261, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
On which field was the game played on July 12?
CREATE TABLE table_name_63 ( field VARCHAR, date VARCHAR )
SELECT field FROM table_name_63 WHERE date = "july 12"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 1057, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 461, 84, 1057, 47, 8, 467, 1944, 30, 1718, 586, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1057, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 833, 3274, 96, 2047, 120, 586, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Score has a Couple of cristi n & cheryl, and a Style of cha-cha-cha?
CREATE TABLE table_name_7 ( score VARCHAR, couple VARCHAR, style VARCHAR )
SELECT score FROM table_name_7 WHERE couple = "cristián & cheryl" AND style = "cha-cha-cha"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 2604, 584, 4280, 28027, 6, 1158, 584, 4280, 28027, 6, 869, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 17763, 65, 3, 9, 25185, 13, 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, 2604, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 1158, 3274, 96, 75, 22061, 12916, 3, 184, 3, 1033, 12973, 121, 3430, 869, 3274, 96, 3441, 18, 3441, 18, 3441, 121, 1, -100, -100, -100, -100, -100, -100, -100,...
how many patients aged below 45 years have parenteral infusion of concentrated nutritional substances as the procedure long title?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "45" AND procedures.long_title = "Parenteral infusion of concentrated nutritional substances"
[ 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 is the team that is pick 31?
CREATE TABLE table_name_19 ( team VARCHAR, pick VARCHAR )
SELECT team FROM table_name_19 WHERE pick = 31
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 372, 584, 4280, 28027, 6, 1432, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 372, 24, 19, 1432, 2664, 58, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 1432, 3274, 2664, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What's the 1851 when 1881 had 764?
CREATE TABLE table_13559 ( "Year" text, "1851" text, "1861" text, "1871" text, "1881" text )
SELECT "1851" FROM table_13559 WHERE "1881" = '764'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 536, 2469, 3390, 41, 96, 476, 2741, 121, 1499, 6, 96, 2606, 5553, 121, 1499, 6, 96, 2606, 4241, 121, 1499, 6, 96, 2606, 4450, 121, 1499, 6, 96, 2606, 4959, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 2606, 5553, 121, 21680, 953, 834, 536, 2469, 3390, 549, 17444, 427, 96, 2606, 4959, 121, 3274, 3, 31, 3959, 591, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many losses for the team with less than 4 wins, more than 0 byes and 2510 against?
CREATE TABLE table_name_39 ( losses INTEGER, byes VARCHAR, wins VARCHAR, against VARCHAR )
SELECT AVG(losses) FROM table_name_39 WHERE wins < 4 AND against = 2510 AND byes > 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 8467, 3, 21342, 17966, 6, 57, 15, 7, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 6, 581, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 2298, 2260, 61, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 9204, 3, 2, 314, 3430, 581, 3274, 944, 1714, 3430, 57, 15, 7, 2490, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many first tournaments are associated with bowling?
CREATE TABLE table_30539 ( "Season" text, "Sport" text, "Tournament Structure" text, "# of Divisions" real, "1st Tournament" real, "2011-2012 State Tournament Location" text )
SELECT COUNT("1st Tournament") FROM table_30539 WHERE "Sport" = 'Bowling'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26724, 3288, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 17682, 121, 1499, 6, 96, 382, 1211, 20205, 17, 21627, 121, 1499, 6, 96, 4663, 13, 6022, 7, 121, 490, 6, 96, 536,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 536, 7, 17, 20502, 8512, 21680, 953, 834, 26724, 3288, 549, 17444, 427, 96, 17682, 121, 3274, 3, 31, 279, 2381, 697, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the time when the score was 0 3?
CREATE TABLE table_52327 ( "Date" text, "Time" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Total" text, "Report" text )
SELECT "Time" FROM table_52327 WHERE "Score" = '0–3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2773, 2555, 41, 96, 308, 342, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 17175, 209, 121, 1499, 6, 96, 17175, 204, 121, 1499, 6, 96, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13368, 121, 21680, 953, 834, 755, 2773, 2555, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 632, 104, 519, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which built by HM Dockyard has September 1830 as the laid down?
CREATE TABLE table_name_43 (built_by_hm_dockyard VARCHAR, laid_down VARCHAR)
SELECT built_by_hm_dockyard FROM table_name_43 WHERE laid_down = "september 1830"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 16152, 834, 969, 834, 107, 51, 834, 26, 3961, 6636, 584, 4280, 28027, 6, 7245, 834, 3035, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1192...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1192, 834, 969, 834, 107, 51, 834, 26, 3961, 6636, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 7245, 834, 3035, 3274, 96, 7, 6707, 18247, 507, 1458, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the average Apr 2013 with a Jun 2011 less than 14?
CREATE TABLE table_51529 ( "Feb 2010" text, "Mar 2010" text, "May 2010" real, "Jun 2010" real, "Jul 2010" real, "Aug 2010" real, "Sep 2010" real, "Oct 2010" real, "Nov 2010" real, "Dec 2010" real, "Jan 2011" real, "Feb 2011" real, "Mar 2011" real, "Apr 2011" real, "May 2011" real, "Jun 2011" real, "Jul 2011" real, "Aug 2011" real, "Sep 2011" real, "Oct 2011" real, "Nov 2011" real, "Dec 2011" real, "Jan 2012" real, "Feb 2012" real, "Mar 2012" real, "Apr 2012" real, "May 2012" real, "Jun 2012" real, "Jul 2012" real, "Aug 2012" real, "Sep 2012" real, "Oct 2012" real, "Nov 2012" real, "Dec 2012" real, "Jan 2013" real, "Feb 2013" real, "Mar 2013" real, "Apr 2013" real, "May 2013" real, "Jun 2013" real, "Jul 2013" real, "Aug 2013" real, "Sep 2013" real, "Oct 2013" real )
SELECT AVG("Apr 2013") FROM table_51529 WHERE "Jun 2011" < '14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 1808, 3166, 41, 96, 371, 15, 115, 2735, 121, 1499, 6, 96, 7286, 2735, 121, 1499, 6, 96, 15881, 2735, 121, 490, 6, 96, 683, 202, 2735, 121, 490, 6, 96, 683, 83, 273...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 188, 102, 52, 2038, 8512, 21680, 953, 834, 755, 1808, 3166, 549, 17444, 427, 96, 683, 202, 2722, 121, 3, 2, 3, 31, 2534, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the highest swimsuit score of the contestant with an evening gown larger than 9.175 and an interview score less than 8.425?
CREATE TABLE table_name_91 (swimsuit INTEGER, evening_gown VARCHAR, interview VARCHAR)
SELECT MAX(swimsuit) FROM table_name_91 WHERE evening_gown > 9.175 AND interview < 8.425
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 7, 210, 603, 7628, 3, 21342, 17966, 6, 2272, 834, 122, 9197, 584, 4280, 28027, 6, 2772, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 7, 210, 603, 7628, 61, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 2272, 834, 122, 9197, 2490, 5835, 536, 3072, 3430, 2772, 3, 2, 4848, 591, 1828, 1, -100, -100, -100, -100, -100, -100, -100, ...
Which tournament has an opponent in the final of nadia petrova and a score of 6 3, 4 6, 6 1??
CREATE TABLE table_40386 ( "Date" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text )
SELECT "Tournament" FROM table_40386 WHERE "Opponent in the final" = 'nadia petrova' AND "Score" = '6–3, 4–6, 6–1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 519, 3840, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, 102, 9977, 16, 8, 804, 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, 382, 1211, 20205, 17, 121, 21680, 953, 834, 2445, 519, 3840, 549, 17444, 427, 96, 667, 102, 9977, 16, 8, 804, 121, 3274, 3, 31, 29, 17327, 3947, 8843, 9, 31, 3430, 96, 134, 9022, 121, 3274, 3, 31, 948, 104, ...
what year was the first title released ?
CREATE TABLE table_204_643 ( id number, "release" number, "artist" text, "title" text, "notes" text, "album" text )
SELECT MIN("release") FROM table_204_643
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4389, 519, 41, 3, 23, 26, 381, 6, 96, 21019, 121, 381, 6, 96, 1408, 343, 121, 1499, 6, 96, 21869, 121, 1499, 6, 96, 7977, 7, 121, 1499, 6, 96, 23703, 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, 0...
[ 3, 23143, 14196, 3, 17684, 599, 121, 21019, 8512, 21680, 953, 834, 26363, 834, 4389, 519, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the date when the opponent was at South carolina?
CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_8 WHERE opponent = "at south carolina"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 5522, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 833, 116, 8, 15264, 47, 44, 1013, 443, 12057, 9, 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, 833, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 15264, 3274, 96, 144, 3414, 443, 12057, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What fuel system does the diesel engines model have?
CREATE TABLE table_name_60 ( fuel_system VARCHAR, model VARCHAR )
SELECT fuel_system FROM table_name_60 WHERE model = "diesel engines"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 2914, 834, 3734, 584, 4280, 28027, 6, 825, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 2914, 358, 405, 8, 12292, 7277, 825, 43, 58, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2914, 834, 3734, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 825, 3274, 96, 7719, 15, 40, 7277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
WHAT IS THE FORWARD CASTE WITH A SCHEDULED TRIBE OF 0.90%?
CREATE TABLE table_name_87 (forward_caste VARCHAR, scheduled_tribe VARCHAR)
SELECT forward_caste FROM table_name_87 WHERE scheduled_tribe = "0.90%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 26338, 834, 5254, 15, 584, 4280, 28027, 6, 5018, 834, 1788, 346, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 21665, 6827, 1853, 5652, 518, 10327, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1039, 834, 5254, 15, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 5018, 834, 1788, 346, 3274, 96, 23758, 6932, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many first performances where performer is wilfred engelman category:articles with hcards
CREATE TABLE table_19189856_1 ( first_performance VARCHAR, performer VARCHAR )
SELECT COUNT(first_performance) FROM table_19189856_1 WHERE performer = "Wilfred Engelman category:Articles with hCards"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 2606, 3916, 4834, 834, 536, 41, 166, 834, 18558, 584, 4280, 28027, 6, 1912, 49, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 149, 186, 166, 7357, 213, 1912, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 14672, 834, 18558, 61, 21680, 953, 834, 2294, 2606, 3916, 4834, 834, 536, 549, 17444, 427, 1912, 49, 3274, 96, 518, 173, 89, 1271, 25936, 348, 3295, 10, 7754, 447, 965, 28, 3, 107, 6936, 26, 7, 1...
Which DOB has Throws of r, and a Position of c, and a First of torey?
CREATE TABLE table_name_25 ( dob VARCHAR, first VARCHAR, throws VARCHAR, position VARCHAR )
SELECT dob FROM table_name_25 WHERE throws = "r" AND position = "c" AND first = "torey"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 103, 115, 584, 4280, 28027, 6, 166, 584, 4280, 28027, 6, 3793, 7, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 40...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 103, 115, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 3793, 7, 3274, 96, 52, 121, 3430, 1102, 3274, 96, 75, 121, 3430, 166, 3274, 96, 235, 60, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the date when the competition is 1996 tiger cup and the result is drew?
CREATE TABLE table_name_60 ( date VARCHAR, competition VARCHAR, result VARCHAR )
SELECT date FROM table_name_60 WHERE competition = "1996 tiger cup" AND result = "drew"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 833, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 833, 116, 8, 2259, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 2259, 3274, 96, 2294, 4314, 3, 17, 4424, 4119, 121, 3430, 741, 3274, 96, 26, 60, 210, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the nssdc id for Echo 1?
CREATE TABLE table_2150068_1 ( nssdc_id VARCHAR, satellite VARCHAR )
SELECT nssdc_id FROM table_2150068_1 WHERE satellite = "Echo 1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 2560, 3651, 834, 536, 41, 3, 29, 7, 7, 26, 75, 834, 23, 26, 584, 4280, 28027, 6, 7605, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 29, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 29, 7, 7, 26, 75, 834, 23, 26, 21680, 953, 834, 2658, 2560, 3651, 834, 536, 549, 17444, 427, 7605, 3274, 96, 427, 3995, 209, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What pick was a player that previously played for the Minnesota Lynx?
CREATE TABLE table_name_60 ( pick INTEGER, former_wnba_team VARCHAR )
SELECT SUM(pick) FROM table_name_60 WHERE former_wnba_team = "minnesota lynx"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 1432, 3, 21342, 17966, 6, 1798, 834, 210, 29, 115, 9, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1432, 47, 3, 9, 1959, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 17967, 61, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 1798, 834, 210, 29, 115, 9, 834, 11650, 3274, 96, 1109, 1496, 32, 17, 9, 3, 120, 29, 226, 121, 1, -100, -100, -100, -100, -100, -100, ...
how many total trains were destined for new delhi ?
CREATE TABLE table_204_78 ( id number, "no." number, "train no." text, "origin" text, "destination" text, "train name" text )
SELECT COUNT("train name") FROM table_204_78 WHERE "destination" = 'new delhi'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3940, 41, 3, 23, 26, 381, 6, 96, 29, 32, 535, 381, 6, 96, 9719, 150, 535, 1499, 6, 96, 32, 3380, 77, 121, 1499, 6, 96, 13557, 257, 121, 1499, 6, 96, 9719,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9719, 564, 8512, 21680, 953, 834, 26363, 834, 3940, 549, 17444, 427, 96, 13557, 257, 121, 3274, 3, 31, 5534, 20, 40, 107, 23, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the first year that had a prize of 50,000?
CREATE TABLE table_name_28 ( first_year_aired VARCHAR, prize VARCHAR )
SELECT first_year_aired FROM table_name_28 WHERE prize = "50,000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 166, 834, 1201, 834, 2378, 26, 584, 4280, 28027, 6, 6441, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 166, 215, 24, 141, 3, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 166, 834, 1201, 834, 2378, 26, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 6441, 3274, 96, 9286, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
highly cited sentiment analysis papers
CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE field ( fieldid int ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE paperdataset ( paperid int, datasetid int ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar )
SELECT DISTINCT cite.citedpaperid, COUNT(cite.citedpaperid) FROM cite, keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'sentiment analysis' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = cite.citedpaperid AND paper.paperid = paperkeyphrase.paperid GROUP BY cite.citedpaperid ORDER BY COUNT(cite.citedpaperid) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1040, 41, 1040, 23, 26, 16, 17, 6, 2233, 3, 4331, 4059, 6, 5669, 23, 26, 16, 17, 6, 215, 16, 17, 6, 3, 5525, 17994, 16, 17, 6, 3, 5525, 11675, 969, 16, 17, 6, 6378, 23, 26, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 3, 8464, 5, 11675, 19587, 23, 26, 6, 2847, 17161, 599, 8464, 5, 11675, 19587, 23, 26, 61, 21680, 3, 8464, 6, 843, 27111, 6, 1040, 6, 1040, 4397, 27111, 549, 17444, 427, 843, 27111, 5, 4397, ...
What's the Highest Goal Ratio with a League of 88 and an FA Cup less than 7?
CREATE TABLE table_name_68 (goal_ratio INTEGER, league VARCHAR, fa_cup VARCHAR)
SELECT MAX(goal_ratio) FROM table_name_68 WHERE league = 88 AND fa_cup < 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 839, 138, 834, 6850, 32, 3, 21342, 17966, 6, 5533, 584, 4280, 28027, 6, 3, 89, 9, 834, 4658, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 839, 138, 834, 6850, 32, 61, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 5533, 3274, 3, 4060, 3430, 3, 89, 9, 834, 4658, 3, 2, 489, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Date has a Record of 3-4?
CREATE TABLE table_name_30 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_30 WHERE record = "3-4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 5522, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 7678, 65, 3, 9, 11392, 13, 220, 4278, 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, 833, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 1368, 3274, 96, 519, 18, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the Baronies when the area (in acres) is 276?
CREATE TABLE table_30121082_1 (barony VARCHAR, area__acres__ VARCHAR)
SELECT barony FROM table_30121082_1 WHERE area__acres__ = 276
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25626, 15239, 4613, 834, 536, 41, 1047, 106, 63, 584, 4280, 28027, 6, 616, 834, 834, 10610, 7, 834, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1207, 106, 63, 21680, 953, 834, 25626, 15239, 4613, 834, 536, 549, 17444, 427, 616, 834, 834, 10610, 7, 834, 834, 3274, 204, 3959, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Country of the Player with a Score of 73-70-71-71=285?
CREATE TABLE table_9955 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ($)" text )
SELECT "Country" FROM table_9955 WHERE "Score" = '73-70-71-71=285'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3264, 3769, 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, 96, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10628, 651, 121, 21680, 953, 834, 3264, 3769, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 4552, 18, 2518, 18, 4450, 18, 4450, 2423, 357, 4433, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
On what date was the result Wi by 1 run?
CREATE TABLE table_67800 ( "Date" text, "Home captain" text, "Away captain" text, "Venue" text, "Result" text )
SELECT "Date" FROM table_67800 WHERE "Result" = 'wi by 1 run'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 6192, 41, 96, 308, 342, 121, 1499, 6, 96, 19040, 14268, 121, 1499, 6, 96, 188, 1343, 14268, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 20119, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 3708, 6192, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 210, 23, 57, 209, 661, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the coinage metal for a KM number of S75?
CREATE TABLE table_26336060_19 ( coinage_metal VARCHAR, km_number VARCHAR )
SELECT coinage_metal FROM table_26336060_19 WHERE km_number = "S75"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3891, 19208, 3328, 834, 2294, 41, 7485, 545, 834, 3493, 138, 584, 4280, 28027, 6, 2280, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7485, 545, 834, 3493, 138, 21680, 953, 834, 357, 3891, 19208, 3328, 834, 2294, 549, 17444, 427, 2280, 834, 5525, 1152, 3274, 96, 134, 3072, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What venue saw a crowd larger than 29,840?
CREATE TABLE table_32554 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Venue" FROM table_32554 WHERE "Crowd" > '29,840'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 1828, 5062, 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, 553, 35, 76, 15, 121, 21680, 953, 834, 519, 1828, 5062, 549, 17444, 427, 96, 254, 3623, 26, 121, 2490, 3, 31, 3166, 6, 26311, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What event had a record of 8–5–1?
CREATE TABLE table_name_33 (event VARCHAR, record VARCHAR)
SELECT event FROM table_name_33 WHERE record = "8–5–1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 15, 2169, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 605, 141, 3, 9, 1368, 13, 505, 104, 755, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 605, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 1368, 3274, 96, 927, 104, 755, 104, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which NFL Recap had a Kickoff of 7:00pm edt?
CREATE TABLE table_38053 ( "Week" text, "Date" text, "Kickoff" text, "Opponent" text, "Result" text, "Record" text, "Game Site" text, "NFL Recap" text )
SELECT "NFL Recap" FROM table_38053 WHERE "Kickoff" = '7:00pm edt'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22671, 4867, 41, 96, 518, 10266, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 439, 3142, 1647, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 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, 12619, 434, 419, 4010, 121, 21680, 953, 834, 22671, 4867, 549, 17444, 427, 96, 439, 3142, 1647, 121, 3274, 3, 31, 18735, 2028, 3, 15, 26, 17, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who directed 'People who use people'?
CREATE TABLE table_22124 ( "No. in series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Prod. code" real, "Viewers (millions)" text )
SELECT "Directed by" FROM table_22124 WHERE "Title" = 'People Who Use People'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 22504, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965, 324, 57, 121, 1499, 6, 96, 667, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23620, 15, 26, 57, 121, 21680, 953, 834, 2884, 22504, 549, 17444, 427, 96, 382, 155, 109, 121, 3274, 3, 31, 24337, 2645, 2048, 2449, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Where is every location with specialization of textile engineering?
CREATE TABLE table_24160 ( "University" text, "Nick" text, "University status" real, "Founded" real, "Location" text, "Division" text, "Specialization" text, "Website" text )
SELECT "Location" FROM table_24160 WHERE "Specialization" = 'Textile engineering'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 19129, 41, 96, 8313, 485, 121, 1499, 6, 96, 567, 3142, 121, 1499, 6, 96, 8313, 485, 2637, 121, 490, 6, 96, 20100, 121, 490, 6, 96, 434, 32, 75, 257, 121, 1499, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 75, 257, 121, 21680, 953, 834, 2266, 19129, 549, 17444, 427, 96, 7727, 23, 138, 1707, 121, 3274, 3, 31, 13598, 8806, 3867, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total of electors when the share of votes was 11,0%?
CREATE TABLE table_36132 ( "Year" real, "Electors" real, "Votes" text, "Share of votes" text, "Candidate" text )
SELECT SUM("Electors") FROM table_36132 WHERE "Share of votes" = '11,0%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 23757, 41, 96, 476, 2741, 121, 490, 6, 96, 21543, 127, 7, 121, 490, 6, 96, 553, 32, 1422, 121, 1499, 6, 96, 24501, 13, 11839, 121, 1499, 6, 96, 14050, 12416, 342, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21543, 127, 7, 8512, 21680, 953, 834, 3420, 23757, 549, 17444, 427, 96, 24501, 13, 11839, 121, 3274, 3, 31, 2596, 6, 6932, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What date was the game played at the venue of Hrazdan Stadium, Yerevan, Armenia?
CREATE TABLE table_name_70 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_70 WHERE venue = "hrazdan stadium, yerevan, armenia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 5522, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 47, 8, 467, 1944, 44, 8, 5669, 13, 454, 7275, 3768, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 5669, 3274, 96, 107, 7275, 3768, 14939, 6, 3, 7975, 15, 2132, 6, 2939, 18242, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
A bar chart showing the average weight for each gender, I want to sort total number from high to low order.
CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real ) CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate real )
SELECT Sex, AVG(Weight) FROM people GROUP BY Sex ORDER BY AVG(Weight) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 2449, 834, 4309, 16, 17, 6, 679, 226, 1499, 6, 5570, 1499, 6, 7678, 834, 858, 834, 279, 23, 52, 189, 1499, 6, 24231, 490, 6, 14230, 490, 3, 61, 3, 32102, 32103, 32102, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 679, 226, 6, 71, 17217, 599, 1326, 2632, 61, 21680, 151, 350, 4630, 6880, 272, 476, 679, 226, 4674, 11300, 272, 476, 71, 17217, 599, 1326, 2632, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the score at Olympia fields, illinois?
CREATE TABLE table_9046 ( "Year" real, "Winner" text, "Score" text, "Runner(s)-up" text, "Course" text, "Location" text )
SELECT "Score" FROM table_9046 WHERE "Location" = 'olympia fields, illinois'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2394, 4448, 41, 96, 476, 2741, 121, 490, 6, 96, 18455, 687, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 23572, 599, 7, 61, 18, 413, 121, 1499, 6, 96, 3881, 3589, 15,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 2394, 4448, 549, 17444, 427, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 32, 120, 1167, 23, 9, 4120, 6, 3, 1092, 77, 32, 159, 31, 1, -100, -100, -100, -100, -100, -100, -100, -...
Which Event has a Medal of gold and a Name of barney henricus?
CREATE TABLE table_name_69 ( event VARCHAR, medal VARCHAR, name VARCHAR )
SELECT event FROM table_name_69 WHERE medal = "gold" AND name = "barney henricus"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 605, 584, 4280, 28027, 6, 9365, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 8042, 65, 3, 9, 20002, 13, 2045...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 605, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 9365, 3274, 96, 14910, 121, 3430, 564, 3274, 96, 1047, 3186, 3, 3225, 2234, 302, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the grid number for troy corser with under 22 laps?
CREATE TABLE table_name_48 ( grid INTEGER, rider VARCHAR, laps VARCHAR )
SELECT SUM(grid) FROM table_name_48 WHERE rider = "troy corser" AND laps < 22
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 8634, 3, 21342, 17966, 6, 2564, 52, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 8634, 381, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 2564, 52, 3274, 96, 17, 8170, 4301, 7, 49, 121, 3430, 14941, 7, 3, 2, 1630, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which deputy took office in 1976?
CREATE TABLE table_name_97 ( name VARCHAR, took_office VARCHAR )
SELECT name FROM table_name_97 WHERE took_office = "1976"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 564, 584, 4280, 28027, 6, 808, 834, 19632, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 21108, 808, 828, 16, 16164, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 808, 834, 19632, 3274, 96, 2294, 3959, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who had the most assists agains New Orleans?
CREATE TABLE table_29921 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "High assists" FROM table_29921 WHERE "Team" = 'New Orleans'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3264, 2658, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21417, 13041, 121, 21680, 953, 834, 357, 3264, 2658, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 6861, 14433, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Find the number of hispanic or latino-puerto rican patients who were taking repaglinide medication.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "HISPANIC/LATINO - PUERTO RICAN" AND prescriptions.drug = "Repaglinide"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Who were the candidates in district Wisconsin 4?
CREATE TABLE table_1341453_51 ( candidates VARCHAR, district VARCHAR )
SELECT candidates FROM table_1341453_51 WHERE district = "Wisconsin 4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2534, 4867, 834, 5553, 41, 4341, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 130, 8, 4341, 16, 3939, 10212, 314, 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, 0...
[ 3, 23143, 14196, 4341, 21680, 953, 834, 23747, 2534, 4867, 834, 5553, 549, 17444, 427, 3939, 3274, 96, 518, 159, 8056, 77, 3, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...