instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is the Pashto word for the Malayalam word vyazham? | SELECT "Pashto" FROM table_36504 WHERE "Malayalam" = 'വ്യാഴം vyazham' | [
2061,
318,
262,
350,
1077,
1462,
1573,
329,
262,
4434,
323,
44949,
1573,
410,
88,
1031,
2763,
30,
46506,
366,
47,
1077,
1462,
1,
16034,
3084,
62,
2623,
33580,
33411,
366,
15029,
323,
44949,
1,
796,
705,
156,
112,
113,
156,
113,
235,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
350,
1077,
1462,
1573,
329,
262,
4434,
323,
44949,
1573,
410,
88,
1031,
2763,
30,
46506,
366,
47,
1077,
1462,
1,
16034,
3084,
62,
2623,
33580,
33411,
366,
15029,
323,
44949,
1,
796,
705,
156,
112,
113,
156,
113,
235,... |
count the number of patients whose primary disease is pneumonia;human immunodefiency virus;rule out tuberculosis and year of death is less than or equal to 2173? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "PNEUMONIA;HUMAN IMMUNODEFIENCY VIRUS;RULE OUT TUBERCULOSIS" AND demographic.dod_year <= "2173.0" | [
9127,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
35647,
26,
10734,
16217,
375,
891,
6160,
9471,
26,
25135,
503,
44222,
290,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
24894,
18,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3871,
3025,
4165,
4369,
318,
35647,
26,
10734,
16217,
375,
891,
6160,
9471,
26,
25135,
503,
44222,
290,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
24894,
18,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
... |
how many goals did olle ahlund score ? | SELECT "goals" FROM table_203_692 WHERE "name" = 'olle ahlund' | [
4919,
867,
4661,
750,
25776,
293,
257,
18519,
917,
4776,
5633,
46506,
366,
2188,
874,
1,
16034,
3084,
62,
22416,
62,
46589,
33411,
366,
3672,
1,
796,
705,
349,
293,
257,
18519,
917,
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
] | [
4919,
867,
4661,
750,
25776,
293,
257,
18519,
917,
4776,
5633,
46506,
366,
2188,
874,
1,
16034,
3084,
62,
22416,
62,
46589,
33411,
366,
3672,
1,
796,
705,
349,
293,
257,
18519,
917,
6
] |
How many assets can each parts be used in? List the part name and the number. | SELECT T1.part_name, COUNT(*) FROM Parts AS T1 JOIN Asset_Parts AS T2 ON T1.part_id = T2.part_id GROUP BY T1.part_name | [
2437,
867,
6798,
460,
1123,
3354,
307,
973,
287,
30,
7343,
262,
636,
1438,
290,
262,
1271,
13,
46506,
309,
16,
13,
3911,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
22349,
7054,
309,
16,
32357,
1268,
31433,
62,
42670,
7054,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
6798,
460,
1123,
3354,
307,
973,
287,
30,
7343,
262,
636,
1438,
290,
262,
1271,
13,
46506,
309,
16,
13,
3911,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
22349,
7054,
309,
16,
32357,
1268,
31433,
62,
42670,
7054,
309,
17,
... |
What is the average number of goals for games played that total more than 8? | SELECT AVG(goals_for) FROM table_name_75 WHERE games_played > 8 | [
2061,
318,
262,
2811,
1271,
286,
4661,
329,
1830,
2826,
326,
2472,
517,
621,
807,
30,
46506,
35224,
7,
2188,
874,
62,
1640,
8,
16034,
3084,
62,
3672,
62,
2425,
33411,
1830,
62,
21542,
1875,
807
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
1271,
286,
4661,
329,
1830,
2826,
326,
2472,
517,
621,
807,
30,
46506,
35224,
7,
2188,
874,
62,
1640,
8,
16034,
3084,
62,
3672,
62,
2425,
33411,
1830,
62,
21542,
1875,
807
] |
Which box score has an Attendance of 54,773? | SELECT "Boxscore" FROM table_10463 WHERE "Attendance" = '54,773' | [
13828,
3091,
4776,
468,
281,
46502,
590,
286,
7175,
11,
46871,
30,
46506,
366,
14253,
26675,
1,
16034,
3084,
62,
940,
38380,
33411,
366,
8086,
437,
590,
1,
796,
705,
4051,
11,
46871,
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,
3091,
4776,
468,
281,
46502,
590,
286,
7175,
11,
46871,
30,
46506,
366,
14253,
26675,
1,
16034,
3084,
62,
940,
38380,
33411,
366,
8086,
437,
590,
1,
796,
705,
4051,
11,
46871,
6
] |
Which Arena has Points larger than 28, and a Date of december 14? | SELECT arena FROM table_name_2 WHERE points > 28 AND date = "december 14" | [
13828,
10937,
468,
11045,
4025,
621,
2579,
11,
290,
257,
7536,
286,
390,
3273,
1478,
30,
46506,
13478,
16034,
3084,
62,
3672,
62,
17,
33411,
2173,
1875,
2579,
5357,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
10937,
468,
11045,
4025,
621,
2579,
11,
290,
257,
7536,
286,
390,
3273,
1478,
30,
46506,
13478,
16034,
3084,
62,
3672,
62,
17,
33411,
2173,
1875,
2579,
5357,
3128,
796,
366,
2934,
3273,
1478,
1
] |
What torque does 1.9 diesel with 1905 cc have? | SELECT "Torque" FROM table_36521 WHERE "Name" = '1.9 diesel' AND "Capacity" = '1905 cc' | [
2061,
26415,
857,
352,
13,
24,
21866,
351,
37166,
36624,
423,
30,
46506,
366,
15884,
4188,
1,
16034,
3084,
62,
24760,
2481,
33411,
366,
5376,
1,
796,
705,
16,
13,
24,
21866,
6,
5357,
366,
15610,
4355,
1,
796,
705,
1129,
2713,
36624,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26415,
857,
352,
13,
24,
21866,
351,
37166,
36624,
423,
30,
46506,
366,
15884,
4188,
1,
16034,
3084,
62,
24760,
2481,
33411,
366,
5376,
1,
796,
705,
16,
13,
24,
21866,
6,
5357,
366,
15610,
4355,
1,
796,
705,
1129,
2713,
36624,... |
Who was the Republican in the district more than 4? | SELECT "Republican" FROM table_63478 WHERE "District" > '4' | [
8241,
373,
262,
3415,
287,
262,
4783,
517,
621,
604,
30,
46506,
366,
25777,
1,
16034,
3084,
62,
21,
2682,
3695,
33411,
366,
44857,
1,
1875,
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
] | [
8241,
373,
262,
3415,
287,
262,
4783,
517,
621,
604,
30,
46506,
366,
25777,
1,
16034,
3084,
62,
21,
2682,
3695,
33411,
366,
44857,
1,
1875,
705,
19,
6
] |
What is the place number for adrian vasile with less than 127.74 points? | SELECT SUM("Places") FROM table_55519 WHERE "Name" = 'adrian vasile' AND "Points" < '127.74' | [
2061,
318,
262,
1295,
1271,
329,
512,
4484,
34439,
576,
351,
1342,
621,
18112,
13,
4524,
2173,
30,
46506,
35683,
7203,
3646,
2114,
4943,
16034,
3084,
62,
31046,
1129,
33411,
366,
5376,
1,
796,
705,
324,
4484,
34439,
576,
6,
5357,
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
] | [
2061,
318,
262,
1295,
1271,
329,
512,
4484,
34439,
576,
351,
1342,
621,
18112,
13,
4524,
2173,
30,
46506,
35683,
7203,
3646,
2114,
4943,
16034,
3084,
62,
31046,
1129,
33411,
366,
5376,
1,
796,
705,
324,
4484,
34439,
576,
6,
5357,
366,... |
who was the only representative who won a special award at miss nepal but did not place at miss nepal ? | SELECT "representative" FROM table_204_172 WHERE NOT "special awards at miss nepal" IS NULL AND "placement in miss nepal" IS NULL | [
8727,
373,
262,
691,
8852,
508,
1839,
257,
2041,
5764,
379,
2051,
497,
18596,
475,
750,
407,
1295,
379,
2051,
497,
18596,
5633,
46506,
366,
15603,
876,
1,
16034,
3084,
62,
18638,
62,
23628,
33411,
5626,
366,
20887,
13304,
379,
2051,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
373,
262,
691,
8852,
508,
1839,
257,
2041,
5764,
379,
2051,
497,
18596,
475,
750,
407,
1295,
379,
2051,
497,
18596,
5633,
46506,
366,
15603,
876,
1,
16034,
3084,
62,
18638,
62,
23628,
33411,
5626,
366,
20887,
13304,
379,
2051,
4... |
For those records from the products and each product's manufacturer, give me the comparison about the sum of manufacturer over the name , and group by attribute name by a bar chart, order by the x-axis from low to high. | SELECT T2.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T2.Name | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
11554,
625,
262,
1438,
837,
290,
1448,
416,
11688,
1438,
416,
257,
2318,
8262,
11,
1502,
416,
262,
2124,
12,
22704,
422,
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... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
11554,
625,
262,
1438,
837,
290,
1448,
416,
11688,
1438,
416,
257,
2318,
8262,
11,
1502,
416,
262,
2124,
12,
22704,
422,
18... |
How many films titled Gie have been nominated? | SELECT COUNT(original_title) FROM table_13719788_1 WHERE film_title_used_in_nomination = "Gie" | [
2437,
867,
7328,
11946,
402,
494,
423,
587,
19332,
30,
46506,
327,
28270,
7,
14986,
62,
7839,
8,
16034,
3084,
62,
19708,
24991,
3459,
62,
16,
33411,
2646,
62,
7839,
62,
1484,
62,
259,
62,
26601,
1883,
796,
366,
38,
494,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7328,
11946,
402,
494,
423,
587,
19332,
30,
46506,
327,
28270,
7,
14986,
62,
7839,
8,
16034,
3084,
62,
19708,
24991,
3459,
62,
16,
33411,
2646,
62,
7839,
62,
1484,
62,
259,
62,
26601,
1883,
796,
366,
38,
494,
1
] |
Name the position for van den brink, bas | SELECT "Position" FROM table_73256 WHERE "Name" = 'van den Brink, Bas' | [
5376,
262,
2292,
329,
5719,
2853,
29585,
11,
1615,
46506,
366,
26545,
1,
16034,
3084,
62,
4790,
11645,
33411,
366,
5376,
1,
796,
705,
10438,
2853,
1709,
676,
11,
6455,
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,
2292,
329,
5719,
2853,
29585,
11,
1615,
46506,
366,
26545,
1,
16034,
3084,
62,
4790,
11645,
33411,
366,
5376,
1,
796,
705,
10438,
2853,
1709,
676,
11,
6455,
6
] |
Give me the comparison about the average of Weight over the Sex , and group by attribute Sex by a bar chart, and could you list total number in descending order? | SELECT Sex, AVG(Weight) FROM people GROUP BY Sex ORDER BY AVG(Weight) DESC | [
23318,
502,
262,
7208,
546,
262,
2811,
286,
14331,
625,
262,
14419,
837,
290,
1448,
416,
11688,
14419,
416,
257,
2318,
8262,
11,
290,
714,
345,
1351,
2472,
1271,
287,
31491,
1502,
30,
46506,
14419,
11,
35224,
7,
25844,
8,
16034,
661,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
262,
7208,
546,
262,
2811,
286,
14331,
625,
262,
14419,
837,
290,
1448,
416,
11688,
14419,
416,
257,
2318,
8262,
11,
290,
714,
345,
1351,
2472,
1271,
287,
31491,
1502,
30,
46506,
14419,
11,
35224,
7,
25844,
8,
16034,
661,
... |
What i/o buses are associated with the LGA 1155 socket, a code name of Sandy Bridge (desktop) and a brand name of Core i3-21xx? | SELECT "I/O Bus" FROM table_26910 WHERE "Socket" = 'LGA 1155' AND "Codename (main article)" = 'Sandy Bridge (Desktop)' AND "Brand name (list)" = 'Core i3-21xx' | [
2061,
1312,
14,
78,
16893,
389,
3917,
351,
262,
406,
9273,
12279,
20,
17802,
11,
257,
2438,
1438,
286,
17581,
10290,
357,
41375,
8,
290,
257,
4508,
1438,
286,
7231,
1312,
18,
12,
2481,
5324,
30,
46506,
366,
40,
14,
46,
5869,
1,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1312,
14,
78,
16893,
389,
3917,
351,
262,
406,
9273,
12279,
20,
17802,
11,
257,
2438,
1438,
286,
17581,
10290,
357,
41375,
8,
290,
257,
4508,
1438,
286,
7231,
1312,
18,
12,
2481,
5324,
30,
46506,
366,
40,
14,
46,
5869,
1,
16... |
In which country (endonym) is Irish English the official or native language(s) (alphabet/script)? | SELECT "Country ( endonym )" FROM table_15921 WHERE "Official or native language(s) (alphabet/script)" = 'Irish English' | [
818,
543,
1499,
357,
437,
5177,
8,
318,
8685,
3594,
262,
1743,
393,
6868,
3303,
7,
82,
8,
357,
17307,
8380,
14,
12048,
19427,
46506,
366,
33921,
357,
886,
5177,
1267,
1,
16034,
3084,
62,
19707,
2481,
33411,
366,
28529,
393,
6868,
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
] | [
818,
543,
1499,
357,
437,
5177,
8,
318,
8685,
3594,
262,
1743,
393,
6868,
3303,
7,
82,
8,
357,
17307,
8380,
14,
12048,
19427,
46506,
366,
33921,
357,
886,
5177,
1267,
1,
16034,
3084,
62,
19707,
2481,
33411,
366,
28529,
393,
6868,
33... |
mention the diagnosis long title of diagnosis icd9 code 41512. | SELECT diagnoses.long_title FROM diagnoses WHERE diagnoses.icd9_code = "41512" | [
434,
295,
262,
13669,
890,
3670,
286,
13669,
14158,
67,
24,
2438,
40643,
1065,
13,
46506,
40567,
13,
6511,
62,
7839,
16034,
40567,
33411,
40567,
13,
291,
67,
24,
62,
8189,
796,
366,
35038,
1065,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
434,
295,
262,
13669,
890,
3670,
286,
13669,
14158,
67,
24,
2438,
40643,
1065,
13,
46506,
40567,
13,
6511,
62,
7839,
16034,
40567,
33411,
40567,
13,
291,
67,
24,
62,
8189,
796,
366,
35038,
1065,
1
] |
Name the highest roll for coed and authority of state integrated with sacred heart school | SELECT MAX("Roll") FROM table_68998 WHERE "Gender" = 'coed' AND "Authority" = 'state integrated' AND "Name" = 'sacred heart school' | [
5376,
262,
4511,
4836,
329,
763,
276,
290,
4934,
286,
1181,
11521,
351,
13626,
2612,
1524,
46506,
25882,
7203,
26869,
4943,
16034,
3084,
62,
3104,
34808,
33411,
366,
41394,
1,
796,
705,
1073,
276,
6,
5357,
366,
13838,
414,
1,
796,
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
] | [
5376,
262,
4511,
4836,
329,
763,
276,
290,
4934,
286,
1181,
11521,
351,
13626,
2612,
1524,
46506,
25882,
7203,
26869,
4943,
16034,
3084,
62,
3104,
34808,
33411,
366,
41394,
1,
796,
705,
1073,
276,
6,
5357,
366,
13838,
414,
1,
796,
705... |
give me the number of patients whose diagnoses long title is carcinoma in situ of lip, oral cavity, and pharynx and lab test abnormal status is delta? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Carcinoma in situ of lip, oral cavity, and pharynx" AND lab.flag = "delta" | [
26535,
502,
262,
1271,
286,
3871,
3025,
40567,
890,
3670,
318,
28164,
6086,
287,
34074,
286,
10645,
11,
12886,
31643,
11,
290,
872,
38621,
87,
290,
2248,
1332,
18801,
3722,
318,
25979,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
40567,
890,
3670,
318,
28164,
6086,
287,
34074,
286,
10645,
11,
12886,
31643,
11,
290,
872,
38621,
87,
290,
2248,
1332,
18801,
3722,
318,
25979,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
1... |
What was the home leg score against partizani tirana? | SELECT "Home Leg" FROM table_24805 WHERE "Opponents" = 'Partizani Tirana' | [
2061,
373,
262,
1363,
1232,
4776,
1028,
636,
528,
3216,
48965,
2271,
30,
46506,
366,
16060,
3564,
1,
16034,
3084,
62,
1731,
28256,
33411,
366,
27524,
3906,
1,
796,
705,
7841,
528,
3216,
39847,
2271,
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,
373,
262,
1363,
1232,
4776,
1028,
636,
528,
3216,
48965,
2271,
30,
46506,
366,
16060,
3564,
1,
16034,
3084,
62,
1731,
28256,
33411,
366,
27524,
3906,
1,
796,
705,
7841,
528,
3216,
39847,
2271,
6
] |
find the number of patients whose lab test fluid is cerebrospinal fluid(csf) and hospital stay is more than 3 days. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "3" AND lab.fluid = "Cerebrospinal Fluid (CSF)" | [
19796,
262,
1271,
286,
3871,
3025,
2248,
1332,
11711,
318,
6736,
7957,
2777,
1292,
11711,
7,
6359,
69,
8,
290,
4436,
2652,
318,
517,
621,
513,
1528,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
3871,
3025,
2248,
1332,
11711,
318,
6736,
7957,
2777,
1292,
11711,
7,
6359,
69,
8,
290,
4436,
2652,
318,
517,
621,
513,
1528,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034... |
What is the lowest week number that there was a game on October 23, 1977 with less than 68,977 people attending? | SELECT MIN("Week") FROM table_35791 WHERE "Attendance" < '68,977' AND "Date" = 'october 23, 1977' | [
2061,
318,
262,
9016,
1285,
1271,
326,
612,
373,
257,
983,
319,
3267,
2242,
11,
15589,
351,
1342,
621,
8257,
11,
24,
3324,
661,
11969,
30,
46506,
20625,
7203,
20916,
4943,
16034,
3084,
62,
2327,
3720,
16,
33411,
366,
8086,
437,
590,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1285,
1271,
326,
612,
373,
257,
983,
319,
3267,
2242,
11,
15589,
351,
1342,
621,
8257,
11,
24,
3324,
661,
11969,
30,
46506,
20625,
7203,
20916,
4943,
16034,
3084,
62,
2327,
3720,
16,
33411,
366,
8086,
437,
590,
... |
what are the two year survival probability of a patient diagnosed with brain tumor - metastatic brain tumor? | SELECT SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t2.diagnosistime) > 2 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOI... | [
10919,
389,
262,
734,
614,
9441,
12867,
286,
257,
5827,
14641,
351,
3632,
22359,
532,
44678,
1512,
3632,
22359,
30,
46506,
35683,
7,
34,
11159,
42099,
5827,
13,
49257,
6381,
11121,
395,
7240,
796,
705,
282,
425,
6,
42243,
352,
42099,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
262,
734,
614,
9441,
12867,
286,
257,
5827,
14641,
351,
3632,
22359,
532,
44678,
1512,
3632,
22359,
30,
46506,
35683,
7,
34,
11159,
42099,
5827,
13,
49257,
6381,
11121,
395,
7240,
796,
705,
282,
425,
6,
42243,
352,
42099,
... |
For those employees who was hired before 2002-06-21, find hire_date and the amount of hire_date bin hire_date by time, and visualize them by a bar chart, and sort by the Y from low to high. | SELECT HIRE_DATE, COUNT(HIRE_DATE) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY COUNT(HIRE_DATE) | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1064,
11078,
62,
4475,
290,
262,
2033,
286,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
640,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
290,
3297,
416,
262,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1064,
11078,
62,
4475,
290,
262,
2033,
286,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
640,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
290,
3297,
416,
262,
... |
How many wins were there in 1994? | SELECT SUM("Wins") FROM table_62714 WHERE "Year" = '1994' | [
2437,
867,
7864,
547,
612,
287,
9162,
30,
46506,
35683,
7203,
54,
1040,
4943,
16034,
3084,
62,
49856,
1415,
33411,
366,
17688,
1,
796,
705,
22666,
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
] | [
2437,
867,
7864,
547,
612,
287,
9162,
30,
46506,
35683,
7203,
54,
1040,
4943,
16034,
3084,
62,
49856,
1415,
33411,
366,
17688,
1,
796,
705,
22666,
6
] |
what number of patients with government insurance had diagnoses short title as adv effect penicillins? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Government" AND diagnoses.short_title = "Adv eff penicillins" | [
10919,
1271,
286,
3871,
351,
1230,
5096,
550,
40567,
1790,
3670,
355,
1354,
1245,
3112,
291,
359,
1040,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
3871,
351,
1230,
5096,
550,
40567,
1790,
3670,
355,
1354,
1245,
3112,
291,
359,
1040,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
... |
what is the drug that patient 99080 was prescribed with within 2 days after being diagnosed with cysticercosis in 11/2103? | SELECT t2.drug FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE admissions.subject_id = 99080 AND diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'cystic... | [
10919,
318,
262,
2563,
326,
5827,
860,
3829,
1795,
373,
14798,
351,
1626,
362,
1528,
706,
852,
14641,
351,
3075,
11268,
2798,
5958,
287,
1367,
14,
17,
15197,
30,
46506,
256,
17,
13,
30349,
16034,
357,
46506,
25349,
13,
32796,
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,
1,
1,
1,
1,
1,
1,
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,
2563,
326,
5827,
860,
3829,
1795,
373,
14798,
351,
1626,
362,
1528,
706,
852,
14641,
351,
3075,
11268,
2798,
5958,
287,
1367,
14,
17,
15197,
30,
46506,
256,
17,
13,
30349,
16034,
357,
46506,
25349,
13,
32796,
62,
312,... |
The 2nd leg is what for the Atl tico Madrid as Team 1? | SELECT 2 AS nd_leg FROM table_name_68 WHERE team_1 = "atlético madrid" | [
464,
362,
358,
1232,
318,
644,
329,
262,
5234,
256,
3713,
14708,
355,
4816,
352,
30,
46506,
362,
7054,
299,
67,
62,
1455,
16034,
3084,
62,
3672,
62,
3104,
33411,
1074,
62,
16,
796,
366,
25864,
25125,
3713,
8805,
6058,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
464,
362,
358,
1232,
318,
644,
329,
262,
5234,
256,
3713,
14708,
355,
4816,
352,
30,
46506,
362,
7054,
299,
67,
62,
1455,
16034,
3084,
62,
3672,
62,
3104,
33411,
1074,
62,
16,
796,
366,
25864,
25125,
3713,
8805,
6058,
1
] |
What was the away team's score when Fitzroy's score was 16.27 (123) on May 13, 1950. | SELECT "Away team score" FROM table_74601 WHERE "Home team score" = '16.27 (123)' | [
2061,
373,
262,
1497,
1074,
338,
4776,
618,
16703,
3287,
338,
4776,
373,
1467,
13,
1983,
357,
10163,
8,
319,
1737,
1511,
11,
11445,
13,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
22,
3510,
486,
33411,
366,
16060,
1074,
47... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1497,
1074,
338,
4776,
618,
16703,
3287,
338,
4776,
373,
1467,
13,
1983,
357,
10163,
8,
319,
1737,
1511,
11,
11445,
13,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
22,
3510,
486,
33411,
366,
16060,
1074,
47... |
Who is the Driver that has a Laps smaller than 498, less than 58 points, a car number bigger than 22 and who has won $93,514? | SELECT "Driver" FROM table_31820 WHERE "Laps" < '498' AND "Points" < '58' AND "Car #" > '22' AND "Winnings" = '$93,514' | [
8241,
318,
262,
12434,
326,
468,
257,
406,
1686,
4833,
621,
604,
4089,
11,
1342,
621,
7618,
2173,
11,
257,
1097,
1271,
5749,
621,
2534,
290,
508,
468,
1839,
720,
6052,
11,
47396,
30,
46506,
366,
32103,
1,
16034,
3084,
62,
36042,
123... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12434,
326,
468,
257,
406,
1686,
4833,
621,
604,
4089,
11,
1342,
621,
7618,
2173,
11,
257,
1097,
1271,
5749,
621,
2534,
290,
508,
468,
1839,
720,
6052,
11,
47396,
30,
46506,
366,
32103,
1,
16034,
3084,
62,
36042,
123... |
On what date is St Kilda the away team? | SELECT "Date" FROM table_33796 WHERE "Away team" = 'st kilda' | [
2202,
644,
3128,
318,
520,
509,
27281,
262,
1497,
1074,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2091,
41060,
33411,
366,
32,
1014,
1074,
1,
796,
705,
301,
479,
27281,
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
] | [
2202,
644,
3128,
318,
520,
509,
27281,
262,
1497,
1074,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2091,
41060,
33411,
366,
32,
1014,
1074,
1,
796,
705,
301,
479,
27281,
6
] |
Number of badges of a certain kind within the given date range. | SELECT COUNT(*) AS "count" FROM Badges AS b WHERE (b.Name = '##name?Caucus##') AND (b.Date >= '##Date1?2010-01-01##') AND (b.Date <= '##Date2?2020-01-01##') GROUP BY b.Name LIMIT 100 | [
15057,
286,
37583,
286,
257,
1728,
1611,
1626,
262,
1813,
3128,
2837,
13,
46506,
327,
28270,
7,
28104,
7054,
366,
9127,
1,
16034,
7772,
3212,
7054,
275,
33411,
357,
65,
13,
5376,
796,
705,
2235,
3672,
30,
34,
16710,
2235,
11537,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15057,
286,
37583,
286,
257,
1728,
1611,
1626,
262,
1813,
3128,
2837,
13,
46506,
327,
28270,
7,
28104,
7054,
366,
9127,
1,
16034,
7772,
3212,
7054,
275,
33411,
357,
65,
13,
5376,
796,
705,
2235,
3672,
30,
34,
16710,
2235,
11537,
5357,... |
what is the properties of sodium when rubidium is nacl (2.1)? | SELECT "Sodium" FROM table_70784 WHERE "Rubidium" = 'nacl (2.1)' | [
10919,
318,
262,
6608,
286,
21072,
618,
6437,
43523,
318,
299,
37779,
357,
17,
13,
16,
19427,
46506,
366,
50,
12664,
1,
16034,
3084,
62,
2154,
37688,
33411,
366,
21312,
43523,
1,
796,
705,
77,
37779,
357,
17,
13,
16,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6608,
286,
21072,
618,
6437,
43523,
318,
299,
37779,
357,
17,
13,
16,
19427,
46506,
366,
50,
12664,
1,
16034,
3084,
62,
2154,
37688,
33411,
366,
21312,
43523,
1,
796,
705,
77,
37779,
357,
17,
13,
16,
33047
] |
how many patients whose procedure long title is venous catheterization, not elsewhere classified? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.long_title = "Venous catheterization, not elsewhere classified" | [
4919,
867,
3871,
3025,
8771,
890,
3670,
318,
8710,
516,
3797,
43332,
1634,
11,
407,
8057,
10090,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
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... | [
4919,
867,
3871,
3025,
8771,
890,
3670,
318,
8710,
516,
3797,
43332,
1634,
11,
407,
8057,
10090,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
... |
what is the average total cost of a hospital visit that includes partial ostectomy nec in the last year? | SELECT AVG(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT procedures_icd.hadm_id FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'partial ostectomy nec')) AND DATETIME(cost.chargetime, 's... | [
10919,
318,
262,
2811,
2472,
1575,
286,
257,
4436,
3187,
326,
3407,
13027,
23619,
42505,
27576,
287,
262,
938,
614,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
2472,
1575,
286,
257,
4436,
3187,
326,
3407,
13027,
23619,
42505,
27576,
287,
262,
938,
614,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
... |
What were the Away team Kangaroos Crowd totals? | SELECT SUM("Crowd") FROM table_8956 WHERE "Away team" = 'kangaroos' | [
2061,
547,
262,
21986,
1074,
27504,
12022,
418,
29452,
26310,
30,
46506,
35683,
7203,
34,
3986,
4943,
16034,
3084,
62,
23,
50148,
33411,
366,
32,
1014,
1074,
1,
796,
705,
74,
648,
12022,
418,
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,
547,
262,
21986,
1074,
27504,
12022,
418,
29452,
26310,
30,
46506,
35683,
7203,
34,
3986,
4943,
16034,
3084,
62,
23,
50148,
33411,
366,
32,
1014,
1074,
1,
796,
705,
74,
648,
12022,
418,
6
] |
Draw a bar chart for what is the average number of stars that each reviewer awards for a movie?, and could you order by the name from high to low? | SELECT name, AVG(T1.stars) FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID GROUP BY T2.name ORDER BY name DESC | [
25302,
257,
2318,
8262,
329,
644,
318,
262,
2811,
1271,
286,
5788,
326,
1123,
37823,
13304,
329,
257,
3807,
21747,
290,
714,
345,
1502,
416,
262,
1438,
422,
1029,
284,
1877,
30,
46506,
1438,
11,
35224,
7,
51,
16,
13,
30783,
8,
16034... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
25302,
257,
2318,
8262,
329,
644,
318,
262,
2811,
1271,
286,
5788,
326,
1123,
37823,
13304,
329,
257,
3807,
21747,
290,
714,
345,
1502,
416,
262,
1438,
422,
1029,
284,
1877,
30,
46506,
1438,
11,
35224,
7,
51,
16,
13,
30783,
8,
16034... |
Which Socialist Labor ticket has a Office of secretary of state? | SELECT socialist_labor_ticket FROM table_name_78 WHERE office = "secretary of state" | [
13828,
21773,
7882,
7846,
468,
257,
4452,
286,
7705,
286,
1181,
30,
46506,
15889,
62,
75,
4820,
62,
43350,
16034,
3084,
62,
3672,
62,
3695,
33411,
2607,
796,
366,
21078,
560,
286,
1181,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21773,
7882,
7846,
468,
257,
4452,
286,
7705,
286,
1181,
30,
46506,
15889,
62,
75,
4820,
62,
43350,
16034,
3084,
62,
3672,
62,
3695,
33411,
2607,
796,
366,
21078,
560,
286,
1181,
1
] |
find unanswered question of users with reputation lower than 102. find unanswered question of users with reputation lower than 102 | SELECT q.Id, q.Title, 'https://math.stackexchange.com/questions/' + CAST(q.Id AS TEXT(16)), q.Tags FROM Posts AS q INNER JOIN Users AS u ON u.Id = q.OwnerUserId WHERE u.Reputation < 102 AND q.PostTypeId = 1 AND q.AcceptedAnswerId IS NULL ORDER BY q.LastEditDate DESC | [
19796,
34001,
1808,
286,
2985,
351,
8507,
2793,
621,
15143,
13,
1064,
34001,
1808,
286,
2985,
351,
8507,
2793,
621,
15143,
46506,
10662,
13,
7390,
11,
10662,
13,
19160,
11,
705,
5450,
1378,
11018,
13,
301,
330,
365,
87,
3803,
13,
785,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
34001,
1808,
286,
2985,
351,
8507,
2793,
621,
15143,
13,
1064,
34001,
1808,
286,
2985,
351,
8507,
2793,
621,
15143,
46506,
10662,
13,
7390,
11,
10662,
13,
19160,
11,
705,
5450,
1378,
11018,
13,
301,
330,
365,
87,
3803,
13,
785,... |
What was the record on December 3? | SELECT "Record" FROM table_8976 WHERE "December" = '3' | [
2061,
373,
262,
1700,
319,
3426,
513,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
4531,
4304,
33411,
366,
20588,
1,
796,
705,
18,
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
] | [
2061,
373,
262,
1700,
319,
3426,
513,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
4531,
4304,
33411,
366,
20588,
1,
796,
705,
18,
6
] |
how many patients have been treated with physical restraints in the same month after being diagnosed with bradycardia since 4 years ago? | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'bradycardia' AND DATETIME(diagnosis.diagnosistime) >= DATETIME(CURRENT_TIME(), '-4 year')) AS t1 JOIN (SELEC... | [
4919,
867,
3871,
423,
587,
5716,
351,
3518,
45369,
287,
262,
976,
1227,
706,
852,
14641,
351,
865,
4597,
9517,
544,
1201,
604,
812,
2084,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8,
16034,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
423,
587,
5716,
351,
3518,
45369,
287,
262,
976,
1227,
706,
852,
14641,
351,
865,
4597,
9517,
544,
1201,
604,
812,
2084,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8,
16034,
... |
what is the maximum cost of the hospital which involves respiratory acidosis since 1 year ago? | SELECT MAX(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'respiratory acidosis')) AND DATETIME(cost.ch... | [
10919,
318,
262,
5415,
1575,
286,
262,
4436,
543,
9018,
22949,
7408,
5958,
1201,
352,
614,
2084,
30,
46506,
25882,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
1575,
33411,
1575,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5415,
1575,
286,
262,
4436,
543,
9018,
22949,
7408,
5958,
1201,
352,
614,
2084,
30,
46506,
25882,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
1575,
33411,
1575,
... |
How many missions countries have notability with president of burundi? | SELECT COUNT(Missions) AS country FROM table_18299148_1 WHERE notability = "President of Burundi" | [
2437,
867,
10566,
2678,
423,
407,
1799,
351,
1893,
286,
4356,
917,
72,
30,
46506,
327,
28270,
7,
44,
7717,
8,
7054,
1499,
16034,
3084,
62,
1507,
22579,
18294,
62,
16,
33411,
407,
1799,
796,
366,
10364,
286,
5481,
917,
72,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10566,
2678,
423,
407,
1799,
351,
1893,
286,
4356,
917,
72,
30,
46506,
327,
28270,
7,
44,
7717,
8,
7054,
1499,
16034,
3084,
62,
1507,
22579,
18294,
62,
16,
33411,
407,
1799,
796,
366,
10364,
286,
5481,
917,
72,
1
] |
For what tournament was Bla Kav i the opponent in the final? | SELECT tournament FROM table_name_16 WHERE opponent_in_the_final = "blaž kavčič" | [
1890,
644,
7756,
373,
1086,
64,
509,
615,
1312,
262,
6125,
287,
262,
2457,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
1433,
33411,
6125,
62,
259,
62,
1169,
62,
20311,
796,
366,
2436,
64,
129,
122,
479,
615,
46195,
72,
46195,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
644,
7756,
373,
1086,
64,
509,
615,
1312,
262,
6125,
287,
262,
2457,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
1433,
33411,
6125,
62,
259,
62,
1169,
62,
20311,
796,
366,
2436,
64,
129,
122,
479,
615,
46195,
72,
46195,
1
] |
What player played women's singles when marcus ellis heather olver played mixed doubles? | SELECT "Women's singles" FROM table_69550 WHERE "Mixed doubles" = 'marcus ellis heather olver' | [
2061,
2137,
2826,
1466,
338,
25287,
618,
1667,
9042,
30004,
271,
339,
1032,
25776,
332,
2826,
7668,
21938,
30,
46506,
366,
18495,
338,
25287,
1,
16034,
3084,
62,
3388,
22730,
33411,
366,
44,
2966,
21938,
1,
796,
705,
3876,
9042,
30004,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2826,
1466,
338,
25287,
618,
1667,
9042,
30004,
271,
339,
1032,
25776,
332,
2826,
7668,
21938,
30,
46506,
366,
18495,
338,
25287,
1,
16034,
3084,
62,
3388,
22730,
33411,
366,
44,
2966,
21938,
1,
796,
705,
3876,
9042,
30004,
... |
For the event with index f7, what is the status? | SELECT "Status" FROM table_80091 WHERE "Index" = 'f7' | [
1890,
262,
1785,
351,
6376,
277,
22,
11,
644,
318,
262,
3722,
30,
46506,
366,
19580,
1,
16034,
3084,
62,
7410,
6420,
33411,
366,
15732,
1,
796,
705,
69,
22,
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
] | [
1890,
262,
1785,
351,
6376,
277,
22,
11,
644,
318,
262,
3722,
30,
46506,
366,
19580,
1,
16034,
3084,
62,
7410,
6420,
33411,
366,
15732,
1,
796,
705,
69,
22,
6
] |
What is the Location for the buick-goodwrench open? | SELECT "Location" FROM table_36074 WHERE "Tournament" = 'buick-goodwrench open' | [
2061,
318,
262,
13397,
329,
262,
809,
624,
12,
11274,
86,
3532,
1280,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
15277,
4524,
33411,
366,
51,
5138,
1,
796,
705,
11110,
624,
12,
11274,
86,
3532,
1280,
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
] | [
2061,
318,
262,
13397,
329,
262,
809,
624,
12,
11274,
86,
3532,
1280,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
15277,
4524,
33411,
366,
51,
5138,
1,
796,
705,
11110,
624,
12,
11274,
86,
3532,
1280,
6
] |
What Competition in Shah Alam Stadium have a Result of 2 0 (w)? | SELECT "Competition" FROM table_76768 WHERE "Result" = '2–0 (w)' AND "Venue" = 'shah alam stadium' | [
2061,
27348,
287,
18381,
41514,
10499,
423,
257,
25414,
286,
362,
657,
357,
86,
19427,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
32059,
3104,
33411,
366,
23004,
1,
796,
705,
17,
1906,
15,
357,
86,
33047,
5357,
366,
37522,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
27348,
287,
18381,
41514,
10499,
423,
257,
25414,
286,
362,
657,
357,
86,
19427,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
32059,
3104,
33411,
366,
23004,
1,
796,
705,
17,
1906,
15,
357,
86,
33047,
5357,
366,
37522,
518,
1,
... |
Find the average access count across all documents? | SELECT AVG(access_count) FROM documents | [
16742,
262,
2811,
1895,
954,
1973,
477,
4963,
30,
46506,
35224,
7,
15526,
62,
9127,
8,
16034,
4963
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
2811,
1895,
954,
1973,
477,
4963,
30,
46506,
35224,
7,
15526,
62,
9127,
8,
16034,
4963
] |
Return a pie chart on how many students are enrolled in colleges that have student accepted during tryouts, and in which states are those colleges? | SELECT state, enr FROM College AS T1 JOIN Tryout AS T2 ON T1.cName = T2.cName WHERE T2.decision = 'yes' | [
13615,
257,
2508,
8262,
319,
703,
867,
2444,
389,
18724,
287,
15273,
326,
423,
3710,
6292,
1141,
1949,
5269,
11,
290,
287,
543,
2585,
389,
883,
15273,
30,
46506,
1181,
11,
551,
81,
16034,
5535,
7054,
309,
16,
32357,
1268,
9993,
448,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13615,
257,
2508,
8262,
319,
703,
867,
2444,
389,
18724,
287,
15273,
326,
423,
3710,
6292,
1141,
1949,
5269,
11,
290,
287,
543,
2585,
389,
883,
15273,
30,
46506,
1181,
11,
551,
81,
16034,
5535,
7054,
309,
16,
32357,
1268,
9993,
448,
... |
What was the result of the election featuring andrew stevenson (j) 100%? | SELECT result FROM table_2668243_25 WHERE candidates = "Andrew Stevenson (J) 100%" | [
2061,
373,
262,
1255,
286,
262,
3071,
9593,
290,
1809,
2876,
574,
1559,
357,
73,
8,
1802,
4,
30,
46506,
1255,
16034,
3084,
62,
2075,
3104,
26660,
62,
1495,
33411,
5871,
796,
366,
20508,
38681,
357,
41,
8,
1802,
39658
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3071,
9593,
290,
1809,
2876,
574,
1559,
357,
73,
8,
1802,
4,
30,
46506,
1255,
16034,
3084,
62,
2075,
3104,
26660,
62,
1495,
33411,
5871,
796,
366,
20508,
38681,
357,
41,
8,
1802,
39658
] |
calculate the number of patients who had the theophylline lab test until 2 years ago. | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT lab.patientunitstayid FROM lab WHERE lab.labname = 'theophylline' AND DATETIME(lab.labresulttime) <= DATETIME(CURRENT_TIME(), '-2 year')) | [
9948,
3129,
378,
262,
1271,
286,
3871,
508,
550,
262,
262,
16982,
297,
500,
2248,
1332,
1566,
362,
812,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
208... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
508,
550,
262,
262,
16982,
297,
500,
2248,
1332,
1566,
362,
812,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
208... |
What is the relationship between account name and account id? Show me a scatter chart. | SELECT account_id, account_name FROM Accounts | [
2061,
318,
262,
2776,
1022,
1848,
1438,
290,
1848,
4686,
30,
5438,
502,
257,
41058,
8262,
13,
46506,
1848,
62,
312,
11,
1848,
62,
3672,
16034,
35584
] | [
1,
1,
1,
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,
2776,
1022,
1848,
1438,
290,
1848,
4686,
30,
5438,
502,
257,
41058,
8262,
13,
46506,
1848,
62,
312,
11,
1848,
62,
3672,
16034,
35584
] |
How many current account balances are associated with GDP at constant prices growth rates of 4.6? | SELECT COUNT("Current account balance (percent of GDP)") FROM table_4299 WHERE "GDP at constant prices growth rate (percent change)" = '4.6' | [
2437,
867,
1459,
1848,
25223,
389,
3917,
351,
12396,
379,
6937,
4536,
3349,
3965,
286,
604,
13,
21,
30,
46506,
327,
28270,
7203,
11297,
1848,
5236,
357,
25067,
286,
12396,
8,
4943,
16034,
3084,
62,
11785,
24,
33411,
366,
38,
6322,
379... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1459,
1848,
25223,
389,
3917,
351,
12396,
379,
6937,
4536,
3349,
3965,
286,
604,
13,
21,
30,
46506,
327,
28270,
7203,
11297,
1848,
5236,
357,
25067,
286,
12396,
8,
4943,
16034,
3084,
62,
11785,
24,
33411,
366,
38,
6322,
379... |
What is the production code for the episode written by J. H. Wyman & Jeff Pinkner? | SELECT "Production code" FROM table_27039 WHERE "Written by" = 'J. H. Wyman & Jeff Pinkner' | [
2061,
318,
262,
3227,
2438,
329,
262,
4471,
3194,
416,
449,
13,
367,
13,
12958,
805,
1222,
5502,
14657,
1008,
30,
46506,
366,
35027,
2438,
1,
16034,
3084,
62,
20233,
2670,
33411,
366,
25354,
416,
1,
796,
705,
41,
13,
367,
13,
12958,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3227,
2438,
329,
262,
4471,
3194,
416,
449,
13,
367,
13,
12958,
805,
1222,
5502,
14657,
1008,
30,
46506,
366,
35027,
2438,
1,
16034,
3084,
62,
20233,
2670,
33411,
366,
25354,
416,
1,
796,
705,
41,
13,
367,
13,
12958,... |
What day were credentials presented for vermont? | SELECT credentials_presented FROM table_name_35 WHERE state = "vermont" | [
2061,
1110,
547,
18031,
5545,
329,
3326,
8691,
30,
46506,
18031,
62,
25579,
276,
16034,
3084,
62,
3672,
62,
2327,
33411,
1181,
796,
366,
332,
8691,
1
] | [
1,
1,
1,
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,
1110,
547,
18031,
5545,
329,
3326,
8691,
30,
46506,
18031,
62,
25579,
276,
16034,
3084,
62,
3672,
62,
2327,
33411,
1181,
796,
366,
332,
8691,
1
] |
count the number of patients who have had a social work consult procedure within 2 months after having been diagnosed until 1 year ago with depression. | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'depression' AND DATETIME(diagnosis.diagnosistime) <= DATETIME(CURRENT_TIME(), '-1 year')) AS t1 JOIN (SELECT... | [
9127,
262,
1271,
286,
3871,
508,
423,
550,
257,
1919,
670,
5725,
8771,
1626,
362,
1933,
706,
1719,
587,
14641,
1566,
352,
614,
2084,
351,
8862,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
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... | [
9127,
262,
1271,
286,
3871,
508,
423,
550,
257,
1919,
670,
5725,
8771,
1626,
362,
1933,
706,
1719,
587,
14641,
1566,
352,
614,
2084,
351,
8862,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8,
1... |
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of email and salary in a bar chart, and I want to display from high to low by the bar. | SELECT EMAIL, SALARY FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY EMAIL DESC | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
905,
502,
546,
262,
6082,
286,
3053,
290,
9588,
287,
257,
2318,
8262,
11,
290,
314,
765,
284,
3359,
422,
1029,
284,
1877,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
905,
502,
546,
262,
6082,
286,
3053,
290,
9588,
287,
257,
2318,
8262,
11,
290,
314,
765,
284,
3359,
422,
1029,
284,
1877,
... |
c++ gold badge in poland. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Users.Id AS "user_link", Reputation, Location FROM Users, Badges WHERE Users.Id = Badges.UserId AND Badges.Class = 2 AND Badges.TagBased = 1 AND Badges.Name = 'c++' AND LOWER(Users.Location) LIKE LOWER('%Poland%') ORDER BY Reputation DESC | [
66,
4880,
3869,
23009,
287,
755,
392,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
18987,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
11,
13397,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
66,
4880,
3869,
23009,
287,
755,
392,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
18987,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
11,
13397,
... |
Which season had the 'grumpy old bees' episodes? | SELECT COUNT("Season #") FROM table_1569 WHERE "Title" = 'Grumpy Old Bees' | [
13828,
1622,
550,
262,
705,
2164,
32152,
1468,
17002,
6,
8640,
30,
46506,
327,
28270,
7203,
18960,
1303,
4943,
16034,
3084,
62,
1314,
3388,
33411,
366,
19160,
1,
796,
705,
8642,
32152,
5706,
46698,
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
] | [
13828,
1622,
550,
262,
705,
2164,
32152,
1468,
17002,
6,
8640,
30,
46506,
327,
28270,
7203,
18960,
1303,
4943,
16034,
3084,
62,
1314,
3388,
33411,
366,
19160,
1,
796,
705,
8642,
32152,
5706,
46698,
6
] |
What conditions had both prolonged bleeding times and prolonged partial thromboplastin times | SELECT "Condition" FROM table_16419 WHERE "Partial thromboplastin time" = 'Prolonged' AND "Bleeding time" = 'Prolonged' | [
2061,
3403,
550,
1111,
20573,
16832,
1661,
290,
20573,
13027,
294,
398,
65,
404,
12957,
259,
1661,
46506,
366,
48362,
1,
16034,
3084,
62,
23237,
1129,
33411,
366,
7841,
498,
294,
398,
65,
404,
12957,
259,
640,
1,
796,
705,
2964,
6511,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3403,
550,
1111,
20573,
16832,
1661,
290,
20573,
13027,
294,
398,
65,
404,
12957,
259,
1661,
46506,
366,
48362,
1,
16034,
3084,
62,
23237,
1129,
33411,
366,
7841,
498,
294,
398,
65,
404,
12957,
259,
640,
1,
796,
705,
2964,
6511,... |
find the number of patients who are male and their primary disease is posterior communicating aneurysm/sda. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "M" AND demographic.diagnosis = "POSTERIOR COMMUNICATING ANEURYSM/SDA" | [
19796,
262,
1271,
286,
3871,
508,
389,
4257,
290,
511,
4165,
4369,
318,
34319,
22889,
281,
23365,
893,
76,
14,
82,
6814,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
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... | [
19796,
262,
1271,
286,
3871,
508,
389,
4257,
290,
511,
4165,
4369,
318,
34319,
22889,
281,
23365,
893,
76,
14,
82,
6814,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8... |
What is the original air date for the episode 'a pig in a poke'? | SELECT "Original air date" FROM table_17546 WHERE "Title" = 'A Pig in a Poke' | [
2061,
318,
262,
2656,
1633,
3128,
329,
262,
4471,
705,
64,
12967,
287,
257,
22620,
30960,
46506,
366,
20556,
1633,
3128,
1,
16034,
3084,
62,
17430,
3510,
33411,
366,
19160,
1,
796,
705,
32,
23097,
287,
257,
41163,
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,
318,
262,
2656,
1633,
3128,
329,
262,
4471,
705,
64,
12967,
287,
257,
22620,
30960,
46506,
366,
20556,
1633,
3128,
1,
16034,
3084,
62,
17430,
3510,
33411,
366,
19160,
1,
796,
705,
32,
23097,
287,
257,
41163,
6
] |
Who is the home team that scores 12.10 (82)? | SELECT "Home team" FROM table_32764 WHERE "Home team score" = '12.10 (82)' | [
8241,
318,
262,
1363,
1074,
326,
8198,
1105,
13,
940,
357,
6469,
19427,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
34159,
2414,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1065,
13,
940,
357,
6469,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1363,
1074,
326,
8198,
1105,
13,
940,
357,
6469,
19427,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
34159,
2414,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1065,
13,
940,
357,
6469,
33047
] |
For those records from the products and each product's manufacturer, a bar chart shows the distribution of name and the average of code , and group by attribute name. | SELECT T2.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
1438,
290,
262,
2811,
286,
2438,
837,
290,
1448,
416,
11688,
1438,
13,
46506,
309,
17,
13,
5376,
11,
309,
16,
13,
10669,
16034,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
2318,
8262,
2523,
262,
6082,
286,
1438,
290,
262,
2811,
286,
2438,
837,
290,
1448,
416,
11688,
1438,
13,
46506,
309,
17,
13,
5376,
11,
309,
16,
13,
10669,
16034,... |
Who won the mixed doubles in 1998? | SELECT "Mixed doubles" FROM table_1162 WHERE "Year" = '1998' | [
8241,
1839,
262,
7668,
21938,
287,
7795,
30,
46506,
366,
44,
2966,
21938,
1,
16034,
3084,
62,
1157,
5237,
33411,
366,
17688,
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
] | [
8241,
1839,
262,
7668,
21938,
287,
7795,
30,
46506,
366,
44,
2966,
21938,
1,
16034,
3084,
62,
1157,
5237,
33411,
366,
17688,
1,
796,
705,
21113,
6
] |
What are the type and nationality of ships? | SELECT type, nationality FROM ship | [
2061,
389,
262,
2099,
290,
29835,
286,
7937,
30,
46506,
2099,
11,
29835,
16034,
4074
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
2099,
290,
29835,
286,
7937,
30,
46506,
2099,
11,
29835,
16034,
4074
] |
What is the name of the newspaper with the website liderinformativo.com ? | SELECT name FROM table_name_17 WHERE website = "liderinformativo.com" | [
2061,
318,
262,
1438,
286,
262,
7533,
351,
262,
3052,
300,
1304,
259,
18982,
23593,
13,
785,
5633,
46506,
1438,
16034,
3084,
62,
3672,
62,
1558,
33411,
3052,
796,
366,
75,
1304,
259,
18982,
23593,
13,
785,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7533,
351,
262,
3052,
300,
1304,
259,
18982,
23593,
13,
785,
5633,
46506,
1438,
16034,
3084,
62,
3672,
62,
1558,
33411,
3052,
796,
366,
75,
1304,
259,
18982,
23593,
13,
785,
1
] |
What is 17th c., when American is ' '? | SELECT 17 AS th_c FROM table_name_25 WHERE american = "ə" | [
2061,
318,
1596,
400,
269,
1539,
618,
1605,
318,
705,
705,
30,
46506,
1596,
7054,
294,
62,
66,
16034,
3084,
62,
3672,
62,
1495,
33411,
45630,
272,
796,
366,
133,
247,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
1596,
400,
269,
1539,
618,
1605,
318,
705,
705,
30,
46506,
1596,
7054,
294,
62,
66,
16034,
3084,
62,
3672,
62,
1495,
33411,
45630,
272,
796,
366,
133,
247,
1
] |
what number of hours has it been since the last time patient 25733 was prescribed propofol on this hospital visit? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', prescriptions.startdate)) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 25733 AND admissions.dischtime IS NULL) AND prescriptions.drug = 'propofol' ORDER BY prescriptions.startdate D... | [
10919,
1271,
286,
2250,
468,
340,
587,
1201,
262,
938,
640,
5827,
36100,
2091,
373,
14798,
2632,
1659,
349,
319,
428,
4436,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
2250,
468,
340,
587,
1201,
262,
938,
640,
5827,
36100,
2091,
373,
14798,
2632,
1659,
349,
319,
428,
4436,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
1... |
What is Affiliation, when Nickname is Bulldogs? | SELECT "Affiliation" FROM table_50890 WHERE "Nickname" = 'bulldogs' | [
2061,
318,
6708,
15547,
11,
618,
8047,
3672,
318,
34969,
30,
46506,
366,
35191,
15547,
1,
16034,
3084,
62,
33042,
3829,
33411,
366,
23609,
3672,
1,
796,
705,
16308,
22242,
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,
6708,
15547,
11,
618,
8047,
3672,
318,
34969,
30,
46506,
366,
35191,
15547,
1,
16034,
3084,
62,
33042,
3829,
33411,
366,
23609,
3672,
1,
796,
705,
16308,
22242,
6
] |
how many drugs were prescribed to patient 5828 in this month? | SELECT COUNT(*) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 5828) AND DATETIME(prescriptions.startdate, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 month') | [
4919,
867,
5010,
547,
14798,
284,
5827,
7618,
2078,
287,
428,
1227,
30,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
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... | [
4919,
867,
5010,
547,
14798,
284,
5827,
7618,
2078,
287,
428,
1227,
30,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
... |
What is the english spelling of the word that has the strongs trasliteration of y e howram? | SELECT english_spelling FROM table_1242447_1 WHERE strongs_transliteration = "Y e howram" | [
2061,
318,
262,
46932,
24993,
286,
262,
1573,
326,
468,
262,
1913,
82,
491,
292,
17201,
341,
286,
331,
304,
703,
859,
30,
46506,
46932,
62,
4125,
2680,
16034,
3084,
62,
17464,
1731,
2857,
62,
16,
33411,
1913,
82,
62,
7645,
17201,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
46932,
24993,
286,
262,
1573,
326,
468,
262,
1913,
82,
491,
292,
17201,
341,
286,
331,
304,
703,
859,
30,
46506,
46932,
62,
4125,
2680,
16034,
3084,
62,
17464,
1731,
2857,
62,
16,
33411,
1913,
82,
62,
7645,
17201,
34... |
Show the relationship between card number and customer id and group by card type code in a group scatter chart. | SELECT customer_id, card_number FROM Customers_Cards GROUP BY card_type_code | [
15307,
262,
2776,
1022,
2657,
1271,
290,
6491,
4686,
290,
1448,
416,
2657,
2099,
2438,
287,
257,
1448,
41058,
8262,
13,
46506,
6491,
62,
312,
11,
2657,
62,
17618,
16034,
36707,
62,
34,
1371,
44441,
11050,
2657,
62,
4906,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
2776,
1022,
2657,
1271,
290,
6491,
4686,
290,
1448,
416,
2657,
2099,
2438,
287,
257,
1448,
41058,
8262,
13,
46506,
6491,
62,
312,
11,
2657,
62,
17618,
16034,
36707,
62,
34,
1371,
44441,
11050,
2657,
62,
4906,
62,
8189
] |
Which year did Aya Ohori play in the Women's Singles? | SELECT "Year" FROM table_71908 WHERE "Women's singles" = 'aya ohori' | [
13828,
614,
750,
317,
3972,
3966,
10145,
711,
287,
262,
6926,
338,
5573,
829,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
22,
1129,
2919,
33411,
366,
18495,
338,
25287,
1,
796,
705,
11729,
11752,
10145,
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
] | [
13828,
614,
750,
317,
3972,
3966,
10145,
711,
287,
262,
6926,
338,
5573,
829,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
22,
1129,
2919,
33411,
366,
18495,
338,
25287,
1,
796,
705,
11729,
11752,
10145,
6
] |
How many events have each participants attended? Show their total number by each participant type code using a bar chart, and sort y-axis in desc order. | SELECT T1.Participant_Type_Code, SUM(COUNT(*)) FROM Participants AS T1 JOIN Participants_in_Events AS T2 ON T1.Participant_ID = T2.Participant_ID GROUP BY T1.Participant_Type_Code ORDER BY SUM(COUNT(*)) DESC | [
2437,
867,
2995,
423,
1123,
6809,
9141,
30,
5438,
511,
2472,
1271,
416,
1123,
18399,
2099,
2438,
1262,
257,
2318,
8262,
11,
290,
3297,
331,
12,
22704,
287,
1715,
1502,
13,
46506,
309,
16,
13,
34363,
415,
62,
6030,
62,
10669,
11,
356... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2995,
423,
1123,
6809,
9141,
30,
5438,
511,
2472,
1271,
416,
1123,
18399,
2099,
2438,
1262,
257,
2318,
8262,
11,
290,
3297,
331,
12,
22704,
287,
1715,
1502,
13,
46506,
309,
16,
13,
34363,
415,
62,
6030,
62,
10669,
11,
356... |
What are the advisory prerequisites for the Public Budgeting and Financial Planning class ? | SELECT DISTINCT advisory_requirement FROM course WHERE name LIKE '%Public Budgeting and Financial Planning%' | [
2061,
389,
262,
20852,
662,
34075,
329,
262,
5094,
15401,
278,
290,
11302,
21913,
1398,
5633,
46506,
360,
8808,
1268,
4177,
20852,
62,
8897,
24615,
16034,
1781,
33411,
1438,
34178,
705,
4,
15202,
15401,
278,
290,
11302,
21913,
4,
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
] | [
2061,
389,
262,
20852,
662,
34075,
329,
262,
5094,
15401,
278,
290,
11302,
21913,
1398,
5633,
46506,
360,
8808,
1268,
4177,
20852,
62,
8897,
24615,
16034,
1781,
33411,
1438,
34178,
705,
4,
15202,
15401,
278,
290,
11302,
21913,
4,
6
] |
How many wins have more than 1 loss and a team of chiefs? | SELECT SUM("Wins") FROM table_60058 WHERE "Teams" = 'chiefs' AND "Losses" > '1' | [
2437,
867,
7864,
423,
517,
621,
352,
2994,
290,
257,
1074,
286,
30217,
30,
46506,
35683,
7203,
54,
1040,
4943,
16034,
3084,
62,
8054,
3365,
33411,
366,
6767,
4105,
1,
796,
705,
17351,
82,
6,
5357,
366,
43,
793,
274,
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
] | [
2437,
867,
7864,
423,
517,
621,
352,
2994,
290,
257,
1074,
286,
30217,
30,
46506,
35683,
7203,
54,
1040,
4943,
16034,
3084,
62,
8054,
3365,
33411,
366,
6767,
4105,
1,
796,
705,
17351,
82,
6,
5357,
366,
43,
793,
274,
1,
1875,
705,
... |
What was the highest season number with a total prize of $108,000? | SELECT MAX(season) FROM table_name_17 WHERE total_prize_money = "$108,000" | [
2061,
373,
262,
4511,
1622,
1271,
351,
257,
2472,
11596,
286,
720,
15711,
11,
830,
30,
46506,
25882,
7,
6230,
8,
16034,
3084,
62,
3672,
62,
1558,
33411,
2472,
62,
3448,
2736,
62,
26316,
796,
17971,
15711,
11,
830,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1622,
1271,
351,
257,
2472,
11596,
286,
720,
15711,
11,
830,
30,
46506,
25882,
7,
6230,
8,
16034,
3084,
62,
3672,
62,
1558,
33411,
2472,
62,
3448,
2736,
62,
26316,
796,
17971,
15711,
11,
830,
1
] |
How much Money is requested by BassToneSlap? | SELECT "Money requested (\u00a3)" FROM table_66771 WHERE "Company or product name" = 'basstoneslap' | [
2437,
881,
12911,
318,
9167,
416,
19829,
51,
505,
11122,
499,
30,
46506,
366,
26788,
9167,
357,
59,
84,
405,
64,
18,
16725,
16034,
3084,
62,
2791,
46761,
33411,
366,
39154,
393,
1720,
1438,
1,
796,
705,
12093,
28750,
37796,
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,
881,
12911,
318,
9167,
416,
19829,
51,
505,
11122,
499,
30,
46506,
366,
26788,
9167,
357,
59,
84,
405,
64,
18,
16725,
16034,
3084,
62,
2791,
46761,
33411,
366,
39154,
393,
1720,
1438,
1,
796,
705,
12093,
28750,
37796,
6
] |
List of all users in SOF who are Kuwaitis. | SELECT * FROM Users WHERE LOWER(Location) LIKE '%kuwait%' | [
8053,
286,
477,
2985,
287,
12809,
37,
508,
389,
27028,
271,
13,
46506,
1635,
16034,
18987,
33411,
406,
36048,
7,
14749,
8,
34178,
705,
4,
23063,
17077,
4,
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
] | [
8053,
286,
477,
2985,
287,
12809,
37,
508,
389,
27028,
271,
13,
46506,
1635,
16034,
18987,
33411,
406,
36048,
7,
14749,
8,
34178,
705,
4,
23063,
17077,
4,
6
] |
What is the Proto-Austronesian word for the Proto-Polynesian word *tui? | SELECT proto_austronesian FROM table_name_53 WHERE proto_polynesian = "*tui" | [
2061,
318,
262,
45783,
12,
15160,
9821,
666,
1573,
329,
262,
45783,
12,
34220,
2516,
666,
1573,
1635,
83,
9019,
30,
46506,
44876,
62,
64,
436,
9821,
666,
16034,
3084,
62,
3672,
62,
4310,
33411,
44876,
62,
35428,
2516,
666,
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
] | [
2061,
318,
262,
45783,
12,
15160,
9821,
666,
1573,
329,
262,
45783,
12,
34220,
2516,
666,
1573,
1635,
83,
9019,
30,
46506,
44876,
62,
64,
436,
9821,
666,
16034,
3084,
62,
3672,
62,
4310,
33411,
44876,
62,
35428,
2516,
666,
796,
366,
... |
If the equation is 0 9 + 3 9 + 3, what is the result? | SELECT MIN(result) FROM table_17265535_7 WHERE equation = "0 × 9² + 3 × 9 + 3" | [
1532,
262,
16022,
318,
657,
860,
1343,
513,
860,
1343,
513,
11,
644,
318,
262,
1255,
30,
46506,
20625,
7,
20274,
8,
16034,
3084,
62,
1558,
2075,
2816,
2327,
62,
22,
33411,
16022,
796,
366,
15,
13958,
860,
31185,
1343,
513,
13958,
86... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1532,
262,
16022,
318,
657,
860,
1343,
513,
860,
1343,
513,
11,
644,
318,
262,
1255,
30,
46506,
20625,
7,
20274,
8,
16034,
3084,
62,
1558,
2075,
2816,
2327,
62,
22,
33411,
16022,
796,
366,
15,
13958,
860,
31185,
1343,
513,
13958,
86... |
What is the KINKA 1.3 when the developer is yes and the support version is support mo 230? | SELECT kinka_13 FROM table_name_11 WHERE kinka_developer = "yes" AND version = "support mo 230" | [
2061,
318,
262,
509,
17248,
32,
352,
13,
18,
618,
262,
8517,
318,
3763,
290,
262,
1104,
2196,
318,
1104,
6941,
18395,
30,
46506,
479,
48955,
62,
1485,
16034,
3084,
62,
3672,
62,
1157,
33411,
479,
48955,
62,
16244,
263,
796,
366,
850... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
509,
17248,
32,
352,
13,
18,
618,
262,
8517,
318,
3763,
290,
262,
1104,
2196,
318,
1104,
6941,
18395,
30,
46506,
479,
48955,
62,
1485,
16034,
3084,
62,
3672,
62,
1157,
33411,
479,
48955,
62,
16244,
263,
796,
366,
850... |
What college did the defensive back attend? | SELECT "College" FROM table_19481 WHERE "Position" = 'Defensive Back' | [
2061,
4152,
750,
262,
6110,
736,
5262,
30,
46506,
366,
38951,
1,
16034,
3084,
62,
1129,
40271,
33411,
366,
26545,
1,
796,
705,
7469,
2021,
5157,
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,
4152,
750,
262,
6110,
736,
5262,
30,
46506,
366,
38951,
1,
16034,
3084,
62,
1129,
40271,
33411,
366,
26545,
1,
796,
705,
7469,
2021,
5157,
6
] |
What was the score for the game in which Al-Qadsia was Team 2? | SELECT "Score" FROM table_77075 WHERE "Team 2" = 'al-qadsia' | [
2061,
373,
262,
4776,
329,
262,
983,
287,
543,
978,
12,
48,
5643,
544,
373,
4816,
362,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
41820,
2425,
33411,
366,
15592,
362,
1,
796,
705,
282,
12,
80,
5643,
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
] | [
2061,
373,
262,
4776,
329,
262,
983,
287,
543,
978,
12,
48,
5643,
544,
373,
4816,
362,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
41820,
2425,
33411,
366,
15592,
362,
1,
796,
705,
282,
12,
80,
5643,
544,
6
] |
What's the change over same quarter the previous year in the period when the 89.6% of the trains arrive within 5 minutes of scheduled time (over three months)? | SELECT change_over_same_quarter_the_previous_year FROM table_171748_3 WHERE _percentage_trains_arriving_within_5_mins_of_scheduled_time__over_three_months_ = "89.6%" | [
2061,
338,
262,
1487,
625,
976,
3860,
262,
2180,
614,
287,
262,
2278,
618,
262,
9919,
13,
21,
4,
286,
262,
13404,
9240,
1626,
642,
2431,
286,
7530,
640,
357,
2502,
1115,
1933,
19427,
46506,
1487,
62,
2502,
62,
31642,
62,
24385,
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,
338,
262,
1487,
625,
976,
3860,
262,
2180,
614,
287,
262,
2278,
618,
262,
9919,
13,
21,
4,
286,
262,
13404,
9240,
1626,
642,
2431,
286,
7530,
640,
357,
2502,
1115,
1933,
19427,
46506,
1487,
62,
2502,
62,
31642,
62,
24385,
62,
... |
Name the country for t3 place | SELECT country FROM table_name_45 WHERE place = "t3" | [
5376,
262,
1499,
329,
256,
18,
1295,
46506,
1499,
16034,
3084,
62,
3672,
62,
2231,
33411,
1295,
796,
366,
83,
18,
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,
1499,
329,
256,
18,
1295,
46506,
1499,
16034,
3084,
62,
3672,
62,
2231,
33411,
1295,
796,
366,
83,
18,
1
] |
how many male patients had the diagnosis long title microscopic hematuria? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "M" AND diagnoses.long_title = "Microscopic hematuria" | [
4919,
867,
4257,
3871,
550,
262,
13669,
890,
3670,
41858,
16869,
2541,
544,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
4257,
3871,
550,
262,
13669,
890,
3670,
41858,
16869,
2541,
544,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
3... |
what is the number of patients whose primary disease is coronary artery disease and days of hospital stay is greater than 3? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "CORONARY ARTERY DISEASE" AND demographic.days_stay > "3" | [
10919,
318,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
37151,
37646,
4369,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
513,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
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... | [
10919,
318,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
37151,
37646,
4369,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
513,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13... |
Tell me the location for altitude being less thaan 6102 | SELECT location FROM table_name_31 WHERE altitude__metres_ < 6102 | [
24446,
502,
262,
4067,
329,
20334,
852,
1342,
28110,
272,
718,
15377,
46506,
4067,
16034,
3084,
62,
3672,
62,
3132,
33411,
20334,
834,
4164,
411,
62,
1279,
718,
15377
] | [
1,
1,
1,
1,
1,
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,
4067,
329,
20334,
852,
1342,
28110,
272,
718,
15377,
46506,
4067,
16034,
3084,
62,
3672,
62,
3132,
33411,
20334,
834,
4164,
411,
62,
1279,
718,
15377
] |
What was the final score for the match with a partnering of Tessa Price? | SELECT score_in_the_final FROM table_name_48 WHERE partnering = "tessa price" | [
2061,
373,
262,
2457,
4776,
329,
262,
2872,
351,
257,
41759,
286,
309,
21411,
7886,
30,
46506,
4776,
62,
259,
62,
1169,
62,
20311,
16034,
3084,
62,
3672,
62,
2780,
33411,
41759,
796,
366,
83,
21411,
2756,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2457,
4776,
329,
262,
2872,
351,
257,
41759,
286,
309,
21411,
7886,
30,
46506,
4776,
62,
259,
62,
1169,
62,
20311,
16034,
3084,
62,
3672,
62,
2780,
33411,
41759,
796,
366,
83,
21411,
2756,
1
] |
List ids and details for all projects. | SELECT project_id, project_details FROM Projects | [
8053,
220,
2340,
290,
3307,
329,
477,
4493,
13,
46506,
1628,
62,
312,
11,
1628,
62,
36604,
16034,
29898
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
220,
2340,
290,
3307,
329,
477,
4493,
13,
46506,
1628,
62,
312,
11,
1628,
62,
36604,
16034,
29898
] |
Name the sydney with perth of no, adelaide of no with melbourne of yes and gold coast of yes | SELECT "Sydney" FROM table_67952 WHERE "Perth" = 'no' AND "Adelaide" = 'no' AND "Melbourne" = 'yes' AND "Gold Coast" = 'yes' | [
5376,
262,
827,
67,
1681,
351,
583,
400,
286,
645,
11,
512,
25078,
286,
645,
351,
7758,
12544,
286,
3763,
290,
3869,
7051,
286,
3763,
46506,
366,
50,
5173,
1681,
1,
16034,
3084,
62,
3134,
49234,
33411,
366,
5990,
400,
1,
796,
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,
1,
1,
1,
1... | [
5376,
262,
827,
67,
1681,
351,
583,
400,
286,
645,
11,
512,
25078,
286,
645,
351,
7758,
12544,
286,
3763,
290,
3869,
7051,
286,
3763,
46506,
366,
50,
5173,
1681,
1,
16034,
3084,
62,
3134,
49234,
33411,
366,
5990,
400,
1,
796,
705,
... |
Name the economic class for artemoio m. baymosa | SELECT "Economic Class" FROM table_19319 WHERE "Punong Barangay (Term 2010-2013)" = 'Artemoio M. Baymosa' | [
5376,
262,
3034,
1398,
329,
1242,
41903,
952,
285,
13,
15489,
76,
8546,
46506,
366,
48307,
5016,
1,
16034,
3084,
62,
24943,
1129,
33411,
366,
47,
403,
506,
2409,
648,
323,
357,
40596,
3050,
12,
6390,
16725,
796,
705,
8001,
41903,
952,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3034,
1398,
329,
1242,
41903,
952,
285,
13,
15489,
76,
8546,
46506,
366,
48307,
5016,
1,
16034,
3084,
62,
24943,
1129,
33411,
366,
47,
403,
506,
2409,
648,
323,
357,
40596,
3050,
12,
6390,
16725,
796,
705,
8001,
41903,
952,... |
What month before 1973 is listed for the album united we stand? | SELECT month FROM table_name_83 WHERE year < 1973 AND album = "united we stand" | [
2061,
1227,
878,
15674,
318,
5610,
329,
262,
5062,
16503,
356,
1302,
30,
46506,
1227,
16034,
3084,
62,
3672,
62,
5999,
33411,
614,
1279,
15674,
5357,
5062,
796,
366,
41187,
356,
1302,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1227,
878,
15674,
318,
5610,
329,
262,
5062,
16503,
356,
1302,
30,
46506,
1227,
16034,
3084,
62,
3672,
62,
5999,
33411,
614,
1279,
15674,
5357,
5062,
796,
366,
41187,
356,
1302,
1
] |
Date of september 28 had what record? | SELECT record FROM table_name_12 WHERE date = "september 28" | [
10430,
286,
384,
457,
1491,
2579,
550,
644,
1700,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
1065,
33411,
3128,
796,
366,
325,
457,
1491,
2579,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10430,
286,
384,
457,
1491,
2579,
550,
644,
1700,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
1065,
33411,
3128,
796,
366,
325,
457,
1491,
2579,
1
] |
The University of Colorado hosted what region? | SELECT "Region" FROM table_40693 WHERE "Host" = 'university of colorado' | [
464,
2059,
286,
7492,
12007,
644,
3814,
30,
46506,
366,
47371,
1,
16034,
3084,
62,
1821,
48528,
33411,
366,
17932,
1,
796,
705,
403,
1608,
286,
3124,
4533,
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
] | [
464,
2059,
286,
7492,
12007,
644,
3814,
30,
46506,
366,
47371,
1,
16034,
3084,
62,
1821,
48528,
33411,
366,
17932,
1,
796,
705,
403,
1608,
286,
3124,
4533,
6
] |
what is the number of patients whose gender is f and days of hospital stay is greater than 9? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.days_stay > "9" | [
10919,
318,
262,
1271,
286,
3871,
3025,
5279,
318,
277,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
860,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
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
] | [
10919,
318,
262,
1271,
286,
3871,
3025,
5279,
318,
277,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
860,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
3... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.