instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What was the Result after the Week 4 on November 3, 1968? | SELECT result FROM table_name_27 WHERE week > 4 AND date = "november 3, 1968" | [
2061,
373,
262,
25414,
706,
262,
6119,
604,
319,
3389,
513,
11,
15963,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
1983,
33411,
1285,
1875,
604,
5357,
3128,
796,
366,
77,
3239,
513,
11,
15963,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
25414,
706,
262,
6119,
604,
319,
3389,
513,
11,
15963,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
1983,
33411,
1285,
1875,
604,
5357,
3128,
796,
366,
77,
3239,
513,
11,
15963,
1
] |
When did Shirley Fry Irvin win the US Open? | SELECT MIN("US Open") FROM table_73242 WHERE "Player" = 'Shirley Fry Irvin' | [
2215,
750,
40902,
25305,
5686,
7114,
1592,
262,
1294,
4946,
30,
46506,
20625,
7203,
2937,
4946,
4943,
16034,
3084,
62,
4790,
27877,
33411,
366,
14140,
1,
796,
705,
2484,
343,
1636,
25305,
5686,
7114,
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
] | [
2215,
750,
40902,
25305,
5686,
7114,
1592,
262,
1294,
4946,
30,
46506,
20625,
7203,
2937,
4946,
4943,
16034,
3084,
62,
4790,
27877,
33411,
366,
14140,
1,
796,
705,
2484,
343,
1636,
25305,
5686,
7114,
6
] |
what is the b score when the a score is 6.9? | SELECT b_score FROM table_name_6 WHERE a_score = 6.9 | [
10919,
318,
262,
275,
4776,
618,
262,
257,
4776,
318,
718,
13,
24,
30,
46506,
275,
62,
26675,
16034,
3084,
62,
3672,
62,
21,
33411,
257,
62,
26675,
796,
718,
13,
24
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
275,
4776,
618,
262,
257,
4776,
318,
718,
13,
24,
30,
46506,
275,
62,
26675,
16034,
3084,
62,
3672,
62,
21,
33411,
257,
62,
26675,
796,
718,
13,
24
] |
What is the title of the song with a track less than 8 released on 3/22/57? | SELECT song_title FROM table_name_53 WHERE track < 8 AND release_date = "3/22/57" | [
2061,
318,
262,
3670,
286,
262,
3496,
351,
257,
2610,
1342,
621,
807,
2716,
319,
513,
14,
1828,
14,
3553,
30,
46506,
3496,
62,
7839,
16034,
3084,
62,
3672,
62,
4310,
33411,
2610,
1279,
807,
5357,
2650,
62,
4475,
796,
366,
18,
14,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3670,
286,
262,
3496,
351,
257,
2610,
1342,
621,
807,
2716,
319,
513,
14,
1828,
14,
3553,
30,
46506,
3496,
62,
7839,
16034,
3084,
62,
3672,
62,
4310,
33411,
2610,
1279,
807,
5357,
2650,
62,
4475,
796,
366,
18,
14,
... |
Can you tell me the Competing entities that has the First held smaller than 1970? | SELECT competing_entities FROM table_name_4 WHERE first_held < 1970 | [
6090,
345,
1560,
502,
262,
3082,
13629,
12066,
326,
468,
262,
3274,
2714,
4833,
621,
8069,
30,
46506,
11780,
62,
298,
871,
16034,
3084,
62,
3672,
62,
19,
33411,
717,
62,
10217,
1279,
8069
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
6090,
345,
1560,
502,
262,
3082,
13629,
12066,
326,
468,
262,
3274,
2714,
4833,
621,
8069,
30,
46506,
11780,
62,
298,
871,
16034,
3084,
62,
3672,
62,
19,
33411,
717,
62,
10217,
1279,
8069
] |
What player had the position guard/forward? | SELECT player FROM table_name_83 WHERE position = "guard/forward" | [
2061,
2137,
550,
262,
2292,
4860,
14,
11813,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
5999,
33411,
2292,
796,
366,
14864,
14,
11813,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2137,
550,
262,
2292,
4860,
14,
11813,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
5999,
33411,
2292,
796,
366,
14864,
14,
11813,
1
] |
What's the singer part number of the buttonholer whose storage case is a green plastic box? | SELECT singer_part_number FROM table_28652521_1 WHERE storage_case = "green plastic box" | [
2061,
338,
262,
14015,
636,
1271,
286,
262,
4936,
3937,
263,
3025,
6143,
1339,
318,
257,
4077,
7309,
3091,
30,
46506,
14015,
62,
3911,
62,
17618,
16034,
3084,
62,
2078,
2996,
1495,
2481,
62,
16,
33411,
6143,
62,
7442,
796,
366,
14809,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14015,
636,
1271,
286,
262,
4936,
3937,
263,
3025,
6143,
1339,
318,
257,
4077,
7309,
3091,
30,
46506,
14015,
62,
3911,
62,
17618,
16034,
3084,
62,
2078,
2996,
1495,
2481,
62,
16,
33411,
6143,
62,
7442,
796,
366,
14809,... |
What was the prize won by Sebastian Ruthenberg? | SELECT prize FROM table_name_88 WHERE name = "sebastian ruthenberg" | [
2061,
373,
262,
11596,
1839,
416,
26190,
21214,
831,
3900,
30,
46506,
11596,
16034,
3084,
62,
3672,
62,
3459,
33411,
1438,
796,
366,
325,
65,
459,
666,
374,
315,
831,
3900,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
11596,
1839,
416,
26190,
21214,
831,
3900,
30,
46506,
11596,
16034,
3084,
62,
3672,
62,
3459,
33411,
1438,
796,
366,
325,
65,
459,
666,
374,
315,
831,
3900,
1
] |
how many patients were prescribed the drug glucose 15 gram/60 ml bq liq within 2 months after having been diagnosed with acute respiratory failure - due to neurological process since 2 years ago? | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'acute respiratory failure - due to neurological process' AND DATETIME(diagnosis.diagnosistime) >= DATETIME(C... | [
4919,
867,
3871,
547,
14798,
262,
2563,
15701,
1315,
14599,
14,
1899,
25962,
275,
80,
7649,
80,
1626,
362,
1933,
706,
1719,
587,
14641,
351,
14352,
22949,
5287,
532,
2233,
284,
30232,
1429,
1201,
362,
812,
2084,
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... | [
4919,
867,
3871,
547,
14798,
262,
2563,
15701,
1315,
14599,
14,
1899,
25962,
275,
80,
7649,
80,
1626,
362,
1933,
706,
1719,
587,
14641,
351,
14352,
22949,
5287,
532,
2233,
284,
30232,
1429,
1201,
362,
812,
2084,
30,
46506,
327,
28270,
... |
How many episodes had 4.44m viewers? | SELECT COUNT("Episode") FROM table_3694 WHERE "Viewers" = '4.44m' | [
2437,
867,
8640,
550,
604,
13,
2598,
76,
10209,
30,
46506,
327,
28270,
7203,
23758,
4943,
16034,
3084,
62,
2623,
5824,
33411,
366,
7680,
364,
1,
796,
705,
19,
13,
2598,
76,
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
] | [
2437,
867,
8640,
550,
604,
13,
2598,
76,
10209,
30,
46506,
327,
28270,
7203,
23758,
4943,
16034,
3084,
62,
2623,
5824,
33411,
366,
7680,
364,
1,
796,
705,
19,
13,
2598,
76,
6
] |
what is the diagnostic cost in nonpsychot brain syn nos? | SELECT DISTINCT cost.cost FROM cost WHERE cost.event_type = 'diagnoses_icd' AND cost.event_id IN (SELECT diagnoses_icd.row_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'nonpsychot brain syn nos')) | [
10919,
318,
262,
23584,
1575,
287,
1729,
23947,
313,
3632,
6171,
43630,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
62,
4906,
796,
705,
47356,
4629,
62,
291,
67,
6,
5357,
1575,
13,
15596,
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... | [
10919,
318,
262,
23584,
1575,
287,
1729,
23947,
313,
3632,
6171,
43630,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
62,
4906,
796,
705,
47356,
4629,
62,
291,
67,
6,
5357,
1575,
13,
15596,
62... |
What is the end (UTC) for spacecraft STS-114 Eva 3? | SELECT end__utc_ FROM table_22385461_6 WHERE spacecraft = "STS-114 EVA 3" | [
2061,
318,
262,
886,
357,
17429,
8,
329,
16807,
3563,
50,
12,
16562,
32355,
513,
30,
46506,
886,
834,
315,
66,
62,
16034,
3084,
62,
1828,
27203,
40652,
62,
21,
33411,
16807,
796,
366,
2257,
50,
12,
16562,
8696,
32,
513,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
886,
357,
17429,
8,
329,
16807,
3563,
50,
12,
16562,
32355,
513,
30,
46506,
886,
834,
315,
66,
62,
16034,
3084,
62,
1828,
27203,
40652,
62,
21,
33411,
16807,
796,
366,
2257,
50,
12,
16562,
8696,
32,
513,
1
] |
what papers are published by Liwen Xiong in 2015 | SELECT DISTINCT paper.paperid FROM author, paper, writes WHERE author.authorname = 'Liwen Xiong' AND paper.year = 2015 AND writes.authorid = author.authorid AND writes.paperid = paper.paperid | [
10919,
9473,
389,
3199,
416,
7455,
21006,
1395,
295,
70,
287,
1853,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
16034,
1772,
11,
3348,
11,
6797,
33411,
1772,
13,
18439,
1211,
480,
796,
705,
43,
14246,
268,
1395,
295,
70,
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... | [
10919,
9473,
389,
3199,
416,
7455,
21006,
1395,
295,
70,
287,
1853,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
16034,
1772,
11,
3348,
11,
6797,
33411,
1772,
13,
18439,
1211,
480,
796,
705,
43,
14246,
268,
1395,
295,
70,
6,
... |
what are the three most commonly ordered specimen tests for patients who had been diagnosed with hemorrhage complic proc before within the same month until 2104? | SELECT t3.spec_type_desc FROM (SELECT t2.spec_type_desc, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_... | [
10919,
389,
262,
1115,
749,
8811,
6149,
31674,
5254,
329,
3871,
508,
550,
587,
14641,
351,
42203,
496,
2299,
291,
13834,
878,
1626,
262,
976,
1227,
1566,
362,
13464,
30,
46506,
256,
18,
13,
16684,
62,
4906,
62,
20147,
16034,
357,
4650... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1115,
749,
8811,
6149,
31674,
5254,
329,
3871,
508,
550,
587,
14641,
351,
42203,
496,
2299,
291,
13834,
878,
1626,
262,
976,
1227,
1566,
362,
13464,
30,
46506,
256,
18,
13,
16684,
62,
4906,
62,
20147,
16034,
357,
4650... |
When el cibao is the geographical region and the height is 1.80 who is the contestant? | SELECT "Contestant" FROM table_22509 WHERE "Height" = '1.80' AND "Geographical Regions" = 'El Cibao' | [
2215,
1288,
269,
571,
5488,
318,
262,
27465,
3814,
290,
262,
6001,
318,
352,
13,
1795,
508,
318,
262,
44047,
30,
46506,
366,
4264,
395,
415,
1,
16034,
3084,
62,
1828,
29022,
33411,
366,
23106,
1,
796,
705,
16,
13,
1795,
6,
5357,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
1288,
269,
571,
5488,
318,
262,
27465,
3814,
290,
262,
6001,
318,
352,
13,
1795,
508,
318,
262,
44047,
30,
46506,
366,
4264,
395,
415,
1,
16034,
3084,
62,
1828,
29022,
33411,
366,
23106,
1,
796,
705,
16,
13,
1795,
6,
5357,
3... |
What was the score when the partner was arnaud cl ment? | SELECT "Score" FROM table_42718 WHERE "Partner" = 'arnaud clément' | [
2061,
373,
262,
4776,
618,
262,
5212,
373,
610,
2616,
463,
537,
6229,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
42363,
1507,
33411,
366,
7841,
1008,
1,
796,
705,
1501,
3885,
537,
2634,
434,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
618,
262,
5212,
373,
610,
2616,
463,
537,
6229,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
42363,
1507,
33411,
366,
7841,
1008,
1,
796,
705,
1501,
3885,
537,
2634,
434,
6
] |
What was the sum total of the region after 1976 when Mareeba had population was more than 18,212? | SELECT SUM(population__region_total_) FROM table_name_1 WHERE year > 1976 AND population__mareeba_ > 18 OFFSET 212 | [
2061,
373,
262,
2160,
2472,
286,
262,
3814,
706,
15408,
618,
36989,
1765,
64,
550,
3265,
373,
517,
621,
1248,
11,
21777,
30,
46506,
35683,
7,
39748,
834,
36996,
62,
23350,
62,
8,
16034,
3084,
62,
3672,
62,
16,
33411,
614,
1875,
1540... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2160,
2472,
286,
262,
3814,
706,
15408,
618,
36989,
1765,
64,
550,
3265,
373,
517,
621,
1248,
11,
21777,
30,
46506,
35683,
7,
39748,
834,
36996,
62,
23350,
62,
8,
16034,
3084,
62,
3672,
62,
16,
33411,
614,
1875,
1540... |
What was the result for the 1964 summer olympics on october 18? | SELECT "Results\u00b9" FROM table_75152 WHERE "Type of game" = '1964 summer olympics' AND "Date" = 'october 18' | [
2061,
373,
262,
1255,
329,
262,
17575,
3931,
267,
6760,
873,
319,
19318,
2023,
1248,
30,
46506,
366,
25468,
59,
84,
405,
65,
24,
1,
16034,
3084,
62,
2425,
17827,
33411,
366,
6030,
286,
983,
1,
796,
705,
46477,
3931,
267,
6760,
873,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
329,
262,
17575,
3931,
267,
6760,
873,
319,
19318,
2023,
1248,
30,
46506,
366,
25468,
59,
84,
405,
65,
24,
1,
16034,
3084,
62,
2425,
17827,
33411,
366,
6030,
286,
983,
1,
796,
705,
46477,
3931,
267,
6760,
873,
... |
What is the title of the episode watched by 3.2 million viewers? | SELECT "Title" FROM table_28699 WHERE "U.S. viewers (millions)" = '3.2' | [
2061,
318,
262,
3670,
286,
262,
4471,
7342,
416,
513,
13,
17,
1510,
10209,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
27033,
2079,
33411,
366,
52,
13,
50,
13,
10209,
357,
17805,
507,
16725,
796,
705,
18,
13,
17,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3670,
286,
262,
4471,
7342,
416,
513,
13,
17,
1510,
10209,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
27033,
2079,
33411,
366,
52,
13,
50,
13,
10209,
357,
17805,
507,
16725,
796,
705,
18,
13,
17,
6
] |
Which Country has a Place of t1? | SELECT "Country" FROM table_44100 WHERE "Place" = 't1' | [
13828,
12946,
468,
257,
8474,
286,
256,
16,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
2598,
3064,
33411,
366,
27271,
1,
796,
705,
83,
16,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
12946,
468,
257,
8474,
286,
256,
16,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
2598,
3064,
33411,
366,
27271,
1,
796,
705,
83,
16,
6
] |
What is the average Isolation in the municipality of Sunndal at an elevation of more than 1850? | SELECT AVG("Isolation (km)") FROM table_67725 WHERE "Municipality" = 'sunndal' AND "Elevation (m)" > '1850' | [
2061,
318,
262,
2811,
1148,
21417,
287,
262,
27264,
286,
3825,
358,
282,
379,
281,
22910,
286,
517,
621,
35745,
30,
46506,
35224,
7203,
3792,
21417,
357,
13276,
8,
4943,
16034,
3084,
62,
40179,
1495,
33411,
366,
44,
9462,
1483,
1,
796... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
1148,
21417,
287,
262,
27264,
286,
3825,
358,
282,
379,
281,
22910,
286,
517,
621,
35745,
30,
46506,
35224,
7203,
3792,
21417,
357,
13276,
8,
4943,
16034,
3084,
62,
40179,
1495,
33411,
366,
44,
9462,
1483,
1,
796... |
Who was the opponent in the match that lasted 4:17? | SELECT "Opponent" FROM table_64159 WHERE "Time" = '4:17' | [
8241,
373,
262,
6125,
287,
262,
2872,
326,
15436,
604,
25,
1558,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
2414,
19707,
33411,
366,
7575,
1,
796,
705,
19,
25,
1558,
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
] | [
8241,
373,
262,
6125,
287,
262,
2872,
326,
15436,
604,
25,
1558,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
2414,
19707,
33411,
366,
7575,
1,
796,
705,
19,
25,
1558,
6
] |
calculate the duration of patient 027-82318's stay in the first icu. | SELECT STRFTIME('%j', patient.unitdischargetime) - STRFTIME('%j', patient.unitadmittime) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-82318') AND NOT patient.unitadmittime IS NULL ORDER BY patient.unitadmittime LIMIT 1 | [
9948,
3129,
378,
262,
9478,
286,
5827,
657,
1983,
12,
23,
1954,
1507,
338,
2652,
287,
262,
717,
14158,
84,
13,
46506,
19269,
9792,
12789,
10786,
4,
73,
3256,
5827,
13,
20850,
6381,
354,
7641,
524,
8,
532,
19269,
9792,
12789,
10786,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9948,
3129,
378,
262,
9478,
286,
5827,
657,
1983,
12,
23,
1954,
1507,
338,
2652,
287,
262,
717,
14158,
84,
13,
46506,
19269,
9792,
12789,
10786,
4,
73,
3256,
5827,
13,
20850,
6381,
354,
7641,
524,
8,
532,
19269,
9792,
12789,
10786,
... |
Manja Holland teaches which courses currently , previously or in the future ? | SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND instructor.name LIKE '%Manja Holland%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offering_id =... | [
5124,
6592,
16070,
17324,
543,
10902,
3058,
837,
4271,
393,
287,
262,
2003,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,
6011... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5124,
6592,
16070,
17324,
543,
10902,
3058,
837,
4271,
393,
287,
262,
2003,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,
6011... |
what is the number of patients whose gender is f and primary disease is pneumonia? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.diagnosis = "PNEUMONIA" | [
10919,
318,
262,
1271,
286,
3871,
3025,
5279,
318,
277,
290,
4165,
4369,
318,
35647,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
37,
1,
5357,
16728,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1271,
286,
3871,
3025,
5279,
318,
277,
290,
4165,
4369,
318,
35647,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
37,
1,
5357,
16728,
1... |
What is the record when Clayton Mckinney was the opponent? | SELECT record FROM table_name_93 WHERE opponent = "clayton mckinney" | [
2061,
318,
262,
1700,
618,
32108,
337,
694,
259,
1681,
373,
262,
6125,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
6052,
33411,
6125,
796,
366,
565,
323,
1122,
285,
694,
259,
1681,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1700,
618,
32108,
337,
694,
259,
1681,
373,
262,
6125,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
6052,
33411,
6125,
796,
366,
565,
323,
1122,
285,
694,
259,
1681,
1
] |
What was the score when the record 56-46 was met? | SELECT "Score" FROM table_10224 WHERE "Record" = '56-46' | [
2061,
373,
262,
4776,
618,
262,
1700,
7265,
12,
3510,
373,
1138,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
15377,
1731,
33411,
366,
23739,
1,
796,
705,
3980,
12,
3510,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
618,
262,
1700,
7265,
12,
3510,
373,
1138,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
15377,
1731,
33411,
366,
23739,
1,
796,
705,
3980,
12,
3510,
6
] |
What are all the songs in albums under label 'Universal Music Group'? | SELECT T3.title FROM albums AS T1 JOIN tracklists AS T2 ON T1.aid = T2.albumid JOIN songs AS T3 ON T2.songid = T3.songid WHERE t1.label = "Universal Music Group" | [
2061,
389,
477,
262,
7259,
287,
16788,
739,
6167,
705,
38747,
7849,
4912,
30960,
46506,
309,
18,
13,
7839,
16034,
16788,
7054,
309,
16,
32357,
1268,
2610,
20713,
7054,
309,
17,
6177,
309,
16,
13,
1698,
796,
309,
17,
13,
40916,
312,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
389,
477,
262,
7259,
287,
16788,
739,
6167,
705,
38747,
7849,
4912,
30960,
46506,
309,
18,
13,
7839,
16034,
16788,
7054,
309,
16,
32357,
1268,
2610,
20713,
7054,
309,
17,
6177,
309,
16,
13,
1698,
796,
309,
17,
13,
40916,
312,
... |
what is the number of patients whose primary disease is sternal wound infection and year of birth is less than 2085? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "STERNAL WOUND INFECTION" AND demographic.dob_year < "2085" | [
10919,
318,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
26370,
282,
11699,
10280,
290,
614,
286,
4082,
318,
1342,
621,
1160,
5332,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
167... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
26370,
282,
11699,
10280,
290,
614,
286,
4082,
318,
1342,
621,
1160,
5332,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
167... |
Which winner has a Challenge Loser of alexcy? | SELECT "Challenge Winner" FROM table_9342 WHERE "Challenge Loser" = 'alexcy' | [
13828,
8464,
468,
257,
13879,
5401,
263,
286,
257,
2588,
948,
30,
46506,
366,
41812,
3540,
25358,
1,
16034,
3084,
62,
24,
31575,
33411,
366,
41812,
3540,
5401,
263,
1,
796,
705,
1000,
87,
948,
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,
8464,
468,
257,
13879,
5401,
263,
286,
257,
2588,
948,
30,
46506,
366,
41812,
3540,
25358,
1,
16034,
3084,
62,
24,
31575,
33411,
366,
41812,
3540,
5401,
263,
1,
796,
705,
1000,
87,
948,
6
] |
What 1993 has 2r as a 1994, and 1r as a 1995? | SELECT 1993 FROM table_name_18 WHERE 1994 = "2r" AND 1995 = "1r" | [
2061,
9656,
468,
362,
81,
355,
257,
9162,
11,
290,
352,
81,
355,
257,
8735,
30,
46506,
9656,
16034,
3084,
62,
3672,
62,
1507,
33411,
9162,
796,
366,
17,
81,
1,
5357,
8735,
796,
366,
16,
81,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9656,
468,
362,
81,
355,
257,
9162,
11,
290,
352,
81,
355,
257,
8735,
30,
46506,
9656,
16034,
3084,
62,
3672,
62,
1507,
33411,
9162,
796,
366,
17,
81,
1,
5357,
8735,
796,
366,
16,
81,
1
] |
give me the number of patients whose discharge location is home health care and procedure icd9 code is 5771? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "HOME HEALTH CARE" AND procedures.icd9_code = "5771" | [
26535,
502,
262,
1271,
286,
3871,
3025,
17655,
4067,
318,
1363,
1535,
1337,
290,
8771,
14158,
67,
24,
2438,
318,
642,
46761,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3235... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8771,
14158,
67,
24,
2438,
318,
642,
46761,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3235... |
count the number of patients whose discharge location is home and lab test name is sodium? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.discharge_location = "HOME" AND lab.label = "Sodium" | [
9127,
262,
1271,
286,
3871,
3025,
17655,
4067,
318,
1363,
290,
2248,
1332,
1438,
318,
21072,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
17655,
4067,
318,
1363,
290,
2248,
1332,
1438,
318,
21072,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
... |
What is the average Fab (nm) of the chipset released in q4 2008 with a RAID larger than 0,1,5,10? | SELECT AVG("Fab ( nm )") FROM table_68908 WHERE "Released" = 'q4 2008' AND "RAID" > '0,1,5,10' | [
2061,
318,
262,
2811,
14236,
357,
21533,
8,
286,
262,
49013,
2716,
287,
10662,
19,
3648,
351,
257,
37450,
4025,
621,
657,
11,
16,
11,
20,
11,
940,
30,
46506,
35224,
7203,
43957,
357,
28642,
1267,
4943,
16034,
3084,
62,
40523,
2919,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14236,
357,
21533,
8,
286,
262,
49013,
2716,
287,
10662,
19,
3648,
351,
257,
37450,
4025,
621,
657,
11,
16,
11,
20,
11,
940,
30,
46506,
35224,
7203,
43957,
357,
28642,
1267,
4943,
16034,
3084,
62,
40523,
2919,
... |
What rank has a Time of 4:00.191? | SELECT rank FROM table_name_94 WHERE time = "4:00.191" | [
2061,
4279,
468,
257,
3862,
286,
604,
25,
405,
13,
26492,
30,
46506,
4279,
16034,
3084,
62,
3672,
62,
5824,
33411,
640,
796,
366,
19,
25,
405,
13,
26492,
1
] | [
1,
1,
1,
1,
1,
1,
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,
4279,
468,
257,
3862,
286,
604,
25,
405,
13,
26492,
30,
46506,
4279,
16034,
3084,
62,
3672,
62,
5824,
33411,
640,
796,
366,
19,
25,
405,
13,
26492,
1
] |
are there any flights from BOSTON to SAN FRANCISCO with a stopover in DALLAS | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight, flight_stop WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND CIT... | [
533,
612,
597,
13956,
422,
347,
10892,
1340,
284,
37376,
8782,
20940,
1797,
8220,
351,
257,
2245,
2502,
287,
360,
7036,
1921,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
612,
597,
13956,
422,
347,
10892,
1340,
284,
37376,
8782,
20940,
1797,
8220,
351,
257,
2245,
2502,
287,
360,
7036,
1921,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,... |
what's the maximum cost of a hospital that includes a sodium, whole blood lab test until 2104? | SELECT MAX(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT labevents.hadm_id FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'sodium, whole blood')) AND STRFTIME('%y', cost.chargetime) <= '2104' GROUP BY cost.hadm_id) AS t1 | [
10919,
338,
262,
5415,
1575,
286,
257,
4436,
326,
3407,
257,
21072,
11,
2187,
2910,
2248,
1332,
1566,
362,
13464,
30,
46506,
25882,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
338,
262,
5415,
1575,
286,
257,
4436,
326,
3407,
257,
21072,
11,
2187,
2910,
2248,
1332,
1566,
362,
13464,
30,
46506,
25882,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
... |
How many goals against were scored when the points were smaller than 13, the wins were smaller than 3, and the goals for were smaller than 15? | SELECT SUM("Goals against") FROM table_8677 WHERE "Points" < '13' AND "Wins" < '3' AND "Goals for" < '15' | [
2437,
867,
4661,
1028,
547,
7781,
618,
262,
2173,
547,
4833,
621,
1511,
11,
262,
7864,
547,
4833,
621,
513,
11,
290,
262,
4661,
329,
547,
4833,
621,
1315,
30,
46506,
35683,
7203,
5247,
874,
1028,
4943,
16034,
3084,
62,
23,
40179,
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... | [
2437,
867,
4661,
1028,
547,
7781,
618,
262,
2173,
547,
4833,
621,
1511,
11,
262,
7864,
547,
4833,
621,
513,
11,
290,
262,
4661,
329,
547,
4833,
621,
1315,
30,
46506,
35683,
7203,
5247,
874,
1028,
4943,
16034,
3084,
62,
23,
40179,
33... |
What's the Loss listed with a Score of 5-1? | SELECT loss FROM table_name_60 WHERE score = "5-1" | [
2061,
338,
262,
22014,
5610,
351,
257,
15178,
286,
642,
12,
16,
30,
46506,
2994,
16034,
3084,
62,
3672,
62,
1899,
33411,
4776,
796,
366,
20,
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
] | [
2061,
338,
262,
22014,
5610,
351,
257,
15178,
286,
642,
12,
16,
30,
46506,
2994,
16034,
3084,
62,
3672,
62,
1899,
33411,
4776,
796,
366,
20,
12,
16,
1
] |
What is the total PI GP of the player with a pick number 49 and a reg gp less than 0? | SELECT COUNT(pl_gp) FROM table_name_69 WHERE pick__number = 49 AND reg_gp < 0 | [
2061,
318,
262,
2472,
30434,
14714,
286,
262,
2137,
351,
257,
2298,
1271,
5125,
290,
257,
842,
27809,
1342,
621,
657,
30,
46506,
327,
28270,
7,
489,
62,
31197,
8,
16034,
3084,
62,
3672,
62,
3388,
33411,
2298,
834,
17618,
796,
5125,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
30434,
14714,
286,
262,
2137,
351,
257,
2298,
1271,
5125,
290,
257,
842,
27809,
1342,
621,
657,
30,
46506,
327,
28270,
7,
489,
62,
31197,
8,
16034,
3084,
62,
3672,
62,
3388,
33411,
2298,
834,
17618,
796,
5125,
... |
Name the score when the opponent was the dodgers on april 21 | SELECT score FROM table_name_61 WHERE opponent = "dodgers" AND date = "april 21" | [
5376,
262,
4776,
618,
262,
6125,
373,
262,
20764,
5355,
319,
46593,
346,
2310,
46506,
4776,
16034,
3084,
62,
3672,
62,
5333,
33411,
6125,
796,
366,
67,
375,
5355,
1,
5357,
3128,
796,
366,
499,
22379,
2310,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6125,
373,
262,
20764,
5355,
319,
46593,
346,
2310,
46506,
4776,
16034,
3084,
62,
3672,
62,
5333,
33411,
6125,
796,
366,
67,
375,
5355,
1,
5357,
3128,
796,
366,
499,
22379,
2310,
1
] |
For all employees who have the letters D or S in their first name, give me the trend about manager_id over hire_date . | SELECT HIRE_DATE, MANAGER_ID FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1577,
502,
262,
5182,
546,
4706,
62,
312,
625,
11078,
62,
4475,
764,
46506,
36210,
2200,
62,
35,
6158,
11,
17254,
4760,
1137,
62,
2389,
16034,
4409,
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
] | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1577,
502,
262,
5182,
546,
4706,
62,
312,
625,
11078,
62,
4475,
764,
46506,
36210,
2200,
62,
35,
6158,
11,
17254,
4760,
1137,
62,
2389,
16034,
4409,
33411... |
What was the purpose of the Quay test blast? | SELECT purpose FROM table_name_54 WHERE name = "quay" | [
2061,
373,
262,
4007,
286,
262,
2264,
323,
1332,
11975,
30,
46506,
4007,
16034,
3084,
62,
3672,
62,
4051,
33411,
1438,
796,
366,
421,
323,
1
] | [
1,
1,
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,
4007,
286,
262,
2264,
323,
1332,
11975,
30,
46506,
4007,
16034,
3084,
62,
3672,
62,
4051,
33411,
1438,
796,
366,
421,
323,
1
] |
Where did they finish in the season when when they won $491,977? | SELECT season_rank FROM table_2649597_1 WHERE winnings = "$491,977" | [
8496,
750,
484,
5461,
287,
262,
1622,
618,
618,
484,
1839,
720,
41289,
11,
24,
3324,
30,
46506,
1622,
62,
43027,
16034,
3084,
62,
2075,
2920,
43239,
62,
16,
33411,
1592,
23400,
796,
17971,
41289,
11,
24,
3324,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8496,
750,
484,
5461,
287,
262,
1622,
618,
618,
484,
1839,
720,
41289,
11,
24,
3324,
30,
46506,
1622,
62,
43027,
16034,
3084,
62,
2075,
2920,
43239,
62,
16,
33411,
1592,
23400,
796,
17971,
41289,
11,
24,
3324,
1
] |
Which Rank has an Opposition of limerick? | SELECT "Rank" FROM table_65918 WHERE "Opposition" = 'limerick' | [
13828,
10916,
468,
281,
29560,
286,
1761,
41556,
30,
46506,
366,
27520,
1,
16034,
3084,
62,
36445,
1507,
33411,
366,
27524,
3507,
1,
796,
705,
2475,
41556,
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,
10916,
468,
281,
29560,
286,
1761,
41556,
30,
46506,
366,
27520,
1,
16034,
3084,
62,
36445,
1507,
33411,
366,
27524,
3507,
1,
796,
705,
2475,
41556,
6
] |
what were the top five most frequent diagnoses for the patients with age 40s since 2100. | SELECT t1.diagnosisname FROM (SELECT diagnosis.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age BETWEEN 40 AND 49) AND STRFTIME('%y', diagnosis.diagnosistime) >= '2100' GROUP BY diagnosis.... | [
10919,
547,
262,
1353,
1936,
749,
10792,
40567,
329,
262,
3871,
351,
2479,
2319,
82,
1201,
38123,
13,
46506,
256,
16,
13,
47356,
5958,
3672,
16034,
357,
46506,
13669,
13,
47356,
5958,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1353,
1936,
749,
10792,
40567,
329,
262,
3871,
351,
2479,
2319,
82,
1201,
38123,
13,
46506,
256,
16,
13,
47356,
5958,
3672,
16034,
357,
46506,
13669,
13,
47356,
5958,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
... |
What To par has a Place of t10, and a Score of 67-73=140? | SELECT "To par" FROM table_60006 WHERE "Place" = 't10' AND "Score" = '67-73=140' | [
2061,
1675,
1582,
468,
257,
8474,
286,
256,
940,
11,
290,
257,
15178,
286,
8275,
12,
4790,
28,
15187,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
43434,
21,
33411,
366,
27271,
1,
796,
705,
83,
940,
6,
5357,
366,
26595,
1,
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
] | [
2061,
1675,
1582,
468,
257,
8474,
286,
256,
940,
11,
290,
257,
15178,
286,
8275,
12,
4790,
28,
15187,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
43434,
21,
33411,
366,
27271,
1,
796,
705,
83,
940,
6,
5357,
366,
26595,
1,
796,... |
Are there upper elective classes next semester that do not meet on Friday ? | SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, program_course, semester WHERE course_offering.friday = 'N' AND course.course_id = course_offering.course_id AND program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND semester.semester = 'FA' ... | [
8491,
612,
6727,
1742,
425,
6097,
1306,
24878,
326,
466,
407,
1826,
319,
3217,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
1430,
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... | [
8491,
612,
6727,
1742,
425,
6097,
1306,
24878,
326,
466,
407,
1826,
319,
3217,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
1430,
62,
... |
For all organizations that have grants of more than 6000 dollars, show me the proportion of details of the organizations with a pie chart. | SELECT organisation_details, COUNT(organisation_details) FROM Grants AS T1 JOIN Organisations AS T2 ON T1.organisation_id = T2.organisation_id GROUP BY organisation_details | [
1890,
477,
5745,
326,
423,
11455,
286,
517,
621,
39064,
5054,
11,
905,
502,
262,
9823,
286,
3307,
286,
262,
5745,
351,
257,
2508,
8262,
13,
46506,
12684,
62,
36604,
11,
327,
28270,
7,
9971,
5612,
62,
36604,
8,
16034,
40535,
7054,
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... | [
1890,
477,
5745,
326,
423,
11455,
286,
517,
621,
39064,
5054,
11,
905,
502,
262,
9823,
286,
3307,
286,
262,
5745,
351,
257,
2508,
8262,
13,
46506,
12684,
62,
36604,
11,
327,
28270,
7,
9971,
5612,
62,
36604,
8,
16034,
40535,
7054,
30... |
how many patients are discharge to long term care hospital and diagnosed with abnormal coagulation profile? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.discharge_location = "LONG TERM CARE HOSPITAL" AND diagnoses.long_title = "Abnormal coagulation profile" | [
4919,
867,
3871,
389,
17655,
284,
890,
3381,
1337,
4436,
290,
14641,
351,
18801,
763,
363,
1741,
7034,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
389,
17655,
284,
890,
3381,
1337,
4436,
290,
14641,
351,
18801,
763,
363,
1741,
7034,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
... |
Which name has Years of 1 8, a Decile of 9, and a Roll smaller than 141? | SELECT name FROM table_name_20 WHERE years = "1–8" AND decile = 9 AND roll < 141 | [
13828,
1438,
468,
13212,
286,
352,
807,
11,
257,
4280,
576,
286,
860,
11,
290,
257,
8299,
4833,
621,
25500,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
1238,
33411,
812,
796,
366,
16,
1906,
23,
1,
5357,
875,
576,
796,
860,
5357,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1438,
468,
13212,
286,
352,
807,
11,
257,
4280,
576,
286,
860,
11,
290,
257,
8299,
4833,
621,
25500,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
1238,
33411,
812,
796,
366,
16,
1906,
23,
1,
5357,
875,
576,
796,
860,
5357,
4... |
What are the names and locations of tracks that have had exactly 1 race? | SELECT T2.name, T2.location FROM race AS T1 JOIN track AS T2 ON T1.track_id = T2.track_id GROUP BY T1.track_id HAVING COUNT(*) = 1 | [
2061,
389,
262,
3891,
290,
7064,
286,
8339,
326,
423,
550,
3446,
352,
3234,
30,
46506,
309,
17,
13,
3672,
11,
309,
17,
13,
24886,
16034,
3234,
7054,
309,
16,
32357,
1268,
2610,
7054,
309,
17,
6177,
309,
16,
13,
11659,
62,
312,
796... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
389,
262,
3891,
290,
7064,
286,
8339,
326,
423,
550,
3446,
352,
3234,
30,
46506,
309,
17,
13,
3672,
11,
309,
17,
13,
24886,
16034,
3234,
7054,
309,
16,
32357,
1268,
2610,
7054,
309,
17,
6177,
309,
16,
13,
11659,
62,
312,
796... |
give the number of patients whose language is english and diagnosis long title is chronic total occlusion of coronary artery. | 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 = "Chronic total occlusion of coronary artery" | [
26535,
262,
1271,
286,
3871,
3025,
3303,
318,
46932,
290,
13669,
890,
3670,
318,
10726,
2472,
1609,
75,
4241,
286,
37151,
37646,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10726,
2472,
1609,
75,
4241,
286,
37151,
37646,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
... |
How many goals did a player active since 2006 have? | SELECT "Goals" FROM table_14624 WHERE "Years Active" = '2006' | [
2437,
867,
4661,
750,
257,
2137,
4075,
1201,
4793,
423,
30,
46506,
366,
5247,
874,
1,
16034,
3084,
62,
20964,
1731,
33411,
366,
40630,
14199,
1,
796,
705,
13330,
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
] | [
2437,
867,
4661,
750,
257,
2137,
4075,
1201,
4793,
423,
30,
46506,
366,
5247,
874,
1,
16034,
3084,
62,
20964,
1731,
33411,
366,
40630,
14199,
1,
796,
705,
13330,
6
] |
what was the name of the procedure that patient 005-4044 received two or more times during the first hospital visit. | SELECT t1.treatmentname FROM (SELECT treatment.treatmentname, COUNT(treatment.treatmenttime) AS c1 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid ... | [
10919,
373,
262,
1438,
286,
262,
8771,
326,
5827,
3571,
20,
12,
1821,
2598,
2722,
734,
393,
517,
1661,
1141,
262,
717,
4436,
3187,
13,
46506,
256,
16,
13,
42487,
3672,
16034,
357,
46506,
3513,
13,
42487,
3672,
11,
327,
28270,
7,
424... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
1438,
286,
262,
8771,
326,
5827,
3571,
20,
12,
1821,
2598,
2722,
734,
393,
517,
1661,
1141,
262,
717,
4436,
3187,
13,
46506,
256,
16,
13,
42487,
3672,
16034,
357,
46506,
3513,
13,
42487,
3672,
11,
327,
28270,
7,
424... |
At a longitude of 321.9e, what is the latitude of the features found? | SELECT latitude FROM table_16799784_3 WHERE longitude = "321.9E" | [
2953,
257,
890,
3984,
286,
39595,
13,
24,
68,
11,
644,
318,
262,
32477,
286,
262,
3033,
1043,
30,
46506,
32477,
16034,
3084,
62,
21940,
2079,
37688,
62,
18,
33411,
890,
3984,
796,
366,
36453,
13,
24,
36,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2953,
257,
890,
3984,
286,
39595,
13,
24,
68,
11,
644,
318,
262,
32477,
286,
262,
3033,
1043,
30,
46506,
32477,
16034,
3084,
62,
21940,
2079,
37688,
62,
18,
33411,
890,
3984,
796,
366,
36453,
13,
24,
36,
1
] |
What position has 217 as the pick? | SELECT "Position" FROM table_34905 WHERE "Pick" = '217' | [
2061,
2292,
468,
24894,
355,
262,
2298,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
27371,
2713,
33411,
366,
31686,
1,
796,
705,
24591,
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,
2292,
468,
24894,
355,
262,
2298,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
27371,
2713,
33411,
366,
31686,
1,
796,
705,
24591,
6
] |
A bar chart for finding the number of the names of stadiums that some Australian swimmers have been to, list from high to low by the names. | SELECT T4.Name, COUNT(T4.Name) FROM swimmer AS t1 JOIN record AS t2 ON t1.ID = t2.Swimmer_ID JOIN event AS t3 ON t2.Event_ID = t3.ID JOIN stadium AS t4 ON t4.ID = t3.Stadium_ID WHERE t1.Nationality = 'Australia' GROUP BY T4.Name ORDER BY T4.Name DESC | [
32,
2318,
8262,
329,
4917,
262,
1271,
286,
262,
3891,
286,
37924,
326,
617,
6638,
1509,
36904,
423,
587,
284,
11,
1351,
422,
1029,
284,
1877,
416,
262,
3891,
13,
46506,
309,
19,
13,
5376,
11,
327,
28270,
7,
51,
19,
13,
5376,
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... | [
32,
2318,
8262,
329,
4917,
262,
1271,
286,
262,
3891,
286,
37924,
326,
617,
6638,
1509,
36904,
423,
587,
284,
11,
1351,
422,
1029,
284,
1877,
416,
262,
3891,
13,
46506,
309,
19,
13,
5376,
11,
327,
28270,
7,
51,
19,
13,
5376,
8,
... |
how many patients whose year of birth is less than 2035 and diagnoses short title is preterm nec 1750-1999g? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dob_year < "2035" AND diagnoses.short_title = "Preterm NEC 1750-1999g" | [
4919,
867,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
1160,
2327,
290,
40567,
1790,
3670,
318,
662,
4354,
27576,
1596,
1120,
12,
18946,
70,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
1160,
2327,
290,
40567,
1790,
3670,
318,
662,
4354,
27576,
1596,
1120,
12,
18946,
70,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... |
What is the Opponent from the final with a Partner named jorgelina cravero? | SELECT "Opponent in the final" FROM table_34782 WHERE "Partner" = 'jorgelina cravero' | [
2061,
318,
262,
9385,
3471,
422,
262,
2457,
351,
257,
35532,
3706,
474,
2398,
417,
1437,
15671,
332,
78,
30,
46506,
366,
27524,
3471,
287,
262,
2457,
1,
16034,
3084,
62,
2682,
46519,
33411,
366,
7841,
1008,
1,
796,
705,
73,
2398,
41... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9385,
3471,
422,
262,
2457,
351,
257,
35532,
3706,
474,
2398,
417,
1437,
15671,
332,
78,
30,
46506,
366,
27524,
3471,
287,
262,
2457,
1,
16034,
3084,
62,
2682,
46519,
33411,
366,
7841,
1008,
1,
796,
705,
73,
2398,
41... |
How many students are in each department. Visualize by pie chart. | SELECT DEPT_CODE, COUNT(*) FROM STUDENT GROUP BY DEPT_CODE | [
2437,
867,
2444,
389,
287,
1123,
5011,
13,
15612,
1096,
416,
2508,
8262,
13,
46506,
5550,
11571,
62,
34,
16820,
11,
327,
28270,
7,
28104,
16034,
49348,
3525,
44441,
11050,
5550,
11571,
62,
34,
16820
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2444,
389,
287,
1123,
5011,
13,
15612,
1096,
416,
2508,
8262,
13,
46506,
5550,
11571,
62,
34,
16820,
11,
327,
28270,
7,
28104,
16034,
49348,
3525,
44441,
11050,
5550,
11571,
62,
34,
16820
] |
What is the customer last name, id and phone number with most number of orders? | SELECT T2.customer_last_name, T1.customer_id, T2.phone_number FROM orders AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) DESC LIMIT 1 | [
2061,
318,
262,
6491,
938,
1438,
11,
4686,
290,
3072,
1271,
351,
749,
1271,
286,
6266,
30,
46506,
309,
17,
13,
23144,
263,
62,
12957,
62,
3672,
11,
309,
16,
13,
23144,
263,
62,
312,
11,
309,
17,
13,
4862,
62,
17618,
16034,
6266,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6491,
938,
1438,
11,
4686,
290,
3072,
1271,
351,
749,
1271,
286,
6266,
30,
46506,
309,
17,
13,
23144,
263,
62,
12957,
62,
3672,
11,
309,
16,
13,
23144,
263,
62,
312,
11,
309,
17,
13,
4862,
62,
17618,
16034,
6266,
... |
Which fatality was at ankara for the aircraft douglas c-47? | SELECT fatalities FROM table_name_60 WHERE location = "ankara" AND aircraft = "douglas c-47" | [
13828,
3735,
1483,
373,
379,
16553,
3301,
329,
262,
6215,
2255,
14391,
269,
12,
2857,
30,
46506,
30091,
16034,
3084,
62,
3672,
62,
1899,
33411,
4067,
796,
366,
962,
3301,
1,
5357,
6215,
796,
366,
67,
280,
14391,
269,
12,
2857,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3735,
1483,
373,
379,
16553,
3301,
329,
262,
6215,
2255,
14391,
269,
12,
2857,
30,
46506,
30091,
16034,
3084,
62,
3672,
62,
1899,
33411,
4067,
796,
366,
962,
3301,
1,
5357,
6215,
796,
366,
67,
280,
14391,
269,
12,
2857,
1
] |
how many patients have stayed in the hospital for more than 2 days with additive drug type? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "2" AND prescriptions.drug_type = "ADDITIVE" | [
4919,
867,
3871,
423,
9658,
287,
262,
4436,
329,
517,
621,
362,
1528,
351,
38298,
2563,
2099,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
423,
9658,
287,
262,
4436,
329,
517,
621,
362,
1528,
351,
38298,
2563,
2099,
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... |
What are the number of the category of music festivals with result 'Awarded'?, could you order in ascending by the X-axis? | SELECT Category, COUNT(Category) FROM music_festival WHERE Result = "Awarded" GROUP BY Category ORDER BY Category | [
2061,
389,
262,
1271,
286,
262,
6536,
286,
2647,
25575,
351,
1255,
705,
32,
904,
276,
6,
21747,
714,
345,
1502,
287,
41988,
416,
262,
1395,
12,
22704,
30,
46506,
21743,
11,
327,
28270,
7,
27313,
8,
16034,
2647,
62,
69,
6743,
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
] | [
2061,
389,
262,
1271,
286,
262,
6536,
286,
2647,
25575,
351,
1255,
705,
32,
904,
276,
6,
21747,
714,
345,
1502,
287,
41988,
416,
262,
1395,
12,
22704,
30,
46506,
21743,
11,
327,
28270,
7,
27313,
8,
16034,
2647,
62,
69,
6743,
33411,
... |
How many OT wins associated with a L(GWS)* of 3, and a L(OT) larger than 1? | SELECT SUM("W(OT)") FROM table_5908 WHERE "L(GWS)*" = '3' AND "L(OT)" > '1' | [
2437,
867,
21676,
7864,
3917,
351,
257,
406,
7,
38,
19416,
27493,
286,
513,
11,
290,
257,
406,
7,
2394,
8,
4025,
621,
352,
30,
46506,
35683,
7203,
54,
7,
2394,
8,
4943,
16034,
3084,
62,
3270,
2919,
33411,
366,
43,
7,
38,
19416,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21676,
7864,
3917,
351,
257,
406,
7,
38,
19416,
27493,
286,
513,
11,
290,
257,
406,
7,
2394,
8,
4025,
621,
352,
30,
46506,
35683,
7203,
54,
7,
2394,
8,
4943,
16034,
3084,
62,
3270,
2919,
33411,
366,
43,
7,
38,
19416,
... |
Name the least year for european indoor championships result of 3rd | SELECT MIN("Year") FROM table_5362 WHERE "Tournament" = 'european indoor championships' AND "Result" = '3rd' | [
5376,
262,
1551,
614,
329,
11063,
431,
272,
22639,
27459,
1255,
286,
513,
4372,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
20,
35667,
33411,
366,
51,
5138,
1,
796,
705,
44252,
431,
272,
22639,
27459,
6,
5357,
366,
23004,
1,
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
] | [
5376,
262,
1551,
614,
329,
11063,
431,
272,
22639,
27459,
1255,
286,
513,
4372,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
20,
35667,
33411,
366,
51,
5138,
1,
796,
705,
44252,
431,
272,
22639,
27459,
6,
5357,
366,
23004,
1,
796... |
Name the awardee for best editing | SELECT "Awardee(s)" FROM table_26857 WHERE "Name of Award" = 'Best Editing' | [
5376,
262,
5764,
1453,
329,
1266,
12857,
46506,
366,
32,
904,
1453,
7,
82,
16725,
16034,
3084,
62,
25022,
3553,
33411,
366,
5376,
286,
11289,
1,
796,
705,
13014,
39883,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
5764,
1453,
329,
1266,
12857,
46506,
366,
32,
904,
1453,
7,
82,
16725,
16034,
3084,
62,
25022,
3553,
33411,
366,
5376,
286,
11289,
1,
796,
705,
13014,
39883,
6
] |
For 2006 what category has the Show of kasautii zindagii kay? | SELECT "Category" FROM table_55207 WHERE "For The Show" = 'kasautii zindagii kay' AND "Year" = '2006' | [
1890,
4793,
644,
6536,
468,
262,
5438,
286,
479,
292,
2306,
4178,
1976,
521,
363,
4178,
34681,
30,
46506,
366,
27313,
1,
16034,
3084,
62,
2816,
22745,
33411,
366,
1890,
383,
5438,
1,
796,
705,
42749,
2306,
4178,
1976,
521,
363,
4178,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4793,
644,
6536,
468,
262,
5438,
286,
479,
292,
2306,
4178,
1976,
521,
363,
4178,
34681,
30,
46506,
366,
27313,
1,
16034,
3084,
62,
2816,
22745,
33411,
366,
1890,
383,
5438,
1,
796,
705,
42749,
2306,
4178,
1976,
521,
363,
4178,
... |
When Yusuke Hatanaka was the stage winner in the tonton susanto general classification, what was the malaysian rider classification? | SELECT "Malaysian rider classification" FROM table_38699 WHERE "General classification" = 'tonton susanto' AND "Stage winner" = 'yusuke hatanaka' | [
2215,
41749,
4649,
10983,
272,
8130,
373,
262,
3800,
8464,
287,
262,
256,
756,
261,
2341,
14723,
2276,
17923,
11,
644,
373,
262,
6428,
592,
666,
17876,
17923,
30,
46506,
366,
15029,
592,
666,
17876,
17923,
1,
16034,
3084,
62,
21734,
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... | [
2215,
41749,
4649,
10983,
272,
8130,
373,
262,
3800,
8464,
287,
262,
256,
756,
261,
2341,
14723,
2276,
17923,
11,
644,
373,
262,
6428,
592,
666,
17876,
17923,
30,
46506,
366,
15029,
592,
666,
17876,
17923,
1,
16034,
3084,
62,
21734,
2... |
At what latitude did the shock at time 13:10:02 occur? | SELECT latitude FROM table_25675509_1 WHERE time__utc_ = "13:10:02" | [
2953,
644,
32477,
750,
262,
6380,
379,
640,
1511,
25,
940,
25,
2999,
3051,
30,
46506,
32477,
16034,
3084,
62,
11645,
2425,
29022,
62,
16,
33411,
640,
834,
315,
66,
62,
796,
366,
1485,
25,
940,
25,
2999,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2953,
644,
32477,
750,
262,
6380,
379,
640,
1511,
25,
940,
25,
2999,
3051,
30,
46506,
32477,
16034,
3084,
62,
11645,
2425,
29022,
62,
16,
33411,
640,
834,
315,
66,
62,
796,
366,
1485,
25,
940,
25,
2999,
1
] |
How many times did Viorel Moldovan replaced a manager? | SELECT COUNT("Date of vacancy") FROM table_1605 WHERE "Replaced by" = 'Viorel Moldovan' | [
2437,
867,
1661,
750,
16049,
382,
75,
29684,
22590,
6928,
257,
4706,
30,
46506,
327,
28270,
7203,
10430,
286,
39836,
4943,
16034,
3084,
62,
1433,
2713,
33411,
366,
3041,
21820,
416,
1,
796,
705,
38432,
382,
75,
29684,
22590,
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
] | [
2437,
867,
1661,
750,
16049,
382,
75,
29684,
22590,
6928,
257,
4706,
30,
46506,
327,
28270,
7203,
10430,
286,
39836,
4943,
16034,
3084,
62,
1433,
2713,
33411,
366,
3041,
21820,
416,
1,
796,
705,
38432,
382,
75,
29684,
22590,
6
] |
For opponent is sandra kristj nsd ttir, outcome is winner and edition is 2009 europe/africa group iiib mention all the opponent team. | SELECT opponent_team FROM table_27877656_7 WHERE edition = "2009 Europe/Africa Group IIIB" AND outcome = "Winner" AND opponent = "Sandra Kristjánsdóttir" | [
1890,
6125,
318,
6450,
430,
479,
1585,
73,
299,
21282,
256,
83,
343,
11,
8055,
318,
8464,
290,
8313,
318,
3717,
11063,
431,
14,
1878,
30997,
1448,
21065,
571,
3068,
477,
262,
6125,
1074,
13,
46506,
6125,
62,
15097,
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,
1,
1,
1,
1,
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,
6125,
318,
6450,
430,
479,
1585,
73,
299,
21282,
256,
83,
343,
11,
8055,
318,
8464,
290,
8313,
318,
3717,
11063,
431,
14,
1878,
30997,
1448,
21065,
571,
3068,
477,
262,
6125,
1074,
13,
46506,
6125,
62,
15097,
16034,
3084,
62,
... |
For those records from the products and each product's manufacturer, give me the comparison about revenue over the name , and group by attribute founder by a bar chart, and could you list bars from high to low order please? | SELECT T1.Name, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder, T1.Name ORDER BY T1.Name DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
6426,
625,
262,
1438,
837,
290,
1448,
416,
11688,
9119,
416,
257,
2318,
8262,
11,
290,
714,
345,
1351,
9210,
422,
1029,
284,
1877,
1502,
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... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
6426,
625,
262,
1438,
837,
290,
1448,
416,
11688,
9119,
416,
257,
2318,
8262,
11,
290,
714,
345,
1351,
9210,
422,
1029,
284,
1877,
1502,
33... |
tell me the time of hospital admission of patient 51577 until 2104? | SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 51577 AND STRFTIME('%y', admissions.admittime) <= '2104' | [
33331,
502,
262,
640,
286,
4436,
13938,
286,
5827,
642,
1314,
3324,
1566,
362,
13464,
30,
46506,
25349,
13,
324,
20124,
524,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
642,
1314,
3324,
5357,
19269,
9792,
12789,
10786,
4,
88,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
640,
286,
4436,
13938,
286,
5827,
642,
1314,
3324,
1566,
362,
13464,
30,
46506,
25349,
13,
324,
20124,
524,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
642,
1314,
3324,
5357,
19269,
9792,
12789,
10786,
4,
88,
... |
What is the Date if the Site is Shriver Field? | SELECT "Date" FROM table_76690 WHERE "Site" = 'shriver field' | [
2061,
318,
262,
7536,
611,
262,
14413,
318,
911,
38291,
7663,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
22,
2791,
3829,
33411,
366,
29123,
1,
796,
705,
1477,
38291,
2214,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
7536,
611,
262,
14413,
318,
911,
38291,
7663,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
22,
2791,
3829,
33411,
366,
29123,
1,
796,
705,
1477,
38291,
2214,
6
] |
Find the name of customer who has the lowest credit score. | SELECT cust_name FROM customer ORDER BY credit_score LIMIT 1 | [
16742,
262,
1438,
286,
6491,
508,
468,
262,
9016,
3884,
4776,
13,
46506,
9378,
62,
3672,
16034,
6491,
38678,
11050,
3884,
62,
26675,
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
] | [
16742,
262,
1438,
286,
6491,
508,
468,
262,
9016,
3884,
4776,
13,
46506,
9378,
62,
3672,
16034,
6491,
38678,
11050,
3884,
62,
26675,
27564,
2043,
352
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about commission_pct over the email , and sort in ascending by the EMAIL. | SELECT EMAIL, COMMISSION_PCT FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY EMAIL | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1577,
502,
262,
7208,
546,
5810,
62,
79,
310,
625,
262,
3053,
837,
290,
3297,
287,
41988,
416,
262,
412,
5673,
4146,
13,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1577,
502,
262,
7208,
546,
5810,
62,
79,
310,
625,
262,
3053,
837,
290,
3297,
287,
41988,
416,
262,
412,
5673,
4146,
13,
4... |
Name the score for venue of jalan besar, singapore | SELECT score FROM table_name_81 WHERE venue = "jalan besar, singapore" | [
5376,
262,
4776,
329,
14359,
286,
474,
25786,
7284,
283,
11,
1702,
11656,
46506,
4776,
16034,
3084,
62,
3672,
62,
6659,
33411,
14359,
796,
366,
73,
25786,
7284,
283,
11,
1702,
11656,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
329,
14359,
286,
474,
25786,
7284,
283,
11,
1702,
11656,
46506,
4776,
16034,
3084,
62,
3672,
62,
6659,
33411,
14359,
796,
366,
73,
25786,
7284,
283,
11,
1702,
11656,
1
] |
do you have a flight from SAN FRANCISCO to ATLANTA around 8am | 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 ((flight.departure_time <= 830 AND flight.departure_time >= 730) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND flight.t... | [
4598,
345,
423,
257,
5474,
422,
37376,
8782,
20940,
1797,
8220,
284,
5161,
25697,
5603,
1088,
807,
321,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
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... | [
4598,
345,
423,
257,
5474,
422,
37376,
8782,
20940,
1797,
8220,
284,
5161,
25697,
5603,
1088,
807,
321,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
... |
at which world indoor championships did peter widen achieve a higher position : 1989 or 1991 ? | SELECT "year" FROM table_204_445 WHERE "year" IN (1989, 1991) ORDER BY "position" LIMIT 1 | [
265,
543,
995,
22639,
27459,
750,
279,
2357,
45676,
4620,
257,
2440,
2292,
1058,
11104,
393,
10249,
5633,
46506,
366,
1941,
1,
16034,
3084,
62,
18638,
62,
43489,
33411,
366,
1941,
1,
3268,
357,
25475,
11,
10249,
8,
38678,
11050,
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
] | [
265,
543,
995,
22639,
27459,
750,
279,
2357,
45676,
4620,
257,
2440,
2292,
1058,
11104,
393,
10249,
5633,
46506,
366,
1941,
1,
16034,
3084,
62,
18638,
62,
43489,
33411,
366,
1941,
1,
3268,
357,
25475,
11,
10249,
8,
38678,
11050,
366,
... |
How many times did the 2nd season have a finale? | SELECT COUNT(season) AS Finale FROM table_1348989_2 WHERE season = "2nd" | [
2437,
867,
1661,
750,
262,
362,
358,
1622,
423,
257,
19523,
30,
46506,
327,
28270,
7,
6230,
8,
7054,
4463,
1000,
16034,
3084,
62,
1485,
2780,
42520,
62,
17,
33411,
1622,
796,
366,
17,
358,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
362,
358,
1622,
423,
257,
19523,
30,
46506,
327,
28270,
7,
6230,
8,
7054,
4463,
1000,
16034,
3084,
62,
1485,
2780,
42520,
62,
17,
33411,
1622,
796,
366,
17,
358,
1
] |
Number of Caucus and Constituent badges. | SELECT COUNT(*) AS "count" FROM Badges AS b WHERE (b.Name IN ('Caucus', 'Constituent')) GROUP BY b.Name LIMIT 100 | [
15057,
286,
31787,
290,
4757,
34272,
298,
37583,
13,
46506,
327,
28270,
7,
28104,
7054,
366,
9127,
1,
16034,
7772,
3212,
7054,
275,
33411,
357,
65,
13,
5376,
3268,
19203,
34,
16710,
3256,
705,
34184,
34272,
298,
6,
4008,
44441,
11050,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15057,
286,
31787,
290,
4757,
34272,
298,
37583,
13,
46506,
327,
28270,
7,
28104,
7054,
366,
9127,
1,
16034,
7772,
3212,
7054,
275,
33411,
357,
65,
13,
5376,
3268,
19203,
34,
16710,
3256,
705,
34184,
34272,
298,
6,
4008,
44441,
11050,
... |
What is Score, when Competition is 'Friendly', and when Date is '30 April'? | SELECT score FROM table_name_46 WHERE competition = "friendly" AND date = "30 april" | [
2061,
318,
15178,
11,
618,
27348,
318,
705,
23331,
306,
3256,
290,
618,
7536,
318,
705,
1270,
3035,
30960,
46506,
4776,
16034,
3084,
62,
3672,
62,
3510,
33411,
5449,
796,
366,
13120,
1,
5357,
3128,
796,
366,
1270,
46593,
346,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
15178,
11,
618,
27348,
318,
705,
23331,
306,
3256,
290,
618,
7536,
318,
705,
1270,
3035,
30960,
46506,
4776,
16034,
3084,
62,
3672,
62,
3510,
33411,
5449,
796,
366,
13120,
1,
5357,
3128,
796,
366,
1270,
46593,
346,
1
] |
how many losses from 1984 to 1988 | SELECT SUM("losses") FROM table_204_319 WHERE "mlb\nseason" >= 1984 AND "mlb\nseason" <= 1988 | [
4919,
867,
9089,
422,
12844,
284,
12122,
46506,
35683,
7203,
22462,
274,
4943,
16034,
3084,
62,
18638,
62,
35175,
33411,
366,
4029,
65,
59,
77,
6230,
1,
18189,
12844,
5357,
366,
4029,
65,
59,
77,
6230,
1,
19841,
12122
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9089,
422,
12844,
284,
12122,
46506,
35683,
7203,
22462,
274,
4943,
16034,
3084,
62,
18638,
62,
35175,
33411,
366,
4029,
65,
59,
77,
6230,
1,
18189,
12844,
5357,
366,
4029,
65,
59,
77,
6230,
1,
19841,
12122
] |
When the railroad length is 362 feet how many miles is it from kingston? | SELECT "Mi from Kingston" FROM table_20627 WHERE "Length feet" = '362' | [
2215,
262,
24337,
4129,
318,
4570,
17,
3625,
703,
867,
4608,
318,
340,
422,
5822,
3743,
30,
46506,
366,
41541,
422,
34612,
1,
16034,
3084,
62,
22136,
1983,
33411,
366,
24539,
3625,
1,
796,
705,
35667,
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
] | [
2215,
262,
24337,
4129,
318,
4570,
17,
3625,
703,
867,
4608,
318,
340,
422,
5822,
3743,
30,
46506,
366,
41541,
422,
34612,
1,
16034,
3084,
62,
22136,
1983,
33411,
366,
24539,
3625,
1,
796,
705,
35667,
6
] |
Head Coach casemiro mior is at which Club? | SELECT "Club" FROM table_62637 WHERE "Head Coach" = 'casemiro mior' | [
13847,
16393,
6124,
368,
7058,
285,
1504,
318,
379,
543,
6289,
30,
46506,
366,
42350,
1,
16034,
3084,
62,
45191,
2718,
33411,
366,
13847,
16393,
1,
796,
705,
34004,
368,
7058,
285,
1504,
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
] | [
13847,
16393,
6124,
368,
7058,
285,
1504,
318,
379,
543,
6289,
30,
46506,
366,
42350,
1,
16034,
3084,
62,
45191,
2718,
33411,
366,
13847,
16393,
1,
796,
705,
34004,
368,
7058,
285,
1504,
6
] |
What is the sum of the points of the club with more than 34 played? | SELECT SUM(points) FROM table_name_68 WHERE played > 34 | [
2061,
318,
262,
2160,
286,
262,
2173,
286,
262,
3430,
351,
517,
621,
4974,
2826,
30,
46506,
35683,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
3104,
33411,
2826,
1875,
4974
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2160,
286,
262,
2173,
286,
262,
3430,
351,
517,
621,
4974,
2826,
30,
46506,
35683,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
3104,
33411,
2826,
1875,
4974
] |
what is the first destination after berkeley springs , wv ? | SELECT "destinations" FROM table_204_888 WHERE id = (SELECT id FROM table_204_888 WHERE "destinations" = 'us 522 south - berkeley springs, wv') + 1 | [
10919,
318,
262,
717,
10965,
706,
18157,
13490,
24747,
837,
266,
85,
5633,
46506,
366,
16520,
7352,
1,
16034,
3084,
62,
18638,
62,
28011,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
28011,
33411,
366,
16520,
7352,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
717,
10965,
706,
18157,
13490,
24747,
837,
266,
85,
5633,
46506,
366,
16520,
7352,
1,
16034,
3084,
62,
18638,
62,
28011,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
28011,
33411,
366,
16520,
7352,
1,... |
Who is every composer for the media named Hall of Dreams? | SELECT composer FROM table_23829490_1 WHERE name_of_the_media = "Hall Of Dreams" | [
8241,
318,
790,
26777,
329,
262,
2056,
3706,
4789,
286,
21527,
30,
46506,
26777,
16034,
3084,
62,
23721,
1959,
31503,
62,
16,
33411,
1438,
62,
1659,
62,
1169,
62,
11431,
796,
366,
34194,
3226,
21527,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
790,
26777,
329,
262,
2056,
3706,
4789,
286,
21527,
30,
46506,
26777,
16034,
3084,
62,
23721,
1959,
31503,
62,
16,
33411,
1438,
62,
1659,
62,
1169,
62,
11431,
796,
366,
34194,
3226,
21527,
1
] |
How are AOSS 574 and AOSS 321 different ? | SELECT DISTINCT department, description, number FROM course WHERE (department = 'AOSS' AND number = 574) OR (department = 'AOSS' AND number = 321) | [
2437,
389,
317,
18420,
642,
4524,
290,
317,
18420,
39595,
1180,
5633,
46506,
360,
8808,
1268,
4177,
5011,
11,
6764,
11,
1271,
16034,
1781,
33411,
357,
10378,
1823,
796,
705,
32,
18420,
6,
5357,
1271,
796,
642,
4524,
8,
6375,
357,
1037... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
317,
18420,
642,
4524,
290,
317,
18420,
39595,
1180,
5633,
46506,
360,
8808,
1268,
4177,
5011,
11,
6764,
11,
1271,
16034,
1781,
33411,
357,
10378,
1823,
796,
705,
32,
18420,
6,
5357,
1271,
796,
642,
4524,
8,
6375,
357,
1037... |
In the game where Melbourne was the away team, what did they score? | SELECT "Away team score" FROM table_10813 WHERE "Away team" = 'melbourne' | [
818,
262,
983,
810,
14819,
373,
262,
1497,
1074,
11,
644,
750,
484,
4776,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
15711,
1485,
33411,
366,
32,
1014,
1074,
1,
796,
705,
17694,
12544,
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
] | [
818,
262,
983,
810,
14819,
373,
262,
1497,
1074,
11,
644,
750,
484,
4776,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
15711,
1485,
33411,
366,
32,
1014,
1074,
1,
796,
705,
17694,
12544,
6
] |
What type of regular season/preseason game was played on August 25, 2007? | SELECT "Regular season / Preseason" FROM table_71950 WHERE "Date" = 'august 25, 2007' | [
2061,
2099,
286,
3218,
1622,
14,
3866,
6230,
983,
373,
2826,
319,
2932,
1679,
11,
4343,
30,
46506,
366,
40164,
1622,
1220,
3771,
6230,
1,
16034,
3084,
62,
22,
42751,
33411,
366,
10430,
1,
796,
705,
7493,
436,
1679,
11,
4343,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2099,
286,
3218,
1622,
14,
3866,
6230,
983,
373,
2826,
319,
2932,
1679,
11,
4343,
30,
46506,
366,
40164,
1622,
1220,
3771,
6230,
1,
16034,
3084,
62,
22,
42751,
33411,
366,
10430,
1,
796,
705,
7493,
436,
1679,
11,
4343,
6
] |
what is the number of patients whose age is less than 77 and diagnoses icd9 code is 5570? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.age < "77" AND diagnoses.icd9_code = "5570" | [
10919,
318,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
8541,
290,
40567,
14158,
67,
24,
2438,
318,
5996,
2154,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
8541,
290,
40567,
14158,
67,
24,
2438,
318,
5996,
2154,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268... |
Who's the original team for Rashied Davis Category:articles with hcards? | SELECT "Original NFL team" FROM table_59101 WHERE "Player" = 'rashied davis category:articles with hcards' | [
8241,
338,
262,
2656,
1074,
329,
27620,
798,
7802,
21743,
25,
26845,
351,
289,
27761,
30,
46506,
366,
20556,
5134,
1074,
1,
16034,
3084,
62,
3270,
8784,
33411,
366,
14140,
1,
796,
705,
81,
1077,
798,
288,
23401,
6536,
25,
26845,
351,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
338,
262,
2656,
1074,
329,
27620,
798,
7802,
21743,
25,
26845,
351,
289,
27761,
30,
46506,
366,
20556,
5134,
1074,
1,
16034,
3084,
62,
3270,
8784,
33411,
366,
14140,
1,
796,
705,
81,
1077,
798,
288,
23401,
6536,
25,
26845,
351,
... |
Who was the Builder when the wheels were 4-4-0 and the railway was GCR? | SELECT builder FROM table_name_67 WHERE wheels = "4-4-0" AND railway = "gcr" | [
8241,
373,
262,
35869,
618,
262,
13666,
547,
604,
12,
19,
12,
15,
290,
262,
20515,
373,
402,
9419,
30,
46506,
27098,
16034,
3084,
62,
3672,
62,
3134,
33411,
13666,
796,
366,
19,
12,
19,
12,
15,
1,
5357,
20515,
796,
366,
70,
6098,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
35869,
618,
262,
13666,
547,
604,
12,
19,
12,
15,
290,
262,
20515,
373,
402,
9419,
30,
46506,
27098,
16034,
3084,
62,
3672,
62,
3134,
33411,
13666,
796,
366,
19,
12,
19,
12,
15,
1,
5357,
20515,
796,
366,
70,
6098,
... |
What score did the Green Bay Packers get as visitor? | SELECT score FROM table_name_8 WHERE visitor = "green bay packers" | [
2061,
4776,
750,
262,
3469,
4696,
17832,
651,
355,
21493,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
23,
33411,
21493,
796,
366,
14809,
15489,
2353,
364,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4776,
750,
262,
3469,
4696,
17832,
651,
355,
21493,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
23,
33411,
21493,
796,
366,
14809,
15489,
2353,
364,
1
] |
What kind of D.C. has Races smaller than 20, and Points larger than 0, and Drivers of christian vietoris, and Wins of 1? | SELECT dc FROM table_name_65 WHERE races < 20 AND points > 0 AND drivers = "christian vietoris" AND wins = 1 | [
2061,
1611,
286,
360,
13,
34,
13,
468,
45134,
4833,
621,
1160,
11,
290,
11045,
4025,
621,
657,
11,
290,
36577,
286,
33826,
666,
410,
1155,
37279,
11,
290,
24423,
286,
352,
30,
46506,
30736,
16034,
3084,
62,
3672,
62,
2996,
33411,
95... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1611,
286,
360,
13,
34,
13,
468,
45134,
4833,
621,
1160,
11,
290,
11045,
4025,
621,
657,
11,
290,
36577,
286,
33826,
666,
410,
1155,
37279,
11,
290,
24423,
286,
352,
30,
46506,
30736,
16034,
3084,
62,
3672,
62,
2996,
33411,
95... |
What is the NBA draft result of the player from the College of Kansas? | SELECT nba_draft FROM table_name_48 WHERE college = "kansas" | [
2061,
318,
262,
7403,
4538,
1255,
286,
262,
2137,
422,
262,
5535,
286,
9470,
30,
46506,
299,
7012,
62,
35679,
16034,
3084,
62,
3672,
62,
2780,
33411,
4152,
796,
366,
74,
6618,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7403,
4538,
1255,
286,
262,
2137,
422,
262,
5535,
286,
9470,
30,
46506,
299,
7012,
62,
35679,
16034,
3084,
62,
3672,
62,
2780,
33411,
4152,
796,
366,
74,
6618,
1
] |
what was patient 17435's first arterial bp mean on the first intensive care unit visit. | 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 = 17435) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1) AND chartevents.itemid IN (S... | [
10919,
373,
5827,
27621,
2327,
338,
717,
30675,
498,
275,
79,
1612,
319,
262,
717,
18590,
1337,
4326,
3187,
13,
46506,
8262,
31534,
13,
2100,
84,
44709,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
5827,
27621,
2327,
338,
717,
30675,
498,
275,
79,
1612,
319,
262,
717,
18590,
1337,
4326,
3187,
13,
46506,
8262,
31534,
13,
2100,
84,
44709,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.