instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is the largest number of Peak lessons taught when the Evaluation average (Before April 2009) was 4.4? | SELECT MAX(peak_lessons_taught) FROM table_name_95 WHERE evaluation_average__before_april_2009_ = "4.4" | [
2061,
318,
262,
4387,
1271,
286,
23974,
11658,
7817,
618,
262,
34959,
2811,
357,
8421,
3035,
3717,
8,
373,
604,
13,
19,
30,
46506,
25882,
7,
36729,
62,
1203,
684,
62,
83,
3413,
8,
16034,
3084,
62,
3672,
62,
3865,
33411,
12660,
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
] | [
2061,
318,
262,
4387,
1271,
286,
23974,
11658,
7817,
618,
262,
34959,
2811,
357,
8421,
3035,
3717,
8,
373,
604,
13,
19,
30,
46506,
25882,
7,
36729,
62,
1203,
684,
62,
83,
3413,
8,
16034,
3084,
62,
3672,
62,
3865,
33411,
12660,
62,
... |
Who won the tournament for Australia in the year when Byron Nelson was Honoree? | SELECT player FROM table_1515346_2 WHERE country = "Australia" AND honoree_s_ = "Byron Nelson" | [
8241,
1839,
262,
7756,
329,
4505,
287,
262,
614,
618,
36719,
12996,
373,
8835,
382,
68,
30,
46506,
2137,
16034,
3084,
62,
1314,
1314,
30557,
62,
17,
33411,
1499,
796,
366,
27429,
1,
5357,
3032,
382,
68,
62,
82,
62,
796,
366,
3886,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7756,
329,
4505,
287,
262,
614,
618,
36719,
12996,
373,
8835,
382,
68,
30,
46506,
2137,
16034,
3084,
62,
1314,
1314,
30557,
62,
17,
33411,
1499,
796,
366,
27429,
1,
5357,
3032,
382,
68,
62,
82,
62,
796,
366,
3886,
... |
Which engine scored 9 points? | SELECT engine FROM table_name_85 WHERE points = 9 | [
13828,
3113,
7781,
860,
2173,
30,
46506,
3113,
16034,
3084,
62,
3672,
62,
5332,
33411,
2173,
796,
860
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
3113,
7781,
860,
2173,
30,
46506,
3113,
16034,
3084,
62,
3672,
62,
5332,
33411,
2173,
796,
860
] |
What is the score of game 21? | SELECT "Score" FROM table_49278 WHERE "Game" = '21' | [
2061,
318,
262,
4776,
286,
983,
2310,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2920,
25870,
33411,
366,
8777,
1,
796,
705,
2481,
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,
318,
262,
4776,
286,
983,
2310,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2920,
25870,
33411,
366,
8777,
1,
796,
705,
2481,
6
] |
Who was the clerk when the highway commissioner was Albert Lewis? | SELECT "Clerk" FROM table_78255 WHERE "Highway Commissioners" = 'albert lewis' | [
8241,
373,
262,
21120,
618,
262,
12763,
16248,
373,
9966,
10174,
30,
46506,
366,
34,
1754,
74,
1,
16034,
3084,
62,
3695,
13381,
33411,
366,
11922,
1014,
48053,
1,
796,
705,
282,
4835,
443,
86,
271,
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
] | [
8241,
373,
262,
21120,
618,
262,
12763,
16248,
373,
9966,
10174,
30,
46506,
366,
34,
1754,
74,
1,
16034,
3084,
62,
3695,
13381,
33411,
366,
11922,
1014,
48053,
1,
796,
705,
282,
4835,
443,
86,
271,
6
] |
what type of ground transportation is available at PHL airport | SELECT DISTINCT ground_service.transport_type FROM airport, ground_service WHERE airport.airport_code = 'PHL' AND ground_service.airport_code = airport.airport_code | [
10919,
2099,
286,
2323,
9358,
318,
1695,
379,
350,
6581,
9003,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
9003,
11,
2323,
62,
15271,
33411,
9003,
13,
958,
634,
62,
8189,
796,
705,
47,
6581,
6,
535... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
2099,
286,
2323,
9358,
318,
1695,
379,
350,
6581,
9003,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
9003,
11,
2323,
62,
15271,
33411,
9003,
13,
958,
634,
62,
8189,
796,
705,
47,
6581,
6,
535... |
what is the total number of player where years for rockets is 2004-06 | SELECT COUNT(player) FROM table_11734041_20 WHERE years_for_rockets = "2004-06" | [
10919,
318,
262,
2472,
1271,
286,
2137,
810,
812,
329,
20293,
318,
5472,
12,
3312,
46506,
327,
28270,
7,
7829,
8,
16034,
3084,
62,
1157,
4790,
1821,
3901,
62,
1238,
33411,
812,
62,
1640,
62,
10823,
1039,
796,
366,
15724,
12,
3312,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
1271,
286,
2137,
810,
812,
329,
20293,
318,
5472,
12,
3312,
46506,
327,
28270,
7,
7829,
8,
16034,
3084,
62,
1157,
4790,
1821,
3901,
62,
1238,
33411,
812,
62,
1640,
62,
10823,
1039,
796,
366,
15724,
12,
3312,
1... |
Which Elevation + Height has a Delivery of barge and a Location of bikini, yurochi aka irioj (dog)? | SELECT "Elevation + Height" FROM table_11761 WHERE "Delivery" = 'barge' AND "Location" = 'bikini, yurochi aka irioj (dog)' | [
13828,
37881,
341,
1343,
27280,
468,
257,
28682,
286,
275,
1376,
290,
257,
13397,
286,
45810,
11,
331,
1434,
11072,
22430,
4173,
952,
73,
357,
9703,
19427,
46506,
366,
36,
2768,
341,
1343,
27280,
1,
16034,
3084,
62,
1157,
4304,
16,
33... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
37881,
341,
1343,
27280,
468,
257,
28682,
286,
275,
1376,
290,
257,
13397,
286,
45810,
11,
331,
1434,
11072,
22430,
4173,
952,
73,
357,
9703,
19427,
46506,
366,
36,
2768,
341,
1343,
27280,
1,
16034,
3084,
62,
1157,
4304,
16,
33... |
what is the lowest total when the league cup is more than 0, the name is hei ar helguson and the league is less than 3? | SELECT MIN("Total") FROM table_7914 WHERE "League Cup" > '0' AND "Name" = 'heiðar helguson' AND "League" < '3' | [
10919,
318,
262,
9016,
2472,
618,
262,
4652,
6508,
318,
517,
621,
657,
11,
262,
1438,
318,
339,
72,
610,
932,
70,
385,
261,
290,
262,
4652,
318,
1342,
621,
513,
30,
46506,
20625,
7203,
14957,
4943,
16034,
3084,
62,
3720,
1415,
33411... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9016,
2472,
618,
262,
4652,
6508,
318,
517,
621,
657,
11,
262,
1438,
318,
339,
72,
610,
932,
70,
385,
261,
290,
262,
4652,
318,
1342,
621,
513,
30,
46506,
20625,
7203,
14957,
4943,
16034,
3084,
62,
3720,
1415,
33411... |
Name the Try bonus with lost of 10 | SELECT try_bonus FROM table_name_92 WHERE lost = "10" | [
5376,
262,
9993,
7202,
351,
2626,
286,
838,
46506,
1949,
62,
4189,
385,
16034,
3084,
62,
3672,
62,
5892,
33411,
2626,
796,
366,
940,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
9993,
7202,
351,
2626,
286,
838,
46506,
1949,
62,
4189,
385,
16034,
3084,
62,
3672,
62,
5892,
33411,
2626,
796,
366,
940,
1
] |
What is Event, when Method is 'Submission (Armbar)', and when Opponent is 'Jason St. Louis'? | SELECT "Event" FROM table_45361 WHERE "Method" = 'submission (armbar)' AND "Opponent" = 'jason st. louis' | [
2061,
318,
8558,
11,
618,
11789,
318,
705,
7004,
3411,
357,
3163,
2022,
283,
8,
3256,
290,
618,
9385,
3471,
318,
705,
26497,
520,
13,
5593,
30960,
46506,
366,
9237,
1,
16034,
3084,
62,
2231,
35195,
33411,
366,
17410,
1,
796,
705,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
8558,
11,
618,
11789,
318,
705,
7004,
3411,
357,
3163,
2022,
283,
8,
3256,
290,
618,
9385,
3471,
318,
705,
26497,
520,
13,
5593,
30960,
46506,
366,
9237,
1,
16034,
3084,
62,
2231,
35195,
33411,
366,
17410,
1,
796,
705,
72... |
give me the number of patients whose discharge location is home health care and admission year is less than 2111? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "HOME HEALTH CARE" AND demographic.admityear < "2111" | [
26535,
502,
262,
1271,
286,
3871,
3025,
17655,
4067,
318,
1363,
1535,
1337,
290,
13938,
614,
318,
1342,
621,
362,
16243,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
638... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17655,
4067,
318,
1363,
1535,
1337,
290,
13938,
614,
318,
1342,
621,
362,
16243,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
638... |
how many patients whose drug route is sc? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.route = "SC" | [
4919,
867,
3871,
3025,
2563,
6339,
318,
629,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2563,
6339,
318,
629,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
... |
Who is the home team on 31 January 1951 when away team was Sheffield United? | SELECT home_team FROM table_name_75 WHERE date = "31 january 1951" AND away_team = "sheffield united" | [
8241,
318,
262,
1363,
1074,
319,
3261,
3269,
27937,
618,
1497,
1074,
373,
33496,
1578,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
2425,
33411,
3128,
796,
366,
3132,
42897,
2838,
27937,
1,
5357,
1497,
62,
15097,
796,
366,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
1363,
1074,
319,
3261,
3269,
27937,
618,
1497,
1074,
373,
33496,
1578,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
2425,
33411,
3128,
796,
366,
3132,
42897,
2838,
27937,
1,
5357,
1497,
62,
15097,
796,
366,
7... |
Who directed the episode that had 1.48 million viewers in the U.S.? | SELECT "Directed by" FROM table_4219 WHERE "U.S. viewers (millions)" = '1.48' | [
8241,
7924,
262,
4471,
326,
550,
352,
13,
2780,
1510,
10209,
287,
262,
471,
13,
50,
40791,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
3682,
1129,
33411,
366,
52,
13,
50,
13,
10209,
357,
17805,
507,
16725,
796,
705,
16,
13,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
7924,
262,
4471,
326,
550,
352,
13,
2780,
1510,
10209,
287,
262,
471,
13,
50,
40791,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
3682,
1129,
33411,
366,
52,
13,
50,
13,
10209,
357,
17805,
507,
16725,
796,
705,
16,
13,
2... |
What is the fewest gold medals when the bronze medals is greater than 5? | SELECT MIN("Gold") FROM table_63731 WHERE "Bronze" > '5' | [
2061,
318,
262,
1178,
395,
3869,
28057,
618,
262,
22101,
28057,
318,
3744,
621,
642,
30,
46506,
20625,
7203,
13306,
4943,
16034,
3084,
62,
21,
2718,
3132,
33411,
366,
18760,
2736,
1,
1875,
705,
20,
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,
1178,
395,
3869,
28057,
618,
262,
22101,
28057,
318,
3744,
621,
642,
30,
46506,
20625,
7203,
13306,
4943,
16034,
3084,
62,
21,
2718,
3132,
33411,
366,
18760,
2736,
1,
1875,
705,
20,
6
] |
What is the rating for the episode with the night rank of 11 and timeslot rank is larger than 4? | SELECT AVG("Rating") FROM table_57927 WHERE "Night Rank" = '11' AND "Timeslot Rank" > '4' | [
2061,
318,
262,
7955,
329,
262,
4471,
351,
262,
1755,
4279,
286,
1367,
290,
1661,
26487,
4279,
318,
4025,
621,
604,
30,
46506,
35224,
7203,
29321,
4943,
16034,
3084,
62,
41734,
1983,
33411,
366,
24732,
10916,
1,
796,
705,
1157,
6,
535... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
7955,
329,
262,
4471,
351,
262,
1755,
4279,
286,
1367,
290,
1661,
26487,
4279,
318,
4025,
621,
604,
30,
46506,
35224,
7203,
29321,
4943,
16034,
3084,
62,
41734,
1983,
33411,
366,
24732,
10916,
1,
796,
705,
1157,
6,
535... |
Give me the comparison about the average of School_ID over the All_Home , and group by attribute All_Home by a bar chart, and could you show by the X in desc please? | SELECT All_Home, AVG(School_ID) FROM basketball_match GROUP BY All_Home ORDER BY All_Home DESC | [
23318,
502,
262,
7208,
546,
262,
2811,
286,
3961,
62,
2389,
625,
262,
1439,
62,
16060,
837,
290,
1448,
416,
11688,
1439,
62,
16060,
416,
257,
2318,
8262,
11,
290,
714,
345,
905,
416,
262,
1395,
287,
1715,
3387,
30,
46506,
1439,
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... | [
23318,
502,
262,
7208,
546,
262,
2811,
286,
3961,
62,
2389,
625,
262,
1439,
62,
16060,
837,
290,
1448,
416,
11688,
1439,
62,
16060,
416,
257,
2318,
8262,
11,
290,
714,
345,
905,
416,
262,
1395,
287,
1715,
3387,
30,
46506,
1439,
62,
... |
What is the NFL club with a pick less than 74 and a round greater than 2? | SELECT nfl_club FROM table_name_39 WHERE pick < 74 AND round > 2 | [
2061,
318,
262,
5134,
3430,
351,
257,
2298,
1342,
621,
8915,
290,
257,
2835,
3744,
621,
362,
30,
46506,
299,
2704,
62,
18664,
16034,
3084,
62,
3672,
62,
2670,
33411,
2298,
1279,
8915,
5357,
2835,
1875,
362
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5134,
3430,
351,
257,
2298,
1342,
621,
8915,
290,
257,
2835,
3744,
621,
362,
30,
46506,
299,
2704,
62,
18664,
16034,
3084,
62,
3672,
62,
2670,
33411,
2298,
1279,
8915,
5357,
2835,
1875,
362
] |
what is the minimum monthly number of patients who had abn react-procedure nec in 2104? | SELECT MIN(t1.c1) FROM (SELECT COUNT(DISTINCT diagnoses_icd.hadm_id) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'abn react-procedure nec') AND STRFTIME('%y', diagnoses_icd.charttime) = '2104' GROUP BY STRFTIME('%y-%... | [
10919,
318,
262,
5288,
9651,
1271,
286,
3871,
508,
550,
450,
77,
6324,
12,
1676,
771,
495,
27576,
287,
362,
13464,
30,
46506,
20625,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
40567,
62,
291,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
5288,
9651,
1271,
286,
3871,
508,
550,
450,
77,
6324,
12,
1676,
771,
495,
27576,
287,
362,
13464,
30,
46506,
20625,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
40567,
62,
291,... |
Show all the activity names and the number of faculty involved in each activity Show bar chart, display by the bar in asc. | SELECT activity_name, COUNT(*) FROM Activity AS T1 JOIN Faculty_Participates_in AS T2 ON T1.actid = T2.actid GROUP BY T1.actid ORDER BY activity_name | [
15307,
477,
262,
3842,
3891,
290,
262,
1271,
286,
12829,
2950,
287,
1123,
3842,
5438,
2318,
8262,
11,
3359,
416,
262,
2318,
287,
10570,
13,
46506,
3842,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
24641,
7054,
309,
16,
32357,
1268,
352... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
477,
262,
3842,
3891,
290,
262,
1271,
286,
12829,
2950,
287,
1123,
3842,
5438,
2318,
8262,
11,
3359,
416,
262,
2318,
287,
10570,
13,
46506,
3842,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
24641,
7054,
309,
16,
32357,
1268,
352... |
What is the average attendance of stadiums with capacity percentage higher than 100%? | SELECT average_attendance FROM stadium WHERE capacity_percentage > 100 | [
2061,
318,
262,
2811,
14858,
286,
37924,
351,
5339,
5873,
2440,
621,
1802,
4,
30,
46506,
2811,
62,
1078,
437,
590,
16034,
10308,
33411,
5339,
62,
25067,
496,
1875,
1802
] | [
1,
1,
1,
1,
1,
1,
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,
14858,
286,
37924,
351,
5339,
5873,
2440,
621,
1802,
4,
30,
46506,
2811,
62,
1078,
437,
590,
16034,
10308,
33411,
5339,
62,
25067,
496,
1875,
1802
] |
What is the organism that has a disease area of cancer and has 4/4 clinical trial b? | SELECT "Marine Organism \u03b1" FROM table_69536 WHERE "Disease Area" = 'cancer' AND "Clinical Trials \u03b2" = '4/4' | [
2061,
318,
262,
26433,
326,
468,
257,
4369,
1989,
286,
4890,
290,
468,
604,
14,
19,
8668,
4473,
275,
30,
46506,
366,
7676,
500,
7221,
1042,
3467,
84,
3070,
65,
16,
1,
16034,
3084,
62,
37381,
2623,
33411,
366,
35,
786,
589,
9498,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26433,
326,
468,
257,
4369,
1989,
286,
4890,
290,
468,
604,
14,
19,
8668,
4473,
275,
30,
46506,
366,
7676,
500,
7221,
1042,
3467,
84,
3070,
65,
16,
1,
16034,
3084,
62,
37381,
2623,
33411,
366,
35,
786,
589,
9498,
1... |
Who were the commanders when 8 off 0 men were wounded? | SELECT "Commander" FROM table_17186 WHERE "Wounded" = '8 off 0 men' | [
8241,
547,
262,
22576,
618,
807,
572,
657,
1450,
547,
10657,
30,
46506,
366,
6935,
4066,
1,
16034,
3084,
62,
1558,
25096,
33411,
366,
54,
6302,
1,
796,
705,
23,
572,
657,
1450,
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
] | [
8241,
547,
262,
22576,
618,
807,
572,
657,
1450,
547,
10657,
30,
46506,
366,
6935,
4066,
1,
16034,
3084,
62,
1558,
25096,
33411,
366,
54,
6302,
1,
796,
705,
23,
572,
657,
1450,
6
] |
Who built Alex Yoong's car? | SELECT "Constructor" FROM table_57693 WHERE "Driver" = 'alex yoong' | [
8241,
3170,
4422,
25455,
506,
338,
1097,
30,
46506,
366,
42316,
273,
1,
16034,
3084,
62,
3553,
48528,
33411,
366,
32103,
1,
796,
705,
1000,
87,
27406,
506,
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,
3170,
4422,
25455,
506,
338,
1097,
30,
46506,
366,
42316,
273,
1,
16034,
3084,
62,
3553,
48528,
33411,
366,
32103,
1,
796,
705,
1000,
87,
27406,
506,
6
] |
What is the first name and last name of the student who have most number of sports? | SELECT T2.Fname, T2.Lname FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID GROUP BY T1.StuID ORDER BY COUNT(*) DESC LIMIT 1 | [
2061,
318,
262,
717,
1438,
290,
938,
1438,
286,
262,
3710,
508,
423,
749,
1271,
286,
5701,
30,
46506,
309,
17,
13,
37,
3672,
11,
309,
17,
13,
43,
3672,
16034,
7092,
10951,
7054,
309,
16,
32357,
1268,
13613,
7054,
309,
17,
6177,
30... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
717,
1438,
290,
938,
1438,
286,
262,
3710,
508,
423,
749,
1271,
286,
5701,
30,
46506,
309,
17,
13,
37,
3672,
11,
309,
17,
13,
43,
3672,
16034,
7092,
10951,
7054,
309,
16,
32357,
1268,
13613,
7054,
309,
17,
6177,
30... |
what were the three most frequent lab tests until 3 years ago? | SELECT t1.labname FROM (SELECT lab.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM lab WHERE DATETIME(lab.labresulttime) <= DATETIME(CURRENT_TIME(), '-3 year') GROUP BY lab.labname) AS t1 WHERE t1.c1 <= 3 | [
10919,
547,
262,
1115,
749,
10792,
2248,
5254,
1566,
513,
812,
2084,
30,
46506,
256,
16,
13,
23912,
3672,
16034,
357,
46506,
2248,
13,
23912,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
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,
547,
262,
1115,
749,
10792,
2248,
5254,
1566,
513,
812,
2084,
30,
46506,
256,
16,
13,
23912,
3672,
16034,
357,
46506,
2248,
13,
23912,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28... |
What's the average men's wheelchair when women's wheelchair is less than 0? | SELECT AVG("Men's wheelchair") FROM table_40031 WHERE "Women's Wheelchair" < '0' | [
2061,
338,
262,
2811,
1450,
338,
27181,
618,
1466,
338,
27181,
318,
1342,
621,
657,
30,
46506,
35224,
7203,
10418,
338,
27181,
4943,
16034,
3084,
62,
7029,
3132,
33411,
366,
18495,
338,
15810,
16337,
1,
1279,
705,
15,
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,
338,
262,
2811,
1450,
338,
27181,
618,
1466,
338,
27181,
318,
1342,
621,
657,
30,
46506,
35224,
7203,
10418,
338,
27181,
4943,
16034,
3084,
62,
7029,
3132,
33411,
366,
18495,
338,
15810,
16337,
1,
1279,
705,
15,
6
] |
What result in 1994 has a SR as the tournament? | SELECT 1994 FROM table_name_45 WHERE tournament = "sr" | [
2061,
1255,
287,
9162,
468,
257,
16808,
355,
262,
7756,
30,
46506,
9162,
16034,
3084,
62,
3672,
62,
2231,
33411,
7756,
796,
366,
27891,
1
] | [
1,
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,
1255,
287,
9162,
468,
257,
16808,
355,
262,
7756,
30,
46506,
9162,
16034,
3084,
62,
3672,
62,
2231,
33411,
7756,
796,
366,
27891,
1
] |
What Championship had a winning score of 69-71-67-68=275? | SELECT championship FROM table_name_9 WHERE winning_score = 69 - 71 - 67 - 68 = 275 | [
2061,
10749,
550,
257,
5442,
4776,
286,
8644,
12,
4869,
12,
3134,
12,
3104,
28,
23195,
30,
46506,
12184,
16034,
3084,
62,
3672,
62,
24,
33411,
5442,
62,
26675,
796,
8644,
532,
9166,
532,
8275,
532,
8257,
796,
25829
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10749,
550,
257,
5442,
4776,
286,
8644,
12,
4869,
12,
3134,
12,
3104,
28,
23195,
30,
46506,
12184,
16034,
3084,
62,
3672,
62,
24,
33411,
5442,
62,
26675,
796,
8644,
532,
9166,
532,
8275,
532,
8257,
796,
25829
] |
when was the first sputum microbiology test given to patient 12775 during the current hospital encounter? | SELECT microbiologyevents.charttime FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 12775 AND admissions.dischtime IS NULL) AND microbiologyevents.spec_type_desc = 'sputum' ORDER BY microbiologyevents.charttime LIMIT 1 | [
12518,
373,
262,
717,
599,
315,
388,
24559,
1435,
1332,
1813,
284,
5827,
18112,
2425,
1141,
262,
1459,
4436,
8791,
30,
46506,
24559,
1435,
31534,
13,
40926,
2435,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
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... | [
12518,
373,
262,
717,
599,
315,
388,
24559,
1435,
1332,
1813,
284,
5827,
18112,
2425,
1141,
262,
1459,
4436,
8791,
30,
46506,
24559,
1435,
31534,
13,
40926,
2435,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62,
... |
what is the number of patients whose age is less than 30 and admission year is less than 2174? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "30" AND demographic.admityear < "2174" | [
10919,
318,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
1542,
290,
13938,
614,
318,
1342,
621,
362,
22985,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
496,
1279,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
1542,
290,
13938,
614,
318,
1342,
621,
362,
22985,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
496,
1279,
... |
What is the total number of patients with item id 51375, who were born before the year 2168. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2168" AND lab.itemid = "51375" | [
2061,
318,
262,
2472,
1271,
286,
3871,
351,
2378,
4686,
642,
1485,
2425,
11,
508,
547,
4642,
878,
262,
614,
362,
14656,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
2472,
1271,
286,
3871,
351,
2378,
4686,
642,
1485,
2425,
11,
508,
547,
4642,
878,
262,
614,
362,
14656,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... |
What the is the state that the boat is from with LOA of 19.50? | SELECT state_country FROM table_25595209_1 WHERE loa__metres_ = "19.50" | [
2061,
262,
318,
262,
1181,
326,
262,
8848,
318,
422,
351,
17579,
32,
286,
678,
13,
1120,
30,
46506,
1181,
62,
19315,
16034,
3084,
62,
1495,
35124,
22567,
62,
16,
33411,
2376,
64,
834,
4164,
411,
62,
796,
366,
1129,
13,
1120,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
318,
262,
1181,
326,
262,
8848,
318,
422,
351,
17579,
32,
286,
678,
13,
1120,
30,
46506,
1181,
62,
19315,
16034,
3084,
62,
1495,
35124,
22567,
62,
16,
33411,
2376,
64,
834,
4164,
411,
62,
796,
366,
1129,
13,
1120,
1
] |
Which Station has hagerstown? | SELECT "Station" FROM table_39019 WHERE "City of license" = 'hagerstown' | [
13828,
9327,
468,
289,
3536,
27928,
30,
46506,
366,
12367,
1,
16034,
3084,
62,
2670,
30484,
33411,
366,
14941,
286,
5964,
1,
796,
705,
71,
3536,
27928,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
9327,
468,
289,
3536,
27928,
30,
46506,
366,
12367,
1,
16034,
3084,
62,
2670,
30484,
33411,
366,
14941,
286,
5964,
1,
796,
705,
71,
3536,
27928,
6
] |
Top users based on score from questions. | SELECT u.Id AS User_Link, SUM(p.Score) AS Question_score FROM Users AS u INNER JOIN Posts AS p ON p.OwnerUserId = u.Id WHERE p.PostTypeId = 1 GROUP BY u.Id ORDER BY Question_score DESC LIMIT 100 | [
9126,
2985,
1912,
319,
4776,
422,
2683,
13,
46506,
334,
13,
7390,
7054,
11787,
62,
11280,
11,
35683,
7,
79,
13,
26595,
8,
7054,
18233,
62,
26675,
16034,
18987,
7054,
334,
3268,
21479,
32357,
1268,
12043,
7054,
279,
6177,
279,
13,
4241... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9126,
2985,
1912,
319,
4776,
422,
2683,
13,
46506,
334,
13,
7390,
7054,
11787,
62,
11280,
11,
35683,
7,
79,
13,
26595,
8,
7054,
18233,
62,
26675,
16034,
18987,
7054,
334,
3268,
21479,
32357,
1268,
12043,
7054,
279,
6177,
279,
13,
4241... |
What is the number of votes when Ron Paul is the candidate with less than 0 counties? | SELECT COUNT(votes) FROM table_name_28 WHERE candidate = "ron paul" AND counties < 0 | [
2061,
318,
262,
1271,
286,
5690,
618,
6575,
3362,
318,
262,
4540,
351,
1342,
621,
657,
14683,
30,
46506,
327,
28270,
7,
29307,
8,
16034,
3084,
62,
3672,
62,
2078,
33411,
4540,
796,
366,
1313,
279,
2518,
1,
5357,
14683,
1279,
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,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
5690,
618,
6575,
3362,
318,
262,
4540,
351,
1342,
621,
657,
14683,
30,
46506,
327,
28270,
7,
29307,
8,
16034,
3084,
62,
3672,
62,
2078,
33411,
4540,
796,
366,
1313,
279,
2518,
1,
5357,
14683,
1279,
657
] |
Top 100 upvotes per post and per day. Show the posts that received the most upvotes in one day | SELECT (CASE p.PostTypeId WHEN 1 THEN 'Q' WHEN 2 THEN 'A' END), v.PostId AS "post_link", p.OwnerUserId AS "User Link", v.CreationDate AS "date", (CAST((JULIANDAY(v.CreationDate) - JULIANDAY(MIN(p.CreationDate))) * 86400.0 AS INT) + 86400) / 86400 AS "age", COUNT(*) AS "upvotes" FROM Votes AS v LEFT JOIN Posts AS p ON p... | [
9126,
1802,
510,
29307,
583,
1281,
290,
583,
1110,
13,
5438,
262,
6851,
326,
2722,
262,
749,
510,
29307,
287,
530,
1110,
46506,
357,
34,
11159,
279,
13,
6307,
6030,
7390,
42099,
352,
42243,
705,
48,
6,
42099,
362,
42243,
705,
32,
6,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9126,
1802,
510,
29307,
583,
1281,
290,
583,
1110,
13,
5438,
262,
6851,
326,
2722,
262,
749,
510,
29307,
287,
530,
1110,
46506,
357,
34,
11159,
279,
13,
6307,
6030,
7390,
42099,
352,
42243,
705,
48,
6,
42099,
362,
42243,
705,
32,
6,... |
For the station opened after 1876 at 604.53km from Wellington, what is the height above sea level? | SELECT "Height above sea level (m)" FROM table_59373 WHERE "Opened" > '1876' AND "Distance from Wellington" = '604.53km' | [
1890,
262,
4429,
4721,
706,
1248,
4304,
379,
718,
3023,
13,
4310,
13276,
422,
30597,
11,
644,
318,
262,
6001,
2029,
5417,
1241,
30,
46506,
366,
23106,
2029,
5417,
1241,
357,
76,
16725,
16034,
3084,
62,
3270,
34770,
33411,
366,
18257,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4429,
4721,
706,
1248,
4304,
379,
718,
3023,
13,
4310,
13276,
422,
30597,
11,
644,
318,
262,
6001,
2029,
5417,
1241,
30,
46506,
366,
23106,
2029,
5417,
1241,
357,
76,
16725,
16034,
3084,
62,
3270,
34770,
33411,
366,
18257,
... |
Who are the Opponents in the final prior to 1998 in the Bucharest, Romania Tournament? | SELECT "Opponents in the final" FROM table_78568 WHERE "Date" < '1998' AND "Tournament" = 'bucharest, romania' | [
8241,
389,
262,
9385,
3906,
287,
262,
2457,
3161,
284,
7795,
287,
262,
23670,
12423,
11,
23356,
9595,
30,
46506,
366,
27524,
3906,
287,
262,
2457,
1,
16034,
3084,
62,
41172,
3104,
33411,
366,
10430,
1,
1279,
705,
21113,
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,
1,
1,
1,
1,
1
] | [
8241,
389,
262,
9385,
3906,
287,
262,
2457,
3161,
284,
7795,
287,
262,
23670,
12423,
11,
23356,
9595,
30,
46506,
366,
27524,
3906,
287,
262,
2457,
1,
16034,
3084,
62,
41172,
3104,
33411,
366,
10430,
1,
1279,
705,
21113,
6,
5357,
366,
... |
What is the high silver total for nations with 3 golds and under 5 bronzes? | SELECT MAX("Silver") FROM table_57638 WHERE "Gold" = '3' AND "Bronze" < '5' | [
2061,
318,
262,
1029,
8465,
2472,
329,
7027,
351,
513,
3869,
82,
290,
739,
642,
18443,
12271,
30,
46506,
25882,
7203,
26766,
4943,
16034,
3084,
62,
37452,
2548,
33411,
366,
13306,
1,
796,
705,
18,
6,
5357,
366,
18760,
2736,
1,
1279,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1029,
8465,
2472,
329,
7027,
351,
513,
3869,
82,
290,
739,
642,
18443,
12271,
30,
46506,
25882,
7203,
26766,
4943,
16034,
3084,
62,
37452,
2548,
33411,
366,
13306,
1,
796,
705,
18,
6,
5357,
366,
18760,
2736,
1,
1279,
... |
has patient 022-142620 had any medication until 08/2105? | SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-142620')) AND STRFTIME('%y-%m', medication.drugstarttime) <= '2105-08' | [
10134,
5827,
657,
1828,
12,
1415,
2075,
1238,
550,
597,
14103,
1566,
8487,
14,
17,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10134,
5827,
657,
1828,
12,
1415,
2075,
1238,
550,
597,
14103,
1566,
8487,
14,
17,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31... |
give me patient 1114's total volume of output on 12/24/this year. | SELECT SUM(outputevents.value) FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 1114)) AND DATETIME(outputevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of... | [
26535,
502,
5827,
13374,
19,
338,
2472,
6115,
286,
5072,
319,
1105,
14,
1731,
14,
5661,
614,
13,
46506,
35683,
7,
448,
79,
1133,
85,
658,
13,
8367,
8,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658,
13,
291,
436,
323,
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... | [
26535,
502,
5827,
13374,
19,
338,
2472,
6115,
286,
5072,
319,
1105,
14,
1731,
14,
5661,
614,
13,
46506,
35683,
7,
448,
79,
1133,
85,
658,
13,
8367,
8,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658,
13,
291,
436,
323,
62... |
How many countries had a total freshwater withdrawal (km 3 /yr) where the agricultural use (m 3 /p/yr)(in %) was 428(62%)? | SELECT COUNT("Total Freshwater Withdrawal (km 3 /yr)") FROM table_20405 WHERE "Agricultural Use (m 3 /p/yr)(in %)" = '428(62%)' | [
2437,
867,
2678,
550,
257,
2472,
40941,
15220,
357,
13276,
513,
1220,
2417,
8,
810,
262,
14240,
779,
357,
76,
513,
1220,
79,
14,
2417,
5769,
259,
4064,
8,
373,
45063,
7,
5237,
4407,
30,
46506,
327,
28270,
7203,
14957,
20138,
7050,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
2678,
550,
257,
2472,
40941,
15220,
357,
13276,
513,
1220,
2417,
8,
810,
262,
14240,
779,
357,
76,
513,
1220,
79,
14,
2417,
5769,
259,
4064,
8,
373,
45063,
7,
5237,
4407,
30,
46506,
327,
28270,
7203,
14957,
20138,
7050,
2... |
In what area have I gotten the most B+ 's ? | SELECT DISTINCT DERIVED_TABLEalias0.DERIVED_FIELDalias1 FROM (SELECT AREAalias0.area, COUNT(*) INNER JOIN student_record ON student_record.course_id = AREAalias0.course_id WHERE student_record.grade LIKE 'B+' AND student_record.student_id = 1 GROUP BY AREAalias0.area) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DE... | [
818,
644,
1989,
423,
314,
7891,
262,
749,
347,
10,
705,
82,
5633,
46506,
360,
8808,
1268,
4177,
360,
1137,
3824,
1961,
62,
38148,
26011,
15,
13,
14418,
3824,
1961,
62,
44603,
26011,
16,
16034,
357,
46506,
15986,
32,
26011,
15,
13,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
818,
644,
1989,
423,
314,
7891,
262,
749,
347,
10,
705,
82,
5633,
46506,
360,
8808,
1268,
4177,
360,
1137,
3824,
1961,
62,
38148,
26011,
15,
13,
14418,
3824,
1961,
62,
44603,
26011,
16,
16034,
357,
46506,
15986,
32,
26011,
15,
13,
2... |
what flight leaves DALLAS for ATLANTA on 8 27 in the evening | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND date_day.day_number = 27 AND date_day.month_number = 8 AND ... | [
10919,
5474,
5667,
360,
7036,
1921,
329,
5161,
25697,
5603,
319,
807,
2681,
287,
262,
6180,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
5474,
5667,
360,
7036,
1921,
329,
5161,
25697,
5603,
319,
807,
2681,
287,
262,
6180,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15... |
what is the diagnosis icd9 code of bruce harris and is he still alive? | SELECT demographic.expire_flag, diagnoses.icd9_code FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Bruce Harris" | [
10919,
318,
262,
13669,
14158,
67,
24,
2438,
286,
18145,
344,
3971,
2442,
290,
318,
339,
991,
6776,
30,
46506,
16728,
13,
1069,
5111,
62,
32109,
11,
40567,
13,
291,
67,
24,
62,
8189,
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,
318,
262,
13669,
14158,
67,
24,
2438,
286,
18145,
344,
3971,
2442,
290,
318,
339,
991,
6776,
30,
46506,
16728,
13,
1069,
5111,
62,
32109,
11,
40567,
13,
291,
67,
24,
62,
8189,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177... |
Who is the outgoing manager when the team is simurq pfc? | SELECT "Outgoing manager" FROM table_29284 WHERE "Team" = 'Simurq PFC' | [
8241,
318,
262,
28181,
4706,
618,
262,
1074,
318,
985,
333,
80,
279,
16072,
30,
46506,
366,
7975,
5146,
4706,
1,
16034,
3084,
62,
1959,
30336,
33411,
366,
15592,
1,
796,
705,
8890,
333,
80,
350,
4851,
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
] | [
8241,
318,
262,
28181,
4706,
618,
262,
1074,
318,
985,
333,
80,
279,
16072,
30,
46506,
366,
7975,
5146,
4706,
1,
16034,
3084,
62,
1959,
30336,
33411,
366,
15592,
1,
796,
705,
8890,
333,
80,
350,
4851,
6
] |
when did patient 9299 in this year last get discharged from the hospital? | SELECT admissions.dischtime FROM admissions WHERE admissions.subject_id = 9299 AND DATETIME(admissions.dischtime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') ORDER BY admissions.dischtime DESC LIMIT 1 | [
12518,
750,
5827,
860,
22579,
287,
428,
614,
938,
651,
26476,
422,
262,
4436,
30,
46506,
25349,
13,
6381,
354,
2435,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
860,
22579,
5357,
360,
1404,
2767,
12789,
7,
324,
8481,
13,
6381... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
860,
22579,
287,
428,
614,
938,
651,
26476,
422,
262,
4436,
30,
46506,
25349,
13,
6381,
354,
2435,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
860,
22579,
5357,
360,
1404,
2767,
12789,
7,
324,
8481,
13,
6381... |
Who was the winner against finalist Lina Krasnoroutskaya? | SELECT winner FROM table_name_92 WHERE finalist = "lina krasnoroutskaya" | [
8241,
373,
262,
8464,
1028,
2457,
396,
406,
1437,
509,
8847,
13099,
5269,
35372,
30,
46506,
8464,
16034,
3084,
62,
3672,
62,
5892,
33411,
2457,
396,
796,
366,
75,
1437,
479,
8847,
13099,
5269,
35372,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8464,
1028,
2457,
396,
406,
1437,
509,
8847,
13099,
5269,
35372,
30,
46506,
8464,
16034,
3084,
62,
3672,
62,
5892,
33411,
2457,
396,
796,
366,
75,
1437,
479,
8847,
13099,
5269,
35372,
1
] |
what is the number of patients whose admission location is emergency room admit and item id is 51032? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_location = "EMERGENCY ROOM ADMIT" AND lab.itemid = "51032" | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
6334,
2119,
9159,
290,
2378,
4686,
318,
35148,
2624,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13938,
4067,
318,
6334,
2119,
9159,
290,
2378,
4686,
318,
35148,
2624,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
... |
For those employees who was hired before 2002-06-21, give me the trend about employee_id over hire_date , and I want to order X in asc order. | SELECT HIRE_DATE, EMPLOYEE_ID FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY HIRE_DATE | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1577,
502,
262,
5182,
546,
6538,
62,
312,
625,
11078,
62,
4475,
837,
290,
314,
765,
284,
1502,
1395,
287,
10570,
1502,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1577,
502,
262,
5182,
546,
6538,
62,
312,
625,
11078,
62,
4475,
837,
290,
314,
765,
284,
1502,
1395,
287,
10570,
1502,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
1... |
Isma l Bangoura with a rank larger than 5 after the year 2005 was moving to what football club? | SELECT moving_to FROM table_name_39 WHERE year > 2005 AND rank > 5 AND name = "ismaël bangoura" | [
3792,
2611,
300,
9801,
280,
430,
351,
257,
4279,
4025,
621,
642,
706,
262,
614,
5075,
373,
3867,
284,
644,
4346,
3430,
30,
46506,
3867,
62,
1462,
16034,
3084,
62,
3672,
62,
2670,
33411,
614,
1875,
5075,
5357,
4279,
1875,
642,
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
] | [
3792,
2611,
300,
9801,
280,
430,
351,
257,
4279,
4025,
621,
642,
706,
262,
614,
5075,
373,
3867,
284,
644,
4346,
3430,
30,
46506,
3867,
62,
1462,
16034,
3084,
62,
3672,
62,
2670,
33411,
614,
1875,
5075,
5357,
4279,
1875,
642,
5357,
... |
is there a flight on UA from BOSTON to DENVER | 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 = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BOSTON... | [
271,
612,
257,
5474,
319,
46164,
422,
347,
10892,
1340,
284,
37692,
28884,
36,
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,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
271,
612,
257,
5474,
319,
46164,
422,
347,
10892,
1340,
284,
37692,
28884,
36,
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,
31... |
What did the away team score at Junction oval? | SELECT away_team AS score FROM table_name_30 WHERE venue = "junction oval" | [
2061,
750,
262,
1497,
1074,
4776,
379,
44410,
41186,
30,
46506,
1497,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
1270,
33411,
14359,
796,
366,
73,
4575,
41186,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
750,
262,
1497,
1074,
4776,
379,
44410,
41186,
30,
46506,
1497,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
1270,
33411,
14359,
796,
366,
73,
4575,
41186,
1
] |
how much weight was patient 25965's first weight until 11/2105? | SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 25965)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'admit wt'... | [
4919,
881,
3463,
373,
5827,
37831,
2996,
338,
717,
3463,
1566,
1367,
14,
17,
13348,
30,
46506,
8262,
31534,
13,
2100,
84,
44709,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
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,
881,
3463,
373,
5827,
37831,
2996,
338,
717,
3463,
1566,
1367,
14,
17,
13348,
30,
46506,
8262,
31534,
13,
2100,
84,
44709,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13... |
What is Trevor Cann's nationality? | SELECT "Nationality" FROM table_56360 WHERE "Player" = 'trevor cann' | [
2061,
318,
25389,
12283,
338,
29835,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
3980,
15277,
33411,
366,
14140,
1,
796,
705,
83,
18218,
273,
6463,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
25389,
12283,
338,
29835,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
3980,
15277,
33411,
366,
14140,
1,
796,
705,
83,
18218,
273,
6463,
6
] |
Who has a rank great than 3 and a placing of 64? | SELECT name FROM table_name_60 WHERE rank > 3 AND placings = "64" | [
8241,
468,
257,
4279,
1049,
621,
513,
290,
257,
12560,
286,
5598,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
1899,
33411,
4279,
1875,
513,
5357,
21957,
654,
796,
366,
2414,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
468,
257,
4279,
1049,
621,
513,
290,
257,
12560,
286,
5598,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
1899,
33411,
4279,
1875,
513,
5357,
21957,
654,
796,
366,
2414,
1
] |
Which OpinionWay 5/18/09 has an Ipsos 5/16/09 of 11%? | SELECT opinionway_5_18_09 FROM table_name_52 WHERE ipsos_5_16_09 = "11%" | [
13828,
29525,
25309,
642,
14,
1507,
14,
2931,
468,
281,
47177,
418,
642,
14,
1433,
14,
2931,
286,
1367,
4,
30,
46506,
4459,
1014,
62,
20,
62,
1507,
62,
2931,
16034,
3084,
62,
3672,
62,
4309,
33411,
220,
2419,
418,
62,
20,
62,
1433... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
29525,
25309,
642,
14,
1507,
14,
2931,
468,
281,
47177,
418,
642,
14,
1433,
14,
2931,
286,
1367,
4,
30,
46506,
4459,
1014,
62,
20,
62,
1507,
62,
2931,
16034,
3084,
62,
3672,
62,
4309,
33411,
220,
2419,
418,
62,
20,
62,
1433... |
Episode of 9 in which performer 3 had? | SELECT performer_3 FROM table_name_82 WHERE episode = 9 | [
23758,
286,
860,
287,
543,
26960,
513,
550,
30,
46506,
26960,
62,
18,
16034,
3084,
62,
3672,
62,
6469,
33411,
4471,
796,
860
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23758,
286,
860,
287,
543,
26960,
513,
550,
30,
46506,
26960,
62,
18,
16034,
3084,
62,
3672,
62,
6469,
33411,
4471,
796,
860
] |
what are the five most frequently prescribed drugs since 5 years ago for patients prescribed with atropine 0.1 mg/ml inj syringe at the same time? | SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'atropine 0.1 mg/ml inj syringe' AND DATETIME(medica... | [
10919,
389,
262,
1936,
749,
6777,
14798,
5010,
1201,
642,
812,
2084,
329,
3871,
14798,
351,
379,
1773,
500,
657,
13,
16,
10527,
14,
4029,
2529,
827,
38229,
379,
262,
976,
640,
30,
46506,
256,
18,
13,
30349,
3672,
16034,
357,
46506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
389,
262,
1936,
749,
6777,
14798,
5010,
1201,
642,
812,
2084,
329,
3871,
14798,
351,
379,
1773,
500,
657,
13,
16,
10527,
14,
4029,
2529,
827,
38229,
379,
262,
976,
640,
30,
46506,
256,
18,
13,
30349,
3672,
16034,
357,
46506,
... |
What is the Road Team in the game with a Result of 105-95? | SELECT "Road Team" FROM table_8076 WHERE "Result" = '105-95' | [
2061,
318,
262,
5567,
4816,
287,
262,
983,
351,
257,
25414,
286,
13343,
12,
3865,
30,
46506,
366,
29197,
4816,
1,
16034,
3084,
62,
1795,
4304,
33411,
366,
23004,
1,
796,
705,
13348,
12,
3865,
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,
5567,
4816,
287,
262,
983,
351,
257,
25414,
286,
13343,
12,
3865,
30,
46506,
366,
29197,
4816,
1,
16034,
3084,
62,
1795,
4304,
33411,
366,
23004,
1,
796,
705,
13348,
12,
3865,
6
] |
what is the spanish word for garden | SELECT spanish FROM table_name_83 WHERE english = "garden" | [
10919,
318,
262,
599,
7115,
1573,
329,
11376,
46506,
599,
7115,
16034,
3084,
62,
3672,
62,
5999,
33411,
46932,
796,
366,
70,
5872,
1
] | [
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,
599,
7115,
1573,
329,
11376,
46506,
599,
7115,
16034,
3084,
62,
3672,
62,
5999,
33411,
46932,
796,
366,
70,
5872,
1
] |
What is the torque of a 2B engine? | SELECT torque FROM table_name_29 WHERE engine = "2b" | [
2061,
318,
262,
26415,
286,
257,
362,
33,
3113,
30,
46506,
26415,
16034,
3084,
62,
3672,
62,
1959,
33411,
3113,
796,
366,
17,
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
] | [
2061,
318,
262,
26415,
286,
257,
362,
33,
3113,
30,
46506,
26415,
16034,
3084,
62,
3672,
62,
1959,
33411,
3113,
796,
366,
17,
65,
1
] |
thanjavur has a population in 2001 of only how many ? | SELECT "population (2001)" FROM table_203_860 WHERE "city" = 'thanjavur' | [
14813,
73,
615,
333,
468,
257,
3265,
287,
5878,
286,
691,
703,
867,
5633,
46506,
366,
39748,
357,
14585,
16725,
16034,
3084,
62,
22416,
62,
45039,
33411,
366,
19205,
1,
796,
705,
14813,
73,
615,
333,
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
] | [
14813,
73,
615,
333,
468,
257,
3265,
287,
5878,
286,
691,
703,
867,
5633,
46506,
366,
39748,
357,
14585,
16725,
16034,
3084,
62,
22416,
62,
45039,
33411,
366,
19205,
1,
796,
705,
14813,
73,
615,
333,
6
] |
What are the characters from the movie Suppressed Duck? | SELECT "Characters" FROM table_65727 WHERE "Title" = 'suppressed duck' | [
2061,
389,
262,
3435,
422,
262,
3807,
8105,
2790,
21867,
30,
46506,
366,
48393,
1,
16034,
3084,
62,
37680,
1983,
33411,
366,
19160,
1,
796,
705,
18608,
2790,
22045,
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,
389,
262,
3435,
422,
262,
3807,
8105,
2790,
21867,
30,
46506,
366,
48393,
1,
16034,
3084,
62,
37680,
1983,
33411,
366,
19160,
1,
796,
705,
18608,
2790,
22045,
6
] |
What game in the genre of adventure, has a windows platform and its year is after 1997? | SELECT "Game" FROM table_79494 WHERE "Year" > '1997' AND "Platform(s)" = 'windows' AND "Genre" = 'adventure' | [
2061,
983,
287,
262,
12121,
286,
8855,
11,
468,
257,
9168,
3859,
290,
663,
614,
318,
706,
8309,
30,
46506,
366,
8777,
1,
16034,
3084,
62,
3720,
39449,
33411,
366,
17688,
1,
1875,
705,
21498,
6,
5357,
366,
37148,
7,
82,
16725,
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
] | [
2061,
983,
287,
262,
12121,
286,
8855,
11,
468,
257,
9168,
3859,
290,
663,
614,
318,
706,
8309,
30,
46506,
366,
8777,
1,
16034,
3084,
62,
3720,
39449,
33411,
366,
17688,
1,
1875,
705,
21498,
6,
5357,
366,
37148,
7,
82,
16725,
796,
... |
What was the try bonus when the points for was 608? | SELECT "Try bonus" FROM table_61794 WHERE "Points for" = '608' | [
2061,
373,
262,
1949,
7202,
618,
262,
2173,
329,
373,
39084,
30,
46506,
366,
23433,
7202,
1,
16034,
3084,
62,
47941,
5824,
33411,
366,
40710,
329,
1,
796,
705,
28688,
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,
373,
262,
1949,
7202,
618,
262,
2173,
329,
373,
39084,
30,
46506,
366,
23433,
7202,
1,
16034,
3084,
62,
47941,
5824,
33411,
366,
40710,
329,
1,
796,
705,
28688,
6
] |
What was the H/A when the scorer was Hughes? | SELECT "H / A" FROM table_47944 WHERE "Scorers" = 'hughes' | [
2061,
373,
262,
367,
14,
32,
618,
262,
30664,
373,
19712,
30,
46506,
366,
39,
1220,
317,
1,
16034,
3084,
62,
31714,
2598,
33411,
366,
26595,
3808,
1,
796,
705,
71,
1018,
956,
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,
373,
262,
367,
14,
32,
618,
262,
30664,
373,
19712,
30,
46506,
366,
39,
1220,
317,
1,
16034,
3084,
62,
31714,
2598,
33411,
366,
26595,
3808,
1,
796,
705,
71,
1018,
956,
6
] |
How many gold have a bronze of 1, a rank smaller than 6, and a total less than 3? | SELECT SUM(gold) FROM table_name_81 WHERE bronze = 1 AND rank < 6 AND total < 3 | [
2437,
867,
3869,
423,
257,
22101,
286,
352,
11,
257,
4279,
4833,
621,
718,
11,
290,
257,
2472,
1342,
621,
513,
30,
46506,
35683,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
6659,
33411,
22101,
796,
352,
5357,
4279,
1279,
718,
5357,
2472... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3869,
423,
257,
22101,
286,
352,
11,
257,
4279,
4833,
621,
718,
11,
290,
257,
2472,
1342,
621,
513,
30,
46506,
35683,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
6659,
33411,
22101,
796,
352,
5357,
4279,
1279,
718,
5357,
2472... |
Who was the opponent in the final in which the court surface was hard and the score was 6 3, 3 6, 7 5? | SELECT opponent_in_the_final FROM table_name_89 WHERE surface = "hard" AND score = "6–3, 3–6, 7–5" | [
8241,
373,
262,
6125,
287,
262,
2457,
287,
543,
262,
2184,
4417,
373,
1327,
290,
262,
4776,
373,
718,
513,
11,
513,
718,
11,
767,
642,
30,
46506,
6125,
62,
259,
62,
1169,
62,
20311,
16034,
3084,
62,
3672,
62,
4531,
33411,
4417,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
6125,
287,
262,
2457,
287,
543,
262,
2184,
4417,
373,
1327,
290,
262,
4776,
373,
718,
513,
11,
513,
718,
11,
767,
642,
30,
46506,
6125,
62,
259,
62,
1169,
62,
20311,
16034,
3084,
62,
3672,
62,
4531,
33411,
4417,
79... |
when did patient 83062 get a prescription first time, this month? | SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 83062) AND DATETIME(prescriptions.startdate, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 month') ORDER BY prescriptions.startdate LIMIT 1 | [
12518,
750,
5827,
807,
1270,
5237,
651,
257,
15077,
717,
640,
11,
428,
1227,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
750,
5827,
807,
1270,
5237,
651,
257,
15077,
717,
640,
11,
428,
1227,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
2... |
septic shock: sepsis with persisting hypotension requiring vasopressors to maintain a mean arterial pressure >= 65 mm hg and a serum lactate level > 2 mmol / l despite adequate volume resuscitation. | SELECT * FROM table_train_42 WHERE septic_shock = 1 OR (sepsis = 1 AND hypotension = 1 AND receiving_vasopressor = 1) | [
325,
17459,
6380,
25,
384,
862,
271,
351,
2774,
9665,
8813,
3004,
10616,
34439,
404,
601,
669,
284,
5529,
257,
1612,
30675,
498,
3833,
18189,
6135,
8085,
289,
70,
290,
257,
20502,
26222,
378,
1241,
1875,
362,
47340,
1220,
300,
3805,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
325,
17459,
6380,
25,
384,
862,
271,
351,
2774,
9665,
8813,
3004,
10616,
34439,
404,
601,
669,
284,
5529,
257,
1612,
30675,
498,
3833,
18189,
6135,
8085,
289,
70,
290,
257,
20502,
26222,
378,
1241,
1875,
362,
47340,
1220,
300,
3805,
1... |
give the number of patients whose language is english and diagnosis long title is unspecified protein-calorie malnutrition. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.language = "ENGL" AND diagnoses.long_title = "Unspecified protein-calorie malnutrition" | [
26535,
262,
1271,
286,
3871,
3025,
3303,
318,
46932,
290,
13669,
890,
3670,
318,
29547,
7532,
12,
9948,
19257,
49290,
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... | [
26535,
262,
1271,
286,
3871,
3025,
3303,
318,
46932,
290,
13669,
890,
3670,
318,
29547,
7532,
12,
9948,
19257,
49290,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
... |
give me the number of patients whose year of death is less than or equal to 2154 and diagnoses icd9 code is 78830? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dod_year <= "2154.0" AND diagnoses.icd9_code = "78830" | [
26535,
502,
262,
1271,
286,
3871,
3025,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
21526,
290,
40567,
14158,
67,
24,
2438,
318,
767,
3459,
1270,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
3871,
3025,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
21526,
290,
40567,
14158,
67,
24,
2438,
318,
767,
3459,
1270,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,... |
What team was the opponent when February shows more than 2, with a game number less than 55? | SELECT opponent FROM table_name_92 WHERE february > 2 AND game < 55 | [
2061,
1074,
373,
262,
6125,
618,
3945,
2523,
517,
621,
362,
11,
351,
257,
983,
1271,
1342,
621,
5996,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
5892,
33411,
730,
65,
3728,
1875,
362,
5357,
983,
1279,
5996
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
373,
262,
6125,
618,
3945,
2523,
517,
621,
362,
11,
351,
257,
983,
1271,
1342,
621,
5996,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
5892,
33411,
730,
65,
3728,
1875,
362,
5357,
983,
1279,
5996
] |
Name the number of coverage for 106.7 energy fm | SELECT COUNT("Coverage") FROM table_30102 WHERE "Branding" = '106.7 Energy FM' | [
5376,
262,
1271,
286,
5197,
329,
15696,
13,
22,
2568,
277,
76,
46506,
327,
28270,
7203,
7222,
1857,
4943,
16034,
3084,
62,
18938,
2999,
33411,
366,
9414,
27225,
1,
796,
705,
15801,
13,
22,
6682,
18695,
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
] | [
5376,
262,
1271,
286,
5197,
329,
15696,
13,
22,
2568,
277,
76,
46506,
327,
28270,
7203,
7222,
1857,
4943,
16034,
3084,
62,
18938,
2999,
33411,
366,
9414,
27225,
1,
796,
705,
15801,
13,
22,
6682,
18695,
6
] |
spicy pony released a total of three games ; their game , american mcgee 's crooked house was released on which platforms ? | SELECT "platforms" FROM table_203_836 WHERE "title" = "american mcgee's crooked house" | [
2777,
4611,
26902,
2716,
257,
2472,
286,
1115,
1830,
2162,
511,
983,
837,
45630,
272,
36650,
29622,
705,
82,
45571,
2156,
373,
2716,
319,
543,
9554,
5633,
46506,
366,
24254,
82,
1,
16034,
3084,
62,
22416,
62,
23,
2623,
33411,
366,
783... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2777,
4611,
26902,
2716,
257,
2472,
286,
1115,
1830,
2162,
511,
983,
837,
45630,
272,
36650,
29622,
705,
82,
45571,
2156,
373,
2716,
319,
543,
9554,
5633,
46506,
366,
24254,
82,
1,
16034,
3084,
62,
22416,
62,
23,
2623,
33411,
366,
783... |
What catalog uses the stereo compact cassette format? | SELECT catalog FROM table_name_10 WHERE format = "stereo compact cassette" | [
2061,
18388,
3544,
262,
24820,
16001,
42812,
5794,
30,
46506,
18388,
16034,
3084,
62,
3672,
62,
940,
33411,
5794,
796,
366,
301,
32934,
16001,
42812,
1
] | [
1,
1,
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,
18388,
3544,
262,
24820,
16001,
42812,
5794,
30,
46506,
18388,
16034,
3084,
62,
3672,
62,
940,
33411,
5794,
796,
366,
301,
32934,
16001,
42812,
1
] |
Which team has the # 64 pick? | SELECT college_junior_club_team FROM table_name_13 WHERE pick__number = "64" | [
13828,
1074,
468,
262,
1303,
5598,
2298,
30,
46506,
4152,
62,
29741,
1504,
62,
18664,
62,
15097,
16034,
3084,
62,
3672,
62,
1485,
33411,
2298,
834,
17618,
796,
366,
2414,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1074,
468,
262,
1303,
5598,
2298,
30,
46506,
4152,
62,
29741,
1504,
62,
18664,
62,
15097,
16034,
3084,
62,
3672,
62,
1485,
33411,
2298,
834,
17618,
796,
366,
2414,
1
] |
What is the average capacity of the stadiums that were opened in year 2005? | SELECT AVG(capacity) FROM stadium WHERE opening_year = 2005 | [
2061,
318,
262,
2811,
5339,
286,
262,
37924,
326,
547,
4721,
287,
614,
5075,
30,
46506,
35224,
7,
42404,
8,
16034,
10308,
33411,
4756,
62,
1941,
796,
5075
] | [
1,
1,
1,
1,
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,
5339,
286,
262,
37924,
326,
547,
4721,
287,
614,
5075,
30,
46506,
35224,
7,
42404,
8,
16034,
10308,
33411,
4756,
62,
1941,
796,
5075
] |
What is the minimum pick of a centre from the Czech Republic? | SELECT MIN(pick) FROM table_2840500_2 WHERE position = "Centre" AND nationality = "Czech Republic" | [
2061,
318,
262,
5288,
2298,
286,
257,
7372,
422,
262,
16639,
2066,
30,
46506,
20625,
7,
27729,
8,
16034,
3084,
62,
2078,
1821,
4059,
62,
17,
33411,
2292,
796,
366,
19085,
260,
1,
5357,
29835,
796,
366,
34,
15356,
2066,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5288,
2298,
286,
257,
7372,
422,
262,
16639,
2066,
30,
46506,
20625,
7,
27729,
8,
16034,
3084,
62,
2078,
1821,
4059,
62,
17,
33411,
2292,
796,
366,
19085,
260,
1,
5357,
29835,
796,
366,
34,
15356,
2066,
1
] |
Name the score when the home is ny islanders and the visitor is montreal | SELECT "Score" FROM table_55959 WHERE "Home" = 'ny islanders' AND "Visitor" = 'montreal' | [
5376,
262,
4776,
618,
262,
1363,
318,
299,
88,
7022,
364,
290,
262,
21493,
318,
40689,
5305,
46506,
366,
26595,
1,
16034,
3084,
62,
38605,
3270,
33411,
366,
16060,
1,
796,
705,
3281,
7022,
364,
6,
5357,
366,
15854,
2072,
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
] | [
5376,
262,
4776,
618,
262,
1363,
318,
299,
88,
7022,
364,
290,
262,
21493,
318,
40689,
5305,
46506,
366,
26595,
1,
16034,
3084,
62,
38605,
3270,
33411,
366,
16060,
1,
796,
705,
3281,
7022,
364,
6,
5357,
366,
15854,
2072,
1,
796,
705... |
Which district has a Republican elected? | SELECT district FROM table_1342315_12 WHERE party = "Republican" | [
13828,
4783,
468,
257,
3415,
7018,
30,
46506,
4783,
16034,
3084,
62,
19880,
1954,
1314,
62,
1065,
33411,
2151,
796,
366,
25777,
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,
4783,
468,
257,
3415,
7018,
30,
46506,
4783,
16034,
3084,
62,
19880,
1954,
1314,
62,
1065,
33411,
2151,
796,
366,
25777,
1
] |
Which Venue has a Opponents of halmstad and a Score of 1-1? | SELECT venue FROM table_name_84 WHERE opponents = "halmstad" AND score = "1-1" | [
13828,
9932,
518,
468,
257,
9385,
3906,
286,
10284,
76,
24107,
290,
257,
15178,
286,
352,
12,
16,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
5705,
33411,
7691,
796,
366,
14201,
76,
24107,
1,
5357,
4776,
796,
366,
16,
12,
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
] | [
13828,
9932,
518,
468,
257,
9385,
3906,
286,
10284,
76,
24107,
290,
257,
15178,
286,
352,
12,
16,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
5705,
33411,
7691,
796,
366,
14201,
76,
24107,
1,
5357,
4776,
796,
366,
16,
12,
16,
1
] |
Top 10 users from Morocco. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%france%' ORDER BY Reputation DESC LIMIT 10 | [
9126,
838,
2985,
422,
29638,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
16034,
18987,
33411,
406,
36048,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9126,
838,
2985,
422,
29638,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
16034,
18987,
33411,
406,
36048,
... |
provide the number of patients whose death status is 0 and diagnoses long title is suicide and self-inflicted poisoning by analgesics, antipyretics, and antirheumatics? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.expire_flag = "0" AND diagnoses.long_title = "Suicide and self-inflicted poisoning by analgesics, antipyretics, and antirheumatics" | [
15234,
485,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
40567,
890,
3670,
318,
7341,
290,
2116,
12,
10745,
17823,
22475,
416,
48895,
873,
11,
32867,
88,
1186,
873,
11,
290,
1885,
343,
258,
388,
23372,
30,
46506,
327,
28270,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
40567,
890,
3670,
318,
7341,
290,
2116,
12,
10745,
17823,
22475,
416,
48895,
873,
11,
32867,
88,
1186,
873,
11,
290,
1885,
343,
258,
388,
23372,
30,
46506,
327,
28270,... |
how many patients of black/cape verdean ethnicity are diagnosed with diabetes with renal manifestations, type ii or unspecified type, not stated as uncontrolled? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "BLACK/CAPE VERDEAN" AND diagnoses.long_title = "Diabetes with renal manifestations, type II or unspecified type, not stated as uncontrolled" | [
4919,
867,
3871,
286,
2042,
14,
36435,
3326,
2934,
272,
26289,
389,
14641,
351,
12593,
351,
44375,
38538,
11,
2099,
21065,
393,
29547,
2099,
11,
407,
5081,
355,
47913,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
2042,
14,
36435,
3326,
2934,
272,
26289,
389,
14641,
351,
12593,
351,
44375,
38538,
11,
2099,
21065,
393,
29547,
2099,
11,
407,
5081,
355,
47913,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
... |
For those records from the products and each product's manufacturer, give me the comparison about the amount of headquarter over the headquarter , and group by attribute headquarter. | SELECT Headquarter, COUNT(Headquarter) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2033,
286,
1182,
24385,
625,
262,
1182,
24385,
837,
290,
1448,
416,
11688,
1182,
24385,
13,
46506,
7123,
24385,
11,
327,
28270,
7,
13847... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2033,
286,
1182,
24385,
625,
262,
1182,
24385,
837,
290,
1448,
416,
11688,
1182,
24385,
13,
46506,
7123,
24385,
11,
327,
28270,
7,
13847... |
where was mazouz ghaouti executed? | SELECT place_of_execution FROM table_2861364_1 WHERE executed_person = "Mazouz Ghaouti" | [
3003,
373,
285,
1031,
280,
89,
308,
3099,
448,
72,
10945,
30,
46506,
1295,
62,
1659,
62,
18558,
1009,
16034,
3084,
62,
27033,
1485,
2414,
62,
16,
33411,
10945,
62,
6259,
796,
366,
44,
1031,
280,
89,
402,
3099,
448,
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
] | [
3003,
373,
285,
1031,
280,
89,
308,
3099,
448,
72,
10945,
30,
46506,
1295,
62,
1659,
62,
18558,
1009,
16034,
3084,
62,
27033,
1485,
2414,
62,
16,
33411,
10945,
62,
6259,
796,
366,
44,
1031,
280,
89,
402,
3099,
448,
72,
1
] |
What was the result when the method was submission (kimura)? | SELECT "Res." FROM table_7979 WHERE "Method" = 'submission (kimura)' | [
2061,
373,
262,
1255,
618,
262,
2446,
373,
14498,
357,
74,
43817,
19427,
46506,
366,
4965,
526,
16034,
3084,
62,
3720,
3720,
33411,
366,
17410,
1,
796,
705,
7266,
3411,
357,
74,
43817,
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
] | [
2061,
373,
262,
1255,
618,
262,
2446,
373,
14498,
357,
74,
43817,
19427,
46506,
366,
4965,
526,
16034,
3084,
62,
3720,
3720,
33411,
366,
17410,
1,
796,
705,
7266,
3411,
357,
74,
43817,
33047
] |
What was the highest total when Norrkoping scored 12? | SELECT MAX("Total") FROM table_58801 WHERE "Norrk\u00f6ping" = '12' | [
2061,
373,
262,
4511,
2472,
618,
5414,
81,
74,
15816,
7781,
1105,
30,
46506,
25882,
7203,
14957,
4943,
16034,
3084,
62,
39118,
486,
33411,
366,
21991,
81,
74,
59,
84,
405,
69,
21,
13886,
1,
796,
705,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4511,
2472,
618,
5414,
81,
74,
15816,
7781,
1105,
30,
46506,
25882,
7203,
14957,
4943,
16034,
3084,
62,
39118,
486,
33411,
366,
21991,
81,
74,
59,
84,
405,
69,
21,
13886,
1,
796,
705,
1065,
6
] |
How many times did the team play at oakland-alameda county coliseum? | SELECT COUNT("Date") FROM table_18040 WHERE "Game site" = 'Oakland-Alameda County Coliseum' | [
2437,
867,
1661,
750,
262,
1074,
711,
379,
26210,
1044,
12,
282,
49637,
7968,
951,
38277,
30,
46506,
327,
28270,
7203,
10430,
4943,
16034,
3084,
62,
15259,
1821,
33411,
366,
8777,
2524,
1,
796,
705,
42426,
1044,
12,
2348,
49637,
3418,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
1074,
711,
379,
26210,
1044,
12,
282,
49637,
7968,
951,
38277,
30,
46506,
327,
28270,
7203,
10430,
4943,
16034,
3084,
62,
15259,
1821,
33411,
366,
8777,
2524,
1,
796,
705,
42426,
1044,
12,
2348,
49637,
3418,
... |
Accepted answers with score of 4 by <100 rep users. | SELECT p.Id AS "post_link" FROM Posts AS p INNER JOIN Votes AS v ON p.Id = v.PostId AND v.VoteTypeId = 1 INNER JOIN Users AS u ON p.OwnerUserId = u.Id AND u.Reputation < 100 WHERE p.Score = 4 | [
38855,
276,
7429,
351,
4776,
286,
604,
416,
1279,
3064,
1128,
2985,
13,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1,
16034,
12043,
7054,
279,
3268,
21479,
32357,
1268,
39584,
7054,
410,
6177,
279,
13,
7390,
796,
410,
13,
6307,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
38855,
276,
7429,
351,
4776,
286,
604,
416,
1279,
3064,
1128,
2985,
13,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1,
16034,
12043,
7054,
279,
3268,
21479,
32357,
1268,
39584,
7054,
410,
6177,
279,
13,
7390,
796,
410,
13,
6307,
... |
please list am flights leaving SAN FRANCISCO BOSTON | 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 = 'SAN FRANCISCO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = ... | [
29688,
1351,
716,
13956,
4305,
37376,
8782,
20940,
1797,
8220,
347,
10892,
1340,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
29688,
1351,
716,
13956,
4305,
37376,
8782,
20940,
1797,
8220,
347,
10892,
1340,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31... |
Who was the incumbent when ran william b. oliver (d) unopposed? | SELECT incumbent FROM table_1346118_2 WHERE candidates = "William B. Oliver (D) Unopposed" | [
8241,
373,
262,
23526,
618,
4966,
481,
1789,
275,
13,
25776,
1428,
357,
67,
8,
555,
10365,
1335,
30,
46506,
23526,
16034,
3084,
62,
1485,
3510,
16817,
62,
17,
33411,
5871,
796,
366,
17121,
347,
13,
15416,
357,
35,
8,
791,
10365,
133... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23526,
618,
4966,
481,
1789,
275,
13,
25776,
1428,
357,
67,
8,
555,
10365,
1335,
30,
46506,
23526,
16034,
3084,
62,
1485,
3510,
16817,
62,
17,
33411,
5871,
796,
366,
17121,
347,
13,
15416,
357,
35,
8,
791,
10365,
133... |
What date of segment description red line mos-2 north open? | SELECT "Date opened" FROM table_72974 WHERE "Segment description" = 'Red Line MOS-2 North' | [
2061,
3128,
286,
10618,
6764,
2266,
1627,
10867,
12,
17,
5093,
1280,
30,
46506,
366,
10430,
4721,
1,
16034,
3084,
62,
48555,
4524,
33411,
366,
41030,
434,
6764,
1,
796,
705,
7738,
6910,
337,
2640,
12,
17,
2258,
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,
3128,
286,
10618,
6764,
2266,
1627,
10867,
12,
17,
5093,
1280,
30,
46506,
366,
10430,
4721,
1,
16034,
3084,
62,
48555,
4524,
33411,
366,
41030,
434,
6764,
1,
796,
705,
7738,
6910,
337,
2640,
12,
17,
2258,
6
] |
Of the players whose lead began at the australian championships, what was the shortest span of years led? | SELECT MIN(span_of_years_led) FROM table_23408094_14 WHERE tournament_at_which_lead_began = "Australian Championships" | [
5189,
262,
1938,
3025,
1085,
2540,
379,
262,
38132,
1373,
666,
27459,
11,
644,
373,
262,
35581,
11506,
286,
812,
2957,
30,
46506,
20625,
7,
12626,
62,
1659,
62,
19002,
62,
992,
8,
16034,
3084,
62,
1954,
1821,
1795,
5824,
62,
1415,
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
] | [
5189,
262,
1938,
3025,
1085,
2540,
379,
262,
38132,
1373,
666,
27459,
11,
644,
373,
262,
35581,
11506,
286,
812,
2957,
30,
46506,
20625,
7,
12626,
62,
1659,
62,
19002,
62,
992,
8,
16034,
3084,
62,
1954,
1821,
1795,
5824,
62,
1415,
3... |
since 907 days ago, when was the first time that patient 006-202432 had the maximum respiration? | SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-202432')) AND NOT vitalperiodic.respiration IS ... | [
20777,
860,
2998,
1528,
2084,
11,
618,
373,
262,
717,
640,
326,
5827,
3571,
21,
12,
1238,
1731,
2624,
550,
262,
5415,
1217,
15297,
30,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
20777,
860,
2998,
1528,
2084,
11,
618,
373,
262,
717,
640,
326,
5827,
3571,
21,
12,
1238,
1731,
2624,
550,
262,
5415,
1217,
15297,
30,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291... |
What classes are easiest , while still fulfilling the PreMajor requirement ? | SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%PreMajor%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM progra... | [
2061,
6097,
389,
16638,
837,
981,
991,
26187,
262,
3771,
24206,
9079,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62,
17319,
13,
1818,
2220,
11,
1430,
62,
17319,
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... | [
2061,
6097,
389,
16638,
837,
981,
991,
26187,
262,
3771,
24206,
9079,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62,
17319,
13,
1818,
2220,
11,
1430,
62,
17319,
13,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.