instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
In what genre did Microvision develop a game? | SELECT genre FROM table_name_49 WHERE developer = "microvision" | [
818,
644,
12121,
750,
4527,
10178,
1205,
257,
983,
30,
46506,
12121,
16034,
3084,
62,
3672,
62,
2920,
33411,
8517,
796,
366,
24055,
10178,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
818,
644,
12121,
750,
4527,
10178,
1205,
257,
983,
30,
46506,
12121,
16034,
3084,
62,
3672,
62,
2920,
33411,
8517,
796,
366,
24055,
10178,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
what is the since beginning of big 12 when last 10 meetings is ou, 7-3, neutral site is ou, 2-1, and last 5 meetings is bu, 3-2? | SELECT since_beginning_of_big_12 FROM table_name_28 WHERE last_10_meetings = "ou, 7-3" AND at_neutral_site = "ou, 2-1" AND last_5_meetings = "bu, 3-2" | [
10919,
318,
262,
1201,
3726,
286,
1263,
1105,
618,
938,
838,
8292,
318,
267,
84,
11,
767,
12,
18,
11,
8500,
2524,
318,
267,
84,
11,
362,
12,
16,
11,
290,
938,
642,
8292,
318,
809
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1201,
3726,
286,
1263,
1105,
618,
938,
838,
8292,
318,
267,
84,
11,
767,
12,
18,
11,
8500,
2524,
318,
267,
84,
11,
362,
12,
16,
11,
290,
938,
642,
8292,
318,
809
] |
How many items are listed under the column of U.S. viewers for episode 'Bite Me'? | SELECT COUNT("U.S. viewers (millions)") FROM table_24195 WHERE "Title" = 'Bite Me' | [
2437,
867,
3709,
389,
5610,
739,
262,
5721,
286,
471,
13,
50,
13,
10209,
329,
4471,
705,
33,
578,
2185,
30960,
46506,
327,
28270,
7203,
52,
13,
50,
13,
10209,
357,
17805,
507,
8,
4943,
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
] | [
2437,
867,
3709,
389,
5610,
739,
262,
5721,
286,
471,
13,
50,
13,
10209,
329,
4471,
705,
33,
578,
2185,
30960,
46506,
327,
28270,
7203,
52,
13,
50,
13,
10209,
357,
17805,
507,
8,
4943,
16034
] |
count the number of patients whose admission type is elective and primary disease is morbid obesity/sda? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.diagnosis = "MORBID OBESITY/SDA" | [
9127,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
1742,
425,
290,
4165,
4369,
318,
34813,
13825,
14,
82,
6814,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9127,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
1742,
425,
290,
4165,
4369,
318,
34813,
13825,
14,
82,
6814,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034
] |
Name the place for tim clark | SELECT place FROM table_name_65 WHERE player = "tim clark" | [
5376,
262,
1295,
329,
4628,
537,
668,
46506,
1295,
16034,
3084,
62,
3672,
62,
2996,
33411,
2137,
796,
366,
16514,
537,
668,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
5376,
262,
1295,
329,
4628,
537,
668,
46506,
1295,
16034,
3084,
62,
3672,
62,
2996,
33411,
2137,
796,
366,
16514,
537,
668,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What are the vocal types used in song 'Badlands'? | SELECT type FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE title = "Badlands" | [
2061,
389,
262,
12435,
3858,
973,
287,
3496,
705,
22069,
4447,
30960,
46506,
2099,
16034,
25355,
7054,
309,
16,
32357,
1268,
7259,
7054,
309,
17,
6177,
309,
16,
13,
34050,
312,
796,
309,
17,
13,
34050
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12435,
3858,
973,
287,
3496,
705,
22069,
4447,
30960,
46506,
2099,
16034,
25355,
7054,
309,
16,
32357,
1268,
7259,
7054,
309,
17,
6177,
309,
16,
13,
34050,
312,
796,
309,
17,
13,
34050
] |
provide the number of patients whose admission location is emergency room admit and drug name is amiodarone hcl? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_location = "EMERGENCY ROOM ADMIT" AND prescriptions.drug = "Amiodarone HCl" | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
6334,
2119,
9159,
290,
2563,
1438,
318,
716,
2101,
283,
505,
289,
565,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
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
] | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
6334,
2119,
9159,
290,
2563,
1438,
318,
716,
2101,
283,
505,
289,
565,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62
] |
How many points were won where new points was 1680? | SELECT MIN("Points won") FROM table_3809 WHERE "New points" = '1680' | [
2437,
867,
2173,
547,
1839,
810,
649,
2173,
373,
1467,
1795,
30,
46506,
20625,
7203,
40710,
1839,
4943,
16034,
3084,
62,
23734,
24,
33411,
366,
3791,
2173,
1,
796,
705,
1433,
1795,
6,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0
] | [
2437,
867,
2173,
547,
1839,
810,
649,
2173,
373,
1467,
1795,
30,
46506,
20625,
7203,
40710,
1839,
4943,
16034,
3084,
62,
23734,
24,
33411,
366,
3791,
2173,
1,
796,
705,
1433,
1795,
6,
50256,
50256,
50256
] |
how many patients are primarily diagnosed for posterior communicating aneurysm/sda and died in or before 2180? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "POSTERIOR COMMUNICATING ANEURYSM/SDA" AND demographic.dod_year <= "2180.0" | [
4919,
867,
3871,
389,
7525,
14641,
329,
34319,
22889,
281,
23365,
893,
76,
14,
82,
6814,
290,
3724,
287,
393,
878,
362,
15259,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
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
] | [
4919,
867,
3871,
389,
7525,
14641,
329,
34319,
22889,
281,
23365,
893,
76,
14,
82,
6814,
290,
3724,
287,
393,
878,
362,
15259,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62
] |
What's the value for race 4 when race 3 is dns and race 2 is 27? | SELECT "Race 4" FROM table_46390 WHERE "Race 3" = 'dns' AND "Race 2" = '27' | [
2061,
338,
262,
1988,
329,
3234,
604,
618,
3234,
513,
318,
288,
5907,
290,
3234,
362,
318,
2681,
30,
46506,
366,
35157,
604,
1,
16034,
3084,
62,
3510,
25964,
33411,
366,
35157,
513,
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
] | [
2061,
338,
262,
1988,
329,
3234,
604,
618,
3234,
513,
318,
288,
5907,
290,
3234,
362,
318,
2681,
30,
46506,
366,
35157,
604,
1,
16034,
3084,
62,
3510,
25964,
33411,
366,
35157,
513,
1,
796,
705
] |
Game time of 2nd quarter (0:00), and a Date of november 8, 1971 has how many average yards? | SELECT AVG("Yards") FROM table_35078 WHERE "Game time" = '2nd quarter (0:00)' AND "Date" = 'november 8, 1971' | [
8777,
640,
286,
362,
358,
3860,
357,
15,
25,
405,
828,
290,
257,
7536,
286,
645,
303,
1916,
807,
11,
16382,
468,
703,
867,
2811,
5695,
30,
46506,
35224,
7203,
56,
1371,
4943,
16034,
3084,
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
] | [
8777,
640,
286,
362,
358,
3860,
357,
15,
25,
405,
828,
290,
257,
7536,
286,
645,
303,
1916,
807,
11,
16382,
468,
703,
867,
2811,
5695,
30,
46506,
35224,
7203,
56,
1371,
4943,
16034,
3084,
62
] |
What is the crowd where the away team scored 1.13.12 (99)? | SELECT "Crowd" FROM table_7786 WHERE "Away team score" = '1.13.12 (99)' | [
2061,
318,
262,
4315,
810,
262,
1497,
1074,
7781,
352,
13,
1485,
13,
1065,
357,
2079,
19427,
46506,
366,
34,
3986,
1,
16034,
3084,
62,
3324,
4521,
33411,
366,
32,
1014,
1074,
4776,
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
] | [
2061,
318,
262,
4315,
810,
262,
1497,
1074,
7781,
352,
13,
1485,
13,
1065,
357,
2079,
19427,
46506,
366,
34,
3986,
1,
16034,
3084,
62,
3324,
4521,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705
] |
I want to know the proportion of different industry types. | SELECT Industry, COUNT(*) FROM Companies GROUP BY Industry | [
40,
765,
284,
760,
262,
9823,
286,
1180,
2831,
3858,
13,
46506,
17420,
11,
327,
28270,
7,
28104,
16034,
24382,
44441,
11050,
17420,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
40,
765,
284,
760,
262,
9823,
286,
1180,
2831,
3858,
13,
46506,
17420,
11,
327,
28270,
7,
28104,
16034,
24382,
44441,
11050,
17420,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What is the high assist total for players from 2010 and under 76 rebounds? | SELECT MAX("Asts") FROM table_58553 WHERE "From" = '2010' AND "Rebs" < '76' | [
2061,
318,
262,
1029,
3342,
2472,
329,
1938,
422,
3050,
290,
739,
8684,
18841,
30,
46506,
25882,
7203,
32,
6448,
4943,
16034,
3084,
62,
3365,
48096,
33411,
366,
4863,
1,
796,
705,
10333,
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
] | [
2061,
318,
262,
1029,
3342,
2472,
329,
1938,
422,
3050,
290,
739,
8684,
18841,
30,
46506,
25882,
7203,
32,
6448,
4943,
16034,
3084,
62,
3365,
48096,
33411,
366,
4863,
1,
796,
705,
10333,
6,
5357,
366
] |
which position was represented the most on the team ? | SELECT "position" FROM table_204_490 GROUP BY "position" ORDER BY COUNT(*) DESC LIMIT 1 | [
4758,
2292,
373,
7997,
262,
749,
319,
262,
1074,
5633,
46506,
366,
9150,
1,
16034,
3084,
62,
18638,
62,
31503,
44441,
11050,
366,
9150,
1,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
2292,
373,
7997,
262,
749,
319,
262,
1074,
5633,
46506,
366,
9150,
1,
16034,
3084,
62,
18638,
62,
31503,
44441,
11050,
366,
9150,
1,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] |
how many games did the eagles win after december 1 , 1968 ? | SELECT COUNT(*) FROM table_203_405 WHERE "result" = 'w' AND "date" >= 12 | [
4919,
867,
1830,
750,
262,
304,
37803,
1592,
706,
390,
3273,
352,
837,
15963,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
26598,
33411,
366,
20274,
1,
796,
705,
86,
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
] | [
4919,
867,
1830,
750,
262,
304,
37803,
1592,
706,
390,
3273,
352,
837,
15963,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
26598,
33411,
366,
20274,
1,
796,
705,
86,
6,
5357,
366
] |
What is the average to par for a score of 78-67-73=218? | SELECT AVG("To par") FROM table_13140 WHERE "Score" = '78-67-73=218' | [
2061,
318,
262,
2811,
284,
1582,
329,
257,
4776,
286,
8699,
12,
3134,
12,
4790,
28,
28727,
30,
46506,
35224,
7203,
2514,
1582,
4943,
16034,
3084,
62,
1485,
15187,
33411,
366,
26595,
1,
796,
705,
3695
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
284,
1582,
329,
257,
4776,
286,
8699,
12,
3134,
12,
4790,
28,
28727,
30,
46506,
35224,
7203,
2514,
1582,
4943,
16034,
3084,
62,
1485,
15187,
33411,
366,
26595,
1,
796,
705,
3695
] |
Tell me the date for rudolf caracciola for avusrennen | SELECT "Date" FROM table_31548 WHERE "Winning driver" = 'rudolf caracciola' AND "Name" = 'avusrennen' | [
24446,
502,
262,
3128,
329,
28906,
4024,
1097,
44456,
5708,
329,
1196,
385,
918,
38572,
46506,
366,
10430,
1,
16034,
3084,
62,
27936,
2780,
33411,
366,
16643,
768,
4639,
1,
796,
705,
81,
463,
4024,
1097
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
3128,
329,
28906,
4024,
1097,
44456,
5708,
329,
1196,
385,
918,
38572,
46506,
366,
10430,
1,
16034,
3084,
62,
27936,
2780,
33411,
366,
16643,
768,
4639,
1,
796,
705,
81,
463,
4024,
1097
] |
What home team played at western oval? | SELECT "Home team" FROM table_74764 WHERE "Venue" = 'western oval' | [
2061,
1363,
1074,
2826,
379,
8830,
41186,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
48882,
2414,
33411,
366,
37522,
518,
1,
796,
705,
14197,
41186,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
1363,
1074,
2826,
379,
8830,
41186,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
48882,
2414,
33411,
366,
37522,
518,
1,
796,
705,
14197,
41186,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What was the chassis when the entrant was Lavazza March, and the year was 1975? | SELECT chassis FROM table_name_38 WHERE entrant = "lavazza march" AND year = 1975 | [
2061,
373,
262,
24587,
618,
262,
920,
5250,
373,
21438,
1031,
4496,
2805,
11,
290,
262,
614,
373,
15231,
30,
46506,
24587,
16034,
3084,
62,
3672,
62,
2548,
33411,
920,
5250,
796,
366,
18809,
1031,
4496
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24587,
618,
262,
920,
5250,
373,
21438,
1031,
4496,
2805,
11,
290,
262,
614,
373,
15231,
30,
46506,
24587,
16034,
3084,
62,
3672,
62,
2548,
33411,
920,
5250,
796,
366,
18809,
1031,
4496
] |
What is the Heat of the 34 Rank swimmer with a Time of 49.49 or less? | SELECT AVG(heat) FROM table_name_97 WHERE rank = 34 AND time < 49.49 | [
2061,
318,
262,
12308,
286,
262,
4974,
10916,
9422,
647,
351,
257,
3862,
286,
5125,
13,
2920,
393,
1342,
30,
46506,
35224,
7,
25080,
8,
16034,
3084,
62,
3672,
62,
5607,
33411,
4279,
796,
4974,
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
] | [
2061,
318,
262,
12308,
286,
262,
4974,
10916,
9422,
647,
351,
257,
3862,
286,
5125,
13,
2920,
393,
1342,
30,
46506,
35224,
7,
25080,
8,
16034,
3084,
62,
3672,
62,
5607,
33411,
4279,
796,
4974,
5357
] |
When was the game at Essendon? | SELECT date FROM table_name_83 WHERE away_team = "essendon" | [
2215,
373,
262,
983,
379,
11985,
43153,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
5999,
33411,
1497,
62,
15097,
796,
366,
408,
43153,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2215,
373,
262,
983,
379,
11985,
43153,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
5999,
33411,
1497,
62,
15097,
796,
366,
408,
43153,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
has patient 73913 been diagnosed with hyposmolality? | SELECT COUNT(*) > 0 FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'hyposmolality') AND diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 73913) | [
10134,
5827,
767,
2670,
1485,
587,
14641,
351,
2537,
1930,
43132,
1483,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
40567,
62,
291,
67,
33411,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10134,
5827,
767,
2670,
1485,
587,
14641,
351,
2537,
1930,
43132,
1483,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
40567,
62,
291,
67,
33411,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189
] |
how many female patients were there whose hospital stay was more than 16 days? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.days_stay > "16" | [
4919,
867,
4048,
3871,
547,
612,
3025,
4436,
2652,
373,
517,
621,
1467,
1528,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8388,
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
] | [
4919,
867,
4048,
3871,
547,
612,
3025,
4436,
2652,
373,
517,
621,
1467,
1528,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8388,
796
] |
How many average games did Nick Rimando have? | SELECT AVG(games) FROM table_name_99 WHERE player = "nick rimando" | [
2437,
867,
2811,
1830,
750,
8047,
29542,
25440,
423,
30,
46506,
35224,
7,
19966,
8,
16034,
3084,
62,
3672,
62,
2079,
33411,
2137,
796,
366,
17172,
20254,
25440,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] | [
2437,
867,
2811,
1830,
750,
8047,
29542,
25440,
423,
30,
46506,
35224,
7,
19966,
8,
16034,
3084,
62,
3672,
62,
2079,
33411,
2137,
796,
366,
17172,
20254,
25440,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What is the Latin term for the Greek symbol ? | SELECT latin FROM table_name_80 WHERE greek = "μ" | [
2061,
318,
262,
9133,
3381,
329,
262,
8312,
6194,
5633,
46506,
3042,
259,
16034,
3084,
62,
3672,
62,
1795,
33411,
308,
10316,
796,
366,
34703,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
318,
262,
9133,
3381,
329,
262,
8312,
6194,
5633,
46506,
3042,
259,
16034,
3084,
62,
3672,
62,
1795,
33411,
308,
10316,
796,
366,
34703,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
If the Ovrs is less than 2, what's the average in Wkts? | SELECT AVG(wkts) FROM table_name_95 WHERE ovrs < 2 | [
1532,
262,
46941,
3808,
318,
1342,
621,
362,
11,
644,
338,
262,
2811,
287,
370,
74,
912,
30,
46506,
35224,
7,
43021,
912,
8,
16034,
3084,
62,
3672,
62,
3865,
33411,
19643,
3808,
1279,
362,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0
] | [
1532,
262,
46941,
3808,
318,
1342,
621,
362,
11,
644,
338,
262,
2811,
287,
370,
74,
912,
30,
46506,
35224,
7,
43021,
912,
8,
16034,
3084,
62,
3672,
62,
3865,
33411,
19643,
3808,
1279,
362,
50256
] |
What position is Sal Martinez? | SELECT "Position" FROM table_56487 WHERE "Player" = 'sal martinez' | [
2061,
2292,
318,
4849,
20741,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
20,
2414,
5774,
33411,
366,
14140,
1,
796,
705,
21680,
11277,
18885,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
2292,
318,
4849,
20741,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
20,
2414,
5774,
33411,
366,
14140,
1,
796,
705,
21680,
11277,
18885,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
what procedure was first taken to patient 005-77687 in the last hospital visit? | SELECT treatment.treatmentname FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-77687' AND NOT patient.hospitaldischargetime IS NULL ORDER BY... | [
10919,
8771,
373,
717,
2077,
284,
5827,
3571,
20,
12,
3324,
39925,
287,
262,
938,
4436,
3187,
30,
46506,
3513,
13,
42487,
3672,
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
] | [
10919,
8771,
373,
717,
2077,
284,
5827,
3571,
20,
12,
3324,
39925,
287,
262,
938,
4436,
3187,
30,
46506,
3513,
13,
42487,
3672,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827
] |
How many parties were for candidates newt gingrich (r) 59.1% dock h. davis (d) 40.9%? | SELECT COUNT("Party") FROM table_72390 WHERE "Candidates" = 'Newt Gingrich (R) 59.1% Dock H. Davis (D) 40.9%' | [
2437,
867,
4671,
547,
329,
5871,
649,
83,
308,
278,
7527,
357,
81,
8,
7863,
13,
16,
4,
23423,
289,
13,
288,
23401,
357,
67,
8,
2319,
13,
24,
4,
30,
46506,
327,
28270,
7203,
33553
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4671,
547,
329,
5871,
649,
83,
308,
278,
7527,
357,
81,
8,
7863,
13,
16,
4,
23423,
289,
13,
288,
23401,
357,
67,
8,
2319,
13,
24,
4,
30,
46506,
327,
28270,
7203,
33553
] |
What is the D 48 when the D 50 is d 30? | SELECT "D 48" FROM table_56225 WHERE "D 50" = 'd 30' | [
2061,
318,
262,
360,
4764,
618,
262,
360,
2026,
318,
288,
1542,
30,
46506,
366,
35,
4764,
1,
16034,
3084,
62,
3980,
18182,
33411,
366,
35,
2026,
1,
796,
705,
67,
1542,
6,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0
] | [
2061,
318,
262,
360,
4764,
618,
262,
360,
2026,
318,
288,
1542,
30,
46506,
366,
35,
4764,
1,
16034,
3084,
62,
3980,
18182,
33411,
366,
35,
2026,
1,
796,
705,
67,
1542,
6,
50256,
50256,
50256
] |
in which year was cyber nations released ? | SELECT "release" FROM table_204_700 WHERE "name" = 'cyber nations' | [
259,
543,
614,
373,
10075,
7027,
2716,
5633,
46506,
366,
20979,
1,
16034,
3084,
62,
18638,
62,
9879,
33411,
366,
3672,
1,
796,
705,
948,
527,
7027,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] | [
259,
543,
614,
373,
10075,
7027,
2716,
5633,
46506,
366,
20979,
1,
16034,
3084,
62,
18638,
62,
9879,
33411,
366,
3672,
1,
796,
705,
948,
527,
7027,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
when was first intake time of patient 1819 since 270 days ago? | SELECT inputevents_cv.charttime FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 1819)) AND DATETIME(inputevents_cv.charttime) >= DATETIME(CURRENT_TIME(), '-270 day') ORDER ... | [
12518,
373,
717,
10337,
640,
286,
5827,
1248,
1129,
1201,
20479,
1528,
2084,
30,
46506,
287,
79,
1133,
85,
658,
62,
33967,
13,
40926,
2435,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
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
] | [
12518,
373,
717,
10337,
640,
286,
5827,
1248,
1129,
1201,
20479,
1528,
2084,
30,
46506,
287,
79,
1133,
85,
658,
62,
33967,
13,
40926,
2435,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
79
] |
What is Score, when Player is 'Vijay Singh'? | SELECT score FROM table_name_41 WHERE player = "vijay singh" | [
2061,
318,
15178,
11,
618,
7853,
318,
705,
53,
2926,
323,
14403,
30960,
46506,
4776,
16034,
3084,
62,
3672,
62,
3901,
33411,
2137,
796,
366,
85,
2926,
323,
1702,
71,
1,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0
] | [
2061,
318,
15178,
11,
618,
7853,
318,
705,
53,
2926,
323,
14403,
30960,
46506,
4776,
16034,
3084,
62,
3672,
62,
3901,
33411,
2137,
796,
366,
85,
2926,
323,
1702,
71,
1,
50256,
50256,
50256,
50256,
50256
] |
Migrations from Arqade to SU. | SELECT MigratedPosts.Id AS "post_link", MigrationHistory.CreationDate AS DateMigrated, CloseHistory.CreationDate AS DateClosed, MigrationHistory.Comment AS OriginalUrl, CASE WHEN CloseHistory.PostHistoryTypeId = 10 THEN 'Rejected' ELSE '' END AS "migration_status" FROM Posts AS MigratedPosts JOIN Posts AS ClosedPosts O... | [
44,
3692,
602,
422,
943,
80,
671,
284,
13558,
13,
46506,
337,
38769,
21496,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
36991,
18122,
13,
12443,
341,
10430,
7054,
7536,
44,
38769,
11,
13872,
18122,
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
] | [
44,
3692,
602,
422,
943,
80,
671,
284,
13558,
13,
46506,
337,
38769,
21496,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
36991,
18122,
13,
12443,
341,
10430,
7054,
7536,
44,
38769,
11,
13872,
18122,
13
] |
Which home team played at Princes Park? | SELECT "Home team" FROM table_10637 WHERE "Venue" = 'princes park' | [
13828,
1363,
1074,
2826,
379,
7489,
728,
3250,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
15801,
2718,
33411,
366,
37522,
518,
1,
796,
705,
1050,
17386,
3952,
6,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0
] | [
13828,
1363,
1074,
2826,
379,
7489,
728,
3250,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
15801,
2718,
33411,
366,
37522,
518,
1,
796,
705,
1050,
17386,
3952,
6,
50256,
50256,
50256,
50256,
50256,
50256
] |
What is the position for Discus in 2013? | SELECT position FROM table_name_98 WHERE event = "discus" AND year = 2013 | [
2061,
318,
262,
2292,
329,
8444,
385,
287,
2211,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
4089,
33411,
1785,
796,
366,
15410,
385,
1,
5357,
614,
796,
2211,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
318,
262,
2292,
329,
8444,
385,
287,
2211,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
4089,
33411,
1785,
796,
366,
15410,
385,
1,
5357,
614,
796,
2211,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
In the final against Ashley Harkleroad what was the score? | SELECT score FROM table_name_21 WHERE opponent_in_the_final = "ashley harkleroad" | [
818,
262,
2457,
1028,
20899,
367,
668,
1754,
1170,
644,
373,
262,
4776,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2481,
33411,
6125,
62,
259,
62,
1169,
62,
20311,
796,
366,
1077,
1636,
289,
668
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2457,
1028,
20899,
367,
668,
1754,
1170,
644,
373,
262,
4776,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2481,
33411,
6125,
62,
259,
62,
1169,
62,
20311,
796,
366,
1077,
1636,
289,
668
] |
what DL flights from CINCINNATI to NEW YORK arrive at NEW YORK before 1800 on saturday | 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 (((((((flight.arrival_time < 41 OR flight.time_elapsed >= 60) AND flight.departure_time > flight.arrival_time) AND date_day.day_number = 26 AND d... | [
10919,
23641,
13956,
422,
327,
30158,
1268,
34259,
40,
284,
12682,
28154,
9240,
379,
12682,
28154,
878,
21431,
319,
264,
3658,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23641,
13956,
422,
327,
30158,
1268,
34259,
40,
284,
12682,
28154,
9240,
379,
12682,
28154,
878,
21431,
319,
264,
3658,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054
] |
The Chinese Name of sh ngd belongs to what station? | SELECT "Station Name" FROM table_14803 WHERE "Chinese Name" = '上地 shàngdì' | [
464,
3999,
6530,
286,
427,
299,
21287,
14448,
284,
644,
4429,
30,
46506,
366,
12367,
6530,
1,
16034,
3084,
62,
1415,
43564,
33411,
366,
23604,
6530,
1,
796,
705,
41468,
28839,
108,
427,
24247,
782,
67
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
464,
3999,
6530,
286,
427,
299,
21287,
14448,
284,
644,
4429,
30,
46506,
366,
12367,
6530,
1,
16034,
3084,
62,
1415,
43564,
33411,
366,
23604,
6530,
1,
796,
705,
41468,
28839,
108,
427,
24247,
782,
67
] |
How many million U.S. viewers watched the episode that Daniel H. Forer directed? | SELECT "U.S. viewers (in millions)" FROM table_3021 WHERE "Directed by" = 'Daniel H. Forer' | [
2437,
867,
1510,
471,
13,
50,
13,
10209,
7342,
262,
4471,
326,
7806,
367,
13,
4558,
81,
7924,
30,
46506,
366,
52,
13,
50,
13,
10209,
357,
259,
5242,
16725,
16034,
3084,
62,
1270,
2481,
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
] | [
2437,
867,
1510,
471,
13,
50,
13,
10209,
7342,
262,
4471,
326,
7806,
367,
13,
4558,
81,
7924,
30,
46506,
366,
52,
13,
50,
13,
10209,
357,
259,
5242,
16725,
16034,
3084,
62,
1270,
2481,
33411
] |
What is the average rank of an athlete that holds a time higher than 53.38? | SELECT AVG("Rank") FROM table_71223 WHERE "Time" > '53.38' | [
2061,
318,
262,
2811,
4279,
286,
281,
16076,
326,
6622,
257,
640,
2440,
621,
7192,
13,
2548,
30,
46506,
35224,
7203,
27520,
4943,
16034,
3084,
62,
49517,
1954,
33411,
366,
7575,
1,
1875,
705,
4310,
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
] | [
2061,
318,
262,
2811,
4279,
286,
281,
16076,
326,
6622,
257,
640,
2440,
621,
7192,
13,
2548,
30,
46506,
35224,
7203,
27520,
4943,
16034,
3084,
62,
49517,
1954,
33411,
366,
7575,
1,
1875,
705,
4310,
13
] |
What is the Total of kyrgyzstan with a Silver smaller than 0? | SELECT AVG("Total") FROM table_38431 WHERE "Nation" = 'kyrgyzstan' AND "Silver" < '0' | [
2061,
318,
262,
7472,
286,
479,
2417,
1360,
89,
14192,
351,
257,
7698,
4833,
621,
657,
30,
46506,
35224,
7203,
14957,
4943,
16034,
3084,
62,
22842,
3132,
33411,
366,
46108,
1,
796,
705,
74,
2417,
1360
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7472,
286,
479,
2417,
1360,
89,
14192,
351,
257,
7698,
4833,
621,
657,
30,
46506,
35224,
7203,
14957,
4943,
16034,
3084,
62,
22842,
3132,
33411,
366,
46108,
1,
796,
705,
74,
2417,
1360
] |
What was the time/retired for the car raced by Simone Grotzkyj? | SELECT time_retired FROM table_name_94 WHERE rider = "simone grotzkyj" | [
2061,
373,
262,
640,
14,
1186,
1202,
329,
262,
1097,
32897,
416,
47592,
10299,
22877,
2584,
73,
30,
46506,
640,
62,
1186,
1202,
16034,
3084,
62,
3672,
62,
5824,
33411,
17876,
796,
366,
14323,
505,
7128
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
640,
14,
1186,
1202,
329,
262,
1097,
32897,
416,
47592,
10299,
22877,
2584,
73,
30,
46506,
640,
62,
1186,
1202,
16034,
3084,
62,
3672,
62,
5824,
33411,
17876,
796,
366,
14323,
505,
7128
] |
Who was the highest picked defensive end | SELECT MAX("Pick #") FROM table_1226 WHERE "Position" = 'Defensive end' | [
8241,
373,
262,
4511,
6497,
6110,
886,
46506,
25882,
7203,
31686,
1303,
4943,
16034,
3084,
62,
1065,
2075,
33411,
366,
26545,
1,
796,
705,
7469,
2021,
886,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] | [
8241,
373,
262,
4511,
6497,
6110,
886,
46506,
25882,
7203,
31686,
1303,
4943,
16034,
3084,
62,
1065,
2075,
33411,
366,
26545,
1,
796,
705,
7469,
2021,
886,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
Name the nation with rank more than 9 | SELECT nation FROM table_name_77 WHERE rank > 9 | [
5376,
262,
3277,
351,
4279,
517,
621,
860,
46506,
3277,
16034,
3084,
62,
3672,
62,
3324,
33411,
4279,
1875,
860,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
5376,
262,
3277,
351,
4279,
517,
621,
860,
46506,
3277,
16034,
3084,
62,
3672,
62,
3324,
33411,
4279,
1875,
860,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
For the game ending in a final result of 99-90, who was the Road Team? | SELECT road_team FROM table_name_68 WHERE result = "99-90" | [
1890,
262,
983,
7464,
287,
257,
2457,
1255,
286,
7388,
12,
3829,
11,
508,
373,
262,
5567,
4816,
30,
46506,
2975,
62,
15097,
16034,
3084,
62,
3672,
62,
3104,
33411,
1255,
796,
366,
2079,
12,
3829
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
983,
7464,
287,
257,
2457,
1255,
286,
7388,
12,
3829,
11,
508,
373,
262,
5567,
4816,
30,
46506,
2975,
62,
15097,
16034,
3084,
62,
3672,
62,
3104,
33411,
1255,
796,
366,
2079,
12,
3829
] |
What is the least amount of silver medals a team with less than 0 gold medals has? | SELECT MIN(silver) FROM table_name_68 WHERE gold < 0 | [
2061,
318,
262,
1551,
2033,
286,
8465,
28057,
257,
1074,
351,
1342,
621,
657,
3869,
28057,
468,
30,
46506,
20625,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
3104,
33411,
3869,
1279,
657,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0
] | [
2061,
318,
262,
1551,
2033,
286,
8465,
28057,
257,
1074,
351,
1342,
621,
657,
3869,
28057,
468,
30,
46506,
20625,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
3104,
33411,
3869,
1279,
657,
50256,
50256,
50256
] |
What is the accreditation level of the network brand Movistar? | SELECT "Accreditation level" FROM table_45491 WHERE "Network brand name" = 'movistar' | [
2061,
318,
262,
697,
42845,
1241,
286,
262,
3127,
4508,
44795,
47229,
30,
46506,
366,
17320,
42845,
1241,
1,
16034,
3084,
62,
2231,
41289,
33411,
366,
26245,
4508,
1438,
1,
796,
705,
76,
709,
47229,
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,
697,
42845,
1241,
286,
262,
3127,
4508,
44795,
47229,
30,
46506,
366,
17320,
42845,
1241,
1,
16034,
3084,
62,
2231,
41289,
33411,
366,
26245,
4508,
1438,
1,
796,
705,
76,
709,
47229,
6
] |
how many silver medals were won by italy ? | SELECT "silver" FROM table_204_727 WHERE "nation" = 'italy' | [
4919,
867,
8465,
28057,
547,
1839,
416,
340,
3400,
5633,
46506,
366,
40503,
1,
16034,
3084,
62,
18638,
62,
47760,
33411,
366,
25729,
1,
796,
705,
1287,
88,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] | [
4919,
867,
8465,
28057,
547,
1839,
416,
340,
3400,
5633,
46506,
366,
40503,
1,
16034,
3084,
62,
18638,
62,
47760,
33411,
366,
25729,
1,
796,
705,
1287,
88,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
For those records from the products and each product's manufacturer, show me about the distribution of name and the average of manufacturer , and group by attribute name in a bar chart, show in desc by the Y-axis please. | SELECT T1.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Manufacturer DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
905,
502,
546,
262,
6082,
286,
1438,
290,
262,
2811,
286,
11554,
837,
290,
1448,
416,
11688,
1438,
287,
257,
2318,
8262,
11,
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
] | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
905,
502,
546,
262,
6082,
286,
1438,
290,
262,
2811,
286,
11554,
837,
290,
1448,
416,
11688,
1438,
287,
257,
2318,
8262,
11,
905
] |
count the the average Total of ian baker-finch? | SELECT AVG(total) FROM table_name_39 WHERE player = "ian baker-finch" | [
9127,
262,
262,
2811,
7472,
286,
220,
666,
46412,
12,
69,
8589,
30,
46506,
35224,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
2670,
33411,
2137,
796,
366,
666,
46412,
12,
69,
8589,
1,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0
] | [
9127,
262,
262,
2811,
7472,
286,
220,
666,
46412,
12,
69,
8589,
30,
46506,
35224,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
2670,
33411,
2137,
796,
366,
666,
46412,
12,
69,
8589,
1,
50256,
50256
] |
What is the Score of the Scarborough Home game? | SELECT score FROM table_name_72 WHERE home_team = "scarborough" | [
2061,
318,
262,
15178,
286,
262,
36126,
5995,
983,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4761,
33411,
1363,
62,
15097,
796,
366,
13034,
17913,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
318,
262,
15178,
286,
262,
36126,
5995,
983,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4761,
33411,
1363,
62,
15097,
796,
366,
13034,
17913,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What is the November 3 result when the result for January 15-16 is 141? | SELECT "November 3" FROM table_27520 WHERE "January 15-16" = '141' | [
2061,
318,
262,
3389,
513,
1255,
618,
262,
1255,
329,
3269,
1315,
12,
1433,
318,
25500,
30,
46506,
366,
21159,
513,
1,
16034,
3084,
62,
23195,
1238,
33411,
366,
21339,
1315,
12,
1433,
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
] | [
2061,
318,
262,
3389,
513,
1255,
618,
262,
1255,
329,
3269,
1315,
12,
1433,
318,
25500,
30,
46506,
366,
21159,
513,
1,
16034,
3084,
62,
23195,
1238,
33411,
366,
21339,
1315,
12,
1433,
1,
796,
705
] |
give me the number of patients born before 2066 who had wheelchair dependence diagnosis. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dob_year < "2066" AND diagnoses.short_title = "Wheelchair dependence" | [
26535,
502,
262,
1271,
286,
3871,
4642,
878,
1160,
2791,
508,
550,
27181,
21403,
13669,
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
] | [
26535,
502,
262,
1271,
286,
3871,
4642,
878,
1160,
2791,
508,
550,
27181,
21403,
13669,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268
] |
David Kasouf plays for how many colleges? | SELECT COUNT(college) FROM table_21321804_5 WHERE player = "David Kasouf" | [
11006,
15035,
37116,
5341,
329,
703,
867,
15273,
30,
46506,
327,
28270,
7,
44107,
8,
16034,
3084,
62,
17,
19924,
1507,
3023,
62,
20,
33411,
2137,
796,
366,
11006,
15035,
37116,
1,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
] | [
11006,
15035,
37116,
5341,
329,
703,
867,
15273,
30,
46506,
327,
28270,
7,
44107,
8,
16034,
3084,
62,
17,
19924,
1507,
3023,
62,
20,
33411,
2137,
796,
366,
11006,
15035,
37116,
1,
50256,
50256,
50256,
50256
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of hire_date and the sum of department_id bin hire_date by weekday in a bar chart, I want to rank from low to high by the Y please. | SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY SUM(DEPARTMENT_ID) | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
905,
502,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
5011,
62,
312
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
905,
502,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
5011,
62,
312
] |
What prerequisites are required for ENSCEN 451 ? | SELECT DISTINCT COURSE_1.department, COURSE_1.name, COURSE_1.number FROM course AS COURSE_0 INNER JOIN course_prerequisite ON COURSE_0.course_id = course_prerequisite.course_id INNER JOIN course AS COURSE_1 ON COURSE_1.course_id = course_prerequisite.pre_course_id WHERE COURSE_0.department = 'ENSCEN' AND COURSE_0.numbe... | [
2061,
662,
34075,
389,
2672,
329,
12964,
6173,
1677,
49356,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
16,
13,
10378,
1823,
11,
37384,
5188,
62,
16,
13,
3672,
11,
37384,
5188,
62,
16,
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
] | [
2061,
662,
34075,
389,
2672,
329,
12964,
6173,
1677,
49356,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
16,
13,
10378,
1823,
11,
37384,
5188,
62,
16,
13,
3672,
11,
37384,
5188,
62,
16,
13
] |
What year has 59th as a finish position? | SELECT year FROM table_name_58 WHERE finish_position = "59th" | [
2061,
614,
468,
7863,
400,
355,
257,
5461,
2292,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
3365,
33411,
5461,
62,
9150,
796,
366,
3270,
400,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
614,
468,
7863,
400,
355,
257,
5461,
2292,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
3365,
33411,
5461,
62,
9150,
796,
366,
3270,
400,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
who was player of the year after ben mauk ? | SELECT "player" FROM table_203_805 WHERE "year" = (SELECT "year" FROM table_203_805 WHERE "player" = 'ben mauk') + 1 | [
8727,
373,
2137,
286,
262,
614,
706,
1888,
285,
559,
74,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
22416,
62,
28256,
33411,
366,
1941,
1,
796,
357,
46506,
366,
1941,
1,
16034,
3084,
62,
22416
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
373,
2137,
286,
262,
614,
706,
1888,
285,
559,
74,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
22416,
62,
28256,
33411,
366,
1941,
1,
796,
357,
46506,
366,
1941,
1,
16034,
3084,
62,
22416
] |
What are the purchase details of transactions with amount bigger than 10000, and count them by a bar chart, show by the names in ascending. | SELECT purchase_details, COUNT(purchase_details) FROM Purchases AS T1 JOIN Transactions AS T2 ON T1.purchase_transaction_id = T2.transaction_id WHERE T2.amount_of_transaction > 10000 GROUP BY purchase_details ORDER BY purchase_details | [
2061,
389,
262,
5001,
3307,
286,
8945,
351,
2033,
5749,
621,
33028,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
905,
416,
262,
3891,
287,
41988,
13,
46506,
5001,
62,
36604,
11,
327,
28270,
7
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
5001,
3307,
286,
8945,
351,
2033,
5749,
621,
33028,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
905,
416,
262,
3891,
287,
41988,
13,
46506,
5001,
62,
36604,
11,
327,
28270,
7
] |
count the number of patients who had been discharged from the hospital. | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE NOT admissions.dischtime IS NULL | [
9127,
262,
1271,
286,
3871,
508,
550,
587,
26476,
422,
262,
4436,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
5626,
25349,
13,
6381,
354,
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
] | [
9127,
262,
1271,
286,
3871,
508,
550,
587,
26476,
422,
262,
4436,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
5626,
25349,
13,
6381,
354,
2435
] |
what party has the most representatives in the diet representation ? | SELECT "party" FROM table_203_316 ORDER BY "diet representation\nrepresentatives" DESC LIMIT 1 | [
10919,
2151,
468,
262,
749,
10826,
287,
262,
5496,
10552,
5633,
46506,
366,
10608,
1,
16034,
3084,
62,
22416,
62,
33400,
38678,
11050,
366,
67,
1155,
10552,
59,
77,
15603,
2929,
1,
22196,
34,
27564,
2043
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2151,
468,
262,
749,
10826,
287,
262,
5496,
10552,
5633,
46506,
366,
10608,
1,
16034,
3084,
62,
22416,
62,
33400,
38678,
11050,
366,
67,
1155,
10552,
59,
77,
15603,
2929,
1,
22196,
34,
27564,
2043
] |
Which Team has the Player of A.J. Moye? | SELECT "Team" FROM table_38362 WHERE "Player" = 'a.j. moye' | [
13828,
4816,
468,
262,
7853,
286,
317,
13,
41,
13,
28523,
68,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
2548,
35667,
33411,
366,
14140,
1,
796,
705,
64,
13,
73,
13,
285,
726,
68,
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
] | [
13828,
4816,
468,
262,
7853,
286,
317,
13,
41,
13,
28523,
68,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
2548,
35667,
33411,
366,
14140,
1,
796,
705,
64,
13,
73,
13,
285,
726,
68,
6
] |
What is the time when ss12 is stage? | SELECT "Time" FROM table_24485 WHERE "Stage" = 'SS12' | [
2061,
318,
262,
640,
618,
37786,
1065,
318,
3800,
30,
46506,
366,
7575,
1,
16034,
3084,
62,
1731,
32642,
33411,
366,
29391,
1,
796,
705,
5432,
1065,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
318,
262,
640,
618,
37786,
1065,
318,
3800,
30,
46506,
366,
7575,
1,
16034,
3084,
62,
1731,
32642,
33411,
366,
29391,
1,
796,
705,
5432,
1065,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
Score of 3 - 2 had what record? | SELECT record FROM table_name_93 WHERE score = "3 - 2" | [
26595,
286,
513,
532,
362,
550,
644,
1700,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
6052,
33411,
4776,
796,
366,
18,
532,
362,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
26595,
286,
513,
532,
362,
550,
644,
1700,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
6052,
33411,
4776,
796,
366,
18,
532,
362,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What republican candidate was first elected most recently? | SELECT MAX("First elected") FROM table_18363 WHERE "Party" = 'Republican' | [
2061,
41477,
4540,
373,
717,
7018,
749,
2904,
30,
46506,
25882,
7203,
5962,
7018,
4943,
16034,
3084,
62,
1507,
35447,
33411,
366,
33553,
1,
796,
705,
25777,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
41477,
4540,
373,
717,
7018,
749,
2904,
30,
46506,
25882,
7203,
5962,
7018,
4943,
16034,
3084,
62,
1507,
35447,
33411,
366,
33553,
1,
796,
705,
25777,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
what are the five most frequently performed procedures for patients who are 60 or above the last year? | SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age >... | [
10919,
389,
262,
1936,
749,
6777,
6157,
9021,
329,
3871,
508,
389,
3126,
393,
2029,
262,
938,
614,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
16034,
288,
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
] | [
10919,
389,
262,
1936,
749,
6777,
6157,
9021,
329,
3871,
508,
389,
3126,
393,
2029,
262,
938,
614,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
16034,
288,
62,
291
] |
What district is incumbent albert w. johnson from? | SELECT district FROM table_1341865_40 WHERE incumbent = "Albert W. Johnson" | [
2061,
4783,
318,
23526,
435,
4835,
266,
13,
45610,
1559,
422,
30,
46506,
4783,
16034,
3084,
62,
19880,
1507,
2996,
62,
1821,
33411,
23526,
796,
366,
42590,
370,
13,
5030,
1,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0
] | [
2061,
4783,
318,
23526,
435,
4835,
266,
13,
45610,
1559,
422,
30,
46506,
4783,
16034,
3084,
62,
19880,
1507,
2996,
62,
1821,
33411,
23526,
796,
366,
42590,
370,
13,
5030,
1,
50256,
50256,
50256,
50256,
50256
] |
Parsing papers from ACL 2014 that used Jeopardy! Questions | SELECT DISTINCT paper.paperid FROM dataset, keyphrase, paper, paperdataset, paperkeyphrase, venue WHERE dataset.datasetname = 'Jeopardy! Questions' AND keyphrase.keyphrasename = 'Parsing' AND paperdataset.datasetid = dataset.datasetid AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paperkeyphrase.paperid = p... | [
47,
945,
278,
9473,
422,
17382,
1946,
326,
973,
3852,
15478,
88,
0,
20396,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
16034,
27039,
11,
1994,
34675,
11,
3348,
11,
3348,
19608,
292,
316,
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
] | [
47,
945,
278,
9473,
422,
17382,
1946,
326,
973,
3852,
15478,
88,
0,
20396,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
16034,
27039,
11,
1994,
34675,
11,
3348,
11,
3348,
19608,
292,
316,
11
] |
Which type of record has result/games of 9 games (57,144 avg.) | SELECT "Type of Record" FROM table_24368 WHERE "Result/Games" = '9 games (57,144 avg.)' | [
13828,
2099,
286,
1700,
468,
1255,
14,
19966,
286,
860,
1830,
357,
3553,
11,
18444,
42781,
2014,
46506,
366,
6030,
286,
13266,
1,
16034,
3084,
62,
1731,
27412,
33411,
366,
23004,
14,
24474,
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
] | [
13828,
2099,
286,
1700,
468,
1255,
14,
19966,
286,
860,
1830,
357,
3553,
11,
18444,
42781,
2014,
46506,
366,
6030,
286,
13266,
1,
16034,
3084,
62,
1731,
27412,
33411,
366,
23004,
14,
24474,
1,
796,
705
] |
What is the 1st leg for Instituto? | SELECT 1 AS st_leg FROM table_name_45 WHERE home__2nd_leg_ = "instituto" | [
2061,
318,
262,
352,
301,
1232,
329,
37931,
9390,
30,
46506,
352,
7054,
336,
62,
1455,
16034,
3084,
62,
3672,
62,
2231,
33411,
1363,
834,
17,
358,
62,
1455,
62,
796,
366,
8625,
270,
9390,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
352,
301,
1232,
329,
37931,
9390,
30,
46506,
352,
7054,
336,
62,
1455,
16034,
3084,
62,
3672,
62,
2231,
33411,
1363,
834,
17,
358,
62,
1455,
62,
796,
366,
8625,
270,
9390,
1
] |
how many times was jim mcmanus jim osborne 's partner ? | SELECT COUNT(*) FROM table_204_335 WHERE "partner" = 'jim mcmanus' | [
4919,
867,
1661,
373,
474,
320,
36650,
805,
385,
474,
320,
28686,
13555,
705,
82,
5212,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
27326,
33411,
366,
3911,
1008,
1,
796,
705,
73
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
1661,
373,
474,
320,
36650,
805,
385,
474,
320,
28686,
13555,
705,
82,
5212,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
27326,
33411,
366,
3911,
1008,
1,
796,
705,
73
] |
If the arrival date is January 2059, what is the total amount of signal power? | SELECT COUNT(signal_power___kw__) FROM table_1820752_1 WHERE arrival_date = "January 2059" | [
1532,
262,
10325,
3128,
318,
3269,
1160,
3270,
11,
644,
318,
262,
2472,
2033,
286,
6737,
1176,
30,
46506,
327,
28270,
7,
12683,
282,
62,
6477,
17569,
46265,
834,
8,
16034,
3084,
62,
1507,
1238,
43665
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1532,
262,
10325,
3128,
318,
3269,
1160,
3270,
11,
644,
318,
262,
2472,
2033,
286,
6737,
1176,
30,
46506,
327,
28270,
7,
12683,
282,
62,
6477,
17569,
46265,
834,
8,
16034,
3084,
62,
1507,
1238,
43665
] |
how many days has it passed since the first time that patient 006-14121 was diagnosed with s/p exploratory laparotomy in the in this hospital encounter? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', diagnosis.diagnosistime)) FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-14121'... | [
4919,
867,
1528,
468,
340,
3804,
1201,
262,
717,
640,
326,
5827,
3571,
21,
12,
1415,
19244,
373,
14641,
351,
264,
14,
79,
39180,
2870,
14779,
283,
38385,
287,
262,
287,
428,
4436,
8791,
30,
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
] | [
4919,
867,
1528,
468,
340,
3804,
1201,
262,
717,
640,
326,
5827,
3571,
21,
12,
1415,
19244,
373,
14641,
351,
264,
14,
79,
39180,
2870,
14779,
283,
38385,
287,
262,
287,
428,
4436,
8791,
30,
46506
] |
during this year what was the four most commonly ordered procedure for patients with 60 or above? | SELECT t1.treatmentname FROM (SELECT treatment.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age >= 60) AND DATETIME(treatment.treatmenttime, 'start of year') = DATETIME(CURRENT_TIME(), 'st... | [
42122,
428,
614,
644,
373,
262,
1440,
749,
8811,
6149,
8771,
329,
3871,
351,
3126,
393,
2029,
30,
46506,
256,
16,
13,
42487,
3672,
16034,
357,
46506,
3513,
13,
42487,
3672,
11,
360,
24290,
62,
49
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
42122,
428,
614,
644,
373,
262,
1440,
749,
8811,
6149,
8771,
329,
3871,
351,
3126,
393,
2029,
30,
46506,
256,
16,
13,
42487,
3672,
16034,
357,
46506,
3513,
13,
42487,
3672,
11,
360,
24290,
62,
49
] |
What is the lowest to par of a player from australia with a score of 76-70-75-72=293? | SELECT MIN(to_par) FROM table_name_96 WHERE country = "australia" AND score = 76 - 70 - 75 - 72 = 293 | [
2061,
318,
262,
9016,
284,
1582,
286,
257,
2137,
422,
38132,
1373,
544,
351,
257,
4776,
286,
8684,
12,
2154,
12,
2425,
12,
4761,
28,
31675,
30,
46506,
20625,
7,
1462,
62,
1845,
8,
16034,
3084
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
284,
1582,
286,
257,
2137,
422,
38132,
1373,
544,
351,
257,
4776,
286,
8684,
12,
2154,
12,
2425,
12,
4761,
28,
31675,
30,
46506,
20625,
7,
1462,
62,
1845,
8,
16034,
3084
] |
What away team played when the home team was south melbourne? | SELECT "Away team" FROM table_4733 WHERE "Home team" = 'south melbourne' | [
2061,
1497,
1074,
2826,
618,
262,
1363,
1074,
373,
5366,
7758,
12544,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
2857,
2091,
33411,
366,
16060,
1074,
1,
796,
705,
35782,
7758,
12544,
6,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0
] | [
2061,
1497,
1074,
2826,
618,
262,
1363,
1074,
373,
5366,
7758,
12544,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
2857,
2091,
33411,
366,
16060,
1074,
1,
796,
705,
35782,
7758,
12544,
6,
50256
] |
What is the mark number when the lane for Rabangaki Nawai when it is greater than 2 and the heat is larger than 4? | SELECT "Mark" FROM table_7520 WHERE "Lane" > '2' AND "Heat" > '4' AND "Name" = 'rabangaki nawai' | [
2061,
318,
262,
1317,
1271,
618,
262,
11193,
329,
28559,
648,
8182,
41179,
1872,
618,
340,
318,
3744,
621,
362,
290,
262,
4894,
318,
4025,
621,
604,
30,
46506,
366,
9704,
1,
16034,
3084,
62,
2425
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1317,
1271,
618,
262,
11193,
329,
28559,
648,
8182,
41179,
1872,
618,
340,
318,
3744,
621,
362,
290,
262,
4894,
318,
4025,
621,
604,
30,
46506,
366,
9704,
1,
16034,
3084,
62,
2425
] |
What's the average year a Rangam movie came out? | SELECT AVG("Year") FROM table_56053 WHERE "Movie" = 'rangam' | [
2061,
338,
262,
2811,
614,
257,
371,
648,
321,
3807,
1625,
503,
30,
46506,
35224,
7203,
17688,
4943,
16034,
3084,
62,
34135,
4310,
33411,
366,
25097,
1,
796,
705,
36985,
321,
6,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
] | [
2061,
338,
262,
2811,
614,
257,
371,
648,
321,
3807,
1625,
503,
30,
46506,
35224,
7203,
17688,
4943,
16034,
3084,
62,
34135,
4310,
33411,
366,
25097,
1,
796,
705,
36985,
321,
6,
50256,
50256,
50256,
50256
] |
how many patients belonging to white ethnic origin were admitted in the year less than or equal to 2120? | SELECT MAX(demographic.age) FROM demographic WHERE demographic.ethnicity = "WHITE" AND demographic.admityear >= "2120" | [
4919,
867,
3871,
16686,
284,
2330,
9450,
8159,
547,
6848,
287,
262,
614,
1342,
621,
393,
4961,
284,
362,
10232,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
38546,
414
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16686,
284,
2330,
9450,
8159,
547,
6848,
287,
262,
614,
1342,
621,
393,
4961,
284,
362,
10232,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
38546,
414
] |
Who was the home team at Brunswick Street Oval? | SELECT home_team FROM table_name_65 WHERE venue = "brunswick street oval" | [
8241,
373,
262,
1363,
1074,
379,
32211,
3530,
25165,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
2996,
33411,
14359,
796,
366,
1671,
403,
30961,
4675,
41186,
1,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0
] | [
8241,
373,
262,
1363,
1074,
379,
32211,
3530,
25165,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
2996,
33411,
14359,
796,
366,
1671,
403,
30961,
4675,
41186,
1,
50256,
50256,
50256,
50256,
50256,
50256
] |
serological evidence of hiv | SELECT * FROM table_train_183 WHERE hiv_infection = 1 | [
2655,
2770,
2370,
286,
289,
452,
46506,
1635,
16034,
3084,
62,
27432,
62,
24839,
33411,
289,
452,
62,
27816,
295,
796,
352,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2655,
2770,
2370,
286,
289,
452,
46506,
1635,
16034,
3084,
62,
27432,
62,
24839,
33411,
289,
452,
62,
27816,
295,
796,
352,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
List the number of viewers when the cable rank for Russell Howard's Good New was 5. | SELECT "Viewers" FROM table_26808 WHERE "Cable rank" = '5' | [
8053,
262,
1271,
286,
10209,
618,
262,
7862,
4279,
329,
11563,
8442,
338,
4599,
968,
373,
642,
13,
46506,
366,
7680,
364,
1,
16034,
3084,
62,
2075,
28362,
33411,
366,
34,
540,
4279,
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
] | [
8053,
262,
1271,
286,
10209,
618,
262,
7862,
4279,
329,
11563,
8442,
338,
4599,
968,
373,
642,
13,
46506,
366,
7680,
364,
1,
16034,
3084,
62,
2075,
28362,
33411,
366,
34,
540,
4279,
1,
796,
705
] |
What bowl game was played on Dec. 26, 2007? | SELECT bowl_game FROM table_name_79 WHERE date = "dec. 26, 2007" | [
2061,
9396,
983,
373,
2826,
319,
4280,
13,
2608,
11,
4343,
30,
46506,
9396,
62,
6057,
16034,
3084,
62,
3672,
62,
3720,
33411,
3128,
796,
366,
12501,
13,
2608,
11,
4343,
1,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
] | [
2061,
9396,
983,
373,
2826,
319,
4280,
13,
2608,
11,
4343,
30,
46506,
9396,
62,
6057,
16034,
3084,
62,
3672,
62,
3720,
33411,
3128,
796,
366,
12501,
13,
2608,
11,
4343,
1,
50256,
50256,
50256,
50256
] |
tell me the total amount of pigtail infusion that patient 7165 has taken on the first intensive care unit visit? | SELECT SUM(inputevents_cv.amount) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 7165) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1) AND inputevents_c... | [
33331,
502,
262,
2472,
2033,
286,
12967,
13199,
35547,
326,
5827,
767,
20986,
468,
2077,
319,
262,
717,
18590,
1337,
4326,
3187,
30,
46506,
35683,
7,
259,
79,
1133,
85,
658,
62,
33967,
13,
17287,
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
] | [
33331,
502,
262,
2472,
2033,
286,
12967,
13199,
35547,
326,
5827,
767,
20986,
468,
2077,
319,
262,
717,
18590,
1337,
4326,
3187,
30,
46506,
35683,
7,
259,
79,
1133,
85,
658,
62,
33967,
13,
17287,
8
] |
For those products with a price between 60 and 120, a pie chart shows the proportion of name and code. | SELECT Name, Code FROM Products WHERE Price BETWEEN 60 AND 120 | [
1890,
883,
3186,
351,
257,
2756,
1022,
3126,
290,
7982,
11,
257,
2508,
8262,
2523,
262,
9823,
286,
1438,
290,
2438,
13,
46506,
6530,
11,
6127,
16034,
18675,
33411,
7886,
38651,
8845,
1677,
3126,
5357,
7982
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3186,
351,
257,
2756,
1022,
3126,
290,
7982,
11,
257,
2508,
8262,
2523,
262,
9823,
286,
1438,
290,
2438,
13,
46506,
6530,
11,
6127,
16034,
18675,
33411,
7886,
38651,
8845,
1677,
3126,
5357,
7982
] |
Search Raymond Hettinger / Alex Martelli's Questions & Answers for a Text string. Text searches use a % wildcard by default; searches are case-insensitive. Search Raymond Hettinger / Alex Martelli's Questions & Answers for a Text string. Text searches use a % wildcard by default; searches are case-insensitive | SELECT Posts.Id AS "post_link", Posts.OwnerUserId AS "author", Posts.PostTypeId AS "post_type", Posts.Score AS "score", Posts.Tags AS "tagged_with" FROM Posts WHERE ((Posts.OwnerUserId = 1001643) OR (Posts.OwnerUserId = 95810)) AND ((LOWER(Posts.Tags) LIKE LOWER('%<##Text##>%')) OR (LOWER(Posts.Title) LIKE LOWER('%##Te... | [
18243,
24238,
367,
35463,
263,
1220,
4422,
3981,
23225,
338,
20396,
1222,
42612,
329,
257,
8255,
4731,
13,
8255,
15455,
779,
257,
4064,
4295,
9517,
416,
4277,
26,
15455,
389,
1339,
12,
1040,
18464,
13,
11140
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
18243,
24238,
367,
35463,
263,
1220,
4422,
3981,
23225,
338,
20396,
1222,
42612,
329,
257,
8255,
4731,
13,
8255,
15455,
779,
257,
4064,
4295,
9517,
416,
4277,
26,
15455,
389,
1339,
12,
1040,
18464,
13,
11140
] |
what is the total number of days that have passed since patient 13054's last mchc lab test on their current hospital encounter? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', labevents.charttime)) FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'mchc') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 13054 AND admissions.dis... | [
10919,
318,
262,
2472,
1271,
286,
1528,
326,
423,
3804,
1201,
5827,
11323,
4051,
338,
938,
285,
354,
66,
2248,
1332,
319,
511,
1459,
4436,
8791,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
2472,
1271,
286,
1528,
326,
423,
3804,
1201,
5827,
11323,
4051,
338,
938,
285,
354,
66,
2248,
1332,
319,
511,
1459,
4436,
8791,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4
] |
How many episodes were aired on the Original air date for 'Circus, Circus'? | SELECT COUNT("Original air date") FROM table_18009 WHERE "Title" = 'Circus, Circus' | [
2437,
867,
8640,
547,
18530,
319,
262,
13745,
1633,
3128,
329,
705,
31560,
385,
11,
46658,
30960,
46506,
327,
28270,
7203,
20556,
1633,
3128,
4943,
16034,
3084,
62,
1507,
28694,
33411,
366,
19160,
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
] | [
2437,
867,
8640,
547,
18530,
319,
262,
13745,
1633,
3128,
329,
705,
31560,
385,
11,
46658,
30960,
46506,
327,
28270,
7203,
20556,
1633,
3128,
4943,
16034,
3084,
62,
1507,
28694,
33411,
366,
19160,
1,
796,
705
] |
Top users from Paris, France. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%paris%' OR UPPER(Location) LIKE '%PARIS%' ORDER BY Reputation DESC | [
9126,
2985,
422,
6342,
11,
4881,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
422,
6342,
11,
4881,
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
] |
what is the daily maximum of the weight of patient 016-18575 in 12/this year? | SELECT MAX(patient.admissionweight) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-18575') AND NOT patient.admissionweight IS NULL AND DATETIME(patient.unitadmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year... | [
10919,
318,
262,
4445,
5415,
286,
262,
3463,
286,
5827,
5534,
21,
12,
21652,
2425,
287,
1105,
14,
5661,
614,
30,
46506,
25882,
7,
26029,
13,
324,
3411,
6551,
8,
16034,
5827,
33411,
5827,
13,
26029
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4445,
5415,
286,
262,
3463,
286,
5827,
5534,
21,
12,
21652,
2425,
287,
1105,
14,
5661,
614,
30,
46506,
25882,
7,
26029,
13,
324,
3411,
6551,
8,
16034,
5827,
33411,
5827,
13,
26029
] |
are the heartrate of patient 006-203526 measured at 2103-07-14 23:13:00 greater than measured at 2103-07-14 23:08:00? | SELECT (SELECT vitalperiodic.heartrate FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-203526')) AND NOT vitalperiodic.heartrate IS ... | [
533,
262,
2612,
4873,
286,
5827,
3571,
21,
12,
1238,
2327,
2075,
8630,
379,
362,
15197,
12,
2998,
12,
1415,
2242,
25,
1485,
25,
405,
3744,
621,
8630,
379,
362,
15197,
12,
2998,
12,
1415,
2242
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
533,
262,
2612,
4873,
286,
5827,
3571,
21,
12,
1238,
2327,
2075,
8630,
379,
362,
15197,
12,
2998,
12,
1415,
2242,
25,
1485,
25,
405,
3744,
621,
8630,
379,
362,
15197,
12,
2998,
12,
1415,
2242
] |
What is the branding of the callsign DWCI-TV? | SELECT "Branding" FROM table_73875 WHERE "Callsign" = 'DWCI-TV' | [
2061,
318,
262,
24150,
286,
262,
3848,
570,
29652,
25690,
12,
6849,
30,
46506,
366,
9414,
27225,
1,
16034,
3084,
62,
22,
2548,
2425,
33411,
366,
34,
5691,
570,
1,
796,
705,
42955,
25690,
12,
6849
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24150,
286,
262,
3848,
570,
29652,
25690,
12,
6849,
30,
46506,
366,
9414,
27225,
1,
16034,
3084,
62,
22,
2548,
2425,
33411,
366,
34,
5691,
570,
1,
796,
705,
42955,
25690,
12,
6849
] |
i would like the earliest morning flight from ATLANTA to PHILADELPHIA on wednesday morning | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE (((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PHILADELPHIA' AND date_day.day_number = 23 AND date_day.month_number = ... | [
72,
561,
588,
262,
14555,
3329,
5474,
422,
5161,
25697,
5603,
284,
9370,
4146,
2885,
3698,
11909,
3539,
319,
29445,
3462,
3329,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
72,
561,
588,
262,
14555,
3329,
5474,
422,
5161,
25697,
5603,
284,
9370,
4146,
2885,
3698,
11909,
3539,
319,
29445,
3462,
3329,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271
] |
what is the number of patients whose diagnoses long title is osteoarthrosis, unspecified whether generalized or localized, site unspecified? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.long_title = "Osteoarthrosis, unspecified whether generalized or localized, site unspecified" | [
10919,
318,
262,
1271,
286,
3871,
3025,
40567,
890,
3670,
318,
32674,
78,
11999,
37172,
11,
29547,
1771,
38284,
393,
36618,
11,
2524,
29547,
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
] | [
10919,
318,
262,
1271,
286,
3871,
3025,
40567,
890,
3670,
318,
32674,
78,
11999,
37172,
11,
29547,
1771,
38284,
393,
36618,
11,
2524,
29547,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796
] |
What Player has a Country of west germany? | SELECT "Player" FROM table_61670 WHERE "Country" = 'west germany' | [
2061,
7853,
468,
257,
12946,
286,
7421,
308,
2224,
88,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
44214,
2154,
33411,
366,
33921,
1,
796,
705,
7038,
308,
2224,
88,
6,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0
] | [
2061,
7853,
468,
257,
12946,
286,
7421,
308,
2224,
88,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
44214,
2154,
33411,
366,
33921,
1,
796,
705,
7038,
308,
2224,
88,
6,
50256,
50256,
50256,
50256,
50256
] |
What is the type of Surface for the New Zealand F1 Futures Tournament? | SELECT surface FROM table_name_12 WHERE tournament = "new zealand f1 futures" | [
2061,
318,
262,
2099,
286,
20321,
329,
262,
968,
8936,
376,
16,
24002,
942,
9595,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
1065,
33411,
7756,
796,
366,
3605,
27689,
392,
277,
16,
25650,
1,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0
] | [
2061,
318,
262,
2099,
286,
20321,
329,
262,
968,
8936,
376,
16,
24002,
942,
9595,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
1065,
33411,
7756,
796,
366,
3605,
27689,
392,
277,
16,
25650,
1,
50256
] |
how many days have passed since patient 002-4486 first stayed in ward 114 during this hospital visit? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '002-4486' AND patient.wardid = 114 AND patient.hospitaldischargetime IS NULL ORDER BY patient.unitadmittime LIMIT 1 | [
4919,
867,
1528,
423,
3804,
1201,
5827,
3571,
17,
12,
2598,
4521,
717,
9658,
287,
15305,
17342,
1141,
428,
4436,
3187,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
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
] | [
4919,
867,
1528,
423,
3804,
1201,
5827,
3571,
17,
12,
2598,
4521,
717,
9658,
287,
15305,
17342,
1141,
428,
4436,
3187,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62
] |
How many people went to the game with the record of 8-10? | SELECT SUM("Attendance") FROM table_14933 WHERE "Record" = '8-10' | [
2437,
867,
661,
1816,
284,
262,
983,
351,
262,
1700,
286,
807,
12,
940,
30,
46506,
35683,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
19442,
2091,
33411,
366,
23739,
1,
796,
705,
23,
12,
940
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
661,
1816,
284,
262,
983,
351,
262,
1700,
286,
807,
12,
940,
30,
46506,
35683,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
19442,
2091,
33411,
366,
23739,
1,
796,
705,
23,
12,
940
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.