NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Who is the visitor from the game with 7,000 in attendance on January 1?
CREATE TABLE table_name_77 ( visitor VARCHAR, attendance VARCHAR, date VARCHAR )
SELECT visitor FROM table_name_77 WHERE attendance = "7,000" AND date = "january 1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 7019, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 7019, 45, 8, 467, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7019, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 11364, 3274, 96, 18834, 121, 3430, 833, 3274, 96, 7066, 76, 1208, 209, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Stack bar chart of school_id vs ACC_Home based on all home, list by the y-axis in descending.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text )
SELECT All_Home, School_ID FROM basketball_match GROUP BY ACC_Home, All_Home ORDER BY School_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, 432, 834, 19040, 6, 1121, 834, 4309, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 3, 14775, 834, 19040, 6, 432, 834, 19040, 4674, 11300, 272, 476, 1121, 834, 4309, 309, 25067, 1, -100, -100, -100, -100, -100, ...
What is the Set 3 when the Set 2 is 21 25, and a Set 1 is 25 21?
CREATE TABLE table_name_70 ( set_3 VARCHAR, set_2 VARCHAR, set_1 VARCHAR )
SELECT set_3 FROM table_name_70 WHERE set_2 = "21–25" AND set_1 = "25–21"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 356, 834, 519, 584, 4280, 28027, 6, 356, 834, 357, 584, 4280, 28027, 6, 356, 834, 536, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 356, 834, 519, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 356, 834, 357, 3274, 96, 2658, 104, 1828, 121, 3430, 356, 834, 536, 3274, 96, 1828, 104, 2658, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100...
Which title has origianal sound entertainment as its label?
CREATE TABLE table_name_85 (title VARCHAR, label VARCHAR)
SELECT title FROM table_name_85 WHERE label = "origianal sound entertainment"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 21869, 584, 4280, 28027, 6, 3783, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2233, 65, 5322, 22898, 138, 1345, 4527, 38, 165, 3783, 58, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 3783, 3274, 96, 2057, 22898, 138, 1345, 4527, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the time/retired for a grid over 17 with 74 laps?
CREATE TABLE table_name_31 ( time_retired VARCHAR, grid VARCHAR, laps VARCHAR )
SELECT time_retired FROM table_name_31 WHERE grid > 17 AND laps = 74
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 97, 834, 10682, 1271, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 97,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 97, 834, 10682, 1271, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 8634, 2490, 1003, 3430, 14941, 7, 3274, 3, 4581, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who lost that has a score of w 4-3?
CREATE TABLE table_name_25 (loss VARCHAR, score VARCHAR)
SELECT loss FROM table_name_25 WHERE score = "w 4-3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 2298, 7, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 1513, 24, 65, 3, 9, 2604, 13, 3, 210, 314, 3486, 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, 0...
[ 3, 23143, 14196, 1453, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 2604, 3274, 96, 210, 314, 3486, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Draw a bar chart of location versus how many location, sort by the x-axis from high to low.
CREATE TABLE wrestler ( Wrestler_ID int, Name text, Reign text, Days_held text, Location text, Event text ) CREATE TABLE Elimination ( Elimination_ID text, Wrestler_ID text, Team text, Eliminated_By text, Elimination_Move text, Time text )
SELECT Location, COUNT(Location) FROM wrestler GROUP BY Location ORDER BY Location DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 26033, 52, 41, 549, 6216, 1171, 834, 4309, 16, 17, 6, 5570, 1499, 6, 419, 3191, 1499, 6, 13992, 834, 14796, 1499, 6, 10450, 1499, 6, 8042, 1499, 3, 61, 3, 32102, 32103, 32102, 205, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 10450, 6, 2847, 17161, 599, 434, 32, 75, 257, 61, 21680, 26033, 52, 350, 4630, 6880, 272, 476, 10450, 4674, 11300, 272, 476, 10450, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who sponsors owner Bobby Dotter's team?
CREATE TABLE table_23421 ( "Team" text, "Truck(s)" text, "#" real, "Driver(s)" text, "Primary Sponsor(s)" text, "Listed Owner(s)" text, "Crew Chief" text )
SELECT "Primary Sponsor(s)" FROM table_23421 WHERE "Listed Owner(s)" = 'Bobby Dotter'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3710, 2658, 41, 96, 18699, 121, 1499, 6, 96, 21921, 2406, 599, 7, 61, 121, 1499, 6, 96, 4663, 121, 490, 6, 96, 20982, 52, 599, 7, 61, 121, 1499, 6, 96, 7855, 51, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7855, 51, 1208, 19254, 599, 7, 61, 121, 21680, 953, 834, 357, 3710, 2658, 549, 17444, 427, 96, 28886, 13307, 599, 7, 61, 121, 3274, 3, 31, 279, 32, 115, 969, 531, 17, 449, 31, 1, -100, -100, -100, -100, -100...
What was the tie number of the game when the queens park rangers were the home team?
CREATE TABLE table_8266 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text )
SELECT "Tie no" FROM table_8266 WHERE "Home team" = 'queens park rangers'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4613, 3539, 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, 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, 382, 23, 15, 150, 121, 21680, 953, 834, 4613, 3539, 549, 17444, 427, 96, 19040, 372, 121, 3274, 3, 31, 835, 35, 7, 2447, 620, 52, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
A bar chart about what is the total revenue of each manufacturer?, display by the x-axis in descending please.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT Name, SUM(Revenue) FROM Manufacturers GROUP BY Name ORDER BY Name DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 180, 6122, 599, 1649, 15098, 61, 21680, 15248, 7, 350, 4630, 6880, 272, 476, 5570, 4674, 11300, 272, 476, 5570, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the score when the opponent was the Orioles and the loss shows morehead (5–4)?
CREATE TABLE table_name_18 (score VARCHAR, opponent VARCHAR, loss VARCHAR)
SELECT score FROM table_name_18 WHERE opponent = "orioles" AND loss = "morehead (5–4)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 7, 9022, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 6, 1453, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 116, 8, 15264, 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, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 15264, 3274, 96, 2057, 32, 965, 121, 3430, 1453, 3274, 96, 3706, 3313, 9209, 104, 7256, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Graded Hammer Three (GH3) shows Model of clp320?
CREATE TABLE table_69592 ( "Model" text, "Graded Hammer (Non GH3)" text, "Graded Hammer Three (GH3)" text, "Natural Wood Keyboard" text, "Synthetic Ivory Keytops" text )
SELECT "Graded Hammer Three (GH3)" FROM table_69592 WHERE "Model" = 'clp320'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 3390, 357, 41, 96, 24663, 121, 1499, 6, 96, 4744, 221, 26, 18812, 41, 567, 106, 3, 14100, 5268, 121, 1499, 6, 96, 4744, 221, 26, 18812, 5245, 41, 14100, 5268, 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, 4744, 221, 26, 18812, 5245, 41, 14100, 5268, 121, 21680, 953, 834, 3951, 3390, 357, 549, 17444, 427, 96, 24663, 121, 3274, 3, 31, 75, 40, 102, 15003, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
I want the most top 25 when events are more than 20 and top 10 is more than 21
CREATE TABLE table_name_84 (top_25 INTEGER, events VARCHAR, top_10 VARCHAR)
SELECT MAX(top_25) FROM table_name_84 WHERE events > 20 AND top_10 > 21
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 2916, 834, 1828, 3, 21342, 17966, 6, 984, 584, 4280, 28027, 6, 420, 834, 1714, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 27, 241, 8, 167, 42...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 2916, 834, 1828, 61, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 984, 2490, 460, 3430, 420, 834, 1714, 2490, 1401, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total number of heats with a finisher named Gregor Tait in lanes over 6?
CREATE TABLE table_64286 ( "Rank" real, "Heat" real, "Lane" real, "Name" text, "Nationality" text, "Time" text )
SELECT COUNT("Heat") FROM table_64286 WHERE "Name" = 'gregor tait' AND "Lane" > '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4389, 357, 3840, 41, 96, 22557, 121, 490, 6, 96, 3845, 144, 121, 490, 6, 96, 434, 152, 15, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 13368...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 3845, 144, 8512, 21680, 953, 834, 4389, 357, 3840, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 18301, 127, 3, 17, 9, 155, 31, 3430, 96, 434, 152, 15, 121, 2490, 3, 31, 948, 31, 1, -100, ...
What are all weights for the number 27?
CREATE TABLE table_19448 ( "Position" text, "Number" real, "Name" text, "Height" text, "Weight" text, "Class" text, "Hometown" text, "Games\u2191" real )
SELECT "Weight" FROM table_19448 WHERE "Number" = '27'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 591, 3707, 41, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 567, 5937, 49, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 3845, 2632, 121, 1499, 6, 96, 1326, 2632, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1326, 2632, 121, 21680, 953, 834, 2294, 591, 3707, 549, 17444, 427, 96, 567, 5937, 49, 121, 3274, 3, 31, 2555, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which fleet launched on July 30, 1961?
CREATE TABLE table_4453 ( "Shipyard" text, "Laid down" text, "Launched" text, "Commissioned" text, "Fleet" text, "Status" text )
SELECT "Fleet" FROM table_4453 WHERE "Launched" = 'july 30, 1961'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3628, 4867, 41, 96, 134, 10462, 6636, 121, 1499, 6, 96, 434, 6146, 323, 121, 1499, 6, 96, 3612, 202, 4513, 121, 1499, 6, 96, 5890, 5451, 15, 26, 121, 1499, 6, 96, 371, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 371, 109, 15, 17, 121, 21680, 953, 834, 3628, 4867, 549, 17444, 427, 96, 3612, 202, 4513, 121, 3274, 3, 31, 2047, 120, 11558, 21018, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
who are all the players when season mvp is less than 1.0 and second team is less than 1.0
CREATE TABLE table_26130295_3 ( player VARCHAR, season_mvp VARCHAR, second_team VARCHAR )
SELECT player FROM table_26130295_3 WHERE season_mvp < 1.0 AND second_team < 1.0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 21448, 357, 3301, 834, 519, 41, 1959, 584, 4280, 28027, 6, 774, 834, 51, 208, 102, 584, 4280, 28027, 6, 511, 834, 11650, 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, 1959, 21680, 953, 834, 2688, 21448, 357, 3301, 834, 519, 549, 17444, 427, 774, 834, 51, 208, 102, 3, 2, 3, 12734, 3430, 511, 834, 11650, 3, 2, 3, 12734, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many bronze had a rank of less than 6 and a total less than 5?
CREATE TABLE table_name_43 ( bronze VARCHAR, rank VARCHAR, total VARCHAR )
SELECT COUNT(bronze) FROM table_name_43 WHERE rank < 6 AND total < 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 13467, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 13467, 141, 3, 9, 11003, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 13711, 776, 61, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 11003, 3, 2, 431, 3430, 792, 3, 2, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Show the number of start dates of all the apartment bookings made by guests with gender code 'Female' for each year with a bar chart, and list by the y axis in asc.
CREATE TABLE Apartments ( apt_id INTEGER, building_id INTEGER, apt_type_code CHAR(15), apt_number CHAR(10), bathroom_count INTEGER, bedroom_count INTEGER, room_count CHAR(5) ) CREATE TABLE Apartment_Facilities ( apt_id INTEGER, facility_code CHAR(15) ) CREATE TABLE Apartment_Buildings ( building_id INTEGER, building_short_name CHAR(15), building_full_name VARCHAR(80), building_description VARCHAR(255), building_address VARCHAR(255), building_manager VARCHAR(50), building_phone VARCHAR(80) ) CREATE TABLE View_Unit_Status ( apt_id INTEGER, apt_booking_id INTEGER, status_date DATETIME, available_yn BIT ) CREATE TABLE Guests ( guest_id INTEGER, gender_code CHAR(1), guest_first_name VARCHAR(80), guest_last_name VARCHAR(80), date_of_birth DATETIME ) CREATE TABLE Apartment_Bookings ( apt_booking_id INTEGER, apt_id INTEGER, guest_id INTEGER, booking_status_code CHAR(15), booking_start_date DATETIME, booking_end_date DATETIME )
SELECT booking_start_date, COUNT(booking_start_date) FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id WHERE T2.gender_code = "Female" ORDER BY COUNT(booking_start_date)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15970, 7, 41, 3, 6789, 834, 23, 26, 3, 21342, 17966, 6, 740, 834, 23, 26, 3, 21342, 17966, 6, 3, 6789, 834, 6137, 834, 4978, 3, 28027, 599, 1808, 201, 3, 6789, 834, 5525, 1152, 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, 5038, 834, 10208, 834, 5522, 6, 2847, 17161, 599, 2567, 53, 834, 10208, 834, 5522, 61, 21680, 15970, 834, 13355, 53, 7, 6157, 332, 536, 3, 15355, 3162, 3, 22360, 6157, 332, 357, 9191, 332, 5411, 15991, 17, 834, 23, ...
What are the draft pick numbers and draft classes for players who play the Defender position Show bar chart, and could you order by the Y-axis in ascending?
CREATE TABLE team ( Team_id int, Name text ) CREATE TABLE player ( Player_ID int, Player text, Years_Played text, Total_WL text, Singles_WL text, Doubles_WL text, Team int ) CREATE TABLE match_season ( Season real, Player text, Position text, Country int, Team int, Draft_Pick_Number int, Draft_Class text, College text ) CREATE TABLE country ( Country_id int, Country_name text, Capital text, Official_native_language text )
SELECT Draft_Class, Draft_Pick_Number FROM match_season WHERE Position = "Defender" ORDER BY Draft_Pick_Number
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 372, 41, 2271, 834, 23, 26, 16, 17, 6, 5570, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1959, 41, 12387, 834, 4309, 16, 17, 6, 12387, 1499, 6, 13825, 834, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 21409, 834, 21486, 6, 21409, 834, 345, 3142, 834, 567, 5937, 49, 21680, 1588, 834, 9476, 549, 17444, 427, 14258, 3274, 96, 16196, 3868, 121, 4674, 11300, 272, 476, 21409, 834, 345, 3142, 834, 567, 5937, 49, 1, -100, ...
What was Len Sutton's total number of completed laps when his qualifying time was 142.653?
CREATE TABLE table_name_49 (laps VARCHAR, qual VARCHAR)
SELECT COUNT(laps) FROM table_name_49 WHERE qual = "142.653"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 8478, 7, 584, 4280, 28027, 6, 3, 11433, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 312, 29, 180, 12499, 31, 7, 792, 381, 13, 2012, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 8478, 7, 61, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 3, 11433, 3274, 96, 2534, 22724, 4867, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the pole position for the race with the fastest lap by Nelson Piquet and the constructor is Ferrari?
CREATE TABLE table_1140076_2 (pole_position VARCHAR, fastest_lap VARCHAR, constructor VARCHAR)
SELECT pole_position FROM table_1140076_2 WHERE fastest_lap = "Nelson Piquet" AND constructor = "Ferrari"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 5548, 3959, 834, 357, 41, 14332, 834, 4718, 584, 4280, 28027, 6, 10391, 834, 8478, 584, 4280, 28027, 6, 6774, 127, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 11148, 834, 4718, 21680, 953, 834, 2596, 5548, 3959, 834, 357, 549, 17444, 427, 10391, 834, 8478, 3274, 96, 567, 3573, 106, 276, 1495, 17, 121, 3430, 6774, 127, 3274, 96, 371, 49, 52, 1665, 121, 1, -100, -100, -100,...
Which Points have a Drawn smaller than 2, and a Lost of 12, and a Name of ev bad wörishofen?
CREATE TABLE table_name_24 (points INTEGER, name VARCHAR, drawn VARCHAR, lost VARCHAR)
SELECT MAX(points) FROM table_name_24 WHERE drawn < 2 AND lost = 12 AND name = "ev bad wörishofen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 2700, 7, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 6796, 584, 4280, 28027, 6, 1513, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 4564, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 6796, 3, 2, 204, 3430, 1513, 3274, 586, 3430, 564, 3274, 96, 15, 208, 1282, 3, 210, 4446, 1273, 858, 35, 121, 1, -100, -100, -100, -1...
What did the home team score against Richmond?
CREATE TABLE table_20739 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Ground" text, "Crowd" real, "Date" text )
SELECT "Home team score" FROM table_20739 WHERE "Away team" = 'Richmond'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26426, 3288, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 517, 7775...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19040, 372, 2604, 121, 21680, 953, 834, 26426, 3288, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 448, 362, 6764, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
among patients aged 60 or above since 2103, what was the top four most frequent procedure?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) 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 intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time )
SELECT t1.treatmentname FROM (SELECT treatment.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age >= 60) AND STRFTIME('%y', treatment.treatmenttime) >= '2103' GROUP BY treatment.treatmentname) AS t1 WHERE t1.c1 <= 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 23886, 41, 23886, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 23886, 4350, 1499, 6, 23886, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17, 5411, 26889, 4350, 21680, 41, 23143, 14196, 1058, 5, 26889, 4350, 6, 3, 22284, 4132, 834, 16375, 439, 9960, 3, 23288, 41, 2990, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 61, 6157, 3, 75, 536, ...
Wat is the tax source system code and master customer id of the taxes related to each parking fine id?
CREATE TABLE Parking_Fines ( council_tax_id VARCHAR, cmi_cross_ref_id VARCHAR ) CREATE TABLE CMI_Cross_References ( source_system_code VARCHAR, master_customer_id VARCHAR, cmi_cross_ref_id VARCHAR )
SELECT T1.source_system_code, T1.master_customer_id, T2.council_tax_id FROM CMI_Cross_References AS T1 JOIN Parking_Fines AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 20385, 834, 371, 4477, 41, 6098, 834, 14727, 834, 23, 26, 584, 4280, 28027, 6, 2446, 23, 834, 11465, 834, 60, 89, 834, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7928, 834, 3734, 834, 4978, 6, 332, 5411, 7429, 834, 25697, 49, 834, 23, 26, 6, 332, 4416, 509, 15254, 40, 834, 14727, 834, 23, 26, 21680, 205, 7075, 834, 254, 1859, 7, 834, 1649, 11788, 7, 6157, 332, ...
Who scored the most points in Game 49?
CREATE TABLE table_11960407_5 ( high_points VARCHAR, game VARCHAR )
SELECT high_points FROM table_11960407_5 WHERE game = 49
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19993, 3328, 2445, 940, 834, 755, 41, 306, 834, 2700, 7, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 5799, 8, 167, 979, 16, 4435...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 306, 834, 2700, 7, 21680, 953, 834, 19993, 3328, 2445, 940, 834, 755, 549, 17444, 427, 467, 3274, 9526, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the highest pick of ron whaley?
CREATE TABLE table_50317 ( "Round" real, "Pick" real, "Overall" real, "Name" text, "Position" text, "College" text )
SELECT MAX("Pick") FROM table_50317 WHERE "Name" = 'ron whaley'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 519, 2517, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 121, 490, 6, 96, 23847, 1748, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 345, 32, 7, 4749, 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, 4800, 4, 599, 121, 345, 3142, 8512, 21680, 953, 834, 1752, 519, 2517, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 52, 106, 18214, 63, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the 2008 of the US Open when 2010 was 2R and 2011 was 1R?
CREATE TABLE table_65896 ( "Tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text )
SELECT "2008" FROM table_65896 WHERE "2011" = '1r' AND "2010" = '2r' AND "Tournament" = 'us open'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 3449, 4314, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 16128, 121, 1499, 6, 96, 16660, 121, 1499, 6, 96, 14926, 121, 1499, 6, 96, 13907, 121, 1499, 6, 96, 12172...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16128, 121, 21680, 953, 834, 948, 3449, 4314, 549, 17444, 427, 96, 13907, 121, 3274, 3, 31, 536, 52, 31, 3430, 96, 14926, 121, 3274, 3, 31, 357, 52, 31, 3430, 96, 382, 1211, 20205, 17, 121, 3274, 3, 31, 302,...
What is the name of the person employed 1970 2005?
CREATE TABLE table_66672 ( "Name" text, "Employed" text, "Position held" text, "Honour" text, "Citation" text )
SELECT "Name" FROM table_66672 WHERE "Employed" = '1970–2005'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 3708, 357, 41, 96, 23954, 121, 1499, 6, 96, 427, 51, 7379, 10093, 121, 1499, 6, 96, 345, 32, 7, 4749, 1213, 121, 1499, 6, 96, 566, 106, 1211, 121, 1499, 6, 96, 25...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23954, 121, 21680, 953, 834, 3539, 3708, 357, 549, 17444, 427, 96, 427, 51, 7379, 10093, 121, 3274, 3, 31, 2294, 2518, 104, 22594, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Unit's Construction started on 01.07.1967?
CREATE TABLE table_name_61 ( unit VARCHAR, construction_started VARCHAR )
SELECT unit FROM table_name_61 WHERE construction_started = "01.07.1967"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 1745, 584, 4280, 28027, 6, 1449, 834, 3624, 1054, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 5579, 31, 7, 8663, 708, 30, 3, 10068, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1745, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 1449, 834, 3624, 1054, 3274, 96, 10068, 14681, 2294, 3708, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the place when the score was 70-69-74=213?
CREATE TABLE table_61646 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "Place" FROM table_61646 WHERE "Score" = '70-69-74=213'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2938, 4448, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 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, 345, 11706, 121, 21680, 953, 834, 948, 2938, 4448, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 2518, 18, 3951, 18, 4581, 2423, 357, 2368, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total of rebound averages with more than 98 games and a rank of 7?
CREATE TABLE table_name_16 ( reb_avg INTEGER, games VARCHAR, rank VARCHAR )
SELECT SUM(reb_avg) FROM table_name_16 WHERE games > 98 AND rank = 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 3, 60, 115, 834, 9, 208, 122, 3, 21342, 17966, 6, 1031, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 180, 6122, 599, 60, 115, 834, 9, 208, 122, 61, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 1031, 2490, 3, 3916, 3430, 11003, 3274, 489, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which races have points greater than 123, fernando alonso as the driver and a percentage of possible points of 74.44%?
CREATE TABLE table_name_77 ( races VARCHAR, percentage_of_possible_points VARCHAR, points VARCHAR, driver VARCHAR )
SELECT races FROM table_name_77 WHERE points > 123 AND driver = "fernando alonso" AND percentage_of_possible_points = "74.44%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 10879, 584, 4280, 28027, 6, 5294, 834, 858, 834, 2748, 7, 2317, 834, 2700, 7, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 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, 10879, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 979, 2490, 3, 14574, 3430, 2535, 3274, 96, 8377, 232, 32, 3, 9, 14061, 32, 121, 3430, 5294, 834, 858, 834, 2748, 7, 2317, 834, 2700, 7, 3274, 96, 940, 2344...
Tell me the origin for mi-2
CREATE TABLE table_name_57 (origin VARCHAR, versions VARCHAR)
SELECT origin FROM table_name_57 WHERE versions = "mi-2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 32, 3380, 77, 584, 4280, 28027, 6, 5204, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 5233, 21, 1337, 4949, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5233, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 5204, 3274, 96, 51, 23, 4949, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Return a pie chart to show how many documents for different budget type code.
CREATE TABLE Accounts ( Account_ID INTEGER, Statement_ID INTEGER, Account_Details VARCHAR(255) ) CREATE TABLE Ref_Budget_Codes ( Budget_Type_Code CHAR(15), Budget_Type_Description VARCHAR(255) ) CREATE TABLE Documents_with_Expenses ( Document_ID INTEGER, Budget_Type_Code CHAR(15), Document_Details VARCHAR(255) ) CREATE TABLE Ref_Document_Types ( Document_Type_Code CHAR(15), Document_Type_Name VARCHAR(255), Document_Type_Description VARCHAR(255) ) CREATE TABLE Projects ( Project_ID INTEGER, Project_Details VARCHAR(255) ) CREATE TABLE Documents ( Document_ID INTEGER, Document_Type_Code CHAR(15), Project_ID INTEGER, Document_Date DATETIME, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Statements ( Statement_ID INTEGER, Statement_Details VARCHAR(255) )
SELECT T1.Budget_Type_Code, COUNT(T1.Budget_Type_Code) FROM Documents_with_Expenses AS T1 JOIN Ref_Budget_Codes AS T2 ON T1.Budget_Type_Code = T2.Budget_Type_Code GROUP BY T1.Budget_Type_Code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6288, 7, 41, 6288, 834, 4309, 3, 21342, 17966, 6, 16836, 834, 4309, 3, 21342, 17966, 6, 6288, 834, 2962, 5756, 7, 584, 4280, 28027, 599, 25502, 61, 3, 61, 3, 32102, 32103, 32102, 205...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 279, 13164, 17, 834, 25160, 834, 22737, 6, 2847, 17161, 599, 382, 5411, 279, 13164, 17, 834, 25160, 834, 22737, 61, 21680, 11167, 7, 834, 4065, 834, 12882, 5167, 7, 6157, 332, 536, 3, 15355, 3162, 419, 89...
What is the crystal structure for the formula yba 2 cu 3 o 7?
CREATE TABLE table_101336_1 (crystal_structure VARCHAR, formula VARCHAR)
SELECT crystal_structure FROM table_101336_1 WHERE formula = "YBa 2 Cu 3 O 7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 2368, 3420, 834, 536, 41, 75, 651, 8407, 834, 16180, 584, 4280, 28027, 6, 5403, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 6884, 1809, 21, 8, 54...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6884, 834, 16180, 21680, 953, 834, 1714, 2368, 3420, 834, 536, 549, 17444, 427, 5403, 3274, 96, 476, 279, 9, 204, 1839, 220, 411, 489, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show all student IDs with more than total 10 hours per week on all sports played.
CREATE TABLE Sportsinfo (StuID VARCHAR, hoursperweek INTEGER)
SELECT StuID FROM Sportsinfo GROUP BY StuID HAVING SUM(hoursperweek) > 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5716, 9583, 41, 13076, 4309, 584, 4280, 28027, 6, 716, 883, 8041, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 3111, 66, 1236, 4699, 7, 28, 72, 145, 792, 335, 716, 399, 471, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 13076, 4309, 21680, 5716, 9583, 350, 4630, 6880, 272, 476, 3, 13076, 4309, 454, 6968, 2365, 180, 6122, 599, 5842, 4339, 8041, 61, 2490, 335, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Count the number of distinct delegates who are from counties with population above 50000.
CREATE TABLE county ( county_id number, county_name text, population number, zip_code text ) CREATE TABLE election ( election_id number, counties_represented text, district number, delegate text, party number, first_elected number, committee text ) CREATE TABLE party ( party_id number, year number, party text, governor text, lieutenant_governor text, comptroller text, attorney_general text, us_senate text )
SELECT COUNT(DISTINCT T2.delegate) FROM county AS T1 JOIN election AS T2 ON T1.county_id = T2.district WHERE T1.population > 50000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5435, 41, 5435, 834, 23, 26, 381, 6, 5435, 834, 4350, 1499, 6, 2074, 381, 6, 10658, 834, 4978, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 4356, 41, 4356, 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, 2847, 17161, 599, 15438, 25424, 6227, 332, 4416, 221, 8791, 61, 21680, 5435, 6157, 332, 536, 3, 15355, 3162, 4356, 6157, 332, 357, 9191, 332, 5411, 13362, 63, 834, 23, 26, 3274, 332, 4416, 26, 23, 20066, 549, 17444, ...
What integrated school had a decile of 2 and a roll larger than 55?
CREATE TABLE table_name_69 ( name VARCHAR, roll VARCHAR, decile VARCHAR, authority VARCHAR )
SELECT name FROM table_name_69 WHERE decile = 2 AND authority = "integrated" AND roll > 55
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 564, 584, 4280, 28027, 6, 3812, 584, 4280, 28027, 6, 7908, 109, 584, 4280, 28027, 6, 5015, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 7908, 109, 3274, 204, 3430, 5015, 3274, 96, 8576, 920, 121, 3430, 3812, 2490, 6897, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Find the number of courses for each subject in a bar chart, and I want to list in descending by the y-axis.
CREATE TABLE Student_Course_Enrolment ( registration_id INTEGER, student_id INTEGER, course_id INTEGER, date_of_enrolment DATETIME, date_of_completion DATETIME ) CREATE TABLE Courses ( course_id INTEGER, author_id INTEGER, subject_id INTEGER, course_name VARCHAR(120), course_description VARCHAR(255) ) CREATE TABLE Student_Tests_Taken ( registration_id INTEGER, date_test_taken DATETIME, test_result VARCHAR(255) ) CREATE TABLE Students ( student_id INTEGER, date_of_registration DATETIME, date_of_latest_logon DATETIME, login_name VARCHAR(40), password VARCHAR(10), personal_name VARCHAR(40), middle_name VARCHAR(40), family_name VARCHAR(40) ) CREATE TABLE Course_Authors_and_Tutors ( author_id INTEGER, author_tutor_ATB VARCHAR(3), login_name VARCHAR(40), password VARCHAR(40), personal_name VARCHAR(80), middle_name VARCHAR(80), family_name VARCHAR(80), gender_mf VARCHAR(1), address_line_1 VARCHAR(80) ) CREATE TABLE Subjects ( subject_id INTEGER, subject_name VARCHAR(120) )
SELECT subject_name, COUNT(*) FROM Courses AS T1 JOIN Subjects AS T2 ON T1.subject_id = T2.subject_id GROUP BY T1.subject_id ORDER BY COUNT(*) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6341, 834, 3881, 3589, 15, 834, 8532, 3491, 297, 41, 3816, 834, 23, 26, 3, 21342, 17966, 6, 1236, 834, 23, 26, 3, 21342, 17966, 6, 503, 834, 23, 26, 3, 21342, 17966, 6, 833, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1426, 834, 4350, 6, 2847, 17161, 599, 1935, 61, 21680, 8670, 7, 6157, 332, 536, 3, 15355, 3162, 19237, 7, 6157, 332, 357, 9191, 332, 5411, 7304, 11827, 834, 23, 26, 3274, 332, 4416, 7304, 11827, 834, 23, 26, 350, ...
What is the total points before 1963?
CREATE TABLE table_name_47 (points INTEGER, year INTEGER)
SELECT SUM(points) FROM table_name_47 WHERE year < 1963
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 2700, 7, 3, 21342, 17966, 6, 215, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 979, 274, 20613, 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, 180, 6122, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 215, 3, 2, 20613, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Proto-Oceanic verb for to die, be dead?
CREATE TABLE table_name_44 ( proto_oceanic VARCHAR, verb VARCHAR )
SELECT proto_oceanic FROM table_name_44 WHERE verb = "to die, be dead"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 23844, 834, 32, 8433, 2532, 584, 4280, 28027, 6, 7375, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 749, 235, 18, 667, 8433, 253...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23844, 834, 32, 8433, 2532, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 7375, 3274, 96, 235, 67, 6, 36, 3654, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was total size of the crowd at a home game for north melbourne?
CREATE TABLE table_name_93 (crowd INTEGER, home_team VARCHAR)
SELECT SUM(crowd) FROM table_name_93 WHERE home_team = "north melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 75, 3623, 26, 3, 21342, 17966, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 792, 812, 13, 8, 4374, 44, 3, 9, 234...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 234, 834, 11650, 3274, 96, 29, 127, 189, 3, 2341, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
which composition spanned a longer period from beginning of composition to premiere - elektra , or intermezzo ?
CREATE TABLE table_204_354 ( id number, "opus" text, "title" text, "genre" text, "sub\u00addivisions" text, "libretto" text, "composition" text, "premiere date" text, "place, theatre" text )
SELECT "title" FROM table_204_354 WHERE "title" IN ('elektra', 'intermezzo') ORDER BY "premiere date" - "composition" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 2469, 591, 41, 3, 23, 26, 381, 6, 96, 32, 7800, 121, 1499, 6, 96, 21869, 121, 1499, 6, 96, 729, 60, 121, 1499, 6, 96, 7304, 2, 76, 1206, 13039, 23, 6610, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21869, 121, 21680, 953, 834, 26363, 834, 2469, 591, 549, 17444, 427, 96, 21869, 121, 3388, 41, 31, 400, 157, 1313, 31, 6, 3, 31, 3870, 526, 16692, 31, 61, 4674, 11300, 272, 476, 96, 2026, 2720, 60, 833, 121, ...
What episode number was titled 'my oh maya'?
CREATE TABLE table_72942 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original U.S. air date" text, "Prod. code" real, "Viewers (millions)" text )
SELECT MIN("No. in season") FROM table_72942 WHERE "Title" = 'My Oh Maya'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5865, 4240, 357, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 4168, 5, 16, 774, 8512, 21680, 953, 834, 5865, 4240, 357, 549, 17444, 427, 96, 382, 155, 109, 121, 3274, 3, 31, 7008, 3359, 932, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Sub-Parish (Sogn) was built before 1883 in the Parish (Prestegjeld) of jostedal parish and is located in the Church of Gaupne?
CREATE TABLE table_name_66 ( sub_parish__sogn_ VARCHAR, location_of_the_church VARCHAR, year_built VARCHAR, parish__prestegjeld_ VARCHAR )
SELECT sub_parish__sogn_ FROM table_name_66 WHERE year_built < 1883 AND parish__prestegjeld_ = "jostedal parish" AND location_of_the_church = "gaupne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 769, 834, 1893, 1273, 834, 834, 7, 32, 122, 29, 834, 584, 4280, 28027, 6, 1128, 834, 858, 834, 532, 834, 28854, 584, 4280, 28027, 6, 215, 834, 16152, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 769, 834, 1893, 1273, 834, 834, 7, 32, 122, 29, 834, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 215, 834, 16152, 3, 2, 507, 4591, 3430, 14961, 834, 834, 2026, 849, 122, 354, 8804, 834, 3274, 96, 1927, 6265...
in what year was henrik malberg 's last film released ?
CREATE TABLE table_204_91 ( id number, "year" number, "original title" text, "english title" text, "role" text, "notes" text )
SELECT MAX("year") FROM table_204_91
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4729, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 21878, 2233, 121, 1499, 6, 96, 4606, 40, 1273, 2233, 121, 1499, 6, 96, 3491, 15, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 1201, 8512, 21680, 953, 834, 26363, 834, 4729, 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, ...
Who has a 59 cap?
CREATE TABLE table_name_9 (name VARCHAR, caps VARCHAR)
SELECT name FROM table_name_9 WHERE caps = 59
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 4350, 584, 4280, 28027, 6, 16753, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 65, 3, 9, 3, 3390, 2468, 58, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 16753, 3274, 3, 3390, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
when was the first hospital admission that patient 002-19159 was admitted until 3 years ago via the direct admit?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) 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 patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time )
SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '002-19159' AND patient.hospitaladmitsource = 'direct admit' AND DATETIME(patient.hospitaladmittime) <= DATETIME(CURRENT_TIME(), '-3 year') ORDER BY patient.hospitaladmittime LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 23886, 41, 23886, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 23886, 4350, 1499, 6, 23886, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1868, 5, 31386, 20466, 17, 715, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 1206, 357, 4481, 27904, 31, 3430, 1868, 5, 31386, 20466, 17, 7928, 3274, 3, 31, 21241, 6264, 31, 3430, 309, 6048,...
What is the to par for Australia and a 73-69-71=213 score?
CREATE TABLE table_61599 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "To par" FROM table_61599 WHERE "Country" = 'australia' AND "Score" = '73-69-71=213'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 1808, 3264, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 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, 3696, 260, 121, 21680, 953, 834, 948, 1808, 3264, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 2064, 8792, 23, 9, 31, 3430, 96, 134, 9022, 121, 3274, 3, 31, 4552, 18, 3951, 18, 4450, 2423, 357, 2368, 3...
What is the smallest sales area (m ) that has 4,094/m and more than 2 stores?
CREATE TABLE table_name_20 ( sales_area__m²_ INTEGER, sales_per_area VARCHAR, no_of_stores VARCHAR )
SELECT MIN(sales_area__m²_) FROM table_name_20 WHERE sales_per_area = "€4,094/m²" AND no_of_stores > 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 1085, 834, 498, 834, 834, 51, 357, 834, 3, 21342, 17966, 6, 1085, 834, 883, 834, 498, 584, 4280, 28027, 6, 150, 834, 858, 834, 7154, 7, 584, 4280, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 7, 4529, 834, 498, 834, 834, 51, 357, 834, 61, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 1085, 834, 883, 834, 498, 3274, 96, 3378, 8525, 4198, 591, 87, 51, 357, 121, 3430, 150, 834, 858, ...
Which Director has a Rank of 12?
CREATE TABLE table_8982 ( "Rank" real, "Title" text, "Studio" text, "Director" text, "Gross" text )
SELECT "Director" FROM table_8982 WHERE "Rank" = '12'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3914, 4613, 41, 96, 22557, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 13076, 26, 23, 32, 121, 1499, 6, 96, 23620, 127, 121, 1499, 6, 96, 517, 1859, 7, 121, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 23620, 127, 121, 21680, 953, 834, 3914, 4613, 549, 17444, 427, 96, 22557, 121, 3274, 3, 31, 2122, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When did the season finale for the January 9, 2000 season premiere first air?
CREATE TABLE table_31393 ( "Season" text, "Season premiere" text, "Season finale" text, "TV season" text, "Ranking" text, "Viewers (in millions)" text )
SELECT "Season finale" FROM table_31393 WHERE "Season premiere" = 'January 9, 2000'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2368, 4271, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 134, 15, 9, 739, 13539, 121, 1499, 6, 96, 134, 15, 9, 739, 13604, 121, 1499, 6, 96, 4562, 774, 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, 134, 15, 9, 739, 13604, 121, 21680, 953, 834, 519, 2368, 4271, 549, 17444, 427, 96, 134, 15, 9, 739, 13539, 121, 3274, 3, 31, 30404, 9902, 2766, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What loss occurred on June 10?
CREATE TABLE table_name_81 ( loss VARCHAR, date VARCHAR )
SELECT loss FROM table_name_81 WHERE date = "june 10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 1453, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1453, 6935, 30, 1515, 335, 58, 1, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1453, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 833, 3274, 96, 6959, 15, 335, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Points is the average one that has Drawn of 3, and a Played smaller than 22?
CREATE TABLE table_40251 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text )
SELECT AVG("Points") FROM table_40251 WHERE "Drawn" = '3' AND "Played" < '22'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 1828, 536, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 308, 10936, 29, 121, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 22512, 7, 8512, 21680, 953, 834, 2445, 1828, 536, 549, 17444, 427, 96, 308, 10936, 29, 121, 3274, 3, 31, 519, 31, 3430, 96, 15800, 15, 26, 121, 3, 2, 3, 31, 2884, 31, 1, -100, -100, -100, ...
WHo has a Position of end and a School/Club Team of oregon state?
CREATE TABLE table_36511 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School/Club Team" text )
SELECT "Player" FROM table_36511 WHERE "Position" = 'end' AND "School/Club Team" = 'oregon state'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 10402, 2596, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 29364, 87, 254, 11158,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10402, 2596, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 989, 31, 3430, 96, 29364, 87, 254, 11158, 2271, 121, 3274, 3, 31, 127, 15, 5307, 538, 31, 1, -100, -100,...
What name has gen et sp nov as the novelty?
CREATE TABLE table_name_56 ( name VARCHAR, novelty VARCHAR )
SELECT name FROM table_name_56 WHERE novelty = "gen et sp nov"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 564, 584, 4280, 28027, 6, 30372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 564, 65, 3, 729, 3, 15, 17, 3, 7, 102, 3, 5326, 38, 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, 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, 4834, 549, 17444, 427, 30372, 3274, 96, 729, 3, 15, 17, 3, 7, 102, 3, 5326, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What genre is Star Plus from India?
CREATE TABLE table_33461 ( "Network" text, "Origin of Programming" text, "Language" text, "Genre" text, "Service" text )
SELECT "Genre" FROM table_33461 WHERE "Origin of Programming" = 'india' AND "Network" = 'star plus'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3710, 4241, 41, 96, 9688, 1981, 121, 1499, 6, 96, 667, 3380, 77, 13, 7106, 53, 121, 1499, 6, 96, 434, 1468, 76, 545, 121, 1499, 6, 96, 13714, 60, 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, 13714, 60, 121, 21680, 953, 834, 519, 3710, 4241, 549, 17444, 427, 96, 667, 3380, 77, 13, 7106, 53, 121, 3274, 3, 31, 8482, 9, 31, 3430, 96, 9688, 1981, 121, 3274, 3, 31, 3624, 303, 31, 1, -100, -100, -100, ...
what is the next destination after limestone road north ?
CREATE TABLE table_204_888 ( id number, "location" text, "mile" number, "destinations" text, "notes" text )
SELECT "destinations" FROM table_204_888 WHERE id = (SELECT id FROM table_204_888 WHERE "destinations" = 'limestone road north') + 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 10927, 41, 3, 23, 26, 381, 6, 96, 14836, 121, 1499, 6, 96, 8770, 121, 381, 6, 96, 13557, 1628, 121, 1499, 6, 96, 7977, 7, 121, 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, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 13557, 1628, 121, 21680, 953, 834, 26363, 834, 10927, 549, 17444, 427, 3, 23, 26, 3274, 41, 23143, 14196, 3, 23, 26, 21680, 953, 834, 26363, 834, 10927, 549, 17444, 427, 96, 13557, 1628, 121, 3274, 3, 31, 4941, ...
What was the Company or Product name where Entrepreneurs Geoff and Colette Bell requested £75,000?
CREATE TABLE table_name_25 (company_or_product_name VARCHAR, money_requested__£_ VARCHAR, entrepreneur_s_ VARCHAR)
SELECT company_or_product_name FROM table_name_25 WHERE money_requested__£_ = "75,000" AND entrepreneur_s_ = "geoff and colette bell"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 29179, 834, 127, 834, 15892, 834, 4350, 584, 4280, 28027, 6, 540, 834, 60, 835, 6265, 834, 834, 19853, 834, 584, 4280, 28027, 6, 3, 12290, 834, 7, 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, 349, 834, 127, 834, 15892, 834, 4350, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 540, 834, 60, 835, 6265, 834, 834, 19853, 834, 3274, 96, 940, 5898, 121, 3430, 3, 12290, 834, 7, 834, 3274, 96, 397, 1647, 1...
how many patients whose admission type is newborn and lab test name is potassium?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "NEWBORN" AND lab.label = "Potassium"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the High points with a Score that is l 64–94 (ot)?
CREATE TABLE table_name_73 (high_points VARCHAR, score VARCHAR)
SELECT high_points FROM table_name_73 WHERE score = "l 64–94 (ot)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 6739, 834, 2700, 7, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1592, 979, 28, 3, 9, 17763, 24, 19, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 306, 834, 2700, 7, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 2604, 3274, 96, 40, 6687, 104, 4240, 41, 32, 17, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
crest 3d intensive professional effects and crest whitestrips 3d professional effects both have a lasting whiteness of how many months ?
CREATE TABLE table_204_625 ( id number, "model" text, "availability" text, "introduced" text, "length of use" text, "last of whiteness" text )
SELECT "last of whiteness" FROM table_204_625 WHERE "model" = 'crest whitestrips 3d professional effects'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 948, 1828, 41, 3, 23, 26, 381, 6, 96, 21770, 121, 1499, 6, 96, 8644, 173, 2020, 121, 1499, 6, 96, 20322, 32, 12160, 26, 121, 1499, 6, 96, 19457, 13, 169, 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, 5064, 13, 872, 655, 121, 21680, 953, 834, 26363, 834, 948, 1828, 549, 17444, 427, 96, 21770, 121, 3274, 3, 31, 21443, 872, 7, 14192, 7, 220, 26, 771, 1951, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100...
When is Country of united states, and a Venue of mandalay bay resort in?
CREATE TABLE table_name_22 (date VARCHAR, country VARCHAR, venue VARCHAR)
SELECT date FROM table_name_22 WHERE country = "united states" AND venue = "mandalay bay resort"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 5522, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 19, 6993, 13, 18279, 2315, 6, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 684, 3274, 96, 15129, 15, 26, 2315, 121, 3430, 5669, 3274, 96, 348, 26, 9, 5595, 10210, 4631, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What are the fewest ends with an App(L/C/E) of 51 (44/6/1)?
CREATE TABLE table_name_3 (ends INTEGER, app_l_c_e_ VARCHAR)
SELECT MIN(ends) FROM table_name_3 WHERE app_l_c_e_ = "51 (44/6/1)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 989, 7, 3, 21342, 17966, 6, 1120, 834, 40, 834, 75, 834, 15, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 360, 222, 5542, 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, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 989, 7, 61, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 1120, 834, 40, 834, 75, 834, 15, 834, 3274, 96, 5553, 41, 3628, 18656, 87, 6982, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the tries when tries against were 41, try bonus was 6, and had 317 points.
CREATE TABLE table_name_35 ( tries_for VARCHAR, points_against VARCHAR, try_bonus VARCHAR, tries_against VARCHAR )
SELECT tries_for FROM table_name_35 WHERE try_bonus = "6" AND tries_against = "41" AND points_against = "317"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 3, 9000, 834, 1161, 584, 4280, 28027, 6, 979, 834, 9, 16720, 7, 17, 584, 4280, 28027, 6, 653, 834, 5407, 302, 584, 4280, 28027, 6, 3, 9000, 834, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 9000, 834, 1161, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 653, 834, 5407, 302, 3274, 96, 948, 121, 3430, 3, 9000, 834, 9, 16720, 7, 17, 3274, 96, 4853, 121, 3430, 979, 834, 9, 16720, 7, 17, 3274, 96...
What is the total of roles that George Olmi plays in Savoy & Casino Theatre 1888?
CREATE TABLE table_1123 ( "Role" text, "Savoy Theatre 1888" text, "Casino Theatre 1888" text, "Savoy Theatre 1897" text, "Savoy Theatre 1906" text, "Savoy Theatre 1909" text )
SELECT COUNT("Savoy Theatre 1888") FROM table_1123 WHERE "Casino Theatre 1888" = 'George Olmi'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 2773, 41, 96, 448, 32, 109, 121, 1499, 6, 96, 134, 9, 9845, 8210, 507, 4060, 121, 1499, 6, 96, 254, 9, 7, 77, 32, 8210, 507, 4060, 121, 1499, 6, 96, 134, 9, 984...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 134, 9, 9845, 8210, 507, 4060, 8512, 21680, 953, 834, 2596, 2773, 549, 17444, 427, 96, 254, 9, 7, 77, 32, 8210, 507, 4060, 121, 3274, 3, 31, 31317, 5424, 51, 23, 31, 1, -100, -100, -100, -...
For those dates that have the 5 highest cloud cover rates, please bin the date into Year interval and count their frequency, and rank by the Y-axis in ascending.
CREATE TABLE trip ( id INTEGER, duration INTEGER, start_date TEXT, start_station_name TEXT, start_station_id INTEGER, end_date TEXT, end_station_name TEXT, end_station_id INTEGER, bike_id INTEGER, subscription_type TEXT, zip_code INTEGER ) CREATE TABLE weather ( date TEXT, max_temperature_f INTEGER, mean_temperature_f INTEGER, min_temperature_f INTEGER, max_dew_point_f INTEGER, mean_dew_point_f INTEGER, min_dew_point_f INTEGER, max_humidity INTEGER, mean_humidity INTEGER, min_humidity INTEGER, max_sea_level_pressure_inches NUMERIC, mean_sea_level_pressure_inches NUMERIC, min_sea_level_pressure_inches NUMERIC, max_visibility_miles INTEGER, mean_visibility_miles INTEGER, min_visibility_miles INTEGER, max_wind_Speed_mph INTEGER, mean_wind_speed_mph INTEGER, max_gust_speed_mph INTEGER, precipitation_inches INTEGER, cloud_cover INTEGER, events TEXT, wind_dir_degrees INTEGER, zip_code INTEGER ) CREATE TABLE station ( id INTEGER, name TEXT, lat NUMERIC, long NUMERIC, dock_count INTEGER, city TEXT, installation_date TEXT ) CREATE TABLE status ( station_id INTEGER, bikes_available INTEGER, docks_available INTEGER, time TEXT )
SELECT date, COUNT(date) FROM weather ORDER BY COUNT(date)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1469, 41, 3, 23, 26, 3, 21342, 17966, 6, 8659, 3, 21342, 17966, 6, 456, 834, 5522, 3, 3463, 4, 382, 6, 456, 834, 6682, 834, 4350, 3, 3463, 4, 382, 6, 456, 834, 6682, 834, 23, 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, 833, 6, 2847, 17161, 599, 5522, 61, 21680, 1969, 4674, 11300, 272, 476, 2847, 17161, 599, 5522, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many cities are listed ?
CREATE TABLE table_203_731 ( id number, "pos." text, "city" text, "population\n(ab)" number, "surface\n(km2)" number, "density\n(ab/km2)" number, "altitude\n(mslm)" number )
SELECT COUNT("city") FROM table_203_731
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 4552, 536, 41, 3, 23, 26, 381, 6, 96, 2748, 535, 1499, 6, 96, 6726, 121, 1499, 6, 96, 9791, 7830, 2, 29, 599, 9, 115, 61, 121, 381, 6, 96, 26899, 2, 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, 6726, 8512, 21680, 953, 834, 23330, 834, 4552, 536, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
I want the date of appointment for manner of departure being sacked
CREATE TABLE table_name_91 (date_of_appointment VARCHAR, manner_of_departure VARCHAR)
SELECT date_of_appointment FROM table_name_91 WHERE manner_of_departure = "sacked"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 5522, 834, 858, 834, 9, 102, 2700, 297, 584, 4280, 28027, 6, 3107, 834, 858, 834, 221, 2274, 1462, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 834, 858, 834, 9, 102, 2700, 297, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 3107, 834, 858, 834, 221, 2274, 1462, 3274, 96, 7, 13365, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the highest year with a formula of Grand Prix?
CREATE TABLE table_65992 ( "Year" real, "Formula" text, "Driver" text, "Constructor" text, "Location" text, "Report" text )
SELECT MAX("Year") FROM table_65992 WHERE "Formula" = 'grand prix'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 3264, 357, 41, 96, 476, 2741, 121, 490, 6, 96, 3809, 4115, 9, 121, 1499, 6, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 434, 32, 75, 257, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 476, 2741, 8512, 21680, 953, 834, 4122, 3264, 357, 549, 17444, 427, 96, 3809, 4115, 9, 121, 3274, 3, 31, 15448, 3407, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many matches where played with Jim Pugh?
CREATE TABLE table_1028356_3 ( opponents VARCHAR, partner VARCHAR )
SELECT COUNT(opponents) FROM table_1028356_3 WHERE partner = "Jim Pugh"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 14388, 4591, 4834, 834, 519, 41, 16383, 584, 4280, 28027, 6, 2397, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 6407, 213, 1944, 28, 6006, 276, 14439, 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, 32, 102, 9977, 7, 61, 21680, 953, 834, 14388, 4591, 4834, 834, 519, 549, 17444, 427, 2397, 3274, 96, 683, 603, 276, 14439, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the nhl team for the player john maclean?
CREATE TABLE table_2679061_1 ( nhl_team VARCHAR, player VARCHAR )
SELECT nhl_team FROM table_2679061_1 WHERE player = "John MacLean"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3708, 2394, 4241, 834, 536, 41, 3, 29, 107, 40, 834, 11650, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 3, 29, 107...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29, 107, 40, 834, 11650, 21680, 953, 834, 357, 3708, 2394, 4241, 834, 536, 549, 17444, 427, 1959, 3274, 96, 18300, 2143, 2796, 152, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the type of the station with a 1 wrl appliance in Linton?
CREATE TABLE table_name_92 ( type VARCHAR, appliances VARCHAR, location VARCHAR )
SELECT type FROM table_name_92 WHERE appliances = "1 wrl" AND location = "linton"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 686, 584, 4280, 28027, 6, 9403, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 686, 13, 8, 2478, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 686, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 9403, 3274, 96, 536, 3, 210, 52, 40, 121, 3430, 1128, 3274, 96, 40, 23, 6992, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What country submitted the movie the orphanage?
CREATE TABLE table_72345 ( "Submitting country" text, "Film title used in nomination" text, "Original title" text, "Language(s)" text, "Director(s)" text, "Result" text )
SELECT "Submitting country" FROM table_72345 WHERE "Film title used in nomination" = 'The Orphanage'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2773, 2128, 41, 96, 25252, 1538, 1222, 684, 121, 1499, 6, 96, 371, 173, 51, 2233, 261, 16, 13588, 121, 1499, 6, 96, 667, 3380, 10270, 2233, 121, 1499, 6, 96, 434, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 25252, 1538, 1222, 684, 121, 21680, 953, 834, 940, 2773, 2128, 549, 17444, 427, 96, 371, 173, 51, 2233, 261, 16, 13588, 121, 3274, 3, 31, 634, 955, 8237, 545, 31, 1, -100, -100, -100, -100, -100, -100, -100, -...
When the opposing team was SSC-R what was the statistic?
CREATE TABLE table_59137 ( "Statistic" text, "Name" text, "Total" text, "School" text, "Opponent" text, "Stage" text )
SELECT "Statistic" FROM table_59137 WHERE "Opponent" = 'ssc-r'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 24636, 41, 96, 134, 17, 144, 3040, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 3696, 1947, 121, 1499, 6, 96, 29364, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 17, 144, 3040, 121, 21680, 953, 834, 3390, 24636, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 7, 7, 75, 18, 52, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What member of the original Toronto cast played the character played by Constantine Maroulis in the first national tour cast?
CREATE TABLE table_19529639_3 (original_toronto_cast VARCHAR, first_national_tour_cast VARCHAR)
SELECT original_toronto_cast FROM table_19529639_3 WHERE first_national_tour_cast = "Constantine Maroulis"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22464, 357, 4314, 3288, 834, 519, 41, 21878, 834, 235, 4438, 32, 834, 5254, 584, 4280, 28027, 6, 166, 834, 16557, 834, 17, 1211, 834, 5254, 584, 4280, 28027, 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, 926, 834, 235, 4438, 32, 834, 5254, 21680, 953, 834, 22464, 357, 4314, 3288, 834, 519, 549, 17444, 427, 166, 834, 16557, 834, 17, 1211, 834, 5254, 3274, 96, 4302, 5627, 4070, 1571, 7115, 159, 121, 1, -100, -100, -10...
What is the weight(lbs) when born is april 6, 1954 detroit, mi?
CREATE TABLE table_400 ( "Name" text, "Position" text, "Height" text, "Weight(lbs)" real, "Born" text, "College" text, "Drafted" text, "Pro Team" text )
SELECT "Weight(lbs)" FROM table_400 WHERE "Born" = 'April 6, 1954 Detroit, MI'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5548, 41, 96, 23954, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 3845, 2632, 121, 1499, 6, 96, 1326, 2632, 599, 9949, 61, 121, 490, 6, 96, 279, 127, 29, 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, 1326, 2632, 599, 9949, 61, 121, 21680, 953, 834, 5548, 549, 17444, 427, 96, 279, 127, 29, 121, 3274, 3, 31, 23323, 8580, 24970, 11901, 6, 8161, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest place for song that was draw number 6?
CREATE TABLE table_name_83 (place INTEGER, draw VARCHAR)
SELECT MAX(place) FROM table_name_83 WHERE draw = 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 4687, 3, 21342, 17966, 6, 3314, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 286, 21, 2324, 24, 47, 3314, 381, 431, 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, 4800, 4, 599, 4687, 61, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 3314, 3274, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the score on March 17?
CREATE TABLE table_name_10 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_name_10 WHERE date = "march 17"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 2604, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 30, 1332, 1003, 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, 2604, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 833, 3274, 96, 51, 7064, 1003, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Position has a Player of gino pisellini?
CREATE TABLE table_name_13 ( position VARCHAR, player VARCHAR )
SELECT position FROM table_name_13 WHERE player = "gino pisellini"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 1102, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 14258, 65, 3, 9, 12387, 13, 3, 122, 77, 32, 2816, 12019,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1102, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 1959, 3274, 96, 122, 77, 32, 2816, 12019, 77, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Score has a Home team of windsor & eton?
CREATE TABLE table_9663 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text )
SELECT "Score" FROM table_9663 WHERE "Home team" = 'windsor & eton'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4314, 3891, 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, 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, 134, 9022, 121, 21680, 953, 834, 4314, 3891, 549, 17444, 427, 96, 19040, 372, 121, 3274, 3, 31, 5165, 7, 127, 3, 184, 3, 15, 17, 106, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which film, directed by Dana Dorian, was nominated?
CREATE TABLE table_36843 ( "Rank" text, "Film" text, "Director(s)" text, "Producer(s)" text, "Writer(s)" text, "Production Company" text )
SELECT "Film" FROM table_36843 WHERE "Rank" = 'nominated' AND "Director(s)" = 'dana dorian'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 4608, 519, 41, 96, 22557, 121, 1499, 6, 96, 371, 173, 51, 121, 1499, 6, 96, 23620, 127, 599, 7, 61, 121, 1499, 6, 96, 3174, 4817, 49, 599, 7, 61, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 371, 173, 51, 121, 21680, 953, 834, 3420, 4608, 519, 549, 17444, 427, 96, 22557, 121, 3274, 3, 31, 3114, 77, 920, 31, 3430, 96, 23620, 127, 599, 7, 61, 121, 3274, 3, 31, 3768, 9, 103, 5288, 31, 1, -100, -1...
List all the international lacrosse league competitions for Toronto Rock.
CREATE TABLE table_22101 ( "Player" text, "Alma Mater" text, "National Lacrosse League" text, "Major League Lacrosse" text, "International Competition" text )
SELECT "International Competition" FROM table_22101 WHERE "National Lacrosse League" = 'Toronto Rock'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 19621, 41, 96, 15800, 49, 121, 1499, 6, 96, 188, 40, 51, 9, 5708, 49, 121, 1499, 6, 96, 24732, 325, 11465, 15, 3815, 121, 1499, 6, 96, 329, 9, 12775, 3815, 325, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27490, 15571, 121, 21680, 953, 834, 2884, 19621, 549, 17444, 427, 96, 24732, 325, 11465, 15, 3815, 121, 3274, 3, 31, 3696, 4438, 32, 3120, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Result has a Competition of world cup qualifying, and a Date of march 21, 1954?
CREATE TABLE table_34791 ( "Date" text, "Result" text, "Score" text, "Brazil scorers" text, "Competition" text )
SELECT "Result" FROM table_34791 WHERE "Competition" = 'world cup qualifying' AND "Date" = 'march 21, 1954'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3710, 4440, 536, 41, 96, 308, 342, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 279, 7275, 173, 14056, 277, 121, 1499, 6, 96, 5890, 4995, 4749,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3710, 4440, 536, 549, 17444, 427, 96, 5890, 4995, 4749, 121, 3274, 3, 31, 7276, 4119, 18002, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 51, 7064, 12026, 24970, 31, 1, -100, -100, -1...
In which country is the city of Netanya?
CREATE TABLE table_14937957_1 ( country VARCHAR, city VARCHAR )
SELECT country FROM table_14937957_1 WHERE city = "Netanya"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 4271, 4440, 3436, 834, 536, 41, 684, 584, 4280, 28027, 6, 690, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 84, 684, 19, 8, 690, 13, 6540, 6820, 9, 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, 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, 2534, 4271, 4440, 3436, 834, 536, 549, 17444, 427, 690, 3274, 96, 9688, 6820, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the mintage (bu) with the artist Royal Canadian Mint Staff and has an issue price (proof) of $54.95?
CREATE TABLE table_17259 ( "Year" real, "Theme" text, "Artist" text, "Mintage (Proof)" text, "Issue Price (Proof)" text, "Mintage (BU)[ clarification needed ]" text, "Issue Price (BU)[ clarification needed ]" text )
SELECT "Mintage (BU)[ clarification needed ]" FROM table_17259 WHERE "Artist" = 'Royal Canadian Mint Staff' AND "Issue Price (Proof)" = '$54.95'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27156, 3390, 41, 96, 476, 2741, 121, 490, 6, 96, 634, 526, 121, 1499, 6, 96, 7754, 343, 121, 1499, 6, 96, 12858, 6505, 41, 3174, 858, 61, 121, 1499, 6, 96, 196, 7, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 12858, 6505, 41, 8855, 61, 6306, 28733, 906, 3, 908, 121, 21680, 953, 834, 27156, 3390, 549, 17444, 427, 96, 7754, 343, 121, 3274, 3, 31, 448, 32, 63, 138, 4151, 4765, 17, 10071, 31, 3430, 96, 196, 7, 7, 76,...
how many patients whose days of hospital stay is greater than 16 and drug route is po?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "16" AND prescriptions.route = "PO"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Find the average age and experience working length of journalists working on different role type.
CREATE TABLE news_report (work_type VARCHAR, journalist_id VARCHAR); CREATE TABLE journalist (age INTEGER, journalist_id VARCHAR)
SELECT AVG(t1.age), AVG(Years_working), t2.work_type FROM journalist AS t1 JOIN news_report AS t2 ON t1.journalist_id = t2.journalist_id GROUP BY t2.work_type
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1506, 834, 60, 1493, 41, 1981, 834, 6137, 584, 4280, 28027, 6, 9994, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 9994, 41, 545, 3, 21342, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17, 5411, 545, 201, 71, 17217, 599, 476, 2741, 7, 834, 9238, 201, 3, 17, 4416, 1981, 834, 6137, 21680, 9994, 6157, 3, 17, 536, 3, 15355, 3162, 1506, 834, 60, 1493, 6157, 3, 17, 357, 9191, 3, 17, ...
How many maac are there that have 14th as the ncaa and the overall is 20-10?
CREATE TABLE table_24587 ( "Year" text, "MAAC" text, "Overall" text, "Regular Season Results" text, "MAAC Tournament Result" text, "NCAA Seed" text, "NCAA Round" text )
SELECT COUNT("MAAC") FROM table_24587 WHERE "NCAA Seed" = '14th' AND "Overall" = '20-10'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2128, 4225, 41, 96, 476, 2741, 121, 1499, 6, 96, 4148, 5173, 121, 1499, 6, 96, 23847, 1748, 121, 1499, 6, 96, 17748, 4885, 7960, 12772, 121, 1499, 6, 96, 4148, 5173, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4148, 5173, 8512, 21680, 953, 834, 357, 2128, 4225, 549, 17444, 427, 96, 8137, 5498, 17700, 121, 3274, 3, 31, 2534, 189, 31, 3430, 96, 23847, 1748, 121, 3274, 3, 31, 1755, 4536, 31, 1, -100, ...
how many of the patients on urgent admission had endosc sphincterotomy?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
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 = "Endosc sphincterotomy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
How many faculty members did the university that conferred the most degrees in 2002 have?
CREATE TABLE discipline_enrollments ( campus number, discipline number, year number, undergraduate number, graduate number ) CREATE TABLE csu_fees ( campus number, year number, campusfee number ) CREATE TABLE enrollments ( campus number, year number, totalenrollment_ay number, fte_ay number ) CREATE TABLE degrees ( year number, campus number, degrees number ) CREATE TABLE faculty ( campus number, year number, faculty number ) CREATE TABLE campuses ( id number, campus text, location text, county text, year number )
SELECT T2.faculty FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = t2.campus JOIN degrees AS T3 ON T1.id = t3.campus AND t2.year = t3.year WHERE t2.year = 2002 ORDER BY t3.degrees DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7998, 834, 35, 4046, 4128, 41, 4730, 381, 6, 7998, 381, 6, 215, 381, 6, 12260, 381, 6, 5213, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 75, 7, 76, 834, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 89, 12457, 17, 63, 21680, 25784, 6157, 332, 536, 3, 15355, 3162, 6040, 6157, 332, 357, 9191, 332, 5411, 23, 26, 3274, 3, 17, 4416, 25532, 3, 15355, 3162, 4526, 6157, 332, 519, 9191, 332, 5411, 23, 26, 3...
What is the score when the game is bigger than 29.0?
CREATE TABLE table_23249053_8 ( score VARCHAR, game INTEGER )
SELECT score FROM table_23249053_8 WHERE game > 29.0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 2266, 2394, 4867, 834, 927, 41, 2604, 584, 4280, 28027, 6, 467, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 116, 8, 467, 19, 4038, 145, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 2773, 2266, 2394, 4867, 834, 927, 549, 17444, 427, 467, 2490, 2838, 5, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Team for the Milford School?
CREATE TABLE table_name_68 (team VARCHAR, school VARCHAR)
SELECT team FROM table_name_68 WHERE school = "milford"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 11650, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2271, 21, 8, 8573, 2590, 1121, 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, 372, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 496, 3274, 96, 51, 173, 2590, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What original title, Franciska Vas rnapjai (hungarian), had an Episode Actor role which was Directed by G za Berem nyi?
CREATE TABLE table_68841 ( "Original title" text, "Title in English" text, "Genre" text, "Role" text, "Directed by" text )
SELECT "Genre" FROM table_68841 WHERE "Role" = 'episode actor' AND "Original title" = 'franciska vasárnapjai (hungarian)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 4608, 536, 41, 96, 667, 3380, 10270, 2233, 121, 1499, 6, 96, 382, 155, 109, 16, 1566, 121, 1499, 6, 96, 13714, 60, 121, 1499, 6, 96, 448, 32, 109, 121, 1499, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13714, 60, 121, 21680, 953, 834, 3651, 4608, 536, 549, 17444, 427, 96, 448, 32, 109, 121, 3274, 3, 31, 15, 102, 159, 32, 221, 7556, 31, 3430, 96, 667, 3380, 10270, 2233, 121, 3274, 3, 31, 6296, 75, 13690, 9,...
What is every reference for type and usage of Germanium small-signal RF transistor?
CREATE TABLE table_31422 ( "Prefix class" text, "Type and usage" text, "Example" text, "Equivalent" text, "Reference" text )
SELECT "Reference" FROM table_31422 WHERE "Type and usage" = 'Germanium small-signal RF transistor'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2534, 2884, 41, 96, 10572, 12304, 853, 121, 1499, 6, 96, 25160, 11, 4742, 121, 1499, 6, 96, 5420, 9, 9208, 121, 1499, 6, 96, 427, 1169, 15592, 121, 1499, 6, 96, 1649...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 11788, 121, 21680, 953, 834, 519, 2534, 2884, 549, 17444, 427, 96, 25160, 11, 4742, 121, 3274, 3, 31, 24518, 2552, 422, 18, 6732, 138, 3, 8556, 30924, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
In what year was Lindenwood University founded?
CREATE TABLE table_10082596_1 ( founded INTEGER, school VARCHAR )
SELECT MIN(founded) FROM table_10082596_1 WHERE school = "Lindenwood University"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2915, 927, 1828, 4314, 834, 536, 41, 5710, 3, 21342, 17966, 6, 496, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 215, 47, 14482, 35, 2037, 636, 5710, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 23329, 61, 21680, 953, 834, 2915, 927, 1828, 4314, 834, 536, 549, 17444, 427, 496, 3274, 96, 434, 77, 537, 2037, 636, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which patients have a vitamin b complex prescription?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "Vitamin B Complex"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
When did the Roy Hibbert (27) did the high points?
CREATE TABLE table_27756164_2 (date VARCHAR, high_points VARCHAR)
SELECT date FROM table_27756164_2 WHERE high_points = "Roy Hibbert (27)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3072, 4241, 4389, 834, 357, 41, 5522, 584, 4280, 28027, 6, 306, 834, 2700, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 410, 8, 15875, 2018, 115, 7041, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 2555, 3072, 4241, 4389, 834, 357, 549, 17444, 427, 306, 834, 2700, 7, 3274, 96, 448, 32, 63, 2018, 115, 7041, 4743, 12703, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...