instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What was the lowest win when there were 34 points and more than 13 draws? | SELECT MIN(wins) FROM table_name_2 WHERE points = 34 AND draws > 13 | [
2061,
373,
262,
9016,
1592,
618,
612,
547,
4974,
2173,
290,
517,
621,
1511,
14293,
30,
46506,
20625,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
17,
33411,
2173,
796,
4974,
5357,
14293,
1875,
1511
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
9016,
1592,
618,
612,
547,
4974,
2173,
290,
517,
621,
1511,
14293,
30,
46506,
20625,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
17,
33411,
2173,
796,
4974,
5357,
14293,
1875,
1511
] |
What is the Team for the player born in northfield, minnesota? | SELECT team FROM table_name_30 WHERE birthplace = "northfield, minnesota" | [
2061,
318,
262,
4816,
329,
262,
2137,
4642,
287,
5093,
3245,
11,
949,
8360,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
1270,
33411,
48145,
796,
366,
43588,
3245,
11,
949,
8360,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4816,
329,
262,
2137,
4642,
287,
5093,
3245,
11,
949,
8360,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
1270,
33411,
48145,
796,
366,
43588,
3245,
11,
949,
8360,
1
] |
give me the number of patients whose admission year is less than 2180 and diagnoses icd9 code is 3671? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2180" AND diagnoses.icd9_code = "3671" | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
15259,
290,
40567,
14158,
67,
24,
2438,
318,
40884,
16,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
15259,
290,
40567,
14158,
67,
24,
2438,
318,
40884,
16,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
... |
What is the regular season 1 result of the season when the Copa M xico was no longer played, the pyramid level was 2, and the regular season 2 result was 15th? | SELECT "Regular Season 1" FROM table_52982 WHERE "Copa M\u00e9xico" = 'no longer played' AND "Pyramid Level" = '2' AND "Regular Season 2" = '15th' | [
2061,
318,
262,
3218,
1622,
352,
1255,
286,
262,
1622,
618,
262,
6955,
64,
337,
2124,
3713,
373,
645,
2392,
2826,
11,
262,
27944,
1241,
373,
362,
11,
290,
262,
3218,
1622,
362,
1255,
373,
1315,
400,
30,
46506,
366,
40164,
7369,
352,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
3218,
1622,
352,
1255,
286,
262,
1622,
618,
262,
6955,
64,
337,
2124,
3713,
373,
645,
2392,
2826,
11,
262,
27944,
1241,
373,
362,
11,
290,
262,
3218,
1622,
362,
1255,
373,
1315,
400,
30,
46506,
366,
40164,
7369,
352,... |
how much does a FIRST class round trip ticket from CLEVELAND to MIAMI on US cost | SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, fare_basis, flight, flight_fare WHERE (((flight.airline_code = 'US') AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MIAMI' AND flight.to_airport... | [
4919,
881,
857,
257,
31328,
1398,
2835,
5296,
7846,
422,
30301,
18697,
6981,
284,
15789,
43870,
319,
1294,
1575,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
881,
857,
257,
31328,
1398,
2835,
5296,
7846,
422,
30301,
18697,
6981,
284,
15789,
43870,
319,
1294,
1575,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
1... |
give me the number of patients whose marital status is married and year of death is less than or equal to 2112? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.dod_year <= "2112.0" | [
26535,
502,
262,
1271,
286,
3871,
3025,
29555,
3722,
318,
6405,
290,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
2310,
1065,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
3871,
3025,
29555,
3722,
318,
6405,
290,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
2310,
1065,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,... |
Keywords for Qt posts Jan-March 2015. | SELECT TIME_TO_STR(p.CreationDate, '%YEAR') AS Year, TIME_TO_STR(p.CreationDate, '%-mONT%-H') AS Month, COUNT(*) AS Questions, SUM(p.AnswerCount) AS Answers, SUM(p.Score) AS QuestionUpvotes, SUM(p.ViewCount) AS "views", SUM(CASE WHEN p.Score > 1 THEN 1 ELSE 0 END) AS "upvotedquestions", SUM(CASE WHEN NOT p.AcceptedAnsw... | [
9218,
10879,
329,
33734,
6851,
2365,
12,
16192,
1853,
13,
46506,
20460,
62,
10468,
62,
18601,
7,
79,
13,
12443,
341,
10430,
11,
705,
4,
56,
17133,
11537,
7054,
6280,
11,
20460,
62,
10468,
62,
18601,
7,
79,
13,
12443,
341,
10430,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9218,
10879,
329,
33734,
6851,
2365,
12,
16192,
1853,
13,
46506,
20460,
62,
10468,
62,
18601,
7,
79,
13,
12443,
341,
10430,
11,
705,
4,
56,
17133,
11537,
7054,
6280,
11,
20460,
62,
10468,
62,
18601,
7,
79,
13,
12443,
341,
10430,
11,... |
Search my comments by text. | SELECT PostId AS "post_link", Text, Score FROM Comments WHERE UserId = '##UserId##' AND Text LIKE '%##Search##%' ORDER BY CreationDate DESC | [
18243,
616,
3651,
416,
2420,
13,
46506,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
8255,
11,
15178,
16034,
19502,
33411,
11787,
7390,
796,
705,
2235,
12982,
7390,
2235,
6,
5357,
8255,
34178,
705,
4,
2235,
18243,
2235,
4,
6,
38678,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
18243,
616,
3651,
416,
2420,
13,
46506,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
8255,
11,
15178,
16034,
19502,
33411,
11787,
7390,
796,
705,
2235,
12982,
7390,
2235,
6,
5357,
8255,
34178,
705,
4,
2235,
18243,
2235,
4,
6,
38678,
1... |
Which apartments have type code 'Flat'? Give me their apartment numbers. | SELECT apt_number FROM apartments WHERE apt_type_code = "Flat" | [
13828,
19592,
423,
2099,
2438,
705,
7414,
265,
30960,
13786,
502,
511,
7962,
3146,
13,
46506,
15409,
62,
17618,
16034,
19592,
33411,
15409,
62,
4906,
62,
8189,
796,
366,
7414,
265,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
19592,
423,
2099,
2438,
705,
7414,
265,
30960,
13786,
502,
511,
7962,
3146,
13,
46506,
15409,
62,
17618,
16034,
19592,
33411,
15409,
62,
4906,
62,
8189,
796,
366,
7414,
265,
1
] |
Which classes do not have lab components ? | SELECT DISTINCT name, number FROM course WHERE department = 'EECS' AND has_lab = 'N' | [
13828,
6097,
466,
407,
423,
2248,
6805,
5633,
46506,
360,
8808,
1268,
4177,
1438,
11,
1271,
16034,
1781,
33411,
5011,
796,
705,
36,
2943,
50,
6,
5357,
468,
62,
23912,
796,
705,
45,
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
] | [
13828,
6097,
466,
407,
423,
2248,
6805,
5633,
46506,
360,
8808,
1268,
4177,
1438,
11,
1271,
16034,
1781,
33411,
5011,
796,
705,
36,
2943,
50,
6,
5357,
468,
62,
23912,
796,
705,
45,
6
] |
Who is the Arkansas player associated with Ken Stabler? | SELECT arkansas FROM table_name_22 WHERE alabama = "ken stabler" | [
8241,
318,
262,
14538,
2137,
3917,
351,
7148,
49726,
1754,
30,
46506,
610,
74,
6618,
16034,
3084,
62,
3672,
62,
1828,
33411,
435,
8809,
796,
366,
3464,
8303,
1754,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
14538,
2137,
3917,
351,
7148,
49726,
1754,
30,
46506,
610,
74,
6618,
16034,
3084,
62,
3672,
62,
1828,
33411,
435,
8809,
796,
366,
3464,
8303,
1754,
1
] |
Which Player has a Total Goals greater than 1 and Qualifying Goals smaller than 3? | SELECT "Player" FROM table_61311 WHERE "Total Goals" > '1' AND "Qualifying Goals" < '3' | [
13828,
7853,
468,
257,
7472,
28510,
3744,
621,
352,
290,
9537,
4035,
28510,
4833,
621,
513,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
47512,
1157,
33411,
366,
14957,
28510,
1,
1875,
705,
16,
6,
5357,
366,
46181,
4035,
28510,
1,
1279,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
7853,
468,
257,
7472,
28510,
3744,
621,
352,
290,
9537,
4035,
28510,
4833,
621,
513,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
47512,
1157,
33411,
366,
14957,
28510,
1,
1875,
705,
16,
6,
5357,
366,
46181,
4035,
28510,
1,
1279,... |
Name the episode number for tasers and mind erasers | SELECT "Episode number Production number" FROM table_26684 WHERE "Title" = 'Tasers and Mind Erasers' | [
5376,
262,
4471,
1271,
329,
256,
19865,
290,
2000,
1931,
19865,
46506,
366,
23758,
1271,
19174,
1271,
1,
16034,
3084,
62,
2075,
41580,
33411,
366,
19160,
1,
796,
705,
51,
19865,
290,
10175,
5256,
19865,
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
] | [
5376,
262,
4471,
1271,
329,
256,
19865,
290,
2000,
1931,
19865,
46506,
366,
23758,
1271,
19174,
1271,
1,
16034,
3084,
62,
2075,
41580,
33411,
366,
19160,
1,
796,
705,
51,
19865,
290,
10175,
5256,
19865,
6
] |
What is the high total for algeria with over 2 bronzes? | SELECT MAX("Total") FROM table_6532 WHERE "Nation" = 'algeria' AND "Bronze" > '2' | [
2061,
318,
262,
1029,
2472,
329,
435,
1362,
544,
351,
625,
362,
18443,
12271,
30,
46506,
25882,
7203,
14957,
4943,
16034,
3084,
62,
2996,
2624,
33411,
366,
46108,
1,
796,
705,
282,
1362,
544,
6,
5357,
366,
18760,
2736,
1,
1875,
705,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1029,
2472,
329,
435,
1362,
544,
351,
625,
362,
18443,
12271,
30,
46506,
25882,
7203,
14957,
4943,
16034,
3084,
62,
2996,
2624,
33411,
366,
46108,
1,
796,
705,
282,
1362,
544,
6,
5357,
366,
18760,
2736,
1,
1875,
705,
... |
Name the Date has a Competition of welsh rugby union challenge trophy and a Result of 34-34? Question 1 | SELECT date FROM table_name_72 WHERE competition = "welsh rugby union challenge trophy" AND result = "34-34" | [
5376,
262,
7536,
468,
257,
27348,
286,
5029,
1477,
22948,
6441,
4427,
16383,
290,
257,
25414,
286,
4974,
12,
2682,
30,
18233,
352,
46506,
3128,
16034,
3084,
62,
3672,
62,
4761,
33411,
5449,
796,
366,
86,
21564,
22948,
6441,
4427,
16383,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
7536,
468,
257,
27348,
286,
5029,
1477,
22948,
6441,
4427,
16383,
290,
257,
25414,
286,
4974,
12,
2682,
30,
18233,
352,
46506,
3128,
16034,
3084,
62,
3672,
62,
4761,
33411,
5449,
796,
366,
86,
21564,
22948,
6441,
4427,
16383,... |
What is the population when the Per capita income of $18,884, and a Number of households smaller than 14,485? | SELECT SUM(population) FROM table_name_98 WHERE per_capita_income = "$18,884" AND number_of_households < 14 OFFSET 485 | [
2061,
318,
262,
3265,
618,
262,
2448,
21344,
3739,
286,
720,
1507,
11,
40353,
11,
290,
257,
7913,
286,
12503,
4833,
621,
1478,
11,
32642,
30,
46506,
35683,
7,
39748,
8,
16034,
3084,
62,
3672,
62,
4089,
33411,
583,
62,
11128,
5350,
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... | [
2061,
318,
262,
3265,
618,
262,
2448,
21344,
3739,
286,
720,
1507,
11,
40353,
11,
290,
257,
7913,
286,
12503,
4833,
621,
1478,
11,
32642,
30,
46506,
35683,
7,
39748,
8,
16034,
3084,
62,
3672,
62,
4089,
33411,
583,
62,
11128,
5350,
6... |
must be between 30 and 60 years of age | SELECT * FROM table_train_164 WHERE age >= 30 AND age <= 60 | [
27238,
307,
1022,
1542,
290,
3126,
812,
286,
2479,
46506,
1635,
16034,
3084,
62,
27432,
62,
23237,
33411,
2479,
18189,
1542,
5357,
2479,
19841,
3126
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
27238,
307,
1022,
1542,
290,
3126,
812,
286,
2479,
46506,
1635,
16034,
3084,
62,
27432,
62,
23237,
33411,
2479,
18189,
1542,
5357,
2479,
19841,
3126
] |
What is the Length (ft.) for a 2008 nfi d40lf? | SELECT "Length (ft.)" FROM table_5273 WHERE "Manufacturer" = 'nfi' AND "Model" = 'd40lf' AND "Order Year" = '2008' | [
2061,
318,
262,
22313,
357,
701,
2014,
329,
257,
3648,
299,
12463,
288,
1821,
1652,
30,
46506,
366,
24539,
357,
701,
2014,
1,
16034,
3084,
62,
20,
27367,
33411,
366,
44445,
15051,
1,
796,
705,
77,
12463,
6,
5357,
366,
17633,
1,
796,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
22313,
357,
701,
2014,
329,
257,
3648,
299,
12463,
288,
1821,
1652,
30,
46506,
366,
24539,
357,
701,
2014,
1,
16034,
3084,
62,
20,
27367,
33411,
366,
44445,
15051,
1,
796,
705,
77,
12463,
6,
5357,
366,
17633,
1,
796,... |
what flight from DENVER to PITTSBURGH arrives earliest in the morning | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSBURGH' AND flight.arrival_time = (SELECT MIN(FLIGHTalias1.arrival_time) FROM airport... | [
10919,
5474,
422,
37692,
5959,
284,
49040,
4694,
38926,
17511,
14443,
14555,
287,
262,
3329,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
152... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
5474,
422,
37692,
5959,
284,
49040,
4694,
38926,
17511,
14443,
14555,
287,
262,
3329,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
152... |
Who manufactures Makoto Tamada's vehicle? | SELECT "Manufacturer" FROM table_45610 WHERE "Rider" = 'makoto tamada' | [
8241,
46306,
40627,
11552,
4763,
338,
4038,
30,
46506,
366,
44445,
15051,
1,
16034,
3084,
62,
29228,
940,
33411,
366,
49,
1304,
1,
796,
705,
76,
461,
2069,
21885,
4763,
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
] | [
8241,
46306,
40627,
11552,
4763,
338,
4038,
30,
46506,
366,
44445,
15051,
1,
16034,
3084,
62,
29228,
940,
33411,
366,
49,
1304,
1,
796,
705,
76,
461,
2069,
21885,
4763,
6
] |
What is the lowest number of points of the game before game 2 before October 10? | SELECT MIN(points) FROM table_name_18 WHERE october < 10 AND game < 2 | [
2061,
318,
262,
9016,
1271,
286,
2173,
286,
262,
983,
878,
983,
362,
878,
3267,
838,
30,
46506,
20625,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
1507,
33411,
19318,
2023,
1279,
838,
5357,
983,
1279,
362
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
1271,
286,
2173,
286,
262,
983,
878,
983,
362,
878,
3267,
838,
30,
46506,
20625,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
1507,
33411,
19318,
2023,
1279,
838,
5357,
983,
1279,
362
] |
at what competition did david receive the least position ? | SELECT "competition" FROM table_203_192 ORDER BY "position" DESC LIMIT 1 | [
265,
644,
5449,
750,
21970,
3328,
262,
1551,
2292,
5633,
46506,
366,
5589,
15620,
1,
16034,
3084,
62,
22416,
62,
17477,
38678,
11050,
366,
9150,
1,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
265,
644,
5449,
750,
21970,
3328,
262,
1551,
2292,
5633,
46506,
366,
5589,
15620,
1,
16034,
3084,
62,
22416,
62,
17477,
38678,
11050,
366,
9150,
1,
22196,
34,
27564,
2043,
352
] |
For a school with authority of state and a roll of 798, what is the decile? | SELECT "Decile" FROM table_68571 WHERE "Authority" = 'state' AND "Roll" = '798' | [
1890,
257,
1524,
351,
4934,
286,
1181,
290,
257,
4836,
286,
767,
4089,
11,
644,
318,
262,
875,
576,
30,
46506,
366,
10707,
576,
1,
16034,
3084,
62,
3104,
42875,
33411,
366,
13838,
414,
1,
796,
705,
5219,
6,
5357,
366,
26869,
1,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
257,
1524,
351,
4934,
286,
1181,
290,
257,
4836,
286,
767,
4089,
11,
644,
318,
262,
875,
576,
30,
46506,
366,
10707,
576,
1,
16034,
3084,
62,
3104,
42875,
33411,
366,
13838,
414,
1,
796,
705,
5219,
6,
5357,
366,
26869,
1,
79... |
how many spokesperson where in 2004 | SELECT COUNT(spokesperson) FROM table_1992924_3 WHERE year_s_ = 2004 | [
4919,
867,
11821,
810,
287,
5472,
46506,
327,
28270,
7,
2777,
3369,
6259,
8,
16034,
3084,
62,
19104,
1959,
1731,
62,
18,
33411,
614,
62,
82,
62,
796,
5472
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
11821,
810,
287,
5472,
46506,
327,
28270,
7,
2777,
3369,
6259,
8,
16034,
3084,
62,
19104,
1959,
1731,
62,
18,
33411,
614,
62,
82,
62,
796,
5472
] |
when first elected was 1898 what was the party? | SELECT party FROM table_name_9 WHERE first_elected = "1898" | [
12518,
717,
7018,
373,
46244,
644,
373,
262,
2151,
30,
46506,
2151,
16034,
3084,
62,
3672,
62,
24,
33411,
717,
62,
28604,
796,
366,
1507,
4089,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12518,
717,
7018,
373,
46244,
644,
373,
262,
2151,
30,
46506,
2151,
16034,
3084,
62,
3672,
62,
24,
33411,
717,
62,
28604,
796,
366,
1507,
4089,
1
] |
How many people attended the score of w 7-6? | SELECT crowd FROM table_name_15 WHERE score = "w 7-6" | [
2437,
867,
661,
9141,
262,
4776,
286,
266,
767,
12,
21,
30,
46506,
4315,
16034,
3084,
62,
3672,
62,
1314,
33411,
4776,
796,
366,
86,
767,
12,
21,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
661,
9141,
262,
4776,
286,
266,
767,
12,
21,
30,
46506,
4315,
16034,
3084,
62,
3672,
62,
1314,
33411,
4776,
796,
366,
86,
767,
12,
21,
1
] |
Find the name of the user who has the largest number of followers. | SELECT name FROM user_profiles ORDER BY followers DESC LIMIT 1 | [
16742,
262,
1438,
286,
262,
2836,
508,
468,
262,
4387,
1271,
286,
10569,
13,
46506,
1438,
16034,
2836,
62,
5577,
2915,
38678,
11050,
10569,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
1438,
286,
262,
2836,
508,
468,
262,
4387,
1271,
286,
10569,
13,
46506,
1438,
16034,
2836,
62,
5577,
2915,
38678,
11050,
10569,
22196,
34,
27564,
2043,
352
] |
What is the pick for Mickey Johnson with fewer than 4 rounds? | SELECT SUM(pick) FROM table_name_19 WHERE player = "mickey johnson" AND round < 4 | [
2061,
318,
262,
2298,
329,
27232,
5030,
351,
7380,
621,
604,
9196,
30,
46506,
35683,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
1129,
33411,
2137,
796,
366,
9383,
2539,
45610,
1559,
1,
5357,
2835,
1279,
604
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2298,
329,
27232,
5030,
351,
7380,
621,
604,
9196,
30,
46506,
35683,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
1129,
33411,
2137,
796,
366,
9383,
2539,
45610,
1559,
1,
5357,
2835,
1279,
604
] |
Wjat game 3 has ian french as a game of 2? | SELECT "Game 3" FROM table_75295 WHERE "Game 2" = 'ian french' | [
54,
73,
265,
983,
513,
468,
220,
666,
48718,
355,
257,
983,
286,
362,
30,
46506,
366,
8777,
513,
1,
16034,
3084,
62,
2425,
25710,
33411,
366,
8777,
362,
1,
796,
705,
666,
48718,
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
] | [
54,
73,
265,
983,
513,
468,
220,
666,
48718,
355,
257,
983,
286,
362,
30,
46506,
366,
8777,
513,
1,
16034,
3084,
62,
2425,
25710,
33411,
366,
8777,
362,
1,
796,
705,
666,
48718,
6
] |
What was the score on 20/6/97? | SELECT score FROM table_name_9 WHERE date = "20/6/97" | [
2061,
373,
262,
4776,
319,
1160,
14,
21,
14,
5607,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
24,
33411,
3128,
796,
366,
1238,
14,
21,
14,
5607,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
319,
1160,
14,
21,
14,
5607,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
24,
33411,
3128,
796,
366,
1238,
14,
21,
14,
5607,
1
] |
Tell me the pole winner of may 12 | SELECT "Pole Winner" FROM table_74484 WHERE "Date" = 'may 12' | [
24446,
502,
262,
16825,
8464,
286,
743,
1105,
46506,
366,
47,
2305,
25358,
1,
16034,
3084,
62,
22,
2598,
5705,
33411,
366,
10430,
1,
796,
705,
11261,
1105,
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
] | [
24446,
502,
262,
16825,
8464,
286,
743,
1105,
46506,
366,
47,
2305,
25358,
1,
16034,
3084,
62,
22,
2598,
5705,
33411,
366,
10430,
1,
796,
705,
11261,
1105,
6
] |
What is the Status of the dinosaur, whose notes are, 'n coelurosauria'? | SELECT status FROM table_name_73 WHERE notes = "n coelurosauria" | [
2061,
318,
262,
12678,
286,
262,
28257,
11,
3025,
4710,
389,
11,
705,
77,
763,
417,
1434,
82,
2899,
544,
30960,
46506,
3722,
16034,
3084,
62,
3672,
62,
4790,
33411,
4710,
796,
366,
77,
763,
417,
1434,
82,
2899,
544,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
12678,
286,
262,
28257,
11,
3025,
4710,
389,
11,
705,
77,
763,
417,
1434,
82,
2899,
544,
30960,
46506,
3722,
16034,
3084,
62,
3672,
62,
4790,
33411,
4710,
796,
366,
77,
763,
417,
1434,
82,
2899,
544,
1
] |
What was the score for the home team who plays their matches at the mcg venue? | SELECT "Home team score" FROM table_54954 WHERE "Venue" = 'mcg' | [
2061,
373,
262,
4776,
329,
262,
1363,
1074,
508,
5341,
511,
7466,
379,
262,
36650,
70,
14359,
30,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
44966,
4051,
33411,
366,
37522,
518,
1,
796,
705,
23209,
70,
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
] | [
2061,
373,
262,
4776,
329,
262,
1363,
1074,
508,
5341,
511,
7466,
379,
262,
36650,
70,
14359,
30,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
44966,
4051,
33411,
366,
37522,
518,
1,
796,
705,
23209,
70,
6
] |
What is the cumulative time (min and seconds) that has more than 6 seconds in shuttle time and a total level time of 64.8 seconds? | SELECT cumulative_time__min_and_seconds_ FROM table_name_93 WHERE shuttle_time__seconds_ > 6 AND total_level_time__s_ = 64.8 | [
2061,
318,
262,
23818,
640,
357,
1084,
290,
4201,
8,
326,
468,
517,
621,
718,
4201,
287,
20992,
640,
290,
257,
2472,
1241,
640,
286,
5598,
13,
23,
4201,
30,
46506,
23818,
62,
2435,
834,
1084,
62,
392,
62,
43012,
62,
16034,
3084,
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... | [
2061,
318,
262,
23818,
640,
357,
1084,
290,
4201,
8,
326,
468,
517,
621,
718,
4201,
287,
20992,
640,
290,
257,
2472,
1241,
640,
286,
5598,
13,
23,
4201,
30,
46506,
23818,
62,
2435,
834,
1084,
62,
392,
62,
43012,
62,
16034,
3084,
6... |
A bar chart about the number of countries for all people whose age is smaller than the average, display Y in ascending order. | SELECT Country, COUNT(Country) FROM people WHERE Age < (SELECT AVG(Age) FROM people) GROUP BY Country ORDER BY COUNT(Country) | [
32,
2318,
8262,
546,
262,
1271,
286,
2678,
329,
477,
661,
3025,
2479,
318,
4833,
621,
262,
2811,
11,
3359,
575,
287,
41988,
1502,
13,
46506,
12946,
11,
327,
28270,
7,
33921,
8,
16034,
661,
33411,
7129,
1279,
357,
46506,
35224,
7,
23... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32,
2318,
8262,
546,
262,
1271,
286,
2678,
329,
477,
661,
3025,
2479,
318,
4833,
621,
262,
2811,
11,
3359,
575,
287,
41988,
1502,
13,
46506,
12946,
11,
327,
28270,
7,
33921,
8,
16034,
661,
33411,
7129,
1279,
357,
46506,
35224,
7,
23... |
for the last time , when was patient 029-22492 prescribed for sodium chloride 0.9 % flush peripheral lok 3 ml? | SELECT medication.drugstarttime FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '029-22492')) AND medication.drugname = 'sodium chloride 0.9 % ... | [
1640,
262,
938,
640,
837,
618,
373,
5827,
657,
1959,
12,
24137,
5892,
14798,
329,
21072,
44921,
657,
13,
24,
4064,
24773,
25514,
300,
482,
513,
25962,
30,
46506,
14103,
13,
30349,
9688,
2435,
16034,
14103,
33411,
14103,
13,
26029,
20850... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1640,
262,
938,
640,
837,
618,
373,
5827,
657,
1959,
12,
24137,
5892,
14798,
329,
21072,
44921,
657,
13,
24,
4064,
24773,
25514,
300,
482,
513,
25962,
30,
46506,
14103,
13,
30349,
9688,
2435,
16034,
14103,
33411,
14103,
13,
26029,
20850... |
What is the name of the player from Malaysia, Kuala Lumpur in Index f8? | SELECT name FROM table_name_67 WHERE country = "malaysia, kuala lumpur" AND index = "f8" | [
2061,
318,
262,
1438,
286,
262,
2137,
422,
15336,
11,
48880,
49001,
287,
12901,
277,
23,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
3134,
33411,
1499,
796,
366,
7617,
592,
544,
11,
479,
41944,
23844,
333,
1,
5357,
6376,
796,
366,
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
] | [
2061,
318,
262,
1438,
286,
262,
2137,
422,
15336,
11,
48880,
49001,
287,
12901,
277,
23,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
3134,
33411,
1499,
796,
366,
7617,
592,
544,
11,
479,
41944,
23844,
333,
1,
5357,
6376,
796,
366,
6... |
which city did she play her last game ? | SELECT "tournament" FROM table_204_553 ORDER BY "date" DESC LIMIT 1 | [
4758,
1748,
750,
673,
711,
607,
938,
983,
5633,
46506,
366,
83,
5138,
1,
16034,
3084,
62,
18638,
62,
48096,
38678,
11050,
366,
4475,
1,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
1748,
750,
673,
711,
607,
938,
983,
5633,
46506,
366,
83,
5138,
1,
16034,
3084,
62,
18638,
62,
48096,
38678,
11050,
366,
4475,
1,
22196,
34,
27564,
2043,
352
] |
Name the number of developed by for solid edge | SELECT COUNT("Developed by") FROM table_23035 WHERE "Application" = 'Solid Edge' | [
5376,
262,
1271,
286,
4166,
416,
329,
4735,
5743,
46506,
327,
28270,
7203,
19246,
276,
416,
4943,
16034,
3084,
62,
19214,
2327,
33411,
366,
23416,
1,
796,
705,
46933,
13113,
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
] | [
5376,
262,
1271,
286,
4166,
416,
329,
4735,
5743,
46506,
327,
28270,
7203,
19246,
276,
416,
4943,
16034,
3084,
62,
19214,
2327,
33411,
366,
23416,
1,
796,
705,
46933,
13113,
6
] |
How many goals for occurred when the goals against was less than 56 and games played was larger than 7 with less than 6 wins? | SELECT COUNT(goals_for) FROM table_name_37 WHERE goals_against < 56 AND games_played > 7 AND wins < 6 | [
2437,
867,
4661,
329,
5091,
618,
262,
4661,
1028,
373,
1342,
621,
7265,
290,
1830,
2826,
373,
4025,
621,
767,
351,
1342,
621,
718,
7864,
30,
46506,
327,
28270,
7,
2188,
874,
62,
1640,
8,
16034,
3084,
62,
3672,
62,
2718,
33411,
4661,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
4661,
329,
5091,
618,
262,
4661,
1028,
373,
1342,
621,
7265,
290,
1830,
2826,
373,
4025,
621,
767,
351,
1342,
621,
718,
7864,
30,
46506,
327,
28270,
7,
2188,
874,
62,
1640,
8,
16034,
3084,
62,
3672,
62,
2718,
33411,
4661,... |
What is the Class for a year later than 1958, with 4 points? | SELECT "Class" FROM table_40687 WHERE "Year" > '1958' AND "Points" = '4' | [
2061,
318,
262,
5016,
329,
257,
614,
1568,
621,
24648,
11,
351,
604,
2173,
30,
46506,
366,
9487,
1,
16034,
3084,
62,
1821,
39925,
33411,
366,
17688,
1,
1875,
705,
1129,
3365,
6,
5357,
366,
40710,
1,
796,
705,
19,
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
] | [
2061,
318,
262,
5016,
329,
257,
614,
1568,
621,
24648,
11,
351,
604,
2173,
30,
46506,
366,
9487,
1,
16034,
3084,
62,
1821,
39925,
33411,
366,
17688,
1,
1875,
705,
1129,
3365,
6,
5357,
366,
40710,
1,
796,
705,
19,
6
] |
requesting flight information for flight from BOSTON to BALTIMORE on tuesday | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BALTIMORE' AND date_day.day_number = 22 AND date_day.month_number = 3 AND... | [
25927,
278,
5474,
1321,
329,
5474,
422,
347,
10892,
1340,
284,
347,
31429,
3955,
6965,
319,
256,
3322,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
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... | [
25927,
278,
5474,
1321,
329,
5474,
422,
347,
10892,
1340,
284,
347,
31429,
3955,
6965,
319,
256,
3322,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9... |
Name the withdrawn for charles dickens | SELECT withdrawn FROM table_name_93 WHERE name = "charles dickens" | [
5376,
262,
23019,
329,
1149,
829,
19317,
641,
46506,
23019,
16034,
3084,
62,
3672,
62,
6052,
33411,
1438,
796,
366,
10641,
829,
19317,
641,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
23019,
329,
1149,
829,
19317,
641,
46506,
23019,
16034,
3084,
62,
3672,
62,
6052,
33411,
1438,
796,
366,
10641,
829,
19317,
641,
1
] |
Who was the opponent on the 28 july 2013 final? | SELECT opponent_in_the_final FROM table_name_33 WHERE date = "28 july 2013" | [
8241,
373,
262,
6125,
319,
262,
2579,
474,
2062,
2211,
2457,
30,
46506,
6125,
62,
259,
62,
1169,
62,
20311,
16034,
3084,
62,
3672,
62,
2091,
33411,
3128,
796,
366,
2078,
474,
2062,
2211,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
6125,
319,
262,
2579,
474,
2062,
2211,
2457,
30,
46506,
6125,
62,
259,
62,
1169,
62,
20311,
16034,
3084,
62,
3672,
62,
2091,
33411,
3128,
796,
366,
2078,
474,
2062,
2211,
1
] |
How many points did the player who was right guard score? | SELECT COUNT(points) FROM table_14342592_7 WHERE position = "Right guard" | [
2437,
867,
2173,
750,
262,
2137,
508,
373,
826,
4860,
4776,
30,
46506,
327,
28270,
7,
13033,
8,
16034,
3084,
62,
1415,
2682,
1495,
5892,
62,
22,
33411,
2292,
796,
366,
11028,
4860,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
2173,
750,
262,
2137,
508,
373,
826,
4860,
4776,
30,
46506,
327,
28270,
7,
13033,
8,
16034,
3084,
62,
1415,
2682,
1495,
5892,
62,
22,
33411,
2292,
796,
366,
11028,
4860,
1
] |
What is listed as the highest Participants that also have a Rank of 5, and Silver that's smaller than 0? | SELECT MAX("Participants") FROM table_75260 WHERE "Rank" = '5' AND "Silver" < '0' | [
2061,
318,
5610,
355,
262,
4511,
26122,
326,
635,
423,
257,
10916,
286,
642,
11,
290,
7698,
326,
338,
4833,
621,
657,
30,
46506,
25882,
7203,
34363,
1187,
4943,
16034,
3084,
62,
2425,
21719,
33411,
366,
27520,
1,
796,
705,
20,
6,
53... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
5610,
355,
262,
4511,
26122,
326,
635,
423,
257,
10916,
286,
642,
11,
290,
7698,
326,
338,
4833,
621,
657,
30,
46506,
25882,
7203,
34363,
1187,
4943,
16034,
3084,
62,
2425,
21719,
33411,
366,
27520,
1,
796,
705,
20,
6,
53... |
How many documents for each document type name? Visualize by a ar chart. | SELECT Document_Type_Name, COUNT(Document_Type_Name) FROM Ref_Document_Types AS T1 JOIN Documents AS T2 ON T1.Document_Type_Code = T2.Document_Type_Code GROUP BY Document_Type_Name | [
2437,
867,
4963,
329,
1123,
3188,
2099,
1438,
30,
15612,
1096,
416,
257,
610,
8262,
13,
46506,
16854,
62,
6030,
62,
5376,
11,
327,
28270,
7,
24941,
62,
6030,
62,
5376,
8,
16034,
6524,
62,
24941,
62,
31431,
7054,
309,
16,
32357,
1268... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
4963,
329,
1123,
3188,
2099,
1438,
30,
15612,
1096,
416,
257,
610,
8262,
13,
46506,
16854,
62,
6030,
62,
5376,
11,
327,
28270,
7,
24941,
62,
6030,
62,
5376,
8,
16034,
6524,
62,
24941,
62,
31431,
7054,
309,
16,
32357,
1268... |
What is the record of the game with a game number greater than 7 at boston garden with the providence steam rollers as the opponent? | SELECT "Record" FROM table_49894 WHERE "Game" > '7' AND "Location" = 'boston garden' AND "Opponent" = 'providence steam rollers' | [
2061,
318,
262,
1700,
286,
262,
983,
351,
257,
983,
1271,
3744,
621,
767,
379,
275,
5744,
11376,
351,
262,
899,
1704,
13324,
4836,
364,
355,
262,
6125,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
2920,
4531,
19,
33411,
366,
8777,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
1700,
286,
262,
983,
351,
257,
983,
1271,
3744,
621,
767,
379,
275,
5744,
11376,
351,
262,
899,
1704,
13324,
4836,
364,
355,
262,
6125,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
2920,
4531,
19,
33411,
366,
8777,
1,
... |
Which Result has an Attendance of 60,705? | SELECT result FROM table_name_72 WHERE attendance = "60,705" | [
13828,
25414,
468,
281,
46502,
590,
286,
3126,
11,
34801,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
4761,
33411,
14858,
796,
366,
1899,
11,
34801,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
25414,
468,
281,
46502,
590,
286,
3126,
11,
34801,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
4761,
33411,
14858,
796,
366,
1899,
11,
34801,
1
] |
Which site has the CERCLIS ID fld004092532? | SELECT "Name" FROM table_11971 WHERE "CERCLIS ID" = 'fld004092532' | [
13828,
2524,
468,
262,
327,
1137,
5097,
1797,
4522,
277,
335,
405,
29416,
1495,
2624,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
16315,
4869,
33411,
366,
34,
1137,
5097,
1797,
4522,
1,
796,
705,
69,
335,
405,
29416,
1495,
2624,
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
] | [
13828,
2524,
468,
262,
327,
1137,
5097,
1797,
4522,
277,
335,
405,
29416,
1495,
2624,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
16315,
4869,
33411,
366,
34,
1137,
5097,
1797,
4522,
1,
796,
705,
69,
335,
405,
29416,
1495,
2624,
6
] |
What is the score at the Addis Ababa location? | SELECT score FROM table_name_47 WHERE location = "addis ababa" | [
2061,
318,
262,
4776,
379,
262,
3060,
271,
2275,
15498,
4067,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2857,
33411,
4067,
796,
366,
2860,
271,
450,
15498,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4776,
379,
262,
3060,
271,
2275,
15498,
4067,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2857,
33411,
4067,
796,
366,
2860,
271,
450,
15498,
1
] |
for the time of 49.04 and lane less than 3, what is the nationality? | SELECT "Nationality" FROM table_69151 WHERE "Lane" < '3' AND "Time" = '49.04' | [
1640,
262,
640,
286,
5125,
13,
3023,
290,
11193,
1342,
621,
513,
11,
644,
318,
262,
29835,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
3388,
24309,
33411,
366,
43,
1531,
1,
1279,
705,
18,
6,
5357,
366,
7575,
1,
796,
705,
2920,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1640,
262,
640,
286,
5125,
13,
3023,
290,
11193,
1342,
621,
513,
11,
644,
318,
262,
29835,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
3388,
24309,
33411,
366,
43,
1531,
1,
1279,
705,
18,
6,
5357,
366,
7575,
1,
796,
705,
2920,... |
provide the number of patients whose admission year is less than 2155 and diagnoses short title is other lung disease nec? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2155" AND diagnoses.short_title = "Other lung disease NEC" | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
18742,
290,
40567,
1790,
3670,
318,
584,
12317,
4369,
27576,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
18742,
290,
40567,
1790,
3670,
318,
584,
12317,
4369,
27576,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21... |
What ending does siangu get for n? | SELECT feminine_ōn_stems FROM table_name_82 WHERE feminine_ō_stems = "siangu" | [
2061,
7464,
857,
33721,
2303,
651,
329,
299,
30,
46506,
23564,
62,
13090,
77,
62,
927,
82,
16034,
3084,
62,
3672,
62,
6469,
33411,
23564,
62,
13090,
62,
927,
82,
796,
366,
13396,
2303,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
7464,
857,
33721,
2303,
651,
329,
299,
30,
46506,
23564,
62,
13090,
77,
62,
927,
82,
16034,
3084,
62,
3672,
62,
6469,
33411,
23564,
62,
13090,
62,
927,
82,
796,
366,
13396,
2303,
1
] |
What school had a team name of the Trojans? | SELECT "School" FROM table_37988 WHERE "Team Name" = 'trojans' | [
2061,
1524,
550,
257,
1074,
1438,
286,
262,
8498,
73,
504,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
29088,
3459,
33411,
366,
15592,
6530,
1,
796,
705,
23528,
73,
504,
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
] | [
2061,
1524,
550,
257,
1074,
1438,
286,
262,
8498,
73,
504,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
29088,
3459,
33411,
366,
15592,
6530,
1,
796,
705,
23528,
73,
504,
6
] |
What is the Catalog of the RCA release? | SELECT "Catalog" FROM table_50745 WHERE "Label" = 'rca' | [
2061,
318,
262,
44515,
286,
262,
371,
8141,
2650,
30,
46506,
366,
49015,
1,
16034,
3084,
62,
35378,
2231,
33411,
366,
33986,
1,
796,
705,
6015,
64,
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
] | [
2061,
318,
262,
44515,
286,
262,
371,
8141,
2650,
30,
46506,
366,
49015,
1,
16034,
3084,
62,
35378,
2231,
33411,
366,
33986,
1,
796,
705,
6015,
64,
6
] |
What league played in 2011? | SELECT league FROM table_name_65 WHERE year = 2011 | [
2061,
4652,
2826,
287,
2813,
30,
46506,
4652,
16034,
3084,
62,
3672,
62,
2996,
33411,
614,
796,
2813
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4652,
2826,
287,
2813,
30,
46506,
4652,
16034,
3084,
62,
3672,
62,
2996,
33411,
614,
796,
2813
] |
Which interview score corresponds with the evening gown score of 8.977? | SELECT "Interview" FROM table_17633 WHERE "Evening Gown" = '8.977' | [
13828,
2720,
4776,
24866,
351,
262,
6180,
33323,
4776,
286,
807,
13,
24,
3324,
30,
46506,
366,
39945,
1,
16034,
3084,
62,
24096,
2091,
33411,
366,
6104,
278,
402,
593,
1,
796,
705,
23,
13,
24,
3324,
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
] | [
13828,
2720,
4776,
24866,
351,
262,
6180,
33323,
4776,
286,
807,
13,
24,
3324,
30,
46506,
366,
39945,
1,
16034,
3084,
62,
24096,
2091,
33411,
366,
6104,
278,
402,
593,
1,
796,
705,
23,
13,
24,
3324,
6
] |
give me the number of patients whose death status is 0 and admission year is less than 2174? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.expire_flag = "0" AND demographic.admityear < "2174" | [
26535,
502,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
13938,
614,
318,
1342,
621,
362,
22985,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
1069,
5111,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26535,
502,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
13938,
614,
318,
1342,
621,
362,
22985,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
1069,
5111,
62,
... |
How many years of introduction does the Neal Submachine Gun have? | SELECT COUNT("Year of intro") FROM table_31151 WHERE "Name/ designation" = 'Neal submachine gun' | [
2437,
867,
812,
286,
9793,
857,
262,
29189,
3834,
30243,
6748,
423,
30,
46506,
327,
28270,
7203,
17688,
286,
18951,
4943,
16034,
3084,
62,
36244,
4349,
33411,
366,
5376,
14,
22566,
1,
796,
705,
40581,
850,
30243,
2485,
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
] | [
2437,
867,
812,
286,
9793,
857,
262,
29189,
3834,
30243,
6748,
423,
30,
46506,
327,
28270,
7203,
17688,
286,
18951,
4943,
16034,
3084,
62,
36244,
4349,
33411,
366,
5376,
14,
22566,
1,
796,
705,
40581,
850,
30243,
2485,
6
] |
Which 1977 is the lowest one that has a County of zzz bucharest, and a 2011 smaller than 1883425? | SELECT MIN("1977") FROM table_39348 WHERE "County" = 'zzz bucharest' AND "2011" < '1883425' | [
13828,
15589,
318,
262,
9016,
530,
326,
468,
257,
3418,
286,
1976,
3019,
275,
794,
12423,
11,
290,
257,
2813,
4833,
621,
27778,
2682,
1495,
30,
46506,
20625,
7203,
37781,
4943,
16034,
3084,
62,
2670,
28978,
33411,
366,
12332,
88,
1,
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
] | [
13828,
15589,
318,
262,
9016,
530,
326,
468,
257,
3418,
286,
1976,
3019,
275,
794,
12423,
11,
290,
257,
2813,
4833,
621,
27778,
2682,
1495,
30,
46506,
20625,
7203,
37781,
4943,
16034,
3084,
62,
2670,
28978,
33411,
366,
12332,
88,
1,
7... |
What was the result of the film with the Portuguese title, Um Filme Falado? | SELECT result FROM table_22118197_1 WHERE portuguese_title = "Um Filme Falado" | [
2061,
373,
262,
1255,
286,
262,
2646,
351,
262,
21813,
3670,
11,
21039,
7066,
1326,
9596,
4533,
30,
46506,
1255,
16034,
3084,
62,
1828,
16817,
24991,
62,
16,
33411,
2493,
1018,
20506,
62,
7839,
796,
366,
37280,
7066,
1326,
9596,
4533,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1255,
286,
262,
2646,
351,
262,
21813,
3670,
11,
21039,
7066,
1326,
9596,
4533,
30,
46506,
1255,
16034,
3084,
62,
1828,
16817,
24991,
62,
16,
33411,
2493,
1018,
20506,
62,
7839,
796,
366,
37280,
7066,
1326,
9596,
4533,
... |
What is the English name of the country that has Doha as its capital? | SELECT english_country_name FROM table_name_5 WHERE english_capital_name = "doha" | [
2061,
318,
262,
3594,
1438,
286,
262,
1499,
326,
468,
360,
28083,
355,
663,
3139,
30,
46506,
46932,
62,
19315,
62,
3672,
16034,
3084,
62,
3672,
62,
20,
33411,
46932,
62,
27544,
62,
3672,
796,
366,
67,
28083,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3594,
1438,
286,
262,
1499,
326,
468,
360,
28083,
355,
663,
3139,
30,
46506,
46932,
62,
19315,
62,
3672,
16034,
3084,
62,
3672,
62,
20,
33411,
46932,
62,
27544,
62,
3672,
796,
366,
67,
28083,
1
] |
calculate the total number of newborn admitted on clinic referral/premature. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "NEWBORN" AND demographic.admission_location = "CLINIC REFERRAL/PREMATURE" | [
9948,
3129,
378,
262,
2472,
1271,
286,
23856,
6848,
319,
15760,
31413,
14,
31605,
1300,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
13965... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9948,
3129,
378,
262,
2472,
1271,
286,
23856,
6848,
319,
15760,
31413,
14,
31605,
1300,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
13965... |
When goals conceded is greater than 17 with 37 points, what is the greatest played? | SELECT MAX("Played") FROM table_13095 WHERE "Points" = '37' AND "Goals Conceded" > '17' | [
2215,
4661,
24684,
318,
3744,
621,
1596,
351,
5214,
2173,
11,
644,
318,
262,
6000,
2826,
30,
46506,
25882,
7203,
11002,
276,
4943,
16034,
3084,
62,
12952,
3865,
33411,
366,
40710,
1,
796,
705,
2718,
6,
5357,
366,
5247,
874,
1482,
771,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
4661,
24684,
318,
3744,
621,
1596,
351,
5214,
2173,
11,
644,
318,
262,
6000,
2826,
30,
46506,
25882,
7203,
11002,
276,
4943,
16034,
3084,
62,
12952,
3865,
33411,
366,
40710,
1,
796,
705,
2718,
6,
5357,
366,
5247,
874,
1482,
771,... |
I want to know the proportion of the total number for each venue. | SELECT Venue, COUNT(Venue) FROM workshop GROUP BY Venue | [
40,
765,
284,
760,
262,
9823,
286,
262,
2472,
1271,
329,
1123,
14359,
13,
46506,
9932,
518,
11,
327,
28270,
7,
37522,
518,
8,
16034,
20243,
44441,
11050,
9932,
518
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
40,
765,
284,
760,
262,
9823,
286,
262,
2472,
1271,
329,
1123,
14359,
13,
46506,
9932,
518,
11,
327,
28270,
7,
37522,
518,
8,
16034,
20243,
44441,
11050,
9932,
518
] |
what is the number of patients prescribed sulfameth/trimethoprim ds who were admitted via physician referral/normal delivery? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND prescriptions.drug = "Sulfameth/Trimethoprim DS" | [
10919,
318,
262,
1271,
286,
3871,
14798,
22443,
321,
2788,
14,
2213,
320,
2788,
404,
3036,
288,
82,
508,
547,
6848,
2884,
14325,
31413,
14,
11265,
7585,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
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,
1... | [
10919,
318,
262,
1271,
286,
3871,
14798,
22443,
321,
2788,
14,
2213,
320,
2788,
404,
3036,
288,
82,
508,
547,
6848,
2884,
14325,
31413,
14,
11265,
7585,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
1... |
A bar chart shows the distribution of All_Neutral and School_ID , sort by the y axis in ascending please. | SELECT All_Neutral, School_ID FROM basketball_match ORDER BY School_ID | [
32,
2318,
8262,
2523,
262,
6082,
286,
1439,
62,
8199,
6815,
290,
3961,
62,
2389,
837,
3297,
416,
262,
331,
16488,
287,
41988,
3387,
13,
46506,
1439,
62,
8199,
6815,
11,
3961,
62,
2389,
16034,
9669,
62,
15699,
38678,
11050,
3961,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32,
2318,
8262,
2523,
262,
6082,
286,
1439,
62,
8199,
6815,
290,
3961,
62,
2389,
837,
3297,
416,
262,
331,
16488,
287,
41988,
3387,
13,
46506,
1439,
62,
8199,
6815,
11,
3961,
62,
2389,
16034,
9669,
62,
15699,
38678,
11050,
3961,
62,
... |
Display a bar chart for how many students are from each city, and which cities have more than one cities?, and list y-axis from high to low order. | SELECT city_code, COUNT(*) FROM Student GROUP BY city_code ORDER BY COUNT(*) DESC | [
23114,
257,
2318,
8262,
329,
703,
867,
2444,
389,
422,
1123,
1748,
11,
290,
543,
4736,
423,
517,
621,
530,
4736,
21747,
290,
1351,
331,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
1748,
62,
8189,
11,
327,
28270,
7,
28104,
1603... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23114,
257,
2318,
8262,
329,
703,
867,
2444,
389,
422,
1123,
1748,
11,
290,
543,
4736,
423,
517,
621,
530,
4736,
21747,
290,
1351,
331,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
1748,
62,
8189,
11,
327,
28270,
7,
28104,
1603... |
what is the minimum systemicmean of patient 006-133605 on 12/30/2105? | SELECT MIN(vitalperiodic.systemicmean) FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-133605')) AND NOT vitalperiodic.systemicmean ... | [
10919,
318,
262,
5288,
21971,
32604,
286,
5827,
3571,
21,
12,
1485,
15277,
20,
319,
1105,
14,
1270,
14,
17,
13348,
30,
46506,
20625,
7,
85,
1287,
41007,
291,
13,
10057,
291,
32604,
8,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
5288,
21971,
32604,
286,
5827,
3571,
21,
12,
1485,
15277,
20,
319,
1105,
14,
1270,
14,
17,
13348,
30,
46506,
20625,
7,
85,
1287,
41007,
291,
13,
10057,
291,
32604,
8,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
... |
Was the round where they were in 6th at home or away? | SELECT home_away FROM table_29033869_3 WHERE position_on_ladder = "6th" | [
16973,
262,
2835,
810,
484,
547,
287,
718,
400,
379,
1363,
393,
1497,
30,
46506,
1363,
62,
8272,
16034,
3084,
62,
24369,
28460,
3388,
62,
18,
33411,
2292,
62,
261,
62,
9435,
1082,
796,
366,
21,
400,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16973,
262,
2835,
810,
484,
547,
287,
718,
400,
379,
1363,
393,
1497,
30,
46506,
1363,
62,
8272,
16034,
3084,
62,
24369,
28460,
3388,
62,
18,
33411,
2292,
62,
261,
62,
9435,
1082,
796,
366,
21,
400,
1
] |
What is the 1st leg of the Al Fahaheel Team 1? | SELECT 1 AS st_leg FROM table_name_11 WHERE team_1 = "al fahaheel" | [
2061,
318,
262,
352,
301,
1232,
286,
262,
978,
376,
12236,
258,
417,
4816,
352,
30,
46506,
352,
7054,
336,
62,
1455,
16034,
3084,
62,
3672,
62,
1157,
33411,
1074,
62,
16,
796,
366,
282,
277,
12236,
258,
417,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
352,
301,
1232,
286,
262,
978,
376,
12236,
258,
417,
4816,
352,
30,
46506,
352,
7054,
336,
62,
1455,
16034,
3084,
62,
3672,
62,
1157,
33411,
1074,
62,
16,
796,
366,
282,
277,
12236,
258,
417,
1
] |
what launch date comes before march 1 , 1998 ? | SELECT "launch" FROM table_204_582 WHERE "launch" < (SELECT "launch" FROM table_204_582 WHERE "launch" = 'march 1, 1998') ORDER BY "launch" DESC LIMIT 1 | [
10919,
4219,
3128,
2058,
878,
9960,
352,
837,
7795,
5633,
46506,
366,
35681,
1,
16034,
3084,
62,
18638,
62,
46044,
33411,
366,
35681,
1,
1279,
357,
46506,
366,
35681,
1,
16034,
3084,
62,
18638,
62,
46044,
33411,
366,
35681,
1,
796,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
4219,
3128,
2058,
878,
9960,
352,
837,
7795,
5633,
46506,
366,
35681,
1,
16034,
3084,
62,
18638,
62,
46044,
33411,
366,
35681,
1,
1279,
357,
46506,
366,
35681,
1,
16034,
3084,
62,
18638,
62,
46044,
33411,
366,
35681,
1,
796,
70... |
What was the score of the game played at Harmon Stadium on February 24? | SELECT score FROM table_name_38 WHERE site_stadium = "harmon stadium" AND date = "february 24" | [
2061,
373,
262,
4776,
286,
262,
983,
2826,
379,
39712,
10499,
319,
3945,
1987,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2548,
33411,
2524,
62,
301,
6271,
796,
366,
29155,
261,
10308,
1,
5357,
3128,
796,
366,
69,
1765,
3728,
1987,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
286,
262,
983,
2826,
379,
39712,
10499,
319,
3945,
1987,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2548,
33411,
2524,
62,
301,
6271,
796,
366,
29155,
261,
10308,
1,
5357,
3128,
796,
366,
69,
1765,
3728,
1987,
... |
What Japanese show on NHK had average ratings of 9.2%? | SELECT "Japanese Title" FROM table_13779 WHERE "TV Station" = 'nhk' AND "Average Ratings" = '9.2%' | [
2061,
4960,
905,
319,
24451,
42,
550,
2811,
10109,
286,
860,
13,
17,
4,
30,
46506,
366,
25324,
11851,
1,
16034,
3084,
62,
1485,
40393,
33411,
366,
6849,
9327,
1,
796,
705,
77,
71,
74,
6,
5357,
366,
26287,
36826,
1,
796,
705,
24,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4960,
905,
319,
24451,
42,
550,
2811,
10109,
286,
860,
13,
17,
4,
30,
46506,
366,
25324,
11851,
1,
16034,
3084,
62,
1485,
40393,
33411,
366,
6849,
9327,
1,
796,
705,
77,
71,
74,
6,
5357,
366,
26287,
36826,
1,
796,
705,
24,
... |
Which Attendance has a Week smaller than 8, and an Opponent of philadelphia eagles? | SELECT "Attendance" FROM table_42533 WHERE "Week" < '8' AND "Opponent" = 'philadelphia eagles' | [
13828,
46502,
590,
468,
257,
6119,
4833,
621,
807,
11,
290,
281,
9385,
3471,
286,
5206,
8273,
304,
37803,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
32114,
2091,
33411,
366,
20916,
1,
1279,
705,
23,
6,
5357,
366,
27524,
347... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
46502,
590,
468,
257,
6119,
4833,
621,
807,
11,
290,
281,
9385,
3471,
286,
5206,
8273,
304,
37803,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
32114,
2091,
33411,
366,
20916,
1,
1279,
705,
23,
6,
5357,
366,
27524,
347... |
what is average age of patients whose gender is f and discharge location is home health care? | SELECT AVG(demographic.age) FROM demographic WHERE demographic.gender = "F" AND demographic.discharge_location = "HOME HEALTH CARE" | [
10919,
318,
2811,
2479,
286,
3871,
3025,
5279,
318,
277,
290,
17655,
4067,
318,
1363,
1535,
1337,
30,
46506,
35224,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
37,
1,
5357,
16728,
13,
6381,
10136,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
2811,
2479,
286,
3871,
3025,
5279,
318,
277,
290,
17655,
4067,
318,
1363,
1535,
1337,
30,
46506,
35224,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
37,
1,
5357,
16728,
13,
6381,
10136,
62,
... |
What is the total in the case where theere are 6 lecturers and fewer than 48 professors? | SELECT AVG(total) FROM table_name_96 WHERE lecturers = 6 AND professors < 48 | [
2061,
318,
262,
2472,
287,
262,
1339,
810,
262,
567,
389,
718,
11042,
17496,
290,
7380,
621,
4764,
20339,
30,
46506,
35224,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
4846,
33411,
11042,
17496,
796,
718,
5357,
20339,
1279,
4764
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
287,
262,
1339,
810,
262,
567,
389,
718,
11042,
17496,
290,
7380,
621,
4764,
20339,
30,
46506,
35224,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
4846,
33411,
11042,
17496,
796,
718,
5357,
20339,
1279,
4764
] |
Show each student's first name and last name. | SELECT DISTINCT firstname, lastname FROM list | [
15307,
1123,
3710,
338,
717,
1438,
290,
938,
1438,
13,
46506,
360,
8808,
1268,
4177,
717,
3672,
11,
938,
3672,
16034,
1351
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
1123,
3710,
338,
717,
1438,
290,
938,
1438,
13,
46506,
360,
8808,
1268,
4177,
717,
3672,
11,
938,
3672,
16034,
1351
] |
How many weeks have w 51-29 as the result/score? | SELECT SUM("Week") FROM table_43095 WHERE "Result/Score" = 'w 51-29' | [
2437,
867,
2745,
423,
266,
6885,
12,
1959,
355,
262,
1255,
14,
26675,
30,
46506,
35683,
7203,
20916,
4943,
16034,
3084,
62,
31794,
3865,
33411,
366,
23004,
14,
26595,
1,
796,
705,
86,
6885,
12,
1959,
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
] | [
2437,
867,
2745,
423,
266,
6885,
12,
1959,
355,
262,
1255,
14,
26675,
30,
46506,
35683,
7203,
20916,
4943,
16034,
3084,
62,
31794,
3865,
33411,
366,
23004,
14,
26595,
1,
796,
705,
86,
6885,
12,
1959,
6
] |
For those employees who did not have any job in the past, show me about the distribution of hire_date and the sum of employee_id bin hire_date by time in a bar chart. | SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
905,
502,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
6538,
62,
312,
9874,
11078,
62,
4475,
416,
640,
287,
257,
2318,
8262,
13,
46506,
36210,
2200,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
905,
502,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
6538,
62,
312,
9874,
11078,
62,
4475,
416,
640,
287,
257,
2318,
8262,
13,
46506,
36210,
2200,
... |
What is the title of series episode 11-05's segment d? | SELECT segment_d FROM table_15187735_11 WHERE series_ep = "11-05" | [
2061,
318,
262,
3670,
286,
2168,
4471,
1367,
12,
2713,
338,
10618,
288,
30,
46506,
10618,
62,
67,
16034,
3084,
62,
1314,
1507,
3324,
2327,
62,
1157,
33411,
2168,
62,
538,
796,
366,
1157,
12,
2713,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3670,
286,
2168,
4471,
1367,
12,
2713,
338,
10618,
288,
30,
46506,
10618,
62,
67,
16034,
3084,
62,
1314,
1507,
3324,
2327,
62,
1157,
33411,
2168,
62,
538,
796,
366,
1157,
12,
2713,
1
] |
How many departments are built in each year? Group by creation time in a line chart, display from high to low by the X. | SELECT Creation, COUNT(Creation) FROM department GROUP BY Creation ORDER BY Creation DESC | [
2437,
867,
13346,
389,
3170,
287,
1123,
614,
30,
4912,
416,
6282,
640,
287,
257,
1627,
8262,
11,
3359,
422,
1029,
284,
1877,
416,
262,
1395,
13,
46506,
21582,
11,
327,
28270,
7,
12443,
341,
8,
16034,
5011,
44441,
11050,
21582,
38678,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
13346,
389,
3170,
287,
1123,
614,
30,
4912,
416,
6282,
640,
287,
257,
1627,
8262,
11,
3359,
422,
1029,
284,
1877,
416,
262,
1395,
13,
46506,
21582,
11,
327,
28270,
7,
12443,
341,
8,
16034,
5011,
44441,
11050,
21582,
38678,
... |
What season for the team with over 2 tournaments and 13 regular season titles? | SELECT "Season" FROM table_10830 WHERE "Tournament" > '2' AND "Regular Season" = '13' | [
2061,
1622,
329,
262,
1074,
351,
625,
362,
18130,
290,
1511,
3218,
1622,
8714,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
15711,
1270,
33411,
366,
51,
5138,
1,
1875,
705,
17,
6,
5357,
366,
40164,
7369,
1,
796,
705,
1485,
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
] | [
2061,
1622,
329,
262,
1074,
351,
625,
362,
18130,
290,
1511,
3218,
1622,
8714,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
15711,
1270,
33411,
366,
51,
5138,
1,
1875,
705,
17,
6,
5357,
366,
40164,
7369,
1,
796,
705,
1485,
6
] |
Which Built has a Builder of brel crewe? | SELECT AVG("Built") FROM table_46497 WHERE "Builder" = 'brel crewe' | [
13828,
28477,
468,
257,
35869,
286,
1449,
75,
1126,
732,
30,
46506,
35224,
7203,
39582,
4943,
16034,
3084,
62,
44578,
5607,
33411,
366,
32875,
1,
796,
705,
65,
2411,
1126,
732,
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
] | [
13828,
28477,
468,
257,
35869,
286,
1449,
75,
1126,
732,
30,
46506,
35224,
7203,
39582,
4943,
16034,
3084,
62,
44578,
5607,
33411,
366,
32875,
1,
796,
705,
65,
2411,
1126,
732,
6
] |
Top 50 Users from Ahmedabad.. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "http://stackoverflow.com/users/1844392/piyush", Reputation FROM Users WHERE LOWER(Location) LIKE '%ahmedabad%' OR UPPER(Location) LIKE '%AHMEDABAD' ORDER BY Reputation DESC LIMIT 50 | [
9126,
2026,
18987,
422,
21157,
17325,
492,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
4023,
1378,
25558,
2502,
11125,
13,
785,
14,
18417,
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,
1... | [
9126,
2026,
18987,
422,
21157,
17325,
492,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
4023,
1378,
25558,
2502,
11125,
13,
785,
14,
18417,
14,
1... |
What dance had a score total of 31? | SELECT "Dance/song" FROM table_30230 WHERE "Total" = '31' | [
2061,
9280,
550,
257,
4776,
2472,
286,
3261,
30,
46506,
366,
35,
590,
14,
34050,
1,
16034,
3084,
62,
1270,
19214,
33411,
366,
14957,
1,
796,
705,
3132,
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
] | [
2061,
9280,
550,
257,
4776,
2472,
286,
3261,
30,
46506,
366,
35,
590,
14,
34050,
1,
16034,
3084,
62,
1270,
19214,
33411,
366,
14957,
1,
796,
705,
3132,
6
] |
tell me, what were the five most common procedures a year before? | SELECT t1.treatmentname FROM (SELECT treatment.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM treatment WHERE DATETIME(treatment.treatmenttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY treatment.treatmentname) AS t1 WHERE t1.c1 <= 5 | [
33331,
502,
11,
644,
547,
262,
1936,
749,
2219,
9021,
257,
614,
878,
30,
46506,
256,
16,
13,
42487,
3672,
16034,
357,
46506,
3513,
13,
42487,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
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... | [
33331,
502,
11,
644,
547,
262,
1936,
749,
2219,
9021,
257,
614,
878,
30,
46506,
256,
16,
13,
42487,
3672,
16034,
357,
46506,
3513,
13,
42487,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
... |
What is the number of sort values associated with 389 births? | SELECT COUNT(sort_restore) FROM table_name_27 WHERE births = "389" | [
2061,
318,
262,
1271,
286,
3297,
3815,
3917,
351,
49633,
27244,
30,
46506,
327,
28270,
7,
30619,
62,
2118,
382,
8,
16034,
3084,
62,
3672,
62,
1983,
33411,
27244,
796,
366,
29769,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
3297,
3815,
3917,
351,
49633,
27244,
30,
46506,
327,
28270,
7,
30619,
62,
2118,
382,
8,
16034,
3084,
62,
3672,
62,
1983,
33411,
27244,
796,
366,
29769,
1
] |
Count of posts edited by some users. | SELECT Month, '209103' AS "puf", '4625829', '5637321', '5996134' AS "kendi", '807126' AS "doug", '2207583' AS "tburner" FROM (SELECT DATEADD(MONTH, DATEDIFF(MONTH, 0, CreationDate), 0) AS "month", PostHistory.UserId, COUNT(*) AS Count FROM Posts INNER JOIN PostHistory ON PostHistory.PostId = Posts.Id WHERE PostHistory.... | [
12332,
286,
6851,
13012,
416,
617,
2985,
13,
46506,
16061,
11,
705,
22567,
15197,
6,
7054,
366,
79,
3046,
1600,
705,
3510,
25600,
1959,
3256,
705,
3980,
34770,
2481,
3256,
705,
20,
38565,
19880,
6,
7054,
366,
74,
43109,
1600,
705,
369... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12332,
286,
6851,
13012,
416,
617,
2985,
13,
46506,
16061,
11,
705,
22567,
15197,
6,
7054,
366,
79,
3046,
1600,
705,
3510,
25600,
1959,
3256,
705,
3980,
34770,
2481,
3256,
705,
20,
38565,
19880,
6,
7054,
366,
74,
43109,
1600,
705,
369... |
what was the total number of wins ? | SELECT COUNT(*) FROM table_204_363 WHERE "res." = 'win' | [
10919,
373,
262,
2472,
1271,
286,
7864,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
35447,
33411,
366,
411,
526,
796,
705,
5404,
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
] | [
10919,
373,
262,
2472,
1271,
286,
7864,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
35447,
33411,
366,
411,
526,
796,
705,
5404,
6
] |
has patient 488 been prescribed furosemide since 2101. | SELECT COUNT(*) > 0 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 488) AND prescriptions.drug = 'furosemide' AND STRFTIME('%y', prescriptions.startdate) >= '2101' | [
10134,
5827,
604,
3459,
587,
14798,
277,
1434,
43616,
485,
1201,
2310,
486,
13,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10134,
5827,
604,
3459,
587,
14798,
277,
1434,
43616,
485,
1201,
2310,
486,
13,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
... |
provide the number of patients whose diagnoses short title is trnspl status-bne marrow and drug route is im? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Trnspl status-bne marrow" AND prescriptions.route = "IM" | [
15234,
485,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
491,
5907,
489,
3722,
12,
65,
710,
44173,
290,
2563,
6339,
318,
545,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
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... | [
15234,
485,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
491,
5907,
489,
3722,
12,
65,
710,
44173,
290,
2563,
6339,
318,
545,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
2... |
also show me the first flight from ATLANTA to DENVER on a THURSDAY | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DENVER' AND days.day_name = 'THURSDAY' AND flight.flight_days = days.days_code AND... | [
14508,
905,
502,
262,
717,
5474,
422,
5161,
25697,
5603,
284,
37692,
5959,
319,
257,
2320,
4261,
10305,
4792,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
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... | [
14508,
905,
502,
262,
717,
5474,
422,
5161,
25697,
5603,
284,
37692,
5959,
319,
257,
2320,
4261,
10305,
4792,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
... |
when did patient 007-3999 leave the hospital the first time since 2 years ago? | SELECT patient.hospitaldischargetime FROM patient WHERE patient.uniquepid = '007-3999' AND DATETIME(patient.hospitaldischargetime) >= DATETIME(CURRENT_TIME(), '-2 year') ORDER BY patient.hospitaldischargetime LIMIT 1 | [
12518,
750,
5827,
3571,
22,
12,
18,
17032,
2666,
262,
4436,
262,
717,
640,
1201,
362,
812,
2084,
30,
46506,
5827,
13,
49257,
6381,
354,
7641,
524,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
25816,
12,
18,
17032,
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... | [
12518,
750,
5827,
3571,
22,
12,
18,
17032,
2666,
262,
4436,
262,
717,
640,
1201,
362,
812,
2084,
30,
46506,
5827,
13,
49257,
6381,
354,
7641,
524,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
25816,
12,
18,
17032,
6,... |
What is the record when the game was played at raymond james stadium? | SELECT record FROM table_name_46 WHERE game_site = "raymond james stadium" | [
2061,
318,
262,
1700,
618,
262,
983,
373,
2826,
379,
26842,
6327,
474,
1047,
10308,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
3510,
33411,
983,
62,
15654,
796,
366,
2433,
6327,
474,
1047,
10308,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1700,
618,
262,
983,
373,
2826,
379,
26842,
6327,
474,
1047,
10308,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
3510,
33411,
983,
62,
15654,
796,
366,
2433,
6327,
474,
1047,
10308,
1
] |
Which is team 2 when team 1 is ECAC Chaumont (d2)? | SELECT team_2 FROM table_name_45 WHERE team_1 = "ecac chaumont (d2)" | [
13828,
318,
1074,
362,
618,
1074,
352,
318,
13182,
2246,
20703,
388,
756,
357,
67,
17,
19427,
46506,
1074,
62,
17,
16034,
3084,
62,
3672,
62,
2231,
33411,
1074,
62,
16,
796,
366,
721,
330,
17792,
388,
756,
357,
67,
17,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
318,
1074,
362,
618,
1074,
352,
318,
13182,
2246,
20703,
388,
756,
357,
67,
17,
19427,
46506,
1074,
62,
17,
16034,
3084,
62,
3672,
62,
2231,
33411,
1074,
62,
16,
796,
366,
721,
330,
17792,
388,
756,
357,
67,
17,
16725
] |
What is the short stem for garbitzen? | SELECT short_stem FROM table_12784134_24 WHERE imperfect_stem = "garbitzen" | [
2061,
318,
262,
1790,
10717,
329,
5482,
2545,
4801,
30,
46506,
1790,
62,
927,
16034,
3084,
62,
1065,
37688,
19880,
62,
1731,
33411,
23162,
62,
927,
796,
366,
4563,
2545,
4801,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1790,
10717,
329,
5482,
2545,
4801,
30,
46506,
1790,
62,
927,
16034,
3084,
62,
1065,
37688,
19880,
62,
1731,
33411,
23162,
62,
927,
796,
366,
4563,
2545,
4801,
1
] |
the town with at most 1660 total population | SELECT "township" FROM table_203_459 WHERE "population" = 1660 | [
1169,
3240,
351,
379,
749,
1467,
1899,
2472,
3265,
46506,
366,
12735,
6720,
1,
16034,
3084,
62,
22416,
62,
33459,
33411,
366,
39748,
1,
796,
1467,
1899
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1169,
3240,
351,
379,
749,
1467,
1899,
2472,
3265,
46506,
366,
12735,
6720,
1,
16034,
3084,
62,
22416,
62,
33459,
33411,
366,
39748,
1,
796,
1467,
1899
] |
What is the Score on April 6? | SELECT "Score" FROM table_70441 WHERE "Date" = 'april 6' | [
2061,
318,
262,
15178,
319,
3035,
718,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2154,
39710,
33411,
366,
10430,
1,
796,
705,
499,
22379,
718,
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
] | [
2061,
318,
262,
15178,
319,
3035,
718,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2154,
39710,
33411,
366,
10430,
1,
796,
705,
499,
22379,
718,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.