NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What was the location attendance when Andray Blatche (9) got high rebounds?
CREATE TABLE table_27721131_10 ( location_attendance VARCHAR, high_rebounds VARCHAR )
SELECT location_attendance FROM table_27721131_10 WHERE high_rebounds = "Andray Blatche (9)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4013, 2658, 22048, 834, 1714, 41, 1128, 834, 15116, 663, 584, 4280, 28027, 6, 306, 834, 23768, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1128, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1128, 834, 15116, 663, 21680, 953, 834, 357, 4013, 2658, 22048, 834, 1714, 549, 17444, 427, 306, 834, 23768, 3274, 96, 7175, 2866, 6942, 17, 1033, 41, 11728, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What s the episode number in the season that was written by Nancy Oliver?
CREATE TABLE table_73346 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text )
SELECT MAX("No. in season") FROM table_73346 WHERE "Written by" = 'Nancy Oliver'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4552, 519, 4448, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 4168, 5, 16, 774, 8512, 21680, 953, 834, 4552, 519, 4448, 549, 17444, 427, 96, 24965, 324, 57, 121, 3274, 3, 31, 567, 6833, 15865, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the date that the record was 51-14?
CREATE TABLE table_46020 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Location" text, "Record" text )
SELECT "Date" FROM table_46020 WHERE "Record" = '51-14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25991, 1755, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 25991, 1755, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 5553, 11590, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the total number of index weighting % at 17 january 2013 for bouygues
CREATE TABLE table_168274_1 ( index_weighting___percentage__at_17_january_2013 VARCHAR, company VARCHAR )
SELECT COUNT(index_weighting___percentage__at_17_january_2013) FROM table_168274_1 WHERE company = "Bouygues"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24274, 2555, 591, 834, 536, 41, 5538, 834, 9378, 53, 834, 834, 834, 883, 3728, 545, 834, 834, 144, 834, 2517, 834, 7066, 76, 1208, 834, 11138, 584, 4280, 28027, 6, 349, 584...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18288, 834, 9378, 53, 834, 834, 834, 883, 3728, 545, 834, 834, 144, 834, 2517, 834, 7066, 76, 1208, 834, 11138, 61, 21680, 953, 834, 24274, 2555, 591, 834, 536, 549, 17444, 427, 349, 3274, 96, 279,...
What was the score for the away team when geelong was the home team?
CREATE TABLE table_name_4 ( away_team VARCHAR, home_team VARCHAR )
SELECT away_team AS score FROM table_name_4 WHERE home_team = "geelong"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 550, 834, 11650, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 21, 8, 550, 372, 116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 550, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 234, 834, 11650, 3274, 96, 397, 15, 2961, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
If the call sign is DXYR, what is the branding?
CREATE TABLE table_19874169_3 ( branding VARCHAR, callsign VARCHAR )
SELECT branding FROM table_19874169_3 WHERE callsign = "DXYR"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24151, 4581, 27096, 834, 519, 41, 14282, 584, 4280, 28027, 6, 580, 6732, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 156, 8, 580, 1320, 19, 309, 4, 476, 448, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 14282, 21680, 953, 834, 24151, 4581, 27096, 834, 519, 549, 17444, 427, 580, 6732, 3274, 96, 308, 4, 476, 448, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What year did jockey Ramon Dominguez have a distance of 1-1/16?
CREATE TABLE table_name_40 ( year VARCHAR, distance VARCHAR, jockey VARCHAR )
SELECT year FROM table_name_40 WHERE distance = "1-1/16" AND jockey = "ramon dominguez"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 215, 584, 4280, 28027, 6, 2357, 584, 4280, 28027, 6, 8624, 4397, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 410, 8624, 4397, 4425,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 215, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 2357, 3274, 96, 536, 2292, 16033, 121, 3430, 8624, 4397, 3274, 96, 2375, 106, 10138, 1744, 457, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
so whats the last weight of patient 010-1155 when they visited the hospital last time?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE medication ( med...
SELECT patient.admissionweight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-1155' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime DESC LIMIT 1) AND NOT patient.admissionweight IS NULL ORDER ...
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 23886, 41, 23886, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 23886, 4350, 1499, 6, 23886, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1868, 5, 9, 26, 5451, 9378, 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, 1...
What is the lightest Weight (kg), when the Jersey # is greater than 22, when the Position is F, and when the Birthdate is March 19, 1980?
CREATE TABLE table_name_62 ( weight__kg_ INTEGER, birthdate VARCHAR, jersey__number VARCHAR, position VARCHAR )
SELECT MIN(weight__kg_) FROM table_name_62 WHERE jersey__number > 22 AND position = "f" AND birthdate = "march 19, 1980"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 1293, 834, 834, 8711, 834, 3, 21342, 17966, 6, 3879, 5522, 584, 4280, 28027, 6, 13426, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 1102, 584, 4280, 28027,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 9378, 834, 834, 8711, 834, 61, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 13426, 834, 834, 5525, 1152, 2490, 1630, 3430, 1102, 3274, 96, 89, 121, 3430, 3879, 5522, 3274, 96, 51, 7064, 12370, 6...
Name the latitude of laima tessera
CREATE TABLE table_16799784_2 (latitude VARCHAR, name VARCHAR)
SELECT latitude FROM table_16799784_2 WHERE name = "Laima Tessera"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 4440, 21441, 591, 834, 357, 41, 521, 6592, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 50, 6592, 13, 50, 603, 9, 3, 1422, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 50, 6592, 21680, 953, 834, 2938, 4440, 21441, 591, 834, 357, 549, 17444, 427, 564, 3274, 96, 3612, 603, 9, 2255, 7, 7, 1498, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
When was the song titled if you talk in your sleep released?
CREATE TABLE table_40062 ( "Track" real, "Recorded" text, "Catalogue" text, "Release date" text, "Song title" text, "Writer(s)" text, "Time" text )
SELECT "Release date" FROM table_40062 WHERE "Song title" = 'if you talk in your sleep'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5548, 4056, 41, 96, 382, 16729, 121, 490, 6, 96, 1649, 7621, 15, 26, 121, 1499, 6, 96, 18610, 9, 10384, 121, 1499, 6, 96, 1649, 40, 14608, 833, 121, 1499, 6, 96, 134, 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, 1649, 40, 14608, 833, 121, 21680, 953, 834, 5548, 4056, 549, 17444, 427, 96, 134, 2444, 2233, 121, 3274, 3, 31, 99, 25, 1350, 16, 39, 2085, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many patients whose diagnoses long title is anemia in chronic kidney disease?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.long_title = "Anemia in chronic kidney disease"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
Who was the Republican in the district more than 4?
CREATE TABLE table_name_49 ( republican VARCHAR, district INTEGER )
SELECT republican FROM table_name_49 WHERE district > 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 20237, 152, 584, 4280, 28027, 6, 3939, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 8994, 16, 8, 3939, 72, 145, 314, 58, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 20237, 152, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 3939, 2490, 314, 1, -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 lowest number of wins?
CREATE TABLE table_14853156_2 ( wins INTEGER )
SELECT MIN(wins) FROM table_14853156_2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24748, 4867, 25463, 834, 357, 41, 9204, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 381, 13, 9204, 58, 1, 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, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 3757, 7, 61, 21680, 953, 834, 24748, 4867, 25463, 834, 357, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the capacity of code f4r?
CREATE TABLE table_name_81 (capacity VARCHAR, code VARCHAR)
SELECT capacity FROM table_name_81 WHERE code = "f4r"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 4010, 9, 6726, 584, 4280, 28027, 6, 1081, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2614, 13, 1081, 3, 89, 591, 52, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2614, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 1081, 3274, 96, 89, 591, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which res has a Record of 3-0?
CREATE TABLE table_name_35 ( res VARCHAR, record VARCHAR )
SELECT res FROM table_name_35 WHERE record = "3-0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 3, 60, 7, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, 60, 7, 65, 3, 9, 11392, 13, 3, 22773, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 60, 7, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 1368, 3274, 96, 22773, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the attendance on september 29?
CREATE TABLE table_62474 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" real )
SELECT MAX("Attendance") FROM table_62474 WHERE "Date" = 'september 29'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4056, 4177, 591, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 23055, 353, 121, 1499, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 4056, 4177, 591, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 7, 6707, 18247, 2838, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the general classification for steven kruijswijk
CREATE TABLE table_29077342_19 ( general_classification VARCHAR, winner VARCHAR )
SELECT general_classification FROM table_29077342_19 WHERE winner = "Steven Kruijswijk"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23838, 4013, 3710, 357, 834, 2294, 41, 879, 834, 4057, 2420, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 879, 13774, 21, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 879, 834, 4057, 2420, 21680, 953, 834, 23838, 4013, 3710, 357, 834, 2294, 549, 17444, 427, 4668, 3274, 96, 14337, 1926, 19630, 23, 354, 7, 210, 25548, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How few runs does the 97.00 average have?
CREATE TABLE table_27922491_11 (runs INTEGER, average VARCHAR)
SELECT MIN(runs) FROM table_27922491_11 WHERE average = "97.00"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4508, 2266, 4729, 834, 2596, 41, 4312, 7, 3, 21342, 17966, 6, 1348, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 360, 3154, 405, 8, 3, 4327, 4200, 1348, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17684, 599, 4312, 7, 61, 21680, 953, 834, 2555, 4508, 2266, 4729, 834, 2596, 549, 17444, 427, 1348, 3274, 96, 4327, 4200, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the maximum number of blocks where rebounds equal 35?
CREATE TABLE table_23193 ( "Player" text, "Games Played" real, "Rebounds" real, "Assists" real, "Steals" real, "Blocks" real, "Points" real )
SELECT MAX("Blocks") FROM table_23193 WHERE "Rebounds" = '35'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 2294, 519, 41, 96, 15800, 49, 121, 1499, 6, 96, 23055, 7, 2911, 15, 26, 121, 490, 6, 96, 1649, 6115, 7, 121, 490, 6, 96, 188, 7, 7, 343, 7, 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, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 279, 4029, 7, 8512, 21680, 953, 834, 2773, 2294, 519, 549, 17444, 427, 96, 1649, 6115, 7, 121, 3274, 3, 31, 2469, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which area 2006 km² has an area 1996 km² of 26.39, and a pop 2006 smaller than 18,610?
CREATE TABLE table_name_94 (area_2006_km² INTEGER, area_1996_km² VARCHAR, pop_2006 VARCHAR)
SELECT MIN(area_2006_km²) FROM table_name_94 WHERE area_1996_km² = 26.39 AND pop_2006 < 18 OFFSET 610
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 498, 834, 21196, 834, 5848, 357, 3, 21342, 17966, 6, 616, 834, 2294, 4314, 834, 5848, 357, 584, 4280, 28027, 6, 2783, 834, 21196, 584, 4280, 28027, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 498, 834, 21196, 834, 5848, 7318, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 616, 834, 2294, 4314, 834, 5848, 357, 3274, 2208, 5, 3288, 3430, 2783, 834, 21196, 3, 2, 507, 3, 15316, 20788, 3, ...
Who was the champion earlier than 1978 when the runner-up was Jimmy Connors?
CREATE TABLE table_name_90 ( champion VARCHAR, runner_up VARCHAR, year VARCHAR )
SELECT champion FROM table_name_90 WHERE runner_up = "jimmy connors" AND year < 1978
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 6336, 584, 4280, 28027, 6, 3, 10806, 834, 413, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 6336, 228...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6336, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 3, 10806, 834, 413, 3274, 96, 354, 603, 2258, 975, 29, 127, 7, 121, 3430, 215, 3, 2, 14834, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the average round where Dave Stachelski was picked smaller than 187.
CREATE TABLE table_name_28 (round INTEGER, overall VARCHAR, player VARCHAR)
SELECT AVG(round) FROM table_name_28 WHERE overall < 187 AND player = "dave stachelski"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 7775, 3, 21342, 17966, 6, 1879, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1348, 1751, 213, 8545, 472, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 7775, 61, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 1879, 3, 2, 3, 25828, 3430, 1959, 3274, 96, 26, 9, 162, 3342, 8738, 4009, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How much Money( )australia has ?
CREATE TABLE table_name_11 ( money___£__ VARCHAR, country VARCHAR )
SELECT money___£__ FROM table_name_11 WHERE country = "australia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 540, 834, 834, 834, 19853, 834, 834, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 231, 8833, 599, 3, 61, 2064...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 540, 834, 834, 834, 19853, 834, 834, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 684, 3274, 96, 2064, 8792, 23, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the last name of each student who is not allergic to any type of food? Count them with a bar chart, and show by the X in desc.
CREATE TABLE Has_Allergy ( StuID INTEGER, Allergy VARCHAR(20) ) CREATE TABLE Allergy_Type ( Allergy VARCHAR(20), AllergyType VARCHAR(20) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER...
SELECT LName, COUNT(LName) FROM Student WHERE NOT StuID IN (SELECT T1.StuID FROM Has_Allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy WHERE T2.AllergyType = "food") GROUP BY LName ORDER BY LName DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4498, 834, 6838, 49, 122, 63, 41, 3, 13076, 4309, 3, 21342, 17966, 6, 432, 49, 122, 63, 584, 4280, 28027, 599, 1755, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 301, 23954, 6, 2847, 17161, 599, 434, 23954, 61, 21680, 6341, 549, 17444, 427, 4486, 3, 13076, 4309, 3388, 41, 23143, 14196, 332, 5411, 13076, 4309, 21680, 4498, 834, 6838, 49, 122, 63, 6157, 332, 536, 3, 15355, 3162,...
What is the lowest rank with a value less than 1,200 million and revenue less than 396 million for Manchester City?
CREATE TABLE table_15637 ( "Rank" real, "Team" text, "Country" text, "Value ($M)" real, "% change on year" real, "Revenue ($M)" real )
SELECT MIN("Rank") FROM table_15637 WHERE "Value ($M)" < '1,200' AND "Revenue ($M)" < '396' AND "Team" = 'manchester city'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25463, 4118, 41, 96, 22557, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 18392, 76, 15, 8785, 329, 61, 121, 490, 6, 96, 1454, 483, 30, 215, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22557, 8512, 21680, 953, 834, 25463, 4118, 549, 17444, 427, 96, 18392, 76, 15, 8785, 329, 61, 121, 3, 2, 3, 31, 4347, 3632, 31, 3430, 96, 1649, 15098, 8785, 329, 61, 121, 3, 2, 3, 31, 519, ...
what is the drug name and drug dose of the drug code pant40?
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 prescription...
SELECT prescriptions.drug, prescriptions.drug_dose FROM prescriptions WHERE prescriptions.formulary_drug_cd = "PANT40"
[ 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, 7744, 7, 5, 26, 13534, 6, 7744, 7, 5, 26, 13534, 834, 12051, 21680, 7744, 7, 549, 17444, 427, 7744, 7, 5, 20128, 63, 834, 26, 13534, 834, 75, 26, 3274, 96, 345, 9156, 2445, 121, 1, -100, -100, -100, -100, -100, ...
Who were the semifinalists when the runner-up was Peter Feigl?
CREATE TABLE table_29302781_12 (semifinalists VARCHAR, runner_up VARCHAR)
SELECT semifinalists FROM table_29302781_12 WHERE runner_up = "Peter Feigl"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 1458, 2555, 4959, 834, 2122, 41, 7, 15, 51, 23, 28077, 584, 4280, 28027, 6, 3, 10806, 834, 413, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 130, 8, 477...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4772, 28077, 21680, 953, 834, 3166, 1458, 2555, 4959, 834, 2122, 549, 17444, 427, 3, 10806, 834, 413, 3274, 96, 345, 15, 449, 4163, 23, 122, 40, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the drug name and route for the drug code amid200?
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 prescriptions.drug, prescriptions.route FROM prescriptions WHERE prescriptions.formulary_drug_cd = "AMID200"
[ 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, 7744, 7, 5, 26, 13534, 6, 7744, 7, 5, 20300, 21680, 7744, 7, 549, 17444, 427, 7744, 7, 5, 20128, 63, 834, 26, 13534, 834, 75, 26, 3274, 96, 188, 21003, 3632, 121, 1, -100, -100, -100, -100, -100, -100, -100, -10...
What is the total rank for the athlete that had a race time of 7:34.24?
CREATE TABLE table_name_56 ( rank VARCHAR, time VARCHAR )
SELECT COUNT(rank) FROM table_name_56 WHERE time = "7:34.24"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 11003, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 11003, 21, 8, 17893, 24, 141, 3, 9, 1964, 97...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 6254, 61, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 97, 3274, 96, 940, 10, 3710, 5, 2266, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total of Game with an Opponent of @ Hartford Whalers and February that's larger than 19?
CREATE TABLE table_name_49 ( game INTEGER, opponent VARCHAR, february VARCHAR )
SELECT SUM(game) FROM table_name_49 WHERE opponent = "@ hartford whalers" AND february > 19
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 467, 3, 21342, 17966, 6, 15264, 584, 4280, 28027, 6, 29976, 76, 1208, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 13, 4435...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 7261, 61, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 15264, 3274, 96, 1741, 12479, 2590, 18214, 52, 7, 121, 3430, 29976, 76, 1208, 2490, 957, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who won the $109 no limit hold'em w/rebuys [turbo]?
CREATE TABLE table_22050544_3 ( winner VARCHAR, event VARCHAR )
SELECT winner FROM table_22050544_3 WHERE event = "$109 No Limit Hold'em w/rebuys [Turbo]"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 3076, 3076, 3628, 834, 519, 41, 4668, 584, 4280, 28027, 6, 605, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 751, 8, 1970, 4198, 150, 2006, 1520, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4668, 21680, 953, 834, 2884, 3076, 3076, 3628, 834, 519, 549, 17444, 427, 605, 3274, 96, 3229, 17304, 465, 18185, 8470, 31, 15, 51, 3, 210, 87, 60, 14584, 7, 784, 382, 450, 115, 32, 908, 121, 1, -100, -100, -100, ...
What is the total access count of documents that are of the most common document type?
CREATE TABLE document_functional_areas ( document_code text, functional_area_code text ) CREATE TABLE document_structures ( document_structure_code text, parent_document_structure_code text, document_structure_description text ) CREATE TABLE roles ( role_code text, role_description text ) ...
SELECT SUM(access_count) FROM documents GROUP BY document_type_code ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1708, 834, 21601, 834, 498, 7, 41, 1708, 834, 4978, 1499, 6, 5014, 834, 498, 834, 4978, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1708, 834, 16180, 7, 41, 170...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 20393, 834, 13362, 61, 21680, 2691, 350, 4630, 6880, 272, 476, 1708, 834, 6137, 834, 4978, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -1...
Who is the player from Auburn?
CREATE TABLE table_name_86 ( player VARCHAR, school_club_team VARCHAR )
SELECT player FROM table_name_86 WHERE school_club_team = "auburn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 1959, 584, 4280, 28027, 6, 496, 834, 13442, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 1959, 45, 28384, 58, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 496, 834, 13442, 834, 11650, 3274, 96, 402, 7223, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Give the number of patients born before the year 2023 whose procedure short title is cardiopulm resuscita nos.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dob_year < "2023" AND procedures.short_title = "Cardiopulm resuscita NOS"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What years did Birger Ruud win the FIS Nordic World Ski Championships?
CREATE TABLE table_174491_2 (fis_nordic_world_ski_championships VARCHAR, winner VARCHAR)
SELECT fis_nordic_world_ski_championships FROM table_174491_2 WHERE winner = "Birger Ruud"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 3628, 4729, 834, 357, 41, 89, 159, 834, 29, 127, 4370, 834, 7276, 834, 4009, 834, 17788, 12364, 2009, 7, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 61, 3, 32102, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 361, 7, 834, 29, 127, 4370, 834, 7276, 834, 4009, 834, 17788, 12364, 2009, 7, 21680, 953, 834, 2517, 3628, 4729, 834, 357, 549, 17444, 427, 4668, 3274, 96, 279, 23, 52, 1304, 2770, 76, 26, 121, 1, -100, -100, -100...
What is the match report for the game played at forthbank stadium against stirling albion?
CREATE TABLE table_name_29 ( match_report VARCHAR, opponents VARCHAR, venue VARCHAR )
SELECT match_report FROM table_name_29 WHERE opponents = "stirling albion" AND venue = "forthbank stadium"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 1588, 834, 60, 1493, 584, 4280, 28027, 6, 16383, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1588, 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, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1588, 834, 60, 1493, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 16383, 3274, 96, 2248, 52, 697, 7046, 23, 106, 121, 3430, 5669, 3274, 96, 1161, 189, 4739, 14939, 121, 1, -100, -100, -100, -100, -100, -100, -...
What is the highest Money ($), when Top Par is E, and when Player is Ernie Els?
CREATE TABLE table_50197 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real )
SELECT MAX("Money ( $ )") FROM table_50197 WHERE "To par" = 'e' AND "Player" = 'ernie els'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 27181, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 9168, 15, 63, 41, 1514, 3, 61, 8512, 21680, 953, 834, 1752, 27181, 549, 17444, 427, 96, 3696, 260, 121, 3274, 3, 31, 15, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 15, 23752, 3, 3573, 31, 1,...
What's the college of the player with a height of 6-4 and went to lake howell high school?
CREATE TABLE table_name_68 (college VARCHAR, height VARCHAR, school VARCHAR)
SELECT college FROM table_name_68 WHERE height = "6-4" AND school = "lake howell high school"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 3297, 7883, 584, 4280, 28027, 6, 3902, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 1900, 13, 8, 1959,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 1900, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 3902, 3274, 96, 25618, 121, 3430, 496, 3274, 96, 16948, 149, 3820, 306, 496, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Where did Hawthorn have their away match against North Melbourne?
CREATE TABLE table_52650 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Venue" FROM table_52650 WHERE "Away team" = 'hawthorn'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5373, 15348, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 553, 35, 76, 15, 121, 21680, 953, 834, 5373, 15348, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 1024, 210, 17, 6293, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Country has a Score of 69, and a Player of mick soli?
CREATE TABLE table_44099 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text )
SELECT "Country" FROM table_44099 WHERE "Score" = '69' AND "Player" = 'mick soli'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22335, 3264, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 490, 6, 96, 3696, 260, 121, 1499, 3, 61, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10628, 651, 121, 21680, 953, 834, 22335, 3264, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 3951, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 51, 3142, 3, 7, 4172, 31, 1, -100, -100, -100, -100, -100, -1...
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, give me the comparison about the sum of salary over the job_id , and group by attribute job_id, and show by the y-axis in descending.
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 regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALA...
SELECT JOB_ID, SUM(SALARY) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY SUM(SALARY) DESC
[ 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, 134, 4090, 24721, 61, 21680, 1652, 549, 17444, 427, 180, 4090, 24721, 272, 7969, 518, 23394, 3, 25129, 3430, 586, 2313, 3430, 3, 6657, 329, 16994, 9215, 834, 4051, 382, 3, 2...
What is the greatest position when the points are less than 21, and the played greater than 14?
CREATE TABLE table_42171 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text )
SELECT MAX("Position") FROM table_42171 WHERE "Points" < '21' AND "Played" > '14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4165, 2517, 536, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 308, 10936, 29, 121, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 345, 32, 7, 4749, 8512, 21680, 953, 834, 4165, 2517, 536, 549, 17444, 427, 96, 22512, 7, 121, 3, 2, 3, 31, 2658, 31, 3430, 96, 15800, 15, 26, 121, 2490, 3, 31, 2534, 31, 1, -100, -100, -100,...
What is SECOND, when SIXTH is Victoria?
CREATE TABLE table_41108 ( "SEASON" text, "FIRST" text, "SECOND" text, "THIRD" text, "FOURTH" text, "FIFTH" text, "SIXTH" text )
SELECT "SECOND" FROM table_41108 WHERE "SIXTH" = 'victoria'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4853, 16169, 41, 96, 25542, 10466, 121, 1499, 6, 96, 371, 5705, 4209, 121, 1499, 6, 96, 134, 3073, 24796, 121, 1499, 6, 96, 4611, 5705, 308, 121, 1499, 6, 96, 371, 9131, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3073, 24796, 121, 21680, 953, 834, 4853, 16169, 549, 17444, 427, 96, 134, 196, 4, 4611, 121, 3274, 3, 31, 7287, 3600, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Whats the name of segment D in the episode where segment A is tequila
CREATE TABLE table_15187735_16 (segment_d VARCHAR, segment_a VARCHAR)
SELECT segment_d FROM table_15187735_16 WHERE segment_a = "Tequila"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26578, 27697, 2469, 834, 2938, 41, 7, 15, 122, 297, 834, 26, 584, 4280, 28027, 6, 5508, 834, 9, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 7, 8, 564, 13, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5508, 834, 26, 21680, 953, 834, 26578, 27697, 2469, 834, 2938, 549, 17444, 427, 5508, 834, 9, 3274, 96, 382, 15, 1169, 521, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which CFL team did the player from British Columbia get drafted to
CREATE TABLE table_16441561_5 (cfl_team VARCHAR, college VARCHAR)
SELECT cfl_team FROM table_16441561_5 WHERE college = "British Columbia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 3628, 1808, 4241, 834, 755, 41, 75, 89, 40, 834, 11650, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 205, 10765, 372, 410, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 75, 89, 40, 834, 11650, 21680, 953, 834, 2938, 3628, 1808, 4241, 834, 755, 549, 17444, 427, 1900, 3274, 96, 279, 13224, 7, 107, 8183, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how many of the patients with regional enteritis of unspecified site received ou therapy?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Regional enteritis of unspecified site" AND prescriptions.route = "OU"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Name the least rank when games are more than 34 and the season is 2009-10
CREATE TABLE table_name_98 ( rank INTEGER, games VARCHAR, season VARCHAR )
SELECT MIN(rank) FROM table_name_98 WHERE games > 34 AND season = "2009-10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 11003, 3, 21342, 17966, 6, 1031, 584, 4280, 28027, 6, 774, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 709, 11003, 116, 1031, 33, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 6254, 61, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 1031, 2490, 6154, 3430, 774, 3274, 96, 16660, 4536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which customers made orders between 2009-01-01 and 2010-01-01? Find their names.
CREATE TABLE shipment_items ( shipment_id number, order_item_id number ) CREATE TABLE invoices ( invoice_number number, invoice_date time, invoice_details text ) CREATE TABLE shipments ( shipment_id number, order_id number, invoice_number number, shipment_tracking_number text, ...
SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.date_order_placed >= "2009-01-01" AND T2.date_order_placed <= "2010-01-01"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 19843, 834, 23, 3524, 7, 41, 19843, 834, 23, 26, 381, 6, 455, 834, 23, 3524, 834, 23, 26, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 10921, 7, 41, 10921, 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, 5411, 25697, 49, 834, 4350, 21680, 722, 6157, 332, 536, 3, 15355, 3162, 5022, 6157, 332, 357, 9191, 332, 5411, 25697, 49, 834, 23, 26, 3274, 332, 4416, 25697, 49, 834, 23, 26, 549, 17444, 427, 332, 4416, 5522, ...
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 department_id , and group by attribute job_id.
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), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(...
SELECT JOB_ID, SUM(DEPARTMENT_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, 1652, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 30085, 834, 567, 17683, 3, 4331, 4059, 599, 1755, 201, 301, 12510, 834, 567, 17683, 3, 4331, 4059, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5596, 19846, 11810, 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, 834, 4051...
what is maximum age of patients whose ethnicity is black/african american and year of death is less than 2148?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, ...
SELECT MAX(demographic.age) FROM demographic WHERE demographic.ethnicity = "BLACK/AFRICAN AMERICAN" AND demographic.dod_year < "2148.0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 15, 189, 2532, 485, 3274, 96, 8775, 15339, 87, 6282, 5593, 11425, 3, 17683, 5593, 11425, 121, 3430, 14798, 5, 26, 32, 26, 834, 1201, ...
What is the win-loss when 2008 has a value of Q1 at Australian Open?
CREATE TABLE table_name_65 ( career_win_loss VARCHAR, tournament VARCHAR )
SELECT career_win_loss FROM table_name_65 WHERE 2008 = "q1" AND tournament = "australian open"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 1415, 834, 3757, 834, 2298, 7, 584, 4280, 28027, 6, 5892, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1369, 18, 2298, 7, 116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1415, 834, 3757, 834, 2298, 7, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 2628, 3274, 96, 1824, 536, 121, 3430, 5892, 3274, 96, 402, 3109, 9928, 539, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
What player played women's doubles when lee jae-jin lee eun-woo played mixed doubles?
CREATE TABLE table_69551 ( "Year" real, "Men's singles" text, "Women's singles" text, "Men's doubles" text, "Women's doubles" text, "Mixed doubles" text )
SELECT "Women's doubles" FROM table_69551 WHERE "Mixed doubles" = 'lee jae-jin lee eun-woo'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 3769, 536, 41, 96, 476, 2741, 121, 490, 6, 96, 329, 35, 31, 7, 712, 7, 121, 1499, 6, 96, 518, 32, 904, 31, 7, 712, 7, 121, 1499, 6, 96, 329, 35, 31, 7, 1486, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 518, 32, 904, 31, 7, 1486, 7, 121, 21680, 953, 834, 3951, 3769, 536, 549, 17444, 427, 96, 329, 2407, 15, 26, 1486, 7, 121, 3274, 3, 31, 109, 15, 2662, 15, 18, 354, 77, 90, 15, 3, 15, 202, 18, 14952, 31, ...
What date has postponed (rain) rescheduled for august 7 as the score?
CREATE TABLE table_name_27 ( date VARCHAR, score VARCHAR )
SELECT date FROM table_name_27 WHERE score = "postponed (rain) rescheduled for august 7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 833, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 65, 442, 5041, 15, 26, 41, 6559, 61, 3, 60, 3992, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 2604, 3274, 96, 5950, 5041, 15, 26, 41, 6559, 61, 3, 60, 3992, 1259, 1361, 21, 14663, 489, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the number of the descriptions for the aircrafts?, and rank by the Y-axis in desc please.
CREATE TABLE aircraft ( Aircraft_ID int(11), Aircraft varchar(50), Description varchar(50), Max_Gross_Weight varchar(50), Total_disk_area varchar(50), Max_disk_Loading varchar(50) ) CREATE TABLE pilot ( Pilot_Id int(11), Name varchar(50), Age int(11) ) CREATE TABLE match ( Roun...
SELECT Description, COUNT(Description) FROM aircraft GROUP BY Description ORDER BY COUNT(Description) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6442, 41, 1761, 6696, 834, 4309, 16, 17, 599, 2596, 201, 1761, 6696, 3, 4331, 4059, 599, 1752, 201, 7726, 3, 4331, 4059, 599, 1752, 201, 5370, 834, 517, 1859, 7, 834, 1326, 2632, 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, 7726, 6, 2847, 17161, 599, 2962, 11830, 61, 21680, 6442, 350, 4630, 6880, 272, 476, 7726, 4674, 11300, 272, 476, 2847, 17161, 599, 2962, 11830, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Inhabitants have a Party of democratic party, and a Municipality of florence, and an Election smaller than 2009?
CREATE TABLE table_name_99 ( inhabitants INTEGER, election VARCHAR, party VARCHAR, municipality VARCHAR )
SELECT MIN(inhabitants) FROM table_name_99 WHERE party = "democratic party" AND municipality = "florence" AND election < 2009
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 21155, 3, 21342, 17966, 6, 4356, 584, 4280, 28027, 6, 1088, 584, 4280, 28027, 6, 27597, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 86,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 77, 29884, 7, 61, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 1088, 3274, 96, 23319, 447, 1088, 121, 3430, 27597, 3274, 96, 28138, 3772, 121, 3430, 4356, 3, 2, 2464, 1, -100, -100, -100, -100, ...
Which Crowd has an Away team score of 17.11 (113)?
CREATE TABLE table_55312 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT SUM("Crowd") FROM table_55312 WHERE "Away team score" = '17.11 (113)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 519, 2122, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 254, 3623, 26, 8512, 21680, 953, 834, 3769, 519, 2122, 549, 17444, 427, 96, 188, 1343, 372, 2604, 121, 3274, 3, 31, 2517, 5, 2596, 41, 20522, 61, 31, 1, -100, -100, -100, -100, -100, -100, -10...
In which tournament did Pauline Parmentier finish LQ in 2007?
CREATE TABLE table_name_34 (tournament VARCHAR)
SELECT tournament FROM table_name_34 WHERE 2007 = "lq"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 17, 1211, 20205, 17, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 86, 84, 5892, 410, 1838, 630, 2180, 297, 972, 1992, 301, 2247, 16, 4101, 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, 5892, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 4101, 3274, 96, 40, 1824, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the championship for outcome being winner for 7–5, 4–6, 6–1
CREATE TABLE table_24638867_6 (championship VARCHAR, outcome VARCHAR, score VARCHAR)
SELECT championship FROM table_24638867_6 WHERE outcome = "Winner" AND score = "7–5, 4–6, 6–1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 3891, 4060, 3708, 834, 948, 41, 17788, 12364, 2009, 584, 4280, 28027, 6, 6138, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 10183, 21680, 953, 834, 2266, 3891, 4060, 3708, 834, 948, 549, 17444, 427, 6138, 3274, 96, 18455, 687, 121, 3430, 2604, 3274, 96, 940, 104, 11116, 314, 104, 11071, 431, 104, 536, 121, 1, -100, -100, -100, -100, -100, ...
Find the id of suppliers whose average amount purchased for each product is above 50000 or below 30000.
CREATE TABLE Product_Suppliers (supplier_id VARCHAR, total_amount_purchased INTEGER)
SELECT supplier_id FROM Product_Suppliers GROUP BY supplier_id HAVING AVG(total_amount_purchased) > 50000 OR AVG(total_amount_purchased) < 30000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6246, 834, 134, 413, 5900, 277, 41, 15956, 972, 834, 23, 26, 584, 4280, 28027, 6, 792, 834, 9, 11231, 834, 29446, 26, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 2588, 8, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 8106, 834, 23, 26, 21680, 6246, 834, 134, 413, 5900, 277, 350, 4630, 6880, 272, 476, 8106, 834, 23, 26, 454, 6968, 2365, 71, 17217, 599, 235, 1947, 834, 9, 11231, 834, 29446, 26, 61, 2490, 943, 2313, 4674, 71, 172...
What is the type of Leader for the Royal House of Baasha, who is named Elah.
CREATE TABLE table_7953 ( "Type" text, "Name" text, "Title" text, "Royal house" text, "From" text )
SELECT "Type" FROM table_7953 WHERE "Royal house" = 'baasha' AND "Name" = 'elah'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 4867, 41, 96, 25160, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 448, 32, 63, 138, 629, 121, 1499, 6, 96, 22674, 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, 1...
[ 3, 23143, 14196, 96, 25160, 121, 21680, 953, 834, 4440, 4867, 549, 17444, 427, 96, 448, 32, 63, 138, 629, 121, 3274, 3, 31, 115, 9, 3198, 9, 31, 3430, 96, 23954, 121, 3274, 3, 31, 15, 521, 107, 31, 1, -100, -100, -100, -100, -...
After the year 2008.0, who played for Maryland the same year M.O.T. LL Middletown played in Delaware?
CREATE TABLE table_13012165_1 (maryland VARCHAR, delaware VARCHAR, year VARCHAR)
SELECT maryland FROM table_13012165_1 WHERE delaware = "M.O.T. LL Middletown" AND year > 2008.0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21448, 2122, 22823, 834, 536, 41, 1635, 28900, 584, 4280, 28027, 6, 20, 4207, 355, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 621, 8, 215,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3157, 28900, 21680, 953, 834, 21448, 2122, 22823, 834, 536, 549, 17444, 427, 20, 4207, 355, 3274, 96, 329, 5, 667, 5, 382, 5, 3, 10376, 4551, 3540, 121, 3430, 215, 2490, 10986, 632, 1, -100, -100, -100, -100, -100, ...
What is the number of the episode titled 'Sugar Daddy'?
CREATE TABLE table_name_40 (episode_number INTEGER, title VARCHAR)
SELECT AVG(episode_number) FROM table_name_40 WHERE title = "sugar daddy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 15, 102, 159, 32, 221, 834, 5525, 1152, 3, 21342, 17966, 6, 2233, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 381, 13, 8, 5640, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 15, 102, 159, 32, 221, 834, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 2233, 3274, 96, 7, 76, 1478, 836, 8155, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many opponents fought on 1982-12-03?
CREATE TABLE table_17532 ( "Number" real, "Name" text, "Titles" text, "Date" text, "Opponent" text, "Result" text, "Defenses" real )
SELECT COUNT("Opponent") FROM table_17532 WHERE "Date" = '1982-12-03'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 4867, 357, 41, 96, 567, 5937, 49, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 382, 155, 965, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 667, 102, 9977, 8512, 21680, 953, 834, 2517, 4867, 357, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 24151, 17234, 19423, 519, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
give me the admission type and death status of subject id 16438.
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 demographic.admission_type, demographic.expire_flag FROM demographic WHERE demographic.subject_id = "16438"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 9, 26, 5451, 834, 6137, 6, 14798, 5, 994, 2388, 15, 834, 89, 5430, 21680, 14798, 549, 17444, 427, 14798, 5, 7304, 11827, 834, 23, 26, 3274, 96, 26987, 3747, 121, 1, -100, -100, -100, -100, -100, -100, -1...
Tell me the average gold for moldova and bronze less than 1
CREATE TABLE table_name_25 (gold INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT AVG(gold) FROM table_name_25 WHERE nation = "moldova" AND bronze < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 14910, 3, 21342, 17966, 6, 2982, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 1348, 2045, 21, 6797, 619...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 14910, 61, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 2982, 3274, 96, 51, 1490, 6194, 121, 3430, 13467, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many years have a 4th Day of bumped wolfson?
CREATE TABLE table_13607 ( "Year" real, "Finish position" text, "1st day" text, "2nd day" text, "3rd day" text, "4th Day" text )
SELECT COUNT("Year") FROM table_13607 WHERE "4th Day" = 'bumped wolfson'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23459, 4560, 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, 2847, 17161, 599, 121, 476, 2741, 8512, 21680, 953, 834, 23459, 4560, 549, 17444, 427, 96, 591, 189, 1430, 121, 3274, 3, 31, 3007, 18109, 3, 19747, 739, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is every pregame analyst with Chris Rose as trophy presenter?
CREATE TABLE table_2941848_2 ( pregame_analysts VARCHAR, trophy_presentation VARCHAR )
SELECT pregame_analysts FROM table_2941848_2 WHERE trophy_presentation = "Chris Rose"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4240, 2606, 3707, 834, 357, 41, 554, 7261, 834, 152, 9, 120, 7, 17, 7, 584, 4280, 28027, 6, 23921, 834, 12640, 257, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 554, 7261, 834, 152, 9, 120, 7, 17, 7, 21680, 953, 834, 357, 4240, 2606, 3707, 834, 357, 549, 17444, 427, 23921, 834, 12640, 257, 3274, 96, 3541, 52, 159, 5088, 121, 1, -100, -100, -100, -100, -100, -100, -100, -1...
What is the score from the game where Algeria is the opponent at Porto-Novo?
CREATE TABLE table_78198 ( "Date" text, "Location" text, "Opponent" text, "Score" text, "Competition" text )
SELECT "Score" FROM table_78198 WHERE "Opponent" = 'algeria' AND "Location" = 'porto-novo'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 24151, 41, 96, 308, 342, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 5890, 4995, 4749, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 3940, 24151, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 138, 122, 4476, 31, 3430, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 1493, 32, 18, 5326, 32, 31, 1, -100, -...
How many high rebound catagories are listed for game number 5?
CREATE TABLE table_22871239_5 ( high_rebounds VARCHAR, _number VARCHAR )
SELECT COUNT(high_rebounds) FROM table_22871239_5 WHERE _number = 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 4225, 2122, 3288, 834, 755, 41, 306, 834, 23768, 584, 4280, 28027, 6, 3, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 306, 20756, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 6739, 834, 23768, 61, 21680, 953, 834, 2884, 4225, 2122, 3288, 834, 755, 549, 17444, 427, 3, 834, 5525, 1152, 3274, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the appearance for independence bowl
CREATE TABLE table_2517159_1 (appearances VARCHAR, name_of_bowl VARCHAR)
SELECT COUNT(appearances) FROM table_2517159_1 WHERE name_of_bowl = "Independence Bowl"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 2517, 27904, 834, 536, 41, 3096, 2741, 663, 7, 584, 4280, 28027, 6, 564, 834, 858, 834, 17710, 40, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 3179, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 3096, 2741, 663, 7, 61, 21680, 953, 834, 1828, 2517, 27904, 834, 536, 549, 17444, 427, 564, 834, 858, 834, 17710, 40, 3274, 96, 1570, 18790, 1433, 9713, 121, 1, -100, -100, -100, -100, -100, -100, ...
provide the number of patients whose diagnoses long title is asthma, unspecified type, unspecified and drug type is base?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob te...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Asthma, unspecified type, unspecified" AND prescriptions.drug_type = "BASE"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Who is the turbine vendor for Meenadreen in Donegal county with less than 6 turbines with a size of 0.85 MW?
CREATE TABLE table_39541 ( "Wind Farm" text, "Capacity (MW)" real, "Turbines" real, "Turbine Vendor" text, "Size (MW)" text, "County" text )
SELECT "Turbine Vendor" FROM table_39541 WHERE "Turbines" < '6' AND "County" = 'donegal' AND "Size (MW)" = '0.85' AND "Wind Farm" = 'meenadreen'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3301, 4853, 41, 96, 18455, 26, 4990, 121, 1499, 6, 96, 19566, 9, 6726, 41, 16027, 61, 121, 490, 6, 96, 382, 450, 12712, 7, 121, 490, 6, 96, 382, 450, 12712, 7281, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 450, 12712, 7281, 26, 127, 121, 21680, 953, 834, 519, 3301, 4853, 549, 17444, 427, 96, 382, 450, 12712, 7, 121, 3, 2, 3, 31, 948, 31, 3430, 96, 10628, 63, 121, 3274, 3, 31, 2029, 15, 6191, 31, 3430, 9...
what was the date the last person on the list left office ?
CREATE TABLE table_204_668 ( id number, "#" number, "menteri besar" text, "took office" text, "left office" text, "party" text )
SELECT "left office" FROM table_204_668 ORDER BY id DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3539, 927, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 297, 49, 23, 36, 7, 291, 121, 1499, 6, 96, 235, 1825, 828, 121, 1499, 6, 96, 17068, 828, 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, 17068, 828, 121, 21680, 953, 834, 26363, 834, 3539, 927, 4674, 11300, 272, 476, 3, 23, 26, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What's the dipole moment of ethyl acetate (etoac)?
CREATE TABLE table_44377 ( "Solvent" text, "Chemical Formula" text, "Boiling point" text, "Dielectric constant" text, "Density" text, "Dipole moment ( D )" text )
SELECT "Dipole moment ( D )" FROM table_44377 WHERE "Solvent" = 'ethyl acetate (etoac)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3628, 519, 4013, 41, 96, 5231, 40, 2169, 121, 1499, 6, 96, 254, 6015, 1950, 13786, 121, 1499, 6, 96, 279, 32, 173, 53, 500, 121, 1499, 6, 96, 308, 23, 17470, 3917, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 23, 14332, 798, 41, 309, 3, 61, 121, 21680, 953, 834, 3628, 519, 4013, 549, 17444, 427, 96, 5231, 40, 2169, 121, 3274, 3, 31, 15, 189, 63, 40, 3, 9, 22309, 41, 15, 235, 9, 75, 61, 31, 1, -100, -100,...
what did patient 015-12508 receive for his or her last procedure in the last hospital visit?
CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, ...
SELECT treatment.treatmentname FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-12508' AND NOT patient.hospitaldischargetime IS NULL ORDER BY...
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1868, 41, 775, 12417, 1499, 6, 1868, 15878, 3734, 21545, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7285, 1499, 6, 1246, 1499, 6, 11655, 485, 1499, 6, 2833, 23, 26, 381, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1058, 5, 26889, 4350, 21680, 1058, 549, 17444, 427, 1058, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3734, 21545, ...
How many different numbers for Afinsa when value is 5p?
CREATE TABLE table_1818471_1 (afinsa VARCHAR, value VARCHAR)
SELECT COUNT(afinsa) FROM table_1818471_1 WHERE value = "5P"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 25987, 4450, 834, 536, 41, 9, 89, 77, 7, 9, 584, 4280, 28027, 6, 701, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 315, 2302, 21, 24585, 7, 9, 116...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 9, 89, 77, 7, 9, 61, 21680, 953, 834, 2606, 25987, 4450, 834, 536, 549, 17444, 427, 701, 3274, 96, 755, 345, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which race has a replica of DNF?
CREATE TABLE table_79731 ( "Race" text, "Position" text, "Time" text, "Speed" text, "Replica" text )
SELECT "Race" FROM table_79731 WHERE "Replica" = 'dnf'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 4552, 536, 41, 96, 448, 3302, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 28328, 121, 1499, 6, 96, 1649, 10435, 9, 121, 1499, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 96, 448, 3302, 121, 21680, 953, 834, 4440, 4552, 536, 549, 17444, 427, 96, 1649, 10435, 9, 121, 3274, 3, 31, 26, 29, 89, 31, 1, -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, visualize a bar chart about the distribution of hire_date and the average of department_id bin hire_date by time, list y axis in descending order please.
CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25...
SELECT HIRE_DATE, AVG(DEPARTMENT_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY AVG(DEPARTMENT_ID) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10521, 41, 3396, 19846, 11810, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3396, 19846, 11810, 834, 567, 17683, 3, 4331, 4059, 599, 1458, 201, 283, 15610, 17966, 834, 4309, 7908, 1982, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 5596, 19846, 11810, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 5...
What year was the competition vitry-sur-seine humarathon?
CREATE TABLE table_name_41 (year INTEGER, competition VARCHAR)
SELECT AVG(year) FROM table_name_41 WHERE competition = "vitry-sur-seine humarathon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 1201, 3, 21342, 17966, 6, 2259, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 47, 8, 2259, 11614, 63, 18, 3042, 18, 7, 15, 630, 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, 71, 17217, 599, 1201, 61, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 2259, 3274, 96, 5566, 651, 18, 3042, 18, 7, 15, 630, 3, 4884, 291, 24718, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest evening gown number in North Carolina with less than 9.214 interviews?
CREATE TABLE table_name_94 (evening_gown INTEGER, state VARCHAR, interview VARCHAR)
SELECT MAX(evening_gown) FROM table_name_94 WHERE state = "north carolina" AND interview < 9.214
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 6190, 53, 834, 122, 9197, 3, 21342, 17966, 6, 538, 584, 4280, 28027, 6, 2772, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 6190, 53, 834, 122, 9197, 61, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 538, 3274, 96, 29, 127, 189, 443, 12057, 9, 121, 3430, 2772, 3, 2, 5835, 27357, 1, -100, -100, -100, -100, -100, -100,...
Which song was by artist Gino Vannelli?
CREATE TABLE table_name_15 (song VARCHAR, artist VARCHAR)
SELECT song FROM table_name_15 WHERE artist = "gino vannelli"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 7, 2444, 584, 4280, 28027, 6, 2377, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2324, 47, 57, 2377, 15079, 32, 4480, 10361, 23, 58, 1, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2324, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 2377, 3274, 96, 122, 77, 32, 4049, 10361, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the date with a winner of km (mi)?
CREATE TABLE table_75351 ( "Date" text, "Course" text, "Distance" text, "Type" text, "Winner" text )
SELECT "Date" FROM table_75351 WHERE "Winner" = 'km (mi)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 2469, 536, 41, 96, 308, 342, 121, 1499, 6, 96, 3881, 3589, 15, 121, 1499, 6, 96, 308, 23, 8389, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 18455, 687, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 3072, 2469, 536, 549, 17444, 427, 96, 18455, 687, 121, 3274, 3, 31, 5848, 41, 51, 23, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What are the championship venues where the score was 6 7 (4 7) , 3 6?
CREATE TABLE table_4181 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text )
SELECT "Championship" FROM table_4181 WHERE "Score" = '6–7 (4–7) , 3–6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4853, 4959, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 476, 2741, 121, 490, 6, 96, 254, 1483, 12364, 2009, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 13725, 687, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 1483, 12364, 2009, 121, 21680, 953, 834, 4853, 4959, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 948, 104, 940, 8457, 104, 12703, 3, 6, 220, 104, 948, 31, 1, -100, -100, -100, -100, -100, -100, -100...
Return a bar chart about the distribution of All_Road and All_Games_Percent , rank from high to low by the y axis please.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( Scho...
SELECT All_Road, All_Games_Percent FROM basketball_match ORDER BY All_Games_Percent DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 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, 432, 834, 448, 32, 9, 26, 6, 432, 834, 23055, 7, 834, 12988, 3728, 21680, 8498, 834, 19515, 4674, 11300, 272, 476, 432, 834, 23055, 7, 834, 12988, 3728, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the total number of opponent for october 3
CREATE TABLE table_26605 ( "Week" real, "Date" text, "Opponent" text, "Location" text, "Final Score" text, "Attendance" real, "Record" text )
SELECT COUNT("Opponent") FROM table_26605 WHERE "Date" = 'October 3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3539, 3076, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 371, 10270, 1776...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 667, 102, 9977, 8512, 21680, 953, 834, 357, 3539, 3076, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 28680, 220, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the date construction is completed in Jo Daviess county?
CREATE TABLE table_name_70 ( construction_completed VARCHAR, county VARCHAR )
SELECT construction_completed FROM table_name_70 WHERE county = "jo daviess"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 1449, 834, 25288, 26, 584, 4280, 28027, 6, 5435, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 833, 1449, 19, 2012, 16, 2194, 285...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1449, 834, 25288, 26, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 5435, 3274, 96, 1927, 836, 5914, 7, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who are the recipients in 1994?
CREATE TABLE table_name_73 (recipients_and_nominees VARCHAR, year VARCHAR)
SELECT recipients_and_nominees FROM table_name_73 WHERE year = 1994
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 60, 3389, 4741, 7, 834, 232, 834, 3114, 630, 15, 7, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 33, 8, 19297, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19297, 834, 232, 834, 3114, 630, 15, 7, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 215, 3274, 7520, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who was the winning driver of the British Grand Prix where Giuseppe Farina had the fastest lap?
CREATE TABLE table_name_21 ( winning_driver VARCHAR, fastest_lap VARCHAR, race VARCHAR )
SELECT winning_driver FROM table_name_21 WHERE fastest_lap = "giuseppe farina" AND race = "british grand prix"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 3447, 834, 13739, 52, 584, 4280, 28027, 6, 10391, 834, 8478, 584, 4280, 28027, 6, 1964, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3447, 834, 13739, 52, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 10391, 834, 8478, 3274, 96, 24930, 7, 15, 6811, 623, 77, 9, 121, 3430, 1964, 3274, 96, 2160, 17, 1273, 1907, 3407, 121, 1, -100, -100, -100, ...
What is the largest overall where the position was linebacker and the pick number was more than 9?
CREATE TABLE table_name_32 (overall INTEGER, position VARCHAR, pick__number VARCHAR)
SELECT MAX(overall) FROM table_name_32 WHERE position = "linebacker" AND pick__number > 9
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 1890, 1748, 3, 21342, 17966, 6, 1102, 584, 4280, 28027, 6, 1432, 834, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 1890, 1748, 61, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 1102, 3274, 96, 747, 1549, 49, 121, 3430, 1432, 834, 834, 5525, 1152, 2490, 668, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many apartment bookings for each weekday? Draw a bar chart binning booking start date by weekday interval, rank in ascending by the y axis.
CREATE TABLE Guests ( guest_id INTEGER, gender_code CHAR(1), guest_first_name VARCHAR(80), guest_last_name VARCHAR(80), date_of_birth DATETIME ) CREATE TABLE View_Unit_Status ( apt_id INTEGER, apt_booking_id INTEGER, status_date DATETIME, available_yn BIT ) CREATE TABLE Apartments ...
SELECT booking_start_date, COUNT(booking_start_date) FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id ORDER BY COUNT(booking_start_date)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 22360, 41, 3886, 834, 23, 26, 3, 21342, 17966, 6, 7285, 834, 4978, 3, 28027, 14296, 6, 3886, 834, 14672, 834, 4350, 584, 4280, 28027, 599, 2079, 201, 3886, 834, 5064, 834, 4350, 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, 5038, 834, 10208, 834, 5522, 6, 2847, 17161, 599, 2567, 53, 834, 10208, 834, 5522, 61, 21680, 15970, 834, 13355, 53, 7, 6157, 332, 536, 3, 15355, 3162, 3, 22360, 6157, 332, 357, 9191, 332, 5411, 15991, 17, 834, 23, ...
What was the original air date of a series number after 78, written by Jenee V. Giles?
CREATE TABLE table_name_85 ( original_air_date VARCHAR, series__number VARCHAR, written_by VARCHAR )
SELECT original_air_date FROM table_name_85 WHERE series__number > 78 AND written_by = "jenee v. giles"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 926, 834, 2256, 834, 5522, 584, 4280, 28027, 6, 939, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 1545, 834, 969, 584, 4280, 28027, 3, 61, 3, 32102, 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, 926, 834, 2256, 834, 5522, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 939, 834, 834, 5525, 1152, 2490, 3, 3940, 3430, 1545, 834, 969, 3274, 96, 354, 35, 15, 15, 3, 208, 5, 3, 122, 699, 7, 121, 1, -100, ...
How many points did kiefer-bos-castrol honda have?
CREATE TABLE table_20983 ( "Season" real, "Class" text, "Team" text, "Motorcycle" text, "Type" text, "Races" real, "Wins" real, "Podiums" real, "Poles" real, "Fastest Laps" real, "Pts" text, "Position" text )
SELECT "Pts" FROM table_20983 WHERE "Team" = 'Kiefer-Bos-Castrol Honda'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 3916, 519, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 21486, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 329, 32, 17, 127, 10136, 121, 1499, 6, 96, 25160, 121, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 17, 7, 121, 21680, 953, 834, 1755, 3916, 519, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 439, 23, 15, 1010, 18, 279, 32, 7, 18, 254, 9, 6626, 40, 12886, 31, 1, -100, -100, -100, -100, -100, -100, -...
which album had the single automatic ?
CREATE TABLE table_203_661 ( id number, "year" number, "single" text, "peak chart positions\nus mod" number, "peak chart positions\nuk" number, "album" text )
SELECT "album" FROM table_203_661 WHERE "single" = '"automatic"'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3539, 536, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 7, 53, 109, 121, 1499, 6, 96, 14661, 5059, 4655, 2, 29, 302, 1794, 121, 381, 6, 96, 14661, 50...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23703, 121, 21680, 953, 834, 23330, 834, 3539, 536, 549, 17444, 427, 96, 7, 53, 109, 121, 3274, 3, 31, 121, 18698, 447, 121, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Date of Tie no 9?
CREATE TABLE table_61078 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text )
SELECT "Date" FROM table_61078 WHERE "Tie no" = '9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27097, 3940, 41, 96, 382, 23, 15, 150, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 308, 342, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 27097, 3940, 549, 17444, 427, 96, 382, 23, 15, 150, 121, 3274, 3, 31, 1298, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest goals listed for player Sid O'neill, with Games larger than 1?
CREATE TABLE table_name_91 (goals INTEGER, player VARCHAR, games VARCHAR)
SELECT MIN(goals) FROM table_name_91 WHERE player = "sid o'neill" AND games > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 839, 5405, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 6, 1031, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 1766, 2616, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 839, 5405, 61, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 1959, 3274, 96, 7, 23, 26, 3, 32, 31, 29, 15, 1092, 121, 3430, 1031, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What year was she ranked 16th with over 12 points?
CREATE TABLE table_name_29 ( year VARCHAR, rank VARCHAR, points VARCHAR )
SELECT COUNT(year) FROM table_name_29 WHERE rank = "16th" AND points > 12
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 215, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 47, 255, 3, 8232, 898, 189...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1201, 61, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 11003, 3274, 96, 2938, 189, 121, 3430, 979, 2490, 586, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is 2011, when 2008 is "2R"?
CREATE TABLE table_name_40 (Id VARCHAR)
SELECT 2011 FROM table_name_40 WHERE 2008 = "2r"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8558, 116, 2628, 19, 96, 357, 448, 121, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2722, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 2628, 3274, 96, 357, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who was the successor for vacant louisiana 5th
CREATE TABLE table_2417340_4 ( successor VARCHAR, vacator VARCHAR, district VARCHAR )
SELECT successor FROM table_2417340_4 WHERE vacator = "Vacant" AND district = "Louisiana 5th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 2517, 21129, 834, 591, 41, 22261, 584, 4280, 28027, 6, 3, 8938, 1016, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 22261, 21680, 953, 834, 2266, 2517, 21129, 834, 591, 549, 17444, 427, 3, 8938, 1016, 3274, 96, 25203, 288, 121, 3430, 3939, 3274, 96, 28365, 13662, 305, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Create a bar chart showing how many arrival across arrival, sort x-axis in asc order.
CREATE TABLE train ( Train_ID int, Train_Num text, Name text, From text, Arrival text, Railway_ID int ) CREATE TABLE railway ( Railway_ID int, Railway text, Builder text, Built text, Wheels text, Location text, ObjectNumber text ) CREATE TABLE railway_manage ( R...
SELECT Arrival, COUNT(Arrival) FROM train GROUP BY Arrival ORDER BY Arrival
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2412, 41, 15059, 834, 4309, 16, 17, 6, 15059, 834, 567, 440, 1499, 6, 5570, 1499, 6, 1029, 1499, 6, 20559, 138, 1499, 6, 18025, 834, 4309, 16, 17, 3, 61, 3, 32102, 32103, 32102, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 20559, 138, 6, 2847, 17161, 599, 188, 52, 25295, 61, 21680, 2412, 350, 4630, 6880, 272, 476, 20559, 138, 4674, 11300, 272, 476, 20559, 138, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...