NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Which Location has a Club of delfines ucv?
CREATE TABLE table_name_96 ( location VARCHAR, club VARCHAR )
SELECT location FROM table_name_96 WHERE club = "delfines ucv"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 1128, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 10450, 65, 3, 9, 1949, 13, 20, 40, 13536, 7, 3, 76, 75...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1128, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 1886, 3274, 96, 26, 10386, 4477, 3, 76, 75, 208, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the names of mountains in ascending alphabetical order?
CREATE TABLE mountain (Name VARCHAR)
SELECT Name FROM mountain ORDER BY Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4180, 41, 23954, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 3056, 13, 8022, 16, 25200, 53, 20688, 1950, 455, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5570, 21680, 4180, 4674, 11300, 272, 476, 5570, 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, ...
What episode aired on 18 April 2007?
CREATE TABLE table_10749367_3 ( _number INTEGER, air_date VARCHAR )
SELECT MIN(_number) FROM table_10749367_3 WHERE air_date = "18 April 2007"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 4581, 4271, 3708, 834, 519, 41, 3, 834, 5525, 1152, 3, 21342, 17966, 6, 799, 834, 5522, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 5640, 3, 2378, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 834, 5525, 1152, 61, 21680, 953, 834, 1714, 4581, 4271, 3708, 834, 519, 549, 17444, 427, 799, 834, 5522, 3274, 96, 2606, 1186, 4101, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
If a team had a percentage of games won recorded as .429, what Championship Game was played?
CREATE TABLE table_name_82 ( championship_game VARCHAR, win__percentage VARCHAR )
SELECT championship_game FROM table_name_82 WHERE win__percentage = ".429"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 10183, 834, 7261, 584, 4280, 28027, 6, 1369, 834, 834, 883, 3728, 545, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 156, 3, 9, 372, 141, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 10183, 834, 7261, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 1369, 834, 834, 883, 3728, 545, 3274, 96, 5, 591, 3166, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the driver for the team whose primary sponsor is Quicken Loans / Haas Automation?
CREATE TABLE table_1266602_1 (driver_s_ VARCHAR, primary_sponsor_s_ VARCHAR)
SELECT driver_s_ FROM table_1266602_1 WHERE primary_sponsor_s_ = "Quicken Loans / Haas Automation"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21976, 3539, 4305, 834, 536, 41, 13739, 52, 834, 7, 834, 584, 4280, 28027, 6, 2329, 834, 7, 5041, 7, 127, 834, 7, 834, 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, 1, 1, 1, 1...
[ 3, 23143, 14196, 2535, 834, 7, 834, 21680, 953, 834, 21976, 3539, 4305, 834, 536, 549, 17444, 427, 2329, 834, 7, 5041, 7, 127, 834, 7, 834, 3274, 96, 5991, 23, 4695, 12183, 7, 3, 87, 1626, 9, 7, 25839, 121, 1, -100, -100, -100, ...
What shows for 3rd place when Runner-up shows as runner-up?
CREATE TABLE table_name_36 ( runner_up VARCHAR )
SELECT 3 AS rd_place FROM table_name_36 WHERE runner_up = "runner-up"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 3, 10806, 834, 413, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1267, 21, 220, 52, 26, 286, 116, 3, 23572, 18, 413, 1267, 38, 3, 108...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 220, 6157, 3, 52, 26, 834, 4687, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 3, 10806, 834, 413, 3274, 96, 10806, 18, 413, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Placement when the Votes are fewer than 208, and when the Candidate is Jordan Turner?
CREATE TABLE table_name_58 ( placement VARCHAR, votes VARCHAR, candidate VARCHAR )
SELECT placement FROM table_name_58 WHERE votes < 208 AND candidate = "jordan turner"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 7907, 584, 4280, 28027, 6, 11839, 584, 4280, 28027, 6, 4775, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3399, 297, 116, 8, 315...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7907, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 11839, 3, 2, 3, 23946, 3430, 4775, 3274, 96, 12775, 3768, 919, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Visualize a scatter chart about the correlation between author_tutor_ATB and gender_mf .
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), gender_mf VARCHAR(1), address_line_1 VARCHAR(80) ) CREATE TABLE Subject...
SELECT author_tutor_ATB, gender_mf FROM Course_Authors_and_Tutors ORDER BY personal_name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8670, 834, 23602, 127, 7, 834, 232, 834, 28676, 7, 41, 2291, 834, 23, 26, 3, 21342, 17966, 6, 2291, 834, 17, 76, 17, 127, 834, 5767, 279, 584, 4280, 28027, 17867, 6, 11255, 834, 43...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2291, 834, 17, 76, 17, 127, 834, 5767, 279, 6, 7285, 834, 51, 89, 21680, 8670, 834, 23602, 127, 7, 834, 232, 834, 28676, 7, 4674, 11300, 272, 476, 525, 834, 4350, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the name of each course and the corresponding number of student enrollment Show bar chart, sort y axis in desc order.
CREATE TABLE Student_Tests_Taken ( registration_id INTEGER, date_test_taken DATETIME, test_result VARCHAR(255) ) CREATE TABLE Courses ( course_id INTEGER, author_id INTEGER, subject_id INTEGER, course_name VARCHAR(120), course_description VARCHAR(255) ) CREATE TABLE Students ( stud...
SELECT course_name, COUNT(*) FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY COUNT(*) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6341, 834, 382, 222, 7, 834, 29468, 29, 41, 3816, 834, 23, 26, 3, 21342, 17966, 6, 833, 834, 4377, 834, 4914, 29, 309, 6048, 382, 15382, 6, 794, 834, 60, 7, 83, 17, 584, 4280, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 503, 834, 4350, 6, 2847, 17161, 599, 1935, 61, 21680, 8670, 7, 6157, 332, 536, 3, 15355, 3162, 6341, 834, 3881, 3589, 15, 834, 8532, 3491, 297, 6157, 332, 357, 9191, 332, 5411, 19221, 834, 23, 26, 3274, 332, 4416, ...
Can you tell me the average Total that has the Silver larger than 1, and the Bronze smaller than 8?
CREATE TABLE table_name_15 (total INTEGER, silver VARCHAR, bronze VARCHAR)
SELECT AVG(total) FROM table_name_15 WHERE silver > 1 AND bronze < 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 235, 1947, 3, 21342, 17966, 6, 4294, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 1072, 25, 817, 140, 8, 1348, 9273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 4294, 2490, 209, 3430, 13467, 3, 2, 505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the maximum aperture of the lens(es) with a focal length of 20mm?
CREATE TABLE table_name_77 ( max_aperture VARCHAR, focal_length VARCHAR )
SELECT max_aperture FROM table_name_77 WHERE focal_length = "20mm"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 9858, 834, 9, 883, 2693, 584, 4280, 28027, 6, 15949, 834, 19457, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2411, 28931, 13, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 9858, 834, 9, 883, 2693, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 15949, 834, 19457, 3274, 96, 1755, 635, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
until 2100, how many patients were admitted to the hospital?
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE vitalperiodic ( vitalperiodicid nu...
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE STRFTIME('%y', patient.hospitaladmittime) <= '2100'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1058, 41, 1058, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1058, 4350, 1499, 6, 1058, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 23886, 41, 23886, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 1868, 5, 202, 1495, 12417, 61, 21680, 1868, 549, 17444, 427, 3, 13733, 6245, 15382, 599, 31, 1454, 63, 31, 6, 1868, 5, 31386, 20466, 17, 715, 61, 3, 2, 2423, 3, 31, 357, 2915,...
Who was the winner in the game that had a title of 32nd, and Waseda as the runner-up?
CREATE TABLE table_name_56 ( winner VARCHAR, runner_up VARCHAR, title VARCHAR )
SELECT winner FROM table_name_56 WHERE runner_up = "waseda" AND title = "32nd"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 4668, 584, 4280, 28027, 6, 3, 10806, 834, 413, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 4668, 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, 4668, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 3, 10806, 834, 413, 3274, 96, 9491, 15, 26, 9, 121, 3430, 2233, 3274, 96, 2668, 727, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
The deputy that left office in 2003 took office in which year?
CREATE TABLE table_name_90 (took_office VARCHAR, left_office VARCHAR)
SELECT took_office FROM table_name_90 WHERE left_office = "2003"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 235, 1825, 834, 19632, 584, 4280, 28027, 6, 646, 834, 19632, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 37, 21108, 24, 646, 828, 16, 3888, 808,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 808, 834, 19632, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 646, 834, 19632, 3274, 96, 23948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Entrant has a vanwall straight-4 engine?
CREATE TABLE table_name_47 ( entrant VARCHAR, engine VARCHAR )
SELECT entrant FROM table_name_47 WHERE engine = "vanwall straight-4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 3, 295, 3569, 584, 4280, 28027, 6, 1948, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 4443, 3569, 65, 3, 9, 4049, 10279, 2541, 4278, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 295, 3569, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 1948, 3274, 96, 2132, 10279, 2541, 18, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
For all employees who have the letters D or S in their first name, draw a bar chart about the distribution of hire_date and the sum of manager_id bin hire_date by time, could you order by the Y-axis from low to high?
CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(4...
SELECT HIRE_DATE, SUM(MANAGER_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY SUM(MANAGER_ID)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6266, 41, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 11116, 632, 201, 4083, 517, 9215, 834, 567, 17683, 3, 4331, 4059, 599, 1828, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 180, 6122, 599, 9312, 188, 17966, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, 9914, ...
How many Asians live in the borough with 8109 Chinese population?
CREATE TABLE table_19149550_9 ( total_asian_population INTEGER, chinese_population VARCHAR )
SELECT MIN(total_asian_population) FROM table_19149550_9 WHERE chinese_population = 8109
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 24816, 17147, 834, 1298, 41, 792, 834, 9, 10488, 834, 9791, 7830, 3, 21342, 17966, 6, 3, 1436, 1496, 15, 834, 9791, 7830, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 235, 1947, 834, 9, 10488, 834, 9791, 7830, 61, 21680, 953, 834, 2294, 24816, 17147, 834, 1298, 549, 17444, 427, 3, 1436, 1496, 15, 834, 9791, 7830, 3274, 505, 17304, 1, -100, -100, -100, -100, -100, -...
What is the tyre with a 56 chassis?
CREATE TABLE table_name_99 ( tyre VARCHAR, chassis VARCHAR )
SELECT tyre FROM table_name_99 WHERE chassis = "56"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 3, 17, 63, 60, 584, 4280, 28027, 6, 22836, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 17, 63, 60, 28, 3, 9, 11526, 2283...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17, 63, 60, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 22836, 3274, 96, 4834, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is listed in notes for the athlete, lassi karonen?
CREATE TABLE table_name_46 (notes VARCHAR, athlete VARCHAR)
SELECT notes FROM table_name_46 WHERE athlete = "lassi karonen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 7977, 7, 584, 4280, 28027, 6, 17893, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 2616, 16, 3358, 21, 8, 17893, 6, 3, 7397, 23, 3, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3358, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 17893, 3274, 96, 7397, 23, 3, 4031, 106, 35, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Find All_Neutral and All_Games_Percent , and visualize them by a bar chart, and I want to rank by the names from low to high.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Per...
SELECT All_Neutral, All_Games_Percent FROM basketball_match ORDER BY All_Neutral
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 432, 834, 26288, 8792, 6, 432, 834, 23055, 7, 834, 12988, 3728, 21680, 8498, 834, 19515, 4674, 11300, 272, 476, 432, 834, 26288, 8792, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the Score in Final of the Eckerd Open Tournament?
CREATE TABLE table_name_21 (score_in_final VARCHAR, tournament_name VARCHAR)
SELECT score_in_final FROM table_name_21 WHERE tournament_name = "eckerd open"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 7, 9022, 834, 77, 834, 12406, 584, 4280, 28027, 6, 5892, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 17763, 16, 6514, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 834, 77, 834, 12406, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 5892, 834, 4350, 3274, 96, 15, 3383, 26, 539, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Location for the woodburn dragstrip?
CREATE TABLE table_name_12 ( location VARCHAR, name VARCHAR )
SELECT location FROM table_name_12 WHERE name = "woodburn dragstrip"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 1128, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 10450, 21, 8, 1679, 7223, 5439, 7, 14192, 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, 2122, 549, 17444, 427, 564, 3274, 96, 2037, 7223, 5439, 7, 14192, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What's the sum of the Pick that has the Position of Tackle, the Player Woody Adams, and a Round that's larger than 22?
CREATE TABLE table_name_69 ( pick VARCHAR, round VARCHAR, position VARCHAR, player VARCHAR )
SELECT COUNT(pick) FROM table_name_69 WHERE position = "tackle" AND player = "woody adams" AND round > 22
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 1432, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 17967, 61, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 1102, 3274, 96, 17, 9, 19376, 121, 3430, 1959, 3274, 96, 2037, 63, 3, 9, 7812, 7, 121, 3430, 1751, 2490, 1630, 1, -100, -100, -100, -...
What is the 3rd day when the 4th day is bumped by Caius?
CREATE TABLE table_13283 ( "Year" real, "Finish position" text, "1st day" text, "2nd day" text, "3rd day" text, "4th Day" text )
SELECT "3rd day" FROM table_13283 WHERE "4th Day" = 'bumped by caius'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23757, 4591, 41, 96, 476, 2741, 121, 490, 6, 96, 371, 77, 1273, 1102, 121, 1499, 6, 96, 536, 7, 17, 239, 121, 1499, 6, 96, 357, 727, 239, 121, 1499, 6, 96, 519, 52, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 519, 52, 26, 239, 121, 21680, 953, 834, 23757, 4591, 549, 17444, 427, 96, 591, 189, 1430, 121, 3274, 3, 31, 3007, 18109, 57, 212, 23, 302, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who is team 1 with an agg of 2-5?
CREATE TABLE table_name_1 (team_1 VARCHAR, agg VARCHAR)
SELECT team_1 FROM table_name_1 WHERE agg = "2-5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 11650, 834, 536, 584, 4280, 28027, 6, 3, 9, 4102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 372, 209, 28, 46, 3, 9, 4102, 13, 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, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 834, 536, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 3, 9, 4102, 3274, 96, 7412, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the genre of Super Mario Galaxy?
CREATE TABLE table_63862 ( "Year" real, "Game" text, "Genre" text, "Platform(s)" text, "Developer(s)" text )
SELECT "Genre" FROM table_63862 WHERE "Game" = 'super mario galaxy'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 3840, 357, 41, 96, 476, 2741, 121, 490, 6, 96, 23055, 121, 1499, 6, 96, 13714, 60, 121, 1499, 6, 96, 10146, 2032, 599, 7, 61, 121, 1499, 6, 96, 2962, 162, 8745, 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, 13714, 60, 121, 21680, 953, 834, 3891, 3840, 357, 549, 17444, 427, 96, 23055, 121, 3274, 3, 31, 21771, 2774, 32, 24856, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When was the opponent Bye?
CREATE TABLE table_name_52 ( date VARCHAR, opponent VARCHAR )
SELECT date FROM table_name_52 WHERE opponent = "bye"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 833, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 8, 15264, 938, 15, 58, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 15264, 3274, 96, 969, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the position that has the outgoing manager lászló Dajka?
CREATE TABLE table_name_60 (position_in_table VARCHAR, outgoing_manager VARCHAR)
SELECT position_in_table FROM table_name_60 WHERE outgoing_manager = "lászló dajka"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 4718, 834, 77, 834, 3869, 584, 4280, 28027, 6, 91, 9545, 834, 24185, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1102, 24, 65, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 834, 77, 834, 3869, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 91, 9545, 834, 24185, 3274, 96, 40, 2975, 7, 172, 40, 4922, 836, 354, 1258, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the first and last name of students who are living in the dorms that have amenity TV Lounge.
CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE lives_in ( stuid number, dormid number, room_number number ) CREATE TABLE has_amenity ( dormid number, amenid number ) CRE...
SELECT T1.fname, T1.lname FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid WHERE T2.dormid IN (SELECT T3.dormid FROM has_amenity AS T3 JOIN dorm_amenity AS T4 ON T3.amenid = T4.amenid WHERE T4.amenity_name = 'TV Lounge')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 41, 21341, 23, 26, 381, 6, 3, 40, 4350, 1499, 6, 3, 89, 4350, 1499, 6, 1246, 381, 6, 3, 7, 994, 1499, 6, 779, 381, 6, 8815, 381, 6, 690, 834, 4978, 1499, 3, 61, 3, 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, 332, 5411, 89, 4350, 6, 332, 5411, 40, 4350, 21680, 1236, 6157, 332, 536, 3, 15355, 3162, 1342, 834, 77, 6157, 332, 357, 9191, 332, 5411, 7, 17, 76, 23, 26, 3274, 332, 4416, 7, 17, 76, 23, 26, 549, 17444, 427, ...
how many patients whose religion is greek orthodox and year of birth is less than 2085?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.religion = "GREEK ORTHODOX" AND demographic.dob_year < "2085"
[ 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, 60, 2825, 23, 106, 3274, 96, 8727, 5080, 439, 4674, 4611, 7039, 667, 4, 121, 3430, 14798, 5, 26,...
In Week 13, who was the opponent?
CREATE TABLE table_name_98 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_98 WHERE week = 13
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 32, 102, 9977, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 86, 6551, 10670, 113, 47, 8, 15264, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 471, 3274, 1179, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many summer flag bearers have there been ?
CREATE TABLE table_204_266 ( id number, "#" number, "event year" number, "season" text, "flag bearer" text )
SELECT COUNT("flag bearer") FROM table_204_266 WHERE "season" = 'summer'
[ 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, 1, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 89, 5430, 4595, 49, 8512, 21680, 953, 834, 26363, 834, 357, 3539, 549, 17444, 427, 96, 9476, 121, 3274, 3, 31, 23541, 52, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the total number of times points were listed when the distance was 41.05 metres?
CREATE TABLE table_26454128_9 ( points VARCHAR, distance__metres_ VARCHAR )
SELECT COUNT(points) FROM table_26454128_9 WHERE distance__metres_ = "41.05"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 2128, 4853, 2577, 834, 1298, 41, 979, 584, 4280, 28027, 6, 2357, 834, 834, 22404, 7, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 2700, 7, 61, 21680, 953, 834, 2688, 2128, 4853, 2577, 834, 1298, 549, 17444, 427, 2357, 834, 834, 22404, 7, 834, 3274, 96, 4853, 5, 3076, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which tournament had the result with 2009 was F and 2010 was F?
CREATE TABLE table_4701 ( "Tournament" text, "2007" text, "2009" text, "2010" text, "2011" text )
SELECT "Tournament" FROM table_4701 WHERE "2009" = 'f' AND "2010" = 'f'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4177, 4542, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 20615, 121, 1499, 6, 96, 16660, 121, 1499, 6, 96, 14926, 121, 1499, 6, 96, 13907, 121, 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, 0, 0...
[ 3, 23143, 14196, 96, 382, 1211, 20205, 17, 121, 21680, 953, 834, 4177, 4542, 549, 17444, 427, 96, 16660, 121, 3274, 3, 31, 89, 31, 3430, 96, 14926, 121, 3274, 3, 31, 89, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, return a bar chart about the distribution of job_id and the sum of employee_id , and group by attribute job_id.
CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE...
SELECT JOB_ID, SUM(EMPLOYEE_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 613, 834, 10193, 10972, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 5097, 8241, 834, 308, 6048, 833, 6, 3, 14920, 834, 308, 6048, 833, 6, 446, 10539, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 180, 6122, 599, 6037, 345, 5017, 476, 5080, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 180, 4090, 24721, 272, 7969, 518, 23394, 3, 25129, 3430, 586, 2313, 3430, 3, 6657, 329, 16994, 9215, ...
What team has 2000-01 as the season?
CREATE TABLE table_75492 ( "Record" text, "Team" text, "Season" text, "League" text, "Number" real )
SELECT "Team" FROM table_75492 WHERE "Season" = '2000-01'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 3647, 357, 41, 96, 1649, 7621, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 2796, 9, 5398, 121, 1499, 6, 96, 567, 5937, 49, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 18699, 121, 21680, 953, 834, 3072, 3647, 357, 549, 17444, 427, 96, 134, 15, 9, 739, 121, 3274, 3, 31, 13527, 14772, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
In what year was the Gila Bend Overpass built?
CREATE TABLE table_name_79 ( built VARCHAR, name VARCHAR )
SELECT built FROM table_name_79 WHERE name = "gila bend overpass"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 1192, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 215, 47, 8, 12798, 9, 22435, 2035, 3968, 1192, 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, 1192, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 564, 3274, 96, 122, 173, 9, 17995, 147, 3968, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how many games had an attendance less than 45,000 people
CREATE TABLE table_203_828 ( id number, "date" text, "opponent#" text, "rank#" text, "site" text, "result" text, "attendance" number )
SELECT COUNT(*) FROM table_203_828 WHERE "attendance" < 45000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 927, 2577, 41, 3, 23, 26, 381, 6, 96, 5522, 121, 1499, 6, 96, 32, 102, 9977, 4663, 121, 1499, 6, 96, 6254, 4663, 121, 1499, 6, 96, 3585, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 23330, 834, 927, 2577, 549, 17444, 427, 96, 15116, 663, 121, 3, 2, 314, 12814, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the Opponent when the Attendance was 38,150?
CREATE TABLE table_67249 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text )
SELECT "Opponent" FROM table_67249 WHERE "Attendance" = '38,150'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 357, 3647, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 188, 17, 324, 26,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 3708, 357, 3647, 549, 17444, 427, 96, 188, 17, 324, 26, 663, 121, 3274, 3, 31, 3747, 6, 12278, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the number of top-25s in events under 13, cuts made under 3, and 1 top-10?
CREATE TABLE table_name_47 (top_25 VARCHAR, top_10 VARCHAR, events VARCHAR, cuts_made VARCHAR)
SELECT top_25 FROM table_name_47 WHERE events < 13 AND cuts_made < 3 AND top_10 = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 2916, 834, 1828, 584, 4280, 28027, 6, 420, 834, 1714, 584, 4280, 28027, 6, 984, 584, 4280, 28027, 6, 8620, 834, 4725, 584, 4280, 28027, 61, 3, 32102, 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, 420, 834, 1828, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 984, 3, 2, 1179, 3430, 8620, 834, 4725, 3, 2, 220, 3430, 420, 834, 1714, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what was patient 009-15's first ward identification the previous year?
CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellv...
SELECT patient.wardid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '009-15') AND DATETIME(patient.unitadmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') ORDER BY patient.unitadmittime LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7757, 41, 7757, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 17166, 1499, 6, 2981, 20466, 29, 1499, 6, 2672, 10208, 715, 97, 6, 4845, 2916, 715, 97, 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, 1868, 5, 2239, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3734, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15878, 3734, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, ...
name the player for number 5
CREATE TABLE table_23670057_1 (player VARCHAR, no VARCHAR)
SELECT player FROM table_23670057_1 WHERE no = 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3420, 9295, 3436, 834, 536, 41, 20846, 584, 4280, 28027, 6, 150, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 564, 8, 1959, 21, 381, 305, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1959, 21680, 953, 834, 357, 3420, 9295, 3436, 834, 536, 549, 17444, 427, 150, 3274, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
acute liver failure
CREATE TABLE table_test_29 ( "id" int, "bleeding" int, "left_ventricular_ejection_fraction_lvef" int, "systolic_blood_pressure_sbp" int, "hemoglobin_a1c_hba1c" float, "heart_disease" bool, "trauma" bool, "renal_disease" bool, "creatinine_clearance_cl" float, "hemorrhagic_stroke" ...
SELECT * FROM table_test_29 WHERE liver_disease = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4377, 834, 3166, 41, 96, 23, 26, 121, 16, 17, 6, 96, 27779, 53, 121, 16, 17, 6, 96, 17068, 834, 31695, 834, 15, 21440, 834, 22513, 834, 40, 162, 89, 121, 16, 17, 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, 1429, 21680, 953, 834, 4377, 834, 3166, 549, 17444, 427, 11501, 834, 26, 159, 14608, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show all calendar dates and bin by weekday in a bar chart, I want to rank y axis in desc order.
CREATE TABLE Roles ( Role_Code CHAR(15), Role_Name VARCHAR(255), Role_Description VARCHAR(255) ) CREATE TABLE All_Documents ( Document_ID INTEGER, Date_Stored DATETIME, Document_Type_Code CHAR(15), Document_Name CHAR(255), Document_Description CHAR(255), Other_Details VARCHAR(255) )...
SELECT Calendar_Date, COUNT(Calendar_Date) FROM Ref_Calendar ORDER BY COUNT(Calendar_Date) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2158, 965, 41, 2158, 109, 834, 22737, 3, 28027, 599, 1808, 201, 2158, 109, 834, 23954, 584, 4280, 28027, 599, 25502, 201, 2158, 109, 834, 2962, 11830, 584, 4280, 28027, 599, 25502, 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, 18783, 834, 308, 342, 6, 2847, 17161, 599, 14318, 35, 3439, 834, 308, 342, 61, 21680, 419, 89, 834, 14318, 35, 3439, 4674, 11300, 272, 476, 2847, 17161, 599, 14318, 35, 3439, 834, 308, 342, 61, 309, 25067, 1, -100, ...
Playoffs of league champs, and a Record of 77-63 is in what league?
CREATE TABLE table_name_63 ( league VARCHAR, playoffs VARCHAR, record VARCHAR )
SELECT league FROM table_name_63 WHERE playoffs = "league champs" AND record = "77-63"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 5533, 584, 4280, 28027, 6, 15289, 7, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2911, 1647, 7, 13, 5533, 13124, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5533, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 15289, 7, 3274, 96, 29512, 13124, 7, 121, 3430, 1368, 3274, 96, 4013, 18, 3891, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Where did Collingwood play as the home team?
CREATE TABLE table_name_28 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_28 WHERE home_team = "collingwood"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 15098, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2840, 410, 9919, 53, 2037, 577, 38, 8, 234, 372, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5669, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 234, 834, 11650, 3274, 96, 3297, 697, 2037, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the First Issue date of Bamboo Blade?
CREATE TABLE table_name_89 (first_issue VARCHAR, title VARCHAR)
SELECT first_issue FROM table_name_89 WHERE title = "bamboo blade"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3914, 41, 14672, 834, 13159, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1485, 13235, 833, 13, 30185, 23772, 58, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 166, 834, 13159, 21680, 953, 834, 4350, 834, 3914, 549, 17444, 427, 2233, 3274, 96, 115, 265, 12840, 8720, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
In which class had 252 laps and a position of dnf?
CREATE TABLE table_name_5 (class VARCHAR, pos VARCHAR, laps VARCHAR)
SELECT class FROM table_name_5 WHERE pos = "dnf" AND laps = 252
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 4057, 584, 4280, 28027, 6, 3, 2748, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 86, 84, 853, 141, 944, 357, 1494...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 853, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 3, 2748, 3274, 96, 26, 29, 89, 121, 3430, 14941, 7, 3274, 944, 357, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What Russian word translates to bucket?
CREATE TABLE table_name_34 ( russian VARCHAR, translation VARCHAR )
SELECT russian FROM table_name_34 WHERE translation = "bucket"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 3, 26165, 29, 584, 4280, 28027, 6, 7314, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 4263, 1448, 3, 29213, 12, 11325, 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, 3, 26165, 29, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 7314, 3274, 96, 13863, 15, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
A bar chart about what are the student IDs and middle names of the students enrolled in at most two courses?, and display in desc by the Y.
CREATE TABLE Student_Course_Enrolment ( registration_id INTEGER, student_id INTEGER, course_id INTEGER, date_of_enrolment DATETIME, date_of_completion DATETIME ) CREATE TABLE Course_Authors_and_Tutors ( author_id INTEGER, author_tutor_ATB VARCHAR(3), login_name VARCHAR(40), password...
SELECT T2.middle_name, T1.student_id FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id ORDER BY T1.student_id DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6341, 834, 3881, 3589, 15, 834, 8532, 3491, 297, 41, 3816, 834, 23, 26, 3, 21342, 17966, 6, 1236, 834, 23, 26, 3, 21342, 17966, 6, 503, 834, 23, 26, 3, 21342, 17966, 6, 833, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 51, 23, 8437, 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, 8...
How many episodes were written by Alison McDonald?
CREATE TABLE table_29155 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "U.S. viewers (million)" text )
SELECT COUNT("Directed by") FROM table_29155 WHERE "Written by" = 'Alison McDonald'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 20896, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 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, 2847, 17161, 599, 121, 23620, 15, 26, 57, 8512, 21680, 953, 834, 3166, 20896, 549, 17444, 427, 96, 24965, 324, 57, 121, 3274, 3, 31, 188, 40, 23, 739, 17970, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which title placed in rank 7?
CREATE TABLE table_name_7 ( title VARCHAR, rank VARCHAR )
SELECT title FROM table_name_7 WHERE rank = 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 2233, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 2233, 2681, 16, 11003, 489, 58, 1, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 11003, 3274, 489, 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 when the laps is less than 4?
CREATE TABLE table_55467 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT "Time/Retired" FROM table_55467 WHERE "Laps" < '4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 591, 3708, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 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, 96, 13368, 87, 1649, 11809, 26, 121, 21680, 953, 834, 3769, 591, 3708, 549, 17444, 427, 96, 3612, 102, 7, 121, 3, 2, 3, 31, 591, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
how many patients on medicaid insurance had a lab test for magnesium?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.insurance = "Medicaid" AND lab.label = "Magnesium"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Which status has an against of 35?
CREATE TABLE table_name_52 ( status VARCHAR, against VARCHAR )
SELECT status FROM table_name_52 WHERE against = 35
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 2637, 584, 4280, 28027, 6, 581, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 2637, 65, 46, 581, 13, 3097, 58, 1, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 2637, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 581, 3274, 3097, 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...
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and the sum of price , and group by attribute name, order by the x-axis from low to high.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT T1.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 23954, 6, 332, 5411, 345, 4920, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 332, 541...
When did the w 20-19 happen?
CREATE TABLE table_name_72 ( date VARCHAR, result VARCHAR )
SELECT date FROM table_name_72 WHERE result = "w 20-19"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 833, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 410, 8, 3, 210, 460, 4481, 1837, 58, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 741, 3274, 96, 210, 460, 4481, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Tell me the sum of rank for when gold is more than 0 and silver less than 23 with total more than 32
CREATE TABLE table_55257 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT SUM("Rank") FROM table_55257 WHERE "Gold" > '0' AND "Total" > '32' AND "Silver" < '23'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 357, 3436, 41, 96, 22557, 121, 490, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 22557, 8512, 21680, 953, 834, 3769, 357, 3436, 549, 17444, 427, 96, 23576, 121, 2490, 3, 31, 632, 31, 3430, 96, 3696, 1947, 121, 2490, 3, 31, 2668, 31, 3430, 96, 134, 173, 624, 121, 3, 2, 3,...
Find the names of all instructors in the Art department who have taught some course and the course_id.
CREATE TABLE instructor (ID VARCHAR, dept_name VARCHAR); CREATE TABLE teaches (ID VARCHAR)
SELECT name, course_id FROM instructor AS T1 JOIN teaches AS T2 ON T1.ID = T2.ID WHERE T1.dept_name = 'Art'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10617, 41, 4309, 584, 4280, 28027, 6, 20, 102, 17, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 11749, 41, 4309, 584, 4280, 28027, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 6, 503, 834, 23, 26, 21680, 10617, 6157, 332, 536, 3, 15355, 3162, 3, 11749, 6157, 332, 357, 9191, 332, 5411, 4309, 3274, 332, 4416, 4309, 549, 17444, 427, 332, 5411, 26, 6707, 834, 4350, 3274, 3, 31, 7754, 3...
What year did the team make conference semifinals?
CREATE TABLE table_name_15 (year VARCHAR, playoffs VARCHAR)
SELECT COUNT(year) FROM table_name_15 WHERE playoffs = "conference semifinals"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 1201, 584, 4280, 28027, 6, 15289, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 410, 8, 372, 143, 2542, 27504, 7, 58, 1, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1201, 61, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 15289, 7, 3274, 96, 28496, 27504, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the displacement for torque of n·m (lb·ft) @1500 rpm?
CREATE TABLE table_21021796_1 (displacement VARCHAR, torque VARCHAR)
SELECT displacement FROM table_21021796_1 WHERE torque = "N·m (lb·ft) @1500 rpm"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 14388, 2517, 4314, 834, 536, 41, 10475, 11706, 297, 584, 4280, 28027, 6, 19527, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 27780, 21, 19527, 13, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 27780, 21680, 953, 834, 357, 14388, 2517, 4314, 834, 536, 549, 17444, 427, 19527, 3274, 96, 567, 2, 51, 41, 40, 115, 2, 89, 17, 61, 3320, 536, 2560, 3, 52, 2028, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
What is the swimsuit score for the item that has 7.61 as evening gown
CREATE TABLE table_15081939_4 ( swimsuit VARCHAR, evening_gown VARCHAR )
SELECT swimsuit FROM table_15081939_4 WHERE evening_gown = "7.61"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 4018, 2294, 3288, 834, 591, 41, 9728, 7628, 584, 4280, 28027, 6, 2272, 834, 122, 9197, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 9728, 7628, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 9728, 7628, 21680, 953, 834, 1808, 4018, 2294, 3288, 834, 591, 549, 17444, 427, 2272, 834, 122, 9197, 3274, 96, 940, 5, 4241, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many games has number 61 played in?
CREATE TABLE table_name_29 ( games INTEGER, number VARCHAR )
SELECT MIN(games) AS ↑ FROM table_name_29 WHERE number = 61
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 1031, 3, 21342, 17966, 6, 381, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1031, 65, 381, 3, 4241, 1944, 16, 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, 3, 17684, 599, 7261, 7, 61, 6157, 3, 2, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 381, 3274, 3, 4241, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about commission_pct over the phone_number , sort in desc by the Y-axis.
CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), ...
SELECT PHONE_NUMBER, COMMISSION_PCT FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY COMMISSION_PCT DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1440, 41, 2847, 17161, 11824, 834, 4309, 3, 4331, 4059, 16426, 6, 2847, 17161, 11824, 834, 567, 17683, 3, 4331, 4059, 599, 2445, 201, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 1714, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8023, 7894, 834, 567, 6122, 12920, 6, 3, 6657, 329, 16994, 9215, 834, 4051, 382, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521,...
What is the names of the physicians who prescribe medication Thesisin?
CREATE TABLE medication ( code VARCHAR, name VARCHAR ) CREATE TABLE physician ( name VARCHAR, employeeid VARCHAR ) CREATE TABLE prescribes ( physician VARCHAR, medication VARCHAR )
SELECT DISTINCT T1.name FROM physician AS T1 JOIN prescribes AS T2 ON T1.employeeid = T2.physician JOIN medication AS T3 ON T3.code = T2.medication WHERE T3.name = "Thesisin"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7757, 41, 1081, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 10027, 41, 564, 584, 4280, 28027, 6, 3490, 23, 26, 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, 3, 15438, 25424, 6227, 332, 5411, 4350, 21680, 10027, 6157, 332, 536, 3, 15355, 3162, 27766, 7, 6157, 332, 357, 9191, 332, 5411, 15, 51, 7379, 63, 15, 15, 23, 26, 3274, 332, 4416, 6941, 7, 1294, 152, 3, 15355, 316...
What's the highest lane of rank 4 with a time less than 24.72?
CREATE TABLE table_name_62 (lane INTEGER, time VARCHAR, rank VARCHAR)
SELECT MAX(lane) FROM table_name_62 WHERE time < 24.72 AND rank = 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 8102, 3, 21342, 17966, 6, 97, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 2030, 3, 8102, 13, 11003,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 8102, 61, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 97, 3, 2, 997, 5, 5865, 3430, 11003, 3274, 314, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What country is the show aired on TVNZ?
CREATE TABLE table_14523485_9 (country VARCHAR, channel VARCHAR)
SELECT country FROM table_14523485_9 WHERE channel = "TVNZ"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20987, 357, 3710, 4433, 834, 1298, 41, 17529, 584, 4280, 28027, 6, 4245, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 684, 19, 8, 504, 3, 2378, 26, 30, 1424, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 20987, 357, 3710, 4433, 834, 1298, 549, 17444, 427, 4245, 3274, 96, 4562, 567, 956, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the official name of the municipality whose name in Spanish is Vitoria?
CREATE TABLE table_300283_1 ( official_name VARCHAR, name_in_spanish VARCHAR )
SELECT official_name FROM table_300283_1 WHERE name_in_spanish = "Vitoria"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5426, 2577, 519, 834, 536, 41, 2314, 834, 4350, 584, 4280, 28027, 6, 564, 834, 77, 834, 7, 2837, 1273, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2314, 834, 4350, 21680, 953, 834, 5426, 2577, 519, 834, 536, 549, 17444, 427, 564, 834, 77, 834, 7, 2837, 1273, 3274, 96, 553, 15467, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which race had a finish of 1st at Saratoga Race Course?
CREATE TABLE table_46438 ( "Finish" text, "Race" text, "Distance" text, "Jockey" text, "Time" text, "Victory Margin (in lengths)" text, "Runner up" text, "Track" text, "Surface" text, "Date" text )
SELECT "Race" FROM table_46438 WHERE "Finish" = '1st' AND "Track" = 'saratoga race course'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4389, 3747, 41, 96, 371, 77, 1273, 121, 1499, 6, 96, 448, 3302, 121, 1499, 6, 96, 308, 23, 8389, 121, 1499, 6, 96, 683, 3961, 15, 63, 121, 1499, 6, 96, 13368, 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, 448, 3302, 121, 21680, 953, 834, 591, 4389, 3747, 549, 17444, 427, 96, 371, 77, 1273, 121, 3274, 3, 31, 536, 7, 17, 31, 3430, 96, 382, 16729, 121, 3274, 3, 31, 7, 9, 1795, 19914, 1964, 503, 31, 1, -100, -1...
Name the coronie for marowijne being 6.8%
CREATE TABLE table_21149 ( "Religion" text, "Suriname" text, "Paramaribo" text, "Wanica" text, "Nickerie" text, "Coronie" text, "Saramacca" text, "Commewijne" text, "Marowijne" text, "Para" text, "Brokopondo" text, "Sipaliwini" text )
SELECT "Coronie" FROM table_21149 WHERE "Marowijne" = '6.8%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 24816, 41, 96, 1649, 2825, 23, 106, 121, 1499, 6, 96, 134, 459, 4350, 121, 1499, 6, 96, 13212, 265, 9, 6520, 32, 121, 1499, 6, 96, 518, 9, 12878, 121, 1499, 6, 96...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3881, 18074, 15, 121, 21680, 953, 834, 2658, 24816, 549, 17444, 427, 96, 7286, 2381, 28469, 15, 121, 3274, 3, 31, 948, 5, 5953, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how many patients below 20 years of age have stayed in the hospital for more than 14 days?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "20" AND demographic.days_stay > "14"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 545, 3, 2, 96, 1755, 121, 3430, 14798, 5, 1135, 7, 834, 21545, 2490, 96, 2534, 121, 1, -100, -...
What is the air date of the episode written by Itamar Moses?
CREATE TABLE table_25356350_3 ( original_air_date VARCHAR, written_by VARCHAR )
SELECT original_air_date FROM table_25356350_3 WHERE written_by = "Itamar Moses"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 2469, 3891, 1752, 834, 519, 41, 926, 834, 2256, 834, 5522, 584, 4280, 28027, 6, 1545, 834, 969, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 926, 834, 2256, 834, 5522, 21680, 953, 834, 1828, 2469, 3891, 1752, 834, 519, 549, 17444, 427, 1545, 834, 969, 3274, 96, 196, 17, 9, 1635, 20064, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Score has Points larger than 46, and a Game smaller than 35, and a December of 21?
CREATE TABLE table_34738 ( "Game" real, "December" real, "Opponent" text, "Score" text, "Record" text, "Points" real )
SELECT "Score" FROM table_34738 WHERE "Points" > '46' AND "Game" < '35' AND "December" = '21'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 4177, 3747, 41, 96, 23055, 121, 490, 6, 96, 29835, 121, 490, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 519, 4177, 3747, 549, 17444, 427, 96, 22512, 7, 121, 2490, 3, 31, 4448, 31, 3430, 96, 23055, 121, 3, 2, 3, 31, 2469, 31, 3430, 96, 29835, 121, 3274, 3, 31, 2658, 31, 1, -10...
Which type has a list entry number more than 1356436, named Albion Congregational Church?
CREATE TABLE table_7173 ( "Name" text, "Location" text, "Type" text, "Completed" text, "List entry number" real )
SELECT "Type" FROM table_7173 WHERE "List entry number" > '1356436' AND "Name" = 'albion congregational church'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4450, 4552, 41, 96, 23954, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 5890, 29014, 26, 121, 1499, 6, 96, 21310, 1764, 381, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 25160, 121, 21680, 953, 834, 4450, 4552, 549, 17444, 427, 96, 21310, 1764, 381, 121, 2490, 3, 31, 536, 2469, 4389, 3420, 31, 3430, 96, 23954, 121, 3274, 3, 31, 138, 6420, 29, 17368, 138, 2078, 31, 1, -100, -10...
what is the zip code of boonville
CREATE TABLE table_34538 ( "IN No." real, "County Name" text, "County Seat" text, "Time Zone" text, "Population (2010) (Rank)" text, "Area sq mi (km 2 ) (Rank)" text, "Twps" real, "ZIP code Prefix(es)" text, "% of Boundary by water" text )
SELECT "ZIP code Prefix(es)" FROM table_34538 WHERE "County Seat" = 'boonville'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2128, 3747, 41, 96, 3162, 465, 535, 490, 6, 96, 10628, 63, 5570, 121, 1499, 6, 96, 10628, 63, 15915, 121, 1499, 6, 96, 13368, 11628, 121, 1499, 6, 96, 27773, 7830, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 956, 4629, 1081, 1266, 12304, 599, 15, 7, 61, 121, 21680, 953, 834, 519, 2128, 3747, 549, 17444, 427, 96, 10628, 63, 15915, 121, 3274, 3, 31, 12840, 29, 1420, 31, 1, -100, -100, -100, -100, -100, -100, -100, -...
What date did the episode air when guy grossi won?
CREATE TABLE table_29281529_2 (airdate VARCHAR, winner VARCHAR)
SELECT airdate FROM table_29281529_2 WHERE winner = "Guy Grossi"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 2577, 1808, 3166, 834, 357, 41, 2256, 5522, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 410, 8, 5640, 799, 116, 4024, 8690...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 799, 5522, 21680, 953, 834, 3166, 2577, 1808, 3166, 834, 357, 549, 17444, 427, 4668, 3274, 96, 9105, 63, 17969, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
A bar chart about what is the average age for each city and what are those cities?, rank in ascending by the x axis.
CREATE TABLE Dorm_amenity ( amenid INTEGER, amenity_name VARCHAR(25) ) 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 Lives_in ( stuid INTEGER, ...
SELECT city_code, AVG(Age) FROM Student GROUP BY city_code ORDER BY city_code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6200, 51, 834, 9, 904, 485, 41, 183, 35, 23, 26, 3, 21342, 17966, 6, 183, 35, 485, 834, 4350, 584, 4280, 28027, 599, 1828, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 690, 834, 4978, 6, 71, 17217, 599, 188, 397, 61, 21680, 6341, 350, 4630, 6880, 272, 476, 690, 834, 4978, 4674, 11300, 272, 476, 690, 834, 4978, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the total number of goals when there are 3 draws, more than 18 losses, and played is smaller than 38?
CREATE TABLE table_name_40 ( goals_for VARCHAR, played VARCHAR, draws VARCHAR, losses VARCHAR )
SELECT COUNT(goals_for) FROM table_name_40 WHERE draws = 3 AND losses > 18 AND played < 38
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 1766, 834, 1161, 584, 4280, 28027, 6, 1944, 584, 4280, 28027, 6, 14924, 584, 4280, 28027, 6, 8467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 839, 5405, 834, 1161, 61, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 14924, 3274, 220, 3430, 8467, 2490, 507, 3430, 1944, 3, 2, 6654, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What type is locomotive CTN 1364?
CREATE TABLE table_name_29 (type VARCHAR, locomotive_number VARCHAR)
SELECT type FROM table_name_29 WHERE locomotive_number = "ctn 1364"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 6137, 584, 4280, 28027, 6, 31301, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 686, 19, 31301, 205, 11053, 1179, 4389, 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, 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, 686, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 31301, 834, 5525, 1152, 3274, 96, 75, 17, 29, 3, 23459, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the record for april 1
CREATE TABLE table_17102076_10 ( record VARCHAR, date VARCHAR )
SELECT record FROM table_17102076_10 WHERE date = "April 1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 1714, 1755, 3959, 834, 1714, 41, 1368, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1368, 21, 3, 9, 2246, 40, 209, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1368, 21680, 953, 834, 2517, 1714, 1755, 3959, 834, 1714, 549, 17444, 427, 833, 3274, 96, 23323, 209, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Constituency number for Meerut?
CREATE TABLE table_name_8 ( constituency_number VARCHAR, name VARCHAR )
SELECT constituency_number FROM table_name_8 WHERE name = "meerut"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 6439, 4392, 834, 5525, 1152, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 22636, 4392, 381, 21, 14255, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6439, 4392, 834, 5525, 1152, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 564, 3274, 96, 526, 15, 6830, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is Peter's score in kendo that has a plat'num less than 3?
CREATE TABLE table_38654 ( "Discipline" text, "Peter" real, "Adam" real, "Jade" real, "Plat'num" real )
SELECT MIN("Peter") FROM table_38654 WHERE "Discipline" = 'kendo' AND "Plat'num" < '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3747, 4122, 591, 41, 96, 15683, 23, 10574, 15, 121, 1499, 6, 96, 345, 15, 449, 121, 490, 6, 96, 188, 7812, 121, 490, 6, 96, 683, 9, 221, 121, 490, 6, 96, 10146, 31, 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, 17684, 599, 121, 345, 15, 449, 8512, 21680, 953, 834, 3747, 4122, 591, 549, 17444, 427, 96, 15683, 23, 10574, 15, 121, 3274, 3, 31, 2217, 26, 32, 31, 3430, 96, 10146, 31, 5525, 121, 3, 2, 3, 31, 519, 31, 1,...
What is the dma when the format is rhythmic contemporary?
CREATE TABLE table_22826 ( "DMA" real, "Market" text, "Station" text, "Frequency" text, "Branding" text, "Format" text )
SELECT MIN("DMA") FROM table_22826 WHERE "Format" = 'Rhythmic Contemporary'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2577, 2688, 41, 96, 308, 4148, 121, 490, 6, 96, 22572, 121, 1499, 6, 96, 134, 6821, 121, 1499, 6, 96, 371, 60, 835, 11298, 121, 1499, 6, 96, 18304, 727, 53, 121, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 308, 4148, 8512, 21680, 953, 834, 357, 2577, 2688, 549, 17444, 427, 96, 3809, 3357, 121, 3274, 3, 31, 27224, 447, 16590, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many different kit manufacturers are involved ?
CREATE TABLE table_204_567 ( id number, "team" text, "location" text, "stadium" text, "capacity" number, "manager" text, "captain" text, "kit manufacturer" text, "shirt sponsor" text )
SELECT COUNT(DISTINCT "kit manufacturer") FROM table_204_567
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 755, 3708, 41, 3, 23, 26, 381, 6, 96, 11650, 121, 1499, 6, 96, 14836, 121, 1499, 6, 96, 2427, 12925, 121, 1499, 6, 96, 4010, 9, 6726, 121, 381, 6, 96, 24185...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 96, 9229, 4818, 8512, 21680, 953, 834, 26363, 834, 755, 3708, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many parties of the time they took office, binning the left office into Weekday interval, and then split by the minister's name.
CREATE TABLE party ( Party_ID int, Minister text, Took_office text, Left_office text, Region_ID int, Party_name text ) CREATE TABLE member ( Member_ID int, Member_Name text, Party_ID text, In_office text ) CREATE TABLE region ( Region_ID int, Region_name text, Date ...
SELECT Left_office, COUNT(Left_office) FROM party GROUP BY Minister
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1088, 41, 3450, 834, 4309, 16, 17, 6, 3271, 1499, 6, 304, 1825, 834, 19632, 1499, 6, 14298, 834, 19632, 1499, 6, 6163, 834, 4309, 16, 17, 6, 3450, 834, 4350, 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, 14298, 834, 19632, 6, 2847, 17161, 599, 2796, 89, 17, 834, 19632, 61, 21680, 1088, 350, 4630, 6880, 272, 476, 3271, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What network airs on virtual channel 23.1?
CREATE TABLE table_30609 ( "Callsign" text, "City of license" text, "Virtual channel" text, "Digital channel" text, "Network" text )
SELECT "Network" FROM table_30609 WHERE "Virtual channel" = '23.1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1458, 948, 4198, 41, 96, 254, 1748, 6732, 121, 1499, 6, 96, 254, 485, 13, 3344, 121, 1499, 6, 96, 21031, 17, 3471, 4245, 121, 1499, 6, 96, 30225, 4245, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 9688, 1981, 121, 21680, 953, 834, 1458, 948, 4198, 549, 17444, 427, 96, 21031, 17, 3471, 4245, 121, 3274, 3, 31, 357, 18495, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many games had at least a score of two or more points ?
CREATE TABLE table_203_442 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text )
SELECT COUNT(*) FROM table_203_442 WHERE "score" + "score" >= 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3628, 357, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 15098, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 7, 9022, 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, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 23330, 834, 3628, 357, 549, 17444, 427, 96, 7, 9022, 121, 1768, 96, 7, 9022, 121, 2490, 2423, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the away team of the UEFA champions league?
CREATE TABLE table_6834 ( "Season" text, "Competition" text, "Round" text, "Opponent" text, "Home" text, "Away" text )
SELECT "Away" FROM table_6834 WHERE "Competition" = 'uefa champions league'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 3710, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 5890, 4995, 4749, 121, 1499, 6, 96, 448, 32, 1106, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 19040, 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, 188, 1343, 121, 21680, 953, 834, 3651, 3710, 549, 17444, 427, 96, 5890, 4995, 4749, 121, 3274, 3, 31, 76, 15, 89, 9, 6336, 7, 5533, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the average top 10 score for 2 starts, winnings of $135,984 and an average finish more than 43?
CREATE TABLE table_76599 ( "Year" real, "Starts" real, "Wins" real, "Top 10" real, "Avg. Start" real, "Avg. Finish" real, "Winnings" text, "Position" text )
SELECT AVG("Top 10") FROM table_76599 WHERE "Starts" = '2' AND "Winnings" = '$135,984' AND "Avg. Finish" > '43'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 755, 3264, 41, 96, 476, 2741, 121, 490, 6, 96, 7681, 17, 7, 121, 490, 6, 96, 18455, 7, 121, 490, 6, 96, 22481, 335, 121, 490, 6, 96, 188, 208, 122, 5, 3273, 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, 335, 8512, 21680, 953, 834, 3959, 755, 3264, 549, 17444, 427, 96, 7681, 17, 7, 121, 3274, 3, 31, 357, 31, 3430, 96, 518, 10503, 7, 121, 3274, 3, 31, 3229, 2368, 11116, 3916, 591, 31, ...
What is Mike Smith's To par?
CREATE TABLE table_name_79 ( to_par VARCHAR, player VARCHAR )
SELECT to_par FROM table_name_79 WHERE player = "mike smith"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 12, 834, 1893, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 4794, 3931, 31, 7, 304, 260, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 12, 834, 1893, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 1959, 3274, 96, 20068, 15, 3, 16331, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What's the event that had a performance of 14:11.15 by Ethiopia?
CREATE TABLE table_66265 ( "Event" text, "Performance" text, "Athlete" text, "Nation" text, "Place" text, "Date" text )
SELECT "Event" FROM table_66265 WHERE "Nation" = 'ethiopia' AND "Performance" = '14:11.15'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 357, 4122, 41, 96, 427, 2169, 121, 1499, 6, 96, 12988, 2032, 663, 121, 1499, 6, 96, 188, 189, 1655, 15, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 345, 11706, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3539, 357, 4122, 549, 17444, 427, 96, 567, 257, 121, 3274, 3, 31, 15, 7436, 18916, 31, 3430, 96, 12988, 2032, 663, 121, 3274, 3, 31, 2534, 10, 10032, 1808, 31, 1, -100, -100, ...
hypertension: defined as uncontrolled bp > 150 / 90
CREATE TABLE table_train_114 ( "id" int, "gender" string, "systolic_blood_pressure_sbp" int, "hgba1c" float, "fasting_blood_glucose_fbg" float, "cortical_stroke" bool, "diastolic_blood_pressure_dbp" int, "hypertension" bool, "age" float, "NOUSE" float )
SELECT * FROM table_train_114 WHERE hypertension = 1 OR systolic_blood_pressure_sbp >= 150 OR diastolic_blood_pressure_dbp >= 90
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 18959, 41, 96, 23, 26, 121, 16, 17, 6, 96, 122, 3868, 121, 6108, 6, 96, 7, 63, 7, 235, 2176, 834, 27798, 834, 26866, 834, 7, 115, 102, 121, 16, 17, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 18959, 549, 17444, 427, 6676, 13177, 3274, 209, 4674, 3, 7, 63, 7, 235, 2176, 834, 27798, 834, 26866, 834, 7, 115, 102, 2490, 2423, 4261, 4674, 1227, 9, 7, 235, 2176, 834, 27798, ...
Name the result for total attendance-regular season
CREATE TABLE table_21436373_11 (result_games VARCHAR, type_of_record VARCHAR)
SELECT result_games FROM table_21436373_11 WHERE type_of_record = "Total attendance-Regular season"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 4906, 3891, 4552, 834, 2596, 41, 60, 7, 83, 17, 834, 7261, 7, 584, 4280, 28027, 6, 686, 834, 858, 834, 60, 7621, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 834, 7261, 7, 21680, 953, 834, 2658, 4906, 3891, 4552, 834, 2596, 549, 17444, 427, 686, 834, 858, 834, 60, 7621, 3274, 96, 3696, 1947, 11364, 18, 17748, 4885, 774, 121, 1, -100, -100, -100, -100, -100, -100, -1...
Which Creator has the Latest stable release of unknown, and a Name of myeclipse?
CREATE TABLE table_name_33 ( creator VARCHAR, latest_stable_release VARCHAR, name VARCHAR )
SELECT creator FROM table_name_33 WHERE latest_stable_release = "unknown" AND name = "myeclipse"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 9931, 584, 4280, 28027, 6, 1251, 834, 7, 3869, 834, 21019, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 19564,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9931, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 1251, 834, 7, 3869, 834, 21019, 3274, 96, 202, 5661, 121, 3430, 564, 3274, 96, 2258, 15, 16744, 7, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
Tell me the opponent that had a result of l 27-20
CREATE TABLE table_10599 ( "Week" text, "Date" text, "Opponent" text, "Result" text, "Kickoff [a ]" text, "Game site" text, "Attendance" text, "Record" text )
SELECT "Opponent" FROM table_10599 WHERE "Result" = 'l 27-20'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 12869, 3264, 41, 96, 518, 10266, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 439, 3142, 1647, 784, 9, 3, 90...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 12869, 3264, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 40, 2307, 7988, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the 2012 election results for locations whose representative is Barbara Lee?
CREATE TABLE table_19283806_4 (representative VARCHAR)
SELECT 2012 AS _election_results FROM table_19283806_4 WHERE representative = "Barbara Lee"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 2577, 3747, 5176, 834, 591, 41, 60, 12640, 1528, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1673, 4356, 772, 21, 3248, 3, 2544, 6978, 19, 13163, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1673, 6157, 3, 834, 15, 12252, 834, 60, 7, 83, 17, 7, 21680, 953, 834, 2294, 2577, 3747, 5176, 834, 591, 549, 17444, 427, 6978, 3274, 96, 14851, 1047, 9, 5531, 121, 1, -100, -100, -100, -100, -100, -100, -100, -10...
what was the number of wins for preferente ?
CREATE TABLE table_203_783 ( id number, "season" text, "tier" number, "division" text, "place" text )
SELECT COUNT(*) FROM table_203_783 WHERE "division" = 'preferente'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3940, 519, 41, 3, 23, 26, 381, 6, 96, 9476, 121, 1499, 6, 96, 3276, 121, 381, 6, 96, 26, 23, 6610, 121, 1499, 6, 96, 4687, 121, 1499, 3, 61, 3, 32102, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 23330, 834, 3940, 519, 549, 17444, 427, 96, 26, 23, 6610, 121, 3274, 3, 31, 2026, 1010, 4617, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Get me the number of patients who had urgent hospital admission along with a creatinine lab test.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "URGENT" AND lab.label = "Creatinine"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What mark has over 813 points in the United States, and a 0.152 react?
CREATE TABLE table_46201 ( "Lane" real, "Name" text, "Country" text, "Mark" text, "React" real, "Points" real )
SELECT "Mark" FROM table_46201 WHERE "Points" > '813' AND "Country" = 'united states' AND "React" > '0.152'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 22772, 41, 96, 434, 152, 15, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 19762, 121, 1499, 6, 96, 1649, 2708, 121, 490, 6, 96, 22512, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19762, 121, 21680, 953, 834, 4448, 22772, 549, 17444, 427, 96, 22512, 7, 121, 2490, 3, 31, 927, 2368, 31, 3430, 96, 10628, 651, 121, 3274, 3, 31, 15129, 15, 26, 2315, 31, 3430, 96, 1649, 2708, 121, 2490, 3, ...
What are the lowest points when poles were 0 and races were 10?
CREATE TABLE table_24405773_1 (points INTEGER, poles VARCHAR, races VARCHAR)
SELECT MIN(points) FROM table_24405773_1 WHERE poles = 0 AND races = 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 2445, 3436, 4552, 834, 536, 41, 2700, 7, 3, 21342, 17966, 6, 11148, 7, 584, 4280, 28027, 6, 10879, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 74...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 2700, 7, 61, 21680, 953, 834, 2266, 2445, 3436, 4552, 834, 536, 549, 17444, 427, 11148, 7, 3274, 3, 632, 3430, 10879, 3274, 335, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...