NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What is the Country of the Play Electra?
CREATE TABLE table_name_60 (country VARCHAR, play VARCHAR)
SELECT country FROM table_name_60 WHERE play = "electra"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 17529, 584, 4280, 28027, 6, 577, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 6993, 13, 8, 2911, 3, 21543, 52, 9, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 577, 3274, 96, 400, 75, 1313, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
In what area is the decile value 10?
CREATE TABLE table_name_44 ( area VARCHAR, decile VARCHAR )
SELECT area FROM table_name_44 WHERE decile = 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 616, 584, 4280, 28027, 6, 7908, 109, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 616, 19, 8, 7908, 109, 701, 335, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 616, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 7908, 109, 3274, 335, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which player went to college at Saint Mary's?
CREATE TABLE table_10812938_3 ( player VARCHAR, college VARCHAR )
SELECT player FROM table_10812938_3 WHERE college = "Saint Mary's"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 16169, 22174, 3747, 834, 519, 41, 1959, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1959, 877, 12, 1900, 44, 2788, 3790, 31, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16169, 22174, 3747, 834, 519, 549, 17444, 427, 1900, 3274, 96, 26667, 3790, 31, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many cardiac surgery consultation procedures have occured in 2104?
CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE lab ( labid numbe...
SELECT COUNT(*) FROM treatment WHERE treatment.treatmentname = 'cardiac surgery consultation' AND STRFTIME('%y', treatment.treatmenttime) = '2104'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3362, 4267, 32, 4370, 41, 3362, 4267, 32, 26, 1294, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2912, 381, 6, 3, 7, 9, 32, 357, 381, 6, 842, 2206, 381, 6, 14114, 257, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 1058, 549, 17444, 427, 1058, 5, 26889, 4350, 3274, 3, 31, 16464, 9, 75, 3730, 4577, 31, 3430, 3, 13733, 6245, 15382, 599, 31, 1454, 63, 31, 6, 1058, 5, 26889, 715, 61, 3274, 3, ...
How many times did a center that attended Oral Roberts play for the Rockets?
CREATE TABLE table_11734041_1 ( years_for_rockets VARCHAR, position VARCHAR, school_club_team_country VARCHAR )
SELECT COUNT(years_for_rockets) FROM table_11734041_1 WHERE position = "Center" AND school_club_team_country = "Oral Roberts"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20275, 21129, 4853, 834, 536, 41, 203, 834, 1161, 834, 6133, 15, 17, 7, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 496, 834, 13442, 834, 11650, 834, 17529, 584, 4280, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1201, 7, 834, 1161, 834, 6133, 15, 17, 7, 61, 21680, 953, 834, 20275, 21129, 4853, 834, 536, 549, 17444, 427, 1102, 3274, 96, 24382, 121, 3430, 496, 834, 13442, 834, 11650, 834, 17529, 3274, 96, 73...
Name the original title for the last metro
CREATE TABLE table_18987377_1 ( original_title VARCHAR, film_title_used_in_nomination VARCHAR )
SELECT original_title FROM table_18987377_1 WHERE film_title_used_in_nomination = "The Last Metro"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 3916, 4552, 4013, 834, 536, 41, 926, 834, 21869, 584, 4280, 28027, 6, 814, 834, 21869, 834, 10064, 834, 77, 834, 29, 32, 14484, 584, 4280, 28027, 3, 61, 3, 32102, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 926, 834, 21869, 21680, 953, 834, 2606, 3916, 4552, 4013, 834, 536, 549, 17444, 427, 814, 834, 21869, 834, 10064, 834, 77, 834, 29, 32, 14484, 3274, 96, 634, 2506, 10730, 121, 1, -100, -100, -100, -100, -100, -100, ...
What is the chassis more recent than 1967?
CREATE TABLE table_58737 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Pts." text )
SELECT "Chassis" FROM table_58737 WHERE "Year" > '1967'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3449, 27931, 41, 96, 476, 2741, 121, 490, 6, 96, 16924, 3569, 121, 1499, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 345, 17, 7, 535, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 3541, 6500, 7, 121, 21680, 953, 834, 3449, 27931, 549, 17444, 427, 96, 476, 2741, 121, 2490, 3, 31, 2294, 3708, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the original title of 3.19?
CREATE TABLE table_20124413_3 ( original_title VARCHAR, production_code VARCHAR )
SELECT original_title FROM table_20124413_3 WHERE production_code = "3.19"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 12172, 3628, 2368, 834, 519, 41, 926, 834, 21869, 584, 4280, 28027, 6, 999, 834, 4978, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 926, 2233, 13, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 926, 834, 21869, 21680, 953, 834, 12172, 3628, 2368, 834, 519, 549, 17444, 427, 999, 834, 4978, 3274, 96, 5787, 2294, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What player has t3 as the place, with england united states as the country?
CREATE TABLE table_name_57 (player VARCHAR, place VARCHAR, country VARCHAR)
SELECT player FROM table_name_57 WHERE place = "t3" AND country = "england united states"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 20846, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1959, 65, 3, 17, 519, 38, 8, 286, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1959, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 286, 3274, 96, 17, 519, 121, 3430, 684, 3274, 96, 4606, 40, 232, 18279, 2315, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Year has a Result smaller than 20.26, and a Location of eugene?
CREATE TABLE table_name_80 (year INTEGER, result VARCHAR, location VARCHAR)
SELECT SUM(year) FROM table_name_80 WHERE result < 20.26 AND location = "eugene"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 1201, 3, 21342, 17966, 6, 741, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2929, 65, 3, 9, 3, 20119, 2755, 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, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 1201, 61, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 741, 3, 2, 460, 5, 2688, 3430, 1128, 3274, 96, 15, 76, 729, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the driver/passenger for 30
CREATE TABLE table_17176509_4 ( driver___passenger VARCHAR, position VARCHAR )
SELECT COUNT(driver___passenger) FROM table_17176509_4 WHERE position = 30
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2517, 4122, 4198, 834, 591, 41, 2535, 834, 834, 834, 3968, 35, 1304, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2535, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13739, 52, 834, 834, 834, 3968, 35, 1304, 61, 21680, 953, 834, 2517, 2517, 4122, 4198, 834, 591, 549, 17444, 427, 1102, 3274, 604, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
For all employees who have the letters D or S in their first name, draw a scatter chart about the correlation between salary and manager_id .
CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END...
SELECT SALARY, MANAGER_ID FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%'
[ 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, 180, 4090, 24721, 6, 283, 15610, 17966, 834, 4309, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 134, 1454, 31, ...
How many different college/junior/club teams had player John Dzikowski?
CREATE TABLE table_2850912_6 ( college_junior_club_team VARCHAR, player VARCHAR )
SELECT COUNT(college_junior_club_team) FROM table_2850912_6 WHERE player = "John Dzikowski"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 1752, 4729, 357, 834, 948, 41, 1900, 834, 6959, 23, 127, 834, 13442, 834, 11650, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 3297, 7883, 834, 6959, 23, 127, 834, 13442, 834, 11650, 61, 21680, 953, 834, 2577, 1752, 4729, 357, 834, 948, 549, 17444, 427, 1959, 3274, 96, 18300, 309, 702, 27077, 121, 1, -100, -100, -100, -100, ...
How many tries were there for club cwmtwrch rfc?
CREATE TABLE table_name_52 (tries_against VARCHAR, club VARCHAR)
SELECT tries_against FROM table_name_52 WHERE club = "cwmtwrch rfc"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 9000, 834, 9, 16720, 7, 17, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 3, 9000, 130, 132, 21, 1886, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 9000, 834, 9, 16720, 7, 17, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 1886, 3274, 96, 75, 210, 51, 17, 210, 52, 524, 3, 52, 89, 75, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the player when the team is oakland raiders?
CREATE TABLE table_63732 ( "Pick" real, "Team" text, "Player" text, "Position" text, "College" text )
SELECT "Player" FROM table_63732 WHERE "Team" = 'oakland raiders'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 4552, 357, 41, 96, 345, 3142, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 9939, 7883, 121, 1499, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 3891, 4552, 357, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 32, 1639, 40, 232, 15941, 277, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Score with a Date that is 2008-06-28?
CREATE TABLE table_75972 ( "Date" text, "Time" text, "Home" text, "Away" text, "Score" text, "Ground" text )
SELECT "Score" FROM table_75972 WHERE "Date" = '2008-06-28'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 4327, 357, 41, 96, 308, 342, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 188, 1343, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 517, 77...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3072, 4327, 357, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 16128, 18, 5176, 18, 2577, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When was the game played if the attendance is less than 6427.0?
CREATE TABLE table_16119656_1 (date VARCHAR, attendance INTEGER)
SELECT date FROM table_16119656_1 WHERE attendance < 6427.0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 2596, 4314, 4834, 834, 536, 41, 5522, 584, 4280, 28027, 6, 11364, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 8, 467, 1944, 3, 99, 8, 11364, 19, 705,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 2938, 2596, 4314, 4834, 834, 536, 549, 17444, 427, 11364, 3, 2, 431, 4165, 26346, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the average issue price with from Toronto maple leafs gift set, and a Mintage of 3527?
CREATE TABLE table_name_73 ( issue_price INTEGER, special_notes VARCHAR, mintage VARCHAR )
SELECT AVG(issue_price) FROM table_name_73 WHERE special_notes = "from toronto maple leafs gift set" AND mintage = "3527"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 962, 834, 102, 4920, 3, 21342, 17966, 6, 534, 834, 7977, 7, 584, 4280, 28027, 6, 13983, 545, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 13159, 834, 102, 4920, 61, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 534, 834, 7977, 7, 3274, 96, 7152, 12, 4438, 32, 22007, 8384, 7, 1876, 356, 121, 3430, 13983, 545, 3274, 96, 2469, 2555, ...
Which competition had a 4-1 result, and a score of 4-1?
CREATE TABLE table_name_19 (competition VARCHAR, result VARCHAR, score VARCHAR)
SELECT competition FROM table_name_19 WHERE result = "4-1" AND score = "4-1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 287, 4995, 4749, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2259, 141, 3, 9, 314, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2259, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 741, 3274, 96, 591, 2292, 121, 3430, 2604, 3274, 96, 591, 2292, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Plot year by mean price as a line chart
CREATE TABLE grapes ( ID INTEGER, Grape TEXT, Color TEXT ) CREATE TABLE appellations ( No INTEGER, Appelation TEXT, County TEXT, State TEXT, Area TEXT, isAVA TEXT ) CREATE TABLE wine ( No INTEGER, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT, Name TE...
SELECT Year, AVG(Price) FROM wine GROUP BY Year
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11457, 7, 41, 4699, 3, 21342, 17966, 6, 29083, 3, 3463, 4, 382, 6, 6088, 3, 3463, 4, 382, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 8319, 6105, 7, 41, 465, 3, 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, 2929, 6, 71, 17217, 599, 345, 4920, 61, 21680, 2013, 350, 4630, 6880, 272, 476, 2929, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the preferred language and primary disease of the patient with patient id 3343?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, ...
SELECT demographic.language, demographic.diagnosis FROM demographic WHERE demographic.subject_id = "3343"
[ 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, 14798, 5, 24925, 6, 14798, 5, 25930, 4844, 159, 21680, 14798, 549, 17444, 427, 14798, 5, 7304, 11827, 834, 23, 26, 3274, 96, 4201, 4906, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For which singers was Alangudi Somu the lyricist?
CREATE TABLE table_112 ( "Track #" real, "Song" text, "Singers" text, "Picturization" text, "Length" text, "Lyricist" text )
SELECT "Singers" FROM table_112 WHERE "Lyricist" = 'Alangudi Somu'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 357, 41, 96, 382, 16729, 1713, 121, 490, 6, 96, 134, 2444, 121, 1499, 6, 96, 134, 53, 277, 121, 1499, 6, 96, 345, 447, 2905, 1707, 121, 1499, 6, 96, 434, 4606, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 53, 277, 121, 21680, 953, 834, 2596, 357, 549, 17444, 427, 96, 434, 63, 2234, 343, 121, 3274, 3, 31, 188, 4612, 5291, 264, 51, 76, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What pregame host was on espn and had taylor twellman color commentating?
CREATE TABLE table_17516922_1 ( pregame_host VARCHAR, network VARCHAR, color_commentator VARCHAR )
SELECT pregame_host FROM table_17516922_1 WHERE network = "ESPN" AND color_commentator = "Taylor Twellman"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 5553, 3951, 2884, 834, 536, 41, 554, 7261, 834, 12675, 584, 4280, 28027, 6, 1229, 584, 4280, 28027, 6, 945, 834, 287, 297, 1016, 584, 4280, 28027, 3, 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, 554, 7261, 834, 12675, 21680, 953, 834, 2517, 5553, 3951, 2884, 834, 536, 549, 17444, 427, 1229, 3274, 96, 26130, 567, 121, 3430, 945, 834, 287, 297, 1016, 3274, 96, 382, 9, 63, 322, 332, 2091, 348, 121, 1, -100, ...
how many patients whose admission type is urgent and procedure short title is percutan liver aspirat?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "URGENT" AND procedures.short_title = "Percutan liver aspirat"
[ 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, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the 4th largest where the 2nd largest is Minab?
CREATE TABLE table_48111 ( "Province" text, "Largest city" text, "2nd Largest" text, "3rd Largest" text, "4th largest" text )
SELECT "4th largest" FROM table_48111 WHERE "2nd Largest" = 'minab'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 15866, 41, 96, 3174, 2494, 565, 121, 1499, 6, 96, 434, 8240, 222, 690, 121, 1499, 6, 96, 357, 727, 7199, 7, 17, 121, 1499, 6, 96, 519, 52, 26, 7199, 7, 17, 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, 591, 189, 2015, 121, 21680, 953, 834, 3707, 15866, 549, 17444, 427, 96, 357, 727, 7199, 7, 17, 121, 3274, 3, 31, 1109, 9, 115, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Just show the employee's last name and their employee id using a bar chart.
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decima...
SELECT LAST_NAME, EMPLOYEE_ID FROM employees
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12510, 834, 567, 17683, 6, 262, 5244, 5017, 476, 5080, 834, 4309, 21680, 1652, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
List the name of products in ascending order of price, and count them by a bar chart
CREATE TABLE Locations ( Location_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Parties ( Party_ID INTEGER, Party_Details VARCHAR(255) ) CREATE TABLE Events ( Event_ID INTEGER, Address_ID INTEGER, Channel_ID INTEGER, Event_Type_Code CHAR(15), Finance_ID INTEGER, Locatio...
SELECT Product_Name, COUNT(Product_Name) FROM Products GROUP BY Product_Name ORDER BY Product_Price
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10450, 7, 41, 10450, 834, 4309, 3, 21342, 17966, 6, 2502, 834, 2962, 5756, 7, 584, 4280, 28027, 599, 25502, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 17450, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6246, 834, 23954, 6, 2847, 17161, 599, 3174, 7472, 834, 23954, 61, 21680, 7554, 350, 4630, 6880, 272, 476, 6246, 834, 23954, 4674, 11300, 272, 476, 6246, 834, 345, 4920, 1, -100, -100, -100, -100, -100, -100, -100, -1...
What is the outgoing manager when the incoming manager is tefan tarkovi ?
CREATE TABLE table_27683516_3 ( outgoing_manager VARCHAR, incoming_manager VARCHAR )
SELECT outgoing_manager FROM table_27683516_3 WHERE incoming_manager = "Štefan Tarkovič"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3651, 2469, 2938, 834, 519, 41, 91, 9545, 834, 24185, 584, 4280, 28027, 6, 3, 19583, 834, 24185, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 91, 9545, 834, 24185, 21680, 953, 834, 2555, 3651, 2469, 2938, 834, 519, 549, 17444, 427, 3, 19583, 834, 24185, 3274, 96, 2, 24018, 5509, 9789, 23, 2, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the finish with less than 200 laps in 1953?
CREATE TABLE table_name_85 (finish VARCHAR, laps VARCHAR, year VARCHAR)
SELECT finish FROM table_name_85 WHERE laps < 200 AND year = "1953"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 25535, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1992, 28, 705, 145, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1992, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 14941, 7, 3, 2, 2382, 3430, 215, 3274, 96, 2294, 4867, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
WHAT IS THE TEAM WITH ATTENDANCE AT TARGET CENTER 11,921?
CREATE TABLE table_48581 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Team" FROM table_48581 WHERE "Location Attendance" = 'target center 11,921'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 3449, 536, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18699, 121, 21680, 953, 834, 3707, 3449, 536, 549, 17444, 427, 96, 434, 32, 75, 257, 22497, 663, 121, 3274, 3, 31, 24315, 1530, 9694, 4508, 536, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many points are there later than 1992?
CREATE TABLE table_35203 ( "Year" real, "Class" text, "Team" text, "Points" real, "Wins" real )
SELECT COUNT("Points") FROM table_35203 WHERE "Year" > '1992'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 23330, 41, 96, 476, 2741, 121, 490, 6, 96, 21486, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 18455, 7, 121, 490, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 22512, 7, 8512, 21680, 953, 834, 2469, 23330, 549, 17444, 427, 96, 476, 2741, 121, 2490, 3, 31, 19479, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
name the top 5 where the winnings is $52,595
CREATE TABLE table_1671401_3 ( top_5 VARCHAR, winnings VARCHAR )
SELECT top_5 FROM table_1671401_3 WHERE winnings = "$52,595"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 4450, 20016, 834, 519, 41, 420, 834, 755, 584, 4280, 28027, 6, 3447, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 564, 8, 420, 305, 213, 8, 3447, 7, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 420, 834, 755, 21680, 953, 834, 2938, 4450, 20016, 834, 519, 549, 17444, 427, 3447, 7, 3274, 96, 3229, 5373, 6, 3390, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many opponents were there when the record was 6-0?
CREATE TABLE table_21197135_1 (opponent VARCHAR, record VARCHAR)
SELECT COUNT(opponent) FROM table_21197135_1 WHERE record = "6-0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 2294, 4450, 2469, 834, 536, 41, 32, 102, 9977, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 16383, 130, 132, 116, 8, 1368, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 32, 102, 9977, 61, 21680, 953, 834, 2658, 2294, 4450, 2469, 834, 536, 549, 17444, 427, 1368, 3274, 96, 28625, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many Placings have Points smaller than 330.84, and a Name of silvo svajger?
CREATE TABLE table_76897 ( "Rank" real, "Name" text, "Nation" text, "Points" real, "Placings" real )
SELECT COUNT("Placings") FROM table_76897 WHERE "Points" < '330.84' AND "Name" = 'silvo svajger'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 3914, 940, 41, 96, 22557, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 345, 9700, 53, 7, 121, 490, 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, 2847, 17161, 599, 121, 345, 9700, 53, 7, 8512, 21680, 953, 834, 3959, 3914, 940, 549, 17444, 427, 96, 22512, 7, 121, 3, 2, 3, 31, 17225, 5, 4608, 31, 3430, 96, 23954, 121, 3274, 3, 31, 7, 173, 1621, 3, 7, 900,...
Which player from the United States plays defence and was chosen before round 5?
CREATE TABLE table_name_68 (player VARCHAR, nationality VARCHAR, position VARCHAR, round VARCHAR)
SELECT player FROM table_name_68 WHERE position = "defence" AND round < 5 AND nationality = "united states"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 20846, 584, 4280, 28027, 6, 1157, 485, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1959, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 1102, 3274, 96, 221, 89, 1433, 121, 3430, 1751, 3, 2, 305, 3430, 1157, 485, 3274, 96, 15129, 15, 26, 2315, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
Give me the comparison about the amount of ACC_Road over the ACC_Road , and group by attribute ACC_Road, and could you display by the Y from high to low?
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 ACC_Road, COUNT(ACC_Road) FROM basketball_match GROUP BY ACC_Road ORDER BY COUNT(ACC_Road) 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, 3, 14775, 834, 448, 32, 9, 26, 6, 2847, 17161, 599, 14775, 834, 448, 32, 9, 26, 61, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 3, 14775, 834, 448, 32, 9, 26, 4674, 11300, 272, 476, 2847, 17161, 599, 147...
What was the record when matt grice fought dennis bermudez with a time of 5:00?
CREATE TABLE table_name_36 ( record VARCHAR, time VARCHAR, opponent VARCHAR )
SELECT record FROM table_name_36 WHERE time = "5:00" AND opponent = "dennis bermudez"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 1368, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1368, 116, 6928, 17, 354...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1368, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 97, 3274, 96, 19870, 121, 3430, 15264, 3274, 96, 537, 29, 159, 3, 1152, 11557, 457, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which American Labor candidate ran against Republican Thomas E. Dewey?
CREATE TABLE table_name_91 ( american_labor_ticket VARCHAR, republican_ticket VARCHAR )
SELECT american_labor_ticket FROM table_name_91 WHERE republican_ticket = "thomas e. dewey"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 10211, 834, 9456, 834, 26639, 584, 4280, 28027, 6, 20237, 152, 834, 26639, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 797, 9836, 4775, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10211, 834, 9456, 834, 26639, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 20237, 152, 834, 26639, 3274, 96, 189, 32, 2754, 3, 15, 5, 20, 1123, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is Country, when Event is Rip Curl Women's Pro?
CREATE TABLE table_name_67 ( country VARCHAR, event VARCHAR )
SELECT country FROM table_name_67 WHERE event = "rip curl women's pro"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 684, 584, 4280, 28027, 6, 605, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 6993, 6, 116, 8042, 19, 2403, 102, 4116, 40, 4047, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 605, 3274, 96, 5082, 18322, 887, 31, 7, 813, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the arranger for the track written by Nizar Francis ?
CREATE TABLE table_14778650_1 ( arranger VARCHAR, writer VARCHAR )
SELECT arranger FROM table_14778650_1 WHERE writer = "Nizar Francis"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24719, 3940, 15348, 834, 536, 41, 8031, 52, 584, 4280, 28027, 6, 4346, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 8031, 52, 21, 8, 1463, 1545, 57,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8031, 52, 21680, 953, 834, 24719, 3940, 15348, 834, 536, 549, 17444, 427, 4346, 3274, 96, 567, 23, 7061, 11065, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the lowest evening gown score a contestant with an average less than 8.23, an interview score of 8.11, and a swimsuit larger than 7.84 has?
CREATE TABLE table_name_17 (evening_gown INTEGER, swimsuit VARCHAR, average VARCHAR, interview VARCHAR)
SELECT MIN(evening_gown) FROM table_name_17 WHERE average < 8.23 AND interview = 8.11 AND swimsuit > 7.84
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 6190, 53, 834, 122, 9197, 3, 21342, 17966, 6, 9728, 7628, 584, 4280, 28027, 6, 1348, 584, 4280, 28027, 6, 2772, 584, 4280, 28027, 61, 3, 32102, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 6190, 53, 834, 122, 9197, 61, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 1348, 3, 2, 4848, 2773, 3430, 2772, 3274, 4848, 2596, 3430, 9728, 7628, 2490, 4306, 4608, 1, -100, -100, -100, -100, -1...
What are the personal name, family name, and author ID of the course author who teaches the most courses?
CREATE TABLE course_authors_and_tutors ( author_id number, author_tutor_atb text, login_name text, password text, personal_name text, middle_name text, family_name text, gender_mf text, address_line_1 text ) CREATE TABLE subjects ( subject_id number, subject_name text ) CRE...
SELECT T1.personal_name, T1.family_name, T2.author_id FROM course_authors_and_tutors AS T1 JOIN courses AS T2 ON T1.author_id = T2.author_id GROUP BY T2.author_id ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 503, 834, 17415, 7, 834, 232, 834, 17, 76, 5535, 41, 2291, 834, 23, 26, 381, 6, 2291, 834, 17, 76, 17, 127, 834, 144, 115, 1499, 6, 11255, 834, 4350, 1499, 6, 4735, 1499, 6, 525,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17108, 834, 4350, 6, 332, 5411, 15474, 834, 4350, 6, 332, 4416, 17415, 834, 23, 26, 21680, 503, 834, 17415, 7, 834, 232, 834, 17, 76, 5535, 6157, 332, 536, 3, 15355, 3162, 2996, 6157, 332, 357, 9191, 33...
When was Maat born?
CREATE TABLE table_name_44 ( dob VARCHAR, surname VARCHAR )
SELECT dob FROM table_name_44 WHERE surname = "maat"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 103, 115, 584, 4280, 28027, 6, 244, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 1534, 144, 2170, 58, 1, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 103, 115, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 244, 4350, 3274, 96, 51, 9, 144, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how much does a procedure called vasopressors - norepinephrine > 0.1 micrograms/kg/min cost?
CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE vitalperiodi...
SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'treatment' AND cost.eventid IN (SELECT treatment.treatmentid FROM treatment WHERE treatment.treatmentname = 'vasopressors - norepinephrine > 0.1 micrograms/kg/min')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8209, 41, 8209, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 8209, 4350, 1499, 6, 8209, 715, 97, 6, 3, 447, 26, 1298, 4978, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 583, 5, 11290, 21680, 583, 549, 17444, 427, 583, 5, 15, 2169, 6137, 3274, 3, 31, 26889, 31, 3430, 583, 5, 15, 2169, 23, 26, 3388, 41, 23143, 14196, 1058, 5, 26889, 23, 26, 21680, 1058, 549, ...
Who is the head of household for task number 7?
CREATE TABLE table_name_39 (head_of_household VARCHAR, task_no VARCHAR)
SELECT head_of_household FROM table_name_39 WHERE task_no = 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 3313, 834, 858, 834, 1840, 6134, 584, 4280, 28027, 6, 2491, 834, 29, 32, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 819, 13, 569...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 819, 834, 858, 834, 1840, 6134, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 2491, 834, 29, 32, 3274, 489, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
how many patients are below 49 years of age and admitted under the year 2198?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "49" AND demographic.admityear < "2198"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 545, 3, 2, 96, 3647, 121, 3430, 14798, 5, 20466, 17, 1201, 3, 2, 96, 2658, 3916, 121, 1, -100,...
What is the name of Team 2 with a Team 1 of Al Qadsia?
CREATE TABLE table_75966 ( "Team 1" text, "Agg." text, "Team 2" text, "1st leg" text, "2nd leg" text )
SELECT "Team 2" FROM table_75966 WHERE "Team 1" = 'al qadsia'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3390, 3539, 41, 96, 18699, 209, 121, 1499, 6, 96, 188, 4102, 535, 1499, 6, 96, 18699, 204, 121, 1499, 6, 96, 536, 7, 17, 4553, 121, 1499, 6, 96, 357, 727, 4553, 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, 18699, 204, 121, 21680, 953, 834, 940, 3390, 3539, 549, 17444, 427, 96, 18699, 209, 121, 3274, 3, 31, 138, 3, 1824, 9, 26, 7, 23, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Find the city and name of bank branches that provide business loans.
CREATE TABLE bank (bname VARCHAR, city VARCHAR, branch_id VARCHAR); CREATE TABLE loan (branch_id VARCHAR, loan_type VARCHAR)
SELECT T1.bname, T1.city FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id = T2.branch_id WHERE T2.loan_type = 'Business'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2137, 41, 115, 4350, 584, 4280, 28027, 6, 690, 584, 4280, 28027, 6, 6421, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2289, 41, 1939, 5457, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 115, 4350, 6, 332, 5411, 6726, 21680, 2137, 6157, 332, 536, 3, 15355, 3162, 2289, 6157, 332, 357, 9191, 332, 5411, 1939, 5457, 834, 23, 26, 3274, 332, 4416, 1939, 5457, 834, 23, 26, 549, 17444, 427, 332, ...
which tramway was built directly before the 3s aeriral tramway ?
CREATE TABLE table_203_457 ( id number, "tramway" text, "country" text, "city" text, "height of pylons" text, "span width,\nleaning straight line" text, "span width,\nhorizontal measurement" text, "height of cable over ground" text, "year of inauguration" number, "notes" text )
SELECT "tramway" FROM table_203_457 WHERE "year of inauguration" = (SELECT "year of inauguration" FROM table_203_457 WHERE "tramway" = '3s aerial tramway') - 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 591, 3436, 41, 3, 23, 26, 381, 6, 96, 17, 2375, 1343, 121, 1499, 6, 96, 17529, 121, 1499, 6, 96, 6726, 121, 1499, 6, 96, 88, 2632, 13, 3, 102, 25016, 7, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 17, 2375, 1343, 121, 21680, 953, 834, 23330, 834, 591, 3436, 549, 17444, 427, 96, 1201, 13, 3, 30634, 121, 3274, 41, 23143, 14196, 96, 1201, 13, 3, 30634, 121, 21680, 953, 834, 23330, 834, 591, 3436, 549, 17444,...
which driver won after ponsiano lwakataka ?
CREATE TABLE table_203_667 ( id number, "year" number, "driver" text, "co-driver" text, "car" text, "notes" text )
SELECT "driver" FROM table_203_667 WHERE "year" > (SELECT "year" FROM table_203_667 WHERE "driver" = 'ponsiano lwakataka') ORDER BY "year" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3539, 940, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 13739, 52, 121, 1499, 6, 96, 509, 18, 13739, 52, 121, 1499, 6, 96, 1720, 121, 1499, 6, 96, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13739, 52, 121, 21680, 953, 834, 23330, 834, 3539, 940, 549, 17444, 427, 96, 1201, 121, 2490, 41, 23143, 14196, 96, 1201, 121, 21680, 953, 834, 23330, 834, 3539, 940, 549, 17444, 427, 96, 13739, 52, 121, 3274, 3...
What is the year of the winner from the army school, plays the halfback position, and has a % of points possible of 39.01%?
CREATE TABLE table_42497 ( "Year" real, "Winner" text, "School" text, "Position" text, "Points" text, "% of Points Possible" text )
SELECT SUM("Year") FROM table_42497 WHERE "School" = 'army' AND "Position" = 'halfback' AND "% of Points Possible" = '39.01%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2266, 4327, 41, 96, 476, 2741, 121, 490, 6, 96, 18455, 687, 121, 1499, 6, 96, 29364, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 22512, 7, 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, 180, 6122, 599, 121, 476, 2741, 8512, 21680, 953, 834, 591, 2266, 4327, 549, 17444, 427, 96, 29364, 121, 3274, 3, 31, 6768, 63, 31, 3430, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 17114, 1549, 31, 3430, 96, 1454, ...
Loss of peavy (4 3) is what score?
CREATE TABLE table_35975 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text )
SELECT "Score" FROM table_35975 WHERE "Loss" = 'peavy (4–3)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3390, 3072, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 188, 17, 324, 26,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 519, 3390, 3072, 549, 17444, 427, 96, 434, 32, 7, 7, 121, 3274, 3, 31, 855, 19649, 8457, 104, 5268, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When was millwall the home team?
CREATE TABLE table_65641 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text )
SELECT "Date" FROM table_65641 WHERE "Home team" = 'millwall'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 4389, 536, 41, 96, 382, 23, 15, 150, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 308, 342, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 4122, 4389, 536, 549, 17444, 427, 96, 19040, 372, 121, 3274, 3, 31, 12415, 10279, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the loss when the record is 76-81
CREATE TABLE table_name_1 ( loss VARCHAR, record VARCHAR )
SELECT loss FROM table_name_1 WHERE record = "76-81"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 1453, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1453, 116, 8, 1368, 19, 3, 3959, 18, 4959, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1453, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 1368, 3274, 96, 3959, 18, 4959, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
give me the number of patients whose gender is f and procedure short title is abdomen artery incision?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.gender = "F" AND procedures.short_title = "Abdomen artery incision"
[ 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,...
give me the number of patients diagnosed with atherosclerosis of native arteries of extremities with intermittent claudication who were hospitalized for more than a day.
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 demographic.days_stay > "1" AND diagnoses.short_title = "Ath ext ntv at w claudct"
[ 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...
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, draw a bar chart about the distribution of hire_date and the sum of manager_id bin hire_date by weekday, sort from low to high by the Y-axis.
CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE locations ( LOCATIO...
SELECT HIRE_DATE, SUM(MANAGER_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY SUM(MANAGER_ID)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10521, 41, 3396, 19846, 11810, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3396, 19846, 11810, 834, 567, 17683, 3, 4331, 4059, 599, 1458, 201, 283, 15610, 17966, 834, 4309, 7908, 1982, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 180, 6122, 599, 9312, 188, 17966, 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, ...
What is the smallest rank by average for a team averaging 22.8?
CREATE TABLE table_27655 ( "Rank by average" real, "Place" real, "Couple" text, "Total points" real, "Number of dances" real, "Average" text )
SELECT MIN("Rank by average") FROM table_27655 WHERE "Average" = '22.8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3959, 3769, 41, 96, 22557, 57, 1348, 121, 490, 6, 96, 345, 11706, 121, 490, 6, 96, 3881, 413, 109, 121, 1499, 6, 96, 3696, 1947, 979, 121, 490, 6, 96, 567, 5937, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 22557, 57, 1348, 8512, 21680, 953, 834, 357, 3959, 3769, 549, 17444, 427, 96, 188, 624, 545, 121, 3274, 3, 31, 357, 19419, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Model has a Number of CPUs of 1 10, and a Performance (MIPS) of 49 447?
CREATE TABLE table_name_6 ( model VARCHAR, number_of_cpus VARCHAR, performance__mips_ VARCHAR )
SELECT model FROM table_name_6 WHERE number_of_cpus = "1–10" AND performance__mips_ = "49–447"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 825, 584, 4280, 28027, 6, 381, 834, 858, 834, 75, 7800, 584, 4280, 28027, 6, 821, 834, 834, 51, 15432, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 825, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 381, 834, 858, 834, 75, 7800, 3274, 96, 536, 104, 1714, 121, 3430, 821, 834, 834, 51, 15432, 834, 3274, 96, 3647, 104, 591, 4177, 121, 1, -100, -100, -100, -1...
What is the fewest draws for teams with a 0 goal difference and under 55 goals against?
CREATE TABLE table_name_45 (drawn INTEGER, goal_difference VARCHAR, goals_against VARCHAR)
SELECT MIN(drawn) FROM table_name_45 WHERE goal_difference = "0" AND goals_against < 55
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 19489, 29, 3, 21342, 17966, 6, 1288, 834, 26, 99, 11788, 584, 4280, 28027, 6, 1766, 834, 9, 16720, 7, 17, 584, 4280, 28027, 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, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 19489, 29, 61, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 1288, 834, 26, 99, 11788, 3274, 96, 632, 121, 3430, 1766, 834, 9, 16720, 7, 17, 3, 2, 6897, 1, -100, -100, -100, -100, -100, -100, ...
What was the date when Steffi Graf was the opponent in the final and the score was 2 6, 0 6?
CREATE TABLE table_name_49 ( date VARCHAR, opponent_in_the_final VARCHAR, score_in_the_final VARCHAR )
SELECT date FROM table_name_49 WHERE opponent_in_the_final = "steffi graf" AND score_in_the_final = "2–6, 0–6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 833, 584, 4280, 28027, 6, 15264, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 6, 2604, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 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, 833, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 15264, 834, 77, 834, 532, 834, 12406, 3274, 96, 7, 17, 23473, 3, 8290, 121, 3430, 2604, 834, 77, 834, 532, 834, 12406, 3274, 96, 357, 104, 11071, 3, 632, 104...
What is the result of the game where the opponent is Innsbrucker Kilmarnock CSK VVS Samara?
CREATE TABLE table_27654988_1 (result VARCHAR, opponent VARCHAR)
SELECT result FROM table_27654988_1 WHERE opponent = "Innsbrucker Kilmarnock CSK VVS Samara"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4122, 3647, 4060, 834, 536, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 741, 13, 8, 467, 213, 8,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 2555, 4122, 3647, 4060, 834, 536, 549, 17444, 427, 15264, 3274, 96, 1570, 29, 7, 9052, 3383, 12672, 1635, 29, 3961, 205, 10047, 584, 14945, 3084, 2551, 121, 1, -100, -100, -100, -100, -100, -100,...
what was the name of the last competition ?
CREATE TABLE table_203_192 ( id number, "year" number, "competition" text, "venue" text, "position" text, "notes" text )
SELECT "competition" FROM table_203_192 ORDER BY id DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 19978, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 287, 4995, 4749, 121, 1499, 6, 96, 15098, 121, 1499, 6, 96, 4718, 121, 1499, 6, 96, 7977, 7, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 287, 4995, 4749, 121, 21680, 953, 834, 23330, 834, 19978, 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 is the number of capacity at somerset park?
CREATE TABLE table_11206787_5 (capacity VARCHAR, stadium VARCHAR)
SELECT COUNT(capacity) FROM table_11206787_5 WHERE stadium = "Somerset Park"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 1755, 3708, 4225, 834, 755, 41, 4010, 9, 6726, 584, 4280, 28027, 6, 14939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 381, 13, 2614, 44, 128, 52...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 4010, 9, 6726, 61, 21680, 953, 834, 2596, 1755, 3708, 4225, 834, 755, 549, 17444, 427, 14939, 3274, 96, 19055, 52, 2244, 1061, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the shortest and most poorly rated song for each genre, ordered alphabetically by genre?
CREATE TABLE song ( song_name text, artist_name text, country text, f_id number, genre_is text, rating number, languages text, releasedate time, resolution number ) CREATE TABLE artist ( artist_name text, country text, gender text, preferred_genre text ) CREATE TABL...
SELECT MIN(T1.duration), MIN(T2.rating), T2.genre_is FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id GROUP BY T2.genre_is ORDER BY T2.genre_is
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2324, 41, 2324, 834, 4350, 1499, 6, 2377, 834, 4350, 1499, 6, 684, 1499, 6, 3, 89, 834, 23, 26, 381, 6, 5349, 834, 159, 1499, 6, 5773, 381, 6, 8024, 1499, 6, 1883, 342, 97, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 382, 5411, 1259, 2661, 201, 3, 17684, 599, 382, 4416, 52, 1014, 201, 332, 4416, 729, 60, 834, 159, 21680, 2073, 6157, 332, 536, 3, 15355, 3162, 2324, 6157, 332, 357, 9191, 332, 5411, 89, 834, 23, 26...
Which game took place on April 22?
CREATE TABLE table_name_8 ( game VARCHAR, date VARCHAR )
SELECT game FROM table_name_8 WHERE date = "april 22"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 467, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 467, 808, 286, 30, 1186, 1630, 58, 1, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 467, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 833, 3274, 96, 9, 2246, 40, 1630, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
which year has the toyota tf102 chassis?
CREATE TABLE table_name_1 (year VARCHAR, chassis VARCHAR)
SELECT COUNT(year) FROM table_name_1 WHERE chassis = "toyota tf102"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 1201, 584, 4280, 28027, 6, 22836, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 84, 215, 65, 8, 12, 63, 32, 17, 9, 3, 17, 89, 14388, 22836, 58,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1201, 61, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 22836, 3274, 96, 235, 63, 32, 17, 9, 3, 17, 89, 14388, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Circuit has a Pole position of andr ribeiro?
CREATE TABLE table_name_97 ( circuit VARCHAR, pole_position VARCHAR )
SELECT circuit FROM table_name_97 WHERE pole_position = "andré ribeiro"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 4558, 584, 4280, 28027, 6, 11148, 834, 4718, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 17007, 65, 3, 9, 19418, 1102, 13, 11, 52, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4558, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 11148, 834, 4718, 3274, 96, 232, 2339, 3, 6520, 21810, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the result of the match in Penrith that featured a score of 48-12?
CREATE TABLE table_4661 ( "Date" text, "Result" text, "Score" text, "Stadium" text, "City" text, "Crowd" real )
SELECT "Result" FROM table_4661 WHERE "Score" = '48-12' AND "City" = 'penrith'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 4241, 41, 96, 308, 342, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 134, 17, 9, 12925, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 4448, 4241, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 3707, 5947, 31, 3430, 96, 254, 485, 121, 3274, 3, 31, 3208, 30922, 31, 1, -100, -100, -100, -100, -100, -100, -100, -1...
What is the lowest Lost, when Goals For is greater than 52, when Points 1 is '44', and when Drawn is less than 8?
CREATE TABLE table_name_88 ( lost INTEGER, drawn VARCHAR, goals_for VARCHAR, points_1 VARCHAR )
SELECT MIN(lost) FROM table_name_88 WHERE goals_for > 52 AND points_1 = "44" AND drawn < 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 1513, 3, 21342, 17966, 6, 6796, 584, 4280, 28027, 6, 1766, 834, 1161, 584, 4280, 28027, 6, 979, 834, 536, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 2298, 17, 61, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 1766, 834, 1161, 2490, 9065, 3430, 979, 834, 536, 3274, 96, 3628, 121, 3430, 6796, 3, 2, 505, 1, -100, -100, -100, -100, -100, -100, ...
How many locations does Elon University have?
CREATE TABLE table_20773 ( "Institution" text, "Location" text, "Founded" real, "Affiliation" text, "Enrollment" real, "Team Nickname" text, "Primary conference" text, "Home Rink" text )
SELECT COUNT("Location") FROM table_20773 WHERE "Institution" = 'Elon University'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26426, 4552, 41, 96, 1570, 17448, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 20100, 121, 490, 6, 96, 188, 89, 8027, 23, 257, 121, 1499, 6, 96, 8532, 4046, 29...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 434, 32, 75, 257, 8512, 21680, 953, 834, 26426, 4552, 549, 17444, 427, 96, 1570, 17448, 121, 3274, 3, 31, 10991, 106, 636, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Date has a Score of 4–2?
CREATE TABLE table_name_14 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_14 WHERE score = "4–2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 5522, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 7678, 65, 3, 9, 17763, 13, 314, 104, 357, 58, 1, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 2604, 3274, 96, 591, 104, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Show the product type codes that have both products with price higher than 4500 and products with price lower than 3000.
CREATE TABLE Products ( Product_Type_Code VARCHAR, Product_Price INTEGER )
SELECT Product_Type_Code FROM Products WHERE Product_Price > 4500 INTERSECT SELECT Product_Type_Code FROM Products WHERE Product_Price < 3000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 6246, 834, 25160, 834, 22737, 584, 4280, 28027, 6, 6246, 834, 345, 4920, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 3111, 8, 556, 686, 5633, 24, 43, 321, 494, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6246, 834, 25160, 834, 22737, 21680, 7554, 549, 17444, 427, 6246, 834, 345, 4920, 2490, 314, 2560, 3, 21342, 5249, 14196, 3, 23143, 14196, 6246, 834, 25160, 834, 22737, 21680, 7554, 549, 17444, 427, 6246, 834, 345, 4920...
count the number of patients whose lab test abnormal status is delta and lab test name is c-reactive protein?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.flag = "delta" AND lab.label = "C-Reactive Protein"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Show the name for regions and the number of storms for each region, and show bars from low to high order.
CREATE TABLE storm ( Storm_ID int, Name text, Dates_active text, Max_speed int, Damage_millions_USD real, Number_Deaths int ) CREATE TABLE affected_region ( Region_id int, Storm_ID int, Number_city_affected real ) CREATE TABLE region ( Region_id int, Region_code text, R...
SELECT Region_name, COUNT(*) FROM region AS T1 JOIN affected_region AS T2 ON T1.Region_id = T2.Region_id GROUP BY T1.Region_id ORDER BY Region_name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5536, 41, 16133, 834, 4309, 16, 17, 6, 5570, 1499, 6, 7678, 7, 834, 6645, 1499, 6, 5370, 834, 9993, 16, 17, 6, 26135, 834, 17030, 7, 834, 23492, 490, 6, 7720, 834, 2962, 9, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6163, 834, 4350, 6, 2847, 17161, 599, 1935, 61, 21680, 1719, 6157, 332, 536, 3, 15355, 3162, 4161, 834, 18145, 6157, 332, 357, 9191, 332, 5411, 17748, 23, 106, 834, 23, 26, 3274, 332, 4416, 17748, 23, 106, 834, 23, ...
What is the total number of companies?
CREATE TABLE company ( company_id number, rank number, company text, headquarters text, main_industry text, sales_billion number, profits_billion number, assets_billion number, market_value number ) CREATE TABLE gas_station ( station_id number, open_year number, location...
SELECT COUNT(*) FROM company
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 349, 41, 349, 834, 23, 26, 381, 6, 11003, 381, 6, 349, 1499, 6, 13767, 1499, 6, 711, 834, 13580, 7, 8224, 1499, 6, 1085, 834, 115, 14916, 381, 6, 9613, 834, 115, 14916, 381, 6, 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, 2847, 17161, 599, 1935, 61, 21680, 349, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Give me the comparison about the average of Team_ID over the ACC_Road , and group by attribute ACC_Road by a bar chart, and list Y from high to low order please.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Per...
SELECT ACC_Road, AVG(Team_ID) FROM basketball_match GROUP BY ACC_Road ORDER BY AVG(Team_ID) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 14775, 834, 448, 32, 9, 26, 6, 71, 17217, 599, 18699, 834, 4309, 61, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 3, 14775, 834, 448, 32, 9, 26, 4674, 11300, 272, 476, 71, 17217, 599, 18699, 834, 4309, ...
Name the most played
CREATE TABLE table_14323347_1 ( played INTEGER )
SELECT MAX(played) FROM table_14323347_1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25133, 20879, 4177, 834, 536, 41, 1944, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 167, 1944, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 4895, 15, 26, 61, 21680, 953, 834, 25133, 20879, 4177, 834, 536, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
solid tumor with on going chemotherapy or radiotherapy
CREATE TABLE table_train_60 ( "id" int, "corticosteroid_therapy" bool, "radiotherapy" bool, "immune_suppression" bool, "hiv_infection" bool, "cd4_count" int, "sargramostim" bool, "chemotherapy" bool, "immune_deficiency_disorder" bool, "tumor" bool, "receiving_prednisolone" in...
SELECT * FROM table_train_60 WHERE tumor = 1 AND (chemotherapy = 1 OR radiotherapy = 1)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 3328, 41, 96, 23, 26, 121, 16, 17, 6, 96, 5715, 1225, 32, 849, 8184, 834, 10896, 121, 3, 12840, 40, 6, 96, 5883, 32, 10896, 121, 3, 12840, 40, 6, 96, 23, 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, 1429, 21680, 953, 834, 9719, 834, 3328, 549, 17444, 427, 8985, 3274, 209, 3430, 41, 6482, 32, 10896, 3274, 209, 4674, 2252, 10896, 3274, 8925, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many living patients were diagnosed with procedure icd9 code 3897?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.expire_flag = "0" AND procedures.icd9_code = "3897"
[ 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, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
How many points when the Grid was 1?
CREATE TABLE table_name_75 (points VARCHAR, grid VARCHAR)
SELECT points FROM table_name_75 WHERE grid = "1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 2700, 7, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 979, 116, 8, 23644, 47, 209, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 979, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 8634, 3274, 96, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Street Address of 401 n. wabash avenue involves what name?
CREATE TABLE table_name_32 (name VARCHAR, street_address VARCHAR)
SELECT name FROM table_name_32 WHERE street_address = "401 n. wabash avenue"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 4350, 584, 4280, 28027, 6, 2815, 834, 9, 26, 12039, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 1887, 13246, 13, 3, 20016, 3, 29, 5, 8036, 115...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 2815, 834, 9, 26, 12039, 3274, 96, 20016, 3, 29, 5, 8036, 115, 3198, 18836, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the lowest Height (m) on the island of Burray?
CREATE TABLE table_69292 ( "Island" text, "Group" text, "Area ( ha )" text, "Population" text, "Height (m)" real )
SELECT MIN("Height (m)") FROM table_69292 WHERE "Island" = 'burray'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 3166, 357, 41, 96, 196, 7, 40, 232, 121, 1499, 6, 96, 27247, 121, 1499, 6, 96, 188, 864, 41, 4244, 3, 61, 121, 1499, 6, 96, 27773, 7830, 121, 1499, 6, 96, 3845, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3845, 2632, 41, 51, 61, 8512, 21680, 953, 834, 3951, 3166, 357, 549, 17444, 427, 96, 196, 7, 40, 232, 121, 3274, 3, 31, 5808, 2866, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
at what time was the patient with patient id 8440 discharged?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) ...
SELECT demographic.dischtime FROM demographic WHERE demographic.subject_id = "8440"
[ 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, 14798, 5, 26, 2499, 715, 21680, 14798, 549, 17444, 427, 14798, 5, 7304, 11827, 834, 23, 26, 3274, 96, 4608, 2445, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Result has a First elected of 1876, and a District of south carolina 3?
CREATE TABLE table_39220 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text )
SELECT "Result" FROM table_39220 WHERE "First elected" = '1876' AND "District" = 'south carolina 3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 357, 1755, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 490, 6, 96, 20119, 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, 20119, 121, 21680, 953, 834, 3288, 357, 1755, 549, 17444, 427, 96, 25171, 8160, 121, 3274, 3, 31, 2606, 3959, 31, 3430, 96, 308, 23, 20066, 121, 3274, 3, 31, 7, 670, 107, 443, 12057, 9, 220, 31, 1, -100, -10...
What is the circuit held on 15 april?
CREATE TABLE table_name_49 (circuit VARCHAR, date VARCHAR)
SELECT circuit FROM table_name_49 WHERE date = "15 april"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 15357, 21560, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4558, 1213, 30, 627, 3, 9, 2246, 40, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4558, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 833, 3274, 96, 1808, 3, 9, 2246, 40, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
List all people names in the order of their date of birth from old to young.
CREATE TABLE people (name VARCHAR, date_of_birth VARCHAR)
SELECT name FROM people ORDER BY date_of_birth
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 4350, 584, 4280, 28027, 6, 833, 834, 858, 834, 20663, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 6792, 66, 151, 3056, 16, 8, 455, 13, 70, 833, 13, 3879, 45, 625, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 564, 21680, 151, 4674, 11300, 272, 476, 833, 834, 858, 834, 20663, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which City has an Average of 6.85?
CREATE TABLE table_name_27 ( city VARCHAR, average VARCHAR )
SELECT city FROM table_name_27 WHERE average = 6.85
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 690, 584, 4280, 28027, 6, 1348, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 896, 65, 46, 23836, 13, 4357, 4433, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 690, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 1348, 3274, 4357, 4433, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who has 5 losses and has played 11 matches?
CREATE TABLE table_name_47 (name VARCHAR, losses VARCHAR, matches VARCHAR)
SELECT name FROM table_name_47 WHERE losses = "5" AND matches = "11"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 4350, 584, 4280, 28027, 6, 8467, 584, 4280, 28027, 6, 6407, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 65, 305, 8467, 11, 65, 1944, 850, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 564, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 8467, 3274, 96, 17395, 3430, 6407, 3274, 96, 2596, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what was the first movie directed by c.v. sridhar that was filmed in the hindi language ?
CREATE TABLE table_203_204 ( id number, "year" number, "film" text, "language" text, "actors" text, "music" text, "banner" text, "note" text )
SELECT "film" FROM table_203_204 WHERE "language" = 'hindi' ORDER BY "year" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 26363, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 9988, 121, 1499, 6, 96, 24925, 121, 1499, 6, 96, 9, 5317, 7, 121, 1499, 6, 96, 22170, 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, 9988, 121, 21680, 953, 834, 23330, 834, 26363, 549, 17444, 427, 96, 24925, 121, 3274, 3, 31, 107, 8482, 31, 4674, 11300, 272, 476, 96, 1201, 121, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -1...
What tv season year had 14.54 million viewers?
CREATE TABLE table_27553627_2 (tv_season VARCHAR, viewers__in_millions_ VARCHAR)
SELECT tv_season FROM table_27553627_2 WHERE viewers__in_millions_ = "14.54"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3769, 3420, 2555, 834, 357, 41, 17, 208, 834, 9476, 584, 4280, 28027, 6, 13569, 834, 834, 77, 834, 17030, 7, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17, 208, 834, 9476, 21680, 953, 834, 2555, 3769, 3420, 2555, 834, 357, 549, 17444, 427, 13569, 834, 834, 77, 834, 17030, 7, 834, 3274, 96, 2534, 5, 5062, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What Game had a Result of 105-95?
CREATE TABLE table_name_86 (game VARCHAR, result VARCHAR)
SELECT game FROM table_name_86 WHERE result = "105-95"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 7261, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 4435, 141, 3, 9, 3, 20119, 13, 3, 12869, 18, 3301, 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, 467, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 741, 3274, 96, 12869, 18, 3301, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Show the result of the submission with the highest score.
CREATE TABLE acceptance ( Result VARCHAR, Submission_ID VARCHAR ) CREATE TABLE submission ( Submission_ID VARCHAR, Scores VARCHAR )
SELECT T1.Result FROM acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID = T2.Submission_ID ORDER BY T2.Scores DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11122, 41, 3, 20119, 584, 4280, 28027, 6, 29779, 834, 4309, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 8121, 41, 29779, 834, 4309, 584, 4280, 28027, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 20119, 21680, 11122, 6157, 332, 536, 3, 15355, 3162, 8121, 6157, 332, 357, 9191, 332, 5411, 25252, 5451, 834, 4309, 3274, 332, 4416, 25252, 5451, 834, 4309, 4674, 11300, 272, 476, 332, 4416, 134, 9022, 7, 3...
How many records show Utah as the opponent?
CREATE TABLE table_22815265_1 ( record VARCHAR, opponent VARCHAR )
SELECT COUNT(record) FROM table_22815265_1 WHERE opponent = "Utah"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2577, 26320, 4122, 834, 536, 41, 1368, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 3187, 504, 12339, 38, 8, 15264, 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, 2847, 17161, 599, 60, 7621, 61, 21680, 953, 834, 357, 2577, 26320, 4122, 834, 536, 549, 17444, 427, 15264, 3274, 96, 1265, 17, 9, 107, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show last names for all student who are on scholarship, and count them by a bar chart, I want to sort total number in ascending order.
CREATE TABLE Plays_Games ( StuID INTEGER, GameID INTEGER, Hours_Played INTEGER ) CREATE TABLE Video_Games ( GameID INTEGER, GName VARCHAR(40), GType VARCHAR(40) ) CREATE TABLE SportsInfo ( StuID INTEGER, SportName VARCHAR(32), HoursPerWeek INTEGER, GamesPlayed INTEGER, OnSc...
SELECT LName, COUNT(LName) FROM SportsInfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID WHERE T1.OnScholarship = 'Y' GROUP BY LName ORDER BY COUNT(LName)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2911, 7, 834, 23055, 7, 41, 3, 13076, 4309, 3, 21342, 17966, 6, 4435, 4309, 3, 21342, 17966, 6, 10768, 7, 834, 15800, 15, 26, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 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, 301, 23954, 6, 2847, 17161, 599, 434, 23954, 61, 21680, 5716, 29381, 6157, 332, 536, 3, 15355, 3162, 6341, 6157, 332, 357, 9191, 332, 5411, 13076, 4309, 3274, 332, 4416, 13076, 4309, 549, 17444, 427, 332, 5411, 7638, ...
give me the number of patients whose admission type is emergency and procedure icd9 code is 3142?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND procedures.icd9_code = "3142"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What was the lowest election result for President Leonardo Marras with an area smaller than 227,063 people?
CREATE TABLE table_name_29 (election INTEGER, president VARCHAR, inhabitants VARCHAR)
SELECT MIN(election) FROM table_name_29 WHERE president = "leonardo marras" AND inhabitants < 227 OFFSET 063
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 15, 12252, 3, 21342, 17966, 6, 2753, 584, 4280, 28027, 6, 21155, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 7402, 4356, 741, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 15, 12252, 61, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 2753, 3274, 96, 109, 106, 986, 32, 3, 51, 10116, 7, 121, 3430, 21155, 3, 2, 204, 2555, 3, 15316, 20788, 13574, 519, 1, -100, -100, ...
What is the lowest crowd with home team richmond?
CREATE TABLE table_name_79 (crowd INTEGER, home_team VARCHAR)
SELECT MIN(crowd) FROM table_name_79 WHERE home_team = "richmond"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 75, 3623, 26, 3, 21342, 17966, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 4374, 28, 234, 372, 2354, 676...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 234, 834, 11650, 3274, 96, 3723, 6764, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
who published in vldb or icml ?
CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE author ( authorid int, autho...
SELECT DISTINCT writes.authorid FROM paper, venue, writes WHERE venue.venueid = paper.venueid AND venue.venuename IN ('vldb', 'icml') AND writes.paperid = paper.paperid GROUP BY writes.authorid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 8464, 41, 3, 17994, 19587, 23, 26, 16, 17, 6, 3, 11675, 19587, 23, 26, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 843, 27111, 41, 843, 27111, 23, 26, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 11858, 5, 17415, 23, 26, 21680, 1040, 6, 5669, 6, 11858, 549, 17444, 427, 5669, 5, 15098, 23, 26, 3274, 1040, 5, 15098, 23, 26, 3430, 5669, 5, 15098, 4350, 3388, 41, 31, 208, 40, 26, 115, ...
How many different variants are there for Northern Counties bodybuilder?
CREATE TABLE table_3965 ( "Operator" text, "Number purchased" real, "Variant" text, "Bodybuilder" text, "Year(s) purchased" text )
SELECT COUNT("Variant") FROM table_3965 WHERE "Bodybuilder" = 'Northern Counties'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 4122, 41, 96, 667, 883, 1016, 121, 1499, 6, 96, 567, 5937, 49, 3907, 121, 490, 6, 96, 553, 6855, 17, 121, 1499, 6, 96, 279, 9666, 16422, 49, 121, 1499, 6, 96, 476...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 553, 6855, 17, 8512, 21680, 953, 834, 3288, 4122, 549, 17444, 427, 96, 279, 9666, 16422, 49, 121, 3274, 3, 31, 22969, 49, 29, 3, 10628, 725, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...