instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What was the original title for the film used in nomination of keep smiling? | SELECT original_title FROM table_name_36 WHERE film_title_used_in_nomination = "keep smiling" | [
2061,
373,
262,
2656,
3670,
329,
262,
2646,
973,
287,
11872,
286,
1394,
16755,
30,
46506,
2656,
62,
7839,
16034,
3084,
62,
3672,
62,
2623,
33411,
2646,
62,
7839,
62,
1484,
62,
259,
62,
26601,
1883,
796,
366,
14894,
16755,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2656,
3670,
329,
262,
2646,
973,
287,
11872,
286,
1394,
16755,
30,
46506,
2656,
62,
7839,
16034,
3084,
62,
3672,
62,
2623,
33411,
2646,
62,
7839,
62,
1484,
62,
259,
62,
26601,
1883,
796,
366,
14894,
16755,
1
] |
What was the highest number of points when flaps were 0? | SELECT MAX("Points") FROM table_26822 WHERE "FLaps" = '0' | [
2061,
373,
262,
4511,
1271,
286,
2173,
618,
781,
1686,
547,
657,
30,
46506,
25882,
7203,
40710,
4943,
16034,
3084,
62,
25022,
1828,
33411,
366,
3697,
1686,
1,
796,
705,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4511,
1271,
286,
2173,
618,
781,
1686,
547,
657,
30,
46506,
25882,
7203,
40710,
4943,
16034,
3084,
62,
25022,
1828,
33411,
366,
3697,
1686,
1,
796,
705,
15,
6
] |
Which nationality has rank 4? | SELECT "Nationality" FROM table_65597 WHERE "Rank" = '4' | [
13828,
29835,
468,
4279,
604,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
35916,
5607,
33411,
366,
27520,
1,
796,
705,
19,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
29835,
468,
4279,
604,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
35916,
5607,
33411,
366,
27520,
1,
796,
705,
19,
6
] |
What is the categorization in 2010 when it was A in 2008 and 20011 while being QF in 2012? | SELECT "2010" FROM table_55481 WHERE "2008" = 'a' AND "2011" = 'a' AND "2012" = 'qf' | [
2061,
318,
262,
17851,
1634,
287,
3050,
618,
340,
373,
317,
287,
3648,
290,
939,
1157,
981,
852,
1195,
37,
287,
2321,
30,
46506,
366,
10333,
1,
16034,
3084,
62,
2816,
40271,
33411,
366,
11528,
1,
796,
705,
64,
6,
5357,
366,
9804,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17851,
1634,
287,
3050,
618,
340,
373,
317,
287,
3648,
290,
939,
1157,
981,
852,
1195,
37,
287,
2321,
30,
46506,
366,
10333,
1,
16034,
3084,
62,
2816,
40271,
33411,
366,
11528,
1,
796,
705,
64,
6,
5357,
366,
9804,
... |
What are the first names of the professors who do not teach a class. | SELECT emp_fname FROM employee WHERE emp_jobcode = 'PROF' EXCEPT SELECT T1.emp_fname FROM employee AS T1 JOIN class AS T2 ON T1.emp_num = T2.prof_num | [
2061,
389,
262,
717,
3891,
286,
262,
20339,
508,
466,
407,
4545,
257,
1398,
13,
46506,
795,
79,
62,
69,
3672,
16034,
6538,
33411,
795,
79,
62,
21858,
8189,
796,
705,
4805,
19238,
6,
7788,
42006,
33493,
309,
16,
13,
45787,
62,
69,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
717,
3891,
286,
262,
20339,
508,
466,
407,
4545,
257,
1398,
13,
46506,
795,
79,
62,
69,
3672,
16034,
6538,
33411,
795,
79,
62,
21858,
8189,
796,
705,
4805,
19238,
6,
7788,
42006,
33493,
309,
16,
13,
45787,
62,
69,
... |
What is the try BP when the losing BP is 4 and the club is Bargoed RFC? | SELECT try_bp FROM table_name_82 WHERE losing_bp = "4" AND club = "bargoed rfc" | [
2061,
318,
262,
1949,
20997,
618,
262,
6078,
20997,
318,
604,
290,
262,
3430,
318,
347,
9448,
276,
30978,
30,
46506,
1949,
62,
46583,
16034,
3084,
62,
3672,
62,
6469,
33411,
6078,
62,
46583,
796,
366,
19,
1,
5357,
3430,
796,
366,
65... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1949,
20997,
618,
262,
6078,
20997,
318,
604,
290,
262,
3430,
318,
347,
9448,
276,
30978,
30,
46506,
1949,
62,
46583,
16034,
3084,
62,
3672,
62,
6469,
33411,
6078,
62,
46583,
796,
366,
19,
1,
5357,
3430,
796,
366,
65... |
How many courses for each subject? Plot a bar chart, and show from high to low by the X-axis please. | SELECT subject_name, COUNT(*) FROM Courses AS T1 JOIN Subjects AS T2 ON T1.subject_id = T2.subject_id GROUP BY T1.subject_id ORDER BY subject_name DESC | [
2437,
867,
10902,
329,
1123,
2426,
30,
28114,
257,
2318,
8262,
11,
290,
905,
422,
1029,
284,
1877,
416,
262,
1395,
12,
22704,
3387,
13,
46506,
2426,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
2734,
8448,
7054,
309,
16,
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... | [
2437,
867,
10902,
329,
1123,
2426,
30,
28114,
257,
2318,
8262,
11,
290,
905,
422,
1029,
284,
1877,
416,
262,
1395,
12,
22704,
3387,
13,
46506,
2426,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
2734,
8448,
7054,
309,
16,
32357,
1268,
... |
for the first time, what procedure did until 3 years ago patient 25461 receive? | SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT procedures_icd.icd9_code FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 25461) AND DATETIME(procedures_icd.charttime) <= DATETIME(CURRENT_TI... | [
1640,
262,
717,
640,
11,
644,
8771,
750,
1566,
513,
812,
2084,
5827,
1679,
40652,
3328,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1640,
262,
717,
640,
11,
644,
8771,
750,
1566,
513,
812,
2084,
5827,
1679,
40652,
3328,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
... |
how many total number of points margin when brive is the winners | SELECT COUNT(points_margin) FROM table_27987767_2 WHERE winners = "Brive" | [
4919,
867,
2472,
1271,
286,
2173,
10330,
618,
275,
11590,
318,
262,
14591,
46506,
327,
28270,
7,
13033,
62,
36153,
8,
16034,
3084,
62,
1983,
4089,
3324,
3134,
62,
17,
33411,
14591,
796,
366,
33,
11590,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
1271,
286,
2173,
10330,
618,
275,
11590,
318,
262,
14591,
46506,
327,
28270,
7,
13033,
62,
36153,
8,
16034,
3084,
62,
1983,
4089,
3324,
3134,
62,
17,
33411,
14591,
796,
366,
33,
11590,
1
] |
Which style led to a score given by Tor Floysvik of 8? | SELECT "Style" FROM table_30679 WHERE "Tor Fl\u00f8ysvik" = '8' | [
13828,
3918,
2957,
284,
257,
4776,
1813,
416,
4022,
1610,
19417,
28930,
286,
807,
30,
46506,
366,
21466,
1,
16034,
3084,
62,
1270,
37601,
33411,
366,
15884,
1610,
59,
84,
405,
69,
23,
893,
28930,
1,
796,
705,
23,
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
] | [
13828,
3918,
2957,
284,
257,
4776,
1813,
416,
4022,
1610,
19417,
28930,
286,
807,
30,
46506,
366,
21466,
1,
16034,
3084,
62,
1270,
37601,
33411,
366,
15884,
1610,
59,
84,
405,
69,
23,
893,
28930,
1,
796,
705,
23,
6
] |
indicate the monthly average volume of jackson pratt #1 that patient 73693 has had since 1869 days ago. | SELECT AVG(outputevents.value) FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 73693)) AND outputevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'jac... | [
521,
5344,
262,
9651,
2811,
6115,
286,
14509,
1559,
778,
1078,
1303,
16,
326,
5827,
767,
2623,
6052,
468,
550,
1201,
1248,
3388,
1528,
2084,
13,
46506,
35224,
7,
448,
79,
1133,
85,
658,
13,
8367,
8,
16034,
38701,
1133,
85,
658,
3341... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
521,
5344,
262,
9651,
2811,
6115,
286,
14509,
1559,
778,
1078,
1303,
16,
326,
5827,
767,
2623,
6052,
468,
550,
1201,
1248,
3388,
1528,
2084,
13,
46506,
35224,
7,
448,
79,
1133,
85,
658,
13,
8367,
8,
16034,
38701,
1133,
85,
658,
3341... |
Group by the result and count them by a bar chart. | SELECT Result, COUNT(Result) FROM Acceptance GROUP BY Result | [
13247,
416,
262,
1255,
290,
954,
606,
416,
257,
2318,
8262,
13,
46506,
25414,
11,
327,
28270,
7,
23004,
8,
16034,
21699,
590,
44441,
11050,
25414
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13247,
416,
262,
1255,
290,
954,
606,
416,
257,
2318,
8262,
13,
46506,
25414,
11,
327,
28270,
7,
23004,
8,
16034,
21699,
590,
44441,
11050,
25414
] |
What are the names for the 3 branches that have the most memberships? | SELECT name FROM branch ORDER BY membership_amount DESC LIMIT 3 | [
2061,
389,
262,
3891,
329,
262,
513,
13737,
326,
423,
262,
749,
1866,
5748,
30,
46506,
1438,
16034,
8478,
38678,
11050,
9931,
62,
17287,
22196,
34,
27564,
2043,
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
] | [
2061,
389,
262,
3891,
329,
262,
513,
13737,
326,
423,
262,
749,
1866,
5748,
30,
46506,
1438,
16034,
8478,
38678,
11050,
9931,
62,
17287,
22196,
34,
27564,
2043,
513
] |
What was the decision of the Red Wings game when they had a record of 45 18 6? | SELECT "Decision" FROM table_78136 WHERE "Record" = '45–18–6' | [
2061,
373,
262,
2551,
286,
262,
2297,
17330,
983,
618,
484,
550,
257,
1700,
286,
4153,
1248,
718,
30,
46506,
366,
10707,
1166,
1,
16034,
3084,
62,
3695,
20809,
33411,
366,
23739,
1,
796,
705,
2231,
1906,
1507,
1906,
21,
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,
373,
262,
2551,
286,
262,
2297,
17330,
983,
618,
484,
550,
257,
1700,
286,
4153,
1248,
718,
30,
46506,
366,
10707,
1166,
1,
16034,
3084,
62,
3695,
20809,
33411,
366,
23739,
1,
796,
705,
2231,
1906,
1507,
1906,
21,
6
] |
provide the number of patients diagnosed with unspecified rheumatic heart disease who had other body fluid lab test. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Rheumatic heart dis NOS" AND lab.fluid = "Other Body Fluid" | [
15234,
485,
262,
1271,
286,
3871,
14641,
351,
29547,
374,
258,
16735,
2612,
4369,
508,
550,
584,
1767,
11711,
2248,
1332,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
14641,
351,
29547,
374,
258,
16735,
2612,
4369,
508,
550,
584,
1767,
11711,
2248,
1332,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... |
Who won in mixed doubles in 2008? | SELECT "Mixed doubles" FROM table_6652 WHERE "Year" = '2008' | [
8241,
1839,
287,
7668,
21938,
287,
3648,
30,
46506,
366,
44,
2966,
21938,
1,
16034,
3084,
62,
2791,
4309,
33411,
366,
17688,
1,
796,
705,
11528,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
1839,
287,
7668,
21938,
287,
3648,
30,
46506,
366,
44,
2966,
21938,
1,
16034,
3084,
62,
2791,
4309,
33411,
366,
17688,
1,
796,
705,
11528,
6
] |
Find the total access count of all documents in the most popular document type. | SELECT SUM(access_count) FROM documents GROUP BY document_type_code ORDER BY COUNT(*) DESC LIMIT 1 | [
16742,
262,
2472,
1895,
954,
286,
477,
4963,
287,
262,
749,
2968,
3188,
2099,
13,
46506,
35683,
7,
15526,
62,
9127,
8,
16034,
4963,
44441,
11050,
3188,
62,
4906,
62,
8189,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
2472,
1895,
954,
286,
477,
4963,
287,
262,
749,
2968,
3188,
2099,
13,
46506,
35683,
7,
15526,
62,
9127,
8,
16034,
4963,
44441,
11050,
3188,
62,
4906,
62,
8189,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
35... |
how many total races are held in june ? | SELECT COUNT("circuit") FROM table_204_845 WHERE "date" = 6 | [
4919,
867,
2472,
9558,
389,
2714,
287,
474,
1726,
5633,
46506,
327,
28270,
7203,
21170,
5013,
4943,
16034,
3084,
62,
18638,
62,
23,
2231,
33411,
366,
4475,
1,
796,
718
] | [
1,
1,
1,
1,
1,
1,
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,
2472,
9558,
389,
2714,
287,
474,
1726,
5633,
46506,
327,
28270,
7203,
21170,
5013,
4943,
16034,
3084,
62,
18638,
62,
23,
2231,
33411,
366,
4475,
1,
796,
718
] |
Which Year has an Expenditure of 55, and an Income smaller than 36.2? | SELECT MIN(year) FROM table_name_7 WHERE expenditure = 55 AND income < 36.2 | [
13828,
6280,
468,
281,
48623,
8089,
286,
5996,
11,
290,
281,
19003,
4833,
621,
4570,
13,
17,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
22,
33411,
20705,
796,
5996,
5357,
3739,
1279,
4570,
13,
17
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
6280,
468,
281,
48623,
8089,
286,
5996,
11,
290,
281,
19003,
4833,
621,
4570,
13,
17,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
22,
33411,
20705,
796,
5996,
5357,
3739,
1279,
4570,
13,
17
] |
What is the dirty electric grid rocky mountains (denver) for the vehicle with the clean electric grid california (san francisco) of 160 g/mi (99 g/km)? | SELECT dirty_electric_grid_rocky_mountains__denver_ FROM table_23840623_4 WHERE clean_electric_grid_california__san_francisco_ = "160 g/mi (99 g/km)" | [
2061,
318,
262,
11841,
5186,
10706,
26898,
12269,
357,
6559,
332,
8,
329,
262,
4038,
351,
262,
3424,
5186,
10706,
2386,
361,
3317,
357,
12807,
46754,
4861,
8,
286,
13454,
308,
14,
11632,
357,
2079,
308,
14,
13276,
19427,
46506,
11841,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11841,
5186,
10706,
26898,
12269,
357,
6559,
332,
8,
329,
262,
4038,
351,
262,
3424,
5186,
10706,
2386,
361,
3317,
357,
12807,
46754,
4861,
8,
286,
13454,
308,
14,
11632,
357,
2079,
308,
14,
13276,
19427,
46506,
11841,
... |
Bar graph to show the number of investor from different investor, and display Y-axis in descending order please. | SELECT Investor, COUNT(Investor) FROM entrepreneur GROUP BY Investor ORDER BY COUNT(Investor) DESC | [
10374,
4823,
284,
905,
262,
1271,
286,
15811,
422,
1180,
15811,
11,
290,
3359,
575,
12,
22704,
287,
31491,
1502,
3387,
13,
46506,
47979,
11,
327,
28270,
7,
19070,
273,
8,
16034,
19500,
44441,
11050,
47979,
38678,
11050,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
4823,
284,
905,
262,
1271,
286,
15811,
422,
1180,
15811,
11,
290,
3359,
575,
12,
22704,
287,
31491,
1502,
3387,
13,
46506,
47979,
11,
327,
28270,
7,
19070,
273,
8,
16034,
19500,
44441,
11050,
47979,
38678,
11050,
327,
28270,
7,
... |
what is the next title listed after omega race ? | SELECT "title" FROM table_204_480 WHERE id = (SELECT id FROM table_204_480 WHERE "title" = 'omega race') + 1 | [
10919,
318,
262,
1306,
3670,
5610,
706,
37615,
3234,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
18638,
62,
22148,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
22148,
33411,
366,
7839,
1,
796,
705,
462,
4908,
3234,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1306,
3670,
5610,
706,
37615,
3234,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
18638,
62,
22148,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
22148,
33411,
366,
7839,
1,
796,
705,
462,
4908,
3234,
... |
in 12/2103 when was patient 031-3507's first blood, venipuncture microbiology test? | SELECT microlab.culturetakentime FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-3507')) AND microlab.culturesite = 'blood, venipuncture' AND ... | [
259,
1105,
14,
17,
15197,
618,
373,
5827,
657,
3132,
12,
14877,
22,
338,
717,
2910,
11,
8710,
541,
39187,
24559,
1435,
1332,
30,
46506,
4580,
23912,
13,
25584,
83,
461,
298,
524,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
2085... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
259,
1105,
14,
17,
15197,
618,
373,
5827,
657,
3132,
12,
14877,
22,
338,
717,
2910,
11,
8710,
541,
39187,
24559,
1435,
1332,
30,
46506,
4580,
23912,
13,
25584,
83,
461,
298,
524,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
2085... |
Which Round has a Player of brunel christensen and a Pick smaller than 293? | SELECT MIN("Round") FROM table_36512 WHERE "Player" = 'brunel christensen' AND "Pick" < '293' | [
13828,
10485,
468,
257,
7853,
286,
45033,
417,
33826,
18756,
290,
257,
12346,
4833,
621,
37224,
30,
46506,
20625,
7203,
22685,
4943,
16034,
3084,
62,
24760,
1065,
33411,
366,
14140,
1,
796,
705,
1671,
403,
417,
33826,
18756,
6,
5357,
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,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
10485,
468,
257,
7853,
286,
45033,
417,
33826,
18756,
290,
257,
12346,
4833,
621,
37224,
30,
46506,
20625,
7203,
22685,
4943,
16034,
3084,
62,
24760,
1065,
33411,
366,
14140,
1,
796,
705,
1671,
403,
417,
33826,
18756,
6,
5357,
36... |
CLEANUP: find comments that might be obsolete. | SELECT c.Id AS "comment_link", c.CreationDate, c.PostId AS "post_link", c.UserId AS "user_link" FROM Comments AS c WHERE c.Text LIKE '%fixed%' OR c.Text LIKE '%edited%' OR c.Text LIKE '%done.,%' ORDER BY c.CreationDate | [
29931,
1565,
8577,
25,
1064,
3651,
326,
1244,
307,
26533,
13,
46506,
269,
13,
7390,
7054,
366,
23893,
62,
8726,
1600,
269,
13,
12443,
341,
10430,
11,
269,
13,
6307,
7390,
7054,
366,
7353,
62,
8726,
1600,
269,
13,
12982,
7390,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
29931,
1565,
8577,
25,
1064,
3651,
326,
1244,
307,
26533,
13,
46506,
269,
13,
7390,
7054,
366,
23893,
62,
8726,
1600,
269,
13,
12443,
341,
10430,
11,
269,
13,
6307,
7390,
7054,
366,
7353,
62,
8726,
1600,
269,
13,
12982,
7390,
7054,
... |
does a microbiological test have been performed for patient 025-44495 since 10/2105? | SELECT COUNT(*) > 0 FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-44495')) AND STRFTIME('%y-%m', microlab.culturetakentime) >= '2105-10' | [
22437,
257,
24559,
2770,
1332,
423,
587,
6157,
329,
5827,
657,
1495,
12,
2598,
33781,
1201,
838,
14,
17,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
312,
3268,
357,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
22437,
257,
24559,
2770,
1332,
423,
587,
6157,
329,
5827,
657,
1495,
12,
2598,
33781,
1201,
838,
14,
17,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
312,
3268,
357,... |
How tall is the contestant from Guatemala? | SELECT height__cm_ FROM table_20754016_2 WHERE country = "Guatemala" | [
2437,
7331,
318,
262,
44047,
422,
32183,
30,
46506,
6001,
834,
11215,
62,
16034,
3084,
62,
1238,
2425,
21844,
21,
62,
17,
33411,
1499,
796,
366,
8205,
23900,
6081,
1
] | [
1,
1,
1,
1,
1,
1,
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,
7331,
318,
262,
44047,
422,
32183,
30,
46506,
6001,
834,
11215,
62,
16034,
3084,
62,
1238,
2425,
21844,
21,
62,
17,
33411,
1499,
796,
366,
8205,
23900,
6081,
1
] |
What is the current highest scored comment, and what post does it belong to?. | SELECT PostId, PostTypeId, Text, Comments.Score FROM Comments LEFT JOIN Posts ON Comments.PostId = Posts.Id WHERE Comments.Score = (SELECT MAX(Score) FROM Comments) | [
2061,
318,
262,
1459,
4511,
7781,
2912,
11,
290,
644,
1281,
857,
340,
5594,
284,
30,
13,
46506,
2947,
7390,
11,
2947,
6030,
7390,
11,
8255,
11,
19502,
13,
26595,
16034,
19502,
12509,
9792,
32357,
1268,
12043,
6177,
19502,
13,
6307,
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,
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,
1459,
4511,
7781,
2912,
11,
290,
644,
1281,
857,
340,
5594,
284,
30,
13,
46506,
2947,
7390,
11,
2947,
6030,
7390,
11,
8255,
11,
19502,
13,
26595,
16034,
19502,
12509,
9792,
32357,
1268,
12043,
6177,
19502,
13,
6307,
73... |
What was the team's record when they played visitor team Chicago Black Hawks on November 24? | SELECT record FROM table_name_87 WHERE visitor = "chicago black hawks" AND date = "november 24" | [
2061,
373,
262,
1074,
338,
1700,
618,
484,
2826,
21493,
1074,
4842,
2619,
23445,
319,
3389,
1987,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
5774,
33411,
21493,
796,
366,
354,
4549,
2042,
23185,
591,
1,
5357,
3128,
796,
366,
77,
3239... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1074,
338,
1700,
618,
484,
2826,
21493,
1074,
4842,
2619,
23445,
319,
3389,
1987,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
5774,
33411,
21493,
796,
366,
354,
4549,
2042,
23185,
591,
1,
5357,
3128,
796,
366,
77,
3239... |
What were the Bills points on Nov. 11? | SELECT SUM(bills_points) FROM table_name_54 WHERE date = "nov. 11" | [
2061,
547,
262,
20209,
2173,
319,
5267,
13,
1367,
30,
46506,
35683,
7,
65,
2171,
62,
13033,
8,
16034,
3084,
62,
3672,
62,
4051,
33411,
3128,
796,
366,
37302,
13,
1367,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
547,
262,
20209,
2173,
319,
5267,
13,
1367,
30,
46506,
35683,
7,
65,
2171,
62,
13033,
8,
16034,
3084,
62,
3672,
62,
4051,
33411,
3128,
796,
366,
37302,
13,
1367,
1
] |
Who got high assists for team @ Indiana? | SELECT "High assists" FROM table_29732 WHERE "Team" = '@ Indiana' | [
8241,
1392,
1029,
13648,
329,
1074,
2488,
10278,
30,
46506,
366,
11922,
13648,
1,
16034,
3084,
62,
26561,
2624,
33411,
366,
15592,
1,
796,
705,
31,
10278,
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
] | [
8241,
1392,
1029,
13648,
329,
1074,
2488,
10278,
30,
46506,
366,
11922,
13648,
1,
16034,
3084,
62,
26561,
2624,
33411,
366,
15592,
1,
796,
705,
31,
10278,
6
] |
What frequency does Chihuahua Sinaloa Durango cover? | SELECT "Frequency" FROM table_1087 WHERE "Coverage" = 'Chihuahua Sinaloa Durango' | [
2061,
8373,
857,
609,
48406,
993,
6413,
311,
1292,
12162,
11164,
14208,
3002,
30,
46506,
366,
37,
28707,
1,
16034,
3084,
62,
940,
5774,
33411,
366,
7222,
1857,
1,
796,
705,
1925,
48406,
993,
6413,
311,
1292,
12162,
11164,
14208,
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,
8373,
857,
609,
48406,
993,
6413,
311,
1292,
12162,
11164,
14208,
3002,
30,
46506,
366,
37,
28707,
1,
16034,
3084,
62,
940,
5774,
33411,
366,
7222,
1857,
1,
796,
705,
1925,
48406,
993,
6413,
311,
1292,
12162,
11164,
14208,
6
] |
What year was incumbent Michael A. Feighan first elected? | SELECT MIN("First elected") FROM table_18552 WHERE "Incumbent" = 'Michael A. Feighan' | [
2061,
614,
373,
23526,
3899,
317,
13,
5452,
394,
272,
717,
7018,
30,
46506,
20625,
7203,
5962,
7018,
4943,
16034,
3084,
62,
1507,
40427,
33411,
366,
25517,
2178,
298,
1,
796,
705,
13256,
317,
13,
5452,
394,
272,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
614,
373,
23526,
3899,
317,
13,
5452,
394,
272,
717,
7018,
30,
46506,
20625,
7203,
5962,
7018,
4943,
16034,
3084,
62,
1507,
40427,
33411,
366,
25517,
2178,
298,
1,
796,
705,
13256,
317,
13,
5452,
394,
272,
6
] |
which film had the largest single week gross ? | SELECT "film" FROM table_203_180 ORDER BY "weekend gross (millions)" DESC LIMIT 1 | [
4758,
2646,
550,
262,
4387,
2060,
1285,
10319,
5633,
46506,
366,
26240,
1,
16034,
3084,
62,
22416,
62,
15259,
38678,
11050,
366,
10464,
437,
10319,
357,
17805,
507,
16725,
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
] | [
4758,
2646,
550,
262,
4387,
2060,
1285,
10319,
5633,
46506,
366,
26240,
1,
16034,
3084,
62,
22416,
62,
15259,
38678,
11050,
366,
10464,
437,
10319,
357,
17805,
507,
16725,
22196,
34,
27564,
2043,
352
] |
What is the total of Barangay with an area larger than 865.13? | SELECT SUM("s Barangay") FROM table_66459 WHERE "Area ( has .)" > '865.13' | [
2061,
318,
262,
2472,
286,
2409,
648,
323,
351,
281,
1989,
4025,
621,
807,
2996,
13,
1485,
30,
46506,
35683,
7203,
82,
2409,
648,
323,
4943,
16034,
3084,
62,
2791,
33459,
33411,
366,
30547,
357,
468,
764,
16725,
1875,
705,
23,
2996,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
2409,
648,
323,
351,
281,
1989,
4025,
621,
807,
2996,
13,
1485,
30,
46506,
35683,
7203,
82,
2409,
648,
323,
4943,
16034,
3084,
62,
2791,
33459,
33411,
366,
30547,
357,
468,
764,
16725,
1875,
705,
23,
2996,
... |
What is the score in the final in the year 1994? | SELECT "Score in the final" FROM table_25415 WHERE "Year" = '1994' | [
2061,
318,
262,
4776,
287,
262,
2457,
287,
262,
614,
9162,
30,
46506,
366,
26595,
287,
262,
2457,
1,
16034,
3084,
62,
24970,
1314,
33411,
366,
17688,
1,
796,
705,
22666,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4776,
287,
262,
2457,
287,
262,
614,
9162,
30,
46506,
366,
26595,
287,
262,
2457,
1,
16034,
3084,
62,
24970,
1314,
33411,
366,
17688,
1,
796,
705,
22666,
6
] |
What was the 2nd leg where the team 2 was budoni (sardinia)? | SELECT 2 AS nd_leg FROM table_name_4 WHERE team_2 = "budoni (sardinia)" | [
2061,
373,
262,
362,
358,
1232,
810,
262,
1074,
362,
373,
3600,
14651,
357,
82,
446,
43168,
19427,
46506,
362,
7054,
299,
67,
62,
1455,
16034,
3084,
62,
3672,
62,
19,
33411,
1074,
62,
17,
796,
366,
65,
463,
14651,
357,
82,
446,
43... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
362,
358,
1232,
810,
262,
1074,
362,
373,
3600,
14651,
357,
82,
446,
43168,
19427,
46506,
362,
7054,
299,
67,
62,
1455,
16034,
3084,
62,
3672,
62,
19,
33411,
1074,
62,
17,
796,
366,
65,
463,
14651,
357,
82,
446,
43... |
How many students that has a GPA lower than average? Show me a pie chart grouping by student's first name. | SELECT STU_FNAME, COUNT(STU_FNAME) FROM STUDENT WHERE STU_GPA < (SELECT AVG(STU_GPA) FROM STUDENT) GROUP BY STU_FNAME | [
2437,
867,
2444,
326,
468,
257,
45283,
2793,
621,
2811,
30,
5438,
502,
257,
2508,
8262,
36115,
416,
3710,
338,
717,
1438,
13,
46506,
3563,
52,
62,
37,
20608,
11,
327,
28270,
7,
2257,
52,
62,
37,
20608,
8,
16034,
49348,
3525,
33411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
2444,
326,
468,
257,
45283,
2793,
621,
2811,
30,
5438,
502,
257,
2508,
8262,
36115,
416,
3710,
338,
717,
1438,
13,
46506,
3563,
52,
62,
37,
20608,
11,
327,
28270,
7,
2257,
52,
62,
37,
20608,
8,
16034,
49348,
3525,
33411,
... |
among patients who have been diagnosed with pulmonary aspiration tell me the five year survival rate. | SELECT SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t2.diagnosistime) > 5 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOI... | [
35131,
3871,
508,
423,
587,
14641,
351,
45105,
48217,
1560,
502,
262,
1936,
614,
9441,
2494,
13,
46506,
35683,
7,
34,
11159,
42099,
5827,
13,
49257,
6381,
11121,
395,
7240,
796,
705,
282,
425,
6,
42243,
352,
42099,
19269,
9792,
12789,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
35131,
3871,
508,
423,
587,
14641,
351,
45105,
48217,
1560,
502,
262,
1936,
614,
9441,
2494,
13,
46506,
35683,
7,
34,
11159,
42099,
5827,
13,
49257,
6381,
11121,
395,
7240,
796,
705,
282,
425,
6,
42243,
352,
42099,
19269,
9792,
12789,
... |
what is the final score when the opponent is platense? | SELECT "Final score" FROM table_13867 WHERE "Opponent" = 'platense' | [
10919,
318,
262,
2457,
4776,
618,
262,
6125,
318,
40315,
1072,
30,
46506,
366,
19006,
4776,
1,
16034,
3084,
62,
20107,
3134,
33411,
366,
27524,
3471,
1,
796,
705,
489,
265,
1072,
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
] | [
10919,
318,
262,
2457,
4776,
618,
262,
6125,
318,
40315,
1072,
30,
46506,
366,
19006,
4776,
1,
16034,
3084,
62,
20107,
3134,
33411,
366,
27524,
3471,
1,
796,
705,
489,
265,
1072,
6
] |
What was the date of the game when Atlanta was the home team? | SELECT "Date" FROM table_51441 WHERE "Home" = 'atlanta' | [
2061,
373,
262,
3128,
286,
262,
983,
618,
9371,
373,
262,
1363,
1074,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
47396,
3901,
33411,
366,
16060,
1,
796,
705,
25864,
4910,
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,
3128,
286,
262,
983,
618,
9371,
373,
262,
1363,
1074,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
47396,
3901,
33411,
366,
16060,
1,
796,
705,
25864,
4910,
6
] |
Who were the governors of the parties associated with delegates from district 1, and count them by a bar chart, display total number from high to low order. | SELECT Governor, COUNT(Governor) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T1.District = 1 GROUP BY Governor ORDER BY COUNT(Governor) DESC | [
8241,
547,
262,
26824,
286,
262,
4671,
3917,
351,
15265,
422,
4783,
352,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
3359,
2472,
1271,
422,
1029,
284,
1877,
1502,
13,
46506,
10807,
11,
327,
28270,
7,
29168,
273,
8,
16034,
3071,
705... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8241,
547,
262,
26824,
286,
262,
4671,
3917,
351,
15265,
422,
4783,
352,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
3359,
2472,
1271,
422,
1029,
284,
1877,
1502,
13,
46506,
10807,
11,
327,
28270,
7,
29168,
273,
8,
16034,
3071,
705... |
What status has France as the opposing teams? | SELECT status FROM table_name_71 WHERE opposing_teams = "france" | [
2061,
3722,
468,
4881,
355,
262,
12330,
3466,
30,
46506,
3722,
16034,
3084,
62,
3672,
62,
4869,
33411,
12330,
62,
660,
4105,
796,
366,
69,
8132,
1
] | [
1,
1,
1,
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,
3722,
468,
4881,
355,
262,
12330,
3466,
30,
46506,
3722,
16034,
3084,
62,
3672,
62,
4869,
33411,
12330,
62,
660,
4105,
796,
366,
69,
8132,
1
] |
What is Northern Colorado's Rnd.? | SELECT rnd FROM table_name_18 WHERE college = "northern colorado" | [
2061,
318,
8342,
7492,
338,
371,
358,
40791,
46506,
374,
358,
16034,
3084,
62,
3672,
62,
1507,
33411,
4152,
796,
366,
77,
4824,
3124,
4533,
1
] | [
1,
1,
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,
8342,
7492,
338,
371,
358,
40791,
46506,
374,
358,
16034,
3084,
62,
3672,
62,
1507,
33411,
4152,
796,
366,
77,
4824,
3124,
4533,
1
] |
when patient 030-67523 had the first treatment of hyperkalemia - insulin / glucose? | SELECT treatment.treatmenttime FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-67523')) AND treatment.treatmentname = 'treatment of hyperkal... | [
12518,
5827,
657,
1270,
12,
42444,
1954,
550,
262,
717,
3513,
286,
8718,
74,
282,
22859,
532,
14588,
1220,
15701,
30,
46506,
3513,
13,
42487,
2435,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
2602... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5827,
657,
1270,
12,
42444,
1954,
550,
262,
717,
3513,
286,
8718,
74,
282,
22859,
532,
14588,
1220,
15701,
30,
46506,
3513,
13,
42487,
2435,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
2602... |
give me the number of patients whose gender is f and primary disease is syncope;telemetry? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.diagnosis = "SYNCOPE;TELEMETRY" | [
26535,
502,
262,
1271,
286,
3871,
3025,
5279,
318,
277,
290,
4165,
4369,
318,
17510,
3008,
26,
46813,
41935,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26535,
502,
262,
1271,
286,
3871,
3025,
5279,
318,
277,
290,
4165,
4369,
318,
17510,
3008,
26,
46813,
41935,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,... |
which peaks are below 2500 meters in height ? | SELECT "peak" FROM table_204_84 WHERE "elevation (m)" < 2500 | [
4758,
25740,
389,
2174,
33507,
10700,
287,
6001,
5633,
46506,
366,
36729,
1,
16034,
3084,
62,
18638,
62,
5705,
33411,
366,
68,
2768,
341,
357,
76,
16725,
1279,
33507
] | [
1,
1,
1,
1,
1,
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,
25740,
389,
2174,
33507,
10700,
287,
6001,
5633,
46506,
366,
36729,
1,
16034,
3084,
62,
18638,
62,
5705,
33411,
366,
68,
2768,
341,
357,
76,
16725,
1279,
33507
] |
How many different post Types [AskDifferent]. | SELECT PostTypeId, Name, Counts FROM (SELECT PostTypeId, COUNT(*) AS Counts FROM Posts GROUP BY PostTypeId) AS p INNER JOIN PostTypes AS pt ON p.PostTypeId = pt.Id | [
2437,
867,
1180,
1281,
24897,
685,
25214,
40341,
4083,
46506,
2947,
6030,
7390,
11,
6530,
11,
2764,
82,
16034,
357,
46506,
2947,
6030,
7390,
11,
327,
28270,
7,
28104,
7054,
2764,
82,
16034,
12043,
44441,
11050,
2947,
6030,
7390,
8,
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,
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,
1180,
1281,
24897,
685,
25214,
40341,
4083,
46506,
2947,
6030,
7390,
11,
6530,
11,
2764,
82,
16034,
357,
46506,
2947,
6030,
7390,
11,
327,
28270,
7,
28104,
7054,
2764,
82,
16034,
12043,
44441,
11050,
2947,
6030,
7390,
8,
7054... |
Which 2008-12 has a 2013 of A, and a Tournament of wimbledon? | SELECT "2008-12" FROM table_33980 WHERE "2013" = 'a' AND "Tournament" = 'wimbledon' | [
13828,
3648,
12,
1065,
468,
257,
2211,
286,
317,
11,
290,
257,
9595,
286,
266,
320,
49258,
30,
46506,
366,
11528,
12,
1065,
1,
16034,
3084,
62,
29626,
1795,
33411,
366,
6390,
1,
796,
705,
64,
6,
5357,
366,
51,
5138,
1,
796,
705,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
3648,
12,
1065,
468,
257,
2211,
286,
317,
11,
290,
257,
9595,
286,
266,
320,
49258,
30,
46506,
366,
11528,
12,
1065,
1,
16034,
3084,
62,
29626,
1795,
33411,
366,
6390,
1,
796,
705,
64,
6,
5357,
366,
51,
5138,
1,
796,
705,
... |
all flights from CHARLOTTE to anywhere on US around 1pm | 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 <= 1330 AND flight.departure_time >= 1230) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND flight.to_airport = AIRPORT_SERVICE_1.... | [
439,
13956,
422,
28521,
43,
2394,
9328,
284,
6609,
319,
1294,
1088,
352,
4426,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
439,
13956,
422,
28521,
43,
2394,
9328,
284,
6609,
319,
1294,
1088,
352,
4426,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31... |
Top SO users from Hong Kong. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS Link, DisplayName, Reputation, Location FROM Users WHERE (LOWER(Location) LIKE '%hong%kong%' OR Location LIKE '% %') ORDER BY Reputation DESC LIMIT 50 | [
9126,
12809,
2985,
422,
9764,
9071,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
7502,
11,
16531,
5376,
11,
1432,
7094,
11,
13397,
16034,
18987,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9126,
12809,
2985,
422,
9764,
9071,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
7502,
11,
16531,
5376,
11,
1432,
7094,
11,
13397,
16034,
18987,
3... |
How many women speak German? | SELECT "females" FROM table_69693 WHERE "Language" = 'german' | [
2437,
867,
1466,
2740,
2679,
30,
46506,
366,
69,
368,
2040,
1,
16034,
3084,
62,
3388,
48528,
33411,
366,
32065,
1,
796,
705,
1362,
805,
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
] | [
2437,
867,
1466,
2740,
2679,
30,
46506,
366,
69,
368,
2040,
1,
16034,
3084,
62,
3388,
48528,
33411,
366,
32065,
1,
796,
705,
1362,
805,
6
] |
Where did the home team score 11.18 (84)? | SELECT "Venue" FROM table_77738 WHERE "Home team score" = '11.18 (84)' | [
8496,
750,
262,
1363,
1074,
4776,
1367,
13,
1507,
357,
5705,
19427,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
29331,
2548,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1157,
13,
1507,
357,
5705,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8496,
750,
262,
1363,
1074,
4776,
1367,
13,
1507,
357,
5705,
19427,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
29331,
2548,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1157,
13,
1507,
357,
5705,
33047
] |
What is the power output for class 5? | SELECT "Power output (kW)" FROM table_60924 WHERE "Number in class" = '5' | [
2061,
318,
262,
1176,
5072,
329,
1398,
642,
30,
46506,
366,
13434,
5072,
357,
74,
54,
16725,
16034,
3084,
62,
31751,
1731,
33411,
366,
15057,
287,
1398,
1,
796,
705,
20,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1176,
5072,
329,
1398,
642,
30,
46506,
366,
13434,
5072,
357,
74,
54,
16725,
16034,
3084,
62,
31751,
1731,
33411,
366,
15057,
287,
1398,
1,
796,
705,
20,
6
] |
Can you tell me what classes Dr. Keith Christensen has taught in the past ? | SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor WHERE course_offering.semester < (SELECT SEMESTERalias0.semester_id FROM semester AS SEMESTERalias0 WHERE SEMESTERalias0.semester = 'WN' AND SEMESTERalias0.year = 2016) AND course.course_id = cour... | [
6090,
345,
1560,
502,
644,
6097,
1583,
13,
14926,
49195,
468,
7817,
287,
262,
1613,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
644,
6097,
1583,
13,
14926,
49195,
468,
7817,
287,
262,
1613,
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,
... |
get the id of the patients who had been diagnosed with diarrhea during this year. | SELECT admissions.subject_id FROM admissions WHERE admissions.hadm_id IN (SELECT diagnoses_icd.hadm_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 = 'diarrhea') AND DATETIME(diagnoses_icd.charttime, 'start of year') = DATETI... | [
1136,
262,
4686,
286,
262,
3871,
508,
550,
587,
14641,
351,
36004,
1141,
428,
614,
13,
46506,
25349,
13,
32796,
62,
312,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
40567,
62,
291,
67,
13,
18108,
76,
62,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1136,
262,
4686,
286,
262,
3871,
508,
550,
587,
14641,
351,
36004,
1141,
428,
614,
13,
46506,
25349,
13,
32796,
62,
312,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
40567,
62,
291,
67,
13,
18108,
76,
62,
31... |
Show the status of the city that has hosted the greatest number of competitions. | SELECT T1.status FROM city AS T1 JOIN farm_competition AS T2 ON T1.city_id = T2.host_city_id GROUP BY T2.host_city_id ORDER BY COUNT(*) DESC LIMIT 1 | [
15307,
262,
3722,
286,
262,
1748,
326,
468,
12007,
262,
6000,
1271,
286,
24174,
13,
46506,
309,
16,
13,
13376,
16034,
1748,
7054,
309,
16,
32357,
1268,
5318,
62,
5589,
15620,
7054,
309,
17,
6177,
309,
16,
13,
19205,
62,
312,
796,
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... | [
15307,
262,
3722,
286,
262,
1748,
326,
468,
12007,
262,
6000,
1271,
286,
24174,
13,
46506,
309,
16,
13,
13376,
16034,
1748,
7054,
309,
16,
32357,
1268,
5318,
62,
5589,
15620,
7054,
309,
17,
6177,
309,
16,
13,
19205,
62,
312,
796,
30... |
Who's the player eliminated on episode 8 of Fresh Meat? | SELECT player FROM table_name_59 WHERE original_season = "fresh meat" AND eliminated = "episode 8" | [
8241,
338,
262,
2137,
15254,
319,
4471,
807,
286,
20138,
19145,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
3270,
33411,
2656,
62,
6230,
796,
366,
48797,
6174,
1,
5357,
15254,
796,
366,
38668,
807,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
338,
262,
2137,
15254,
319,
4471,
807,
286,
20138,
19145,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
3270,
33411,
2656,
62,
6230,
796,
366,
48797,
6174,
1,
5357,
15254,
796,
366,
38668,
807,
1
] |
provide the admission time and diagnoses of subject id 17772. | SELECT demographic.diagnosis, demographic.admittime FROM demographic WHERE demographic.subject_id = "17772" | [
15234,
485,
262,
13938,
640,
290,
40567,
286,
2426,
4686,
1596,
43571,
13,
46506,
16728,
13,
47356,
5958,
11,
16728,
13,
324,
20124,
524,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1558,
43571,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13938,
640,
290,
40567,
286,
2426,
4686,
1596,
43571,
13,
46506,
16728,
13,
47356,
5958,
11,
16728,
13,
324,
20124,
524,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1558,
43571,
1
] |
who had the high assists when the game was less than 13 and the score was w 75-66? | SELECT high_assists FROM table_name_41 WHERE game < 13 AND score = "w 75-66" | [
8727,
550,
262,
1029,
13648,
618,
262,
983,
373,
1342,
621,
1511,
290,
262,
4776,
373,
266,
5441,
12,
2791,
30,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
3672,
62,
3901,
33411,
983,
1279,
1511,
5357,
4776,
796,
366,
86,
5441,
12,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
550,
262,
1029,
13648,
618,
262,
983,
373,
1342,
621,
1511,
290,
262,
4776,
373,
266,
5441,
12,
2791,
30,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
3672,
62,
3901,
33411,
983,
1279,
1511,
5357,
4776,
796,
366,
86,
5441,
12,... |
what is the capacity when the name is 1.2 16v? | SELECT "Capacity" FROM table_14851 WHERE "Name" = '1.2 16v' | [
10919,
318,
262,
5339,
618,
262,
1438,
318,
352,
13,
17,
1467,
85,
30,
46506,
366,
15610,
4355,
1,
16034,
3084,
62,
18294,
4349,
33411,
366,
5376,
1,
796,
705,
16,
13,
17,
1467,
85,
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
] | [
10919,
318,
262,
5339,
618,
262,
1438,
318,
352,
13,
17,
1467,
85,
30,
46506,
366,
15610,
4355,
1,
16034,
3084,
62,
18294,
4349,
33411,
366,
5376,
1,
796,
705,
16,
13,
17,
1467,
85,
6
] |
What is the highest numbered event? | SELECT MAX("Event") FROM table_31472 | [
2061,
318,
262,
4511,
25840,
1785,
30,
46506,
25882,
7203,
9237,
4943,
16034,
3084,
62,
33638,
4761
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
25840,
1785,
30,
46506,
25882,
7203,
9237,
4943,
16034,
3084,
62,
33638,
4761
] |
who produced the most tracks ? | SELECT "producer(s)" FROM table_203_228 GROUP BY "producer(s)" ORDER BY COUNT("title") DESC LIMIT 1 | [
8727,
4635,
262,
749,
8339,
5633,
46506,
366,
18230,
2189,
7,
82,
16725,
16034,
3084,
62,
22416,
62,
23815,
44441,
11050,
366,
18230,
2189,
7,
82,
16725,
38678,
11050,
327,
28270,
7203,
7839,
4943,
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,
1,
1,
1
] | [
8727,
4635,
262,
749,
8339,
5633,
46506,
366,
18230,
2189,
7,
82,
16725,
16034,
3084,
62,
22416,
62,
23815,
44441,
11050,
366,
18230,
2189,
7,
82,
16725,
38678,
11050,
327,
28270,
7203,
7839,
4943,
22196,
34,
27564,
2043,
352
] |
In what year did a car have a yamaha v12 engine and a brabham bt60y chassis | SELECT year FROM table_name_70 WHERE engine = "yamaha v12" AND chassis = "brabham bt60y" | [
818,
644,
614,
750,
257,
1097,
423,
257,
331,
321,
12236,
410,
1065,
3113,
290,
257,
865,
397,
2763,
275,
83,
1899,
88,
24587,
46506,
614,
16034,
3084,
62,
3672,
62,
2154,
33411,
3113,
796,
366,
88,
321,
12236,
410,
1065,
1,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
644,
614,
750,
257,
1097,
423,
257,
331,
321,
12236,
410,
1065,
3113,
290,
257,
865,
397,
2763,
275,
83,
1899,
88,
24587,
46506,
614,
16034,
3084,
62,
3672,
62,
2154,
33411,
3113,
796,
366,
88,
321,
12236,
410,
1065,
1,
5357,
... |
Give me a scatter chart that groups acc road, the x-axis is school id and the y-axis is acc percent. | SELECT School_ID, ACC_Percent FROM basketball_match GROUP BY ACC_Road | [
23318,
502,
257,
41058,
8262,
326,
2628,
697,
2975,
11,
262,
2124,
12,
22704,
318,
1524,
4686,
290,
262,
331,
12,
22704,
318,
697,
1411,
13,
46506,
3961,
62,
2389,
11,
15859,
62,
31905,
16034,
9669,
62,
15699,
44441,
11050,
15859,
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
] | [
23318,
502,
257,
41058,
8262,
326,
2628,
697,
2975,
11,
262,
2124,
12,
22704,
318,
1524,
4686,
290,
262,
331,
12,
22704,
318,
697,
1411,
13,
46506,
3961,
62,
2389,
11,
15859,
62,
31905,
16034,
9669,
62,
15699,
44441,
11050,
15859,
62,... |
whats the last ward id of patient 81783 during the first hospital encounter? | SELECT transfers.wardid FROM transfers WHERE transfers.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 81783 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) AND NOT transfers.wardid IS NULL ORDER BY transfers.intime DESC LIMIT 1 | [
1929,
1381,
262,
938,
15305,
4686,
286,
5827,
807,
1558,
5999,
1141,
262,
717,
4436,
8791,
30,
46506,
16395,
13,
904,
312,
16034,
16395,
33411,
16395,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
253... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1929,
1381,
262,
938,
15305,
4686,
286,
5827,
807,
1558,
5999,
1141,
262,
717,
4436,
8791,
30,
46506,
16395,
13,
904,
312,
16034,
16395,
33411,
16395,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
253... |
tell me the total amount of propofol that patient 022-78423 has taken since 11/29/2104? | SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-78423')) AND intakeoutput.celllabel = 'propo... | [
33331,
502,
262,
2472,
2033,
286,
2632,
1659,
349,
326,
5827,
657,
1828,
12,
37688,
1954,
468,
2077,
1201,
1367,
14,
1959,
14,
17,
13464,
30,
46506,
35683,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2632,
1659,
349,
326,
5827,
657,
1828,
12,
37688,
1954,
468,
2077,
1201,
1367,
14,
1959,
14,
17,
13464,
30,
46506,
35683,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
... |
What is the 17th c. pronunciation when the british is ? | SELECT 17 AS th_c FROM table_name_68 WHERE british = "əʊ" | [
2061,
318,
262,
1596,
400,
269,
13,
41694,
618,
262,
275,
799,
680,
318,
5633,
46506,
1596,
7054,
294,
62,
66,
16034,
3084,
62,
3672,
62,
3104,
33411,
275,
799,
680,
796,
366,
133,
247,
134,
232,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1596,
400,
269,
13,
41694,
618,
262,
275,
799,
680,
318,
5633,
46506,
1596,
7054,
294,
62,
66,
16034,
3084,
62,
3672,
62,
3104,
33411,
275,
799,
680,
796,
366,
133,
247,
134,
232,
1
] |
give me the number of patients whose year of birth is less than 2094 and diagnoses short title is anemia in chr kidney dis? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dob_year < "2094" AND diagnoses.short_title = "Anemia in chr kidney dis" | [
26535,
502,
262,
1271,
286,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
1160,
5824,
290,
40567,
1790,
3670,
318,
281,
22859,
287,
442,
81,
21919,
595,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
160... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
1160,
5824,
290,
40567,
1790,
3670,
318,
281,
22859,
287,
442,
81,
21919,
595,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
160... |
What is the number of each course name that have at least five enrollments? Show me a bar chart, show y axis from high to low order. | SELECT T1.CName, COUNT(T1.CName) FROM Course AS T1 JOIN Enrolled_in AS T2 ON T1.CID = T2.CID GROUP BY T1.CName, T2.CID HAVING COUNT(*) >= 5 ORDER BY COUNT(T1.CName) DESC | [
2061,
318,
262,
1271,
286,
1123,
1781,
1438,
326,
423,
379,
1551,
1936,
14627,
902,
30,
5438,
502,
257,
2318,
8262,
11,
905,
331,
16488,
422,
1029,
284,
1877,
1502,
13,
46506,
309,
16,
13,
34,
5376,
11,
327,
28270,
7,
51,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
1271,
286,
1123,
1781,
1438,
326,
423,
379,
1551,
1936,
14627,
902,
30,
5438,
502,
257,
2318,
8262,
11,
905,
331,
16488,
422,
1029,
284,
1877,
1502,
13,
46506,
309,
16,
13,
34,
5376,
11,
327,
28270,
7,
51,
16,
13,
... |
Top java users. | WITH USER_BY_TAG AS (SELECT ROW_NUMBER() OVER (ORDER BY COUNT(*) DESC) AS Rank, u.Id AS "user_link", COUNT(*) AS UpVotes, u.Reputation AS Reputation FROM Tags AS t INNER JOIN PostTags AS pt ON pt.TagId = t.Id INNER JOIN Posts AS p ON p.ParentId = pt.PostId INNER JOIN Votes AS v ON v.PostId = p.Id AND VoteTypeId = 2 INN... | [
9126,
20129,
2985,
13,
54,
10554,
1294,
1137,
62,
17513,
62,
42197,
7054,
357,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
10916,
11,
334,
13,
7390,
7054,
366,
72... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9126,
20129,
2985,
13,
54,
10554,
1294,
1137,
62,
17513,
62,
42197,
7054,
357,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
10916,
11,
334,
13,
7390,
7054,
366,
72... |
Out of all the courses in Critical Approaches to Literature , which satisfy the Core requirement ? | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN area ON course.course_id = area.course_id INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (area.area LIKE '%Critical Approaches to Literature%' OR course.description LIKE '%Critical Approaches to Literatu... | [
7975,
286,
477,
262,
10902,
287,
17684,
20010,
3694,
284,
33818,
837,
543,
15959,
262,
7231,
9079,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
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... | [
7975,
286,
477,
262,
10902,
287,
17684,
20010,
3694,
284,
33818,
837,
543,
15959,
262,
7231,
9079,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268... |
Return the ids of documents that do not have expenses. | SELECT document_id FROM documents EXCEPT SELECT document_id FROM documents_with_expenses | [
13615,
262,
220,
2340,
286,
4963,
326,
466,
407,
423,
9307,
13,
46506,
3188,
62,
312,
16034,
4963,
7788,
42006,
33493,
3188,
62,
312,
16034,
4963,
62,
4480,
62,
11201,
4541
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13615,
262,
220,
2340,
286,
4963,
326,
466,
407,
423,
9307,
13,
46506,
3188,
62,
312,
16034,
4963,
7788,
42006,
33493,
3188,
62,
312,
16034,
4963,
62,
4480,
62,
11201,
4541
] |
show me the flights from SAN FRANCISCO to DALLAS | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'SAN FRANCISCO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = '... | [
12860,
502,
262,
13956,
422,
37376,
8782,
20940,
1797,
8220,
284,
360,
7036,
1921,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12860,
502,
262,
13956,
422,
37376,
8782,
20940,
1797,
8220,
284,
360,
7036,
1921,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
... |
How many countries earned 177.2 points? | SELECT COUNT("Member Association") FROM table_69 WHERE "Points" = '177.2' | [
2437,
867,
2678,
7366,
26607,
13,
17,
2173,
30,
46506,
327,
28270,
7203,
27608,
5396,
4943,
16034,
3084,
62,
3388,
33411,
366,
40710,
1,
796,
705,
22413,
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
] | [
2437,
867,
2678,
7366,
26607,
13,
17,
2173,
30,
46506,
327,
28270,
7203,
27608,
5396,
4943,
16034,
3084,
62,
3388,
33411,
366,
40710,
1,
796,
705,
22413,
13,
17,
6
] |
What is the name of the team with a Games listing of 7? | SELECT team FROM table_name_27 WHERE games = "7" | [
2061,
318,
262,
1438,
286,
262,
1074,
351,
257,
5776,
13487,
286,
767,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
1983,
33411,
1830,
796,
366,
22,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
1074,
351,
257,
5776,
13487,
286,
767,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
1983,
33411,
1830,
796,
366,
22,
1
] |
count the number of times that divalproex (extended release) has been prescribed to patient 70267 since 2105. | SELECT COUNT(*) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 70267) AND prescriptions.drug = 'divalproex (extended release)' AND STRFTIME('%y', prescriptions.startdate) >= '2105' | [
9127,
262,
1271,
286,
1661,
326,
288,
2473,
1676,
1069,
357,
2302,
1631,
2650,
8,
468,
587,
14798,
284,
5827,
4317,
25674,
1201,
362,
13348,
13,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1661,
326,
288,
2473,
1676,
1069,
357,
2302,
1631,
2650,
8,
468,
587,
14798,
284,
5827,
4317,
25674,
1201,
362,
13348,
13,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
35... |
Give the distinct headquarters of manufacturers. | SELECT DISTINCT headquarter FROM manufacturers | [
23318,
262,
7310,
10043,
286,
11372,
13,
46506,
360,
8808,
1268,
4177,
1182,
24385,
16034,
11372
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
262,
7310,
10043,
286,
11372,
13,
46506,
360,
8808,
1268,
4177,
1182,
24385,
16034,
11372
] |
What is Year (Ceremony), when Director is 'Farid Gumbatov Category:Articles With hCards'? | SELECT "Year (Ceremony)" FROM table_47580 WHERE "Director" = 'farid gumbatov category:articles with hcards' | [
2061,
318,
6280,
357,
34,
567,
9926,
828,
618,
5890,
318,
705,
21428,
312,
402,
2178,
265,
709,
21743,
25,
8001,
2983,
2080,
289,
34,
1371,
30960,
46506,
366,
17688,
357,
34,
567,
9926,
16725,
16034,
3084,
62,
32576,
1795,
33411,
366,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
6280,
357,
34,
567,
9926,
828,
618,
5890,
318,
705,
21428,
312,
402,
2178,
265,
709,
21743,
25,
8001,
2983,
2080,
289,
34,
1371,
30960,
46506,
366,
17688,
357,
34,
567,
9926,
16725,
16034,
3084,
62,
32576,
1795,
33411,
366,... |
What is the combined attendance of all games that had a result of w 35-14? | SELECT SUM("Attendance") FROM table_78334 WHERE "Result" = 'w 35-14' | [
2061,
318,
262,
5929,
14858,
286,
477,
1830,
326,
550,
257,
1255,
286,
266,
3439,
12,
1415,
30,
46506,
35683,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
3695,
31380,
33411,
366,
23004,
1,
796,
705,
86,
3439,
12,
1415,
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,
5929,
14858,
286,
477,
1830,
326,
550,
257,
1255,
286,
266,
3439,
12,
1415,
30,
46506,
35683,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
3695,
31380,
33411,
366,
23004,
1,
796,
705,
86,
3439,
12,
1415,
6
] |
What is the easiest class I can take so that I can fulfill the MDE requirement ? | SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%MDE%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_cou... | [
2061,
318,
262,
16638,
1398,
314,
460,
1011,
523,
326,
314,
460,
14658,
262,
337,
7206,
9079,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62,
17319,
13,
1818,
2220,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16638,
1398,
314,
460,
1011,
523,
326,
314,
460,
14658,
262,
337,
7206,
9079,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62,
17319,
13,
1818,
2220,
1... |
since 955 days ago, what is average value of arterial bp [diastolic] for patient 31880? | SELECT AVG(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 = 31880)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arte... | [
20777,
860,
2816,
1528,
2084,
11,
644,
318,
2811,
1988,
286,
30675,
498,
275,
79,
685,
10989,
459,
4160,
60,
329,
5827,
39320,
1795,
30,
46506,
35224,
7,
40926,
31534,
13,
2100,
84,
44709,
8,
16034,
8262,
31534,
33411,
8262,
31534,
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... | [
20777,
860,
2816,
1528,
2084,
11,
644,
318,
2811,
1988,
286,
30675,
498,
275,
79,
685,
10989,
459,
4160,
60,
329,
5827,
39320,
1795,
30,
46506,
35224,
7,
40926,
31534,
13,
2100,
84,
44709,
8,
16034,
8262,
31534,
33411,
8262,
31534,
13... |
Who is born on 1982-01-29? | SELECT name FROM table_name_7 WHERE date_of_birth = "1982-01-29" | [
8241,
318,
4642,
319,
14489,
12,
486,
12,
1959,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
22,
33411,
3128,
62,
1659,
62,
24280,
796,
366,
30763,
12,
486,
12,
1959,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
4642,
319,
14489,
12,
486,
12,
1959,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
22,
33411,
3128,
62,
1659,
62,
24280,
796,
366,
30763,
12,
486,
12,
1959,
1
] |
In the WCHL League, what is the last Assists with less than 65 Goals? | SELECT MIN("Assists") FROM table_68525 WHERE "League" = 'wchl' AND "Goals" < '65' | [
818,
262,
370,
3398,
43,
4041,
11,
644,
318,
262,
938,
2195,
1023,
351,
1342,
621,
6135,
28510,
30,
46506,
20625,
7203,
8021,
1023,
4943,
16034,
3084,
62,
35978,
1495,
33411,
366,
24623,
1,
796,
705,
86,
354,
75,
6,
5357,
366,
5247,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
370,
3398,
43,
4041,
11,
644,
318,
262,
938,
2195,
1023,
351,
1342,
621,
6135,
28510,
30,
46506,
20625,
7203,
8021,
1023,
4943,
16034,
3084,
62,
35978,
1495,
33411,
366,
24623,
1,
796,
705,
86,
354,
75,
6,
5357,
366,
5247,... |
Which game number includes a record of 1-2? | SELECT game FROM table_name_31 WHERE record = "1-2" | [
13828,
983,
1271,
3407,
257,
1700,
286,
352,
12,
17,
30,
46506,
983,
16034,
3084,
62,
3672,
62,
3132,
33411,
1700,
796,
366,
16,
12,
17,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
983,
1271,
3407,
257,
1700,
286,
352,
12,
17,
30,
46506,
983,
16034,
3084,
62,
3672,
62,
3132,
33411,
1700,
796,
366,
16,
12,
17,
1
] |
Just show employees' salaries by their first name in a bar chart. | SELECT FIRST_NAME, SALARY FROM employees | [
5703,
905,
4409,
6,
17058,
416,
511,
717,
1438,
287,
257,
2318,
8262,
13,
46506,
31328,
62,
20608,
11,
42475,
13153,
16034,
4409
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5703,
905,
4409,
6,
17058,
416,
511,
717,
1438,
287,
257,
2318,
8262,
13,
46506,
31328,
62,
20608,
11,
42475,
13153,
16034,
4409
] |
What is the maximum rebounds when there are 0.9 steals and fewer than 1.4 turnovers? | SELECT MAX(rebounds) FROM table_name_69 WHERE steals = 0.9 AND turnovers < 1.4 | [
2061,
318,
262,
5415,
18841,
618,
612,
389,
657,
13,
24,
28052,
290,
7380,
621,
352,
13,
19,
33888,
30,
46506,
25882,
7,
34806,
3733,
8,
16034,
3084,
62,
3672,
62,
3388,
33411,
28052,
796,
657,
13,
24,
5357,
33888,
1279,
352,
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
] | [
2061,
318,
262,
5415,
18841,
618,
612,
389,
657,
13,
24,
28052,
290,
7380,
621,
352,
13,
19,
33888,
30,
46506,
25882,
7,
34806,
3733,
8,
16034,
3084,
62,
3672,
62,
3388,
33411,
28052,
796,
657,
13,
24,
5357,
33888,
1279,
352,
13,
... |
In what parish is the Askrova Bedehuskapell church? | SELECT parish__prestegjeld_ FROM table_178381_1 WHERE church_name = "Askrova bedehuskapell" | [
818,
644,
28830,
318,
262,
16981,
305,
6862,
15585,
68,
7537,
74,
1758,
297,
4928,
30,
46506,
28830,
834,
79,
2118,
1533,
18015,
335,
62,
16034,
3084,
62,
23188,
36626,
62,
16,
33411,
4928,
62,
3672,
796,
366,
25214,
305,
6862,
3996,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
644,
28830,
318,
262,
16981,
305,
6862,
15585,
68,
7537,
74,
1758,
297,
4928,
30,
46506,
28830,
834,
79,
2118,
1533,
18015,
335,
62,
16034,
3084,
62,
23188,
36626,
62,
16,
33411,
4928,
62,
3672,
796,
366,
25214,
305,
6862,
3996,
... |
What is the entry for Upper index Kcal/ Nm 3 for the row with an entry that has a Lower index MJ/ Nm 3 of 47.91, and an Upper index MJ/ Nm 3 larger than 53.28? | SELECT SUM("Upper index Kcal/ Nm 3") FROM table_64435 WHERE "Lower index MJ/ Nm 3" = '47.91' AND "Upper index MJ/ Nm 3" > '53.28' | [
2061,
318,
262,
5726,
329,
20390,
6376,
509,
9948,
14,
399,
76,
513,
329,
262,
5752,
351,
281,
5726,
326,
468,
257,
16048,
6376,
33974,
14,
399,
76,
513,
286,
6298,
13,
6420,
11,
290,
281,
20390,
6376,
33974,
14,
399,
76,
513,
402... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5726,
329,
20390,
6376,
509,
9948,
14,
399,
76,
513,
329,
262,
5752,
351,
281,
5726,
326,
468,
257,
16048,
6376,
33974,
14,
399,
76,
513,
286,
6298,
13,
6420,
11,
290,
281,
20390,
6376,
33974,
14,
399,
76,
513,
402... |
what manufacturer is listed for max biaggi and marcellino lucchi ? | SELECT "manufacturer" FROM table_203_35 WHERE "rider" = 'max biaggi' | [
10919,
11554,
318,
5610,
329,
3509,
3182,
9460,
72,
290,
1667,
3846,
2879,
17115,
11072,
5633,
46506,
366,
48119,
15051,
1,
16034,
3084,
62,
22416,
62,
2327,
33411,
366,
49449,
1,
796,
705,
9806,
3182,
9460,
72,
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
] | [
10919,
11554,
318,
5610,
329,
3509,
3182,
9460,
72,
290,
1667,
3846,
2879,
17115,
11072,
5633,
46506,
366,
48119,
15051,
1,
16034,
3084,
62,
22416,
62,
2327,
33411,
366,
49449,
1,
796,
705,
9806,
3182,
9460,
72,
6
] |
what is the work when the result is won and the year is after 2002? | SELECT work FROM table_name_91 WHERE result = "won" AND year > 2002 | [
10919,
318,
262,
670,
618,
262,
1255,
318,
1839,
290,
262,
614,
318,
706,
6244,
30,
46506,
670,
16034,
3084,
62,
3672,
62,
6420,
33411,
1255,
796,
366,
26502,
1,
5357,
614,
1875,
6244
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
670,
618,
262,
1255,
318,
1839,
290,
262,
614,
318,
706,
6244,
30,
46506,
670,
16034,
3084,
62,
3672,
62,
6420,
33411,
1255,
796,
366,
26502,
1,
5357,
614,
1875,
6244
] |
Who was the visiting team when the record was 6 12 5 1? | SELECT visitor FROM table_name_4 WHERE record = "6–12–5–1" | [
8241,
373,
262,
10013,
1074,
618,
262,
1700,
373,
718,
1105,
642,
352,
30,
46506,
21493,
16034,
3084,
62,
3672,
62,
19,
33411,
1700,
796,
366,
21,
1906,
1065,
1906,
20,
1906,
16,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
10013,
1074,
618,
262,
1700,
373,
718,
1105,
642,
352,
30,
46506,
21493,
16034,
3084,
62,
3672,
62,
19,
33411,
1700,
796,
366,
21,
1906,
1065,
1906,
20,
1906,
16,
1
] |
Visualize a scatter chart about the correlation between CID and Credits . | SELECT CID, Credits FROM Course ORDER BY Credits | [
36259,
1096,
257,
41058,
8262,
546,
262,
16096,
1022,
327,
2389,
290,
29501,
764,
46506,
327,
2389,
11,
29501,
16034,
20537,
38678,
11050,
29501
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
36259,
1096,
257,
41058,
8262,
546,
262,
16096,
1022,
327,
2389,
290,
29501,
764,
46506,
327,
2389,
11,
29501,
16034,
20537,
38678,
11050,
29501
] |
Who is the cyber girl in week 3 when Ashley Lowe was the cyber girl in week 2? | SELECT "Week 3" FROM table_61895 WHERE "Week 2" = 'ashley lowe' | [
8241,
318,
262,
10075,
2576,
287,
1285,
513,
618,
20899,
34241,
373,
262,
10075,
2576,
287,
1285,
362,
30,
46506,
366,
20916,
513,
1,
16034,
3084,
62,
47448,
3865,
33411,
366,
20916,
362,
1,
796,
705,
1077,
1636,
1877,
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,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
10075,
2576,
287,
1285,
513,
618,
20899,
34241,
373,
262,
10075,
2576,
287,
1285,
362,
30,
46506,
366,
20916,
513,
1,
16034,
3084,
62,
47448,
3865,
33411,
366,
20916,
362,
1,
796,
705,
1077,
1636,
1877,
68,
6
] |
Bar chart of total number of number of platforms from each location, and I want to show y axis in asc order please. | SELECT Location, SUM(Number_of_Platforms) FROM station GROUP BY Location ORDER BY SUM(Number_of_Platforms) | [
10374,
8262,
286,
2472,
1271,
286,
1271,
286,
9554,
422,
1123,
4067,
11,
290,
314,
765,
284,
905,
331,
16488,
287,
10570,
1502,
3387,
13,
46506,
13397,
11,
35683,
7,
15057,
62,
1659,
62,
37148,
82,
8,
16034,
4429,
44441,
11050,
13397,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
8262,
286,
2472,
1271,
286,
1271,
286,
9554,
422,
1123,
4067,
11,
290,
314,
765,
284,
905,
331,
16488,
287,
10570,
1502,
3387,
13,
46506,
13397,
11,
35683,
7,
15057,
62,
1659,
62,
37148,
82,
8,
16034,
4429,
44441,
11050,
13397,... |
provide the number of patients whose age is less than 44 and admission year is less than 2152? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "44" AND demographic.admityear < "2152" | [
15234,
485,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
5846,
290,
13938,
614,
318,
1342,
621,
362,
17827,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
496,
1279,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15234,
485,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
5846,
290,
13938,
614,
318,
1342,
621,
362,
17827,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
496,
1279,
... |
What is the epa rated combined fuel economy for the all-electric vehicle with dirty electric grid rocky mountains (denver) of 330 g/mi (205 g/km)? | SELECT "EPA rated combined fuel economy" FROM table_2959 WHERE "Operating mode" = 'All-electric' AND "Dirty electric grid Rocky Mountains (Denver)" = '330 g/mi (205 g/km)' | [
2061,
318,
262,
2462,
64,
13178,
5929,
5252,
3773,
329,
262,
477,
12,
31067,
4038,
351,
11841,
5186,
10706,
26898,
12269,
357,
6559,
332,
8,
286,
25508,
308,
14,
11632,
357,
21261,
308,
14,
13276,
19427,
46506,
366,
40906,
13178,
5929,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2462,
64,
13178,
5929,
5252,
3773,
329,
262,
477,
12,
31067,
4038,
351,
11841,
5186,
10706,
26898,
12269,
357,
6559,
332,
8,
286,
25508,
308,
14,
11632,
357,
21261,
308,
14,
13276,
19427,
46506,
366,
40906,
13178,
5929,
... |
For those employees who did not have any job in the past, visualize a bar chart about the distribution of job_id and the sum of employee_id , and group by attribute job_id, and could you rank in ascending by the y-axis? | SELECT JOB_ID, SUM(EMPLOYEE_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID ORDER BY SUM(EMPLOYEE_ID) | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2160,
286,
6538,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
714,
345,
4279... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2160,
286,
6538,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
714,
345,
4279... |
How many locations were recorded when the opponent Columbus Blue Jackets? | SELECT COUNT(location) FROM table_17360840_9 WHERE opponent = "Columbus Blue Jackets" | [
2437,
867,
7064,
547,
6264,
618,
262,
6125,
14939,
4518,
41324,
30,
46506,
327,
28270,
7,
24886,
8,
16034,
3084,
62,
1558,
15277,
40675,
62,
24,
33411,
6125,
796,
366,
36063,
385,
4518,
41324,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7064,
547,
6264,
618,
262,
6125,
14939,
4518,
41324,
30,
46506,
327,
28270,
7,
24886,
8,
16034,
3084,
62,
1558,
15277,
40675,
62,
24,
33411,
6125,
796,
366,
36063,
385,
4518,
41324,
1
] |
What is the market income per capita in a county where the status is distressed and the unemployment rate is at 10.5%? | SELECT market_income_per_capita FROM table_22815568_3 WHERE status = "Distressed" AND unemployment_rate = "10.5%" | [
2061,
318,
262,
1910,
3739,
583,
21344,
287,
257,
7968,
810,
262,
3722,
318,
36233,
290,
262,
10681,
2494,
318,
379,
838,
13,
20,
4,
30,
46506,
1910,
62,
12519,
62,
525,
62,
11128,
5350,
16034,
3084,
62,
23815,
18742,
3104,
62,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1910,
3739,
583,
21344,
287,
257,
7968,
810,
262,
3722,
318,
36233,
290,
262,
10681,
2494,
318,
379,
838,
13,
20,
4,
30,
46506,
1910,
62,
12519,
62,
525,
62,
11128,
5350,
16034,
3084,
62,
23815,
18742,
3104,
62,
18,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.