instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Which Attendance has a Result of w 23-21, and a Week smaller than 5? | SELECT AVG(attendance) FROM table_name_75 WHERE result = "w 23-21" AND week < 5 | [
13828,
46502,
590,
468,
257,
25414,
286,
266,
2242,
12,
2481,
11,
290,
257,
6119,
4833,
621,
642,
30,
46506,
35224,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
2425,
33411,
1255,
796,
366,
86,
2242,
12,
2481,
1,
5357,
1285,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
46502,
590,
468,
257,
25414,
286,
266,
2242,
12,
2481,
11,
290,
257,
6119,
4833,
621,
642,
30,
46506,
35224,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
2425,
33411,
1255,
796,
366,
86,
2242,
12,
2481,
1,
5357,
1285,
1... |
What is the pick# for the California Golden Seals? | SELECT "Pick #" FROM table_68951 WHERE "NHL team" = 'california golden seals' | [
2061,
318,
262,
2298,
2,
329,
262,
3442,
8407,
1001,
874,
30,
46506,
366,
31686,
1303,
1,
16034,
3084,
62,
3104,
50119,
33411,
366,
45,
6581,
1074,
1,
796,
705,
9948,
361,
3317,
10861,
29718,
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,
2298,
2,
329,
262,
3442,
8407,
1001,
874,
30,
46506,
366,
31686,
1303,
1,
16034,
3084,
62,
3104,
50119,
33411,
366,
45,
6581,
1074,
1,
796,
705,
9948,
361,
3317,
10861,
29718,
6
] |
return me the paper with the most citations . | SELECT title FROM publication ORDER BY citation_num DESC LIMIT 1 | [
7783,
502,
262,
3348,
351,
262,
749,
33499,
764,
46506,
3670,
16034,
9207,
38678,
11050,
27860,
62,
22510,
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
] | [
7783,
502,
262,
3348,
351,
262,
749,
33499,
764,
46506,
3670,
16034,
9207,
38678,
11050,
27860,
62,
22510,
22196,
34,
27564,
2043,
352
] |
what is the number of patients whose diagnoses long title is candidiasis of mouth? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.long_title = "Candidiasis of mouth" | [
10919,
318,
262,
1271,
286,
3871,
3025,
40567,
890,
3670,
318,
2960,
48455,
286,
5422,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
40567,
890,
3670,
318,
2960,
48455,
286,
5422,
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,
... |
how much did the hospitalization during this year cost patient 008-40862? | SELECT SUM(cost.cost) FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '008-40862') AND DATETIME(cost.chargetime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') | [
4919,
881,
750,
262,
4436,
1634,
1141,
428,
614,
1575,
5827,
3571,
23,
12,
1821,
4521,
17,
30,
46506,
35683,
7,
15805,
13,
15805,
8,
16034,
1575,
33411,
1575,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
139... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
881,
750,
262,
4436,
1634,
1141,
428,
614,
1575,
5827,
3571,
23,
12,
1821,
4521,
17,
30,
46506,
35683,
7,
15805,
13,
15805,
8,
16034,
1575,
33411,
1575,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
139... |
Which Object type has a NGC number of 2787? | SELECT "Object type" FROM table_52290 WHERE "NGC number" = '2787' | [
13828,
9515,
2099,
468,
257,
399,
15916,
1271,
286,
2681,
5774,
30,
46506,
366,
10267,
2099,
1,
16034,
3084,
62,
49542,
3829,
33411,
366,
10503,
34,
1271,
1,
796,
705,
1983,
5774,
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
] | [
13828,
9515,
2099,
468,
257,
399,
15916,
1271,
286,
2681,
5774,
30,
46506,
366,
10267,
2099,
1,
16034,
3084,
62,
49542,
3829,
33411,
366,
10503,
34,
1271,
1,
796,
705,
1983,
5774,
6
] |
What is the 1989 number when the 200 number is less than 52.8 in Arizona, New Mexico, and Utah | SELECT SUM("1989") FROM table_47906 WHERE "2000" < '52.8' AND "Location" = 'arizona, new mexico, and utah' | [
2061,
318,
262,
11104,
1271,
618,
262,
939,
1271,
318,
1342,
621,
6740,
13,
23,
287,
7943,
11,
968,
5828,
11,
290,
10202,
46506,
35683,
7203,
25475,
4943,
16034,
3084,
62,
31714,
3312,
33411,
366,
11024,
1,
1279,
705,
4309,
13,
23,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
11104,
1271,
618,
262,
939,
1271,
318,
1342,
621,
6740,
13,
23,
287,
7943,
11,
968,
5828,
11,
290,
10202,
46506,
35683,
7203,
25475,
4943,
16034,
3084,
62,
31714,
3312,
33411,
366,
11024,
1,
1279,
705,
4309,
13,
23,
... |
What was the week 5 opponent for the year with a week 10 opponent of Maryland (6-2)? | SELECT "Week 5 Sept 28" FROM table_38962 WHERE "Week 10 Nov 2" = 'maryland (6-2)' | [
2061,
373,
262,
1285,
642,
6125,
329,
262,
614,
351,
257,
1285,
838,
6125,
286,
10769,
357,
21,
12,
17,
19427,
46506,
366,
20916,
642,
2362,
2579,
1,
16034,
3084,
62,
2548,
4846,
17,
33411,
366,
20916,
838,
5267,
362,
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
] | [
2061,
373,
262,
1285,
642,
6125,
329,
262,
614,
351,
257,
1285,
838,
6125,
286,
10769,
357,
21,
12,
17,
19427,
46506,
366,
20916,
642,
2362,
2579,
1,
16034,
3084,
62,
2548,
4846,
17,
33411,
366,
20916,
838,
5267,
362,
1,
796,
705,
... |
What field resulted with w 18-12? | SELECT "Field" FROM table_61003 WHERE "Result" = 'w 18-12' | [
2061,
2214,
8724,
351,
266,
1248,
12,
1065,
30,
46506,
366,
15878,
1,
16034,
3084,
62,
21,
3064,
18,
33411,
366,
23004,
1,
796,
705,
86,
1248,
12,
1065,
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
] | [
2061,
2214,
8724,
351,
266,
1248,
12,
1065,
30,
46506,
366,
15878,
1,
16034,
3084,
62,
21,
3064,
18,
33411,
366,
23004,
1,
796,
705,
86,
1248,
12,
1065,
6
] |
What's Babson College's enrollment? | SELECT MAX(enrollment) FROM table_1974782_1 WHERE institution = "Babson College" | [
2061,
338,
12400,
1559,
5535,
338,
20753,
30,
46506,
25882,
7,
268,
48108,
8,
16034,
3084,
62,
24991,
2857,
6469,
62,
16,
33411,
9901,
796,
366,
33,
397,
1559,
5535,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
12400,
1559,
5535,
338,
20753,
30,
46506,
25882,
7,
268,
48108,
8,
16034,
3084,
62,
24991,
2857,
6469,
62,
16,
33411,
9901,
796,
366,
33,
397,
1559,
5535,
1
] |
What is the series episode number of the episode with production code 303? | SELECT "No. in series" FROM table_20910 WHERE "Production code" = '303' | [
2061,
318,
262,
2168,
4471,
1271,
286,
262,
4471,
351,
3227,
2438,
30727,
30,
46506,
366,
2949,
13,
287,
2168,
1,
16034,
3084,
62,
22567,
940,
33411,
366,
35027,
2438,
1,
796,
705,
22572,
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,
318,
262,
2168,
4471,
1271,
286,
262,
4471,
351,
3227,
2438,
30727,
30,
46506,
366,
2949,
13,
287,
2168,
1,
16034,
3084,
62,
22567,
940,
33411,
366,
35027,
2438,
1,
796,
705,
22572,
6
] |
What is the lowest Jianshu number for Liu Yang ( hkg )? | SELECT MIN(jianshu) FROM table_name_29 WHERE athlete = "liu yang ( hkg )" | [
2061,
318,
262,
9016,
449,
1547,
13415,
1271,
329,
18258,
10998,
357,
289,
10025,
1267,
30,
46506,
20625,
7,
73,
1547,
13415,
8,
16034,
3084,
62,
3672,
62,
1959,
33411,
16076,
796,
366,
4528,
84,
331,
648,
357,
289,
10025,
1267,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
449,
1547,
13415,
1271,
329,
18258,
10998,
357,
289,
10025,
1267,
30,
46506,
20625,
7,
73,
1547,
13415,
8,
16034,
3084,
62,
3672,
62,
1959,
33411,
16076,
796,
366,
4528,
84,
331,
648,
357,
289,
10025,
1267,
1
] |
In the Spring or Summer term are there any 400 -level classes ? | SELECT DISTINCT course.department, course.name, course.number, semester.semester FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number BETWEEN 400 AND 400 + 100 AND semester.semester IN ('SP', 'SS', 'SU') AND semester.semester_id = cou... | [
818,
262,
8225,
393,
10216,
3381,
389,
612,
597,
7337,
532,
5715,
6097,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
24878,
13,
325,
6880,
353,
16034,
1781,
11,
1781,
62,
23... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
818,
262,
8225,
393,
10216,
3381,
389,
612,
597,
7337,
532,
5715,
6097,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
24878,
13,
325,
6880,
353,
16034,
1781,
11,
1781,
62,
23... |
What is the Founded year of the school located in Paul Smiths, New York? | SELECT "Founded" FROM table_33203 WHERE "Location" = 'paul smiths, new york' | [
2061,
318,
262,
4062,
276,
614,
286,
262,
1524,
5140,
287,
3362,
4176,
82,
11,
968,
1971,
30,
46506,
366,
37,
6302,
1,
16034,
3084,
62,
2091,
22416,
33411,
366,
14749,
1,
796,
705,
79,
2518,
895,
47252,
11,
649,
331,
967,
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
] | [
2061,
318,
262,
4062,
276,
614,
286,
262,
1524,
5140,
287,
3362,
4176,
82,
11,
968,
1971,
30,
46506,
366,
37,
6302,
1,
16034,
3084,
62,
2091,
22416,
33411,
366,
14749,
1,
796,
705,
79,
2518,
895,
47252,
11,
649,
331,
967,
6
] |
How many years did John Player Lotus used Cosworth v8? | SELECT SUM(year) FROM table_name_3 WHERE engine = "cosworth v8" AND entrant = "john player lotus" | [
2437,
867,
812,
750,
1757,
7853,
27578,
973,
10437,
9268,
410,
23,
30,
46506,
35683,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
18,
33411,
3113,
796,
366,
6966,
9268,
410,
23,
1,
5357,
920,
5250,
796,
366,
30686,
2137,
1256,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
812,
750,
1757,
7853,
27578,
973,
10437,
9268,
410,
23,
30,
46506,
35683,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
18,
33411,
3113,
796,
366,
6966,
9268,
410,
23,
1,
5357,
920,
5250,
796,
366,
30686,
2137,
1256,
385,
1
] |
What's the IHSAA Class when the school is Seymour? | SELECT "IHSAA Class" FROM table_79574 WHERE "School" = 'seymour' | [
2061,
338,
262,
314,
7998,
3838,
5016,
618,
262,
1524,
318,
42843,
30,
46506,
366,
40,
7998,
3838,
5016,
1,
16034,
3084,
62,
3720,
46900,
33411,
366,
26130,
1,
796,
705,
4397,
76,
454,
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,
338,
262,
314,
7998,
3838,
5016,
618,
262,
1524,
318,
42843,
30,
46506,
366,
40,
7998,
3838,
5016,
1,
16034,
3084,
62,
3720,
46900,
33411,
366,
26130,
1,
796,
705,
4397,
76,
454,
6
] |
What's the air date of part 1 of the episode whose part 2 aired on December 2, 2007? | SELECT part_1 FROM table_13241993_3 WHERE part_2 = "December 2, 2007" | [
2061,
338,
262,
1633,
3128,
286,
636,
352,
286,
262,
4471,
3025,
636,
362,
18530,
319,
3426,
362,
11,
4343,
30,
46506,
636,
62,
16,
16034,
3084,
62,
1485,
1731,
24465,
62,
18,
33411,
636,
62,
17,
796,
366,
20588,
362,
11,
4343,
1
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1633,
3128,
286,
636,
352,
286,
262,
4471,
3025,
636,
362,
18530,
319,
3426,
362,
11,
4343,
30,
46506,
636,
62,
16,
16034,
3084,
62,
1485,
1731,
24465,
62,
18,
33411,
636,
62,
17,
796,
366,
20588,
362,
11,
4343,
1
... |
which did he win more , best foreign actor or best actor ? | SELECT "category" FROM table_204_970 WHERE "category" IN ('best foreign actor', 'best actor') GROUP BY "category" ORDER BY COUNT(*) DESC LIMIT 1 | [
4758,
750,
339,
1592,
517,
837,
1266,
3215,
8674,
393,
1266,
8674,
5633,
46506,
366,
22872,
1,
16034,
3084,
62,
18638,
62,
43587,
33411,
366,
22872,
1,
3268,
19203,
13466,
3215,
8674,
3256,
705,
13466,
8674,
11537,
44441,
11050,
366,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
750,
339,
1592,
517,
837,
1266,
3215,
8674,
393,
1266,
8674,
5633,
46506,
366,
22872,
1,
16034,
3084,
62,
18638,
62,
43587,
33411,
366,
22872,
1,
3268,
19203,
13466,
3215,
8674,
3256,
705,
13466,
8674,
11537,
44441,
11050,
366,
22... |
Which Chart peak was Recorded on 2/19/69? | SELECT chart_peak FROM table_name_64 WHERE recorded = "2/19/69" | [
13828,
22086,
9103,
373,
50096,
319,
362,
14,
1129,
14,
3388,
30,
46506,
8262,
62,
36729,
16034,
3084,
62,
3672,
62,
2414,
33411,
6264,
796,
366,
17,
14,
1129,
14,
3388,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
22086,
9103,
373,
50096,
319,
362,
14,
1129,
14,
3388,
30,
46506,
8262,
62,
36729,
16034,
3084,
62,
3672,
62,
2414,
33411,
6264,
796,
366,
17,
14,
1129,
14,
3388,
1
] |
count the number of male patients who have diagnosis icd9 code 38842. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "M" AND diagnoses.icd9_code = "38842" | [
9127,
262,
1271,
286,
4257,
3871,
508,
423,
13669,
14158,
67,
24,
2438,
43550,
3682,
13,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4257,
3871,
508,
423,
13669,
14158,
67,
24,
2438,
43550,
3682,
13,
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,
... |
What is the campus fee of 'San Francisco State University' in year 2000? | SELECT t1.campusfee FROM csu_fees AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t2.campus = "San Francisco State University" AND t1.year = 2000 | [
2061,
318,
262,
7611,
6838,
286,
705,
15017,
6033,
1812,
2059,
6,
287,
614,
4751,
30,
46506,
256,
16,
13,
43842,
39071,
16034,
269,
2385,
62,
69,
2841,
7054,
256,
16,
32357,
1268,
23003,
7054,
256,
17,
6177,
256,
16,
13,
43842,
796,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
7611,
6838,
286,
705,
15017,
6033,
1812,
2059,
6,
287,
614,
4751,
30,
46506,
256,
16,
13,
43842,
39071,
16034,
269,
2385,
62,
69,
2841,
7054,
256,
16,
32357,
1268,
23003,
7054,
256,
17,
6177,
256,
16,
13,
43842,
796,... |
what is the result for the world group, semifinals after the year 1997? | SELECT result FROM table_name_19 WHERE year > 1997 AND competition = "world group, semifinals" | [
10919,
318,
262,
1255,
329,
262,
995,
1448,
11,
47633,
706,
262,
614,
8309,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
1129,
33411,
614,
1875,
8309,
5357,
5449,
796,
366,
6894,
1448,
11,
47633,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1255,
329,
262,
995,
1448,
11,
47633,
706,
262,
614,
8309,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
1129,
33411,
614,
1875,
8309,
5357,
5449,
796,
366,
6894,
1448,
11,
47633,
1
] |
Name the segment c with episode less than 179 and segment b of s sticker | SELECT "Segment C" FROM table_37387 WHERE "Episode" < '179' AND "Segment B" = 's sticker' | [
5376,
262,
10618,
269,
351,
4471,
1342,
621,
27228,
290,
10618,
275,
286,
264,
27735,
46506,
366,
41030,
434,
327,
1,
16034,
3084,
62,
2718,
32220,
33411,
366,
23758,
1,
1279,
705,
21738,
6,
5357,
366,
41030,
434,
347,
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
] | [
5376,
262,
10618,
269,
351,
4471,
1342,
621,
27228,
290,
10618,
275,
286,
264,
27735,
46506,
366,
41030,
434,
327,
1,
16034,
3084,
62,
2718,
32220,
33411,
366,
23758,
1,
1279,
705,
21738,
6,
5357,
366,
41030,
434,
347,
1,
796,
705,
... |
What is the 2007-08 season at Stadio Silvio Piola? | SELECT 2007 AS _08_season FROM table_name_75 WHERE stadium = "stadio silvio piola" | [
2061,
318,
262,
4343,
12,
2919,
1622,
379,
520,
324,
952,
4243,
85,
952,
350,
30292,
30,
46506,
4343,
7054,
4808,
2919,
62,
6230,
16034,
3084,
62,
3672,
62,
2425,
33411,
10308,
796,
366,
24107,
952,
3313,
85,
952,
279,
30292,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4343,
12,
2919,
1622,
379,
520,
324,
952,
4243,
85,
952,
350,
30292,
30,
46506,
4343,
7054,
4808,
2919,
62,
6230,
16034,
3084,
62,
3672,
62,
2425,
33411,
10308,
796,
366,
24107,
952,
3313,
85,
952,
279,
30292,
1
] |
What nationality is the pick from round 7? | SELECT nationality FROM table_name_9 WHERE round = 7 | [
2061,
29835,
318,
262,
2298,
422,
2835,
767,
30,
46506,
29835,
16034,
3084,
62,
3672,
62,
24,
33411,
2835,
796,
767
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
29835,
318,
262,
2298,
422,
2835,
767,
30,
46506,
29835,
16034,
3084,
62,
3672,
62,
24,
33411,
2835,
796,
767
] |
Breakdown of anonymously suggested edits. Gives an overview of how helpful anonymous editors are. | SELECT * FROM VoteTypes | [
31737,
2902,
286,
35373,
5220,
31671,
13,
402,
1083,
281,
16700,
286,
703,
7613,
11614,
15719,
389,
13,
46506,
1635,
16034,
19175,
31431
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
31737,
2902,
286,
35373,
5220,
31671,
13,
402,
1083,
281,
16700,
286,
703,
7613,
11614,
15719,
389,
13,
46506,
1635,
16034,
19175,
31431
] |
had patient 015-15167 ever undergone a tracheal suctioning until 3 years ago? | SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-15167')) AND treatment.treatmentname = 'tracheal suctioning' AND DATETIM... | [
18108,
5827,
5534,
20,
12,
1314,
21940,
1683,
29900,
257,
491,
4891,
282,
424,
596,
278,
1566,
513,
812,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
18108,
5827,
5534,
20,
12,
1314,
21940,
1683,
29900,
257,
491,
4891,
282,
424,
596,
278,
1566,
513,
812,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
... |
what were the drugs which were added to patient 90663 today compared to the ones yesterday? | SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 90663) AND DATETIME(prescriptions.startdate, 'start of day') = DATETIME(CURRENT_TIME(), 'start of day', '-0 day') EXCEPT SELECT prescriptions.drug FROM prescriptions WHERE... | [
10919,
547,
262,
5010,
543,
547,
2087,
284,
5827,
4101,
45791,
1909,
3688,
284,
262,
3392,
7415,
30,
46506,
34092,
13,
30349,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
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,
547,
262,
5010,
543,
547,
2087,
284,
5827,
4101,
45791,
1909,
3688,
284,
262,
3392,
7415,
30,
46506,
34092,
13,
30349,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
... |
Can you draw the trend of the number of actual delivery date over the actual delivery date?, order X-axis from high to low order. | SELECT Actual_Delivery_Date, COUNT(Actual_Delivery_Date) FROM Bookings ORDER BY Actual_Delivery_Date DESC | [
6090,
345,
3197,
262,
5182,
286,
262,
1271,
286,
4036,
7585,
3128,
625,
262,
4036,
7585,
3128,
21747,
1502,
1395,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
33520,
62,
33129,
62,
10430,
11,
327,
28270,
7,
6398,
723,
62,
33129,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
6090,
345,
3197,
262,
5182,
286,
262,
1271,
286,
4036,
7585,
3128,
625,
262,
4036,
7585,
3128,
21747,
1502,
1395,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
33520,
62,
33129,
62,
10430,
11,
327,
28270,
7,
6398,
723,
62,
33129,
... |
When the team is Toronto how many times did they place third? | SELECT COUNT(third_place) FROM table_1571238_2 WHERE team = "Toronto" | [
2215,
262,
1074,
318,
6586,
703,
867,
1661,
750,
484,
1295,
2368,
30,
46506,
327,
28270,
7,
17089,
62,
5372,
8,
16034,
3084,
62,
18458,
1065,
2548,
62,
17,
33411,
1074,
796,
366,
31359,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
1074,
318,
6586,
703,
867,
1661,
750,
484,
1295,
2368,
30,
46506,
327,
28270,
7,
17089,
62,
5372,
8,
16034,
3084,
62,
18458,
1065,
2548,
62,
17,
33411,
1074,
796,
366,
31359,
1
] |
Score of 2 3 ot on what date? | SELECT date FROM table_name_76 WHERE score = "2–3 ot" | [
26595,
286,
362,
513,
30972,
319,
644,
3128,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
4304,
33411,
4776,
796,
366,
17,
1906,
18,
30972,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26595,
286,
362,
513,
30972,
319,
644,
3128,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
4304,
33411,
4776,
796,
366,
17,
1906,
18,
30972,
1
] |
What round was Joe Patton selected with a pick over 68? | SELECT round FROM table_name_94 WHERE pick > 68 AND player = "joe patton" | [
2061,
2835,
373,
5689,
40929,
6163,
351,
257,
2298,
625,
8257,
30,
46506,
2835,
16034,
3084,
62,
3672,
62,
5824,
33411,
2298,
1875,
8257,
5357,
2137,
796,
366,
73,
2577,
279,
38680,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2835,
373,
5689,
40929,
6163,
351,
257,
2298,
625,
8257,
30,
46506,
2835,
16034,
3084,
62,
3672,
62,
5824,
33411,
2298,
1875,
8257,
5357,
2137,
796,
366,
73,
2577,
279,
38680,
1
] |
fine can you give me information on ground transportation in WASHINGTON to downtown | SELECT DISTINCT ground_service.transport_type FROM airport, airport_service, city, ground_service WHERE airport.airport_code = airport_service.airport_code AND city.city_code = airport_service.city_code AND city.city_name = 'WASHINGTON' AND ground_service.airport_code = airport.airport_code | [
38125,
460,
345,
1577,
502,
1321,
319,
2323,
9358,
287,
370,
19436,
284,
9436,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
9003,
11,
9003,
62,
15271,
11,
1748,
11,
2323,
62,
15271,
33411,
9003,
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... | [
38125,
460,
345,
1577,
502,
1321,
319,
2323,
9358,
287,
370,
19436,
284,
9436,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
9003,
11,
9003,
62,
15271,
11,
1748,
11,
2323,
62,
15271,
33411,
9003,
13,
... |
What is the tie number for Middlesbrough? | SELECT "Tie no" FROM table_59958 WHERE "Home team" = 'middlesbrough' | [
2061,
318,
262,
9839,
1271,
329,
46050,
65,
740,
30,
46506,
366,
51,
494,
645,
1,
16034,
3084,
62,
43452,
3365,
33411,
366,
16060,
1074,
1,
796,
705,
76,
29319,
65,
740,
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,
262,
9839,
1271,
329,
46050,
65,
740,
30,
46506,
366,
51,
494,
645,
1,
16034,
3084,
62,
43452,
3365,
33411,
366,
16060,
1074,
1,
796,
705,
76,
29319,
65,
740,
6
] |
What was the score for United States when the player was Mike Reid and the To par was e? | SELECT "Score" FROM table_43754 WHERE "Country" = 'united states' AND "To par" = 'e' AND "Player" = 'mike reid' | [
2061,
373,
262,
4776,
329,
1578,
1829,
618,
262,
2137,
373,
4995,
16095,
290,
262,
1675,
1582,
373,
304,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3559,
41874,
33411,
366,
33921,
1,
796,
705,
41187,
2585,
6,
5357,
366,
2514,
1582,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1578,
1829,
618,
262,
2137,
373,
4995,
16095,
290,
262,
1675,
1582,
373,
304,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3559,
41874,
33411,
366,
33921,
1,
796,
705,
41187,
2585,
6,
5357,
366,
2514,
1582,
... |
With a Rank of 19, and a Start of 14, what was the finish? | SELECT finish FROM table_name_41 WHERE rank = "19" AND start = "14" | [
3152,
257,
10916,
286,
678,
11,
290,
257,
7253,
286,
1478,
11,
644,
373,
262,
5461,
30,
46506,
5461,
16034,
3084,
62,
3672,
62,
3901,
33411,
4279,
796,
366,
1129,
1,
5357,
923,
796,
366,
1415,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3152,
257,
10916,
286,
678,
11,
290,
257,
7253,
286,
1478,
11,
644,
373,
262,
5461,
30,
46506,
5461,
16034,
3084,
62,
3672,
62,
3901,
33411,
4279,
796,
366,
1129,
1,
5357,
923,
796,
366,
1415,
1
] |
when did patient 031-4423 receive a microbiology test first time? | SELECT microlab.culturetakentime FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-4423')) ORDER BY microlab.culturetakentime LIMIT 1 | [
12518,
750,
5827,
657,
3132,
12,
2598,
1954,
3328,
257,
24559,
1435,
1332,
717,
640,
30,
46506,
4580,
23912,
13,
25584,
83,
461,
298,
524,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
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,
750,
5827,
657,
3132,
12,
2598,
1954,
3328,
257,
24559,
1435,
1332,
717,
640,
30,
46506,
4580,
23912,
13,
25584,
83,
461,
298,
524,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,... |
What is the Round of the event with a Record of 5-4? | SELECT "Round" FROM table_63456 WHERE "Record" = '5-4' | [
2061,
318,
262,
10485,
286,
262,
1785,
351,
257,
13266,
286,
642,
12,
19,
30,
46506,
366,
22685,
1,
16034,
3084,
62,
5066,
29228,
33411,
366,
23739,
1,
796,
705,
20,
12,
19,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
10485,
286,
262,
1785,
351,
257,
13266,
286,
642,
12,
19,
30,
46506,
366,
22685,
1,
16034,
3084,
62,
5066,
29228,
33411,
366,
23739,
1,
796,
705,
20,
12,
19,
6
] |
What is the date of the game where South Melbourne was the away team? | SELECT date FROM table_name_58 WHERE away_team = "south melbourne" | [
2061,
318,
262,
3128,
286,
262,
983,
810,
2520,
14819,
373,
262,
1497,
1074,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3365,
33411,
1497,
62,
15097,
796,
366,
35782,
7758,
12544,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
286,
262,
983,
810,
2520,
14819,
373,
262,
1497,
1074,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3365,
33411,
1497,
62,
15097,
796,
366,
35782,
7758,
12544,
1
] |
What position did Lee Gilmour play while having more than 4 Tries and 20 points? | SELECT position FROM table_name_58 WHERE tries > 4 AND points = 20 AND player = "lee gilmour" | [
2061,
2292,
750,
5741,
10689,
76,
454,
711,
981,
1719,
517,
621,
604,
309,
1678,
290,
1160,
2173,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
3365,
33411,
8404,
1875,
604,
5357,
2173,
796,
1160,
5357,
2137,
796,
366,
7197,
308,
346,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
750,
5741,
10689,
76,
454,
711,
981,
1719,
517,
621,
604,
309,
1678,
290,
1160,
2173,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
3365,
33411,
8404,
1875,
604,
5357,
2173,
796,
1160,
5357,
2137,
796,
366,
7197,
308,
346,
... |
What number was there 6.01 million u.s. drivers? | SELECT no_in_season FROM table_23483182_1 WHERE us_viewers__million_ = "6.01" | [
2061,
1271,
373,
612,
718,
13,
486,
1510,
334,
13,
82,
13,
6643,
30,
46506,
645,
62,
259,
62,
6230,
16034,
3084,
62,
1954,
38783,
24294,
62,
16,
33411,
514,
62,
1177,
364,
834,
14100,
62,
796,
366,
21,
13,
486,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
373,
612,
718,
13,
486,
1510,
334,
13,
82,
13,
6643,
30,
46506,
645,
62,
259,
62,
6230,
16034,
3084,
62,
1954,
38783,
24294,
62,
16,
33411,
514,
62,
1177,
364,
834,
14100,
62,
796,
366,
21,
13,
486,
1
] |
What position does pick 113 play? | SELECT position FROM table_name_96 WHERE pick = 113 | [
2061,
2292,
857,
2298,
17318,
711,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
4846,
33411,
2298,
796,
17318
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2292,
857,
2298,
17318,
711,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
4846,
33411,
2298,
796,
17318
] |
Find the number of different states which banks are located at. | SELECT COUNT(DISTINCT state) FROM bank | [
16742,
262,
1271,
286,
1180,
2585,
543,
6341,
389,
5140,
379,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
1181,
8,
16034,
3331
] | [
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,
1180,
2585,
543,
6341,
389,
5140,
379,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
1181,
8,
16034,
3331
] |
What was the total number of votes for Tom Connally | SELECT MIN(first_elected) FROM table_1342393_42 WHERE incumbent = "Tom Connally" | [
2061,
373,
262,
2472,
1271,
286,
5690,
329,
4186,
20776,
453,
46506,
20625,
7,
11085,
62,
28604,
8,
16034,
3084,
62,
19880,
1954,
6052,
62,
3682,
33411,
23526,
796,
366,
13787,
20776,
453,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
1271,
286,
5690,
329,
4186,
20776,
453,
46506,
20625,
7,
11085,
62,
28604,
8,
16034,
3084,
62,
19880,
1954,
6052,
62,
3682,
33411,
23526,
796,
366,
13787,
20776,
453,
1
] |
Show the number of companies whose headquarters are not from USA fpr each main industry in a bar chart, show X-axis in ascending order please. | SELECT Main_Industry, COUNT(Main_Industry) FROM company WHERE Headquarters <> 'USA' GROUP BY Main_Industry ORDER BY Main_Industry | [
15307,
262,
1271,
286,
2706,
3025,
10043,
389,
407,
422,
4916,
277,
1050,
1123,
1388,
2831,
287,
257,
2318,
8262,
11,
905,
1395,
12,
22704,
287,
41988,
1502,
3387,
13,
46506,
8774,
62,
35848,
563,
11,
327,
28270,
7,
13383,
62,
35848,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
2706,
3025,
10043,
389,
407,
422,
4916,
277,
1050,
1123,
1388,
2831,
287,
257,
2318,
8262,
11,
905,
1395,
12,
22704,
287,
41988,
1502,
3387,
13,
46506,
8774,
62,
35848,
563,
11,
327,
28270,
7,
13383,
62,
35848,
... |
what is the number of patients whose diagnoses short title is surg compl-heart and drug type is main? | 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 = "Surg compl-heart" AND prescriptions.drug_type = "MAIN" | [
10919,
318,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
19797,
2299,
12,
11499,
290,
2563,
2099,
318,
1388,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
19797,
2299,
12,
11499,
290,
2563,
2099,
318,
1388,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
... |
How large is the Boreal Shield in km2? | SELECT COUNT(area__km²_) FROM table_15555661_2 WHERE ecozone = "Boreal Shield" | [
2437,
1588,
318,
262,
347,
39396,
10022,
287,
10571,
17,
30,
46506,
327,
28270,
7,
20337,
834,
13276,
31185,
62,
8,
16034,
3084,
62,
1314,
31046,
47159,
62,
17,
33411,
34286,
11340,
796,
366,
33,
39396,
10022,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1588,
318,
262,
347,
39396,
10022,
287,
10571,
17,
30,
46506,
327,
28270,
7,
20337,
834,
13276,
31185,
62,
8,
16034,
3084,
62,
1314,
31046,
47159,
62,
17,
33411,
34286,
11340,
796,
366,
33,
39396,
10022,
1
] |
what country ranks first in total medals won ? | SELECT "nation" FROM table_203_608 ORDER BY "total" DESC LIMIT 1 | [
10919,
1499,
9803,
717,
287,
2472,
28057,
1839,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
22416,
62,
28688,
38678,
11050,
366,
23350,
1,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
1499,
9803,
717,
287,
2472,
28057,
1839,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
22416,
62,
28688,
38678,
11050,
366,
23350,
1,
22196,
34,
27564,
2043,
352
] |
What is the average long that Ramon Richardson played and an average greater than 5.5? | SELECT AVG("Long") FROM table_55373 WHERE "Player" = 'ramon richardson' AND "Avg." > '5.5' | [
2061,
318,
262,
2811,
890,
326,
7431,
261,
21679,
2826,
290,
281,
2811,
3744,
621,
642,
13,
20,
30,
46506,
35224,
7203,
14617,
4943,
16034,
3084,
62,
2816,
34770,
33411,
366,
14140,
1,
796,
705,
859,
261,
5527,
1371,
261,
6,
5357,
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
] | [
2061,
318,
262,
2811,
890,
326,
7431,
261,
21679,
2826,
290,
281,
2811,
3744,
621,
642,
13,
20,
30,
46506,
35224,
7203,
14617,
4943,
16034,
3084,
62,
2816,
34770,
33411,
366,
14140,
1,
796,
705,
859,
261,
5527,
1371,
261,
6,
5357,
3... |
get me the number of patients with a diagnoses icd9 code 76517 who have private health insurance. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Private" AND diagnoses.icd9_code = "76517" | [
1136,
502,
262,
1271,
286,
3871,
351,
257,
40567,
14158,
67,
24,
2438,
767,
2996,
1558,
508,
423,
2839,
1535,
5096,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1136,
502,
262,
1271,
286,
3871,
351,
257,
40567,
14158,
67,
24,
2438,
767,
2996,
1558,
508,
423,
2839,
1535,
5096,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
... |
Which home team an Away team score of 7.9 (51)? | SELECT "Home team" FROM table_51922 WHERE "Away team score" = '7.9 (51)' | [
13828,
1363,
1074,
281,
21986,
1074,
4776,
286,
767,
13,
24,
357,
4349,
19427,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
47785,
1828,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
22,
13,
24,
357,
4349,
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
] | [
13828,
1363,
1074,
281,
21986,
1074,
4776,
286,
767,
13,
24,
357,
4349,
19427,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
47785,
1828,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
22,
13,
24,
357,
4349,
33047
] |
Who directed episode 28 in the series? | SELECT "Directed by" FROM table_26607 WHERE "No. in series" = '28' | [
8241,
7924,
4471,
2579,
287,
262,
2168,
30,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
2075,
31980,
33411,
366,
2949,
13,
287,
2168,
1,
796,
705,
2078,
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
] | [
8241,
7924,
4471,
2579,
287,
262,
2168,
30,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
2075,
31980,
33411,
366,
2949,
13,
287,
2168,
1,
796,
705,
2078,
6
] |
How much March has Points of 85? | SELECT COUNT(march) FROM table_name_24 WHERE points = 85 | [
2437,
881,
2805,
468,
11045,
286,
7600,
30,
46506,
327,
28270,
7,
76,
998,
8,
16034,
3084,
62,
3672,
62,
1731,
33411,
2173,
796,
7600
] | [
1,
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,
2805,
468,
11045,
286,
7600,
30,
46506,
327,
28270,
7,
76,
998,
8,
16034,
3084,
62,
3672,
62,
1731,
33411,
2173,
796,
7600
] |
Who is the arranger for 'I KIssed a Girl'? | SELECT arranger_s_ FROM table_28715942_6 WHERE track = "I Kissed a Girl" | [
8241,
318,
262,
5240,
2564,
329,
705,
40,
509,
27738,
276,
257,
7430,
30960,
46506,
5240,
2564,
62,
82,
62,
16034,
3084,
62,
27800,
19707,
3682,
62,
21,
33411,
2610,
796,
366,
40,
20350,
276,
257,
7430,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5240,
2564,
329,
705,
40,
509,
27738,
276,
257,
7430,
30960,
46506,
5240,
2564,
62,
82,
62,
16034,
3084,
62,
27800,
19707,
3682,
62,
21,
33411,
2610,
796,
366,
40,
20350,
276,
257,
7430,
1
] |
what is the first performance of the last performance on 03/29/1957 | SELECT first_performance FROM table_19189856_1 WHERE last_performance = "03/29/1957" | [
10919,
318,
262,
717,
2854,
286,
262,
938,
2854,
319,
7643,
14,
1959,
14,
1129,
3553,
46506,
717,
62,
26585,
16034,
3084,
62,
1129,
1507,
4089,
3980,
62,
16,
33411,
938,
62,
26585,
796,
366,
3070,
14,
1959,
14,
1129,
3553,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
717,
2854,
286,
262,
938,
2854,
319,
7643,
14,
1959,
14,
1129,
3553,
46506,
717,
62,
26585,
16034,
3084,
62,
1129,
1507,
4089,
3980,
62,
16,
33411,
938,
62,
26585,
796,
366,
3070,
14,
1959,
14,
1129,
3553,
1
] |
what is the highest round when the overall is less than 17? | SELECT MAX(round) FROM table_name_32 WHERE overall < 17 | [
10919,
318,
262,
4511,
2835,
618,
262,
4045,
318,
1342,
621,
1596,
30,
46506,
25882,
7,
744,
8,
16034,
3084,
62,
3672,
62,
2624,
33411,
4045,
1279,
1596
] | [
1,
1,
1,
1,
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,
4511,
2835,
618,
262,
4045,
318,
1342,
621,
1596,
30,
46506,
25882,
7,
744,
8,
16034,
3084,
62,
3672,
62,
2624,
33411,
4045,
1279,
1596
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, find hire_date and the amount of hire_date bin hire_date by weekday, and visualize them by a bar chart. | SELECT HIRE_DATE, COUNT(HIRE_DATE) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1064,
11078,
62,
4475,
290,
262,
2033,
286,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
28269,
11,
290,
38350,
606,
416,
25... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1064,
11078,
62,
4475,
290,
262,
2033,
286,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
28269,
11,
290,
38350,
606,
416,
25... |
Which Ratio has a Name of ansi e? | SELECT MIN("Ratio") FROM table_48266 WHERE "Name" = 'ansi e' | [
13828,
33956,
468,
257,
6530,
286,
9093,
72,
304,
30,
46506,
20625,
7203,
29665,
952,
4943,
16034,
3084,
62,
2780,
25540,
33411,
366,
5376,
1,
796,
705,
504,
72,
304,
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,
33956,
468,
257,
6530,
286,
9093,
72,
304,
30,
46506,
20625,
7203,
29665,
952,
4943,
16034,
3084,
62,
2780,
25540,
33411,
366,
5376,
1,
796,
705,
504,
72,
304,
6
] |
For next term , is 203 offered ? | SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number = 203 AND semester.semester = 'FA' AND semester.semester_id = course_offering.semester AND semester.year = 2016 | [
1890,
1306,
3381,
837,
318,
27408,
4438,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
62,
312,
5357,
1781,
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... | [
1890,
1306,
3381,
837,
318,
27408,
4438,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
62,
312,
5357,
1781,
13,
... |
Bar chart of the number of position from each position, and list in ascending by the Position. | SELECT Position, COUNT(Position) FROM pilot GROUP BY Position ORDER BY Position | [
10374,
8262,
286,
262,
1271,
286,
2292,
422,
1123,
2292,
11,
290,
1351,
287,
41988,
416,
262,
23158,
13,
46506,
23158,
11,
327,
28270,
7,
26545,
8,
16034,
8022,
44441,
11050,
23158,
38678,
11050,
23158
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
8262,
286,
262,
1271,
286,
2292,
422,
1123,
2292,
11,
290,
1351,
287,
41988,
416,
262,
23158,
13,
46506,
23158,
11,
327,
28270,
7,
26545,
8,
16034,
8022,
44441,
11050,
23158,
38678,
11050,
23158
] |
what is insurance and procedure short title of subject id 92796? | SELECT demographic.insurance, procedures.short_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "92796" | [
10919,
318,
5096,
290,
8771,
1790,
3670,
286,
2426,
4686,
860,
1983,
4846,
30,
46506,
16728,
13,
1040,
3874,
11,
9021,
13,
19509,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5096,
290,
8771,
1790,
3670,
286,
2426,
4686,
860,
1983,
4846,
30,
46506,
16728,
13,
1040,
3874,
11,
9021,
13,
19509,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
... |
How many Class AAAA winners where in 2002-03? | SELECT COUNT("Class AAAA") FROM table_19430 WHERE "School Year" = '2002-03' | [
2437,
867,
5016,
25734,
32,
14591,
810,
287,
6244,
12,
3070,
30,
46506,
327,
28270,
7203,
9487,
25734,
32,
4943,
16034,
3084,
62,
22913,
1270,
33411,
366,
26130,
6280,
1,
796,
705,
16942,
12,
3070,
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
] | [
2437,
867,
5016,
25734,
32,
14591,
810,
287,
6244,
12,
3070,
30,
46506,
327,
28270,
7203,
9487,
25734,
32,
4943,
16034,
3084,
62,
22913,
1270,
33411,
366,
26130,
6280,
1,
796,
705,
16942,
12,
3070,
6
] |
For all employees who have the letters D or S in their first name, give me the comparison about the average of salary over the job_id , and group by attribute job_id by a bar chart, and show y axis in descending order. | SELECT JOB_ID, AVG(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY AVG(SALARY) DESC | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
9588,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
416,
257,
2318,
8262,
11,
290,
905,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
9588,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
416,
257,
2318,
8262,
11,
290,
905,... |
What team visited the Jacksonville Municipal Stadium? | SELECT "Visiting team" FROM table_68711 WHERE "Stadium" = 'jacksonville municipal stadium' | [
2061,
1074,
8672,
262,
23194,
31526,
10499,
30,
46506,
366,
15854,
1780,
1074,
1,
16034,
3084,
62,
39925,
1157,
33411,
366,
1273,
6271,
1,
796,
705,
19650,
1559,
4244,
13474,
10308,
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,
1074,
8672,
262,
23194,
31526,
10499,
30,
46506,
366,
15854,
1780,
1074,
1,
16034,
3084,
62,
39925,
1157,
33411,
366,
1273,
6271,
1,
796,
705,
19650,
1559,
4244,
13474,
10308,
6
] |
when was the first time patient 9519 was prescribed magnesium sulfate with atorvastatin at the same time in 12/last year? | SELECT t1.startdate FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'magnesium sulfate' AND admissions.subject_id = 9519 AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(... | [
12518,
373,
262,
717,
640,
5827,
6957,
1129,
373,
14798,
33525,
22443,
378,
351,
379,
273,
85,
459,
10680,
379,
262,
976,
640,
287,
1105,
14,
12957,
614,
30,
46506,
256,
16,
13,
9688,
4475,
16034,
357,
46506,
25349,
13,
32796,
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... | [
12518,
373,
262,
717,
640,
5827,
6957,
1129,
373,
14798,
33525,
22443,
378,
351,
379,
273,
85,
459,
10680,
379,
262,
976,
640,
287,
1105,
14,
12957,
614,
30,
46506,
256,
16,
13,
9688,
4475,
16034,
357,
46506,
25349,
13,
32796,
62,
3... |
When the lane is under 2 and the name is virgen benavides with a mark of 7.29, what's the total number of Heat found? | SELECT COUNT(heat) FROM table_name_14 WHERE mark = "7.29" AND name = "virgen benavides" AND lane < 2 | [
2215,
262,
11193,
318,
739,
362,
290,
262,
1438,
318,
5709,
5235,
1888,
615,
1460,
351,
257,
1317,
286,
767,
13,
1959,
11,
644,
338,
262,
2472,
1271,
286,
12308,
1043,
30,
46506,
327,
28270,
7,
25080,
8,
16034,
3084,
62,
3672,
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... | [
2215,
262,
11193,
318,
739,
362,
290,
262,
1438,
318,
5709,
5235,
1888,
615,
1460,
351,
257,
1317,
286,
767,
13,
1959,
11,
644,
338,
262,
2472,
1271,
286,
12308,
1043,
30,
46506,
327,
28270,
7,
25080,
8,
16034,
3084,
62,
3672,
62,
... |
how many oxygen therapy (> 60%) procedures have occurred in the previous year? | SELECT COUNT(*) FROM treatment WHERE treatment.treatmentname = 'oxygen therapy (> 60%)' AND DATETIME(treatment.treatmenttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') | [
4919,
867,
11863,
9102,
45160,
3126,
4407,
9021,
423,
5091,
287,
262,
2180,
614,
30,
46506,
327,
28270,
7,
28104,
16034,
3513,
33411,
3513,
13,
42487,
3672,
796,
705,
23536,
5235,
9102,
45160,
3126,
4407,
6,
5357,
360,
1404,
2767,
12789... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11863,
9102,
45160,
3126,
4407,
9021,
423,
5091,
287,
262,
2180,
614,
30,
46506,
327,
28270,
7,
28104,
16034,
3513,
33411,
3513,
13,
42487,
3672,
796,
705,
23536,
5235,
9102,
45160,
3126,
4407,
6,
5357,
360,
1404,
2767,
12789... |
What is the city/state of the circuit where Russell Ingall Larry Perkins was the winner? | SELECT "City / State" FROM table_51037 WHERE "Winner" = 'russell ingall larry perkins' | [
2061,
318,
262,
1748,
14,
5219,
286,
262,
10349,
810,
11563,
17589,
439,
13633,
29618,
373,
262,
8464,
30,
46506,
366,
14941,
1220,
1812,
1,
16034,
3084,
62,
33690,
2718,
33411,
366,
48056,
1,
796,
705,
14932,
7255,
5347,
439,
300,
65... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1748,
14,
5219,
286,
262,
10349,
810,
11563,
17589,
439,
13633,
29618,
373,
262,
8464,
30,
46506,
366,
14941,
1220,
1812,
1,
16034,
3084,
62,
33690,
2718,
33411,
366,
48056,
1,
796,
705,
14932,
7255,
5347,
439,
300,
65... |
Which Polish Cup has a Puchat Ligi larger than 0? | SELECT AVG(polish_cup) FROM table_name_20 WHERE puchat_ligi > 0 | [
13828,
15945,
5454,
468,
257,
350,
794,
265,
406,
25754,
4025,
621,
657,
30,
46506,
35224,
7,
16104,
680,
62,
25244,
8,
16034,
3084,
62,
3672,
62,
1238,
33411,
279,
794,
265,
62,
4604,
72,
1875,
657
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15945,
5454,
468,
257,
350,
794,
265,
406,
25754,
4025,
621,
657,
30,
46506,
35224,
7,
16104,
680,
62,
25244,
8,
16034,
3084,
62,
3672,
62,
1238,
33411,
279,
794,
265,
62,
4604,
72,
1875,
657
] |
what is the name of the treatment which has been given to patient 025-27850 two or more times in the previous month? | SELECT t1.treatmentname FROM (SELECT treatment.treatmentname, COUNT(treatment.treatmenttime) AS c1 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid ... | [
10919,
318,
262,
1438,
286,
262,
3513,
543,
468,
587,
1813,
284,
5827,
657,
1495,
12,
1983,
25764,
734,
393,
517,
1661,
287,
262,
2180,
1227,
30,
46506,
256,
16,
13,
42487,
3672,
16034,
357,
46506,
3513,
13,
42487,
3672,
11,
327,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1438,
286,
262,
3513,
543,
468,
587,
1813,
284,
5827,
657,
1495,
12,
1983,
25764,
734,
393,
517,
1661,
287,
262,
2180,
1227,
30,
46506,
256,
16,
13,
42487,
3672,
16034,
357,
46506,
3513,
13,
42487,
3672,
11,
327,
28... |
What is listed for the 2012 that has a 2011 of 28.9%? | SELECT 2012 FROM table_name_86 WHERE 2011 = "28.9%" | [
2061,
318,
5610,
329,
262,
2321,
326,
468,
257,
2813,
286,
2579,
13,
24,
4,
30,
46506,
2321,
16034,
3084,
62,
3672,
62,
4521,
33411,
2813,
796,
366,
2078,
13,
24,
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
] | [
2061,
318,
5610,
329,
262,
2321,
326,
468,
257,
2813,
286,
2579,
13,
24,
4,
30,
46506,
2321,
16034,
3084,
62,
3672,
62,
4521,
33411,
2813,
796,
366,
2078,
13,
24,
39658
] |
Which Rank is the lowest one that has a Name of maribor cathedral? | SELECT MIN("Rank") FROM table_74821 WHERE "Name" = 'maribor cathedral' | [
13828,
10916,
318,
262,
9016,
530,
326,
468,
257,
6530,
286,
1667,
571,
273,
41756,
30,
46506,
20625,
7203,
27520,
4943,
16034,
3084,
62,
48246,
2481,
33411,
366,
5376,
1,
796,
705,
3876,
571,
273,
41756,
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,
10916,
318,
262,
9016,
530,
326,
468,
257,
6530,
286,
1667,
571,
273,
41756,
30,
46506,
20625,
7203,
27520,
4943,
16034,
3084,
62,
48246,
2481,
33411,
366,
5376,
1,
796,
705,
3876,
571,
273,
41756,
6
] |
How many times did anderson university leave? | SELECT COUNT(left) FROM table_11658094_3 WHERE institution = "Anderson University" | [
2437,
867,
1661,
750,
290,
882,
6403,
2666,
30,
46506,
327,
28270,
7,
9464,
8,
16034,
3084,
62,
1157,
2996,
1795,
5824,
62,
18,
33411,
9901,
796,
366,
42991,
2059,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
1661,
750,
290,
882,
6403,
2666,
30,
46506,
327,
28270,
7,
9464,
8,
16034,
3084,
62,
1157,
2996,
1795,
5824,
62,
18,
33411,
9901,
796,
366,
42991,
2059,
1
] |
Tyne and Wear County has what total membership for their metropolitan area? | SELECT metropolitan_area FROM table_2273738_1 WHERE county = "Tyne and Wear" | [
25492,
710,
290,
27539,
3418,
468,
644,
2472,
9931,
329,
511,
27953,
1989,
30,
46506,
27953,
62,
20337,
16034,
3084,
62,
24403,
2718,
2548,
62,
16,
33411,
7968,
796,
366,
25492,
710,
290,
27539,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
25492,
710,
290,
27539,
3418,
468,
644,
2472,
9931,
329,
511,
27953,
1989,
30,
46506,
27953,
62,
20337,
16034,
3084,
62,
24403,
2718,
2548,
62,
16,
33411,
7968,
796,
366,
25492,
710,
290,
27539,
1
] |
What is the Flagship of the Show Hosted by Rover (Shane French)? | SELECT "Flagship" FROM table_50180 WHERE "Host(s)" = 'rover (shane french)' | [
2061,
318,
262,
34771,
1056,
286,
262,
5438,
14504,
276,
416,
36718,
357,
2484,
1531,
4141,
19427,
46506,
366,
40053,
1056,
1,
16034,
3084,
62,
33548,
1795,
33411,
366,
17932,
7,
82,
16725,
796,
705,
305,
332,
357,
1477,
1531,
48718,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
34771,
1056,
286,
262,
5438,
14504,
276,
416,
36718,
357,
2484,
1531,
4141,
19427,
46506,
366,
40053,
1056,
1,
16034,
3084,
62,
33548,
1795,
33411,
366,
17932,
7,
82,
16725,
796,
705,
305,
332,
357,
1477,
1531,
48718,
... |
What is the capacity for the institution of university of alberta? | SELECT capacity FROM table_27599216_6 WHERE institution = "University of Alberta" | [
2061,
318,
262,
5339,
329,
262,
9901,
286,
6403,
286,
435,
4835,
64,
30,
46506,
5339,
16034,
3084,
62,
23195,
2079,
20666,
62,
21,
33411,
9901,
796,
366,
21009,
286,
15555,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
5339,
329,
262,
9901,
286,
6403,
286,
435,
4835,
64,
30,
46506,
5339,
16034,
3084,
62,
23195,
2079,
20666,
62,
21,
33411,
9901,
796,
366,
21009,
286,
15555,
1
] |
Which leading scorer has a Home of grizzlies, and a Record of 10 28? | SELECT "Leading scorer" FROM table_57745 WHERE "Home" = 'grizzlies' AND "Record" = '10–28' | [
13828,
3756,
30664,
468,
257,
5995,
286,
46307,
13508,
11,
290,
257,
13266,
286,
838,
2579,
30,
46506,
366,
20451,
278,
30664,
1,
16034,
3084,
62,
49447,
2231,
33411,
366,
16060,
1,
796,
705,
70,
380,
3019,
13508,
6,
5357,
366,
23739,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3756,
30664,
468,
257,
5995,
286,
46307,
13508,
11,
290,
257,
13266,
286,
838,
2579,
30,
46506,
366,
20451,
278,
30664,
1,
16034,
3084,
62,
49447,
2231,
33411,
366,
16060,
1,
796,
705,
70,
380,
3019,
13508,
6,
5357,
366,
23739,... |
What score did Leonard Thompson have when he won $9,000? | SELECT score FROM table_name_74 WHERE money___$__ = "9,000" AND player = "leonard thompson" | [
2061,
4776,
750,
20131,
11654,
423,
618,
339,
1839,
720,
24,
11,
830,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4524,
33411,
1637,
17569,
3,
834,
796,
366,
24,
11,
830,
1,
5357,
2137,
796,
366,
38970,
446,
294,
296,
8430,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4776,
750,
20131,
11654,
423,
618,
339,
1839,
720,
24,
11,
830,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4524,
33411,
1637,
17569,
3,
834,
796,
366,
24,
11,
830,
1,
5357,
2137,
796,
366,
38970,
446,
294,
296,
8430,
1
] |
Number of questions tagged with Jetbrains. | SELECT TagName AS Tag, Count FROM Tags WHERE TagName LIKE '%fhir%' | [
15057,
286,
2683,
30509,
351,
19013,
1671,
1299,
13,
46506,
17467,
5376,
7054,
17467,
11,
2764,
16034,
44789,
33411,
17467,
5376,
34178,
705,
4,
69,
71,
343,
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
] | [
15057,
286,
2683,
30509,
351,
19013,
1671,
1299,
13,
46506,
17467,
5376,
7054,
17467,
11,
2764,
16034,
44789,
33411,
17467,
5376,
34178,
705,
4,
69,
71,
343,
4,
6
] |
what's the cost for a t4 laboratory test? | SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'lab' AND cost.eventid IN (SELECT lab.labid FROM lab WHERE lab.labname = 't4') | [
10919,
338,
262,
1575,
329,
257,
256,
19,
14010,
1332,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
23912,
6,
5357,
1575,
13,
15596,
312,
3268,
357,
46506,
2248,
13,
23912,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
338,
262,
1575,
329,
257,
256,
19,
14010,
1332,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
23912,
6,
5357,
1575,
13,
15596,
312,
3268,
357,
46506,
2248,
13,
23912,
31... |
For the attribute ACC_Road and the sum of Team_ID, show their proportion by a pie chart. | SELECT ACC_Road, SUM(Team_ID) FROM basketball_match GROUP BY ACC_Road | [
1890,
262,
11688,
15859,
62,
29197,
290,
262,
2160,
286,
4816,
62,
2389,
11,
905,
511,
9823,
416,
257,
2508,
8262,
13,
46506,
15859,
62,
29197,
11,
35683,
7,
15592,
62,
2389,
8,
16034,
9669,
62,
15699,
44441,
11050,
15859,
62,
29197
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11688,
15859,
62,
29197,
290,
262,
2160,
286,
4816,
62,
2389,
11,
905,
511,
9823,
416,
257,
2508,
8262,
13,
46506,
15859,
62,
29197,
11,
35683,
7,
15592,
62,
2389,
8,
16034,
9669,
62,
15699,
44441,
11050,
15859,
62,
29197
] |
What city was a visitor on the date of April 30? | SELECT "Visitor" FROM table_53231 WHERE "Date" = 'april 30' | [
2061,
1748,
373,
257,
21493,
319,
262,
3128,
286,
3035,
1542,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
4310,
25667,
33411,
366,
10430,
1,
796,
705,
499,
22379,
1542,
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,
1748,
373,
257,
21493,
319,
262,
3128,
286,
3035,
1542,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
4310,
25667,
33411,
366,
10430,
1,
796,
705,
499,
22379,
1542,
6
] |
Average Answer Score for sapui5 / openui5 Questions. | SELECT AVG(Answers.Score) FROM Posts AS Answers INNER JOIN Posts AS Questions ON Answers.ParentId = Questions.Id INNER JOIN PostTags ON Questions.Id = PostTags.PostId INNER JOIN Tags ON PostTags.TagId = Tags.Id WHERE Questions.PostTypeId = 1 AND Answers.PostTypeId = 2 AND (Tags.TagName = 'openui5' OR Tags.TagName = 'sa... | [
26287,
23998,
15178,
329,
31841,
9019,
20,
1220,
1280,
9019,
20,
20396,
13,
46506,
35224,
7,
2025,
37848,
13,
26595,
8,
16034,
12043,
7054,
42612,
3268,
21479,
32357,
1268,
12043,
7054,
20396,
6177,
42612,
13,
24546,
7390,
796,
20396,
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... | [
26287,
23998,
15178,
329,
31841,
9019,
20,
1220,
1280,
9019,
20,
20396,
13,
46506,
35224,
7,
2025,
37848,
13,
26595,
8,
16034,
12043,
7054,
42612,
3268,
21479,
32357,
1268,
12043,
7054,
20396,
6177,
42612,
13,
24546,
7390,
796,
20396,
13,... |
Find the number of the names of Japanese constructors that have once earned more than 5 points?, and could you sort from low to high by the total number? | SELECT name, COUNT(name) FROM constructors AS T1 JOIN constructorStandings AS T2 ON T1.constructorId = T2.constructorId WHERE T1.nationality = "Japanese" AND T2.points > 5 GROUP BY name ORDER BY COUNT(name) | [
16742,
262,
1271,
286,
262,
3891,
286,
4960,
5678,
669,
326,
423,
1752,
7366,
517,
621,
642,
2173,
21747,
290,
714,
345,
3297,
422,
1877,
284,
1029,
416,
262,
2472,
1271,
30,
46506,
1438,
11,
327,
28270,
7,
3672,
8,
16034,
5678,
669... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
3891,
286,
4960,
5678,
669,
326,
423,
1752,
7366,
517,
621,
642,
2173,
21747,
290,
714,
345,
3297,
422,
1877,
284,
1029,
416,
262,
2472,
1271,
30,
46506,
1438,
11,
327,
28270,
7,
3672,
8,
16034,
5678,
669... |
Which Constellation has a NGC number smaller than 2775, and a Declination (J2000) of 05 07 ? | SELECT constellation FROM table_name_3 WHERE ngc_number < 2775 AND declination___j2000__ = "°05′07″" | [
13828,
4757,
28828,
468,
257,
399,
15916,
1271,
4833,
621,
2681,
2425,
11,
290,
257,
16691,
1883,
357,
41,
11024,
8,
286,
8870,
8753,
5633,
46506,
38712,
16034,
3084,
62,
3672,
62,
18,
33411,
23370,
66,
62,
17618,
1279,
2681,
2425,
53... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
4757,
28828,
468,
257,
399,
15916,
1271,
4833,
621,
2681,
2425,
11,
290,
257,
16691,
1883,
357,
41,
11024,
8,
286,
8870,
8753,
5633,
46506,
38712,
16034,
3084,
62,
3672,
62,
18,
33411,
23370,
66,
62,
17618,
1279,
2681,
2425,
53... |
Please compare the frequency of the position of the pilots using a bar chart, and order Y in ascending order. | SELECT Position, COUNT(Position) FROM pilot GROUP BY Position ORDER BY COUNT(Position) | [
5492,
8996,
262,
8373,
286,
262,
2292,
286,
262,
14982,
1262,
257,
2318,
8262,
11,
290,
1502,
575,
287,
41988,
1502,
13,
46506,
23158,
11,
327,
28270,
7,
26545,
8,
16034,
8022,
44441,
11050,
23158,
38678,
11050,
327,
28270,
7,
26545,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5492,
8996,
262,
8373,
286,
262,
2292,
286,
262,
14982,
1262,
257,
2318,
8262,
11,
290,
1502,
575,
287,
41988,
1502,
13,
46506,
23158,
11,
327,
28270,
7,
26545,
8,
16034,
8022,
44441,
11050,
23158,
38678,
11050,
327,
28270,
7,
26545,
... |
Name the profits for market value of 11.8 | SELECT profits__billion_$_ FROM table_19112_3 WHERE market_value__billion_$_ = "11.8" | [
5376,
262,
10177,
329,
1910,
1988,
286,
1367,
13,
23,
46506,
10177,
834,
24540,
62,
3,
62,
16034,
3084,
62,
1129,
14686,
62,
18,
33411,
1910,
62,
8367,
834,
24540,
62,
3,
62,
796,
366,
1157,
13,
23,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
10177,
329,
1910,
1988,
286,
1367,
13,
23,
46506,
10177,
834,
24540,
62,
3,
62,
16034,
3084,
62,
1129,
14686,
62,
18,
33411,
1910,
62,
8367,
834,
24540,
62,
3,
62,
796,
366,
1157,
13,
23,
1
] |
Who was the opponent for the game taht was before week 5 on October 10, 1954? | SELECT "Opponent" FROM table_38944 WHERE "Week" < '5' AND "Date" = 'october 10, 1954' | [
8241,
373,
262,
6125,
329,
262,
983,
256,
993,
83,
373,
878,
1285,
642,
319,
3267,
838,
11,
24718,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
29769,
2598,
33411,
366,
20916,
1,
1279,
705,
20,
6,
5357,
366,
10430,
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
] | [
8241,
373,
262,
6125,
329,
262,
983,
256,
993,
83,
373,
878,
1285,
642,
319,
3267,
838,
11,
24718,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
29769,
2598,
33411,
366,
20916,
1,
1279,
705,
20,
6,
5357,
366,
10430,
1,
796,
705... |
shortest evening flight from TAMPA to CINCINNATI | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE ((CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'TAMPA' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'CINCIN... | [
19509,
395,
6180,
5474,
422,
33112,
4537,
284,
327,
30158,
1268,
34259,
24352,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
3160... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
19509,
395,
6180,
5474,
422,
33112,
4537,
284,
327,
30158,
1268,
34259,
24352,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
3160... |
which cfl team has the most picks in round four ? | SELECT "cfl team" FROM table_203_676 GROUP BY "cfl team" ORDER BY COUNT(*) DESC LIMIT 1 | [
4758,
269,
2704,
1074,
468,
262,
749,
11103,
287,
2835,
1440,
5633,
46506,
366,
66,
2704,
1074,
1,
16034,
3084,
62,
22416,
62,
42548,
44441,
11050,
366,
66,
2704,
1074,
1,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
269,
2704,
1074,
468,
262,
749,
11103,
287,
2835,
1440,
5633,
46506,
366,
66,
2704,
1074,
1,
16034,
3084,
62,
22416,
62,
42548,
44441,
11050,
366,
66,
2704,
1074,
1,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
35... |
What is the total number of wins for golfers whose earnings are 313,845 dollars and rank is larger than 4? | SELECT COUNT("Wins") FROM table_5152 WHERE "Earnings ( $ )" = '313,845' AND "Rank" > '4' | [
2061,
318,
262,
2472,
1271,
286,
7864,
329,
13126,
364,
3025,
12042,
389,
35897,
11,
23,
2231,
5054,
290,
4279,
318,
4025,
621,
604,
30,
46506,
327,
28270,
7203,
54,
1040,
4943,
16034,
3084,
62,
20,
17827,
33411,
366,
49725,
654,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
1271,
286,
7864,
329,
13126,
364,
3025,
12042,
389,
35897,
11,
23,
2231,
5054,
290,
4279,
318,
4025,
621,
604,
30,
46506,
327,
28270,
7203,
54,
1040,
4943,
16034,
3084,
62,
20,
17827,
33411,
366,
49725,
654,
357,... |
How many people attended the game with the home team scoring 18.25 (133)? | SELECT COUNT("Crowd") FROM table_78083 WHERE "Home team score" = '18.25 (133)' | [
2437,
867,
661,
9141,
262,
983,
351,
262,
1363,
1074,
9689,
1248,
13,
1495,
357,
16945,
19427,
46506,
327,
28270,
7203,
34,
3986,
4943,
16034,
3084,
62,
40873,
5999,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1507,
13,
1495,
357,
169... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
661,
9141,
262,
983,
351,
262,
1363,
1074,
9689,
1248,
13,
1495,
357,
16945,
19427,
46506,
327,
28270,
7203,
34,
3986,
4943,
16034,
3084,
62,
40873,
5999,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1507,
13,
1495,
357,
169... |
Which date has an Away team score of 11.11 (77)? | SELECT "Date" FROM table_57446 WHERE "Away team score" = '11.11 (77)' | [
13828,
3128,
468,
281,
21986,
1074,
4776,
286,
1367,
13,
1157,
357,
3324,
19427,
46506,
366,
10430,
1,
16034,
3084,
62,
3553,
27260,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1157,
13,
1157,
357,
3324,
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
] | [
13828,
3128,
468,
281,
21986,
1074,
4776,
286,
1367,
13,
1157,
357,
3324,
19427,
46506,
366,
10430,
1,
16034,
3084,
62,
3553,
27260,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1157,
13,
1157,
357,
3324,
33047
] |
Show the number of documents. | SELECT COUNT(*) FROM documents | [
15307,
262,
1271,
286,
4963,
13,
46506,
327,
28270,
7,
28104,
16034,
4963
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
1271,
286,
4963,
13,
46506,
327,
28270,
7,
28104,
16034,
4963
] |
What is the Runner-up on April 11? | SELECT runner_up FROM table_name_36 WHERE week = "april 11" | [
2061,
318,
262,
21529,
12,
929,
319,
3035,
1367,
30,
46506,
17490,
62,
929,
16034,
3084,
62,
3672,
62,
2623,
33411,
1285,
796,
366,
499,
22379,
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,
1,
1
] | [
2061,
318,
262,
21529,
12,
929,
319,
3035,
1367,
30,
46506,
17490,
62,
929,
16034,
3084,
62,
3672,
62,
2623,
33411,
1285,
796,
366,
499,
22379,
1367,
1
] |
Which Pct has Years of 1957 1970, and Wins smaller than 78? | SELECT SUM(pct) FROM table_name_89 WHERE years = "1957–1970" AND wins < 78 | [
13828,
350,
310,
468,
13212,
286,
25177,
8069,
11,
290,
24423,
4833,
621,
8699,
30,
46506,
35683,
7,
79,
310,
8,
16034,
3084,
62,
3672,
62,
4531,
33411,
812,
796,
366,
1129,
3553,
1906,
30986,
1,
5357,
7864,
1279,
8699
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
350,
310,
468,
13212,
286,
25177,
8069,
11,
290,
24423,
4833,
621,
8699,
30,
46506,
35683,
7,
79,
310,
8,
16034,
3084,
62,
3672,
62,
4531,
33411,
812,
796,
366,
1129,
3553,
1906,
30986,
1,
5357,
7864,
1279,
8699
] |
what's the leading scorer on march 2 | SELECT "Leading scorer" FROM table_17351 WHERE "Date" = 'March 2' | [
10919,
338,
262,
3756,
30664,
319,
9960,
362,
46506,
366,
20451,
278,
30664,
1,
16034,
3084,
62,
1558,
35273,
33411,
366,
10430,
1,
796,
705,
16192,
362,
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
] | [
10919,
338,
262,
3756,
30664,
319,
9960,
362,
46506,
366,
20451,
278,
30664,
1,
16034,
3084,
62,
1558,
35273,
33411,
366,
10430,
1,
796,
705,
16192,
362,
6
] |
What was the free dance score in the event where compulsory dance score was 15.99? | SELECT free_dance__fd_ FROM table_22644589_4 WHERE compulsory_dance__cd_ = "15.99" | [
2061,
373,
262,
1479,
9280,
4776,
287,
262,
1785,
810,
31967,
9280,
4776,
373,
1315,
13,
2079,
30,
46506,
1479,
62,
67,
590,
834,
16344,
62,
16034,
3084,
62,
1828,
2414,
2231,
4531,
62,
19,
33411,
31967,
62,
67,
590,
834,
10210,
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
] | [
2061,
373,
262,
1479,
9280,
4776,
287,
262,
1785,
810,
31967,
9280,
4776,
373,
1315,
13,
2079,
30,
46506,
1479,
62,
67,
590,
834,
16344,
62,
16034,
3084,
62,
1828,
2414,
2231,
4531,
62,
19,
33411,
31967,
62,
67,
590,
834,
10210,
62,... |
what number of cultures procedures have been performed in 2104? | SELECT COUNT(*) FROM treatment WHERE treatment.treatmentname = 'cultures' AND STRFTIME('%y', treatment.treatmenttime) = '2104' | [
10919,
1271,
286,
13817,
9021,
423,
587,
6157,
287,
362,
13464,
30,
46506,
327,
28270,
7,
28104,
16034,
3513,
33411,
3513,
13,
42487,
3672,
796,
705,
40820,
942,
6,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
3513,
13,
42487,
2435,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13817,
9021,
423,
587,
6157,
287,
362,
13464,
30,
46506,
327,
28270,
7,
28104,
16034,
3513,
33411,
3513,
13,
42487,
3672,
796,
705,
40820,
942,
6,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
3513,
13,
42487,
2435,
... |
What is the Television Service offering Cartomanzia? | SELECT television_service FROM table_name_36 WHERE content = "cartomanzia" | [
2061,
318,
262,
21516,
4809,
6011,
13690,
5185,
89,
544,
30,
46506,
5581,
62,
15271,
16034,
3084,
62,
3672,
62,
2623,
33411,
2695,
796,
366,
26674,
5185,
89,
544,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
21516,
4809,
6011,
13690,
5185,
89,
544,
30,
46506,
5581,
62,
15271,
16034,
3084,
62,
3672,
62,
2623,
33411,
2695,
796,
366,
26674,
5185,
89,
544,
1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.