instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
When 12 is the season number how many series numbers are there? | SELECT COUNT(series__number) FROM table_25649467_2 WHERE season__number = 12 | [
2215,
1105,
318,
262,
1622,
1271,
703,
867,
2168,
3146,
389,
612,
30,
46506,
327,
28270,
7,
25076,
834,
17618,
8,
16034,
3084,
62,
1495,
2414,
5824,
3134,
62,
17,
33411,
1622,
834,
17618,
796,
1105
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1105,
318,
262,
1622,
1271,
703,
867,
2168,
3146,
389,
612,
30,
46506,
327,
28270,
7,
25076,
834,
17618,
8,
16034,
3084,
62,
1495,
2414,
5824,
3134,
62,
17,
33411,
1622,
834,
17618,
796,
1105
] |
What district is incumbent jack hightower from? | SELECT district FROM table_1341598_44 WHERE incumbent = "Jack Hightower" | [
2061,
4783,
318,
23526,
14509,
289,
432,
789,
422,
30,
46506,
4783,
16034,
3084,
62,
19880,
1314,
4089,
62,
2598,
33411,
23526,
796,
366,
14295,
367,
432,
789,
1
] | [
1,
1,
1,
1,
1,
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,
4783,
318,
23526,
14509,
289,
432,
789,
422,
30,
46506,
4783,
16034,
3084,
62,
19880,
1314,
4089,
62,
2598,
33411,
23526,
796,
366,
14295,
367,
432,
789,
1
] |
when was the last time on the last icu visit that patient 6215's arterial bp mean was measured less than 90.0? | SELECT chartevents.charttime 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 = 6215) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime DESC LIMIT 1) AND chartevents.itemid ... | [
12518,
373,
262,
938,
640,
319,
262,
938,
14158,
84,
3187,
326,
5827,
8190,
1314,
338,
30675,
498,
275,
79,
1612,
373,
8630,
1342,
621,
4101,
13,
15,
30,
46506,
8262,
31534,
13,
40926,
2435,
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... | [
12518,
373,
262,
938,
640,
319,
262,
938,
14158,
84,
3187,
326,
5827,
8190,
1314,
338,
30675,
498,
275,
79,
1612,
373,
8630,
1342,
621,
4101,
13,
15,
30,
46506,
8262,
31534,
13,
40926,
2435,
16034,
8262,
31534,
33411,
8262,
31534,
13,... |
what is diagnoses icd9 code and diagnoses short title of subject name michelle medina? | SELECT diagnoses.icd9_code, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Michelle Medina" | [
10919,
318,
40567,
14158,
67,
24,
2438,
290,
40567,
1790,
3670,
286,
2426,
1438,
12314,
34454,
1117,
1437,
30,
46506,
40567,
13,
291,
67,
24,
62,
8189,
11,
40567,
13,
19509,
62,
7839,
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
] | [
10919,
318,
40567,
14158,
67,
24,
2438,
290,
40567,
1790,
3670,
286,
2426,
1438,
12314,
34454,
1117,
1437,
30,
46506,
40567,
13,
291,
67,
24,
62,
8189,
11,
40567,
13,
19509,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,... |
In the Year 1939, what was the Finish when Al was the League? | SELECT "Finish" FROM table_51641 WHERE "League" = 'al' AND "Year" = '1939' | [
818,
262,
6280,
24414,
11,
644,
373,
262,
32585,
618,
978,
373,
262,
4041,
30,
46506,
366,
48658,
1,
16034,
3084,
62,
47493,
3901,
33411,
366,
24623,
1,
796,
705,
282,
6,
5357,
366,
17688,
1,
796,
705,
1129,
2670,
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
] | [
818,
262,
6280,
24414,
11,
644,
373,
262,
32585,
618,
978,
373,
262,
4041,
30,
46506,
366,
48658,
1,
16034,
3084,
62,
47493,
3901,
33411,
366,
24623,
1,
796,
705,
282,
6,
5357,
366,
17688,
1,
796,
705,
1129,
2670,
6
] |
Return all the committees that have delegates from Democratic party, and count them by a pie chart | SELECT Committee, COUNT(Committee) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T2.Party = "Democratic" GROUP BY Committee | [
13615,
477,
262,
17460,
326,
423,
15265,
422,
4390,
2151,
11,
290,
954,
606,
416,
257,
2508,
8262,
46506,
4606,
11,
327,
28270,
7,
6935,
2979,
8,
16034,
3071,
7054,
309,
16,
32357,
1268,
2151,
7054,
309,
17,
6177,
309,
16,
13,
33553... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
262,
17460,
326,
423,
15265,
422,
4390,
2151,
11,
290,
954,
606,
416,
257,
2508,
8262,
46506,
4606,
11,
327,
28270,
7,
6935,
2979,
8,
16034,
3071,
7054,
309,
16,
32357,
1268,
2151,
7054,
309,
17,
6177,
309,
16,
13,
33553... |
provide the number of patients whose religion is jewish and diagnoses short title is dmii wo cmp nt st uncntr? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.religion = "JEWISH" AND diagnoses.short_title = "DMII wo cmp nt st uncntr" | [
15234,
485,
262,
1271,
286,
3871,
3025,
5737,
318,
12711,
680,
290,
40567,
1790,
3670,
318,
288,
76,
4178,
24486,
269,
3149,
299,
83,
336,
4591,
429,
81,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
5737,
318,
12711,
680,
290,
40567,
1790,
3670,
318,
288,
76,
4178,
24486,
269,
3149,
299,
83,
336,
4591,
429,
81,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
... |
so whats the last weight of patient 15447 this month? | 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 = 15447)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'admit wt'... | [
568,
45038,
262,
938,
3463,
286,
5827,
1315,
34825,
428,
1227,
30,
46506,
8262,
31534,
13,
2100,
84,
44709,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13,
291,
436,
323,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
568,
45038,
262,
938,
3463,
286,
5827,
1315,
34825,
428,
1227,
30,
46506,
8262,
31534,
13,
2100,
84,
44709,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13,
291,
436,
323,
62,
... |
how many patients are diagnosed with shock unspecified and administered through buccal drug route? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Shock, unspecified" AND prescriptions.route = "BUCCAL" | [
4919,
867,
3871,
389,
14641,
351,
6380,
29547,
290,
17169,
832,
809,
535,
282,
2563,
6339,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14641,
351,
6380,
29547,
290,
17169,
832,
809,
535,
282,
2563,
6339,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
1... |
provide the number of patients whose ethnicity is white - russian and diagnoses long title is other pulmonary insufficiency, not elsewhere classified? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND diagnoses.long_title = "Other pulmonary insufficiency, not elsewhere classified" | [
15234,
485,
262,
1271,
286,
3871,
3025,
26289,
318,
2330,
532,
374,
31562,
290,
40567,
890,
3670,
318,
584,
45105,
1035,
1648,
19777,
11,
407,
8057,
10090,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
26289,
318,
2330,
532,
374,
31562,
290,
40567,
890,
3670,
318,
584,
45105,
1035,
1648,
19777,
11,
407,
8057,
10090,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
... |
What is the Week 8 result of the team that lost to syarcuse (4-2) in Week 7? | SELECT "Week 8 Oct 26" FROM table_60926 WHERE "Week 7 Oct 19" = 'syarcuse (4-2)' | [
2061,
318,
262,
6119,
807,
1255,
286,
262,
1074,
326,
2626,
284,
827,
5605,
1904,
357,
19,
12,
17,
8,
287,
6119,
767,
30,
46506,
366,
20916,
807,
2556,
2608,
1,
16034,
3084,
62,
31751,
2075,
33411,
366,
20916,
767,
2556,
678,
1,
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,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
6119,
807,
1255,
286,
262,
1074,
326,
2626,
284,
827,
5605,
1904,
357,
19,
12,
17,
8,
287,
6119,
767,
30,
46506,
366,
20916,
807,
2556,
2608,
1,
16034,
3084,
62,
31751,
2075,
33411,
366,
20916,
767,
2556,
678,
1,
7... |
Name the title for 2005 | SELECT "Title" FROM table_14369 WHERE "Year" = '2005' | [
5376,
262,
3670,
329,
5075,
46506,
366,
19160,
1,
16034,
3084,
62,
1415,
30803,
33411,
366,
17688,
1,
796,
705,
14315,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
3670,
329,
5075,
46506,
366,
19160,
1,
16034,
3084,
62,
1415,
30803,
33411,
366,
17688,
1,
796,
705,
14315,
6
] |
What is the result for Melbourne when Adelaide is no, and Auckland is yes? | SELECT "Melbourne" FROM table_71065 WHERE "Adelaide" = 'no' AND "Auckland" = 'yes' | [
2061,
318,
262,
1255,
329,
14819,
618,
27139,
318,
645,
11,
290,
30422,
318,
3763,
30,
46506,
366,
21102,
12544,
1,
16034,
3084,
62,
43147,
2996,
33411,
366,
2782,
25078,
1,
796,
705,
3919,
6,
5357,
366,
32,
28789,
1,
796,
705,
8505... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1255,
329,
14819,
618,
27139,
318,
645,
11,
290,
30422,
318,
3763,
30,
46506,
366,
21102,
12544,
1,
16034,
3084,
62,
43147,
2996,
33411,
366,
2782,
25078,
1,
796,
705,
3919,
6,
5357,
366,
32,
28789,
1,
796,
705,
8505... |
Which record has a Date of april 25? | SELECT record FROM table_name_96 WHERE date = "april 25" | [
13828,
1700,
468,
257,
7536,
286,
46593,
346,
1679,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
4846,
33411,
3128,
796,
366,
499,
22379,
1679,
1
] | [
1,
1,
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,
1700,
468,
257,
7536,
286,
46593,
346,
1679,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
4846,
33411,
3128,
796,
366,
499,
22379,
1679,
1
] |
What was the call sign for ERP W of 99? | SELECT call_sign FROM table_name_68 WHERE erp_w = 99 | [
2061,
373,
262,
869,
1051,
329,
13793,
47,
370,
286,
7388,
30,
46506,
869,
62,
12683,
16034,
3084,
62,
3672,
62,
3104,
33411,
1931,
79,
62,
86,
796,
7388
] | [
1,
1,
1,
1,
1,
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,
869,
1051,
329,
13793,
47,
370,
286,
7388,
30,
46506,
869,
62,
12683,
16034,
3084,
62,
3672,
62,
3104,
33411,
1931,
79,
62,
86,
796,
7388
] |
what's the team with stadium being borough briggs | SELECT team FROM table_14003108_1 WHERE stadium = "Borough Briggs" | [
10919,
338,
262,
1074,
351,
10308,
852,
33534,
865,
20340,
46506,
1074,
16034,
3084,
62,
1415,
11245,
15711,
62,
16,
33411,
10308,
796,
366,
33,
7985,
44630,
1
] | [
1,
1,
1,
1,
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,
1074,
351,
10308,
852,
33534,
865,
20340,
46506,
1074,
16034,
3084,
62,
1415,
11245,
15711,
62,
16,
33411,
10308,
796,
366,
33,
7985,
44630,
1
] |
give me the number of patients whose admission year is less than 2115 and item id is 51025? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2115" AND lab.itemid = "51025" | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
15363,
290,
2378,
4686,
318,
35148,
1495,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
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... | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
15363,
290,
2378,
4686,
318,
35148,
1495,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2... |
What is the lowest image with a 20w Harrison, and less than 20 for Ashmolean? | SELECT MIN("Image") FROM table_67357 WHERE "Harrison" = '20w' AND "Ashmolean" < '20' | [
2061,
318,
262,
9016,
2939,
351,
257,
1160,
86,
17281,
11,
290,
1342,
621,
1160,
329,
7844,
76,
21052,
30,
46506,
20625,
7203,
5159,
4943,
16034,
3084,
62,
3134,
27277,
33411,
366,
39,
22472,
1,
796,
705,
1238,
86,
6,
5357,
366,
267... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
2939,
351,
257,
1160,
86,
17281,
11,
290,
1342,
621,
1160,
329,
7844,
76,
21052,
30,
46506,
20625,
7203,
5159,
4943,
16034,
3084,
62,
3134,
27277,
33411,
366,
39,
22472,
1,
796,
705,
1238,
86,
6,
5357,
366,
267... |
what name has an appointed year of 2009 and years until mandatory retirement of 13 years? | SELECT name FROM table_name_40 WHERE year_appointed = 2009 AND years_until_mandatory_retirement = "13 years" | [
10919,
1438,
468,
281,
9899,
614,
286,
3717,
290,
812,
1566,
13677,
10737,
286,
1511,
812,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
1821,
33411,
614,
62,
32924,
796,
3717,
5357,
812,
62,
28446,
62,
22249,
2870,
62,
1186,
24615,
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
] | [
10919,
1438,
468,
281,
9899,
614,
286,
3717,
290,
812,
1566,
13677,
10737,
286,
1511,
812,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
1821,
33411,
614,
62,
32924,
796,
3717,
5357,
812,
62,
28446,
62,
22249,
2870,
62,
1186,
24615,
796... |
What are the Opponents that have Djurg rden scorers of sj lund (2)? | SELECT "Opponents" FROM table_48952 WHERE "Djurg\u00e5rden scorers" = 'sjölund (2)' | [
2061,
389,
262,
9385,
3906,
326,
423,
19307,
3686,
374,
6559,
4776,
3808,
286,
264,
73,
300,
917,
357,
17,
19427,
46506,
366,
27524,
3906,
1,
16034,
3084,
62,
2780,
49234,
33411,
366,
35,
73,
3686,
59,
84,
405,
68,
20,
4372,
268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9385,
3906,
326,
423,
19307,
3686,
374,
6559,
4776,
3808,
286,
264,
73,
300,
917,
357,
17,
19427,
46506,
366,
27524,
3906,
1,
16034,
3084,
62,
2780,
49234,
33411,
366,
35,
73,
3686,
59,
84,
405,
68,
20,
4372,
268,
... |
Find the department name and room of the course INTRODUCTION TO COMPUTER SCIENCE. | SELECT T2.Dname, T2.Room FROM COURSE AS T1 JOIN DEPARTMENT AS T2 ON T1.DNO = T2.DNO WHERE T1.CName = "INTRODUCTION TO COMPUTER SCIENCE" | [
16742,
262,
5011,
1438,
290,
2119,
286,
262,
1781,
3268,
5446,
28644,
2849,
5390,
24301,
3843,
1137,
6374,
42589,
13,
46506,
309,
17,
13,
35,
3672,
11,
309,
17,
13,
41178,
16034,
37384,
5188,
7054,
309,
16,
32357,
1268,
5550,
30709,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5011,
1438,
290,
2119,
286,
262,
1781,
3268,
5446,
28644,
2849,
5390,
24301,
3843,
1137,
6374,
42589,
13,
46506,
309,
17,
13,
35,
3672,
11,
309,
17,
13,
41178,
16034,
37384,
5188,
7054,
309,
16,
32357,
1268,
5550,
30709,
1... |
On which day was the order placed whose shipment tracking number is 3452? | SELECT T1.date_order_placed FROM orders AS T1 JOIN shipments AS T2 ON T1.order_id = T2.order_id WHERE T2.shipment_tracking_number = 3452 | [
2202,
543,
1110,
373,
262,
1502,
4624,
3025,
28652,
9646,
1271,
318,
513,
37730,
30,
46506,
309,
16,
13,
4475,
62,
2875,
62,
21820,
16034,
6266,
7054,
309,
16,
32357,
1268,
29311,
7054,
309,
17,
6177,
309,
16,
13,
2875,
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
] | [
2202,
543,
1110,
373,
262,
1502,
4624,
3025,
28652,
9646,
1271,
318,
513,
37730,
30,
46506,
309,
16,
13,
4475,
62,
2875,
62,
21820,
16034,
6266,
7054,
309,
16,
32357,
1268,
29311,
7054,
309,
17,
6177,
309,
16,
13,
2875,
62,
312,
796... |
Which game did marc gasol (10) have the high rebounds? | SELECT game FROM table_27756474_2 WHERE high_rebounds = "Marc Gasol (10)" | [
13828,
983,
750,
1667,
66,
3623,
349,
357,
940,
8,
423,
262,
1029,
18841,
30,
46506,
983,
16034,
3084,
62,
1983,
2425,
2414,
4524,
62,
17,
33411,
1029,
62,
34806,
3733,
796,
366,
22697,
14345,
349,
357,
940,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
750,
1667,
66,
3623,
349,
357,
940,
8,
423,
262,
1029,
18841,
30,
46506,
983,
16034,
3084,
62,
1983,
2425,
2414,
4524,
62,
17,
33411,
1029,
62,
34806,
3733,
796,
366,
22697,
14345,
349,
357,
940,
16725
] |
What team is Keith Mccambridge on? | SELECT "College/junior/club team" FROM table_15981 WHERE "Player" = 'Keith McCambridge' | [
2061,
1074,
318,
14926,
337,
535,
321,
9458,
319,
30,
46506,
366,
38951,
14,
29741,
1504,
14,
18664,
1074,
1,
16034,
3084,
62,
1314,
4089,
16,
33411,
366,
14140,
1,
796,
705,
46868,
5108,
321,
9458,
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
] | [
2061,
1074,
318,
14926,
337,
535,
321,
9458,
319,
30,
46506,
366,
38951,
14,
29741,
1504,
14,
18664,
1074,
1,
16034,
3084,
62,
1314,
4089,
16,
33411,
366,
14140,
1,
796,
705,
46868,
5108,
321,
9458,
6
] |
Name the title for 446913 | SELECT title FROM table_2409041_4 WHERE production_code = 446913 | [
5376,
262,
3670,
329,
5846,
3388,
1485,
46506,
3670,
16034,
3084,
62,
1731,
2931,
50049,
62,
19,
33411,
3227,
62,
8189,
796,
5846,
3388,
1485
] | [
1,
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,
3670,
329,
5846,
3388,
1485,
46506,
3670,
16034,
3084,
62,
1731,
2931,
50049,
62,
19,
33411,
3227,
62,
8189,
796,
5846,
3388,
1485
] |
What is the average population in 2006 that has more than 5 people in 2011 and an area 5.84km? | SELECT AVG(population__2006_) FROM table_name_14 WHERE population__2011_ > 5 AND area__km_2__ = 5.84 | [
2061,
318,
262,
2811,
3265,
287,
4793,
326,
468,
517,
621,
642,
661,
287,
2813,
290,
281,
1989,
642,
13,
5705,
13276,
30,
46506,
35224,
7,
39748,
834,
13330,
62,
8,
16034,
3084,
62,
3672,
62,
1415,
33411,
3265,
834,
9804,
62,
1875,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3265,
287,
4793,
326,
468,
517,
621,
642,
661,
287,
2813,
290,
281,
1989,
642,
13,
5705,
13276,
30,
46506,
35224,
7,
39748,
834,
13330,
62,
8,
16034,
3084,
62,
3672,
62,
1415,
33411,
3265,
834,
9804,
62,
1875,
... |
What are the different affiliations, and what is the total enrollment of schools founded after 1850 for each enrollment type. Visualize by bar chart. | SELECT Affiliation, SUM(Enrollment) FROM university WHERE Founded > 1850 GROUP BY Affiliation | [
2061,
389,
262,
1180,
8349,
602,
11,
290,
644,
318,
262,
2472,
20753,
286,
4266,
9393,
706,
35745,
329,
1123,
20753,
2099,
13,
15612,
1096,
416,
2318,
8262,
13,
46506,
6708,
15547,
11,
35683,
7,
4834,
48108,
8,
16034,
6403,
33411,
406... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1180,
8349,
602,
11,
290,
644,
318,
262,
2472,
20753,
286,
4266,
9393,
706,
35745,
329,
1123,
20753,
2099,
13,
15612,
1096,
416,
2318,
8262,
13,
46506,
6708,
15547,
11,
35683,
7,
4834,
48108,
8,
16034,
6403,
33411,
406... |
Name the Outcome has a Surface of hard, and a Score in the final of 6 2, 6 4? | SELECT outcome FROM table_name_82 WHERE surface = "hard" AND score_in_the_final = "6–2, 6–4" | [
5376,
262,
3806,
2958,
468,
257,
20321,
286,
1327,
11,
290,
257,
15178,
287,
262,
2457,
286,
718,
362,
11,
718,
604,
30,
46506,
8055,
16034,
3084,
62,
3672,
62,
6469,
33411,
4417,
796,
366,
10424,
1,
5357,
4776,
62,
259,
62,
1169,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3806,
2958,
468,
257,
20321,
286,
1327,
11,
290,
257,
15178,
287,
262,
2457,
286,
718,
362,
11,
718,
604,
30,
46506,
8055,
16034,
3084,
62,
3672,
62,
6469,
33411,
4417,
796,
366,
10424,
1,
5357,
4776,
62,
259,
62,
1169,
... |
Find All_Home and School_ID , and group by attribute ACC_Home, and visualize them by a bar chart, sort X-axis in descending order. | SELECT All_Home, School_ID FROM basketball_match GROUP BY ACC_Home, All_Home ORDER BY All_Home DESC | [
16742,
1439,
62,
16060,
290,
3961,
62,
2389,
837,
290,
1448,
416,
11688,
15859,
62,
16060,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
3297,
1395,
12,
22704,
287,
31491,
1502,
13,
46506,
1439,
62,
16060,
11,
3961,
62,
2389,
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
] | [
16742,
1439,
62,
16060,
290,
3961,
62,
2389,
837,
290,
1448,
416,
11688,
15859,
62,
16060,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
3297,
1395,
12,
22704,
287,
31491,
1502,
13,
46506,
1439,
62,
16060,
11,
3961,
62,
2389,
16034,
... |
Which airport has an IATA Code of ORD? | SELECT "Airport Name" FROM table_22104 WHERE "IATA Code" = 'ORD' | [
13828,
9003,
468,
281,
314,
13563,
6127,
286,
6375,
35,
30,
46506,
366,
16170,
634,
6530,
1,
16034,
3084,
62,
1828,
13464,
33411,
366,
40,
13563,
6127,
1,
796,
705,
12532,
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
] | [
13828,
9003,
468,
281,
314,
13563,
6127,
286,
6375,
35,
30,
46506,
366,
16170,
634,
6530,
1,
16034,
3084,
62,
1828,
13464,
33411,
366,
40,
13563,
6127,
1,
796,
705,
12532,
6
] |
how many days have elapsed since the last nitroprusside sodium prescription patient 10855 received in their current hospital visit? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', prescriptions.startdate)) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 10855 AND admissions.dischtime IS NULL) AND prescriptions.drug = 'nitroprusside sodium' ORDER BY prescriptions.... | [
4919,
867,
1528,
423,
42118,
1201,
262,
938,
13759,
305,
1050,
1046,
485,
21072,
15077,
5827,
15495,
2816,
2722,
287,
511,
1459,
4436,
3187,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
1528,
423,
42118,
1201,
262,
938,
13759,
305,
1050,
1046,
485,
21072,
15077,
5827,
15495,
2816,
2722,
287,
511,
1459,
4436,
3187,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955... |
how many candidates were from halifax ? | SELECT COUNT("candidate") FROM table_204_786 WHERE "residence" = 'halifax' | [
4919,
867,
5871,
547,
422,
10284,
26590,
5633,
46506,
327,
28270,
7203,
46188,
20540,
4943,
16034,
3084,
62,
18638,
62,
46302,
33411,
366,
411,
1704,
1,
796,
705,
14201,
26590,
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
] | [
4919,
867,
5871,
547,
422,
10284,
26590,
5633,
46506,
327,
28270,
7203,
46188,
20540,
4943,
16034,
3084,
62,
18638,
62,
46302,
33411,
366,
411,
1704,
1,
796,
705,
14201,
26590,
6
] |
count the number of patients whose diagnoses short title is atrial fibrillation and drug route is tp? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Atrial fibrillation" AND prescriptions.route = "TP" | [
9127,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
379,
4454,
277,
2889,
40903,
290,
2563,
6339,
318,
256,
79,
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... | [
9127,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
379,
4454,
277,
2889,
40903,
290,
2563,
6339,
318,
256,
79,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268... |
find out if the patient jerry deberry is still alive. | SELECT demographic.expire_flag FROM demographic WHERE demographic.name = "Jerry Deberry" | [
19796,
503,
611,
262,
5827,
474,
6996,
390,
8396,
318,
991,
6776,
13,
46506,
16728,
13,
1069,
5111,
62,
32109,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
43462,
1024,
8396,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
19796,
503,
611,
262,
5827,
474,
6996,
390,
8396,
318,
991,
6776,
13,
46506,
16728,
13,
1069,
5111,
62,
32109,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
43462,
1024,
8396,
1
] |
What is Lawson Little's Money ($) amount? | SELECT money___$__ FROM table_name_30 WHERE player = "lawson little" | [
2061,
318,
35892,
7703,
338,
12911,
45491,
2033,
30,
46506,
1637,
17569,
3,
834,
16034,
3084,
62,
3672,
62,
1270,
33411,
2137,
796,
366,
6270,
1559,
1310,
1
] | [
1,
1,
1,
1,
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,
35892,
7703,
338,
12911,
45491,
2033,
30,
46506,
1637,
17569,
3,
834,
16034,
3084,
62,
3672,
62,
1270,
33411,
2137,
796,
366,
6270,
1559,
1310,
1
] |
Questions which have ever had $$ in their titles. | SELECT PostId AS "post_link" FROM PostHistory WHERE PostHistoryTypeId IN (1, 4) AND Text LIKE '%$$%' COLLATE Latin1_General_BIN2 GROUP BY PostId ORDER BY PostId DESC | [
35741,
543,
423,
1683,
550,
32382,
287,
511,
8714,
13,
46506,
2947,
7390,
7054,
366,
7353,
62,
8726,
1,
16034,
2947,
18122,
33411,
2947,
18122,
6030,
7390,
3268,
357,
16,
11,
604,
8,
5357,
8255,
34178,
705,
4,
13702,
4,
6,
7375,
306... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
35741,
543,
423,
1683,
550,
32382,
287,
511,
8714,
13,
46506,
2947,
7390,
7054,
366,
7353,
62,
8726,
1,
16034,
2947,
18122,
33411,
2947,
18122,
6030,
7390,
3268,
357,
16,
11,
604,
8,
5357,
8255,
34178,
705,
4,
13702,
4,
6,
7375,
306... |
Name the record for arizona | SELECT record FROM table_22815259_1 WHERE opponent = "Arizona" | [
5376,
262,
1700,
329,
257,
380,
7551,
46506,
1700,
16034,
3084,
62,
23815,
1314,
25191,
62,
16,
33411,
6125,
796,
366,
40732,
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,
1700,
329,
257,
380,
7551,
46506,
1700,
16034,
3084,
62,
23815,
1314,
25191,
62,
16,
33411,
6125,
796,
366,
40732,
1
] |
Which Team has a Year of 2000? | SELECT team FROM table_name_45 WHERE year = 2000 | [
13828,
4816,
468,
257,
6280,
286,
4751,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
2231,
33411,
614,
796,
4751
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
4816,
468,
257,
6280,
286,
4751,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
2231,
33411,
614,
796,
4751
] |
What was the average attendance of a team with a 38 31 8 record? | SELECT AVG(attendance) FROM table_name_16 WHERE record = "38–31–8" | [
2061,
373,
262,
2811,
14858,
286,
257,
1074,
351,
257,
4353,
3261,
807,
1700,
30,
46506,
35224,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
1433,
33411,
1700,
796,
366,
2548,
1906,
3132,
1906,
23,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
2811,
14858,
286,
257,
1074,
351,
257,
4353,
3261,
807,
1700,
30,
46506,
35224,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
1433,
33411,
1700,
796,
366,
2548,
1906,
3132,
1906,
23,
1
] |
count the number of government health insurance patients who had wbc, joint fluid lab test. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.insurance = "Government" AND lab.label = "WBC, Joint Fluid" | [
9127,
262,
1271,
286,
1230,
1535,
5096,
3871,
508,
550,
266,
15630,
11,
6466,
11711,
2248,
1332,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
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... | [
9127,
262,
1271,
286,
1230,
1535,
5096,
3871,
508,
550,
266,
15630,
11,
6466,
11711,
2248,
1332,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
... |
What is the tournament when 2010 is q2, and 2009 is 1r? | SELECT tournament FROM table_name_93 WHERE 2010 = "q2" AND 2009 = "1r" | [
2061,
318,
262,
7756,
618,
3050,
318,
10662,
17,
11,
290,
3717,
318,
352,
81,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
6052,
33411,
3050,
796,
366,
80,
17,
1,
5357,
3717,
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,
318,
262,
7756,
618,
3050,
318,
10662,
17,
11,
290,
3717,
318,
352,
81,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
6052,
33411,
3050,
796,
366,
80,
17,
1,
5357,
3717,
796,
366,
16,
81,
1
] |
What is the Thai name for the word abbreviated . .? | SELECT thai_name FROM table_name_75 WHERE abbr = "มี.ค." | [
2061,
318,
262,
18933,
1438,
329,
262,
1573,
37640,
515,
764,
764,
30,
46506,
294,
1872,
62,
3672,
16034,
3084,
62,
3672,
62,
2425,
33411,
450,
1671,
796,
366,
19567,
94,
19567,
113,
13,
19567,
226,
526
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18933,
1438,
329,
262,
1573,
37640,
515,
764,
764,
30,
46506,
294,
1872,
62,
3672,
16034,
3084,
62,
3672,
62,
2425,
33411,
450,
1671,
796,
366,
19567,
94,
19567,
113,
13,
19567,
226,
526
] |
what was the last hospital admission time in which patient 006-57924 was admitted via the emergency department? | SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '006-57924' AND patient.hospitaladmitsource = 'emergency department' ORDER BY patient.hospitaladmittime DESC LIMIT 1 | [
10919,
373,
262,
938,
4436,
13938,
640,
287,
543,
5827,
3571,
21,
12,
41734,
1731,
373,
6848,
2884,
262,
6334,
5011,
30,
46506,
5827,
13,
49257,
324,
20124,
524,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
28041,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
938,
4436,
13938,
640,
287,
543,
5827,
3571,
21,
12,
41734,
1731,
373,
6848,
2884,
262,
6334,
5011,
30,
46506,
5827,
13,
49257,
324,
20124,
524,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
28041,
12,
... |
how many white ethnic background patients are diagnosed with mechanical complication due to other implant and internal device, not elsewhere classified? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "WHITE" AND diagnoses.long_title = "Mechanical complication due to other implant and internal device, not elsewhere classified" | [
4919,
867,
2330,
9450,
4469,
3871,
389,
14641,
351,
12370,
45185,
2233,
284,
584,
29016,
290,
5387,
3335,
11,
407,
8057,
10090,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
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... | [
4919,
867,
2330,
9450,
4469,
3871,
389,
14641,
351,
12370,
45185,
2233,
284,
584,
29016,
290,
5387,
3335,
11,
407,
8057,
10090,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3... |
what was the average value for sao2 for patient 016-18150 on last month/03? | SELECT AVG(vitalperiodic.sao2) FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-18150')) AND NOT vitalperiodic.sao2 IS NULL AND DATET... | [
10919,
373,
262,
2811,
1988,
329,
473,
78,
17,
329,
5827,
5534,
21,
12,
1507,
8628,
319,
938,
1227,
14,
3070,
30,
46506,
35224,
7,
85,
1287,
41007,
291,
13,
82,
5488,
17,
8,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
1988,
329,
473,
78,
17,
329,
5827,
5534,
21,
12,
1507,
8628,
319,
938,
1227,
14,
3070,
30,
46506,
35224,
7,
85,
1287,
41007,
291,
13,
82,
5488,
17,
8,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26... |
Which tournament has raffaella reggi listed as the opponent in the final? | SELECT tournament FROM table_name_55 WHERE opponent_in_the_final = "raffaella reggi" | [
13828,
7756,
468,
374,
2001,
64,
12627,
842,
12397,
5610,
355,
262,
6125,
287,
262,
2457,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
2816,
33411,
6125,
62,
259,
62,
1169,
62,
20311,
796,
366,
430,
487,
64,
12627,
842,
12397,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7756,
468,
374,
2001,
64,
12627,
842,
12397,
5610,
355,
262,
6125,
287,
262,
2457,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
2816,
33411,
6125,
62,
259,
62,
1169,
62,
20311,
796,
366,
430,
487,
64,
12627,
842,
12397,
1
] |
Out of all the highest-level classes , which ones are 2 credits ? | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.credits = 2 AND program_course.category LIKE 'ULCS' | [
7975,
286,
477,
262,
4511,
12,
5715,
6097,
837,
543,
3392,
389,
362,
10824,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1430,
62,
17319,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4511,
12,
5715,
6097,
837,
543,
3392,
389,
362,
10824,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1430,
62,
17319,
61... |
What is the junior type with an intake of 60 and a DCSF number less than 3386 with the smallest Ofsted number? | SELECT MIN(ofsted_number) FROM table_name_62 WHERE intake = 60 AND type = "junior" AND dcsf_number < 3386 | [
2061,
318,
262,
13430,
2099,
351,
281,
10337,
286,
3126,
290,
257,
6257,
20802,
1271,
1342,
621,
513,
21734,
351,
262,
18197,
3226,
30679,
1271,
30,
46506,
20625,
7,
1659,
30679,
62,
17618,
8,
16034,
3084,
62,
3672,
62,
5237,
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
] | [
2061,
318,
262,
13430,
2099,
351,
281,
10337,
286,
3126,
290,
257,
6257,
20802,
1271,
1342,
621,
513,
21734,
351,
262,
18197,
3226,
30679,
1271,
30,
46506,
20625,
7,
1659,
30679,
62,
17618,
8,
16034,
3084,
62,
3672,
62,
5237,
33411,
1... |
Which lowest year has a Position of rb, and a College of louisiana state? | SELECT MIN(year) FROM table_name_27 WHERE position = "rb" AND college = "louisiana state" | [
13828,
9016,
614,
468,
257,
23158,
286,
374,
65,
11,
290,
257,
5535,
286,
21081,
271,
7484,
1181,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
1983,
33411,
2292,
796,
366,
26145,
1,
5357,
4152,
796,
366,
75,
280,
271,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9016,
614,
468,
257,
23158,
286,
374,
65,
11,
290,
257,
5535,
286,
21081,
271,
7484,
1181,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
1983,
33411,
2292,
796,
366,
26145,
1,
5357,
4152,
796,
366,
75,
280,
271,
... |
What is the description of the intact software? | SELECT "Description" FROM table_27711 WHERE "Software" = 'IntAct' | [
2061,
318,
262,
6764,
286,
262,
16572,
3788,
30,
46506,
366,
11828,
1,
16034,
3084,
62,
27019,
1157,
33411,
366,
25423,
1,
796,
705,
5317,
6398,
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
] | [
2061,
318,
262,
6764,
286,
262,
16572,
3788,
30,
46506,
366,
11828,
1,
16034,
3084,
62,
27019,
1157,
33411,
366,
25423,
1,
796,
705,
5317,
6398,
6
] |
Post types with post counts.. See http://data.stackexchange.com/stackoverflow/s/2079/posts-by-postid?TypeId=6
(replace 6 with the Id) for the list of posts of a specific type.
PrivilegeWiki is only available on MSO. | SELECT COUNT(Posts.Id) AS count FROM Posts | [
6307,
3858,
351,
1281,
9853,
492,
4091,
2638,
1378,
7890,
13,
301,
330,
365,
87,
3803,
13,
785,
14,
25558,
2502,
11125,
14,
82,
14,
1238,
3720,
14,
24875,
12,
1525,
12,
7353,
312,
30,
6030,
7390,
28,
21,
198,
7,
33491,
718,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
6307,
3858,
351,
1281,
9853,
492,
4091,
2638,
1378,
7890,
13,
301,
330,
365,
87,
3803,
13,
785,
14,
25558,
2502,
11125,
14,
82,
14,
1238,
3720,
14,
24875,
12,
1525,
12,
7353,
312,
30,
6030,
7390,
28,
21,
198,
7,
33491,
718,
351,
... |
i need a flight tomorrow from ATLANTA to BALTIMORE | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BALTIMORE' AND date_day.day_number = 20 AND date_day.month_number = 1 AND... | [
72,
761,
257,
5474,
9439,
422,
5161,
25697,
5603,
284,
347,
31429,
3955,
1581,
33635,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
72,
761,
257,
5474,
9439,
422,
5161,
25697,
5603,
284,
347,
31429,
3955,
1581,
33635,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7... |
How many conditions have an unaffected prothrombin time and a prolonged bleeding time | SELECT COUNT("Condition") FROM table_16417 WHERE "Prothrombin time" = 'Unaffected' AND "Bleeding time" = 'Prolonged' | [
2437,
867,
3403,
423,
281,
35290,
386,
400,
398,
8800,
640,
290,
257,
20573,
16832,
640,
46506,
327,
28270,
7203,
48362,
4943,
16034,
3084,
62,
23237,
1558,
33411,
366,
2964,
400,
398,
8800,
640,
1,
796,
705,
3118,
43958,
6,
5357,
366... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
3403,
423,
281,
35290,
386,
400,
398,
8800,
640,
290,
257,
20573,
16832,
640,
46506,
327,
28270,
7203,
48362,
4943,
16034,
3084,
62,
23237,
1558,
33411,
366,
2964,
400,
398,
8800,
640,
1,
796,
705,
3118,
43958,
6,
5357,
366... |
Show the detail of vehicle with id 1. | SELECT vehicle_details FROM Vehicles WHERE vehicle_id = 1 | [
15307,
262,
3703,
286,
4038,
351,
4686,
352,
13,
46506,
4038,
62,
36604,
16034,
31365,
33411,
4038,
62,
312,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
3703,
286,
4038,
351,
4686,
352,
13,
46506,
4038,
62,
36604,
16034,
31365,
33411,
4038,
62,
312,
796,
352
] |
How many years where Neu-Vehlefanz had a number of 365? | SELECT COUNT(year) FROM table_11680175_1 WHERE Neu - vehlefanz = 365 | [
2437,
867,
812,
810,
3169,
84,
12,
37870,
293,
24408,
89,
550,
257,
1271,
286,
21268,
30,
46506,
327,
28270,
7,
1941,
8,
16034,
3084,
62,
1157,
3104,
486,
2425,
62,
16,
33411,
3169,
84,
532,
2844,
293,
24408,
89,
796,
21268
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
812,
810,
3169,
84,
12,
37870,
293,
24408,
89,
550,
257,
1271,
286,
21268,
30,
46506,
327,
28270,
7,
1941,
8,
16034,
3084,
62,
1157,
3104,
486,
2425,
62,
16,
33411,
3169,
84,
532,
2844,
293,
24408,
89,
796,
21268
] |
Who was the home team on February 3? | SELECT home FROM table_name_68 WHERE date = "february 3" | [
8241,
373,
262,
1363,
1074,
319,
3945,
513,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
3104,
33411,
3128,
796,
366,
69,
1765,
3728,
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
] | [
8241,
373,
262,
1363,
1074,
319,
3945,
513,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
3104,
33411,
3128,
796,
366,
69,
1765,
3728,
513,
1
] |
For those employees who did not have any job in the past, give me the comparison about the average of department_id over the job_id , and group by attribute job_id, and order from low to high by the Y-axis. | SELECT JOB_ID, AVG(DEPARTMENT_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID ORDER BY AVG(DEPARTMENT_ID) | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
5011,
62,
312,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
1502,
422,
1877,
284,
1029,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1577,
502,
262,
7208,
546,
262,
2811,
286,
5011,
62,
312,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
1502,
422,
1877,
284,
1029,... |
Where was the home court on April 14? | SELECT "Home" FROM table_43765 WHERE "Date" = 'april 14' | [
8496,
373,
262,
1363,
2184,
319,
3035,
1478,
30,
46506,
366,
16060,
1,
16034,
3084,
62,
43284,
2996,
33411,
366,
10430,
1,
796,
705,
499,
22379,
1478,
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
] | [
8496,
373,
262,
1363,
2184,
319,
3035,
1478,
30,
46506,
366,
16060,
1,
16034,
3084,
62,
43284,
2996,
33411,
366,
10430,
1,
796,
705,
499,
22379,
1478,
6
] |
What was the score for t9 place for Harold Mcspaden? | SELECT score FROM table_name_9 WHERE place = "t9" AND player = "harold mcspaden" | [
2061,
373,
262,
4776,
329,
256,
24,
1295,
329,
23987,
1982,
2777,
40780,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
24,
33411,
1295,
796,
366,
83,
24,
1,
5357,
2137,
796,
366,
9869,
727,
36650,
2777,
40780,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
329,
256,
24,
1295,
329,
23987,
1982,
2777,
40780,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
24,
33411,
1295,
796,
366,
83,
24,
1,
5357,
2137,
796,
366,
9869,
727,
36650,
2777,
40780,
1
] |
What event has a 122.5 snatch rate? | SELECT "Event" FROM table_78259 WHERE "Snatch" = '122.5' | [
2061,
1785,
468,
257,
19409,
13,
20,
43388,
2494,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
3695,
25191,
33411,
366,
16501,
963,
1,
796,
705,
18376,
13,
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
] | [
2061,
1785,
468,
257,
19409,
13,
20,
43388,
2494,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
3695,
25191,
33411,
366,
16501,
963,
1,
796,
705,
18376,
13,
20,
6
] |
The box office was $961,147 in what year? | SELECT "Year" FROM table_34134 WHERE "Box office" = '$961,147' | [
464,
3091,
2607,
373,
720,
4846,
16,
11,
20198,
287,
644,
614,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
2682,
19880,
33411,
366,
14253,
2607,
1,
796,
705,
3,
4846,
16,
11,
20198,
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
] | [
464,
3091,
2607,
373,
720,
4846,
16,
11,
20198,
287,
644,
614,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
2682,
19880,
33411,
366,
14253,
2607,
1,
796,
705,
3,
4846,
16,
11,
20198,
6
] |
Show the number of different competition types with a bar graph, and order by the bar in asc please. | SELECT Competition_type, COUNT(Competition_type) FROM competition GROUP BY Competition_type ORDER BY Competition_type | [
15307,
262,
1271,
286,
1180,
5449,
3858,
351,
257,
2318,
4823,
11,
290,
1502,
416,
262,
2318,
287,
10570,
3387,
13,
46506,
27348,
62,
4906,
11,
327,
28270,
7,
7293,
15620,
62,
4906,
8,
16034,
5449,
44441,
11050,
27348,
62,
4906,
38678... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
1271,
286,
1180,
5449,
3858,
351,
257,
2318,
4823,
11,
290,
1502,
416,
262,
2318,
287,
10570,
3387,
13,
46506,
27348,
62,
4906,
11,
327,
28270,
7,
7293,
15620,
62,
4906,
8,
16034,
5449,
44441,
11050,
27348,
62,
4906,
38678... |
do you have a flight from BOSTON to FORT WORTH | 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 = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'FORT WO... | [
4598,
345,
423,
257,
5474,
422,
347,
10892,
1340,
284,
7473,
51,
21881,
4221,
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,
316... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
347,
10892,
1340,
284,
7473,
51,
21881,
4221,
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,
316... |
What is the Outcome of the match with a Score of 6 3, 6 4? | SELECT outcome FROM table_name_75 WHERE score = "6–3, 6–4" | [
2061,
318,
262,
3806,
2958,
286,
262,
2872,
351,
257,
15178,
286,
718,
513,
11,
718,
604,
30,
46506,
8055,
16034,
3084,
62,
3672,
62,
2425,
33411,
4776,
796,
366,
21,
1906,
18,
11,
718,
1906,
19,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3806,
2958,
286,
262,
2872,
351,
257,
15178,
286,
718,
513,
11,
718,
604,
30,
46506,
8055,
16034,
3084,
62,
3672,
62,
2425,
33411,
4776,
796,
366,
21,
1906,
18,
11,
718,
1906,
19,
1
] |
Name the record that has a stream of l1 and score of l 95 111 | SELECT record FROM table_name_45 WHERE streak = "l1" AND score = "l 95–111" | [
5376,
262,
1700,
326,
468,
257,
4269,
286,
300,
16,
290,
4776,
286,
300,
6957,
13374,
46506,
1700,
16034,
3084,
62,
3672,
62,
2231,
33411,
15113,
796,
366,
75,
16,
1,
5357,
4776,
796,
366,
75,
6957,
1906,
16243,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1700,
326,
468,
257,
4269,
286,
300,
16,
290,
4776,
286,
300,
6957,
13374,
46506,
1700,
16034,
3084,
62,
3672,
62,
2231,
33411,
15113,
796,
366,
75,
16,
1,
5357,
4776,
796,
366,
75,
6957,
1906,
16243,
1
] |
what was the last time to be admitted into a hospital that patient 7512 was admitted via the er admit until 2101? | SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 7512 AND admissions.admission_location = 'emergency room admit' AND STRFTIME('%y', admissions.admittime) <= '2101' ORDER BY admissions.admittime DESC LIMIT 1 | [
10919,
373,
262,
938,
640,
284,
307,
6848,
656,
257,
4436,
326,
5827,
5441,
1065,
373,
6848,
2884,
262,
1931,
9159,
1566,
2310,
486,
30,
46506,
25349,
13,
324,
20124,
524,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
5441,
106... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
938,
640,
284,
307,
6848,
656,
257,
4436,
326,
5827,
5441,
1065,
373,
6848,
2884,
262,
1931,
9159,
1566,
2310,
486,
30,
46506,
25349,
13,
324,
20124,
524,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
5441,
106... |
Who is the minister with a term end on 10 March 1974? | SELECT minister FROM table_name_71 WHERE term_end = "10 march 1974" | [
8241,
318,
262,
5342,
351,
257,
3381,
886,
319,
838,
2805,
16489,
30,
46506,
5342,
16034,
3084,
62,
3672,
62,
4869,
33411,
3381,
62,
437,
796,
366,
940,
9960,
16489,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
5342,
351,
257,
3381,
886,
319,
838,
2805,
16489,
30,
46506,
5342,
16034,
3084,
62,
3672,
62,
4869,
33411,
3381,
62,
437,
796,
366,
940,
9960,
16489,
1
] |
What is Paul Tracy's best time racing on the Forsythe Racing team? | SELECT "Best" FROM table_10358 WHERE "Team" = 'forsythe racing' AND "Name" = 'paul tracy' | [
2061,
318,
3362,
31140,
338,
1266,
640,
11717,
319,
262,
27325,
88,
1169,
14954,
1074,
30,
46506,
366,
13014,
1,
16034,
3084,
62,
940,
31128,
33411,
366,
15592,
1,
796,
705,
69,
669,
88,
1169,
11717,
6,
5357,
366,
5376,
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
] | [
2061,
318,
3362,
31140,
338,
1266,
640,
11717,
319,
262,
27325,
88,
1169,
14954,
1074,
30,
46506,
366,
13014,
1,
16034,
3084,
62,
940,
31128,
33411,
366,
15592,
1,
796,
705,
69,
669,
88,
1169,
11717,
6,
5357,
366,
5376,
1,
796,
705,... |
Tell me the chip with frequency larger than 10 | SELECT "Chip" FROM table_32034 WHERE "Frequency [MHz]" > '10' | [
24446,
502,
262,
11594,
351,
8373,
4025,
621,
838,
46506,
366,
49985,
1,
16034,
3084,
62,
19504,
2682,
33411,
366,
37,
28707,
685,
25983,
30866,
1875,
705,
940,
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
] | [
24446,
502,
262,
11594,
351,
8373,
4025,
621,
838,
46506,
366,
49985,
1,
16034,
3084,
62,
19504,
2682,
33411,
366,
37,
28707,
685,
25983,
30866,
1875,
705,
940,
6
] |
How many Drawn have a Lost smaller than 25, and a Goal Difference of +7, and a Played larger than 34? | SELECT COUNT("Drawn") FROM table_78944 WHERE "Lost" < '25' AND "Goal Difference" = '+7' AND "Played" > '34' | [
2437,
867,
50061,
423,
257,
9164,
4833,
621,
1679,
11,
290,
257,
25376,
43795,
286,
1343,
22,
11,
290,
257,
33101,
4025,
621,
4974,
30,
46506,
327,
28270,
7203,
35,
5791,
4943,
16034,
3084,
62,
40401,
2598,
33411,
366,
31042,
1,
1279,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
50061,
423,
257,
9164,
4833,
621,
1679,
11,
290,
257,
25376,
43795,
286,
1343,
22,
11,
290,
257,
33101,
4025,
621,
4974,
30,
46506,
327,
28270,
7203,
35,
5791,
4943,
16034,
3084,
62,
40401,
2598,
33411,
366,
31042,
1,
1279,... |
Which municipality has a party of Lega Friuli-VG that won elections before 2011? | SELECT municipality FROM table_name_34 WHERE party = "lega friuli-vg" AND election < 2011 | [
13828,
27264,
468,
257,
2151,
286,
3564,
64,
19480,
32176,
12,
43490,
326,
1839,
7024,
878,
2813,
30,
46506,
27264,
16034,
3084,
62,
3672,
62,
2682,
33411,
2151,
796,
366,
1455,
64,
32803,
32176,
12,
45119,
1,
5357,
3071,
1279,
2813
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
27264,
468,
257,
2151,
286,
3564,
64,
19480,
32176,
12,
43490,
326,
1839,
7024,
878,
2813,
30,
46506,
27264,
16034,
3084,
62,
3672,
62,
2682,
33411,
2151,
796,
366,
1455,
64,
32803,
32176,
12,
45119,
1,
5357,
3071,
1279,
2813
] |
find out the time of admission and primary disease of patient with patient id 4589. | SELECT demographic.diagnosis, demographic.admittime FROM demographic WHERE demographic.subject_id = "4589" | [
19796,
503,
262,
640,
286,
13938,
290,
4165,
4369,
286,
5827,
351,
5827,
4686,
604,
44169,
13,
46506,
16728,
13,
47356,
5958,
11,
16728,
13,
324,
20124,
524,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
2231,
4531,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
19796,
503,
262,
640,
286,
13938,
290,
4165,
4369,
286,
5827,
351,
5827,
4686,
604,
44169,
13,
46506,
16728,
13,
47356,
5958,
11,
16728,
13,
324,
20124,
524,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
2231,
4531,
1
] |
In what Round was Pick 138? | SELECT SUM("Round") FROM table_39413 WHERE "Pick" = '138' | [
818,
644,
10485,
373,
12346,
21503,
30,
46506,
35683,
7203,
22685,
4943,
16034,
3084,
62,
34626,
1485,
33411,
366,
31686,
1,
796,
705,
20107,
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
] | [
818,
644,
10485,
373,
12346,
21503,
30,
46506,
35683,
7203,
22685,
4943,
16034,
3084,
62,
34626,
1485,
33411,
366,
31686,
1,
796,
705,
20107,
6
] |
Which location was in China, and played on a hard court? | SELECT "Location" FROM table_47940 WHERE "Court surface" = 'hard' AND "Country" = 'china' | [
13828,
4067,
373,
287,
2807,
11,
290,
2826,
319,
257,
1327,
2184,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
31714,
1821,
33411,
366,
36699,
4417,
1,
796,
705,
10424,
6,
5357,
366,
33921,
1,
796,
705,
354,
1437,
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,
4067,
373,
287,
2807,
11,
290,
2826,
319,
257,
1327,
2184,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
31714,
1821,
33411,
366,
36699,
4417,
1,
796,
705,
10424,
6,
5357,
366,
33921,
1,
796,
705,
354,
1437,
6
] |
Create a bar chart showing how many team across team, could you sort in desc by the the number of team please? | SELECT Team, COUNT(Team) FROM Elimination GROUP BY Team ORDER BY COUNT(Team) DESC | [
16447,
257,
2318,
8262,
4478,
703,
867,
1074,
1973,
1074,
11,
714,
345,
3297,
287,
1715,
416,
262,
262,
1271,
286,
1074,
3387,
30,
46506,
4816,
11,
327,
28270,
7,
15592,
8,
16034,
27405,
1883,
44441,
11050,
4816,
38678,
11050,
327,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16447,
257,
2318,
8262,
4478,
703,
867,
1074,
1973,
1074,
11,
714,
345,
3297,
287,
1715,
416,
262,
262,
1271,
286,
1074,
3387,
30,
46506,
4816,
11,
327,
28270,
7,
15592,
8,
16034,
27405,
1883,
44441,
11050,
4816,
38678,
11050,
327,
28... |
Bar graph to show the number of directed by from different directed by, show Y from high to low order. | SELECT Directed_by, COUNT(Directed_by) FROM film GROUP BY Directed_by ORDER BY COUNT(Directed_by) DESC | [
10374,
4823,
284,
905,
262,
1271,
286,
7924,
416,
422,
1180,
7924,
416,
11,
905,
575,
422,
1029,
284,
1877,
1502,
13,
46506,
4128,
276,
62,
1525,
11,
327,
28270,
7,
13470,
276,
62,
1525,
8,
16034,
2646,
44441,
11050,
4128,
276,
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
] | [
10374,
4823,
284,
905,
262,
1271,
286,
7924,
416,
422,
1180,
7924,
416,
11,
905,
575,
422,
1029,
284,
1877,
1502,
13,
46506,
4128,
276,
62,
1525,
11,
327,
28270,
7,
13470,
276,
62,
1525,
8,
16034,
2646,
44441,
11050,
4128,
276,
62,
... |
Name the most margin for nco party and p. ramachandran won | SELECT MAX("Margin") FROM table_25275 WHERE "Party" = 'NCO' AND "Winner" = 'P. Ramachandran' | [
5376,
262,
749,
10330,
329,
299,
1073,
2151,
290,
279,
13,
15770,
620,
392,
2596,
1839,
46506,
25882,
7203,
24428,
259,
4943,
16034,
3084,
62,
1495,
23195,
33411,
366,
33553,
1,
796,
705,
7792,
46,
6,
5357,
366,
48056,
1,
796,
705,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
749,
10330,
329,
299,
1073,
2151,
290,
279,
13,
15770,
620,
392,
2596,
1839,
46506,
25882,
7203,
24428,
259,
4943,
16034,
3084,
62,
1495,
23195,
33411,
366,
33553,
1,
796,
705,
7792,
46,
6,
5357,
366,
48056,
1,
796,
705,
... |
What are the details for Marisa Ferretti Barth? | SELECT "Details" FROM table_33494 WHERE "Name" = 'marisa ferretti barth' | [
2061,
389,
262,
3307,
329,
1526,
9160,
12880,
11489,
72,
44414,
30,
46506,
366,
24259,
1,
16034,
3084,
62,
2091,
39449,
33411,
366,
5376,
1,
796,
705,
3876,
9160,
11354,
11489,
72,
2318,
400,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
3307,
329,
1526,
9160,
12880,
11489,
72,
44414,
30,
46506,
366,
24259,
1,
16034,
3084,
62,
2091,
39449,
33411,
366,
5376,
1,
796,
705,
3876,
9160,
11354,
11489,
72,
2318,
400,
6
] |
What does DeShawn Stevenson weigh? | SELECT SUM(weight) FROM table_name_52 WHERE player = "deshawn stevenson" | [
2061,
857,
1024,
2484,
3832,
38681,
10164,
30,
46506,
35683,
7,
6551,
8,
16034,
3084,
62,
3672,
62,
4309,
33411,
2137,
796,
366,
8906,
3099,
675,
2876,
574,
1559,
1
] | [
1,
1,
1,
1,
1,
1,
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,
857,
1024,
2484,
3832,
38681,
10164,
30,
46506,
35683,
7,
6551,
8,
16034,
3084,
62,
3672,
62,
4309,
33411,
2137,
796,
366,
8906,
3099,
675,
2876,
574,
1559,
1
] |
Name the total number of party for willis alston | SELECT COUNT(party) FROM table_2668243_18 WHERE incumbent = "Willis Alston" | [
5376,
262,
2472,
1271,
286,
2151,
329,
481,
271,
435,
3743,
46506,
327,
28270,
7,
10608,
8,
16034,
3084,
62,
2075,
3104,
26660,
62,
1507,
33411,
23526,
796,
366,
8743,
271,
978,
3743,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
1271,
286,
2151,
329,
481,
271,
435,
3743,
46506,
327,
28270,
7,
10608,
8,
16034,
3084,
62,
2075,
3104,
26660,
62,
1507,
33411,
23526,
796,
366,
8743,
271,
978,
3743,
1
] |
What is the Home team of Tie no 2? | SELECT home_team FROM table_name_20 WHERE tie_no = "2" | [
2061,
318,
262,
5995,
1074,
286,
36286,
645,
362,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
1238,
33411,
9839,
62,
3919,
796,
366,
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
] | [
2061,
318,
262,
5995,
1074,
286,
36286,
645,
362,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
1238,
33411,
9839,
62,
3919,
796,
366,
17,
1
] |
how many patients until 2 years ago had a hyperglycemia diagnosis within 2 months after having undergone stress ulcer treatment - ranitidine? | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'stress ulcer treatment - ranitidine' AND DATETIME(treatment.treatmenttime) <= DATETIME(CURRENT_TIME(), '-2 y... | [
4919,
867,
3871,
1566,
362,
812,
2084,
550,
257,
8718,
10853,
344,
20730,
13669,
1626,
362,
1933,
706,
1719,
29900,
5503,
14856,
2189,
3513,
532,
4966,
270,
39422,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1566,
362,
812,
2084,
550,
257,
8718,
10853,
344,
20730,
13669,
1626,
362,
1933,
706,
1719,
29900,
5503,
14856,
2189,
3513,
532,
4966,
270,
39422,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557... |
Who had the fastest lap when the winning team was Tom's Racing? | SELECT "Fastest Lap" FROM table_20945 WHERE "Winning Team" = 'TOM''S Racing' | [
8241,
550,
262,
14162,
14779,
618,
262,
5442,
1074,
373,
4186,
338,
14954,
30,
46506,
366,
22968,
395,
26944,
1,
16034,
3084,
62,
22567,
2231,
33411,
366,
16643,
768,
4816,
1,
796,
705,
51,
2662,
7061,
50,
14954,
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
] | [
8241,
550,
262,
14162,
14779,
618,
262,
5442,
1074,
373,
4186,
338,
14954,
30,
46506,
366,
22968,
395,
26944,
1,
16034,
3084,
62,
22567,
2231,
33411,
366,
16643,
768,
4816,
1,
796,
705,
51,
2662,
7061,
50,
14954,
6
] |
What's the center of the province that spreads out on 23860 km2? | SELECT "Center" FROM table_26379 WHERE "Area (km\u00b2)" = '23860' | [
2061,
338,
262,
3641,
286,
262,
8473,
326,
26779,
503,
319,
32544,
1899,
10571,
17,
30,
46506,
366,
23656,
1,
16034,
3084,
62,
2075,
29088,
33411,
366,
30547,
357,
13276,
59,
84,
405,
65,
17,
16725,
796,
705,
23721,
1899,
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,
338,
262,
3641,
286,
262,
8473,
326,
26779,
503,
319,
32544,
1899,
10571,
17,
30,
46506,
366,
23656,
1,
16034,
3084,
62,
2075,
29088,
33411,
366,
30547,
357,
13276,
59,
84,
405,
65,
17,
16725,
796,
705,
23721,
1899,
6
] |
Who was the opponent when Richmond played as the home team? | SELECT away_team FROM table_name_56 WHERE home_team = "richmond" | [
8241,
373,
262,
6125,
618,
16940,
2826,
355,
262,
1363,
1074,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
3980,
33411,
1363,
62,
15097,
796,
366,
7527,
6327,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
618,
16940,
2826,
355,
262,
1363,
1074,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
3980,
33411,
1363,
62,
15097,
796,
366,
7527,
6327,
1
] |
User-Tag Answer Stats Over Time. | SELECT COUNT(DISTINCT Answers.Id) AS Answers, COUNT(DISTINCT Votes.BountyAmount) AS Votes FROM Posts AS Answers INNER JOIN Posts AS Questions ON (Answers.ParentId = Questions.Id) INNER JOIN PostTags ON (Questions.Id = PostTags.PostId) INNER JOIN Tags ON (PostTags.TagId = Tags.Id) INNER JOIN Votes ON (Answers.Id = Votes... | [
12982,
12,
24835,
23998,
20595,
3827,
3862,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
42612,
13,
7390,
8,
7054,
42612,
11,
327,
28270,
7,
35,
8808,
1268,
4177,
39584,
13,
33,
17705,
31264,
8,
7054,
39584,
16034,
12043,
7054,
426... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12982,
12,
24835,
23998,
20595,
3827,
3862,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
42612,
13,
7390,
8,
7054,
42612,
11,
327,
28270,
7,
35,
8808,
1268,
4177,
39584,
13,
33,
17705,
31264,
8,
7054,
39584,
16034,
12043,
7054,
426... |
show me the first flight that arrives in TORONTO from CINCINNATI | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'CINCINNATI' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'TO... | [
12860,
502,
262,
717,
5474,
326,
14443,
287,
40691,
1340,
10468,
422,
327,
30158,
1268,
34259,
24352,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
717,
5474,
326,
14443,
287,
40691,
1340,
10468,
422,
327,
30158,
1268,
34259,
24352,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003... |
Show the most common nationality for journalists. | SELECT nationality FROM journalist GROUP BY nationality ORDER BY COUNT(*) DESC LIMIT 1 | [
15307,
262,
749,
2219,
29835,
329,
9046,
13,
46506,
29835,
16034,
10099,
44441,
11050,
29835,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
749,
2219,
29835,
329,
9046,
13,
46506,
29835,
16034,
10099,
44441,
11050,
29835,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] |
What film was made in 1999? | SELECT "Film" FROM table_54021 WHERE "Year" = '1999' | [
2061,
2646,
373,
925,
287,
7358,
30,
46506,
366,
39750,
1,
16034,
3084,
62,
35005,
2481,
33411,
366,
17688,
1,
796,
705,
18946,
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
] | [
2061,
2646,
373,
925,
287,
7358,
30,
46506,
366,
39750,
1,
16034,
3084,
62,
35005,
2481,
33411,
366,
17688,
1,
796,
705,
18946,
6
] |
When did the game with North Melbourne as the away team take place? | SELECT "Date" FROM table_56398 WHERE "Away team" = 'north melbourne' | [
2215,
750,
262,
983,
351,
2258,
14819,
355,
262,
1497,
1074,
1011,
1295,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3980,
31952,
33411,
366,
32,
1014,
1074,
1,
796,
705,
43588,
7758,
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
] | [
2215,
750,
262,
983,
351,
2258,
14819,
355,
262,
1497,
1074,
1011,
1295,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3980,
31952,
33411,
366,
32,
1014,
1074,
1,
796,
705,
43588,
7758,
12544,
6
] |
How many years have a Women's Open of brisbane city cobras def sydney mets, and a Men's 35 of n/A? | SELECT COUNT("Year") FROM table_46944 WHERE "Women's Open" = 'brisbane city cobras def sydney mets' AND "Men's 35" = 'n/a' | [
2437,
867,
812,
423,
257,
6926,
338,
4946,
286,
865,
271,
20235,
1748,
22843,
8847,
825,
827,
67,
1681,
285,
1039,
11,
290,
257,
6065,
338,
3439,
286,
299,
14,
32,
30,
46506,
327,
28270,
7203,
17688,
4943,
16034,
3084,
62,
42947,
25... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
812,
423,
257,
6926,
338,
4946,
286,
865,
271,
20235,
1748,
22843,
8847,
825,
827,
67,
1681,
285,
1039,
11,
290,
257,
6065,
338,
3439,
286,
299,
14,
32,
30,
46506,
327,
28270,
7203,
17688,
4943,
16034,
3084,
62,
42947,
25... |
what is patient 3745's length of stay of the last hospital stay? | SELECT STRFTIME('%j', admissions.dischtime) - STRFTIME('%j', admissions.admittime) FROM admissions WHERE admissions.subject_id = 3745 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1 | [
10919,
318,
5827,
5214,
2231,
338,
4129,
286,
2652,
286,
262,
938,
4436,
2652,
30,
46506,
19269,
9792,
12789,
10786,
4,
73,
3256,
25349,
13,
6381,
354,
2435,
8,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
25349,
13,
324,
20124,
524,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5827,
5214,
2231,
338,
4129,
286,
2652,
286,
262,
938,
4436,
2652,
30,
46506,
19269,
9792,
12789,
10786,
4,
73,
3256,
25349,
13,
6381,
354,
2435,
8,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
25349,
13,
324,
20124,
524,
... |
SELECT DISTINCT
p.Id AS [Post Link], p.CreationDate,
url = 'site://posts/' + CAST(p.Id AS varchar)+'/revisions'
FROM Posts p JOIN PostHistory ph ON (ph.PostId=p.Id)
WHERE
(ph.Text LIKE '%www.math.uga.edu%') OR
(ph.Text LIKE '%mysite.verizon.net%') OR
(ph.Text LIKE '%www.iecn.u-nancy.fr%')
ORDER BY p.CreationDate ... | SELECT DISTINCT p.Id AS "post_link", p.CreationDate, url = 'site://posts/' + CAST(p.Id AS TEXT) + '/revisions' FROM Posts AS p JOIN PostHistory AS ph ON (ph.PostId = p.Id) WHERE (ph.Text LIKE '%www.math.uga.edu%') OR (ph.Text LIKE '%mysite.verizon.net%') OR (ph.Text LIKE '%www.iecn.u-nancy.fr%') ORDER BY p.CreationDate... | [
46506,
360,
8808,
1268,
4177,
198,
279,
13,
7390,
7054,
685,
6307,
7502,
4357,
279,
13,
12443,
341,
10430,
11,
198,
19016,
796,
705,
15654,
1378,
24875,
14,
6,
1343,
327,
11262,
7,
79,
13,
7390,
7054,
410,
998,
283,
47762,
26488,
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,
1,
1,
1,
1... | [
46506,
360,
8808,
1268,
4177,
198,
279,
13,
7390,
7054,
685,
6307,
7502,
4357,
279,
13,
12443,
341,
10430,
11,
198,
19016,
796,
705,
15654,
1378,
24875,
14,
6,
1343,
327,
11262,
7,
79,
13,
7390,
7054,
410,
998,
283,
47762,
26488,
18... |
Which episode had Jamie and John's guest as Mike Tindall? | SELECT "Episode" FROM table_30957 WHERE "Jamie and Johns guest Dermot OLeary replaced Jamie Redknapp as team captain for one week in series 3, episode 8." = 'Mike Tindall' | [
13828,
4471,
550,
17826,
290,
1757,
338,
8319,
355,
4995,
309,
521,
439,
30,
46506,
366,
23758,
1,
16034,
3084,
62,
26895,
3553,
33411,
366,
48337,
290,
25824,
8319,
360,
7780,
313,
440,
48487,
6928,
17826,
2297,
15418,
1324,
355,
1074,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4471,
550,
17826,
290,
1757,
338,
8319,
355,
4995,
309,
521,
439,
30,
46506,
366,
23758,
1,
16034,
3084,
62,
26895,
3553,
33411,
366,
48337,
290,
25824,
8319,
360,
7780,
313,
440,
48487,
6928,
17826,
2297,
15418,
1324,
355,
1074,... |
What position does the player from malvern prep play? | SELECT "Position" FROM table_53628 WHERE "High School" = 'malvern prep' | [
2061,
2292,
857,
262,
2137,
422,
6428,
933,
3143,
711,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
44468,
2078,
33411,
366,
11922,
3961,
1,
796,
705,
7617,
933,
3143,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2292,
857,
262,
2137,
422,
6428,
933,
3143,
711,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
44468,
2078,
33411,
366,
11922,
3961,
1,
796,
705,
7617,
933,
3143,
6
] |
What is the result at valley parade on 4/7/02? | SELECT result FROM table_name_50 WHERE venue = "valley parade" AND date = "4/7/02" | [
2061,
318,
262,
1255,
379,
19272,
16134,
319,
604,
14,
22,
14,
2999,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
1120,
33411,
14359,
796,
366,
2100,
1636,
16134,
1,
5357,
3128,
796,
366,
19,
14,
22,
14,
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,
1
] | [
2061,
318,
262,
1255,
379,
19272,
16134,
319,
604,
14,
22,
14,
2999,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
1120,
33411,
14359,
796,
366,
2100,
1636,
16134,
1,
5357,
3128,
796,
366,
19,
14,
22,
14,
2999,
1
] |
Which is the smallest Total produced with a model of FM H-15-44? | SELECT MIN(total_produced) FROM table_name_68 WHERE model = "fm h-15-44" | [
13828,
318,
262,
18197,
7472,
4635,
351,
257,
2746,
286,
18695,
367,
12,
1314,
12,
2598,
30,
46506,
20625,
7,
23350,
62,
32783,
8,
16034,
3084,
62,
3672,
62,
3104,
33411,
2746,
796,
366,
38353,
289,
12,
1314,
12,
2598,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
318,
262,
18197,
7472,
4635,
351,
257,
2746,
286,
18695,
367,
12,
1314,
12,
2598,
30,
46506,
20625,
7,
23350,
62,
32783,
8,
16034,
3084,
62,
3672,
62,
3104,
33411,
2746,
796,
366,
38353,
289,
12,
1314,
12,
2598,
1
] |
What is the 1999 finish for the tournament in Rome? | SELECT 1999 FROM table_name_24 WHERE tournament = "rome" | [
2061,
318,
262,
7358,
5461,
329,
262,
7756,
287,
10598,
30,
46506,
7358,
16034,
3084,
62,
3672,
62,
1731,
33411,
7756,
796,
366,
5998,
1
] | [
1,
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,
7358,
5461,
329,
262,
7756,
287,
10598,
30,
46506,
7358,
16034,
3084,
62,
3672,
62,
1731,
33411,
7756,
796,
366,
5998,
1
] |
how many innings have an average of 19.60? | SELECT innings FROM table_28846752_5 WHERE average = "19.60" | [
4919,
867,
16267,
423,
281,
2811,
286,
678,
13,
1899,
30,
46506,
16267,
16034,
3084,
62,
25270,
3510,
43665,
62,
20,
33411,
2811,
796,
366,
1129,
13,
1899,
1
] | [
1,
1,
1,
1,
1,
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,
16267,
423,
281,
2811,
286,
678,
13,
1899,
30,
46506,
16267,
16034,
3084,
62,
25270,
3510,
43665,
62,
20,
33411,
2811,
796,
366,
1129,
13,
1899,
1
] |
What was the final score on the February 19, 2012 final? | SELECT "Score in the final" FROM table_36993 WHERE "Date" = 'february 19, 2012' | [
2061,
373,
262,
2457,
4776,
319,
262,
3945,
678,
11,
2321,
2457,
30,
46506,
366,
26595,
287,
262,
2457,
1,
16034,
3084,
62,
2623,
44821,
33411,
366,
10430,
1,
796,
705,
69,
1765,
3728,
678,
11,
2321,
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
] | [
2061,
373,
262,
2457,
4776,
319,
262,
3945,
678,
11,
2321,
2457,
30,
46506,
366,
26595,
287,
262,
2457,
1,
16034,
3084,
62,
2623,
44821,
33411,
366,
10430,
1,
796,
705,
69,
1765,
3728,
678,
11,
2321,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.