instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is the Attendance of the game September 21, 2003? | SELECT attendance FROM table_name_36 WHERE date = "september 21, 2003" | [
2061,
318,
262,
46502,
590,
286,
262,
983,
2693,
2310,
11,
5816,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
2623,
33411,
3128,
796,
366,
325,
457,
1491,
2310,
11,
5816,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
46502,
590,
286,
262,
983,
2693,
2310,
11,
5816,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
2623,
33411,
3128,
796,
366,
325,
457,
1491,
2310,
11,
5816,
1
] |
List the description of all aircrafts, and count them by a bar chart, and I want to display in descending by the names. | SELECT Description, COUNT(Description) FROM aircraft GROUP BY Description ORDER BY Description DESC | [
8053,
262,
6764,
286,
477,
6215,
82,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
290,
314,
765,
284,
3359,
287,
31491,
416,
262,
3891,
13,
46506,
12489,
11,
327,
28270,
7,
11828,
8,
16034,
6215,
44441,
11050,
12489,
38678,
11050,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
262,
6764,
286,
477,
6215,
82,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
290,
314,
765,
284,
3359,
287,
31491,
416,
262,
3891,
13,
46506,
12489,
11,
327,
28270,
7,
11828,
8,
16034,
6215,
44441,
11050,
12489,
38678,
11050,
1... |
june 10-11 when january 15-16 is january 15, 1991? | SELECT june_10_11 FROM table_25355501_2 WHERE january_15_16 = "January 15, 1991" | [
73,
1726,
838,
12,
1157,
618,
42897,
2838,
1315,
12,
1433,
318,
42897,
2838,
1315,
11,
10249,
30,
46506,
474,
1726,
62,
940,
62,
1157,
16034,
3084,
62,
1495,
2327,
2816,
486,
62,
17,
33411,
42897,
2838,
62,
1314,
62,
1433,
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
] | [
73,
1726,
838,
12,
1157,
618,
42897,
2838,
1315,
12,
1433,
318,
42897,
2838,
1315,
11,
10249,
30,
46506,
474,
1726,
62,
940,
62,
1157,
16034,
3084,
62,
1495,
2327,
2816,
486,
62,
17,
33411,
42897,
2838,
62,
1314,
62,
1433,
796,
366,... |
This semester , who is the teacher of Sound Patterns ? | SELECT DISTINCT instructor.name FROM instructor INNER JOIN offering_instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN course_offering ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN course ON course.course_id = course_offering.course_id INNER JOIN semester... | [
1212,
24878,
837,
508,
318,
262,
4701,
286,
9506,
47020,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
21187,
3268,
21479,
32357,
1268,
6011,
62,
259,
7249,
273,
6177,
6011,
62,
259,
7249,
273,
13,
259,
7249,
273,
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... | [
1212,
24878,
837,
508,
318,
262,
4701,
286,
9506,
47020,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
21187,
3268,
21479,
32357,
1268,
6011,
62,
259,
7249,
273,
6177,
6011,
62,
259,
7249,
273,
13,
259,
7249,
273,
62,
31... |
what is the highest number where people got done at 31.1 | SELECT MAX(competition_finish) FROM table_1354805_6 WHERE average = "31.1" | [
10919,
318,
262,
4511,
1271,
810,
661,
1392,
1760,
379,
3261,
13,
16,
46506,
25882,
7,
5589,
15620,
62,
15643,
680,
8,
16034,
3084,
62,
1485,
4051,
28256,
62,
21,
33411,
2811,
796,
366,
3132,
13,
16,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
4511,
1271,
810,
661,
1392,
1760,
379,
3261,
13,
16,
46506,
25882,
7,
5589,
15620,
62,
15643,
680,
8,
16034,
3084,
62,
1485,
4051,
28256,
62,
21,
33411,
2811,
796,
366,
3132,
13,
16,
1
] |
What is the average last cf of the st. louis blues, who has less than 4 cf appearances and less than 1 cf wins? | SELECT AVG(last_cf) FROM table_name_44 WHERE cf_appearances < 4 AND cf_wins < 1 AND team = "st. louis blues" | [
2061,
318,
262,
2811,
938,
30218,
286,
262,
336,
13,
21081,
271,
25570,
11,
508,
468,
1342,
621,
604,
30218,
11057,
290,
1342,
621,
352,
30218,
7864,
30,
46506,
35224,
7,
12957,
62,
12993,
8,
16034,
3084,
62,
3672,
62,
2598,
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... | [
2061,
318,
262,
2811,
938,
30218,
286,
262,
336,
13,
21081,
271,
25570,
11,
508,
468,
1342,
621,
604,
30218,
11057,
290,
1342,
621,
352,
30218,
7864,
30,
46506,
35224,
7,
12957,
62,
12993,
8,
16034,
3084,
62,
3672,
62,
2598,
33411,
... |
which patients have sdh primary disease? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "SDH" | [
4758,
3871,
423,
264,
34985,
4165,
4369,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
10305,
39,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3871,
423,
264,
34985,
4165,
4369,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
10305,
39,
1
] |
did patient 005-12192 have ffp given until 959 days ago? | SELECT COUNT(*) > 0 FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-12192')) AND intakeoutput.cellpath LIKE '%intake%' AND intakeoutpu... | [
20839,
5827,
3571,
20,
12,
1065,
17477,
423,
31246,
79,
1813,
1566,
860,
3270,
1528,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
20839,
5827,
3571,
20,
12,
1065,
17477,
423,
31246,
79,
1813,
1566,
860,
3270,
1528,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
2... |
The Away High Park Demons was which Ground? | SELECT ground FROM table_name_83 WHERE away = "high park demons" | [
464,
21986,
3334,
3250,
38539,
373,
543,
13706,
30,
46506,
2323,
16034,
3084,
62,
3672,
62,
5999,
33411,
1497,
796,
366,
8929,
3952,
17708,
1
] | [
1,
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,
21986,
3334,
3250,
38539,
373,
543,
13706,
30,
46506,
2323,
16034,
3084,
62,
3672,
62,
5999,
33411,
1497,
796,
366,
8929,
3952,
17708,
1
] |
A bar chart about what are the memories and carriers of phones? | SELECT Carrier, SUM(Memory_in_G) FROM phone GROUP BY Carrier | [
32,
2318,
8262,
546,
644,
389,
262,
9846,
290,
16651,
286,
9512,
30,
46506,
30252,
11,
35683,
7,
30871,
62,
259,
62,
38,
8,
16034,
3072,
44441,
11050,
30252
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32,
2318,
8262,
546,
644,
389,
262,
9846,
290,
16651,
286,
9512,
30,
46506,
30252,
11,
35683,
7,
30871,
62,
259,
62,
38,
8,
16034,
3072,
44441,
11050,
30252
] |
tell me the percentile of glucose of 180.0 between patients of the same age as patient 14467 on this hospital encounter? | SELECT DISTINCT t1.c1 FROM (SELECT labevents.valuenum, PERCENT_RANK() OVER (ORDER BY labevents.valuenum) AS c1 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'glucose') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age =... | [
33331,
502,
262,
37894,
286,
15701,
286,
11546,
13,
15,
1022,
3871,
286,
262,
976,
2479,
355,
5827,
20224,
3134,
319,
428,
4436,
8791,
30,
46506,
360,
8808,
1268,
4177,
256,
16,
13,
66,
16,
16034,
357,
46506,
2248,
31534,
13,
2100,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
37894,
286,
15701,
286,
11546,
13,
15,
1022,
3871,
286,
262,
976,
2479,
355,
5827,
20224,
3134,
319,
428,
4436,
8791,
30,
46506,
360,
8808,
1268,
4177,
256,
16,
13,
66,
16,
16034,
357,
46506,
2248,
31534,
13,
2100,
... |
What's the series number of the episode seen by 17.04 million people in the US? | SELECT MAX("No. in series") FROM table_24765 WHERE "U.S. viewers (millions)" = '17.04' | [
2061,
338,
262,
2168,
1271,
286,
262,
4471,
1775,
416,
1596,
13,
3023,
1510,
661,
287,
262,
1294,
30,
46506,
25882,
7203,
2949,
13,
287,
2168,
4943,
16034,
3084,
62,
23753,
2996,
33411,
366,
52,
13,
50,
13,
10209,
357,
17805,
507,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2168,
1271,
286,
262,
4471,
1775,
416,
1596,
13,
3023,
1510,
661,
287,
262,
1294,
30,
46506,
25882,
7203,
2949,
13,
287,
2168,
4943,
16034,
3084,
62,
23753,
2996,
33411,
366,
52,
13,
50,
13,
10209,
357,
17805,
507,
1... |
What is the time/retired for alain prost? | SELECT "Time/Retired" FROM table_58308 WHERE "Driver" = 'alain prost' | [
2061,
318,
262,
640,
14,
1186,
1202,
329,
435,
391,
11825,
30,
46506,
366,
7575,
14,
9781,
1202,
1,
16034,
3084,
62,
3365,
21495,
33411,
366,
32103,
1,
796,
705,
282,
391,
11825,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
640,
14,
1186,
1202,
329,
435,
391,
11825,
30,
46506,
366,
7575,
14,
9781,
1202,
1,
16034,
3084,
62,
3365,
21495,
33411,
366,
32103,
1,
796,
705,
282,
391,
11825,
6
] |
which Event that has an Opponent of kendall grove? | SELECT "Event" FROM table_60088 WHERE "Opponent" = 'kendall grove' | [
4758,
8558,
326,
468,
281,
9385,
3471,
286,
479,
437,
439,
7128,
303,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
8054,
3459,
33411,
366,
27524,
3471,
1,
796,
705,
74,
437,
439,
7128,
303,
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
] | [
4758,
8558,
326,
468,
281,
9385,
3471,
286,
479,
437,
439,
7128,
303,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
8054,
3459,
33411,
366,
27524,
3471,
1,
796,
705,
74,
437,
439,
7128,
303,
6
] |
What position does John Carlson play? | SELECT position FROM table_name_15 WHERE player = "john carlson" | [
2061,
2292,
857,
1757,
33059,
711,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
1314,
33411,
2137,
796,
366,
30686,
1097,
75,
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
] | [
2061,
2292,
857,
1757,
33059,
711,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
1314,
33411,
2137,
796,
366,
30686,
1097,
75,
1559,
1
] |
what laboratory test was given to patient 70206 for the first time until 25 months ago? | SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT labevents.itemid FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 70206) AND DATETIME(labevents.charttime) <= DATETIME(CURRENT_TIME(), '-25 month') ORDER BY labevents.charttime LI... | [
10919,
14010,
1332,
373,
1813,
284,
5827,
4317,
22136,
329,
262,
717,
640,
1566,
1679,
1933,
2084,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
9186,
312,
3268,
357,
46506,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
14010,
1332,
373,
1813,
284,
5827,
4317,
22136,
329,
262,
717,
640,
1566,
1679,
1933,
2084,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
9186,
312,
3268,
357,
46506,... |
Which skip's lead is Gordon McDougall? | SELECT skip FROM table_name_17 WHERE lead = "gordon mcdougall" | [
13828,
14267,
338,
1085,
318,
11646,
23394,
20805,
439,
30,
46506,
14267,
16034,
3084,
62,
3672,
62,
1558,
33411,
1085,
796,
366,
70,
9999,
285,
10210,
20805,
439,
1
] | [
1,
1,
1,
1,
1,
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,
14267,
338,
1085,
318,
11646,
23394,
20805,
439,
30,
46506,
14267,
16034,
3084,
62,
3672,
62,
1558,
33411,
1085,
796,
366,
70,
9999,
285,
10210,
20805,
439,
1
] |
What is the lowest apps for rank 3 and 0% wins? | SELECT MIN(apps) FROM table_name_33 WHERE rank = 3 AND win__percentage < 0 | [
2061,
318,
262,
9016,
6725,
329,
4279,
513,
290,
657,
4,
7864,
30,
46506,
20625,
7,
18211,
8,
16034,
3084,
62,
3672,
62,
2091,
33411,
4279,
796,
513,
5357,
1592,
834,
25067,
496,
1279,
657
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
6725,
329,
4279,
513,
290,
657,
4,
7864,
30,
46506,
20625,
7,
18211,
8,
16034,
3084,
62,
3672,
62,
2091,
33411,
4279,
796,
513,
5357,
1592,
834,
25067,
496,
1279,
657
] |
What final score was there on October 8, 2006? | SELECT "Score in the final" FROM table_7673 WHERE "Date" = 'october 8, 2006' | [
2061,
2457,
4776,
373,
612,
319,
3267,
807,
11,
4793,
30,
46506,
366,
26595,
287,
262,
2457,
1,
16034,
3084,
62,
32059,
18,
33411,
366,
10430,
1,
796,
705,
38441,
2023,
807,
11,
4793,
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,
2457,
4776,
373,
612,
319,
3267,
807,
11,
4793,
30,
46506,
366,
26595,
287,
262,
2457,
1,
16034,
3084,
62,
32059,
18,
33411,
366,
10430,
1,
796,
705,
38441,
2023,
807,
11,
4793,
6
] |
what is the pts/game for Charlotte barras and the games is 5? | SELECT pts_game FROM table_name_78 WHERE games = 5 AND name = "charlotte barras" | [
10919,
318,
262,
43344,
14,
6057,
329,
14685,
2318,
8847,
290,
262,
1830,
318,
642,
30,
46506,
43344,
62,
6057,
16034,
3084,
62,
3672,
62,
3695,
33411,
1830,
796,
642,
5357,
1438,
796,
366,
354,
7063,
11404,
2318,
8847,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
43344,
14,
6057,
329,
14685,
2318,
8847,
290,
262,
1830,
318,
642,
30,
46506,
43344,
62,
6057,
16034,
3084,
62,
3672,
62,
3695,
33411,
1830,
796,
642,
5357,
1438,
796,
366,
354,
7063,
11404,
2318,
8847,
1
] |
What school did the player Ethan Bennett attend? | SELECT "School" FROM table_17040 WHERE "Player" = 'Ethan Bennett' | [
2061,
1524,
750,
262,
2137,
28926,
17468,
5262,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
17279,
1821,
33411,
366,
14140,
1,
796,
705,
36,
14813,
17468,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1524,
750,
262,
2137,
28926,
17468,
5262,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
17279,
1821,
33411,
366,
14140,
1,
796,
705,
36,
14813,
17468,
6
] |
What was the place when the score was 65-70-72=207? | SELECT "Place" FROM table_65390 WHERE "Score" = '65-70-72=207' | [
2061,
373,
262,
1295,
618,
262,
4776,
373,
6135,
12,
2154,
12,
4761,
28,
22745,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
2996,
25964,
33411,
366,
26595,
1,
796,
705,
2996,
12,
2154,
12,
4761,
28,
22745,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1295,
618,
262,
4776,
373,
6135,
12,
2154,
12,
4761,
28,
22745,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
2996,
25964,
33411,
366,
26595,
1,
796,
705,
2996,
12,
2154,
12,
4761,
28,
22745,
6
] |
Check if owner ID and QID in data dump are linked to API. | SELECT * FROM Users WHERE Users.Id = 61 | [
9787,
611,
4870,
4522,
290,
1195,
2389,
287,
1366,
10285,
389,
6692,
284,
7824,
13,
46506,
1635,
16034,
18987,
33411,
18987,
13,
7390,
796,
8454
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9787,
611,
4870,
4522,
290,
1195,
2389,
287,
1366,
10285,
389,
6692,
284,
7824,
13,
46506,
1635,
16034,
18987,
33411,
18987,
13,
7390,
796,
8454
] |
The game taking place in Lille had what as a score? | SELECT score FROM table_name_96 WHERE location = "lille" | [
464,
983,
2263,
1295,
287,
406,
8270,
550,
644,
355,
257,
4776,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4846,
33411,
4067,
796,
366,
75,
8270,
1
] | [
1,
1,
1,
1,
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,
983,
2263,
1295,
287,
406,
8270,
550,
644,
355,
257,
4776,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4846,
33411,
4067,
796,
366,
75,
8270,
1
] |
what the first height of patient 21454. | 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 = 21454)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'admit ht'... | [
10919,
262,
717,
6001,
286,
5827,
28277,
4051,
13,
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,
312,
16034,
1415... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
717,
6001,
286,
5827,
28277,
4051,
13,
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,
312,
16034,
1415... |
Who was the player from Duke? | SELECT "Position" FROM table_48192 WHERE "From" = 'duke' | [
8241,
373,
262,
2137,
422,
11083,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
2780,
17477,
33411,
366,
4863,
1,
796,
705,
646,
365,
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
] | [
8241,
373,
262,
2137,
422,
11083,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
2780,
17477,
33411,
366,
4863,
1,
796,
705,
646,
365,
6
] |
Show different type codes of products and the number of products with each type code. | SELECT Product_Type_Code, COUNT(*) FROM Products GROUP BY Product_Type_Code | [
15307,
1180,
2099,
12416,
286,
3186,
290,
262,
1271,
286,
3186,
351,
1123,
2099,
2438,
13,
46506,
8721,
62,
6030,
62,
10669,
11,
327,
28270,
7,
28104,
16034,
18675,
44441,
11050,
8721,
62,
6030,
62,
10669
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1180,
2099,
12416,
286,
3186,
290,
262,
1271,
286,
3186,
351,
1123,
2099,
2438,
13,
46506,
8721,
62,
6030,
62,
10669,
11,
327,
28270,
7,
28104,
16034,
18675,
44441,
11050,
8721,
62,
6030,
62,
10669
] |
What's the score of the QF round? | SELECT "Score" FROM table_18054 WHERE "Round" = 'QF' | [
2061,
338,
262,
4776,
286,
262,
1195,
37,
2835,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
1507,
2713,
19,
33411,
366,
22685,
1,
796,
705,
48,
37,
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
] | [
2061,
338,
262,
4776,
286,
262,
1195,
37,
2835,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
1507,
2713,
19,
33411,
366,
22685,
1,
796,
705,
48,
37,
6
] |
Comments per week (questions with > 2 answers). | WITH test_posts AS (SELECT q.Id AS Id, q.CreationDate AS CreationDate FROM Posts AS q JOIN Posts AS a ON a.ParentId = q.Id WHERE q.AnswerCount > 2 UNION SELECT Id, CreationDate FROM Posts WHERE AnswerCount > 2) SELECT DATEADD(week, DATEDIFF(week, @epoch, CreationDate), @epoch) AS Week, COUNT(DISTINCT c.Id) AS Comments,... | [
23903,
583,
1285,
357,
6138,
507,
351,
1875,
362,
7429,
737,
54,
10554,
1332,
62,
24875,
7054,
357,
46506,
10662,
13,
7390,
7054,
5121,
11,
10662,
13,
12443,
341,
10430,
7054,
21582,
10430,
16034,
12043,
7054,
10662,
32357,
1268,
12043,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
23903,
583,
1285,
357,
6138,
507,
351,
1875,
362,
7429,
737,
54,
10554,
1332,
62,
24875,
7054,
357,
46506,
10662,
13,
7390,
7054,
5121,
11,
10662,
13,
12443,
341,
10430,
7054,
21582,
10430,
16034,
12043,
7054,
10662,
32357,
1268,
12043,
... |
Show the names of climbers and the heights of mountains they climb. | SELECT T1.name, T2.height FROM climber AS T1 JOIN mountain AS T2 ON T1.mountain_id = T2.mountain_id | [
15307,
262,
3891,
286,
39311,
290,
262,
23245,
286,
12269,
484,
12080,
13,
46506,
309,
16,
13,
3672,
11,
309,
17,
13,
17015,
16034,
5424,
527,
7054,
309,
16,
32357,
1268,
8598,
7054,
309,
17,
6177,
309,
16,
13,
14948,
391,
62,
312,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
3891,
286,
39311,
290,
262,
23245,
286,
12269,
484,
12080,
13,
46506,
309,
16,
13,
3672,
11,
309,
17,
13,
17015,
16034,
5424,
527,
7054,
309,
16,
32357,
1268,
8598,
7054,
309,
17,
6177,
309,
16,
13,
14948,
391,
62,
312,
... |
Who was the partner when the final score was 7 6, 3 6, 6 7? | SELECT "Partner" FROM table_50608 WHERE "Score in the final" = '7–6, 3–6, 6–7' | [
8241,
373,
262,
5212,
618,
262,
2457,
4776,
373,
767,
718,
11,
513,
718,
11,
718,
767,
30,
46506,
366,
7841,
1008,
1,
16034,
3084,
62,
1120,
28688,
33411,
366,
26595,
287,
262,
2457,
1,
796,
705,
22,
1906,
21,
11,
513,
1906,
21,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5212,
618,
262,
2457,
4776,
373,
767,
718,
11,
513,
718,
11,
718,
767,
30,
46506,
366,
7841,
1008,
1,
16034,
3084,
62,
1120,
28688,
33411,
366,
26595,
287,
262,
2457,
1,
796,
705,
22,
1906,
21,
11,
513,
1906,
21,
... |
In what format was the release that was dated 7 April 2003 from catalog 584 2112? | SELECT format FROM table_name_18 WHERE date = "7 april 2003" AND catalog = "584 2112" | [
818,
644,
5794,
373,
262,
2650,
326,
373,
14567,
767,
3035,
5816,
422,
18388,
642,
5705,
2310,
1065,
30,
46506,
5794,
16034,
3084,
62,
3672,
62,
1507,
33411,
3128,
796,
366,
22,
46593,
346,
5816,
1,
5357,
18388,
796,
366,
46352,
2310,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
644,
5794,
373,
262,
2650,
326,
373,
14567,
767,
3035,
5816,
422,
18388,
642,
5705,
2310,
1065,
30,
46506,
5794,
16034,
3084,
62,
3672,
62,
1507,
33411,
3128,
796,
366,
22,
46593,
346,
5816,
1,
5357,
18388,
796,
366,
46352,
2310,... |
A bar chart shows the distribution of All_Games and Team_ID , could you display by the x-axis in desc? | SELECT All_Games, Team_ID FROM basketball_match ORDER BY All_Games DESC | [
32,
2318,
8262,
2523,
262,
6082,
286,
1439,
62,
24474,
290,
4816,
62,
2389,
837,
714,
345,
3359,
416,
262,
2124,
12,
22704,
287,
1715,
30,
46506,
1439,
62,
24474,
11,
4816,
62,
2389,
16034,
9669,
62,
15699,
38678,
11050,
1439,
62,
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
] | [
32,
2318,
8262,
2523,
262,
6082,
286,
1439,
62,
24474,
290,
4816,
62,
2389,
837,
714,
345,
3359,
416,
262,
2124,
12,
22704,
287,
1715,
30,
46506,
1439,
62,
24474,
11,
4816,
62,
2389,
16034,
9669,
62,
15699,
38678,
11050,
1439,
62,
2... |
what is the type when the rank is smaller than 70, the province is british columbia and the capacity (mw) is more than 2,480? | SELECT "Type" FROM table_62932 WHERE "Rank" < '70' AND "Province" = 'british columbia' AND "Capacity ( MW )" > '2,480' | [
10919,
318,
262,
2099,
618,
262,
4279,
318,
4833,
621,
4317,
11,
262,
8473,
318,
275,
799,
680,
951,
2178,
544,
290,
262,
5339,
357,
76,
86,
8,
318,
517,
621,
362,
11,
22148,
30,
46506,
366,
6030,
1,
16034,
3084,
62,
48602,
2624,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2099,
618,
262,
4279,
318,
4833,
621,
4317,
11,
262,
8473,
318,
275,
799,
680,
951,
2178,
544,
290,
262,
5339,
357,
76,
86,
8,
318,
517,
621,
362,
11,
22148,
30,
46506,
366,
6030,
1,
16034,
3084,
62,
48602,
2624,
... |
For those employees who do not work in departments with managers that have ids between 100 and 200, find last_name and employee_id , and visualize them by a bar chart, show from high to low by the total number. | SELECT LAST_NAME, EMPLOYEE_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY EMPLOYEE_ID DESC | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1064,
938,
62,
3672,
290,
6538,
62,
312,
837,
290,
38350,
606,
416,
257,
2318,
8262,
11,
905,
422,
1029,
284,
1877,
416,
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... | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1064,
938,
62,
3672,
290,
6538,
62,
312,
837,
290,
38350,
606,
416,
257,
2318,
8262,
11,
905,
422,
1029,
284,
1877,
416,
2... |
What was the score during the game that had more than 12,194 people in attendance and a record of 53-32? | SELECT "Score" FROM table_37697 WHERE "Attendance" > '12,194' AND "Record" = '53-32' | [
2061,
373,
262,
4776,
1141,
262,
983,
326,
550,
517,
621,
1105,
11,
22913,
661,
287,
14858,
290,
257,
1700,
286,
7192,
12,
2624,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2718,
40035,
33411,
366,
8086,
437,
590,
1,
1875,
705,
1065,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1141,
262,
983,
326,
550,
517,
621,
1105,
11,
22913,
661,
287,
14858,
290,
257,
1700,
286,
7192,
12,
2624,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2718,
40035,
33411,
366,
8086,
437,
590,
1,
1875,
705,
1065,... |
What were the years for Seasons in CSL when they played in the Guiyang Olympic Sports Center and had Top Division Titles (Overall) of 0? | SELECT "Seasons in CSL" FROM table_77405 WHERE "Top Division Titles (Overall)" = '0' AND "Home stadium" = 'guiyang olympic sports center' | [
2061,
547,
262,
812,
329,
33159,
287,
327,
8634,
618,
484,
2826,
287,
262,
1962,
7745,
648,
11514,
7092,
3337,
290,
550,
5849,
7458,
7659,
829,
357,
16350,
8,
286,
657,
30,
46506,
366,
4653,
2812,
287,
327,
8634,
1,
16034,
3084,
62,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
547,
262,
812,
329,
33159,
287,
327,
8634,
618,
484,
2826,
287,
262,
1962,
7745,
648,
11514,
7092,
3337,
290,
550,
5849,
7458,
7659,
829,
357,
16350,
8,
286,
657,
30,
46506,
366,
4653,
2812,
287,
327,
8634,
1,
16034,
3084,
62,... |
Tag statistics per year, month. My gut feeling says there is smt happening with question of python, and
then i tried to find some proof to my gut feeling. | SELECT (CAST(TIME_TO_STR(p.CreationDate, '%Y') AS FLOAT) + (TIME_TO_STR(p.CreationDate, '%m') / 12.0)), COUNT(*) AS questions, COUNT(p.ClosedDate) AS closed_questions, SUM(p.Score * 1.0) AS total_score, SUM(p.AnswerCount * 1.0) AS total_answers, SUM(p.CommentCount * 1.0) AS total_comment, SUM(p.FavoriteCount * 1.0) AS ... | [
24835,
7869,
583,
614,
11,
1227,
13,
2011,
12500,
4203,
1139,
612,
318,
895,
83,
5836,
351,
1808,
286,
21015,
11,
290,
198,
8524,
1312,
3088,
284,
1064,
617,
6617,
284,
616,
12500,
4203,
13,
46506,
357,
44647,
7,
34694,
62,
10468,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
24835,
7869,
583,
614,
11,
1227,
13,
2011,
12500,
4203,
1139,
612,
318,
895,
83,
5836,
351,
1808,
286,
21015,
11,
290,
198,
8524,
1312,
3088,
284,
1064,
617,
6617,
284,
616,
12500,
4203,
13,
46506,
357,
44647,
7,
34694,
62,
10468,
6... |
What did the away team score at the game when the home team scored 7.11 (53)? | SELECT "Home team" FROM table_56641 WHERE "Away team score" = '7.11 (53)' | [
2061,
750,
262,
1497,
1074,
4776,
379,
262,
983,
618,
262,
1363,
1074,
7781,
767,
13,
1157,
357,
4310,
19427,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
3980,
42759,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
22,
13,
1157,
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
] | [
2061,
750,
262,
1497,
1074,
4776,
379,
262,
983,
618,
262,
1363,
1074,
7781,
767,
13,
1157,
357,
4310,
19427,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
3980,
42759,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
22,
13,
1157,
357... |
list flights from MEMPHIS to MIAMI on wednesday | 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 = 'MIAMI' AND date_day.day_number = 23 AND date_day.month_number = 4 AND dat... | [
4868,
13956,
422,
35153,
11909,
1797,
284,
15789,
43870,
319,
29445,
3462,
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,
31600,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4868,
13956,
422,
35153,
11909,
1797,
284,
15789,
43870,
319,
29445,
3462,
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,
31600,
1... |
Where are my high-score comments?. | SELECT PostId AS "post_link", Score FROM Comments WHERE UserId = @UserId AND Score > 5 ORDER BY Score DESC | [
8496,
389,
616,
1029,
12,
26675,
3651,
30,
13,
46506,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
15178,
16034,
19502,
33411,
11787,
7390,
796,
2488,
12982,
7390,
5357,
15178,
1875,
642,
38678,
11050,
15178,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
616,
1029,
12,
26675,
3651,
30,
13,
46506,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
15178,
16034,
19502,
33411,
11787,
7390,
796,
2488,
12982,
7390,
5357,
15178,
1875,
642,
38678,
11050,
15178,
22196,
34
] |
who is the the judges with seasons and winners being season 1, 2013 2014: upcoming season | SELECT judges FROM table_13779832_1 WHERE seasons_and_winners = "Season 1, 2013–2014: Upcoming season" | [
8727,
318,
262,
262,
10266,
351,
7028,
290,
14591,
852,
1622,
352,
11,
2211,
1946,
25,
7865,
1622,
46506,
10266,
16034,
3084,
62,
1485,
3324,
4089,
2624,
62,
16,
33411,
7028,
62,
392,
62,
5404,
2741,
796,
366,
18960,
352,
11,
2211,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
318,
262,
262,
10266,
351,
7028,
290,
14591,
852,
1622,
352,
11,
2211,
1946,
25,
7865,
1622,
46506,
10266,
16034,
3084,
62,
1485,
3324,
4089,
2624,
62,
16,
33411,
7028,
62,
392,
62,
5404,
2741,
796,
366,
18960,
352,
11,
2211,
... |
who has won more medals ? shaun white or kelly clark ? | SELECT "athlete" FROM table_203_308 WHERE "athlete" IN ('shaun white', 'kelly clark') ORDER BY "total" DESC LIMIT 1 | [
8727,
468,
1839,
517,
28057,
5633,
427,
1942,
2330,
393,
885,
12810,
537,
668,
5633,
46506,
366,
776,
5807,
1,
16034,
3084,
62,
22416,
62,
21495,
33411,
366,
776,
5807,
1,
3268,
19203,
1477,
1942,
2330,
3256,
705,
365,
12810,
537,
668... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
468,
1839,
517,
28057,
5633,
427,
1942,
2330,
393,
885,
12810,
537,
668,
5633,
46506,
366,
776,
5807,
1,
16034,
3084,
62,
22416,
62,
21495,
33411,
366,
776,
5807,
1,
3268,
19203,
1477,
1942,
2330,
3256,
705,
365,
12810,
537,
668... |
What is the density of the common with an area of 20.4 km^2? | SELECT density__inhabitants_km_2__ FROM table_1449176_1 WHERE area__km_2__ = "20.4" | [
2061,
318,
262,
12109,
286,
262,
2219,
351,
281,
1989,
286,
1160,
13,
19,
10571,
61,
17,
30,
46506,
12109,
834,
259,
5976,
270,
1187,
62,
13276,
62,
17,
834,
16034,
3084,
62,
1415,
2920,
24096,
62,
16,
33411,
1989,
834,
13276,
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
] | [
2061,
318,
262,
12109,
286,
262,
2219,
351,
281,
1989,
286,
1160,
13,
19,
10571,
61,
17,
30,
46506,
12109,
834,
259,
5976,
270,
1187,
62,
13276,
62,
17,
834,
16034,
3084,
62,
1415,
2920,
24096,
62,
16,
33411,
1989,
834,
13276,
62,
... |
What is every entry in the win/lose against Sweden? | SELECT "Win/Lose" FROM table_26538 WHERE "Against" = 'Sweden' | [
2061,
318,
790,
5726,
287,
262,
1592,
14,
75,
577,
1028,
10710,
30,
46506,
366,
16643,
14,
43,
577,
1,
16034,
3084,
62,
22980,
2548,
33411,
366,
39276,
1,
796,
705,
10462,
31829,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
790,
5726,
287,
262,
1592,
14,
75,
577,
1028,
10710,
30,
46506,
366,
16643,
14,
43,
577,
1,
16034,
3084,
62,
22980,
2548,
33411,
366,
39276,
1,
796,
705,
10462,
31829,
6
] |
which country won the least number of medals ? | SELECT "nation" FROM table_203_576 ORDER BY "total" LIMIT 1 | [
4758,
1499,
1839,
262,
1551,
1271,
286,
28057,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
22416,
62,
37452,
38678,
11050,
366,
23350,
1,
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
] | [
4758,
1499,
1839,
262,
1551,
1271,
286,
28057,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
22416,
62,
37452,
38678,
11050,
366,
23350,
1,
27564,
2043,
352
] |
for patient jerry deberry, specify birth date and lab tests conducted | SELECT demographic.dob, lab."CATEGORY" FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.name = "Jerry Deberry" | [
1640,
5827,
474,
6996,
390,
8396,
11,
11986,
4082,
3128,
290,
2248,
5254,
5952,
46506,
16728,
13,
67,
672,
11,
2248,
526,
34,
6158,
38,
15513,
1,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
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
] | [
1640,
5827,
474,
6996,
390,
8396,
11,
11986,
4082,
3128,
290,
2248,
5254,
5952,
46506,
16728,
13,
67,
672,
11,
2248,
526,
34,
6158,
38,
15513,
1,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
... |
Where did someone run a 61:32 | SELECT "Event/Place" FROM table_31829 WHERE "Time" = '61:32' | [
8496,
750,
2130,
1057,
257,
8454,
25,
2624,
46506,
366,
9237,
14,
27271,
1,
16034,
3084,
62,
36042,
1959,
33411,
366,
7575,
1,
796,
705,
5333,
25,
2624,
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
] | [
8496,
750,
2130,
1057,
257,
8454,
25,
2624,
46506,
366,
9237,
14,
27271,
1,
16034,
3084,
62,
36042,
1959,
33411,
366,
7575,
1,
796,
705,
5333,
25,
2624,
6
] |
Name the points for top tens being 24 and ownder david pearson | SELECT points__margin_ FROM table_27786562_1 WHERE top_tens = 24 AND owner = "David Pearson" | [
5376,
262,
2173,
329,
1353,
11192,
852,
1987,
290,
12334,
681,
21970,
25286,
1559,
46506,
2173,
834,
36153,
62,
16034,
3084,
62,
1983,
3695,
2996,
5237,
62,
16,
33411,
1353,
62,
83,
641,
796,
1987,
5357,
4870,
796,
366,
11006,
31074,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2173,
329,
1353,
11192,
852,
1987,
290,
12334,
681,
21970,
25286,
1559,
46506,
2173,
834,
36153,
62,
16034,
3084,
62,
1983,
3695,
2996,
5237,
62,
16,
33411,
1353,
62,
83,
641,
796,
1987,
5357,
4870,
796,
366,
11006,
31074,
... |
What was the gold medal total for a total of 44 medals? | SELECT MIN(gold) FROM table_name_13 WHERE total > 44 | [
2061,
373,
262,
3869,
18279,
2472,
329,
257,
2472,
286,
5846,
28057,
30,
46506,
20625,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
1485,
33411,
2472,
1875,
5846
] | [
1,
1,
1,
1,
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,
3869,
18279,
2472,
329,
257,
2472,
286,
5846,
28057,
30,
46506,
20625,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
1485,
33411,
2472,
1875,
5846
] |
in the last month what was the last dose of sucralfate prescribed to patient 57023? | SELECT prescriptions.dose_val_rx FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 57023) AND prescriptions.drug = 'sucralfate' AND DATETIME(prescriptions.startdate, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 month') ORDER ... | [
259,
262,
938,
1227,
644,
373,
262,
938,
10742,
286,
6522,
1373,
69,
378,
14798,
284,
5827,
44626,
1954,
30,
46506,
34092,
13,
34436,
62,
2100,
62,
40914,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
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... | [
259,
262,
938,
1227,
644,
373,
262,
938,
10742,
286,
6522,
1373,
69,
378,
14798,
284,
5827,
44626,
1954,
30,
46506,
34092,
13,
34436,
62,
2100,
62,
40914,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13... |
What is Syracuse, when Utica is Solsville Shale And Sandstone? | SELECT "Syracuse" FROM table_48941 WHERE "Utica" = 'solsville shale and sandstone' | [
2061,
318,
29141,
11,
618,
7273,
3970,
318,
4294,
82,
4244,
911,
1000,
843,
3837,
6440,
30,
46506,
366,
50,
2417,
330,
1904,
1,
16034,
3084,
62,
35890,
3901,
33411,
366,
18274,
3970,
1,
796,
705,
82,
10220,
4244,
30498,
290,
6450,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
29141,
11,
618,
7273,
3970,
318,
4294,
82,
4244,
911,
1000,
843,
3837,
6440,
30,
46506,
366,
50,
2417,
330,
1904,
1,
16034,
3084,
62,
35890,
3901,
33411,
366,
18274,
3970,
1,
796,
705,
82,
10220,
4244,
30498,
290,
6450,
6... |
until 2102 what were the top five most frequent diagnoses that patients were given during the same month after receiving vasopressors - epinephrine <= 0.1 micrograms/kg/min? | SELECT t3.diagnosisname FROM (SELECT t2.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'vasopressors - epinephrine <= 0.1 microg... | [
28446,
362,
15377,
644,
547,
262,
1353,
1936,
749,
10792,
40567,
326,
3871,
547,
1813,
1141,
262,
976,
1227,
706,
6464,
34439,
404,
601,
669,
532,
2462,
500,
47723,
19841,
657,
13,
16,
4580,
4546,
82,
14,
10025,
14,
1084,
30,
46506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
28446,
362,
15377,
644,
547,
262,
1353,
1936,
749,
10792,
40567,
326,
3871,
547,
1813,
1141,
262,
976,
1227,
706,
6464,
34439,
404,
601,
669,
532,
2462,
500,
47723,
19841,
657,
13,
16,
4580,
4546,
82,
14,
10025,
14,
1084,
30,
46506,
... |
Loses of 2, and a Pos. smaller than 2 had how many highest matches? | SELECT MAX("Matches") FROM table_39054 WHERE "Loses" = '2' AND "Pos." < '2' | [
43,
4629,
286,
362,
11,
290,
257,
18574,
13,
4833,
621,
362,
550,
703,
867,
4511,
7466,
30,
46506,
25882,
7203,
19044,
2052,
4943,
16034,
3084,
62,
2670,
2713,
19,
33411,
366,
43,
4629,
1,
796,
705,
17,
6,
5357,
366,
21604,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
43,
4629,
286,
362,
11,
290,
257,
18574,
13,
4833,
621,
362,
550,
703,
867,
4511,
7466,
30,
46506,
25882,
7203,
19044,
2052,
4943,
16034,
3084,
62,
2670,
2713,
19,
33411,
366,
43,
4629,
1,
796,
705,
17,
6,
5357,
366,
21604,
526,
1... |
provide the number of patients whose admission type is newborn and admission location is trsf within this facility? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "NEWBORN" AND demographic.admission_location = "TRSF WITHIN THIS FACILITY" | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
23856,
290,
13938,
4067,
318,
491,
28202,
1626,
428,
6841,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
34... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
23856,
290,
13938,
4067,
318,
491,
28202,
1626,
428,
6841,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
34... |
List the race time for may 11. | SELECT race_time FROM table_28178756_1 WHERE date = "May 11" | [
8053,
262,
3234,
640,
329,
743,
1367,
13,
46506,
3234,
62,
2435,
16034,
3084,
62,
2078,
23188,
38219,
62,
16,
33411,
3128,
796,
366,
6747,
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
] | [
8053,
262,
3234,
640,
329,
743,
1367,
13,
46506,
3234,
62,
2435,
16034,
3084,
62,
2078,
23188,
38219,
62,
16,
33411,
3128,
796,
366,
6747,
1367,
1
] |
What is the western title for the puzzle genre? | SELECT "Western Title" FROM table_40843 WHERE "Genre" = 'puzzle' | [
2061,
318,
262,
8830,
3670,
329,
262,
15027,
12121,
30,
46506,
366,
24227,
11851,
1,
16034,
3084,
62,
26200,
3559,
33411,
366,
13746,
260,
1,
796,
705,
79,
9625,
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,
318,
262,
8830,
3670,
329,
262,
15027,
12121,
30,
46506,
366,
24227,
11851,
1,
16034,
3084,
62,
26200,
3559,
33411,
366,
13746,
260,
1,
796,
705,
79,
9625,
6
] |
how many hours has passed since the last time patient 003-10080 stayed in ward 133 on the current hospital visit? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '003-10080' AND patient.wardid = 133 AND patient.hospitaldischargetime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1 | [
4919,
867,
2250,
468,
3804,
1201,
262,
938,
640,
5827,
3571,
18,
12,
3064,
1795,
9658,
287,
15305,
22169,
319,
262,
1459,
4436,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
53... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2250,
468,
3804,
1201,
262,
938,
640,
5827,
3571,
18,
12,
3064,
1795,
9658,
287,
15305,
22169,
319,
262,
1459,
4436,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
53... |
Find the dates of the tests taken with result 'Pass', and count them by a bar chart, and order by the Y in asc. | SELECT date_test_taken, COUNT(date_test_taken) FROM Student_Tests_Taken WHERE test_result = "Pass" GROUP BY date_test_taken ORDER BY COUNT(date_test_taken) | [
16742,
262,
9667,
286,
262,
5254,
2077,
351,
1255,
705,
14478,
3256,
290,
954,
606,
416,
257,
2318,
8262,
11,
290,
1502,
416,
262,
575,
287,
10570,
13,
46506,
3128,
62,
9288,
62,
83,
1685,
11,
327,
28270,
7,
4475,
62,
9288,
62,
83... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9667,
286,
262,
5254,
2077,
351,
1255,
705,
14478,
3256,
290,
954,
606,
416,
257,
2318,
8262,
11,
290,
1502,
416,
262,
575,
287,
10570,
13,
46506,
3128,
62,
9288,
62,
83,
1685,
11,
327,
28270,
7,
4475,
62,
9288,
62,
83... |
What is the home team of the match with an attendance greater than 202? | SELECT home_team FROM table_name_22 WHERE attendance > 202 | [
2061,
318,
262,
1363,
1074,
286,
262,
2872,
351,
281,
14858,
3744,
621,
22131,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
1828,
33411,
14858,
1875,
22131
] | [
1,
1,
1,
1,
1,
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,
1363,
1074,
286,
262,
2872,
351,
281,
14858,
3744,
621,
22131,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
1828,
33411,
14858,
1875,
22131
] |
Who was the artist of the single that spent 9 weeks on top? | SELECT "Artist" FROM table_9849 WHERE "Weeks on Top" = '9 ¶' | [
8241,
373,
262,
6802,
286,
262,
2060,
326,
3377,
860,
2745,
319,
1353,
30,
46506,
366,
43020,
1,
16034,
3084,
62,
4089,
2920,
33411,
366,
1135,
2573,
319,
5849,
1,
796,
705,
24,
30581,
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
] | [
8241,
373,
262,
6802,
286,
262,
2060,
326,
3377,
860,
2745,
319,
1353,
30,
46506,
366,
43020,
1,
16034,
3084,
62,
4089,
2920,
33411,
366,
1135,
2573,
319,
5849,
1,
796,
705,
24,
30581,
6
] |
What is Partner, when Opponents In The Final is Remi Tezuka Shuko Aoyama? | SELECT partner FROM table_name_98 WHERE opponents_in_the_final = "remi tezuka shuko aoyama" | [
2061,
318,
35532,
11,
618,
9385,
3906,
554,
383,
8125,
318,
3982,
72,
1665,
89,
14852,
911,
29794,
317,
726,
1689,
30,
46506,
5212,
16034,
3084,
62,
3672,
62,
4089,
33411,
7691,
62,
259,
62,
1169,
62,
20311,
796,
366,
2787,
72,
573,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
35532,
11,
618,
9385,
3906,
554,
383,
8125,
318,
3982,
72,
1665,
89,
14852,
911,
29794,
317,
726,
1689,
30,
46506,
5212,
16034,
3084,
62,
3672,
62,
4089,
33411,
7691,
62,
259,
62,
1169,
62,
20311,
796,
366,
2787,
72,
573,... |
What is the highest up:down ratio with 4 mbit/s upstream? | SELECT MAX("Up:Down Ratio") FROM table_9039 WHERE "Upstream" = '4 mbit/s' | [
2061,
318,
262,
4511,
510,
25,
2902,
8064,
351,
604,
285,
2545,
14,
82,
28717,
30,
46506,
25882,
7203,
4933,
25,
8048,
33956,
4943,
16034,
3084,
62,
3829,
2670,
33411,
366,
4933,
5532,
1,
796,
705,
19,
285,
2545,
14,
82,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
510,
25,
2902,
8064,
351,
604,
285,
2545,
14,
82,
28717,
30,
46506,
25882,
7203,
4933,
25,
8048,
33956,
4943,
16034,
3084,
62,
3829,
2670,
33411,
366,
4933,
5532,
1,
796,
705,
19,
285,
2545,
14,
82,
6
] |
what is the average hospital cost that involves a procedure known as a antiplatelet agent - aggregation inhibitors until 2102? | SELECT AVG(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'antiplatelet agent - aggregation inhibitors'... | [
10919,
318,
262,
2811,
4436,
1575,
326,
9018,
257,
8771,
1900,
355,
257,
3098,
6816,
1616,
5797,
532,
46500,
40272,
1566,
362,
15377,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
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,
1,
1,
1,
1... | [
10919,
318,
262,
2811,
4436,
1575,
326,
9018,
257,
8771,
1900,
355,
257,
3098,
6816,
1616,
5797,
532,
46500,
40272,
1566,
362,
15377,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054... |
Name the El samurai with MAZADA of x for Ryuji Hijikata of draw (30:00) | SELECT el_samurai FROM table_name_30 WHERE mazada = "x" AND ryuji_hijikata = "draw (30:00)" | [
5376,
262,
2574,
49797,
351,
8779,
57,
26853,
286,
2124,
329,
36936,
7285,
367,
2926,
1134,
1045,
286,
3197,
357,
1270,
25,
405,
8,
46506,
1288,
62,
37687,
16998,
16034,
3084,
62,
3672,
62,
1270,
33411,
285,
1031,
4763,
796,
366,
87,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2574,
49797,
351,
8779,
57,
26853,
286,
2124,
329,
36936,
7285,
367,
2926,
1134,
1045,
286,
3197,
357,
1270,
25,
405,
8,
46506,
1288,
62,
37687,
16998,
16034,
3084,
62,
3672,
62,
1270,
33411,
285,
1031,
4763,
796,
366,
87,
... |
which transcontinental flight on UA from BOSTON to DALLAS makes a stopover in PHILADELPHIA | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight, flight_stop WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DALLAS' AND CITY_2.ci... | [
4758,
1007,
35415,
5474,
319,
46164,
422,
347,
10892,
1340,
284,
360,
7036,
1921,
1838,
257,
2245,
2502,
287,
9370,
4146,
2885,
3698,
11909,
40,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1007,
35415,
5474,
319,
46164,
422,
347,
10892,
1340,
284,
360,
7036,
1921,
1838,
257,
2245,
2502,
287,
9370,
4146,
2885,
3698,
11909,
40,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054... |
What is the sum of Grid, when Time is '+16.687'? | SELECT SUM("Grid") FROM table_59553 WHERE "Time" = '+16.687' | [
2061,
318,
262,
2160,
286,
24846,
11,
618,
3862,
318,
705,
10,
1433,
13,
39925,
30960,
46506,
35683,
7203,
41339,
4943,
16034,
3084,
62,
3270,
48096,
33411,
366,
7575,
1,
796,
705,
10,
1433,
13,
39925,
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,
318,
262,
2160,
286,
24846,
11,
618,
3862,
318,
705,
10,
1433,
13,
39925,
30960,
46506,
35683,
7203,
41339,
4943,
16034,
3084,
62,
3270,
48096,
33411,
366,
7575,
1,
796,
705,
10,
1433,
13,
39925,
6
] |
What is the lowest value for Draws, when Losses is '0', and when Byes is greater than 4? | SELECT MIN("Draws") FROM table_60205 WHERE "Losses" = '0' AND "Byes" > '4' | [
2061,
318,
262,
9016,
1988,
329,
15315,
82,
11,
618,
22014,
274,
318,
705,
15,
3256,
290,
618,
2750,
274,
318,
3744,
621,
604,
30,
46506,
20625,
7203,
25302,
82,
4943,
16034,
3084,
62,
1899,
21261,
33411,
366,
43,
793,
274,
1,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
1988,
329,
15315,
82,
11,
618,
22014,
274,
318,
705,
15,
3256,
290,
618,
2750,
274,
318,
3744,
621,
604,
30,
46506,
20625,
7203,
25302,
82,
4943,
16034,
3084,
62,
1899,
21261,
33411,
366,
43,
793,
274,
1,
796,
... |
A lista de usu rios que criaram ou responderam apenas _uma_ pergunta. | SELECT Users.Id, COUNT(Posts.Id) AS Total, PostTypes.Name, 'StackOverflow' AS base FROM Users JOIN Posts ON Users.Id = Posts.OwnerUserId JOIN PostTypes ON Posts.PostTypeId = PostTypes.Id WHERE PostTypes.Id IN (1, 2) GROUP BY Users.Id, PostTypes.Name HAVING COUNT(Posts.Id) = 1 | [
32,
1351,
64,
390,
514,
84,
374,
4267,
8358,
269,
380,
41158,
267,
84,
3031,
263,
321,
2471,
268,
292,
4808,
7487,
62,
583,
70,
44424,
13,
46506,
18987,
13,
7390,
11,
327,
28270,
7,
21496,
13,
7390,
8,
7054,
7472,
11,
2947,
31431,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
32,
1351,
64,
390,
514,
84,
374,
4267,
8358,
269,
380,
41158,
267,
84,
3031,
263,
321,
2471,
268,
292,
4808,
7487,
62,
583,
70,
44424,
13,
46506,
18987,
13,
7390,
11,
327,
28270,
7,
21496,
13,
7390,
8,
7054,
7472,
11,
2947,
31431,... |
count the number of patients whose admission location is trsf within this facility and item id is 51132? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND lab.itemid = "51132" | [
9127,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
491,
28202,
1626,
428,
6841,
290,
2378,
4686,
318,
642,
1157,
2624,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
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... | [
9127,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
491,
28202,
1626,
428,
6841,
290,
2378,
4686,
318,
642,
1157,
2624,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
12... |
How many entrepreneurs correspond to each investor, and order by the names in asc. | SELECT Investor, COUNT(*) FROM entrepreneur GROUP BY Investor ORDER BY Investor | [
2437,
867,
17038,
6053,
284,
1123,
15811,
11,
290,
1502,
416,
262,
3891,
287,
10570,
13,
46506,
47979,
11,
327,
28270,
7,
28104,
16034,
19500,
44441,
11050,
47979,
38678,
11050,
47979
] | [
1,
1,
1,
1,
1,
1,
1,
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,
17038,
6053,
284,
1123,
15811,
11,
290,
1502,
416,
262,
3891,
287,
10570,
13,
46506,
47979,
11,
327,
28270,
7,
28104,
16034,
19500,
44441,
11050,
47979,
38678,
11050,
47979
] |
Show the number of transactions with transaction type code 'SALE' for different investors if it is larger than 0. | SELECT investor_id, COUNT(*) FROM TRANSACTIONS WHERE transaction_type_code = "SALE" GROUP BY investor_id | [
15307,
262,
1271,
286,
8945,
351,
8611,
2099,
2438,
705,
50,
21358,
6,
329,
1180,
7713,
611,
340,
318,
4025,
621,
657,
13,
46506,
15811,
62,
312,
11,
327,
28270,
7,
28104,
16034,
44069,
10659,
11053,
33411,
8611,
62,
4906,
62,
8189,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
1271,
286,
8945,
351,
8611,
2099,
2438,
705,
50,
21358,
6,
329,
1180,
7713,
611,
340,
318,
4025,
621,
657,
13,
46506,
15811,
62,
312,
11,
327,
28270,
7,
28104,
16034,
44069,
10659,
11053,
33411,
8611,
62,
4906,
62,
8189,
... |
what were the names of the output that patient 43779 had first on this month/15? | SELECT d_items.label FROM d_items WHERE d_items.itemid IN (SELECT outputevents.itemid 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 = 43779)) AND DATETIME(outputevents.charttim... | [
10919,
547,
262,
3891,
286,
262,
5072,
326,
5827,
604,
2718,
3720,
550,
717,
319,
428,
1227,
14,
1314,
30,
46506,
288,
62,
23814,
13,
18242,
16034,
288,
62,
23814,
33411,
288,
62,
23814,
13,
9186,
312,
3268,
357,
46506,
38701,
1133,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
547,
262,
3891,
286,
262,
5072,
326,
5827,
604,
2718,
3720,
550,
717,
319,
428,
1227,
14,
1314,
30,
46506,
288,
62,
23814,
13,
18242,
16034,
288,
62,
23814,
33411,
288,
62,
23814,
13,
9186,
312,
3268,
357,
46506,
38701,
1133,
... |
What is the host in a year greater than 1989 and when the venue is the Staples Center located in California? | SELECT host FROM table_name_12 WHERE year > 1989 AND state = "california" AND venue = "staples center" | [
2061,
318,
262,
2583,
287,
257,
614,
3744,
621,
11104,
290,
618,
262,
14359,
318,
262,
44419,
3337,
5140,
287,
3442,
30,
46506,
2583,
16034,
3084,
62,
3672,
62,
1065,
33411,
614,
1875,
11104,
5357,
1181,
796,
366,
9948,
361,
3317,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2583,
287,
257,
614,
3744,
621,
11104,
290,
618,
262,
14359,
318,
262,
44419,
3337,
5140,
287,
3442,
30,
46506,
2583,
16034,
3084,
62,
3672,
62,
1065,
33411,
614,
1875,
11104,
5357,
1181,
796,
366,
9948,
361,
3317,
1,
... |
What is the width for the year of the 1970? | SELECT "Width" FROM table_35929 WHERE "Year" = '1970' | [
2061,
318,
262,
9647,
329,
262,
614,
286,
262,
8069,
30,
46506,
366,
30916,
1,
16034,
3084,
62,
30743,
1959,
33411,
366,
17688,
1,
796,
705,
30986,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9647,
329,
262,
614,
286,
262,
8069,
30,
46506,
366,
30916,
1,
16034,
3084,
62,
30743,
1959,
33411,
366,
17688,
1,
796,
705,
30986,
6
] |
Is there such a thing as an NEUROSCI 4 -credit course ? | SELECT DISTINCT name, number FROM course WHERE department = 'NEUROSCI' AND credits = 4 | [
3792,
612,
884,
257,
1517,
355,
281,
10635,
4261,
2640,
25690,
604,
532,
43082,
1781,
5633,
46506,
360,
8808,
1268,
4177,
1438,
11,
1271,
16034,
1781,
33411,
5011,
796,
705,
12161,
4261,
2640,
25690,
6,
5357,
10824,
796,
604
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3792,
612,
884,
257,
1517,
355,
281,
10635,
4261,
2640,
25690,
604,
532,
43082,
1781,
5633,
46506,
360,
8808,
1268,
4177,
1438,
11,
1271,
16034,
1781,
33411,
5011,
796,
705,
12161,
4261,
2640,
25690,
6,
5357,
10824,
796,
604
] |
What is the enrollment for the school Highland? | SELECT SUM("Enrollment") FROM table_14079 WHERE "School" = 'highland' | [
2061,
318,
262,
20753,
329,
262,
1524,
39874,
30,
46506,
35683,
7203,
4834,
48108,
4943,
16034,
3084,
62,
1415,
2998,
24,
33411,
366,
26130,
1,
796,
705,
8929,
1044,
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,
318,
262,
20753,
329,
262,
1524,
39874,
30,
46506,
35683,
7203,
4834,
48108,
4943,
16034,
3084,
62,
1415,
2998,
24,
33411,
366,
26130,
1,
796,
705,
8929,
1044,
6
] |
how many of the locomotives were built before 1940 ? | SELECT COUNT(*) FROM table_203_332 WHERE "year built" < 1940 | [
4919,
867,
286,
262,
33334,
313,
1083,
547,
3170,
878,
16236,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
32148,
33411,
366,
1941,
3170,
1,
1279,
16236
] | [
1,
1,
1,
1,
1,
1,
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,
286,
262,
33334,
313,
1083,
547,
3170,
878,
16236,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
32148,
33411,
366,
1941,
3170,
1,
1279,
16236
] |
What is the venue when melbourne is the away team? | SELECT venue FROM table_name_25 WHERE away_team = "melbourne" | [
2061,
318,
262,
14359,
618,
7758,
12544,
318,
262,
1497,
1074,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1495,
33411,
1497,
62,
15097,
796,
366,
17694,
12544,
1
] | [
1,
1,
1,
1,
1,
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,
14359,
618,
7758,
12544,
318,
262,
1497,
1074,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1495,
33411,
1497,
62,
15097,
796,
366,
17694,
12544,
1
] |
in this year, patient 49654 has made an admission? | SELECT COUNT(*) > 0 FROM admissions WHERE admissions.subject_id = 49654 AND DATETIME(admissions.admittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') | [
259,
428,
614,
11,
5827,
5125,
39111,
468,
925,
281,
13938,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
5125,
39111,
5357,
360,
1404,
2767,
12789,
7,
324,
8481,
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... | [
259,
428,
614,
11,
5827,
5125,
39111,
468,
925,
281,
13938,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
5125,
39111,
5357,
360,
1404,
2767,
12789,
7,
324,
8481,
13,
324,
20124,
524,... |
Find the total number of scientists. | SELECT COUNT(*) FROM scientists | [
16742,
262,
2472,
1271,
286,
5519,
13,
46506,
327,
28270,
7,
28104,
16034,
5519
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
2472,
1271,
286,
5519,
13,
46506,
327,
28270,
7,
28104,
16034,
5519
] |
What was the venue of the game on 27 April 1964? | SELECT "Venue" FROM table_56611 WHERE "Date" = '27 april 1964' | [
2061,
373,
262,
14359,
286,
262,
983,
319,
2681,
3035,
17575,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
20,
2791,
1157,
33411,
366,
10430,
1,
796,
705,
1983,
46593,
346,
17575,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
14359,
286,
262,
983,
319,
2681,
3035,
17575,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
20,
2791,
1157,
33411,
366,
10430,
1,
796,
705,
1983,
46593,
346,
17575,
6
] |
What is the L2 cache for the processor with a 750MHz frequency? | SELECT "L2-Cache" FROM table_8609 WHERE "Frequency" = '750mhz' | [
2061,
318,
262,
406,
17,
12940,
329,
262,
12649,
351,
257,
19683,
25983,
8373,
30,
46506,
366,
43,
17,
12,
30562,
1,
16034,
3084,
62,
23,
31751,
33411,
366,
37,
28707,
1,
796,
705,
15426,
76,
32179,
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,
318,
262,
406,
17,
12940,
329,
262,
12649,
351,
257,
19683,
25983,
8373,
30,
46506,
366,
43,
17,
12,
30562,
1,
16034,
3084,
62,
23,
31751,
33411,
366,
37,
28707,
1,
796,
705,
15426,
76,
32179,
6
] |
what is the number of patients whose marital status is single and primary disease is hypoxia? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "SINGLE" AND demographic.diagnosis = "HYPOXIA" | [
10919,
318,
262,
1271,
286,
3871,
3025,
29555,
3722,
318,
2060,
290,
4165,
4369,
318,
5328,
1140,
544,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
3876,
1287,
62,
13376... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1271,
286,
3871,
3025,
29555,
3722,
318,
2060,
290,
4165,
4369,
318,
5328,
1140,
544,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
3876,
1287,
62,
13376... |
What was the tie number for the round against visiting opponent Chelsea? | SELECT SUM("Tie no") FROM table_50006 WHERE "Away team" = 'chelsea' | [
2061,
373,
262,
9839,
1271,
329,
262,
2835,
1028,
10013,
6125,
12147,
30,
46506,
35683,
7203,
51,
494,
645,
4943,
16034,
3084,
62,
27641,
21,
33411,
366,
32,
1014,
1074,
1,
796,
705,
29232,
8583,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
9839,
1271,
329,
262,
2835,
1028,
10013,
6125,
12147,
30,
46506,
35683,
7203,
51,
494,
645,
4943,
16034,
3084,
62,
27641,
21,
33411,
366,
32,
1014,
1074,
1,
796,
705,
29232,
8583,
6
] |
What status has gauteng falcons as the opposing team? | SELECT status FROM table_name_2 WHERE opposing_team = "gauteng falcons" | [
2061,
3722,
468,
308,
2306,
1516,
24215,
5936,
355,
262,
12330,
1074,
30,
46506,
3722,
16034,
3084,
62,
3672,
62,
17,
33411,
12330,
62,
15097,
796,
366,
70,
2306,
1516,
24215,
5936,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
308,
2306,
1516,
24215,
5936,
355,
262,
12330,
1074,
30,
46506,
3722,
16034,
3084,
62,
3672,
62,
17,
33411,
12330,
62,
15097,
796,
366,
70,
2306,
1516,
24215,
5936,
1
] |
How many weeks are there that include the date October 11, 1969. | SELECT COUNT(week) FROM table_10646790_2 WHERE date = "October 11, 1969" | [
2437,
867,
2745,
389,
612,
326,
2291,
262,
3128,
3267,
1367,
11,
16450,
13,
46506,
327,
28270,
7,
10464,
8,
16034,
3084,
62,
940,
2414,
3134,
3829,
62,
17,
33411,
3128,
796,
366,
18517,
1367,
11,
16450,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2745,
389,
612,
326,
2291,
262,
3128,
3267,
1367,
11,
16450,
13,
46506,
327,
28270,
7,
10464,
8,
16034,
3084,
62,
940,
2414,
3134,
3829,
62,
17,
33411,
3128,
796,
366,
18517,
1367,
11,
16450,
1
] |
Show the number of students who are living in a dorm with a TV Lounge and group by first name in a bar chart, and show in desc by the names. | SELECT Fname, COUNT(Fname) FROM Student AS T1 JOIN Lives_in AS T2 ON T1.stuid = T2.stuid WHERE T2.dormid IN (SELECT T3.dormid FROM Has_amenity AS T3 JOIN Dorm_amenity AS T4 ON T3.amenid = T4.amenid WHERE T4.amenity_name = 'TV Lounge') GROUP BY Fname ORDER BY Fname DESC | [
15307,
262,
1271,
286,
2444,
508,
389,
2877,
287,
257,
18586,
351,
257,
3195,
36333,
290,
1448,
416,
717,
1438,
287,
257,
2318,
8262,
11,
290,
905,
287,
1715,
416,
262,
3891,
13,
46506,
376,
3672,
11,
327,
28270,
7,
37,
3672,
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,
1... | [
15307,
262,
1271,
286,
2444,
508,
389,
2877,
287,
257,
18586,
351,
257,
3195,
36333,
290,
1448,
416,
717,
1438,
287,
257,
2318,
8262,
11,
290,
905,
287,
1715,
416,
262,
3891,
13,
46506,
376,
3672,
11,
327,
28270,
7,
37,
3672,
8,
1... |
How many years did barclay nordica arrows bmw enter with a bmw str-4 t/c engine with less than 1 point? | SELECT SUM("Year") FROM table_70405 WHERE "Engine" = 'bmw str-4 t/c' AND "Entrant" = 'barclay nordica arrows bmw' AND "Points" < '1' | [
2437,
867,
812,
750,
2318,
565,
323,
299,
585,
3970,
20507,
275,
76,
86,
3802,
351,
257,
275,
76,
86,
965,
12,
19,
256,
14,
66,
3113,
351,
1342,
621,
352,
966,
30,
46506,
35683,
7203,
17688,
4943,
16034,
3084,
62,
2154,
26598,
334... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
750,
2318,
565,
323,
299,
585,
3970,
20507,
275,
76,
86,
3802,
351,
257,
275,
76,
86,
965,
12,
19,
256,
14,
66,
3113,
351,
1342,
621,
352,
966,
30,
46506,
35683,
7203,
17688,
4943,
16034,
3084,
62,
2154,
26598,
334... |
What town is Volleyball Sportiv Complex (3 500) located in? | SELECT "Town" FROM table_19073 WHERE "Arena (capacity)" = 'Volleyball Sportiv Complex (3 500)' | [
2061,
3240,
318,
4709,
1636,
1894,
12771,
452,
19157,
357,
18,
5323,
8,
5140,
287,
30,
46506,
366,
38097,
1,
16034,
3084,
62,
1129,
2998,
18,
33411,
366,
43199,
64,
357,
42404,
16725,
796,
705,
16598,
1636,
1894,
12771,
452,
19157,
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
] | [
2061,
3240,
318,
4709,
1636,
1894,
12771,
452,
19157,
357,
18,
5323,
8,
5140,
287,
30,
46506,
366,
38097,
1,
16034,
3084,
62,
1129,
2998,
18,
33411,
366,
43199,
64,
357,
42404,
16725,
796,
705,
16598,
1636,
1894,
12771,
452,
19157,
35... |
calculate the maximum age of patients with congesitve heart failure primary disease who died before 2115. | SELECT MAX(demographic.age) FROM demographic WHERE demographic.diagnosis = "CONGESTIVE HEART FAILURE" AND demographic.dod_year < "2115.0" | [
9948,
3129,
378,
262,
5415,
2479,
286,
3871,
351,
369,
3212,
270,
303,
2612,
5287,
4165,
4369,
508,
3724,
878,
362,
15363,
13,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
10943,
38,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9948,
3129,
378,
262,
5415,
2479,
286,
3871,
351,
369,
3212,
270,
303,
2612,
5287,
4165,
4369,
508,
3724,
878,
362,
15363,
13,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
10943,
38,
... |
What episode number is presented by Ben Okri ? | SELECT "Episode No." FROM table_1208 WHERE "Presenter" = 'Ben Okri' | [
2061,
4471,
1271,
318,
5545,
416,
3932,
6762,
380,
5633,
46506,
366,
23758,
1400,
526,
16034,
3084,
62,
1065,
2919,
33411,
366,
34695,
263,
1,
796,
705,
11696,
6762,
380,
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,
4471,
1271,
318,
5545,
416,
3932,
6762,
380,
5633,
46506,
366,
23758,
1400,
526,
16034,
3084,
62,
1065,
2919,
33411,
366,
34695,
263,
1,
796,
705,
11696,
6762,
380,
6
] |
What is the Name of the dinosaur, whose notes are, 'n ornithischia of uncertain placement'? | SELECT name FROM table_name_22 WHERE notes = "n ornithischia of uncertain placement" | [
2061,
318,
262,
6530,
286,
262,
28257,
11,
3025,
4710,
389,
11,
705,
77,
25322,
342,
25308,
544,
286,
8627,
13127,
30960,
46506,
1438,
16034,
3084,
62,
3672,
62,
1828,
33411,
4710,
796,
366,
77,
25322,
342,
25308,
544,
286,
8627,
1312... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6530,
286,
262,
28257,
11,
3025,
4710,
389,
11,
705,
77,
25322,
342,
25308,
544,
286,
8627,
13127,
30960,
46506,
1438,
16034,
3084,
62,
3672,
62,
1828,
33411,
4710,
796,
366,
77,
25322,
342,
25308,
544,
286,
8627,
1312... |
What player is from Ohio State college? | SELECT player FROM table_11677691_9 WHERE college = "Ohio State" | [
2061,
2137,
318,
422,
6835,
1812,
4152,
30,
46506,
2137,
16034,
3084,
62,
1157,
40179,
49541,
62,
24,
33411,
4152,
796,
366,
31274,
1812,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2137,
318,
422,
6835,
1812,
4152,
30,
46506,
2137,
16034,
3084,
62,
1157,
40179,
49541,
62,
24,
33411,
4152,
796,
366,
31274,
1812,
1
] |
Who are the opponents with a record of 3-0? | SELECT opponents FROM table_name_73 WHERE record = "3-0" | [
8241,
389,
262,
7691,
351,
257,
1700,
286,
513,
12,
15,
30,
46506,
7691,
16034,
3084,
62,
3672,
62,
4790,
33411,
1700,
796,
366,
18,
12,
15,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
389,
262,
7691,
351,
257,
1700,
286,
513,
12,
15,
30,
46506,
7691,
16034,
3084,
62,
3672,
62,
4790,
33411,
1700,
796,
366,
18,
12,
15,
1
] |
how many areas are unparished areas ? | SELECT COUNT("name") FROM table_204_600 WHERE "status" = 'unparished area' | [
4919,
867,
3006,
389,
555,
1845,
1348,
3006,
5633,
46506,
327,
28270,
7203,
3672,
4943,
16034,
3084,
62,
18638,
62,
8054,
33411,
366,
13376,
1,
796,
705,
403,
1845,
1348,
1989,
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
] | [
4919,
867,
3006,
389,
555,
1845,
1348,
3006,
5633,
46506,
327,
28270,
7203,
3672,
4943,
16034,
3084,
62,
18638,
62,
8054,
33411,
366,
13376,
1,
796,
705,
403,
1845,
1348,
1989,
6
] |
Give me a bar chart to show the names and revenue of the company that earns the highest revenue in each headquarter city. | SELECT Name, MAX(Revenue) FROM Manufacturers GROUP BY Headquarter | [
23318,
502,
257,
2318,
8262,
284,
905,
262,
3891,
290,
6426,
286,
262,
1664,
326,
29339,
262,
4511,
6426,
287,
1123,
1182,
24385,
1748,
13,
46506,
6530,
11,
25882,
7,
3041,
4080,
8,
16034,
17858,
17496,
44441,
11050,
7123,
24385
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2318,
8262,
284,
905,
262,
3891,
290,
6426,
286,
262,
1664,
326,
29339,
262,
4511,
6426,
287,
1123,
1182,
24385,
1748,
13,
46506,
6530,
11,
25882,
7,
3041,
4080,
8,
16034,
17858,
17496,
44441,
11050,
7123,
24385
] |
What is the number of losses for the team with 1 draw and 34 tries against? | SELECT "Lost" FROM table_36634 WHERE "Drawn" = '1' AND "Tries against" = '34' | [
2061,
318,
262,
1271,
286,
9089,
329,
262,
1074,
351,
352,
3197,
290,
4974,
8404,
1028,
30,
46506,
366,
31042,
1,
16034,
3084,
62,
32459,
2682,
33411,
366,
35,
5791,
1,
796,
705,
16,
6,
5357,
366,
51,
1678,
1028,
1,
796,
705,
2682... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9089,
329,
262,
1074,
351,
352,
3197,
290,
4974,
8404,
1028,
30,
46506,
366,
31042,
1,
16034,
3084,
62,
32459,
2682,
33411,
366,
35,
5791,
1,
796,
705,
16,
6,
5357,
366,
51,
1678,
1028,
1,
796,
705,
2682... |
Which GNU/Linux had no haiku and a client of airdc++? | SELECT "GNU/Linux" FROM table_11856 WHERE "Haiku" = 'no' AND "Client" = 'airdc++' | [
13828,
22961,
14,
19314,
550,
645,
387,
28643,
290,
257,
5456,
286,
257,
1447,
66,
4880,
30,
46506,
366,
16630,
52,
14,
19314,
1,
16034,
3084,
62,
16817,
3980,
33411,
366,
23303,
28643,
1,
796,
705,
3919,
6,
5357,
366,
11792,
1,
796... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
22961,
14,
19314,
550,
645,
387,
28643,
290,
257,
5456,
286,
257,
1447,
66,
4880,
30,
46506,
366,
16630,
52,
14,
19314,
1,
16034,
3084,
62,
16817,
3980,
33411,
366,
23303,
28643,
1,
796,
705,
3919,
6,
5357,
366,
11792,
1,
796... |
What away team scored 14.5 (89)? | SELECT "Away team" FROM table_33511 WHERE "Away team score" = '14.5 (89)' | [
2061,
1497,
1074,
7781,
1478,
13,
20,
357,
4531,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
27326,
1157,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1415,
13,
20,
357,
4531,
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
] | [
2061,
1497,
1074,
7781,
1478,
13,
20,
357,
4531,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
27326,
1157,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1415,
13,
20,
357,
4531,
33047
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.