instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
which performer was listed at least 3 times in both the producer column and the performer column ? | SELECT "producer(s)" FROM table_203_810 GROUP BY "producer(s)" HAVING COUNT(*) >= 3 | [
4758,
26960,
373,
5610,
379,
1551,
513,
1661,
287,
1111,
262,
9920,
5721,
290,
262,
26960,
5721,
5633,
46506,
366,
18230,
2189,
7,
82,
16725,
16034,
3084,
62,
22416,
62,
40215,
44441,
11050,
366,
18230,
2189,
7,
82,
16725,
367,
10116,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26960,
373,
5610,
379,
1551,
513,
1661,
287,
1111,
262,
9920,
5721,
290,
262,
26960,
5721,
5633,
46506,
366,
18230,
2189,
7,
82,
16725,
16034,
3084,
62,
22416,
62,
40215,
44441,
11050,
366,
18230,
2189,
7,
82,
16725,
367,
10116,
... |
What was the ratings for episode 11? | SELECT ratings__kanto_ FROM table_26591434_1 WHERE episode = 11 | [
2061,
373,
262,
10109,
329,
4471,
1367,
30,
46506,
10109,
834,
74,
14723,
62,
16034,
3084,
62,
2075,
3270,
1415,
2682,
62,
16,
33411,
4471,
796,
1367
] | [
1,
1,
1,
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,
10109,
329,
4471,
1367,
30,
46506,
10109,
834,
74,
14723,
62,
16034,
3084,
62,
2075,
3270,
1415,
2682,
62,
16,
33411,
4471,
796,
1367
] |
Where the length is 91', what is the year built? | SELECT "Year Built" FROM table_38257 WHERE "Length" = '91' | [
8496,
262,
4129,
318,
10495,
3256,
644,
318,
262,
614,
3170,
30,
46506,
366,
17688,
28477,
1,
16034,
3084,
62,
2548,
28676,
33411,
366,
24539,
1,
796,
705,
6420,
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
] | [
8496,
262,
4129,
318,
10495,
3256,
644,
318,
262,
614,
3170,
30,
46506,
366,
17688,
28477,
1,
16034,
3084,
62,
2548,
28676,
33411,
366,
24539,
1,
796,
705,
6420,
6
] |
which volume had the most maps ? | SELECT "volume" FROM table_204_843 ORDER BY "maps" DESC LIMIT 1 | [
4758,
6115,
550,
262,
749,
8739,
5633,
46506,
366,
29048,
1,
16034,
3084,
62,
18638,
62,
23,
3559,
38678,
11050,
366,
31803,
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
] | [
4758,
6115,
550,
262,
749,
8739,
5633,
46506,
366,
29048,
1,
16034,
3084,
62,
18638,
62,
23,
3559,
38678,
11050,
366,
31803,
1,
22196,
34,
27564,
2043,
352
] |
Where did the Paris Marathon occur? | SELECT "Venue" FROM table_32047 WHERE "Competition" = 'paris marathon' | [
8496,
750,
262,
6342,
24828,
3051,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
19504,
2857,
33411,
366,
7293,
15620,
1,
796,
705,
1845,
271,
22336,
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
] | [
8496,
750,
262,
6342,
24828,
3051,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
19504,
2857,
33411,
366,
7293,
15620,
1,
796,
705,
1845,
271,
22336,
6
] |
What poor law union is Curradonohoe a part of? | SELECT poor_law_union FROM table_30120555_1 WHERE townland = "Curradonohoe" | [
2061,
3595,
1099,
6441,
318,
4424,
6335,
261,
1219,
2577,
257,
636,
286,
30,
46506,
3595,
62,
6270,
62,
24592,
16034,
3084,
62,
18938,
1238,
31046,
62,
16,
33411,
3240,
1044,
796,
366,
26628,
6335,
261,
1219,
2577,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3595,
1099,
6441,
318,
4424,
6335,
261,
1219,
2577,
257,
636,
286,
30,
46506,
3595,
62,
6270,
62,
24592,
16034,
3084,
62,
18938,
1238,
31046,
62,
16,
33411,
3240,
1044,
796,
366,
26628,
6335,
261,
1219,
2577,
1
] |
Name the least overall for tony baker | SELECT MIN("Overall") FROM table_36892 WHERE "Name" = 'tony baker' | [
5376,
262,
1551,
4045,
329,
256,
1647,
46412,
46506,
20625,
7203,
16350,
4943,
16034,
3084,
62,
2623,
4531,
17,
33411,
366,
5376,
1,
796,
705,
1122,
88,
46412,
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
] | [
5376,
262,
1551,
4045,
329,
256,
1647,
46412,
46506,
20625,
7203,
16350,
4943,
16034,
3084,
62,
2623,
4531,
17,
33411,
366,
5376,
1,
796,
705,
1122,
88,
46412,
6
] |
what was the only coach to serve for only six years ? | SELECT "coach" FROM table_203_577 WHERE "years" = 6 | [
10919,
373,
262,
691,
3985,
284,
4691,
329,
691,
2237,
812,
5633,
46506,
366,
1073,
620,
1,
16034,
3084,
62,
22416,
62,
49447,
33411,
366,
19002,
1,
796,
718
] | [
1,
1,
1,
1,
1,
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,
691,
3985,
284,
4691,
329,
691,
2237,
812,
5633,
46506,
366,
1073,
620,
1,
16034,
3084,
62,
22416,
62,
49447,
33411,
366,
19002,
1,
796,
718
] |
What is the sum of all gold medals for Algeria when total medals is less than 3? | SELECT SUM("Gold") FROM table_35005 WHERE "Nation" = 'algeria' AND "Total" < '3' | [
2061,
318,
262,
2160,
286,
477,
3869,
28057,
329,
36498,
618,
2472,
28057,
318,
1342,
621,
513,
30,
46506,
35683,
7203,
13306,
4943,
16034,
3084,
62,
2327,
22544,
33411,
366,
46108,
1,
796,
705,
282,
1362,
544,
6,
5357,
366,
14957,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2160,
286,
477,
3869,
28057,
329,
36498,
618,
2472,
28057,
318,
1342,
621,
513,
30,
46506,
35683,
7203,
13306,
4943,
16034,
3084,
62,
2327,
22544,
33411,
366,
46108,
1,
796,
705,
282,
1362,
544,
6,
5357,
366,
14957,
1,... |
all suggested edits for a user. http://meta.stackoverflow.com/questions/276461/see-edits-made-to-my-answers | SELECT p.Id AS "post_link", s.OwnerUserId AS "user_link", s.Id AS "suggested_edit_link", s.Comment, s.CreationDate, s.ApprovalDate, s.RejectionDate, vt.Name, v.UserId AS "user_link" FROM Posts AS p INNER JOIN SuggestedEdits AS s ON s.PostId = p.Id INNER JOIN SuggestedEditVotes AS v ON v.SuggestedEditId = s.Id INNER JOI... | [
439,
5220,
31671,
329,
257,
2836,
13,
2638,
1378,
28961,
13,
25558,
2502,
11125,
13,
785,
14,
6138,
507,
14,
1983,
2414,
5333,
14,
3826,
12,
276,
896,
12,
9727,
12,
1462,
12,
1820,
12,
504,
86,
364,
46506,
279,
13,
7390,
7054,
366... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
439,
5220,
31671,
329,
257,
2836,
13,
2638,
1378,
28961,
13,
25558,
2502,
11125,
13,
785,
14,
6138,
507,
14,
1983,
2414,
5333,
14,
3826,
12,
276,
896,
12,
9727,
12,
1462,
12,
1820,
12,
504,
86,
364,
46506,
279,
13,
7390,
7054,
366... |
What year was the school opened that has a size of 10 acres and students of na? | SELECT "Year opened" FROM table_62928 WHERE "Students" = 'na' AND "Size" = '10 acres' | [
2061,
614,
373,
262,
1524,
4721,
326,
468,
257,
2546,
286,
838,
16051,
290,
2444,
286,
12385,
30,
46506,
366,
17688,
4721,
1,
16034,
3084,
62,
48602,
2078,
33411,
366,
28239,
1,
796,
705,
2616,
6,
5357,
366,
10699,
1,
796,
705,
940,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
614,
373,
262,
1524,
4721,
326,
468,
257,
2546,
286,
838,
16051,
290,
2444,
286,
12385,
30,
46506,
366,
17688,
4721,
1,
16034,
3084,
62,
48602,
2078,
33411,
366,
28239,
1,
796,
705,
2616,
6,
5357,
366,
10699,
1,
796,
705,
940,... |
Provide the number of unmarried patients who have a hematology lab test category. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "SINGLE" AND lab."CATEGORY" = "Hematology" | [
15946,
485,
262,
1271,
286,
39183,
3871,
508,
423,
257,
339,
6759,
1435,
2248,
1332,
6536,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15946,
485,
262,
1271,
286,
39183,
3871,
508,
423,
257,
339,
6759,
1435,
2248,
1332,
6536,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18... |
Which Reigon has a Village of Chassagne-Montrachet? | SELECT "Region" FROM table_34296 WHERE "Village" = 'chassagne-montrachet' | [
13828,
797,
37107,
468,
257,
14812,
286,
609,
562,
21080,
12,
26031,
11510,
3202,
30,
46506,
366,
47371,
1,
16034,
3084,
62,
2682,
27137,
33411,
366,
42074,
496,
1,
796,
705,
354,
562,
21080,
12,
8691,
11510,
3202,
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
] | [
13828,
797,
37107,
468,
257,
14812,
286,
609,
562,
21080,
12,
26031,
11510,
3202,
30,
46506,
366,
47371,
1,
16034,
3084,
62,
2682,
27137,
33411,
366,
42074,
496,
1,
796,
705,
354,
562,
21080,
12,
8691,
11510,
3202,
6
] |
Which nation's total is less than 19 when there's less than 1 bronze? | SELECT nation FROM table_name_54 WHERE total < 19 AND bronze < 1 | [
13828,
3277,
338,
2472,
318,
1342,
621,
678,
618,
612,
338,
1342,
621,
352,
22101,
30,
46506,
3277,
16034,
3084,
62,
3672,
62,
4051,
33411,
2472,
1279,
678,
5357,
22101,
1279,
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
] | [
13828,
3277,
338,
2472,
318,
1342,
621,
678,
618,
612,
338,
1342,
621,
352,
22101,
30,
46506,
3277,
16034,
3084,
62,
3672,
62,
4051,
33411,
2472,
1279,
678,
5357,
22101,
1279,
352
] |
What visitor has December 14 as the date? | SELECT visitor FROM table_name_55 WHERE date = "december 14" | [
2061,
21493,
468,
3426,
1478,
355,
262,
3128,
30,
46506,
21493,
16034,
3084,
62,
3672,
62,
2816,
33411,
3128,
796,
366,
2934,
3273,
1478,
1
] | [
1,
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,
21493,
468,
3426,
1478,
355,
262,
3128,
30,
46506,
21493,
16034,
3084,
62,
3672,
62,
2816,
33411,
3128,
796,
366,
2934,
3273,
1478,
1
] |
Tell me the record for the date of August 18. | SELECT "Record" FROM table_14382 WHERE "Date" = 'august 18' | [
24446,
502,
262,
1700,
329,
262,
3128,
286,
2932,
1248,
13,
46506,
366,
23739,
1,
16034,
3084,
62,
1415,
36243,
33411,
366,
10430,
1,
796,
705,
7493,
436,
1248,
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
] | [
24446,
502,
262,
1700,
329,
262,
3128,
286,
2932,
1248,
13,
46506,
366,
23739,
1,
16034,
3084,
62,
1415,
36243,
33411,
366,
10430,
1,
796,
705,
7493,
436,
1248,
6
] |
return me the authors of ' Making database systems usable ' . | SELECT author.name FROM author, publication, writes WHERE publication.title = 'Making database systems usable' AND writes.aid = author.aid AND writes.pid = publication.pid | [
7783,
502,
262,
7035,
286,
705,
16427,
6831,
3341,
24284,
705,
764,
46506,
1772,
13,
3672,
16034,
1772,
11,
9207,
11,
6797,
33411,
9207,
13,
7839,
796,
705,
23874,
6831,
3341,
24284,
6,
5357,
6797,
13,
1698,
796,
1772,
13,
1698,
5357,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
7783,
502,
262,
7035,
286,
705,
16427,
6831,
3341,
24284,
705,
764,
46506,
1772,
13,
3672,
16034,
1772,
11,
9207,
11,
6797,
33411,
9207,
13,
7839,
796,
705,
23874,
6831,
3341,
24284,
6,
5357,
6797,
13,
1698,
796,
1772,
13,
1698,
5357,... |
Days with at least one comment by MathOverflow moderators. | SELECT DATE(c.CreationDate) FROM Users AS u INNER JOIN Comments AS c ON c.UserId = u.Id WHERE u.Id IN (2, 3, 66, 121, 1409, 2000, 2926) GROUP BY DATE(c.CreationDate) ORDER BY DATE(c.CreationDate) DESC | [
38770,
351,
379,
1551,
530,
2912,
416,
16320,
5886,
11125,
37265,
13,
46506,
360,
6158,
7,
66,
13,
12443,
341,
10430,
8,
16034,
18987,
7054,
334,
3268,
21479,
32357,
1268,
19502,
7054,
269,
6177,
269,
13,
12982,
7390,
796,
334,
13,
73... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
38770,
351,
379,
1551,
530,
2912,
416,
16320,
5886,
11125,
37265,
13,
46506,
360,
6158,
7,
66,
13,
12443,
341,
10430,
8,
16034,
18987,
7054,
334,
3268,
21479,
32357,
1268,
19502,
7054,
269,
6177,
269,
13,
12982,
7390,
796,
334,
13,
73... |
What is the score for the game that Colin Fleming Scott Lipsky played in? | SELECT "Score" FROM table_53003 WHERE "Opponents" = 'colin fleming scott lipsky' | [
2061,
318,
262,
4776,
329,
262,
983,
326,
18373,
42439,
4746,
406,
2419,
2584,
2826,
287,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
4310,
11245,
33411,
366,
27524,
3906,
1,
796,
705,
4033,
259,
5104,
2229,
629,
1252,
11914,
2584,
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,
318,
262,
4776,
329,
262,
983,
326,
18373,
42439,
4746,
406,
2419,
2584,
2826,
287,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
4310,
11245,
33411,
366,
27524,
3906,
1,
796,
705,
4033,
259,
5104,
2229,
629,
1252,
11914,
2584,
6
] |
Most frequent duplicate targets for a tag. | SELECT RelatedPostId AS "post_link", COUNT(*) AS "Number of duplicates" FROM PostLinks JOIN Posts AS q ON q.Id = RelatedPostId JOIN PostTags AS pt ON q.Id = pt.PostId JOIN Tags AS t ON pt.TagId = t.Id WHERE LinkTypeId = 3 AND t.TagName = '##Tag:string##' GROUP BY RelatedPostId ORDER BY COUNT(*) DESC LIMIT 100 | [
6943,
10792,
23418,
6670,
329,
257,
7621,
13,
46506,
19809,
6307,
7390,
7054,
366,
7353,
62,
8726,
1600,
327,
28270,
7,
28104,
7054,
366,
15057,
286,
14184,
16856,
1,
16034,
2947,
31815,
32357,
1268,
12043,
7054,
10662,
6177,
10662,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
6943,
10792,
23418,
6670,
329,
257,
7621,
13,
46506,
19809,
6307,
7390,
7054,
366,
7353,
62,
8726,
1600,
327,
28270,
7,
28104,
7054,
366,
15057,
286,
14184,
16856,
1,
16034,
2947,
31815,
32357,
1268,
12043,
7054,
10662,
6177,
10662,
13,
... |
Which Country has a Player of arjun atwal? | SELECT country FROM table_name_19 WHERE player = "arjun atwal" | [
13828,
12946,
468,
257,
7853,
286,
610,
29741,
379,
16783,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
1129,
33411,
2137,
796,
366,
283,
29741,
379,
16783,
1
] | [
1,
1,
1,
1,
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,
12946,
468,
257,
7853,
286,
610,
29741,
379,
16783,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
1129,
33411,
2137,
796,
366,
283,
29741,
379,
16783,
1
] |
What team did Alireza mansourian leave? | SELECT "Team" FROM table_24913 WHERE "Outgoing manager" = 'Alireza Mansourian' | [
2061,
1074,
750,
978,
557,
4496,
25045,
280,
4484,
2666,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
21626,
1485,
33411,
366,
7975,
5146,
4706,
1,
796,
705,
2348,
557,
4496,
18580,
280,
4484,
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
] | [
2061,
1074,
750,
978,
557,
4496,
25045,
280,
4484,
2666,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
21626,
1485,
33411,
366,
7975,
5146,
4706,
1,
796,
705,
2348,
557,
4496,
18580,
280,
4484,
6
] |
On what date was the Essendon home match? | SELECT date FROM table_name_66 WHERE home_team = "essendon" | [
2202,
644,
3128,
373,
262,
11985,
43153,
1363,
2872,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2791,
33411,
1363,
62,
15097,
796,
366,
408,
43153,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2202,
644,
3128,
373,
262,
11985,
43153,
1363,
2872,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2791,
33411,
1363,
62,
15097,
796,
366,
408,
43153,
1
] |
Name the least field goals for chantel hilliard | SELECT MIN(field_goals) FROM table_23183195_5 WHERE player = "Chantel Hilliard" | [
5376,
262,
1551,
2214,
4661,
329,
33541,
417,
12788,
42425,
46506,
20625,
7,
3245,
62,
2188,
874,
8,
16034,
3084,
62,
1954,
24839,
22186,
62,
20,
33411,
2137,
796,
366,
1925,
415,
417,
3327,
42425,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1551,
2214,
4661,
329,
33541,
417,
12788,
42425,
46506,
20625,
7,
3245,
62,
2188,
874,
8,
16034,
3084,
62,
1954,
24839,
22186,
62,
20,
33411,
2137,
796,
366,
1925,
415,
417,
3327,
42425,
1
] |
Top SO users in Copenhagen. | SELECT DisplayName, Location, Reputation, WebsiteUrl, AboutMe FROM Users WHERE Location LIKE '%Vilnius%' ORDER BY Reputation DESC | [
9126,
12809,
2985,
287,
31104,
13,
46506,
16531,
5376,
11,
13397,
11,
1432,
7094,
11,
15887,
28165,
11,
7994,
5308,
16034,
18987,
33411,
13397,
34178,
705,
4,
53,
346,
77,
3754,
4,
6,
38678,
11050,
1432,
7094,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12809,
2985,
287,
31104,
13,
46506,
16531,
5376,
11,
13397,
11,
1432,
7094,
11,
15887,
28165,
11,
7994,
5308,
16034,
18987,
33411,
13397,
34178,
705,
4,
53,
346,
77,
3754,
4,
6,
38678,
11050,
1432,
7094,
22196,
34
] |
Which Scores by each individual judge has a Date performed of august 7, and a Main contestant of karanvir bohra? | SELECT "Scores by each individual judge" FROM table_58966 WHERE "Date performed" = 'august 7' AND "Main contestant" = 'karanvir bohra' | [
13828,
44654,
416,
1123,
1981,
5052,
468,
257,
7536,
6157,
286,
16339,
436,
767,
11,
290,
257,
8774,
44047,
286,
479,
19173,
37040,
275,
1219,
430,
30,
46506,
366,
3351,
2850,
416,
1123,
1981,
5052,
1,
16034,
3084,
62,
44169,
2791,
33... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
44654,
416,
1123,
1981,
5052,
468,
257,
7536,
6157,
286,
16339,
436,
767,
11,
290,
257,
8774,
44047,
286,
479,
19173,
37040,
275,
1219,
430,
30,
46506,
366,
3351,
2850,
416,
1123,
1981,
5052,
1,
16034,
3084,
62,
44169,
2791,
33... |
Visualize a bar chart about the distribution of ACC_Regular_Season and School_ID , list x axis from low to high order. | SELECT ACC_Regular_Season, School_ID FROM basketball_match ORDER BY ACC_Regular_Season | [
36259,
1096,
257,
2318,
8262,
546,
262,
6082,
286,
15859,
62,
40164,
62,
18960,
290,
3961,
62,
2389,
837,
1351,
2124,
16488,
422,
1877,
284,
1029,
1502,
13,
46506,
15859,
62,
40164,
62,
18960,
11,
3961,
62,
2389,
16034,
9669,
62,
1569... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
36259,
1096,
257,
2318,
8262,
546,
262,
6082,
286,
15859,
62,
40164,
62,
18960,
290,
3961,
62,
2389,
837,
1351,
2124,
16488,
422,
1877,
284,
1029,
1502,
13,
46506,
15859,
62,
40164,
62,
18960,
11,
3961,
62,
2389,
16034,
9669,
62,
1569... |
What is the venue of the game that was played on 23 October 1966? | SELECT "Venue" FROM table_9535 WHERE "Date" = '23 october 1966' | [
2061,
318,
262,
14359,
286,
262,
983,
326,
373,
2826,
319,
2242,
3267,
19322,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
3865,
2327,
33411,
366,
10430,
1,
796,
705,
1954,
19318,
2023,
19322,
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
] | [
2061,
318,
262,
14359,
286,
262,
983,
326,
373,
2826,
319,
2242,
3267,
19322,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
3865,
2327,
33411,
366,
10430,
1,
796,
705,
1954,
19318,
2023,
19322,
6
] |
calculate the number of patients with bleed esoph var other disease who were treated with main drug | 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 = "Bleed esoph var oth dis" AND prescriptions.drug_type = "MAIN" | [
9948,
3129,
378,
262,
1271,
286,
3871,
351,
30182,
1658,
2522,
1401,
584,
4369,
508,
547,
5716,
351,
1388,
2563,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
3871,
351,
30182,
1658,
2522,
1401,
584,
4369,
508,
547,
5716,
351,
1388,
2563,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
... |
how many hours is it from the first time that patient 006-172277 has received a procedure in the current hospital encounter? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', treatment.treatmenttime)) FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-17227... | [
4919,
867,
2250,
318,
340,
422,
262,
717,
640,
326,
5827,
3571,
21,
12,
1558,
1828,
3324,
468,
2722,
257,
8771,
287,
262,
1459,
4436,
8791,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
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... | [
4919,
867,
2250,
318,
340,
422,
262,
717,
640,
326,
5827,
3571,
21,
12,
1558,
1828,
3324,
468,
2722,
257,
8771,
287,
262,
1459,
4436,
8791,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
2... |
What is the status of the pterosaur named Cathayopterus? | SELECT status FROM table_name_40 WHERE name = "cathayopterus" | [
2061,
318,
262,
3722,
286,
262,
279,
353,
418,
2899,
3706,
6250,
323,
32563,
385,
30,
46506,
3722,
16034,
3084,
62,
3672,
62,
1821,
33411,
1438,
796,
366,
66,
776,
323,
32563,
385,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3722,
286,
262,
279,
353,
418,
2899,
3706,
6250,
323,
32563,
385,
30,
46506,
3722,
16034,
3084,
62,
3672,
62,
1821,
33411,
1438,
796,
366,
66,
776,
323,
32563,
385,
1
] |
provide the number of patients whose ethnicity is hispanic or latino and lab test name is cd34? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.ethnicity = "HISPANIC OR LATINO" AND lab.label = "CD34" | [
15234,
485,
262,
1271,
286,
3871,
3025,
26289,
318,
465,
35843,
393,
3042,
2879,
290,
2248,
1332,
1438,
318,
22927,
2682,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26289,
318,
465,
35843,
393,
3042,
2879,
290,
2248,
1332,
1438,
318,
22927,
2682,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... |
Users with at least number of downvotes on a site. | SELECT Id AS "user_link", DownVotes FROM Users WHERE DownVotes >= '##minvotes##' AND Id > -1 ORDER BY DownVotes DESC | [
14490,
351,
379,
1551,
1271,
286,
866,
29307,
319,
257,
2524,
13,
46506,
5121,
7054,
366,
7220,
62,
8726,
1600,
5588,
53,
6421,
16034,
18987,
33411,
5588,
53,
6421,
18189,
705,
2235,
1084,
29307,
2235,
6,
5357,
5121,
1875,
532,
16,
38... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
14490,
351,
379,
1551,
1271,
286,
866,
29307,
319,
257,
2524,
13,
46506,
5121,
7054,
366,
7220,
62,
8726,
1600,
5588,
53,
6421,
16034,
18987,
33411,
5588,
53,
6421,
18189,
705,
2235,
1084,
29307,
2235,
6,
5357,
5121,
1875,
532,
16,
38... |
When playing on grass who was the opponents in a year greater than 1993, and playing with Jonas Bj rkman? | SELECT "Opponents" FROM table_41617 WHERE "Surface" = 'grass' AND "Year" > '1993' AND "Partner" = 'jonas björkman' | [
2215,
2712,
319,
8701,
508,
373,
262,
7691,
287,
257,
614,
3744,
621,
9656,
11,
290,
2712,
351,
40458,
34254,
374,
74,
805,
30,
46506,
366,
27524,
3906,
1,
16034,
3084,
62,
35218,
1558,
33411,
366,
14214,
2550,
1,
796,
705,
29815,
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... | [
2215,
2712,
319,
8701,
508,
373,
262,
7691,
287,
257,
614,
3744,
621,
9656,
11,
290,
2712,
351,
40458,
34254,
374,
74,
805,
30,
46506,
366,
27524,
3906,
1,
16034,
3084,
62,
35218,
1558,
33411,
366,
14214,
2550,
1,
796,
705,
29815,
6... |
What is the end (UTC) if the duration is 6 hours, 55 minutes? | SELECT end__utc_ FROM table_22385461_8 WHERE duration = "6 hours, 55 minutes" | [
2061,
318,
262,
886,
357,
17429,
8,
611,
262,
9478,
318,
718,
2250,
11,
5996,
2431,
30,
46506,
886,
834,
315,
66,
62,
16034,
3084,
62,
1828,
27203,
40652,
62,
23,
33411,
9478,
796,
366,
21,
2250,
11,
5996,
2431,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
886,
357,
17429,
8,
611,
262,
9478,
318,
718,
2250,
11,
5996,
2431,
30,
46506,
886,
834,
315,
66,
62,
16034,
3084,
62,
1828,
27203,
40652,
62,
23,
33411,
9478,
796,
366,
21,
2250,
11,
5996,
2431,
1
] |
What is the M60A3 that has 40 rounds as Leclerc? | SELECT m60a3_patton FROM table_name_28 WHERE leclerc = "40 rounds" | [
2061,
318,
262,
337,
1899,
32,
18,
326,
468,
2319,
9196,
355,
1004,
565,
2798,
30,
46506,
285,
1899,
64,
18,
62,
79,
38680,
16034,
3084,
62,
3672,
62,
2078,
33411,
443,
565,
2798,
796,
366,
1821,
9196,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
337,
1899,
32,
18,
326,
468,
2319,
9196,
355,
1004,
565,
2798,
30,
46506,
285,
1899,
64,
18,
62,
79,
38680,
16034,
3084,
62,
3672,
62,
2078,
33411,
443,
565,
2798,
796,
366,
1821,
9196,
1
] |
What is the coverage when power kw is 25kw? | SELECT coverage FROM table_23915973_1 WHERE power_kw = "25kW" | [
2061,
318,
262,
5197,
618,
1176,
479,
86,
318,
1679,
46265,
30,
46506,
5197,
16034,
3084,
62,
23516,
19707,
4790,
62,
16,
33411,
1176,
62,
46265,
796,
366,
1495,
74,
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
] | [
2061,
318,
262,
5197,
618,
1176,
479,
86,
318,
1679,
46265,
30,
46506,
5197,
16034,
3084,
62,
23516,
19707,
4790,
62,
16,
33411,
1176,
62,
46265,
796,
366,
1495,
74,
54,
1
] |
Show the name of each county along with the corresponding number of delegates from that county. | SELECT T1.county_name, COUNT(*) FROM county AS T1 JOIN election AS T2 ON T1.county_id = T2.district GROUP BY T1.county_id | [
15307,
262,
1438,
286,
1123,
7968,
1863,
351,
262,
11188,
1271,
286,
15265,
422,
326,
7968,
13,
46506,
309,
16,
13,
9127,
88,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
7968,
7054,
309,
16,
32357,
1268,
3071,
7054,
309,
17,
6177,
30... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
262,
1438,
286,
1123,
7968,
1863,
351,
262,
11188,
1271,
286,
15265,
422,
326,
7968,
13,
46506,
309,
16,
13,
9127,
88,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
7968,
7054,
309,
16,
32357,
1268,
3071,
7054,
309,
17,
6177,
30... |
What is the away team's score at brunswick street oval? | SELECT away_team AS score FROM table_name_80 WHERE venue = "brunswick street oval" | [
2061,
318,
262,
1497,
1074,
338,
4776,
379,
45033,
30961,
4675,
41186,
30,
46506,
1497,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
1795,
33411,
14359,
796,
366,
1671,
403,
30961,
4675,
41186,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1497,
1074,
338,
4776,
379,
45033,
30961,
4675,
41186,
30,
46506,
1497,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
1795,
33411,
14359,
796,
366,
1671,
403,
30961,
4675,
41186,
1
] |
How many school/club teams have a player named Manuel Luis Quezon? | SELECT COUNT("Number") FROM table_20093 WHERE "School/Club Team" = 'Manuel Luis Quezon' | [
2437,
867,
1524,
14,
18664,
3466,
423,
257,
2137,
3706,
25995,
20894,
4670,
26361,
30,
46506,
327,
28270,
7203,
15057,
4943,
16034,
3084,
62,
2167,
6052,
33411,
366,
26130,
14,
42350,
4816,
1,
796,
705,
5124,
2731,
20894,
4670,
26361,
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
] | [
2437,
867,
1524,
14,
18664,
3466,
423,
257,
2137,
3706,
25995,
20894,
4670,
26361,
30,
46506,
327,
28270,
7203,
15057,
4943,
16034,
3084,
62,
2167,
6052,
33411,
366,
26130,
14,
42350,
4816,
1,
796,
705,
5124,
2731,
20894,
4670,
26361,
6... |
What is the latest year that shadow racing team scored more than 0 points? | SELECT MAX("Year") FROM table_68887 WHERE "Entrant" = 'shadow racing team' AND "Pts." > '0' | [
2061,
318,
262,
3452,
614,
326,
9082,
11717,
1074,
7781,
517,
621,
657,
2173,
30,
46506,
25882,
7203,
17688,
4943,
16034,
3084,
62,
3104,
46660,
33411,
366,
14539,
5250,
1,
796,
705,
19106,
11717,
1074,
6,
5357,
366,
47,
912,
526,
187... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3452,
614,
326,
9082,
11717,
1074,
7781,
517,
621,
657,
2173,
30,
46506,
25882,
7203,
17688,
4943,
16034,
3084,
62,
3104,
46660,
33411,
366,
14539,
5250,
1,
796,
705,
19106,
11717,
1074,
6,
5357,
366,
47,
912,
526,
187... |
clinical dementia rating ( cdr ) >= 0.5 | SELECT * FROM table_train_74 WHERE clinical_dementia_rating_cdr >= 0.5 | [
47367,
27886,
7955,
357,
269,
7109,
1267,
18189,
657,
13,
20,
46506,
1635,
16034,
3084,
62,
27432,
62,
4524,
33411,
8668,
62,
67,
972,
544,
62,
8821,
62,
66,
7109,
18189,
657,
13,
20
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
47367,
27886,
7955,
357,
269,
7109,
1267,
18189,
657,
13,
20,
46506,
1635,
16034,
3084,
62,
27432,
62,
4524,
33411,
8668,
62,
67,
972,
544,
62,
8821,
62,
66,
7109,
18189,
657,
13,
20
] |
What is Winning Score, when Date is 17 Jan 2010? | SELECT "Winning score" FROM table_40226 WHERE "Date" = '17 jan 2010' | [
2061,
318,
40983,
15178,
11,
618,
7536,
318,
1596,
2365,
3050,
30,
46506,
366,
16643,
768,
4776,
1,
16034,
3084,
62,
1821,
24909,
33411,
366,
10430,
1,
796,
705,
1558,
42897,
3050,
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
] | [
2061,
318,
40983,
15178,
11,
618,
7536,
318,
1596,
2365,
3050,
30,
46506,
366,
16643,
768,
4776,
1,
16034,
3084,
62,
1821,
24909,
33411,
366,
10430,
1,
796,
705,
1558,
42897,
3050,
6
] |
What is Average Year, when Round is R128 (First Round)? | SELECT AVG(year) FROM table_name_46 WHERE round = "r128 (first round)" | [
2061,
318,
13475,
6280,
11,
618,
10485,
318,
371,
12762,
357,
5962,
10485,
19427,
46506,
35224,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
3510,
33411,
2835,
796,
366,
81,
12762,
357,
11085,
2835,
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
] | [
2061,
318,
13475,
6280,
11,
618,
10485,
318,
371,
12762,
357,
5962,
10485,
19427,
46506,
35224,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
3510,
33411,
2835,
796,
366,
81,
12762,
357,
11085,
2835,
16725
] |
How many reasons were given when A. Willis Robertson (D) resigned? | SELECT COUNT(reason_for_change) FROM table_1847180_3 WHERE vacator = "A. Willis Robertson (D)" | [
2437,
867,
3840,
547,
1813,
618,
317,
13,
32748,
23590,
357,
35,
8,
16542,
30,
46506,
327,
28270,
7,
41181,
62,
1640,
62,
3803,
8,
16034,
3084,
62,
1507,
2857,
15259,
62,
18,
33411,
6658,
1352,
796,
366,
32,
13,
32748,
23590,
357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3840,
547,
1813,
618,
317,
13,
32748,
23590,
357,
35,
8,
16542,
30,
46506,
327,
28270,
7,
41181,
62,
1640,
62,
3803,
8,
16034,
3084,
62,
1507,
2857,
15259,
62,
18,
33411,
6658,
1352,
796,
366,
32,
13,
32748,
23590,
357,
... |
What are the different statement ids on accounts, and the number of accounts for each? | SELECT statement_id, COUNT(*) FROM accounts GROUP BY statement_id | [
2061,
389,
262,
1180,
2643,
220,
2340,
319,
5504,
11,
290,
262,
1271,
286,
5504,
329,
1123,
30,
46506,
2643,
62,
312,
11,
327,
28270,
7,
28104,
16034,
5504,
44441,
11050,
2643,
62,
312
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
262,
1180,
2643,
220,
2340,
319,
5504,
11,
290,
262,
1271,
286,
5504,
329,
1123,
30,
46506,
2643,
62,
312,
11,
327,
28270,
7,
28104,
16034,
5504,
44441,
11050,
2643,
62,
312
] |
Days to Close a Question by Creation Month. | SELECT date1, AVG(diff1) AS cnt FROM (SELECT DATEDIFF(day, d.CreationDate, ClosedDate) AS "diff1", FORMAT(d.CreationDate, 'yy-MM') AS "date1", FORMAT(d.ClosedDate, 'yy-MM') AS "date2", (d.Id) AS id FROM Posts AS d LEFT JOIN PostHistory AS ph ON ph.PostId = d.Id LEFT JOIN PostLinks AS pl ON pl.PostId = d.Id LEFT JOIN Po... | [
38770,
284,
13872,
257,
18233,
416,
21582,
16061,
13,
46506,
3128,
16,
11,
35224,
7,
26069,
16,
8,
7054,
269,
429,
16034,
357,
46506,
360,
11617,
29267,
7,
820,
11,
288,
13,
12443,
341,
10430,
11,
30550,
10430,
8,
7054,
366,
26069,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
38770,
284,
13872,
257,
18233,
416,
21582,
16061,
13,
46506,
3128,
16,
11,
35224,
7,
26069,
16,
8,
7054,
269,
429,
16034,
357,
46506,
360,
11617,
29267,
7,
820,
11,
288,
13,
12443,
341,
10430,
11,
30550,
10430,
8,
7054,
366,
26069,
... |
how many government health insurance patients are male? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "M" AND demographic.insurance = "Government" | [
4919,
867,
1230,
1535,
5096,
3871,
389,
4257,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
44,
1,
5357,
16728,
13,
1040,
3874,
796,
366,
28848,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1230,
1535,
5096,
3871,
389,
4257,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
44,
1,
5357,
16728,
13,
1040,
3874,
796,
366,
28848,
1
] |
What courses are offered this Fall ? | SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND semester.semester = 'Fall' AND semester.semester_id = course_offering.semester AND semester.year = 2016 | [
2061,
10902,
389,
4438,
428,
7218,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
13,
17319,
62,
312,
796,
1781,
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... | [
2061,
10902,
389,
4438,
428,
7218,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
13,
17319,
62,
312,
796,
1781,
62,
... |
What is the status of bleeding time for thrombocytopenia? | SELECT "Bleeding time" FROM table_23756 WHERE "Condition" = 'Thrombocytopenia' | [
2061,
318,
262,
3722,
286,
16832,
640,
329,
294,
398,
65,
13733,
4852,
268,
544,
30,
46506,
366,
43413,
8228,
640,
1,
16034,
3084,
62,
1954,
38219,
33411,
366,
48362,
1,
796,
705,
817,
398,
65,
13733,
4852,
268,
544,
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,
3722,
286,
16832,
640,
329,
294,
398,
65,
13733,
4852,
268,
544,
30,
46506,
366,
43413,
8228,
640,
1,
16034,
3084,
62,
1954,
38219,
33411,
366,
48362,
1,
796,
705,
817,
398,
65,
13733,
4852,
268,
544,
6
] |
which player is from ireland ? | SELECT "name" FROM table_204_401 WHERE "nationality" = 'ireland' | [
4758,
2137,
318,
422,
35918,
1044,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
21844,
33411,
366,
14648,
414,
1,
796,
705,
557,
1044,
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
] | [
4758,
2137,
318,
422,
35918,
1044,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
21844,
33411,
366,
14648,
414,
1,
796,
705,
557,
1044,
6
] |
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of headquarter and the sum of manufacturer , and group by attribute headquarter, and display Headquarter from high to low order please. | SELECT Headquarter, SUM(Manufacturer) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY Headquarter DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1182,
24385,
290,
262,
2160,
286,
11554,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
290,
3359,
7123,
24385,
422,
1029,
284... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1182,
24385,
290,
262,
2160,
286,
11554,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
290,
3359,
7123,
24385,
422,
1029,
284... |
How many points did the ATS Wheels entrant with an ATS D2 chassis have? | SELECT points FROM table_name_14 WHERE entrant = "ats wheels" AND chassis = "ats d2" | [
2437,
867,
2173,
750,
262,
317,
4694,
37416,
920,
5250,
351,
281,
317,
4694,
360,
17,
24587,
423,
30,
46506,
2173,
16034,
3084,
62,
3672,
62,
1415,
33411,
920,
5250,
796,
366,
1381,
13666,
1,
5357,
24587,
796,
366,
1381,
288,
17,
1
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
317,
4694,
37416,
920,
5250,
351,
281,
317,
4694,
360,
17,
24587,
423,
30,
46506,
2173,
16034,
3084,
62,
3672,
62,
1415,
33411,
920,
5250,
796,
366,
1381,
13666,
1,
5357,
24587,
796,
366,
1381,
288,
17,
1
... |
what was the score of bert yancey | SELECT "Score" FROM table_37614 WHERE "Player" = 'bert yancey' | [
10919,
373,
262,
4776,
286,
275,
861,
331,
590,
88,
46506,
366,
26595,
1,
16034,
3084,
62,
32128,
1415,
33411,
366,
14140,
1,
796,
705,
4835,
331,
590,
88,
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
] | [
10919,
373,
262,
4776,
286,
275,
861,
331,
590,
88,
46506,
366,
26595,
1,
16034,
3084,
62,
32128,
1415,
33411,
366,
14140,
1,
796,
705,
4835,
331,
590,
88,
6
] |
What was the highest number of touchdowns by a player? | SELECT MAX(touchdowns) FROM table_25647137_2 | [
2061,
373,
262,
4511,
1271,
286,
17692,
416,
257,
2137,
30,
46506,
25882,
7,
29332,
30371,
8,
16034,
3084,
62,
1495,
33981,
19708,
62,
17
] | [
1,
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,
4511,
1271,
286,
17692,
416,
257,
2137,
30,
46506,
25882,
7,
29332,
30371,
8,
16034,
3084,
62,
1495,
33981,
19708,
62,
17
] |
How many division titles are there when the win pc is .558? | SELECT "Division titles" FROM table_23008 WHERE "Win Pct." = '.558' | [
2437,
867,
7297,
8714,
389,
612,
618,
262,
1592,
40653,
318,
764,
40486,
30,
46506,
366,
24095,
1166,
8714,
1,
16034,
3084,
62,
1954,
25257,
33411,
366,
16643,
350,
310,
526,
796,
45302,
40486,
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
] | [
2437,
867,
7297,
8714,
389,
612,
618,
262,
1592,
40653,
318,
764,
40486,
30,
46506,
366,
24095,
1166,
8714,
1,
16034,
3084,
62,
1954,
25257,
33411,
366,
16643,
350,
310,
526,
796,
45302,
40486,
6
] |
What is Matches, when Draws is 'Did Not Qualify', and when Year is '1995'? | SELECT matches FROM table_name_75 WHERE draws = "did not qualify" AND year = "1995" | [
2061,
318,
6550,
2052,
11,
618,
15315,
82,
318,
705,
11633,
1892,
9537,
1958,
3256,
290,
618,
6280,
318,
705,
21908,
30960,
46506,
7466,
16034,
3084,
62,
3672,
62,
2425,
33411,
14293,
796,
366,
20839,
407,
12780,
1,
5357,
614,
796,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
6550,
2052,
11,
618,
15315,
82,
318,
705,
11633,
1892,
9537,
1958,
3256,
290,
618,
6280,
318,
705,
21908,
30960,
46506,
7466,
16034,
3084,
62,
3672,
62,
2425,
33411,
14293,
796,
366,
20839,
407,
12780,
1,
5357,
614,
796,
36... |
How many of the Asian patients were admitted before the year 2111? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "ASIAN" AND demographic.admityear < "2111" | [
2437,
867,
286,
262,
7740,
3871,
547,
6848,
878,
262,
614,
362,
16243,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
1921,
16868,
1,
5357,
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
] | [
2437,
867,
286,
262,
7740,
3871,
547,
6848,
878,
262,
614,
362,
16243,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
1921,
16868,
1,
5357,
16728,
... |
I want the country for score of 274 and runner-up of virginie lagoutte-cl ment | SELECT country FROM table_name_93 WHERE score = "274" AND runner_s__up = "virginie lagoutte-clément" | [
40,
765,
262,
1499,
329,
4776,
286,
39768,
290,
17490,
12,
929,
286,
21772,
494,
19470,
448,
660,
12,
565,
6229,
46506,
1499,
16034,
3084,
62,
3672,
62,
6052,
33411,
4776,
796,
366,
28857,
1,
5357,
17490,
62,
82,
834,
929,
796,
366,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
1499,
329,
4776,
286,
39768,
290,
17490,
12,
929,
286,
21772,
494,
19470,
448,
660,
12,
565,
6229,
46506,
1499,
16034,
3084,
62,
3672,
62,
6052,
33411,
4776,
796,
366,
28857,
1,
5357,
17490,
62,
82,
834,
929,
796,
366,... |
how many tournaments were in 1967 ? | SELECT COUNT("tournament") FROM table_204_621 WHERE "date" = 1967 | [
4919,
867,
18130,
547,
287,
15904,
5633,
46506,
327,
28270,
7203,
83,
5138,
4943,
16034,
3084,
62,
18638,
62,
21,
2481,
33411,
366,
4475,
1,
796,
15904
] | [
1,
1,
1,
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,
18130,
547,
287,
15904,
5633,
46506,
327,
28270,
7203,
83,
5138,
4943,
16034,
3084,
62,
18638,
62,
21,
2481,
33411,
366,
4475,
1,
796,
15904
] |
What location did david mccann receive a siver and morgan fox win the gold? | SELECT location FROM table_name_38 WHERE silver = "david mccann" AND gold = "morgan fox" | [
2061,
4067,
750,
21970,
285,
535,
1236,
3328,
257,
264,
1428,
290,
2146,
1030,
21831,
1592,
262,
3869,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
2548,
33411,
8465,
796,
366,
67,
8490,
285,
535,
1236,
1,
5357,
3869,
796,
366,
4491,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4067,
750,
21970,
285,
535,
1236,
3328,
257,
264,
1428,
290,
2146,
1030,
21831,
1592,
262,
3869,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
2548,
33411,
8465,
796,
366,
67,
8490,
285,
535,
1236,
1,
5357,
3869,
796,
366,
4491,
... |
which game had the most attendance ? | SELECT "#" FROM table_203_344 ORDER BY "attendance" DESC LIMIT 1 | [
4758,
983,
550,
262,
749,
14858,
5633,
46506,
25113,
1,
16034,
3084,
62,
22416,
62,
33535,
38678,
11050,
366,
1078,
437,
590,
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
] | [
4758,
983,
550,
262,
749,
14858,
5633,
46506,
25113,
1,
16034,
3084,
62,
22416,
62,
33535,
38678,
11050,
366,
1078,
437,
590,
1,
22196,
34,
27564,
2043,
352
] |
What is every entry for 1982-83 for rank 1? | SELECT "1982-83" FROM table_25168 WHERE "Rank" = '1' | [
2061,
318,
790,
5726,
329,
14489,
12,
5999,
329,
4279,
352,
30,
46506,
366,
30763,
12,
5999,
1,
16034,
3084,
62,
1495,
14656,
33411,
366,
27520,
1,
796,
705,
16,
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
] | [
2061,
318,
790,
5726,
329,
14489,
12,
5999,
329,
4279,
352,
30,
46506,
366,
30763,
12,
5999,
1,
16034,
3084,
62,
1495,
14656,
33411,
366,
27520,
1,
796,
705,
16,
6
] |
How many different skippers of the yacht City Index Leopard? | SELECT COUNT(skipper) FROM table_14882588_2 WHERE yacht = "City Index Leopard" | [
2437,
867,
1180,
1341,
16415,
286,
262,
43207,
2254,
12901,
49072,
30,
46506,
327,
28270,
7,
20545,
2848,
8,
16034,
3084,
62,
1415,
3459,
1495,
3459,
62,
17,
33411,
43207,
796,
366,
14941,
12901,
49072,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1180,
1341,
16415,
286,
262,
43207,
2254,
12901,
49072,
30,
46506,
327,
28270,
7,
20545,
2848,
8,
16034,
3084,
62,
1415,
3459,
1495,
3459,
62,
17,
33411,
43207,
796,
366,
14941,
12901,
49072,
1
] |
Who was the deceased spouse who was married for 4 years? | SELECT deceased_spouse FROM table_24143253_5 WHERE length_of_marriage = "4 years" | [
8241,
373,
262,
20117,
16731,
508,
373,
6405,
329,
604,
812,
30,
46506,
20117,
62,
2777,
1076,
16034,
3084,
62,
1731,
21139,
28592,
62,
20,
33411,
4129,
62,
1659,
62,
45394,
796,
366,
19,
812,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
20117,
16731,
508,
373,
6405,
329,
604,
812,
30,
46506,
20117,
62,
2777,
1076,
16034,
3084,
62,
1731,
21139,
28592,
62,
20,
33411,
4129,
62,
1659,
62,
45394,
796,
366,
19,
812,
1
] |
Find the number of users in each role. Plot them as bar chart. | SELECT role_code, COUNT(*) FROM Users GROUP BY role_code | [
16742,
262,
1271,
286,
2985,
287,
1123,
2597,
13,
28114,
606,
355,
2318,
8262,
13,
46506,
2597,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
18987,
44441,
11050,
2597,
62,
8189
] | [
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
2985,
287,
1123,
2597,
13,
28114,
606,
355,
2318,
8262,
13,
46506,
2597,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
18987,
44441,
11050,
2597,
62,
8189
] |
Which Builder has a Works Number of 16272? | SELECT "Builder" FROM table_58107 WHERE "Works number" = '16272' | [
13828,
35869,
468,
257,
10933,
7913,
286,
1467,
29807,
30,
46506,
366,
32875,
1,
16034,
3084,
62,
3365,
15982,
33411,
366,
23044,
1271,
1,
796,
705,
1433,
29807,
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
] | [
13828,
35869,
468,
257,
10933,
7913,
286,
1467,
29807,
30,
46506,
366,
32875,
1,
16034,
3084,
62,
3365,
15982,
33411,
366,
23044,
1271,
1,
796,
705,
1433,
29807,
6
] |
what swimmer had the top or first rank ? | SELECT "swimmer" FROM table_204_886 WHERE "rank" = 1 | [
10919,
9422,
647,
550,
262,
1353,
393,
717,
4279,
5633,
46506,
366,
2032,
10957,
1,
16034,
3084,
62,
18638,
62,
44980,
33411,
366,
43027,
1,
796,
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
] | [
10919,
9422,
647,
550,
262,
1353,
393,
717,
4279,
5633,
46506,
366,
2032,
10957,
1,
16034,
3084,
62,
18638,
62,
44980,
33411,
366,
43027,
1,
796,
352
] |
Find the name of the campuses opened before 1800. | SELECT campus FROM campuses WHERE YEAR < 1800 | [
16742,
262,
1438,
286,
262,
23003,
4721,
878,
21431,
13,
46506,
7611,
16034,
23003,
33411,
32914,
1279,
21431
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
1438,
286,
262,
23003,
4721,
878,
21431,
13,
46506,
7611,
16034,
23003,
33411,
32914,
1279,
21431
] |
How many contestants where from mitteldeutschland? | SELECT COUNT("Age") FROM table_26122 WHERE "Represent" = 'Mitteldeutschland' | [
2437,
867,
37851,
810,
422,
285,
2654,
35209,
40768,
1044,
30,
46506,
327,
28270,
7203,
23396,
4943,
16034,
3084,
62,
2075,
18376,
33411,
366,
40171,
1,
796,
705,
44,
2654,
35209,
40768,
1044,
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
] | [
2437,
867,
37851,
810,
422,
285,
2654,
35209,
40768,
1044,
30,
46506,
327,
28270,
7203,
23396,
4943,
16034,
3084,
62,
2075,
18376,
33411,
366,
40171,
1,
796,
705,
44,
2654,
35209,
40768,
1044,
6
] |
What year was Jennifer Tilly's Film of Bullets Over Broadway up in the best supporting actress category? | SELECT year FROM table_name_80 WHERE film = "bullets over broadway" AND category = "best supporting actress" AND actor = "jennifer tilly" | [
2061,
614,
373,
16348,
309,
6548,
338,
13741,
286,
39984,
3827,
20617,
510,
287,
262,
1266,
6493,
14549,
6536,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
1795,
33411,
2646,
796,
366,
15065,
5289,
625,
3154,
1014,
1,
5357,
6536,
796,
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
] | [
2061,
614,
373,
16348,
309,
6548,
338,
13741,
286,
39984,
3827,
20617,
510,
287,
262,
1266,
6493,
14549,
6536,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
1795,
33411,
2646,
796,
366,
15065,
5289,
625,
3154,
1014,
1,
5357,
6536,
796,
3... |
when was the last time during their first hospital encounter that patient 17608 was prescribed a drug via subcut? | SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 17608 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) AND prescriptions.route = 'subcut' ORDER BY prescriptions.startdate DESC LIMIT 1 | [
12518,
373,
262,
938,
640,
1141,
511,
717,
4436,
8791,
326,
5827,
1596,
28688,
373,
14798,
257,
2563,
2884,
850,
8968,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
373,
262,
938,
640,
1141,
511,
717,
4436,
8791,
326,
5827,
1596,
28688,
373,
14798,
257,
2563,
2884,
850,
8968,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
... |
What was released on 1936-08-29? | SELECT "Title" FROM table_63755 WHERE "Release date" = '1936-08-29' | [
2061,
373,
2716,
319,
27653,
12,
2919,
12,
1959,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
5066,
38172,
33411,
366,
26362,
3128,
1,
796,
705,
1129,
2623,
12,
2919,
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
] | [
2061,
373,
2716,
319,
27653,
12,
2919,
12,
1959,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
5066,
38172,
33411,
366,
26362,
3128,
1,
796,
705,
1129,
2623,
12,
2919,
12,
1959,
6
] |
What are the positions in the college of Alberta? | SELECT position FROM table_15817998_5 WHERE college = "Alberta" | [
2061,
389,
262,
6116,
287,
262,
4152,
286,
15555,
30,
46506,
2292,
16034,
3084,
62,
21273,
1558,
34808,
62,
20,
33411,
4152,
796,
366,
42590,
64,
1
] | [
1,
1,
1,
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,
389,
262,
6116,
287,
262,
4152,
286,
15555,
30,
46506,
2292,
16034,
3084,
62,
21273,
1558,
34808,
62,
20,
33411,
4152,
796,
366,
42590,
64,
1
] |
count the number of prescribed drugs patient 96774 has until 03/2104. | SELECT COUNT(*) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 96774) AND STRFTIME('%y-%m', prescriptions.startdate) <= '2104-03' | [
9127,
262,
1271,
286,
14798,
5010,
5827,
860,
3134,
4524,
468,
1566,
7643,
14,
17,
13464,
13,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
14798,
5010,
5827,
860,
3134,
4524,
468,
1566,
7643,
14,
17,
13464,
13,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
253... |
what is lab test fluid of subject id 6983? | SELECT lab.fluid FROM lab WHERE lab.subject_id = "6983" | [
10919,
318,
2248,
1332,
11711,
286,
2426,
4686,
39861,
18,
30,
46506,
2248,
13,
35522,
312,
16034,
2248,
33411,
2248,
13,
32796,
62,
312,
796,
366,
3388,
5999,
1
] | [
1,
1,
1,
1,
1,
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,
2248,
1332,
11711,
286,
2426,
4686,
39861,
18,
30,
46506,
2248,
13,
35522,
312,
16034,
2248,
33411,
2248,
13,
32796,
62,
312,
796,
366,
3388,
5999,
1
] |
How many Horsepowers have a Year smaller than 1974, and a Tonnage of 4437? | SELECT SUM("Horsepowers") FROM table_37546 WHERE "Year" < '1974' AND "Tonnage" = '4437' | [
2437,
867,
18455,
30132,
423,
257,
6280,
4833,
621,
16489,
11,
290,
257,
16859,
77,
496,
286,
5846,
2718,
30,
46506,
35683,
7203,
39,
7615,
30132,
4943,
16034,
3084,
62,
22318,
3510,
33411,
366,
17688,
1,
1279,
705,
40828,
6,
5357,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
18455,
30132,
423,
257,
6280,
4833,
621,
16489,
11,
290,
257,
16859,
77,
496,
286,
5846,
2718,
30,
46506,
35683,
7203,
39,
7615,
30132,
4943,
16034,
3084,
62,
22318,
3510,
33411,
366,
17688,
1,
1279,
705,
40828,
6,
5357,
36... |
Name the broadcast day and timings for tv saitama | SELECT "Broadcast day and timings (in JST )" FROM table_2414 WHERE "Broadcast network" = 'TV Saitama' | [
5376,
262,
7025,
1110,
290,
4628,
654,
329,
31557,
473,
270,
1689,
46506,
366,
30507,
2701,
1110,
290,
4628,
654,
357,
259,
449,
2257,
1267,
1,
16034,
3084,
62,
1731,
1415,
33411,
366,
30507,
2701,
3127,
1,
796,
705,
6849,
311,
4548,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7025,
1110,
290,
4628,
654,
329,
31557,
473,
270,
1689,
46506,
366,
30507,
2701,
1110,
290,
4628,
654,
357,
259,
449,
2257,
1267,
1,
16034,
3084,
62,
1731,
1415,
33411,
366,
30507,
2701,
3127,
1,
796,
705,
6849,
311,
4548,
... |
When did camilla dallerup finish? | SELECT finished FROM table_name_84 WHERE celebrity = "camilla dallerup" | [
2215,
750,
12172,
5049,
288,
439,
263,
929,
5461,
30,
46506,
5201,
16034,
3084,
62,
3672,
62,
5705,
33411,
16527,
796,
366,
20991,
5049,
288,
439,
263,
929,
1
] | [
1,
1,
1,
1,
1,
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,
750,
12172,
5049,
288,
439,
263,
929,
5461,
30,
46506,
5201,
16034,
3084,
62,
3672,
62,
5705,
33411,
16527,
796,
366,
20991,
5049,
288,
439,
263,
929,
1
] |
Which Reference has a Release date of 1996/10/10? | SELECT reference FROM table_name_92 WHERE release_date = "1996/10/10" | [
13828,
20984,
468,
257,
13868,
3128,
286,
8235,
14,
940,
14,
940,
30,
46506,
4941,
16034,
3084,
62,
3672,
62,
5892,
33411,
2650,
62,
4475,
796,
366,
22288,
14,
940,
14,
940,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
20984,
468,
257,
13868,
3128,
286,
8235,
14,
940,
14,
940,
30,
46506,
4941,
16034,
3084,
62,
3672,
62,
5892,
33411,
2650,
62,
4475,
796,
366,
22288,
14,
940,
14,
940,
1
] |
find the primary disease and lab test fluid of subject id 2560. | SELECT demographic.diagnosis, lab.fluid FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.subject_id = "2560" | [
19796,
262,
4165,
4369,
290,
2248,
1332,
11711,
286,
2426,
4686,
1679,
1899,
13,
46506,
16728,
13,
47356,
5958,
11,
2248,
13,
35522,
312,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
19796,
262,
4165,
4369,
290,
2248,
1332,
11711,
286,
2426,
4686,
1679,
1899,
13,
46506,
16728,
13,
47356,
5958,
11,
2248,
13,
35522,
312,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
... |
Where did the Lightning play the NY Rangers at 7:00 pm? | SELECT "Location" FROM table_46216 WHERE "Opponent" = 'ny rangers' AND "Time" = '7:00 pm' | [
8496,
750,
262,
12469,
711,
262,
6645,
13804,
379,
767,
25,
405,
9114,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
3510,
20666,
33411,
366,
27524,
3471,
1,
796,
705,
3281,
374,
6606,
6,
5357,
366,
7575,
1,
796,
705,
22,
25,
405,
91... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8496,
750,
262,
12469,
711,
262,
6645,
13804,
379,
767,
25,
405,
9114,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
3510,
20666,
33411,
366,
27524,
3471,
1,
796,
705,
3281,
374,
6606,
6,
5357,
366,
7575,
1,
796,
705,
22,
25,
405,
91... |
is there ground transportation from SAN DIEGO airport to the downtown area | SELECT DISTINCT ground_service.transport_type FROM city, ground_service WHERE city.city_name = 'SAN DIEGO' AND ground_service.city_code = city.city_code | [
271,
612,
2323,
9358,
422,
37376,
14766,
7156,
46,
9003,
284,
262,
9436,
1989,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
1748,
11,
2323,
62,
15271,
33411,
1748,
13,
19205,
62,
3672,
796,
705,
36753... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
271,
612,
2323,
9358,
422,
37376,
14766,
7156,
46,
9003,
284,
262,
9436,
1989,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
1748,
11,
2323,
62,
15271,
33411,
1748,
13,
19205,
62,
3672,
796,
705,
36753... |
Show the total number of the first year of parties with the theme 'Spring' or 'Teqnology' with a bar chart, and show by the the number of first year in ascending. | SELECT First_year, COUNT(First_year) FROM party WHERE Party_Theme = "Spring" OR Party_Theme = "Teqnology" GROUP BY First_year ORDER BY COUNT(First_year) | [
15307,
262,
2472,
1271,
286,
262,
717,
614,
286,
4671,
351,
262,
7505,
705,
30387,
6,
393,
705,
6767,
80,
77,
1435,
6,
351,
257,
2318,
8262,
11,
290,
905,
416,
262,
262,
1271,
286,
717,
614,
287,
41988,
13,
46506,
3274,
62,
1941,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
262,
2472,
1271,
286,
262,
717,
614,
286,
4671,
351,
262,
7505,
705,
30387,
6,
393,
705,
6767,
80,
77,
1435,
6,
351,
257,
2318,
8262,
11,
290,
905,
416,
262,
262,
1271,
286,
717,
614,
287,
41988,
13,
46506,
3274,
62,
1941,
... |
What is the Spanish word for cas [ kas]? | SELECT "Spanish" FROM table_28812 WHERE "Central" = 'cas [ˈkas]' | [
2061,
318,
262,
7897,
1573,
329,
6124,
685,
479,
292,
60,
30,
46506,
366,
43584,
1,
16034,
3084,
62,
25270,
1065,
33411,
366,
30645,
1,
796,
705,
34004,
685,
45990,
42749,
49946
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
7897,
1573,
329,
6124,
685,
479,
292,
60,
30,
46506,
366,
43584,
1,
16034,
3084,
62,
25270,
1065,
33411,
366,
30645,
1,
796,
705,
34004,
685,
45990,
42749,
49946
] |
What player was moved to Blackpool? | SELECT "Player" FROM table_39503 WHERE "To club" = 'blackpool' | [
2061,
2137,
373,
3888,
284,
2619,
7742,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
2670,
31938,
33411,
366,
2514,
3430,
1,
796,
705,
13424,
7742,
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,
2137,
373,
3888,
284,
2619,
7742,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
2670,
31938,
33411,
366,
2514,
3430,
1,
796,
705,
13424,
7742,
6
] |
Which team 1 has team 2, Gomera? | SELECT "Team 1" FROM table_42405 WHERE "Team 2" = 'gomera' | [
13828,
1074,
352,
468,
1074,
362,
11,
402,
296,
8607,
30,
46506,
366,
15592,
352,
1,
16034,
3084,
62,
40090,
2713,
33411,
366,
15592,
362,
1,
796,
705,
19120,
8607,
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
] | [
13828,
1074,
352,
468,
1074,
362,
11,
402,
296,
8607,
30,
46506,
366,
15592,
352,
1,
16034,
3084,
62,
40090,
2713,
33411,
366,
15592,
362,
1,
796,
705,
19120,
8607,
6
] |
Which CFL Team has a Position of dl? | SELECT "CFL Team" FROM table_10453 WHERE "Position" = 'dl' | [
13828,
45239,
4816,
468,
257,
23158,
286,
288,
75,
30,
46506,
366,
34,
3697,
4816,
1,
16034,
3084,
62,
940,
36625,
33411,
366,
26545,
1,
796,
705,
25404,
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
] | [
13828,
45239,
4816,
468,
257,
23158,
286,
288,
75,
30,
46506,
366,
34,
3697,
4816,
1,
16034,
3084,
62,
940,
36625,
33411,
366,
26545,
1,
796,
705,
25404,
6
] |
What is the total number of years that prof. aditya naraian purohit won? | SELECT COUNT(year) FROM table_name_76 WHERE name = "prof. aditya naraian purohit" | [
2061,
318,
262,
2472,
1271,
286,
812,
326,
1534,
13,
512,
414,
64,
299,
3301,
666,
279,
1434,
17945,
1839,
30,
46506,
327,
28270,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
4304,
33411,
1438,
796,
366,
5577,
13,
512,
414,
64,
299,
330... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
812,
326,
1534,
13,
512,
414,
64,
299,
3301,
666,
279,
1434,
17945,
1839,
30,
46506,
327,
28270,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
4304,
33411,
1438,
796,
366,
5577,
13,
512,
414,
64,
299,
330... |
What is the lowest par for Bobby Cruickshank? | SELECT MIN(to_par) FROM table_name_9 WHERE player = "bobby cruickshank" | [
2061,
318,
262,
9016,
1582,
329,
17155,
6472,
3378,
71,
962,
30,
46506,
20625,
7,
1462,
62,
1845,
8,
16034,
3084,
62,
3672,
62,
24,
33411,
2137,
796,
366,
65,
11369,
4630,
3378,
71,
962,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1582,
329,
17155,
6472,
3378,
71,
962,
30,
46506,
20625,
7,
1462,
62,
1845,
8,
16034,
3084,
62,
3672,
62,
24,
33411,
2137,
796,
366,
65,
11369,
4630,
3378,
71,
962,
1
] |
what is the date of death of patient name kelly gallardo? | SELECT demographic.dod FROM demographic WHERE demographic.name = "Kelly Gallardo" | [
10919,
318,
262,
3128,
286,
1918,
286,
5827,
1438,
885,
12810,
7976,
13109,
30,
46506,
16728,
13,
67,
375,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
34831,
7096,
13109,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
3128,
286,
1918,
286,
5827,
1438,
885,
12810,
7976,
13109,
30,
46506,
16728,
13,
67,
375,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
34831,
7096,
13109,
1
] |
What position does peter mcgeough cover? | SELECT position FROM table_2679061_12 WHERE player = "Peter McGeough" | [
2061,
2292,
857,
279,
2357,
36650,
469,
619,
3002,
30,
46506,
2292,
16034,
3084,
62,
2075,
3720,
3312,
16,
62,
1065,
33411,
2137,
796,
366,
19727,
1982,
10082,
619,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2292,
857,
279,
2357,
36650,
469,
619,
3002,
30,
46506,
2292,
16034,
3084,
62,
2075,
3720,
3312,
16,
62,
1065,
33411,
2137,
796,
366,
19727,
1982,
10082,
619,
1
] |
how many patients died in the same hospital visit after being diagnosed since 1 year ago with hypotension / pressor dependent? | SELECT COUNT(DISTINCT t2.uniquepid) FROM (SELECT t1.uniquepid, t1.diagnosistime, t1.patienthealthsystemstayid FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = ... | [
4919,
867,
3871,
3724,
287,
262,
976,
4436,
3187,
706,
852,
14641,
1201,
352,
614,
2084,
351,
8813,
3004,
1220,
1803,
273,
10795,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
17,
13,
403,
1557,
538,
312,
8,
16034,
357,
46506... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3871,
3724,
287,
262,
976,
4436,
3187,
706,
852,
14641,
1201,
352,
614,
2084,
351,
8813,
3004,
1220,
1803,
273,
10795,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
17,
13,
403,
1557,
538,
312,
8,
16034,
357,
46506... |
What is Left Office, when Took Office is 1998? | SELECT "Left Office" FROM table_76839 WHERE "Took Office" = '1998' | [
2061,
318,
9578,
4452,
11,
618,
309,
566,
4452,
318,
7795,
30,
46506,
366,
18819,
4452,
1,
16034,
3084,
62,
30610,
2670,
33411,
366,
51,
566,
4452,
1,
796,
705,
21113,
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,
318,
9578,
4452,
11,
618,
309,
566,
4452,
318,
7795,
30,
46506,
366,
18819,
4452,
1,
16034,
3084,
62,
30610,
2670,
33411,
366,
51,
566,
4452,
1,
796,
705,
21113,
6
] |
What is the lowest A Score when the B Score is 9.15, and total is 16.05? | SELECT MIN(a_score) FROM table_name_61 WHERE b_score = 9.15 AND total = 16.05 | [
2061,
318,
262,
9016,
317,
15178,
618,
262,
347,
15178,
318,
860,
13,
1314,
11,
290,
2472,
318,
1467,
13,
2713,
30,
46506,
20625,
7,
64,
62,
26675,
8,
16034,
3084,
62,
3672,
62,
5333,
33411,
275,
62,
26675,
796,
860,
13,
1314,
535... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
317,
15178,
618,
262,
347,
15178,
318,
860,
13,
1314,
11,
290,
2472,
318,
1467,
13,
2713,
30,
46506,
20625,
7,
64,
62,
26675,
8,
16034,
3084,
62,
3672,
62,
5333,
33411,
275,
62,
26675,
796,
860,
13,
1314,
535... |
What are the faculty id and the number of students each faculty has. | SELECT FacID, COUNT(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.Advisor GROUP BY T1.FacID | [
2061,
389,
262,
12829,
4686,
290,
262,
1271,
286,
2444,
1123,
12829,
468,
13,
46506,
13585,
2389,
11,
327,
28270,
7,
28104,
16034,
35262,
7054,
309,
16,
32357,
1268,
13613,
7054,
309,
17,
6177,
309,
16,
13,
47522,
2389,
796,
309,
17,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
262,
12829,
4686,
290,
262,
1271,
286,
2444,
1123,
12829,
468,
13,
46506,
13585,
2389,
11,
327,
28270,
7,
28104,
16034,
35262,
7054,
309,
16,
32357,
1268,
13613,
7054,
309,
17,
6177,
309,
16,
13,
47522,
2389,
796,
309,
17,
... |
What is the Weight of the player with a Block larger than 328, Spike greater than 375 and Height larger than 207? | SELECT COUNT("Weight") FROM table_6873 WHERE "Block" > '328' AND "Height" > '207' AND "Spike" > '375' | [
2061,
318,
262,
14331,
286,
262,
2137,
351,
257,
9726,
4025,
621,
39093,
11,
26309,
3744,
621,
29414,
290,
27280,
4025,
621,
27791,
30,
46506,
327,
28270,
7203,
25844,
4943,
16034,
3084,
62,
3104,
4790,
33411,
366,
12235,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
14331,
286,
262,
2137,
351,
257,
9726,
4025,
621,
39093,
11,
26309,
3744,
621,
29414,
290,
27280,
4025,
621,
27791,
30,
46506,
327,
28270,
7203,
25844,
4943,
16034,
3084,
62,
3104,
4790,
33411,
366,
12235,
1,
1875,
705,
... |
What is the poor law union on Marshalstown? | SELECT "Poor law union" FROM table_4113 WHERE "Townland" = 'Marshalstown' | [
2061,
318,
262,
3595,
1099,
6441,
319,
37899,
27928,
30,
46506,
366,
43920,
1099,
6441,
1,
16034,
3084,
62,
19,
16616,
33411,
366,
38097,
1044,
1,
796,
705,
41984,
282,
27928,
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,
318,
262,
3595,
1099,
6441,
319,
37899,
27928,
30,
46506,
366,
43920,
1099,
6441,
1,
16034,
3084,
62,
19,
16616,
33411,
366,
38097,
1044,
1,
796,
705,
41984,
282,
27928,
6
] |
List the number of the name of physicians who took some appointment, could you display X-axis in desc order please? | SELECT Name, COUNT(Name) FROM Appointment AS T1 JOIN Physician AS T2 ON T1.Physician = T2.EmployeeID GROUP BY Name ORDER BY Name DESC | [
8053,
262,
1271,
286,
262,
1438,
286,
17206,
508,
1718,
617,
12557,
11,
714,
345,
3359,
1395,
12,
22704,
287,
1715,
1502,
3387,
30,
46506,
6530,
11,
327,
28270,
7,
5376,
8,
16034,
2034,
49805,
7054,
309,
16,
32357,
1268,
8687,
6749,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8053,
262,
1271,
286,
262,
1438,
286,
17206,
508,
1718,
617,
12557,
11,
714,
345,
3359,
1395,
12,
22704,
287,
1715,
1502,
3387,
30,
46506,
6530,
11,
327,
28270,
7,
5376,
8,
16034,
2034,
49805,
7054,
309,
16,
32357,
1268,
8687,
6749,
... |
Which rank has a s wicket at 40 and 28.42 is the average? | SELECT "Rank" FROM table_44469 WHERE "s Wicket" = '40' AND "Average" = '28.42' | [
13828,
4279,
468,
257,
264,
266,
9715,
379,
2319,
290,
2579,
13,
3682,
318,
262,
2811,
30,
46506,
366,
27520,
1,
16034,
3084,
62,
30272,
3388,
33411,
366,
82,
370,
9715,
1,
796,
705,
1821,
6,
5357,
366,
26287,
1,
796,
705,
2078,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4279,
468,
257,
264,
266,
9715,
379,
2319,
290,
2579,
13,
3682,
318,
262,
2811,
30,
46506,
366,
27520,
1,
16034,
3084,
62,
30272,
3388,
33411,
366,
82,
370,
9715,
1,
796,
705,
1821,
6,
5357,
366,
26287,
1,
796,
705,
2078,
1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.