NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Which tournament included an opponent of Marinko Matosevic?
CREATE TABLE table_name_74 ( tournament VARCHAR, opponent VARCHAR )
SELECT tournament FROM table_name_74 WHERE opponent = "marinko matosevic"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 5892, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 5892, 1285, 46, 15264, 13, 17154, 157, 32, 5708, 32, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5892, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 15264, 3274, 96, 12181, 157, 32, 6928, 32, 7, 15, 7287, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the name for san beda
CREATE TABLE table_15463188_7 ( name VARCHAR, school_club_team VARCHAR )
SELECT name FROM table_15463188_7 WHERE school_club_team = "San Beda"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27308, 3891, 25794, 834, 940, 41, 564, 584, 4280, 28027, 6, 496, 834, 13442, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 564, 21, 3, 7, 152...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 564, 21680, 953, 834, 27308, 3891, 25794, 834, 940, 549, 17444, 427, 496, 834, 13442, 834, 11650, 3274, 96, 134, 152, 7499, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What series was called Egghead Rides Again?
CREATE TABLE table_name_38 (series VARCHAR, title VARCHAR)
SELECT series FROM table_name_38 WHERE title = "egghead rides again"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 10833, 7, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 939, 47, 718, 16693, 3313, 17392, 7, 7204, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 939, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 2233, 3274, 96, 15, 4102, 3313, 14432, 541, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many patients primarily suffering from sdh had their lab test fluid as urine?
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 t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.diagnosis = "SDH" AND lab.fluid = "Urine"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Find the number of students whose age is older than the average age for each gender.
CREATE TABLE Lives_in ( stuid INTEGER, dormid INTEGER, room_number INTEGER ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Dorm_amenity ( ameni...
SELECT Sex, COUNT(*) FROM Student WHERE Age > (SELECT AVG(Age) FROM Student) GROUP BY Sex
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3306, 7, 834, 77, 41, 21341, 23, 26, 3, 21342, 17966, 6, 103, 52, 6983, 3, 21342, 17966, 6, 562, 834, 5525, 1152, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 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, 679, 226, 6, 2847, 17161, 599, 1935, 61, 21680, 6341, 549, 17444, 427, 7526, 2490, 41, 23143, 14196, 71, 17217, 599, 188, 397, 61, 21680, 6341, 61, 350, 4630, 6880, 272, 476, 679, 226, 1, -100, -100, -100, -100, -10...
tell me the population in 1000(1931) that has car plates since 1937 of 35-39.
CREATE TABLE table_name_62 (population_in_1000__1931_ VARCHAR, car_plates__since_1937_ VARCHAR)
SELECT population_in_1000__1931_ FROM table_name_62 WHERE car_plates__since_1937_ = "35-39"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 9791, 7830, 834, 77, 834, 16824, 834, 834, 2294, 3341, 834, 584, 4280, 28027, 6, 443, 834, 17628, 7, 834, 834, 27296, 834, 2294, 4118, 834, 584, 4280, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2074, 834, 77, 834, 16824, 834, 834, 2294, 3341, 834, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 443, 834, 17628, 7, 834, 834, 27296, 834, 2294, 4118, 834, 3274, 96, 2469, 18, 3288, 121, 1, -100, -100, -100,...
Name the total number of season for production code 3m17
CREATE TABLE table_25900 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text )
SELECT COUNT("Season #") FROM table_25900 WHERE "Production code" = '3M17'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 7015, 41, 96, 12106, 7, 1713, 121, 490, 6, 96, 134, 15, 9, 739, 1713, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 249...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 134, 15, 9, 739, 1713, 8512, 21680, 953, 834, 1828, 7015, 549, 17444, 427, 96, 3174, 8291, 1081, 121, 3274, 3, 31, 519, 329, 2517, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the total number of lane for brooke bennett and rank less than 1
CREATE TABLE table_80217 ( "Rank" real, "Heat" real, "Lane" real, "Name" text, "Nationality" text, "Time" text )
SELECT COUNT("Lane") FROM table_80217 WHERE "Name" = 'brooke bennett' AND "Rank" < '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2079, 357, 2517, 41, 96, 22557, 121, 490, 6, 96, 3845, 144, 121, 490, 6, 96, 434, 152, 15, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 13368...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 434, 152, 15, 8512, 21680, 953, 834, 2079, 357, 2517, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 14370, 15, 36, 29, 10544, 31, 3430, 96, 22557, 121, 3, 2, 3, 31, 536, 31, 1, -100, -100,...
display the full name (first and last), hire date, salary, and department number for those employees whose first name does not containing the letter M.
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, salary VARCHAR, department_id VARCHAR)
SELECT first_name, last_name, hire_date, salary, department_id FROM employees WHERE NOT first_name LIKE '%M%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1652, 41, 14672, 834, 4350, 584, 4280, 28027, 6, 336, 834, 4350, 584, 4280, 28027, 6, 3804, 834, 5522, 584, 4280, 28027, 6, 9090, 584, 4280, 28027, 6, 3066, 834, 23, 26, 584, 4280, 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, 166, 834, 4350, 6, 336, 834, 4350, 6, 3804, 834, 5522, 6, 9090, 6, 3066, 834, 23, 26, 21680, 1652, 549, 17444, 427, 4486, 166, 834, 4350, 8729, 9914, 3, 31, 1454, 329, 1454, 31, 1, -100, -100, -100, -100, -100, ...
find the lab test category of patient kelly gallardo.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) ...
SELECT lab."CATEGORY" FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.name = "Kelly Gallardo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 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, 7690, 535, 254, 6048, 5577, 11824, 121, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 439, ...
Who is the opponent when the team is Cork?
CREATE TABLE table_name_32 (opposition VARCHAR, team VARCHAR)
SELECT opposition FROM table_name_32 WHERE team = "cork"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 29585, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 15264, 116, 8, 372, 19, 2487, 157, 58, 1, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 8263, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 372, 3274, 96, 5715, 157, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the student ID and personal name of the student with at least two enrollments.
CREATE TABLE Subjects ( subject_id INTEGER, subject_name VARCHAR(120) ) CREATE TABLE Course_Authors_and_Tutors ( author_id INTEGER, author_tutor_ATB VARCHAR(3), login_name VARCHAR(40), password VARCHAR(40), personal_name VARCHAR(80), middle_name VARCHAR(80), family_name VARCHAR(80),...
SELECT T2.personal_name, T1.student_id FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 19237, 7, 41, 1426, 834, 23, 26, 3, 21342, 17966, 6, 1426, 834, 4350, 584, 4280, 28027, 599, 15518, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 8670, 834, 23602, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 17108, 834, 4350, 6, 332, 5411, 8637, 295, 834, 23, 26, 21680, 6341, 834, 3881, 3589, 15, 834, 8532, 3491, 297, 6157, 332, 536, 3, 15355, 3162, 4375, 6157, 332, 357, 9191, 332, 5411, 8637, 295, 834, 23, ...
What is the drawn by the club with 542 points against?
CREATE TABLE table_name_79 (drawn VARCHAR, points_against VARCHAR)
SELECT drawn FROM table_name_79 WHERE points_against = "542"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 19489, 29, 584, 4280, 28027, 6, 979, 834, 9, 16720, 7, 17, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 6796, 57, 8, 1886, 28, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6796, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 979, 834, 9, 16720, 7, 17, 3274, 96, 5062, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Draw a scatter chart about the correlation between CID and Credits .
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 Course ( CID VARCHAR(7), CName VARCHAR(40), Credits INTEGER, Instructor INTEGER, Days VAR...
SELECT CID, Credits FROM Course ORDER BY Credits
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 16896, 41, 1699, 75, 4309, 3, 21342, 17966, 6, 301, 4350, 584, 4280, 28027, 599, 1808, 201, 377, 4350, 584, 4280, 28027, 599, 1808, 201, 3, 22557, 584, 4280, 28027, 599, 1808, 201, 679...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 205, 4309, 6, 6529, 7, 21680, 8670, 4674, 11300, 272, 476, 6529, 7, 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, -1...
Tell me the name with decile of 6 and roll of 93
CREATE TABLE table_name_63 (name VARCHAR, decile VARCHAR, roll VARCHAR)
SELECT name FROM table_name_63 WHERE decile = "6" AND roll = 93
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 4350, 584, 4280, 28027, 6, 7908, 109, 584, 4280, 28027, 6, 3812, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 564, 28, 7908, 109, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 564, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 7908, 109, 3274, 96, 948, 121, 3430, 3812, 3274, 3, 4271, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is days of hospital stay and admission location of subject id 65759?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT demographic.days_stay, demographic.admission_location FROM demographic WHERE demographic.subject_id = "65759"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 1135, 7, 834, 21545, 6, 14798, 5, 9, 26, 5451, 834, 14836, 21680, 14798, 549, 17444, 427, 14798, 5, 7304, 11827, 834, 23, 26, 3274, 96, 948, 3436, 3390, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
What position has round less than 2?
CREATE TABLE table_54352 ( "Round" real, "Pick" real, "Player" text, "Position" text, "Nationality" text, "School/Club Team" text )
SELECT "Position" FROM table_54352 WHERE "Round" < '2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5062, 2469, 357, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 32, 7, 4749, 121, 21680, 953, 834, 5062, 2469, 357, 549, 17444, 427, 96, 448, 32, 1106, 121, 3, 2, 3, 31, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the names of countries and the average speed of roller coasters from each country with a bar chart, and I want to display by the y axis from high to low.
CREATE TABLE country ( Country_ID int, Name text, Population int, Area int, Languages text ) CREATE TABLE roller_coaster ( Roller_Coaster_ID int, Name text, Park text, Country_ID int, Length real, Height real, Speed text, Opened text, Status text )
SELECT T1.Name, AVG(T2.Speed) FROM country AS T1 JOIN roller_coaster AS T2 ON T1.Country_ID = T2.Country_ID GROUP BY T1.Name ORDER BY AVG(T2.Speed) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 684, 41, 6993, 834, 4309, 16, 17, 6, 5570, 1499, 6, 29659, 16, 17, 6, 5690, 16, 17, 6, 10509, 7, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 10866, 834, 25500...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23954, 6, 71, 17217, 599, 382, 4416, 28328, 61, 21680, 684, 6157, 332, 536, 3, 15355, 3162, 10866, 834, 25500, 49, 6157, 332, 357, 9191, 332, 5411, 10628, 651, 834, 4309, 3274, 332, 4416, 10628, 651, 834, ...
What's the average Grid for those who spun off after Lap 64?
CREATE TABLE table_name_68 ( grid INTEGER, time_retired VARCHAR, laps VARCHAR )
SELECT AVG(grid) FROM table_name_68 WHERE time_retired = "spun off" AND laps > 64
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 8634, 3, 21342, 17966, 6, 97, 834, 10682, 1271, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 97, 834, 10682, 1271, 3274, 96, 7, 6225, 326, 121, 3430, 14941, 7, 2490, 6687, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
On what date was Hawthorn the home team?
CREATE TABLE table_name_45 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_45 WHERE home_team = "hawthorn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 5522, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 461, 125, 833, 47, 1626, 210, 17, 6293, 8, 234, 372, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 2128, 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, -100, -100, -100, -100, -100, -10...
Name the date for result of draw, and venue of edgbaston
CREATE TABLE table_name_37 (date VARCHAR, result VARCHAR, venue VARCHAR)
SELECT date FROM table_name_37 WHERE result = "draw" AND venue = "edgbaston"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 5522, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 833, 21, 741, 13, 3314, 6, 11,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 741, 3274, 96, 19489, 121, 3430, 5669, 3274, 96, 15, 26, 122, 115, 9, 4411, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the name of the baseball stadium for the school with the Murray Center basketball arena?
CREATE TABLE table_1974545_3 ( baseball_stadium VARCHAR, basketball_arena VARCHAR )
SELECT baseball_stadium FROM table_1974545_3 WHERE basketball_arena = "The Murray Center"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27181, 2128, 2128, 834, 519, 41, 9600, 834, 2427, 12925, 584, 4280, 28027, 6, 8498, 834, 9, 1536, 9, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9600, 834, 2427, 12925, 21680, 953, 834, 27181, 2128, 2128, 834, 519, 549, 17444, 427, 8498, 834, 9, 1536, 9, 3274, 96, 634, 15497, 1166, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many different Heights (cm) did Mark Fusco have, when his Jersey # was less than 16?
CREATE TABLE table_name_19 ( height__cm_ VARCHAR, jersey__number VARCHAR, name VARCHAR )
SELECT COUNT(height__cm_) FROM table_name_19 WHERE jersey__number < 16 AND name = "mark fusco"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 3902, 834, 834, 75, 51, 834, 584, 4280, 28027, 6, 13426, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 88, 2632, 834, 834, 75, 51, 834, 61, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 13426, 834, 834, 5525, 1152, 3, 2, 898, 3430, 564, 3274, 96, 3920, 7683, 3523, 121, 1, -100, -100, -100, -1...
What is the constructor on the team with 8 rounds and a chassis of 156 158 1512?
CREATE TABLE table_name_54 (constructor VARCHAR, rounds VARCHAR, chassis VARCHAR)
SELECT constructor FROM table_name_54 WHERE rounds = "8" AND chassis = "156 158 1512"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 15982, 5317, 584, 4280, 28027, 6, 14419, 584, 4280, 28027, 6, 22836, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 6774, 127, 30, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6774, 127, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 14419, 3274, 96, 927, 121, 3430, 22836, 3274, 96, 25463, 3, 26556, 627, 2122, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many times did luis fortuno appoint someone on the list ?
CREATE TABLE table_203_671 ( id number, "name" text, "rank" text, "age" number, "years until mandatory retirement" text, "appointed by" text, "year appointed" number )
SELECT COUNT(*) FROM table_203_671 WHERE "appointed by" = 'luis fortuno'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3708, 536, 41, 3, 23, 26, 381, 6, 96, 4350, 121, 1499, 6, 96, 6254, 121, 1499, 6, 96, 545, 121, 381, 6, 96, 1201, 7, 552, 13488, 6576, 121, 1499, 6, 96, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 23330, 834, 3708, 536, 549, 17444, 427, 96, 31574, 57, 121, 3274, 3, 31, 2878, 7, 21, 17, 202, 32, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the sum of Week when there were 67,968 people in attendance?
CREATE TABLE table_name_66 ( week INTEGER, attendance VARCHAR )
SELECT SUM(week) FROM table_name_66 WHERE attendance = "67,968"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 471, 3, 21342, 17966, 6, 11364, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4505, 13, 6551, 116, 132, 130, 3, 3708, 6, 4314, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 8041, 61, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 11364, 3274, 96, 3708, 6, 4314, 927, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many goals are associated with over 97 caps and a Latest cap of april 24, 2013?
CREATE TABLE table_name_43 ( goals INTEGER, latest_cap VARCHAR, caps VARCHAR )
SELECT AVG(goals) FROM table_name_43 WHERE latest_cap = "april 24, 2013" AND caps > 97
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 1766, 3, 21342, 17966, 6, 1251, 834, 4010, 584, 4280, 28027, 6, 16753, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1766, 33, 1968, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 839, 5405, 61, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 1251, 834, 4010, 3274, 96, 9, 2246, 40, 14320, 2038, 121, 3430, 16753, 2490, 3, 4327, 1, -100, -100, -100, -100, -100, -100, -100, -1...
What is the venue when the away team scored 15.9 (99)?
CREATE TABLE table_52489 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Venue" FROM table_52489 WHERE "Away team score" = '15.9 (99)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2266, 3914, 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, 755, 2266, 3914, 549, 17444, 427, 96, 188, 1343, 372, 2604, 121, 3274, 3, 31, 1808, 5, 1298, 41, 3264, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What were the results after 2004?
CREATE TABLE table_name_33 ( result VARCHAR, year INTEGER )
SELECT result FROM table_name_33 WHERE year > 2004
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 741, 584, 4280, 28027, 6, 215, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 130, 8, 772, 227, 4406, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 215, 2490, 4406, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Time/Retired that has a Grid smaller than 8, 73 laps, and a Constructor of williams - bmw?
CREATE TABLE table_name_1 ( time_retired VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR )
SELECT time_retired FROM table_name_1 WHERE grid < 8 AND laps = 73 AND constructor = "williams - bmw"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 97, 834, 10682, 1271, 584, 4280, 28027, 6, 6774, 127, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 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, 97, 834, 10682, 1271, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 8634, 3, 2, 505, 3430, 14941, 7, 3274, 3, 4552, 3430, 6774, 127, 3274, 96, 8894, 23, 265, 7, 3, 18, 3, 29471, 121, 1, -100, -100, -100, -10...
how many patients are admitted before the year 2137 and tested with fibrinogen functional in lab?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2137" AND lab.label = "Fibrinogen, Functional"
[ 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,...
Find the name, enrollment of the colleges whose size is bigger than 10000 and location is in state LA.
CREATE TABLE tryout ( pid number, cname text, ppos text, decision text ) CREATE TABLE player ( pid number, pname text, ycard text, hs number ) CREATE TABLE college ( cname text, state text, enr number )
SELECT cname, enr FROM college WHERE enr > 10000 AND state = "LA"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 653, 670, 41, 3, 12417, 381, 6, 3, 75, 4350, 1499, 6, 3, 102, 2748, 1499, 6, 1357, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1959, 41, 3, 12417, 381, 6, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 75, 4350, 6, 3, 35, 52, 21680, 1900, 549, 17444, 427, 3, 35, 52, 2490, 335, 2313, 3430, 538, 3274, 96, 4569, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the total number of top-25s for events with 0 wins?
CREATE TABLE table_name_45 (top_25 VARCHAR, wins INTEGER)
SELECT COUNT(top_25) FROM table_name_45 WHERE wins < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 2916, 834, 1828, 584, 4280, 28027, 6, 9204, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381, 13, 420, 14855, 7, 21, 984, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 2916, 834, 1828, 61, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 9204, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What episode number in the series was viewed by 13.66 million people in the U.S.?
CREATE TABLE table_27978 ( "No. in series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (million)" text )
SELECT MAX("No. in series") FROM table_27978 WHERE "U.S. viewers (million)" = '13.66'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 21441, 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, 4800, 4, 599, 121, 4168, 5, 16, 939, 8512, 21680, 953, 834, 2555, 21441, 549, 17444, 427, 96, 1265, 5, 134, 5, 13569, 41, 17030, 61, 121, 3274, 3, 31, 2368, 5, 3539, 31, 1, -100, -100, -100, -100, -100, -100, -1...
What is the earliest episode aired on 8 June 2008?
CREATE TABLE table_name_97 ( episode_number INTEGER, air_date VARCHAR )
SELECT MIN(episode_number) FROM table_name_97 WHERE air_date = "8 june 2008"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 5640, 834, 5525, 1152, 3, 21342, 17966, 6, 799, 834, 5522, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 16454, 5640, 3, 2378,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 15, 102, 159, 32, 221, 834, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 799, 834, 5522, 3274, 96, 927, 3, 6959, 15, 2628, 121, 1, -100, -100, -100, -100, -100, -100, -100, -10...
who did this player face in her only game in switzerland ?
CREATE TABLE table_204_868 ( id number, "outcome" text, "no." number, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text )
SELECT "opponent" FROM table_204_868 WHERE "tournament" = 'lenzerheide, switzerland'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 927, 3651, 41, 3, 23, 26, 381, 6, 96, 670, 287, 15, 121, 1499, 6, 96, 29, 32, 535, 381, 6, 96, 5522, 121, 1499, 6, 96, 17, 1211, 20205, 17, 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, 32, 102, 9977, 121, 21680, 953, 834, 26363, 834, 927, 3651, 549, 17444, 427, 96, 17, 1211, 20205, 17, 121, 3274, 3, 31, 40, 35, 2558, 88, 1599, 6, 3, 7, 15686, 15, 7721, 31, 1, -100, -100, -100, -100, -100, ...
What was the highest score of candidate mir-hossein mousavi in the location known as azarbaijan, west?
CREATE TABLE table_26000 ( "Province" text, "Mahmoud Ahmadinejad" real, "Mehdi Karroubi" real, "Mir-Hossein Mousavi" real, "Mohsen Rezaee" real, "Spoiled ballots" real, "Total votes" real )
SELECT MAX("Mir-Hossein Mousavi") FROM table_26000 WHERE "Province" = 'Azarbaijan, West'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 2313, 41, 96, 3174, 2494, 565, 121, 1499, 6, 96, 329, 9, 107, 51, 1063, 26, 28770, 630, 1191, 26, 121, 490, 6, 96, 329, 15, 107, 26, 23, 480, 19996, 8371, 121, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 329, 23, 52, 18, 566, 13526, 77, 13640, 7, 2960, 8512, 21680, 953, 834, 2688, 2313, 549, 17444, 427, 96, 3174, 2494, 565, 121, 3274, 3, 31, 188, 7061, 9441, 7066, 6, 1244, 31, 1, -100, -100, -...
What is the average number of top-5s for the major with 5 top-10s and fewer than 12 cuts made?
CREATE TABLE table_39576 ( "Tournament" text, "Wins" real, "Top-5" real, "Top-10" real, "Top-25" real, "Events" real, "Cuts made" real )
SELECT AVG("Top-5") FROM table_39576 WHERE "Top-10" = '5' AND "Cuts made" < '12'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3301, 3959, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 22481, 18, 17395, 490, 6, 96, 22481, 4536, 121, 490, 6, 96, 22481, 14855, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 22481, 4525, 8512, 21680, 953, 834, 519, 3301, 3959, 549, 17444, 427, 96, 22481, 4536, 121, 3274, 3, 31, 755, 31, 3430, 96, 15784, 17, 7, 263, 121, 3, 2, 3, 31, 2122, 31, 1, -100, -100, -100...
What is the weight with the shape of scalloped, and that is a size of 20mm (across scallops)?
CREATE TABLE table_name_92 ( weight VARCHAR, shape VARCHAR, size VARCHAR )
SELECT weight FROM table_name_92 WHERE shape = "scalloped" AND size = "20mm (across scallops)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 1293, 584, 4280, 28027, 6, 2346, 584, 4280, 28027, 6, 812, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1293, 28, 8, 2346, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1293, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 2346, 3274, 96, 7, 1489, 17696, 26, 121, 3430, 812, 3274, 96, 1755, 635, 41, 9, 11465, 31140, 7, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What rank did the time of 7:31.90 receive?
CREATE TABLE table_name_62 (rank VARCHAR, time VARCHAR)
SELECT COUNT(rank) FROM table_name_62 WHERE time = "7:31.90"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 6254, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 11003, 410, 8, 97, 13, 489, 10, 3341, 5, 2394, 911, 58, 1, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 6254, 61, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 97, 3274, 96, 940, 10, 3341, 5, 2394, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the lengths and heights of roller coasters. Show scatter chart.
CREATE TABLE roller_coaster ( Roller_Coaster_ID int, Name text, Park text, Country_ID int, Length real, Height real, Speed text, Opened text, Status text ) CREATE TABLE country ( Country_ID int, Name text, Population int, Area int, Languages text )
SELECT Length, Height FROM roller_coaster
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10866, 834, 25500, 49, 41, 23144, 834, 3881, 9, 1370, 834, 4309, 16, 17, 6, 5570, 1499, 6, 1061, 1499, 6, 6993, 834, 4309, 16, 17, 6, 312, 1725, 189, 490, 6, 24231, 490, 6, 9913, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 312, 1725, 189, 6, 24231, 21680, 10866, 834, 25500, 49, 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...
What is the number of Gold medals for the Nation with a Total of 5 and Rank larger than 1?
CREATE TABLE table_name_81 (gold INTEGER, total VARCHAR, rank VARCHAR)
SELECT MIN(gold) FROM table_name_81 WHERE total = 5 AND rank > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 14910, 3, 21342, 17966, 6, 792, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 381, 13, 2540, 9365, 7, 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, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 14910, 61, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 792, 3274, 305, 3430, 11003, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What are the lengths and heights of roller coasters?
CREATE TABLE roller_coaster ( roller_coaster_id number, name text, park text, country_id number, length number, height number, speed text, opened text, status text ) CREATE TABLE country ( country_id number, name text, population number, area number, languages te...
SELECT length, height FROM roller_coaster
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10866, 834, 25500, 49, 41, 10866, 834, 25500, 49, 834, 23, 26, 381, 6, 564, 1499, 6, 2447, 1499, 6, 684, 834, 23, 26, 381, 6, 2475, 381, 6, 3902, 381, 6, 1634, 1499, 6, 2946, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2475, 6, 3902, 21680, 10866, 834, 25500, 49, 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, -10...
How many points are listed when the position is 2?
CREATE TABLE table_15405904_1 (points INTEGER, position VARCHAR)
SELECT MAX(points) FROM table_15405904_1 WHERE position = 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 2445, 3390, 6348, 834, 536, 41, 2700, 7, 3, 21342, 17966, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 979, 33, 2616, 116, 8, 1102, 19, 204...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 2700, 7, 61, 21680, 953, 834, 1808, 2445, 3390, 6348, 834, 536, 549, 17444, 427, 1102, 3274, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the company name with the number of gas station by a bar chart, and could you sort in descending by the X?
CREATE TABLE gas_station ( Station_ID int, Open_Year int, Location text, Manager_Name text, Vice_Manager_Name text, Representative_Name text ) CREATE TABLE station_company ( Station_ID int, Company_ID int, Rank_of_the_Year int ) CREATE TABLE company ( Company_ID int, Rank i...
SELECT Company, COUNT(*) FROM station_company AS T1 JOIN company AS T2 ON T1.Company_ID = T2.Company_ID GROUP BY T1.Company_ID ORDER BY Company DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1807, 834, 6682, 41, 5939, 834, 4309, 16, 17, 6, 2384, 834, 476, 2741, 16, 17, 6, 10450, 1499, 6, 3440, 834, 23954, 1499, 6, 8236, 834, 27272, 834, 23954, 1499, 6, 13517, 834, 23954,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1958, 6, 2847, 17161, 599, 1935, 61, 21680, 2478, 834, 29179, 6157, 332, 536, 3, 15355, 3162, 349, 6157, 332, 357, 9191, 332, 5411, 5890, 2837, 63, 834, 4309, 3274, 332, 4416, 5890, 2837, 63, 834, 4309, 350, 4630, 6...
what is the greatest number of wins by japanese formula three?
CREATE TABLE table_16299 ( "Season" text, "Series" text, "Team Name" text, "Races" real, "Wins" real, "Poles" real, "F/Laps" real, "Podiums" real, "Points" text, "Position" text )
SELECT MAX("Wins") FROM table_16299 WHERE "Series" = 'Japanese Formula Three'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 357, 3264, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 12106, 7, 121, 1499, 6, 96, 18699, 5570, 121, 1499, 6, 96, 448, 9, 2319, 121, 490, 6, 96, 18455, 7, 121, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 18455, 7, 8512, 21680, 953, 834, 2938, 357, 3264, 549, 17444, 427, 96, 12106, 7, 121, 3274, 3, 31, 683, 9750, 1496, 15, 13786, 5245, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the original airdate of the episode that had 8.23 million viewers?
CREATE TABLE table_3482 ( "Episode #" real, "Series #" real, "Title" text, "Director" text, "Writer" text, "Original airdate" text, "Viewers (in millions)" text )
SELECT "Original airdate" FROM table_3482 WHERE "Viewers (in millions)" = '8.23'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3710, 4613, 41, 96, 427, 102, 159, 32, 221, 1713, 121, 490, 6, 96, 12106, 7, 1713, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 127, 121, 1499, 6, 96, 24965...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 3380, 10270, 799, 5522, 121, 21680, 953, 834, 3710, 4613, 549, 17444, 427, 96, 15270, 277, 41, 77, 4040, 61, 121, 3274, 3, 31, 927, 5, 2773, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
patients with an ejection fraction < 30 % ( if known ) .
CREATE TABLE table_test_25 ( "id" int, "ejection_fraction_ef" int, "respiratory_tract_infection" bool, "left_ventricular_ejection_fraction_lvef" int, "intra_aortic_balloon_pump_iabp" bool, "systolic_blood_pressure_sbp" int, "central_diabetes_insipidus" bool, "hyponatremia" bool, "hea...
SELECT * FROM table_test_25 WHERE ejection_fraction_ef < 30
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4377, 834, 1828, 41, 96, 23, 26, 121, 16, 17, 6, 96, 15, 21440, 834, 22513, 834, 15, 89, 121, 16, 17, 6, 96, 60, 7, 2388, 6546, 834, 6471, 17, 834, 77, 17856, 121, 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, 1429, 21680, 953, 834, 4377, 834, 1828, 549, 17444, 427, 3, 15, 21440, 834, 22513, 834, 15, 89, 3, 2, 604, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the away team at glenferrie oval?
CREATE TABLE table_10943 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team" FROM table_10943 WHERE "Venue" = 'glenferrie oval'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17304, 4906, 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, 188, 1343, 372, 121, 21680, 953, 834, 17304, 4906, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 3537, 29, 1010, 1753, 17986, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the pinyin name for the english name xin county?
CREATE TABLE table_4029 ( "English Name" text, "Simplified" text, "Traditional" text, "Pinyin" text, "Area" real, "Population" real, "Density" real )
SELECT "Pinyin" FROM table_4029 WHERE "English Name" = 'Xin County'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 3166, 41, 96, 26749, 5570, 121, 1499, 6, 96, 134, 10296, 3676, 121, 1499, 6, 96, 9402, 10569, 138, 121, 1499, 6, 96, 345, 77, 63, 77, 121, 1499, 6, 96, 188, 864, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 345, 77, 63, 77, 121, 21680, 953, 834, 2445, 3166, 549, 17444, 427, 96, 26749, 5570, 121, 3274, 3, 31, 4, 77, 1334, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is maximum age of patients whose gender is m and discharge location is snf?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT MAX(demographic.age) FROM demographic WHERE demographic.gender = "M" AND demographic.discharge_location = "SNF"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 122, 3868, 3274, 96, 329, 121, 3430, 14798, 5, 26, 159, 7993, 834, 14836, 3274, 96, 134, 12619, 121, 1, -100, -100, -100, -100, -100, ...
how many patients aged below 64 year died in or before year 2174?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic (...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "64" AND demographic.dod_year <= "2174.0"
[ 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, 549, 17444, 427, 14798, 5, 545, 3, 2, 96, 4389, 121, 3430, 14798, 5, 26, 32, 26, 834, 1201, 3, 2, 2423, 96, 357, 2517, ...
What's the tie number when the away team was Mansfield Town?
CREATE TABLE table_63323 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text )
SELECT "Tie no" FROM table_63323 WHERE "Away team" = 'mansfield town'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 2668, 519, 41, 96, 382, 23, 15, 150, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 308, 342, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 23, 15, 150, 121, 21680, 953, 834, 3891, 2668, 519, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 348, 7, 1846, 1511, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
I want the event for method of points with notes of opening round
CREATE TABLE table_52421 ( "Result" text, "Opponent" text, "Method" text, "Event" text, "Date" real, "Notes" text )
SELECT "Event" FROM table_52421 WHERE "Method" = 'points' AND "Notes" = 'opening round'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2266, 2658, 41, 96, 20119, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 23351, 107, 32, 26, 121, 1499, 6, 96, 427, 2169, 121, 1499, 6, 96, 308, 342, 121, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 427, 2169, 121, 21680, 953, 834, 755, 2266, 2658, 549, 17444, 427, 96, 23351, 107, 32, 26, 121, 3274, 3, 31, 2700, 7, 31, 3430, 96, 10358, 15, 7, 121, 3274, 3, 31, 8751, 53, 1751, 31, 1, -100, -100, -100, ...
what is the number of flag bearers ?
CREATE TABLE table_204_266 ( id number, "#" number, "event year" number, "season" text, "flag bearer" text )
SELECT COUNT("flag bearer") FROM table_204_266
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 357, 3539, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 15, 2169, 215, 121, 381, 6, 96, 9476, 121, 1499, 6, 96, 89, 5430, 4595, 49, 121, 1499, 3, 61,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 89, 5430, 4595, 49, 8512, 21680, 953, 834, 26363, 834, 357, 3539, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What championship was in 1985?
CREATE TABLE table_name_30 ( championship VARCHAR, year VARCHAR )
SELECT championship FROM table_name_30 WHERE year = 1985
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 10183, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 10183, 47, 16, 13200, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 10183, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 215, 3274, 13200, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What are the average play-offs that have an FA Cup greater than 3?
CREATE TABLE table_41420 ( "Player" text, "Club" text, "League" real, "Play-offs" real, "FA Cup" real, "FA Trophy" real, "Total" real )
SELECT AVG("Play-offs") FROM table_41420 WHERE "FA Cup" > '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4853, 21899, 41, 96, 15800, 49, 121, 1499, 6, 96, 254, 11158, 121, 1499, 6, 96, 2796, 9, 5398, 121, 490, 6, 96, 15800, 18, 1647, 7, 121, 490, 6, 96, 4795, 3802, 121, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15800, 18, 1647, 7, 8512, 21680, 953, 834, 4853, 21899, 549, 17444, 427, 96, 4795, 3802, 121, 2490, 3, 31, 519, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is Segment B for series episode 12-02?
CREATE TABLE table_19882 ( "Series Ep." text, "Episode" real, "Netflix" text, "Segment A" text, "Segment B" text, "Segment C" text, "Segment D" text )
SELECT "Segment B" FROM table_19882 WHERE "Series Ep." = '12-02'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24151, 4613, 41, 96, 12106, 7, 10395, 535, 1499, 6, 96, 427, 102, 159, 32, 221, 121, 490, 6, 96, 9688, 89, 17591, 121, 1499, 6, 96, 134, 15, 122, 297, 71, 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, 134, 15, 122, 297, 272, 121, 21680, 953, 834, 24151, 4613, 549, 17444, 427, 96, 12106, 7, 10395, 535, 3274, 3, 31, 2122, 18, 4305, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
The entrepreneur Adam Weaver was featured in which episode?
CREATE TABLE table_name_28 ( episode VARCHAR, entrepreneur_s_ VARCHAR )
SELECT episode FROM table_name_28 WHERE entrepreneur_s_ = "adam weaver"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 5640, 584, 4280, 28027, 6, 3, 12290, 834, 7, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 37, 3, 12290, 7124, 101, 9, 624, 47, 4510, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5640, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 3, 12290, 834, 7, 834, 3274, 96, 9, 7812, 21938, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What date has won as the result and 2-1 as the score with a competition of 2004 tiger cup third place match?
CREATE TABLE table_name_93 ( date VARCHAR, competition VARCHAR, result VARCHAR, score VARCHAR )
SELECT date FROM table_name_93 WHERE result = "won" AND score = "2-1" AND competition = "2004 tiger cup third place match"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 833, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 833, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 741, 3274, 96, 210, 106, 121, 3430, 2604, 3274, 96, 17234, 121, 3430, 2259, 3274, 96, 21653, 3, 17, 4424, 4119, 1025, 286, 1588, 121, 1, -100, -100, -100, -100...
tell me the admission and discharge location of patient marilyn norvell.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) C...
SELECT demographic.admission_location, demographic.discharge_location FROM demographic WHERE demographic.name = "Marilyn Norvell"
[ 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, 14798, 5, 9, 26, 5451, 834, 14836, 6, 14798, 5, 26, 159, 7993, 834, 14836, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 7286, 9203, 29, 7005, 162, 195, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
Which venue did the runner have a note of 1:23:07?
CREATE TABLE table_name_58 (venue VARCHAR, notes VARCHAR)
SELECT venue FROM table_name_58 WHERE notes = "1:23:07"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 15098, 584, 4280, 28027, 6, 3358, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 5669, 410, 8, 3, 10806, 43, 3, 9, 2232, 13, 30651, 519, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5669, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 3358, 3274, 96, 536, 10, 2773, 10, 4560, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the score when the opponent is fernando vicente?
CREATE TABLE table_name_9 ( score VARCHAR, opponent VARCHAR )
SELECT score FROM table_name_9 WHERE opponent = "fernando vicente"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 2604, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 2604, 116, 8, 15264, 19, 3, 8377, 232, 32, 3, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 15264, 3274, 96, 8377, 232, 32, 3, 7287, 4617, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Give me the number of patients born before 1846 who are prescribed a main drug type.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "1846" AND prescriptions.drug_type = "MAIN"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Find the name and gender of the candidate who got the highest support rate.
CREATE TABLE candidate (people_id VARCHAR, support_rate VARCHAR); CREATE TABLE people (name VARCHAR, sex VARCHAR, people_id VARCHAR)
SELECT t1.name, t1.sex FROM people AS t1 JOIN candidate AS t2 ON t1.people_id = t2.people_id ORDER BY t2.support_rate DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4775, 41, 16588, 834, 23, 26, 584, 4280, 28027, 6, 380, 834, 2206, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 4350, 584, 4280, 28027, 6, 3, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17, 5411, 4350, 6, 3, 17, 5411, 7, 994, 21680, 151, 6157, 3, 17, 536, 3, 15355, 3162, 4775, 6157, 3, 17, 357, 9191, 3, 17, 5411, 16588, 834, 23, 26, 3274, 3, 17, 4416, 16588, 834, 23, 26, 4674, 11300, 272, ...
What is the Location of the Event on March 30, 2008?
CREATE TABLE table_name_73 ( location VARCHAR, date VARCHAR )
SELECT location FROM table_name_73 WHERE date = "march 30, 2008"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 1128, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 10450, 13, 8, 8042, 30, 1332, 11558, 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, 0...
[ 3, 23143, 14196, 1128, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 833, 3274, 96, 51, 7064, 11558, 2628, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Office has a Democratic ticket of herbert h. lehman?
CREATE TABLE table_name_88 (office VARCHAR, democratic_ticket VARCHAR)
SELECT office FROM table_name_88 WHERE democratic_ticket = "herbert h. lehman"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 19632, 584, 4280, 28027, 6, 15053, 834, 26639, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2126, 65, 3, 9, 10021, 4142, 13, 160, 7041, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 828, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 15053, 834, 26639, 3274, 96, 760, 7041, 3, 107, 5, 90, 107, 348, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which pick was used on Ian Hazlett?
CREATE TABLE table_name_8 ( pick INTEGER, player VARCHAR )
SELECT MIN(pick) FROM table_name_8 WHERE player = "ian hazlett"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 1432, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1432, 47, 261, 30, 15498, 1626, 172, 1655, 17, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 17967, 61, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 1959, 3274, 96, 23, 152, 3, 10557, 1655, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Find the names of all reviewers who rated Gone with the Wind.
CREATE TABLE Rating ( mID VARCHAR, rID VARCHAR ) CREATE TABLE Reviewer ( name VARCHAR, rID VARCHAR ) CREATE TABLE Movie ( mID VARCHAR, title VARCHAR )
SELECT DISTINCT T3.name FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID WHERE T2.title = 'Gone with the Wind'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 21662, 41, 3, 51, 4309, 584, 4280, 28027, 6, 3, 52, 4309, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 4543, 49, 41, 564, 584, 4280, 28027, 6, 3, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 332, 5787, 4350, 21680, 21662, 6157, 332, 536, 3, 15355, 3162, 10743, 6157, 332, 357, 9191, 332, 5411, 51, 4309, 3274, 332, 4416, 51, 4309, 3, 15355, 3162, 4543, 49, 6157, 332, 519, 9191, 332, ...
What was the outcome when darija jurak ana s laurendon was the opponent?
CREATE TABLE table_name_34 ( outcome VARCHAR, opponents VARCHAR )
SELECT outcome FROM table_name_34 WHERE opponents = "darija jurak anaïs laurendon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 6138, 584, 4280, 28027, 6, 16383, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 6138, 116, 649, 23, 1191, 10081, 1639, 46, 9, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6138, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 16383, 3274, 96, 26, 1665, 1191, 10081, 1639, 46, 9, 2, 7, 50, 450, 35, 2029, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who creates the catalog with the number 'cal03 / 0091037137333'?
CREATE TABLE table_166 ( "Year" real, "Title" text, "Format" text, "Studio" text, "Release Date" text, "Copyright Information" text, "Catalog Number" text )
SELECT "Studio" FROM table_166 WHERE "Catalog Number" = 'CAL03 / 0091037137333'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26811, 41, 96, 476, 2741, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 3809, 3357, 121, 1499, 6, 96, 13076, 26, 23, 32, 121, 1499, 6, 96, 1649, 40, 14608, 7678, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13076, 26, 23, 32, 121, 21680, 953, 834, 26811, 549, 17444, 427, 96, 18610, 9, 2152, 7720, 121, 3274, 3, 31, 21605, 4928, 3, 87, 3, 1206, 1298, 1714, 4118, 24636, 23360, 31, 1, -100, -100, -100, -100, -100, -1...
Who had the best regular season in the contest won by Arkansas-Pine Bluff?
CREATE TABLE table_22645714_5 (regular_season_winner VARCHAR, tournament_winner VARCHAR)
SELECT regular_season_winner FROM table_22645714_5 WHERE tournament_winner = "Arkansas-Pine Bluff"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 4389, 3436, 2534, 834, 755, 41, 60, 122, 4885, 834, 9476, 834, 3757, 687, 584, 4280, 28027, 6, 5892, 834, 3757, 687, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 1646, 834, 9476, 834, 3757, 687, 21680, 953, 834, 2884, 4389, 3436, 2534, 834, 755, 549, 17444, 427, 5892, 834, 3757, 687, 3274, 96, 188, 52, 3304, 7, 9, 7, 18, 345, 630, 30926, 121, 1, -100, -100, -100, -100, -10...
how many teams won 6 matches ?
CREATE TABLE table_203_486 ( id number, "place" number, "team" text, "matches" number, "won" number, "drawn" number, "lost" number, "difference" text, "points" number )
SELECT COUNT("team") FROM table_203_486 WHERE "won" = 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 591, 3840, 41, 3, 23, 26, 381, 6, 96, 4687, 121, 381, 6, 96, 11650, 121, 1499, 6, 96, 19515, 15, 7, 121, 381, 6, 96, 210, 106, 121, 381, 6, 96, 19489, 29,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 11650, 8512, 21680, 953, 834, 23330, 834, 591, 3840, 549, 17444, 427, 96, 210, 106, 121, 3274, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Presentation of Credentials has a Termination of Mission listed as August 15, 2000?
CREATE TABLE table_name_91 (presentation_of_credentials VARCHAR, termination_of_mission VARCHAR)
SELECT presentation_of_credentials FROM table_name_91 WHERE termination_of_mission = "august 15, 2000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 12640, 257, 834, 858, 834, 17216, 7220, 7, 584, 4280, 28027, 6, 18739, 834, 858, 834, 5451, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 3831, 834, 858, 834, 17216, 7220, 7, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 18739, 834, 858, 834, 5451, 3274, 96, 402, 17198, 10725, 2766, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was Jim Hoff's sum of losses and a wins smaller than 12?
CREATE TABLE table_71795 ( "Manager" text, "Years" text, "Games" real, "Wins" real, "Losses" real )
SELECT SUM("Losses") FROM table_71795 WHERE "Manager" = 'jim hoff' AND "Wins" < '12'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2517, 3301, 41, 96, 27272, 121, 1499, 6, 96, 476, 2741, 7, 121, 1499, 6, 96, 23055, 7, 121, 490, 6, 96, 18455, 7, 121, 490, 6, 96, 434, 13526, 7, 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, 180, 6122, 599, 121, 434, 13526, 7, 8512, 21680, 953, 834, 940, 2517, 3301, 549, 17444, 427, 96, 27272, 121, 3274, 3, 31, 354, 603, 3, 11950, 31, 3430, 96, 18455, 7, 121, 3, 2, 3, 31, 2122, 31, 1, -100, -100, ...
find the number of patients with diagnoses icd9 code 99681 who were ordered other body fluid lab test.
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 prescriptions...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "99681" AND lab.fluid = "Other Body Fluid"
[ 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, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Which Speed has a Rank smaller than 9 in kawasaki zx6 600cc Team?
CREATE TABLE table_name_6 (speed VARCHAR, rank VARCHAR, team VARCHAR)
SELECT speed FROM table_name_6 WHERE rank < 9 AND team = "kawasaki zx6 600cc"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 9993, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 9913, 65, 3, 9, 3, 22557, 2755, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1634, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 11003, 3, 2, 668, 3430, 372, 3274, 96, 1258, 9491, 11259, 3, 172, 226, 948, 7366, 75, 75, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the average for rank of 3
CREATE TABLE table_29558 ( "Rank by average" real, "Place" real, "Couple" text, "Total points" real, "Number of dances" real, "Average" text )
SELECT "Average" FROM table_29558 WHERE "Rank by average" = '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3301, 3449, 41, 96, 22557, 57, 1348, 121, 490, 6, 96, 345, 11706, 121, 490, 6, 96, 3881, 413, 109, 121, 1499, 6, 96, 3696, 1947, 979, 121, 490, 6, 96, 567, 5937, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 624, 545, 121, 21680, 953, 834, 357, 3301, 3449, 549, 17444, 427, 96, 22557, 57, 1348, 121, 3274, 3, 31, 519, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
who directed the episode written by Shonda Rhimes?
CREATE TABLE table_23492454_1 ( directed_by VARCHAR, written_by VARCHAR )
SELECT directed_by FROM table_23492454_1 WHERE written_by = "Shonda Rhimes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 3647, 2266, 5062, 834, 536, 41, 6640, 834, 969, 584, 4280, 28027, 6, 1545, 834, 969, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 113, 6640, 8, 5640, 1545, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6640, 834, 969, 21680, 953, 834, 2773, 3647, 2266, 5062, 834, 536, 549, 17444, 427, 1545, 834, 969, 3274, 96, 134, 31782, 11092, 5445, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
which title has the same notes as night with a sky full of stars ?
CREATE TABLE table_204_643 ( id number, "release" number, "artist" text, "title" text, "notes" text, "album" text )
SELECT "title" FROM table_204_643 WHERE "title" <> 'manten no hoshi no yoru (満天の星の夜 night with a sky full of stars?)' AND "notes" = (SELECT "notes" FROM table_204_643 WHERE "title" = 'manten no hoshi no yoru (満天の星の夜 night with a sky full of stars?)')
[ 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, 1...
[ 3, 23143, 14196, 96, 21869, 121, 21680, 953, 834, 26363, 834, 4389, 519, 549, 17444, 427, 96, 21869, 121, 3, 2, 3155, 3, 31, 348, 324, 150, 3534, 5605, 150, 3, 63, 127, 76, 41, 2, 706, 28, 3, 9, 5796, 423, 13, 4811, 14396, 31,...
At a longitude of 321.9e, what is the latitude of the features found?
CREATE TABLE table_16799784_3 (latitude VARCHAR, longitude VARCHAR)
SELECT latitude FROM table_16799784_3 WHERE longitude = "321.9E"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 4440, 21441, 591, 834, 519, 41, 521, 6592, 584, 4280, 28027, 6, 307, 20341, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 486, 3, 9, 307, 20341, 13, 3538, 22493,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 50, 6592, 21680, 953, 834, 2938, 4440, 21441, 591, 834, 519, 549, 17444, 427, 307, 20341, 3274, 96, 2668, 22493, 427, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the capital of the country with a population density per km of 15.6/km (/sqmi)?
CREATE TABLE table_26769_1 ( capital VARCHAR, population_density_per_km² VARCHAR )
SELECT capital FROM table_26769_1 WHERE population_density_per_km² = "15.6/km² (/sqmi)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3708, 3951, 834, 536, 41, 1784, 584, 4280, 28027, 6, 2074, 834, 537, 7, 485, 834, 883, 834, 5848, 357, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1784, 21680, 953, 834, 357, 3708, 3951, 834, 536, 549, 17444, 427, 2074, 834, 537, 7, 485, 834, 883, 834, 5848, 357, 3274, 96, 536, 25134, 87, 5848, 357, 41, 87, 7, 1824, 51, 23, 61, 121, 1, -100, -100, -100, -1...
What is the most goals made for a person with less than 208 matches and ranked lower than 12?
CREATE TABLE table_name_94 (goals INTEGER, matches VARCHAR, rank VARCHAR)
SELECT MAX(goals) FROM table_name_94 WHERE matches < 208 AND rank > 12
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 839, 5405, 3, 21342, 17966, 6, 6407, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 167, 1766, 263, 21, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 839, 5405, 61, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 6407, 3, 2, 3, 23946, 3430, 11003, 2490, 586, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Tell me the total number of picks for position of m of williams college
CREATE TABLE table_4470 ( "Pick #" real, "MLS Team" text, "Player" text, "Position" text, "Affiliation" text )
SELECT COUNT("Pick #") FROM table_4470 WHERE "Position" = 'm' AND "Affiliation" = 'williams college'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3628, 2518, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 17976, 2271, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 188, 89, 8027, 23,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 345, 3142, 1713, 8512, 21680, 953, 834, 3628, 2518, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 51, 31, 3430, 96, 188, 89, 8027, 23, 257, 121, 3274, 3, 31, 8894, 23, 265, 7, ...
what is the name of the instructor who is in Statistics department and earns the lowest salary?
CREATE TABLE instructor ( name VARCHAR, dept_name VARCHAR, salary VARCHAR )
SELECT name FROM instructor WHERE dept_name = 'Statistics' ORDER BY salary LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10617, 41, 564, 584, 4280, 28027, 6, 20, 102, 17, 834, 4350, 584, 4280, 28027, 6, 9090, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 564, 13, 8, 10617, 113, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 564, 21680, 10617, 549, 17444, 427, 20, 102, 17, 834, 4350, 3274, 3, 31, 134, 7810, 7, 7636, 31, 4674, 11300, 272, 476, 9090, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which seasons were directed by Nelson McCormick?
CREATE TABLE table_21629 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text )
SELECT "Title" FROM table_21629 WHERE "Directed by" = 'Nelson McCormick'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27184, 3166, 41, 96, 12106, 7, 1713, 121, 490, 6, 96, 134, 15, 9, 739, 1713, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 155, 109, 121, 21680, 953, 834, 27184, 3166, 549, 17444, 427, 96, 23620, 15, 26, 57, 121, 3274, 3, 31, 567, 3573, 106, 7040, 127, 51, 3142, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who was Carlton's home team opponent?
CREATE TABLE table_name_65 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_65 WHERE away_team = "carlton"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 3, 30339, 31, 7, 234, 372, 15264, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 550, 834, 11650, 3274, 96, 1720, 7377, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show different parties of people along with the number of people in each party. Plot them as bar chart.
CREATE TABLE debate ( Debate_ID int, Date text, Venue text, Num_of_Audience int ) CREATE TABLE debate_people ( Debate_ID int, Affirmative int, Negative int, If_Affirmative_Win bool ) CREATE TABLE people ( People_ID int, District text, Name text, Party text, Age int ...
SELECT Party, COUNT(*) FROM people GROUP BY Party
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5054, 41, 9794, 342, 834, 4309, 16, 17, 6, 7678, 1499, 6, 29940, 1499, 6, 1174, 51, 834, 858, 834, 188, 5291, 1433, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 170...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3450, 6, 2847, 17161, 599, 1935, 61, 21680, 151, 350, 4630, 6880, 272, 476, 3450, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the average Lead Margin on november 13-november 19, 2007?
CREATE TABLE table_49263 ( "Poll Source" text, "Dates administered" text, "Democrat: Larry LaRocco" text, "Republican: Jim Risch" text, "Lead Margin" real )
SELECT AVG("Lead Margin") FROM table_49263 WHERE "Dates administered" = 'november 13-november 19, 2007'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 357, 3891, 41, 96, 8931, 40, 9149, 121, 1499, 6, 96, 308, 6203, 19092, 121, 1499, 6, 96, 19679, 10, 17129, 325, 28649, 509, 121, 1499, 6, 96, 1649, 15727, 152, 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, 71, 17217, 599, 121, 2796, 9, 26, 16409, 77, 8512, 21680, 953, 834, 3647, 357, 3891, 549, 17444, 427, 96, 308, 6203, 19092, 121, 3274, 3, 31, 5326, 18247, 1179, 18, 5326, 18247, 12370, 4101, 31, 1, -100, -100, -100,...
What is the show episode number of the episode that reached 1.215 millions views?
CREATE TABLE table_22570 ( "Series episode" real, "Season episode" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Viewers (millions)" text )
SELECT MIN("Series episode") FROM table_22570 WHERE "Viewers (millions)" = '1.215'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20489, 2518, 41, 96, 12106, 7, 5640, 121, 490, 6, 96, 134, 15, 9, 739, 5640, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 12106, 7, 5640, 8512, 21680, 953, 834, 20489, 2518, 549, 17444, 427, 96, 15270, 277, 41, 17030, 7, 61, 121, 3274, 3, 31, 10917, 1808, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For the USAC National Championship, what is the Discipline?
CREATE TABLE table_name_31 (discipline VARCHAR, championship VARCHAR)
SELECT discipline FROM table_name_31 WHERE championship = "usac national championship"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 26, 159, 3389, 747, 584, 4280, 28027, 6, 10183, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 242, 8, 2312, 254, 868, 7666, 6, 125, 19, 8, 2678,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7998, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 10183, 3274, 96, 302, 9, 75, 1157, 10183, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what episode number had 11.73 million viewers?
CREATE TABLE table_24689168_5 (episode VARCHAR, viewers__millions_ VARCHAR)
SELECT episode FROM table_24689168_5 WHERE viewers__millions_ = "11.73"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 3651, 4729, 3651, 834, 755, 41, 15, 102, 159, 32, 221, 584, 4280, 28027, 6, 13569, 834, 834, 17030, 7, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5640, 21680, 953, 834, 2266, 3651, 4729, 3651, 834, 755, 549, 17444, 427, 13569, 834, 834, 17030, 7, 834, 3274, 96, 10032, 4552, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is FCC info when ERP W is larger than 92 and call sign has k264ba?
CREATE TABLE table_43710 ( "Call sign" text, "Frequency MHz" real, "City of license" text, "ERP W" real, "FCC info" text )
SELECT "FCC info" FROM table_43710 WHERE "ERP W" > '92' AND "Call sign" = 'k264ba'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4118, 1714, 41, 96, 254, 1748, 1320, 121, 1499, 6, 96, 371, 60, 835, 11298, 3, 20210, 121, 490, 6, 96, 254, 485, 13, 3344, 121, 1499, 6, 96, 3316, 345, 549, 121, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 371, 2823, 2845, 121, 21680, 953, 834, 591, 4118, 1714, 549, 17444, 427, 96, 3316, 345, 549, 121, 2490, 3, 31, 4508, 31, 3430, 96, 254, 1748, 1320, 121, 3274, 3, 31, 157, 26755, 115, 9, 31, 1, -100, -100, -1...
What is Per Capita Income, when Population is greater than 9,563, and when Median Family Income is '$49,310'?
CREATE TABLE table_60725 ( "County" text, "Per capita income" text, "Median household income" text, "Median family income" text, "Population" real, "Number of households" real )
SELECT "Per capita income" FROM table_60725 WHERE "Population" > '9,563' AND "Median family income" = '$49,310'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 940, 1828, 41, 96, 10628, 63, 121, 1499, 6, 96, 12988, 23219, 2055, 121, 1499, 6, 96, 24607, 29, 5699, 2055, 121, 1499, 6, 96, 24607, 29, 384, 2055, 121, 1499, 6, 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, 12988, 23219, 2055, 121, 21680, 953, 834, 3328, 940, 1828, 549, 17444, 427, 96, 27773, 7830, 121, 2490, 3, 31, 1298, 6, 4834, 519, 31, 3430, 96, 24607, 29, 384, 2055, 121, 3274, 3, 31, 3229, 3647, 6, 19947, 31...
What is the notion when the crystal structure is tetragonal and the formula is bi 2 sr 2 cacu 2 o 8
CREATE TABLE table_15970 ( "Formula" text, "Notation" text, "T c (K)" real, "No. of Cu-O planes in unit cell" real, "Crystal structure" text )
SELECT "Notation" FROM table_15970 WHERE "Crystal structure" = 'Tetragonal' AND "Formula" = 'Bi 2 Sr 2 CaCu 2 O 8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27904, 2518, 41, 96, 3809, 4115, 9, 121, 1499, 6, 96, 10358, 257, 121, 1499, 6, 96, 382, 3, 75, 41, 439, 61, 121, 490, 6, 96, 4168, 5, 13, 1839, 18, 667, 6112, 7, 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, 10358, 257, 121, 21680, 953, 834, 27904, 2518, 549, 17444, 427, 96, 254, 651, 8407, 1809, 121, 3274, 3, 31, 382, 15, 5031, 9533, 31, 3430, 96, 3809, 4115, 9, 121, 3274, 3, 31, 279, 23, 204, 180, 52, 204, 133...
what is b - bishop where bc - beast cadet is gr - great dove?
CREATE TABLE table_2603017_2 ( b___bishop VARCHAR, bc___beast_cadet VARCHAR )
SELECT b___bishop FROM table_2603017_2 WHERE bc___beast_cadet = "GR - Great Dove"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 18365, 1458, 2517, 834, 357, 41, 3, 115, 834, 834, 834, 11514, 10776, 584, 4280, 28027, 6, 3, 115, 75, 834, 834, 834, 115, 11535, 834, 6615, 17, 584, 4280, 28027, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 115, 834, 834, 834, 11514, 10776, 21680, 953, 834, 18365, 1458, 2517, 834, 357, 549, 17444, 427, 3, 115, 75, 834, 834, 834, 115, 11535, 834, 6615, 17, 3274, 96, 8727, 3, 18, 1651, 531, 162, 121, 1, -100, -100, ...
What is Pos., when Date From is '28 August 2008'?
CREATE TABLE table_name_8 ( pos VARCHAR, date_from VARCHAR )
SELECT pos FROM table_name_8 WHERE date_from = "28 august 2008"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 3, 2748, 584, 4280, 28027, 6, 833, 834, 7152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 13995, 5, 6, 116, 7678, 1029, 19, 3, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 2748, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 833, 834, 7152, 3274, 96, 2577, 14663, 2628, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What driver has 5 as the zan 2?
CREATE TABLE table_name_69 ( driver VARCHAR, zan_2 VARCHAR )
SELECT driver FROM table_name_69 WHERE zan_2 = "5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 2535, 584, 4280, 28027, 6, 3, 10241, 834, 357, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 2535, 65, 305, 38, 8, 3, 10241, 204, 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, 2535, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 3, 10241, 834, 357, 3274, 96, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many KEI catagories are listed when the economic incentive regime is 2.56?
CREATE TABLE table_25649 ( "Country" text, "KEI" text, "KI" text, "Economic Incentive Regime" text, "Innovation" text, "Education" text, "ICT" text, "2008 Rank" real )
SELECT COUNT("KEI") FROM table_25649 WHERE "Economic Incentive Regime" = '2.56'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19337, 3647, 41, 96, 10628, 651, 121, 1499, 6, 96, 9914, 196, 121, 1499, 6, 96, 14108, 121, 1499, 6, 96, 427, 12036, 447, 1542, 35, 3268, 15232, 526, 121, 1499, 6, 96, 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, 2847, 17161, 599, 121, 9914, 196, 8512, 21680, 953, 834, 19337, 3647, 549, 17444, 427, 96, 427, 12036, 447, 1542, 35, 3268, 15232, 526, 121, 3274, 3, 31, 15967, 948, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
Find the name of the scientist who worked on both a project named 'Matter of Time' and a project named 'A Puzzling Parallax'.
CREATE TABLE projects ( code VARCHAR, name VARCHAR ) CREATE TABLE scientists ( name VARCHAR, SSN VARCHAR ) CREATE TABLE assignedto ( project VARCHAR, scientist VARCHAR )
SELECT T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T2.name = 'Matter of Time' INTERSECT SELECT T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T2.name = 'A Pu...
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1195, 41, 1081, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 7004, 41, 564, 584, 4280, 28027, 6, 180, 8544, 584, 4280, 28027,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5787, 4350, 21680, 7604, 235, 6157, 332, 536, 3, 15355, 3162, 1195, 6157, 332, 357, 9191, 332, 5411, 23574, 3274, 332, 4416, 4978, 3, 15355, 3162, 7004, 6157, 332, 519, 9191, 332, 5411, 17819, 343, 3274, 332, 578...