instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Can you tell me the average Points that has the Attendance of 3,806? | SELECT AVG(points) FROM table_name_42 WHERE attendance = 3 OFFSET 806 | [
6090,
345,
1560,
502,
262,
2811,
11045,
326,
468,
262,
46502,
590,
286,
513,
11,
37988,
30,
46506,
35224,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
3682,
33411,
14858,
796,
513,
3963,
10652,
2767,
807,
3312
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
6090,
345,
1560,
502,
262,
2811,
11045,
326,
468,
262,
46502,
590,
286,
513,
11,
37988,
30,
46506,
35224,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
3682,
33411,
14858,
796,
513,
3963,
10652,
2767,
807,
3312
] |
Who had highest points during game against the Utah Jazz? | SELECT high_points FROM table_27902171_6 WHERE team = "Utah Jazz" | [
8241,
550,
4511,
2173,
1141,
983,
1028,
262,
10202,
21406,
30,
46506,
1029,
62,
13033,
16034,
3084,
62,
26050,
2999,
27192,
62,
21,
33411,
1074,
796,
366,
44350,
21406,
1
] | [
1,
1,
1,
1,
1,
1,
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,
4511,
2173,
1141,
983,
1028,
262,
10202,
21406,
30,
46506,
1029,
62,
13033,
16034,
3084,
62,
26050,
2999,
27192,
62,
21,
33411,
1074,
796,
366,
44350,
21406,
1
] |
tell me the top five of the most common diagnoses of patients in the 30s? | SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t1.icd9_code FROM (SELECT diagnoses_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age BETWEEN... | [
33331,
502,
262,
1353,
1936,
286,
262,
749,
2219,
40567,
286,
3871,
287,
262,
1542,
82,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
4735... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1353,
1936,
286,
262,
749,
2219,
40567,
286,
3871,
287,
262,
1542,
82,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
4735... |
What is the result of the ajc craven plate (wfa) race? | SELECT result FROM table_name_88 WHERE race = "ajc craven plate (wfa)" | [
2061,
318,
262,
1255,
286,
262,
257,
48055,
15671,
574,
7480,
357,
86,
13331,
8,
3234,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
3459,
33411,
3234,
796,
366,
1228,
66,
15671,
574,
7480,
357,
86,
13331,
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
] | [
2061,
318,
262,
1255,
286,
262,
257,
48055,
15671,
574,
7480,
357,
86,
13331,
8,
3234,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
3459,
33411,
3234,
796,
366,
1228,
66,
15671,
574,
7480,
357,
86,
13331,
16725
] |
How many NFL teams does Stevie Brown play for? | SELECT COUNT(nfl_team) FROM table_20996923_25 WHERE player = "Stevie Brown" | [
2437,
867,
5134,
3466,
857,
42786,
494,
4373,
711,
329,
30,
46506,
327,
28270,
7,
77,
2704,
62,
15097,
8,
16034,
3084,
62,
1238,
2079,
3388,
1954,
62,
1495,
33411,
2137,
796,
366,
7447,
85,
494,
4373,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5134,
3466,
857,
42786,
494,
4373,
711,
329,
30,
46506,
327,
28270,
7,
77,
2704,
62,
15097,
8,
16034,
3084,
62,
1238,
2079,
3388,
1954,
62,
1495,
33411,
2137,
796,
366,
7447,
85,
494,
4373,
1
] |
which opponent was next after jackson state ? | SELECT "opponent" FROM table_203_598 WHERE "date" > (SELECT "date" FROM table_203_598 WHERE "opponent" = 'jackson state') ORDER BY "date" LIMIT 1 | [
4758,
6125,
373,
1306,
706,
14509,
1559,
1181,
5633,
46506,
366,
10365,
3471,
1,
16034,
3084,
62,
22416,
62,
41292,
33411,
366,
4475,
1,
1875,
357,
46506,
366,
4475,
1,
16034,
3084,
62,
22416,
62,
41292,
33411,
366,
10365,
3471,
1,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
6125,
373,
1306,
706,
14509,
1559,
1181,
5633,
46506,
366,
10365,
3471,
1,
16034,
3084,
62,
22416,
62,
41292,
33411,
366,
4475,
1,
1875,
357,
46506,
366,
4475,
1,
16034,
3084,
62,
22416,
62,
41292,
33411,
366,
10365,
3471,
1,
79... |
What was the position of the player picked by the Montreal Canadiens? | SELECT "Position" FROM table_1096 WHERE "NHL team" = 'Montreal Canadiens' | [
2061,
373,
262,
2292,
286,
262,
2137,
6497,
416,
262,
12871,
33664,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
940,
4846,
33411,
366,
45,
6581,
1074,
1,
796,
705,
26031,
5305,
33664,
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,
2292,
286,
262,
2137,
6497,
416,
262,
12871,
33664,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
940,
4846,
33411,
366,
45,
6581,
1074,
1,
796,
705,
26031,
5305,
33664,
6
] |
What is the 1880 figure when 1860 is N/A and 1910 is 494? | SELECT 1880 FROM table_name_19 WHERE 1860 = "n/a" AND 1910 = 494 | [
2061,
318,
262,
34865,
3785,
618,
37637,
318,
399,
14,
32,
290,
31953,
318,
5125,
19,
30,
46506,
34865,
16034,
3084,
62,
3672,
62,
1129,
33411,
37637,
796,
366,
77,
14,
64,
1,
5357,
31953,
796,
5125,
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
] | [
2061,
318,
262,
34865,
3785,
618,
37637,
318,
399,
14,
32,
290,
31953,
318,
5125,
19,
30,
46506,
34865,
16034,
3084,
62,
3672,
62,
1129,
33411,
37637,
796,
366,
77,
14,
64,
1,
5357,
31953,
796,
5125,
19
] |
Which Percent of Slovenes 1951 has a Number of people 1991 larger than 8, and a Village (German) of pl schenberg? | SELECT percent_of_slovenes_1951 FROM table_name_60 WHERE number_of_people_1991 > 8 AND village__german_ = "plöschenberg" | [
13828,
22512,
286,
30694,
274,
27937,
468,
257,
7913,
286,
661,
10249,
4025,
621,
807,
11,
290,
257,
14812,
357,
16010,
8,
286,
458,
629,
831,
3900,
30,
46506,
1411,
62,
1659,
62,
82,
5439,
574,
274,
62,
1129,
4349,
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... | [
13828,
22512,
286,
30694,
274,
27937,
468,
257,
7913,
286,
661,
10249,
4025,
621,
807,
11,
290,
257,
14812,
357,
16010,
8,
286,
458,
629,
831,
3900,
30,
46506,
1411,
62,
1659,
62,
82,
5439,
574,
274,
62,
1129,
4349,
16034,
3084,
62,... |
what is the record when the opponent is jeff williams? | SELECT "Record" FROM table_48171 WHERE "Opponent" = 'jeff williams' | [
10919,
318,
262,
1700,
618,
262,
6125,
318,
11223,
487,
481,
1789,
82,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
2780,
27192,
33411,
366,
27524,
3471,
1,
796,
705,
73,
14822,
481,
1789,
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
] | [
10919,
318,
262,
1700,
618,
262,
6125,
318,
11223,
487,
481,
1789,
82,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
2780,
27192,
33411,
366,
27524,
3471,
1,
796,
705,
73,
14822,
481,
1789,
82,
6
] |
What was Goal that where Competition of international friendly, and a Result of 2 1? | SELECT goal FROM table_name_65 WHERE competition = "international friendly" AND result = "2–1" | [
2061,
373,
25376,
326,
810,
27348,
286,
3230,
8030,
11,
290,
257,
25414,
286,
362,
352,
30,
46506,
3061,
16034,
3084,
62,
3672,
62,
2996,
33411,
5449,
796,
366,
45609,
8030,
1,
5357,
1255,
796,
366,
17,
1906,
16,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
25376,
326,
810,
27348,
286,
3230,
8030,
11,
290,
257,
25414,
286,
362,
352,
30,
46506,
3061,
16034,
3084,
62,
3672,
62,
2996,
33411,
5449,
796,
366,
45609,
8030,
1,
5357,
1255,
796,
366,
17,
1906,
16,
1
] |
Which circuit was Delage the winning constructor for? | SELECT circuit FROM table_name_44 WHERE winning_constructor = "delage" | [
13828,
10349,
373,
4216,
496,
262,
5442,
23772,
329,
30,
46506,
10349,
16034,
3084,
62,
3672,
62,
2598,
33411,
5442,
62,
41571,
273,
796,
366,
12381,
496,
1
] | [
1,
1,
1,
1,
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,
10349,
373,
4216,
496,
262,
5442,
23772,
329,
30,
46506,
10349,
16034,
3084,
62,
3672,
62,
2598,
33411,
5442,
62,
41571,
273,
796,
366,
12381,
496,
1
] |
Name the party with end date of 22 november 1980 | SELECT "Party" FROM table_14844 WHERE "End date" = '22 november 1980' | [
5376,
262,
2151,
351,
886,
3128,
286,
2534,
645,
303,
1916,
7169,
46506,
366,
33553,
1,
16034,
3084,
62,
18294,
2598,
33411,
366,
12915,
3128,
1,
796,
705,
1828,
645,
303,
1916,
7169,
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
] | [
5376,
262,
2151,
351,
886,
3128,
286,
2534,
645,
303,
1916,
7169,
46506,
366,
33553,
1,
16034,
3084,
62,
18294,
2598,
33411,
366,
12915,
3128,
1,
796,
705,
1828,
645,
303,
1916,
7169,
6
] |
Tell me the partner for outcome of winner and score of 7-6 (7) 5-7 10-7 | SELECT partner FROM table_name_10 WHERE outcome = "winner" AND score = "7-6 (7) 5-7 10-7" | [
24446,
502,
262,
5212,
329,
8055,
286,
8464,
290,
4776,
286,
767,
12,
21,
357,
22,
8,
642,
12,
22,
838,
12,
22,
46506,
5212,
16034,
3084,
62,
3672,
62,
940,
33411,
8055,
796,
366,
39791,
1,
5357,
4776,
796,
366,
22,
12,
21,
357,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
5212,
329,
8055,
286,
8464,
290,
4776,
286,
767,
12,
21,
357,
22,
8,
642,
12,
22,
838,
12,
22,
46506,
5212,
16034,
3084,
62,
3672,
62,
940,
33411,
8055,
796,
366,
39791,
1,
5357,
4776,
796,
366,
22,
12,
21,
357,... |
For all employees who have the letters D or S in their first name, visualize a bar chart about the distribution of hire_date and the average of employee_id bin hire_date by weekday, I want to rank by the mean employee id in asc. | SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY AVG(EMPLOYEE_ID) | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
6538,
62,
312,
9874,
11078,
62,
4475,
416,
28269,
11,
314,
765,
284,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
6538,
62,
312,
9874,
11078,
62,
4475,
416,
28269,
11,
314,
765,
284,
... |
what was the amount of total output that patient 010-1155 had received on the first icu visit? | SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-1155') AND NOT patient.unitdischargetime IS ... | [
10919,
373,
262,
2033,
286,
2472,
5072,
326,
5827,
5534,
15,
12,
1157,
2816,
550,
2722,
319,
262,
717,
14158,
84,
3187,
30,
46506,
35683,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411,
10337,
22915,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
2033,
286,
2472,
5072,
326,
5827,
5534,
15,
12,
1157,
2816,
550,
2722,
319,
262,
717,
14158,
84,
3187,
30,
46506,
35683,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411,
10337,
22915,... |
increased risk of bleeding ( platelet count < 80 | SELECT * FROM table_train_155 WHERE bleeding = 1 OR platelet_count < 80 | [
24988,
839,
2526,
286,
16832,
357,
7480,
1616,
954,
1279,
4019,
46506,
1635,
16034,
3084,
62,
27432,
62,
18742,
33411,
16832,
796,
352,
6375,
7480,
1616,
62,
9127,
1279,
4019
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24988,
839,
2526,
286,
16832,
357,
7480,
1616,
954,
1279,
4019,
46506,
1635,
16034,
3084,
62,
27432,
62,
18742,
33411,
16832,
796,
352,
6375,
7480,
1616,
62,
9127,
1279,
4019
] |
what team played against zimbabwe in 1999? | SELECT "Team" FROM table_37059 WHERE "Year" = '1999' AND "Versus" = 'zimbabwe' | [
10919,
1074,
2826,
1028,
1976,
27175,
287,
7358,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
20167,
3270,
33411,
366,
17688,
1,
796,
705,
18946,
6,
5357,
366,
34947,
385,
1,
796,
705,
89,
27175,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
1074,
2826,
1028,
1976,
27175,
287,
7358,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
20167,
3270,
33411,
366,
17688,
1,
796,
705,
18946,
6,
5357,
366,
34947,
385,
1,
796,
705,
89,
27175,
6
] |
What pick number did the linebacker from the denver broncos get? | SELECT pick FROM table_name_34 WHERE position = "linebacker" AND team = "denver broncos" | [
2061,
2298,
1271,
750,
262,
18961,
422,
262,
2853,
332,
18443,
6966,
651,
30,
46506,
2298,
16034,
3084,
62,
3672,
62,
2682,
33411,
2292,
796,
366,
1370,
49978,
1,
5357,
1074,
796,
366,
6559,
332,
18443,
6966,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2298,
1271,
750,
262,
18961,
422,
262,
2853,
332,
18443,
6966,
651,
30,
46506,
2298,
16034,
3084,
62,
3672,
62,
2682,
33411,
2292,
796,
366,
1370,
49978,
1,
5357,
1074,
796,
366,
6559,
332,
18443,
6966,
1
] |
Show me acc_percent by all road in a histogram | SELECT All_Road, ACC_Percent FROM basketball_match | [
15307,
502,
697,
62,
25067,
416,
477,
2975,
287,
257,
1554,
21857,
46506,
1439,
62,
29197,
11,
15859,
62,
31905,
16034,
9669,
62,
15699
] | [
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,
502,
697,
62,
25067,
416,
477,
2975,
287,
257,
1554,
21857,
46506,
1439,
62,
29197,
11,
15859,
62,
31905,
16034,
9669,
62,
15699
] |
What is the name of the golfer that has the score of 73-65=138? | SELECT "Player" FROM table_76232 WHERE "Score" = '73-65=138' | [
2061,
318,
262,
1438,
286,
262,
43791,
2232,
326,
468,
262,
4776,
286,
8854,
12,
2996,
28,
20107,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
4304,
24339,
33411,
366,
26595,
1,
796,
705,
4790,
12,
2996,
28,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
43791,
2232,
326,
468,
262,
4776,
286,
8854,
12,
2996,
28,
20107,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
4304,
24339,
33411,
366,
26595,
1,
796,
705,
4790,
12,
2996,
28,
20107,
6
] |
What is the average Byes that has Ballarat FL of Sunbury against more than 1167? | SELECT AVG(byes) FROM table_name_70 WHERE ballarat_fl = "sunbury" AND against > 1167 | [
2061,
318,
262,
2811,
2750,
274,
326,
468,
6932,
34174,
9977,
286,
3825,
10711,
1028,
517,
621,
1367,
3134,
30,
46506,
35224,
7,
1525,
274,
8,
16034,
3084,
62,
3672,
62,
2154,
33411,
2613,
34174,
62,
2704,
796,
366,
19155,
10711,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2750,
274,
326,
468,
6932,
34174,
9977,
286,
3825,
10711,
1028,
517,
621,
1367,
3134,
30,
46506,
35224,
7,
1525,
274,
8,
16034,
3084,
62,
3672,
62,
2154,
33411,
2613,
34174,
62,
2704,
796,
366,
19155,
10711,
1,
... |
What date was there a game larger than 17? | SELECT date FROM table_name_20 WHERE game > 17 | [
2061,
3128,
373,
612,
257,
983,
4025,
621,
1596,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1238,
33411,
983,
1875,
1596
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3128,
373,
612,
257,
983,
4025,
621,
1596,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1238,
33411,
983,
1875,
1596
] |
How many patients whose language is English are aged below 36 years? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.language = "ENGL" AND demographic.age < "36" | [
2437,
867,
3871,
3025,
3303,
318,
3594,
389,
9722,
2174,
4570,
812,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
16129,
796,
366,
1677,
8763,
1,
5357,
16728,
13,
496,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3871,
3025,
3303,
318,
3594,
389,
9722,
2174,
4570,
812,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
16129,
796,
366,
1677,
8763,
1,
5357,
16728,
13,
496,
... |
what is the english translation when the artist is ann christine? | SELECT "English translation" FROM table_63551 WHERE "Artist" = 'ann christine' | [
10919,
318,
262,
46932,
11059,
618,
262,
6802,
318,
1529,
33826,
500,
30,
46506,
366,
15823,
11059,
1,
16034,
3084,
62,
48250,
4349,
33411,
366,
43020,
1,
796,
705,
1236,
33826,
500,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
46932,
11059,
618,
262,
6802,
318,
1529,
33826,
500,
30,
46506,
366,
15823,
11059,
1,
16034,
3084,
62,
48250,
4349,
33411,
366,
43020,
1,
796,
705,
1236,
33826,
500,
6
] |
What is Results, when First Elected is less than 1988? | SELECT "Results" FROM table_62031 WHERE "First elected" < '1988' | [
2061,
318,
15691,
11,
618,
3274,
5903,
276,
318,
1342,
621,
12122,
30,
46506,
366,
25468,
1,
16034,
3084,
62,
38850,
3132,
33411,
366,
5962,
7018,
1,
1279,
705,
26709,
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,
318,
15691,
11,
618,
3274,
5903,
276,
318,
1342,
621,
12122,
30,
46506,
366,
25468,
1,
16034,
3084,
62,
38850,
3132,
33411,
366,
5962,
7018,
1,
1279,
705,
26709,
6
] |
List the names of all distinct nurses ordered by alphabetical order? | SELECT DISTINCT name FROM nurse ORDER BY name | [
8053,
262,
3891,
286,
477,
7310,
20669,
6149,
416,
24830,
605,
1502,
30,
46506,
360,
8808,
1268,
4177,
1438,
16034,
15849,
38678,
11050,
1438
] | [
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,
3891,
286,
477,
7310,
20669,
6149,
416,
24830,
605,
1502,
30,
46506,
360,
8808,
1268,
4177,
1438,
16034,
15849,
38678,
11050,
1438
] |
Name the total number for period of validity for upper volta | SELECT COUNT(period_of_validity) FROM table_222666_1 WHERE former_country_name = "Upper Volta" | [
5376,
262,
2472,
1271,
329,
2278,
286,
19648,
329,
6727,
2322,
8326,
46506,
327,
28270,
7,
41007,
62,
1659,
62,
12102,
414,
8,
16034,
3084,
62,
1828,
2075,
2791,
62,
16,
33411,
1966,
62,
19315,
62,
3672,
796,
366,
52,
2848,
4709,
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
] | [
5376,
262,
2472,
1271,
329,
2278,
286,
19648,
329,
6727,
2322,
8326,
46506,
327,
28270,
7,
41007,
62,
1659,
62,
12102,
414,
8,
16034,
3084,
62,
1828,
2075,
2791,
62,
16,
33411,
1966,
62,
19315,
62,
3672,
796,
366,
52,
2848,
4709,
83... |
Find the major that is studied by the most female students. | SELECT major FROM student WHERE sex = "F" GROUP BY major ORDER BY COUNT(*) DESC LIMIT 1 | [
16742,
262,
1688,
326,
318,
9713,
416,
262,
749,
4048,
2444,
13,
46506,
1688,
16034,
3710,
33411,
1714,
796,
366,
37,
1,
44441,
11050,
1688,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
1688,
326,
318,
9713,
416,
262,
749,
4048,
2444,
13,
46506,
1688,
16034,
3710,
33411,
1714,
796,
366,
37,
1,
44441,
11050,
1688,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] |
How many stackexchange non-meta sites are there?. | SELECT * FROM sys.databases WHERE (NOT name LIKE '%.Meta' OR name = 'StackExchange.Meta') AND database_id > 5 | [
2437,
867,
336,
330,
365,
87,
3803,
1729,
12,
28961,
5043,
389,
612,
30,
13,
46506,
1635,
16034,
25064,
13,
19608,
18826,
33411,
357,
11929,
1438,
34178,
705,
7225,
48526,
6,
6375,
1438,
796,
705,
25896,
3109,
3803,
13,
48526,
11537,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
336,
330,
365,
87,
3803,
1729,
12,
28961,
5043,
389,
612,
30,
13,
46506,
1635,
16034,
25064,
13,
19608,
18826,
33411,
357,
11929,
1438,
34178,
705,
7225,
48526,
6,
6375,
1438,
796,
705,
25896,
3109,
3803,
13,
48526,
11537,
... |
How many export volume of goods/services values are associated with GDP at constant prices values of 3.072? | SELECT COUNT("Export volume of goods and services (percent change)") FROM table_4300 WHERE "GDP at constant prices (THB trillions)" = '3.072' | [
2437,
867,
10784,
6115,
286,
7017,
14,
30416,
3815,
389,
3917,
351,
12396,
379,
6937,
4536,
3815,
286,
513,
13,
2998,
17,
30,
46506,
327,
28270,
7203,
43834,
6115,
286,
7017,
290,
2594,
357,
25067,
1487,
8,
4943,
16034,
3084,
62,
3559... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10784,
6115,
286,
7017,
14,
30416,
3815,
389,
3917,
351,
12396,
379,
6937,
4536,
3815,
286,
513,
13,
2998,
17,
30,
46506,
327,
28270,
7203,
43834,
6115,
286,
7017,
290,
2594,
357,
25067,
1487,
8,
4943,
16034,
3084,
62,
3559... |
What is Points, when Points is 60, and when Club is Bedwas RFC? | SELECT "Points for" FROM table_46322 WHERE "Points" = '60' AND "Club" = 'bedwas rfc' | [
2061,
318,
11045,
11,
618,
11045,
318,
3126,
11,
290,
618,
6289,
318,
15585,
9776,
30978,
30,
46506,
366,
40710,
329,
1,
16034,
3084,
62,
3510,
37283,
33411,
366,
40710,
1,
796,
705,
1899,
6,
5357,
366,
42350,
1,
796,
705,
3077,
977... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11045,
11,
618,
11045,
318,
3126,
11,
290,
618,
6289,
318,
15585,
9776,
30978,
30,
46506,
366,
40710,
329,
1,
16034,
3084,
62,
3510,
37283,
33411,
366,
40710,
1,
796,
705,
1899,
6,
5357,
366,
42350,
1,
796,
705,
3077,
977... |
which team ranked below chile 's ? | SELECT "team" FROM table_204_735 WHERE "rank" = (SELECT "rank" FROM table_204_735 WHERE "team" = 'chile') + 1 | [
4758,
1074,
10307,
2174,
442,
576,
705,
82,
5633,
46506,
366,
15097,
1,
16034,
3084,
62,
18638,
62,
22,
2327,
33411,
366,
43027,
1,
796,
357,
46506,
366,
43027,
1,
16034,
3084,
62,
18638,
62,
22,
2327,
33411,
366,
15097,
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
] | [
4758,
1074,
10307,
2174,
442,
576,
705,
82,
5633,
46506,
366,
15097,
1,
16034,
3084,
62,
18638,
62,
22,
2327,
33411,
366,
43027,
1,
796,
357,
46506,
366,
43027,
1,
16034,
3084,
62,
18638,
62,
22,
2327,
33411,
366,
15097,
1,
796,
705... |
What is the muzzle device on the colt model le1020? | SELECT "Muzzle device" FROM table_17833 WHERE "Colt model no." = 'LE1020' | [
2061,
318,
262,
31746,
3335,
319,
262,
951,
83,
2746,
443,
940,
1238,
30,
46506,
366,
44,
9625,
3335,
1,
16034,
3084,
62,
23188,
2091,
33411,
366,
5216,
83,
2746,
645,
526,
796,
705,
2538,
940,
1238,
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,
31746,
3335,
319,
262,
951,
83,
2746,
443,
940,
1238,
30,
46506,
366,
44,
9625,
3335,
1,
16034,
3084,
62,
23188,
2091,
33411,
366,
5216,
83,
2746,
645,
526,
796,
705,
2538,
940,
1238,
6
] |
What is the label for December 2004? | SELECT label FROM table_name_73 WHERE date = "december 2004" | [
2061,
318,
262,
6167,
329,
3426,
5472,
30,
46506,
6167,
16034,
3084,
62,
3672,
62,
4790,
33411,
3128,
796,
366,
2934,
3273,
5472,
1
] | [
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,
6167,
329,
3426,
5472,
30,
46506,
6167,
16034,
3084,
62,
3672,
62,
4790,
33411,
3128,
796,
366,
2934,
3273,
5472,
1
] |
is there a round trip flight from ATLANTA to DALLAS via DENVER | 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, fare, flight, flight_fare, flight_stop WHERE ((CITY_2.city_code = AIRPORT_SERVICE_2.city_code AND CITY_2.city_name = 'DE... | [
271,
612,
257,
2835,
5296,
5474,
422,
5161,
25697,
5603,
284,
360,
7036,
1921,
2884,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
271,
612,
257,
2835,
5296,
5474,
422,
5161,
25697,
5603,
284,
360,
7036,
1921,
2884,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9... |
which is the only track under two minutes ? | SELECT "title" FROM table_204_184 WHERE "length" < 2 | [
4758,
318,
262,
691,
2610,
739,
734,
2431,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
18638,
62,
22883,
33411,
366,
13664,
1,
1279,
362
] | [
1,
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,
318,
262,
691,
2610,
739,
734,
2431,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
18638,
62,
22883,
33411,
366,
13664,
1,
1279,
362
] |
Who was the opponent on November 26, 1989? | SELECT "Opponent" FROM table_33675 WHERE "Date" = 'november 26, 1989' | [
8241,
373,
262,
6125,
319,
3389,
2608,
11,
11104,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
29211,
2425,
33411,
366,
10430,
1,
796,
705,
77,
3239,
2608,
11,
11104,
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
] | [
8241,
373,
262,
6125,
319,
3389,
2608,
11,
11104,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
29211,
2425,
33411,
366,
10430,
1,
796,
705,
77,
3239,
2608,
11,
11104,
6
] |
who were the 'candidate' of South Carolina 6? | SELECT "Candidates" FROM table_28866 WHERE "District" = 'South Carolina 6' | [
8727,
547,
262,
705,
46188,
20540,
6,
286,
2520,
5913,
718,
30,
46506,
366,
41572,
37051,
1,
16034,
3084,
62,
25270,
2791,
33411,
366,
44857,
1,
796,
705,
14942,
5913,
718,
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
] | [
8727,
547,
262,
705,
46188,
20540,
6,
286,
2520,
5913,
718,
30,
46506,
366,
41572,
37051,
1,
16034,
3084,
62,
25270,
2791,
33411,
366,
44857,
1,
796,
705,
14942,
5913,
718,
6
] |
What Number has a Language listed as other? | SELECT number FROM table_name_33 WHERE language = "other" | [
2061,
7913,
468,
257,
15417,
5610,
355,
584,
30,
46506,
1271,
16034,
3084,
62,
3672,
62,
2091,
33411,
3303,
796,
366,
847,
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,
7913,
468,
257,
15417,
5610,
355,
584,
30,
46506,
1271,
16034,
3084,
62,
3672,
62,
2091,
33411,
3303,
796,
366,
847,
1
] |
How many years did the USD Exchange have 225.82 and a gross domestic product larger than 240,707,315? | SELECT COUNT("Year") FROM table_43221 WHERE "US dollar exchange" = '¥225.82' AND "Gross domestic product" > '240,707,315' | [
2437,
867,
812,
750,
262,
11403,
12516,
423,
18500,
13,
6469,
290,
257,
10319,
5928,
1720,
4025,
621,
14956,
11,
24038,
11,
27936,
30,
46506,
327,
28270,
7203,
17688,
4943,
16034,
3084,
62,
3559,
26115,
33411,
366,
2937,
8872,
5163,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
11403,
12516,
423,
18500,
13,
6469,
290,
257,
10319,
5928,
1720,
4025,
621,
14956,
11,
24038,
11,
27936,
30,
46506,
327,
28270,
7203,
17688,
4943,
16034,
3084,
62,
3559,
26115,
33411,
366,
2937,
8872,
5163,
1,
... |
Which Years in Orlando has a Nationality of united states, and a School/Club Team of illinois? | SELECT years_in_orlando FROM table_name_23 WHERE nationality = "united states" AND school_club_team = "illinois" | [
13828,
13212,
287,
13117,
468,
257,
2351,
414,
286,
16503,
2585,
11,
290,
257,
3961,
14,
42350,
4816,
286,
2801,
8981,
30,
46506,
812,
62,
259,
62,
273,
11993,
16034,
3084,
62,
3672,
62,
1954,
33411,
29835,
796,
366,
41187,
2585,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13212,
287,
13117,
468,
257,
2351,
414,
286,
16503,
2585,
11,
290,
257,
3961,
14,
42350,
4816,
286,
2801,
8981,
30,
46506,
812,
62,
259,
62,
273,
11993,
16034,
3084,
62,
3672,
62,
1954,
33411,
29835,
796,
366,
41187,
2585,
1,
... |
What is the College of the Player from PBA Team Alaska Milkmen with a Pick number of 3 or less? | SELECT college FROM table_name_65 WHERE pick < 3 AND pba_team = "alaska milkmen" | [
2061,
318,
262,
5535,
286,
262,
7853,
422,
350,
4339,
4816,
12926,
24796,
3653,
351,
257,
12346,
1271,
286,
513,
393,
1342,
30,
46506,
4152,
16034,
3084,
62,
3672,
62,
2996,
33411,
2298,
1279,
513,
5357,
279,
7012,
62,
15097,
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
] | [
2061,
318,
262,
5535,
286,
262,
7853,
422,
350,
4339,
4816,
12926,
24796,
3653,
351,
257,
12346,
1271,
286,
513,
393,
1342,
30,
46506,
4152,
16034,
3084,
62,
3672,
62,
2996,
33411,
2298,
1279,
513,
5357,
279,
7012,
62,
15097,
796,
366... |
On what date was the asset acquisition that was announced on February 22, 2007 completed? | SELECT "Date Completed" FROM table_18943 WHERE "Date Announced" = 'February 22, 2007' | [
2202,
644,
3128,
373,
262,
11171,
12673,
326,
373,
3414,
319,
3945,
2534,
11,
4343,
5668,
30,
46506,
366,
10430,
32983,
1,
16034,
3084,
62,
23362,
3559,
33411,
366,
10430,
5506,
8918,
1,
796,
705,
21816,
2534,
11,
4343,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2202,
644,
3128,
373,
262,
11171,
12673,
326,
373,
3414,
319,
3945,
2534,
11,
4343,
5668,
30,
46506,
366,
10430,
32983,
1,
16034,
3084,
62,
23362,
3559,
33411,
366,
10430,
5506,
8918,
1,
796,
705,
21816,
2534,
11,
4343,
6
] |
Where did Carlton play? | SELECT venue FROM table_name_9 WHERE away_team = "carlton" | [
8496,
750,
44348,
711,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
24,
33411,
1497,
62,
15097,
796,
366,
66,
7063,
1122,
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,
44348,
711,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
24,
33411,
1497,
62,
15097,
796,
366,
66,
7063,
1122,
1
] |
Who is the Shirt Back Sponsor if the Shorts Sponsor is Telestet? | SELECT "Shirt back sponsor" FROM table_50361 WHERE "Shorts sponsor" = 'telestet' | [
8241,
318,
262,
45180,
5157,
23389,
611,
262,
911,
2096,
23389,
318,
12088,
395,
316,
30,
46506,
366,
2484,
2265,
736,
17487,
1,
16034,
3084,
62,
1120,
35195,
33411,
366,
2484,
2096,
17487,
1,
796,
705,
37524,
395,
316,
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
] | [
8241,
318,
262,
45180,
5157,
23389,
611,
262,
911,
2096,
23389,
318,
12088,
395,
316,
30,
46506,
366,
2484,
2265,
736,
17487,
1,
16034,
3084,
62,
1120,
35195,
33411,
366,
2484,
2096,
17487,
1,
796,
705,
37524,
395,
316,
6
] |
All questions with a given tag. | SELECT q.Id AS "id", q.Score AS "sc", q.AnswerCount AS "ac", CONCAT(q.OwnerDisplayName, u.DisplayName) AS "au", q.Title AS "title", q.Tags AS "tg", q.Body AS "body" FROM Posts AS q LEFT JOIN Users AS u ON q.OwnerUserId = u.Id WHERE q.PostTypeId = 1 AND q.Tags LIKE '%<##Tag##>%' ORDER BY q.Id | [
3237,
2683,
351,
257,
1813,
7621,
13,
46506,
10662,
13,
7390,
7054,
366,
312,
1600,
10662,
13,
26595,
7054,
366,
1416,
1600,
10662,
13,
33706,
12332,
7054,
366,
330,
1600,
39962,
1404,
7,
80,
13,
42419,
23114,
5376,
11,
334,
13,
23114... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3237,
2683,
351,
257,
1813,
7621,
13,
46506,
10662,
13,
7390,
7054,
366,
312,
1600,
10662,
13,
26595,
7054,
366,
1416,
1600,
10662,
13,
33706,
12332,
7054,
366,
330,
1600,
39962,
1404,
7,
80,
13,
42419,
23114,
5376,
11,
334,
13,
23114... |
What is the greatest points value that have draws under 2 and 2 losses? | SELECT MAX(points) FROM table_name_67 WHERE drawn < 2 AND lost = 2 | [
2061,
318,
262,
6000,
2173,
1988,
326,
423,
14293,
739,
362,
290,
362,
9089,
30,
46506,
25882,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
3134,
33411,
7428,
1279,
362,
5357,
2626,
796,
362
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6000,
2173,
1988,
326,
423,
14293,
739,
362,
290,
362,
9089,
30,
46506,
25882,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
3134,
33411,
7428,
1279,
362,
5357,
2626,
796,
362
] |
Show the park of the roller coaster with the highest speed. | SELECT park FROM roller_coaster ORDER BY speed DESC LIMIT 1 | [
15307,
262,
3952,
286,
262,
24471,
42450,
351,
262,
4511,
2866,
13,
46506,
3952,
16034,
24471,
62,
1073,
1603,
38678,
11050,
2866,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
3952,
286,
262,
24471,
42450,
351,
262,
4511,
2866,
13,
46506,
3952,
16034,
24471,
62,
1073,
1603,
38678,
11050,
2866,
22196,
34,
27564,
2043,
352
] |
What are the junctions of the route with termini aguilares, texas us 59? | SELECT junctions FROM table_name_98 WHERE termini = "aguilares, texas us 59" | [
2061,
389,
262,
10891,
2733,
286,
262,
6339,
351,
5651,
72,
556,
84,
346,
3565,
11,
48659,
292,
514,
7863,
30,
46506,
10891,
2733,
16034,
3084,
62,
3672,
62,
4089,
33411,
5651,
72,
796,
366,
11433,
346,
3565,
11,
48659,
292,
514,
78... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10891,
2733,
286,
262,
6339,
351,
5651,
72,
556,
84,
346,
3565,
11,
48659,
292,
514,
7863,
30,
46506,
10891,
2733,
16034,
3084,
62,
3672,
62,
4089,
33411,
5651,
72,
796,
366,
11433,
346,
3565,
11,
48659,
292,
514,
78... |
Name the memory for frequency of 1.6 ghz | SELECT memory FROM table_16729930_17 WHERE frequency = "1.6 GHz" | [
5376,
262,
4088,
329,
8373,
286,
352,
13,
21,
24997,
89,
46506,
4088,
16034,
3084,
62,
21940,
22579,
1270,
62,
1558,
33411,
8373,
796,
366,
16,
13,
21,
26499,
1
] | [
1,
1,
1,
1,
1,
1,
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,
4088,
329,
8373,
286,
352,
13,
21,
24997,
89,
46506,
4088,
16034,
3084,
62,
21940,
22579,
1270,
62,
1558,
33411,
8373,
796,
366,
16,
13,
21,
26499,
1
] |
What is the Right ascension of the Object type spiral galaxy that has an Apparent magnitude larger that 12.2 | SELECT "Right ascension ( J2000 )" FROM table_51225 WHERE "Object type" = 'spiral galaxy' AND "Apparent magnitude" > '12.2' | [
2061,
318,
262,
6498,
10570,
3004,
286,
262,
9515,
2099,
23642,
16161,
326,
468,
281,
2034,
1580,
14735,
4025,
326,
1105,
13,
17,
46506,
366,
11028,
10570,
3004,
357,
449,
11024,
1267,
1,
16034,
3084,
62,
25836,
1495,
33411,
366,
10267,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6498,
10570,
3004,
286,
262,
9515,
2099,
23642,
16161,
326,
468,
281,
2034,
1580,
14735,
4025,
326,
1105,
13,
17,
46506,
366,
11028,
10570,
3004,
357,
449,
11024,
1267,
1,
16034,
3084,
62,
25836,
1495,
33411,
366,
10267,... |
Where should I begin if I want to take a computing infrastructure course ? | SELECT DISTINCT course.department, course.name, course.number FROM area, course WHERE area.area LIKE '%computing infrastructure%' AND course.course_id = area.course_id | [
8496,
815,
314,
2221,
611,
314,
765,
284,
1011,
257,
14492,
6884,
1781,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1989,
11,
1781,
33411,
1989,
13,
20337,
34178,
705,
4,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8496,
815,
314,
2221,
611,
314,
765,
284,
1011,
257,
14492,
6884,
1781,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1989,
11,
1781,
33411,
1989,
13,
20337,
34178,
705,
4,
... |
What is the 2nd leg where Team 2 is fc 105 libreville? | SELECT "2nd leg" FROM table_36491 WHERE "Team 2" = 'fc 105 libreville' | [
2061,
318,
262,
362,
358,
1232,
810,
4816,
362,
318,
277,
66,
13343,
9195,
260,
4244,
30,
46506,
366,
17,
358,
1232,
1,
16034,
3084,
62,
26780,
6420,
33411,
366,
15592,
362,
1,
796,
705,
16072,
13343,
9195,
260,
4244,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
362,
358,
1232,
810,
4816,
362,
318,
277,
66,
13343,
9195,
260,
4244,
30,
46506,
366,
17,
358,
1232,
1,
16034,
3084,
62,
26780,
6420,
33411,
366,
15592,
362,
1,
796,
705,
16072,
13343,
9195,
260,
4244,
6
] |
What was the time of the Kentucky Derby? | SELECT "Time" FROM table_46436 WHERE "Race" = 'kentucky derby' | [
2061,
373,
262,
640,
286,
262,
11867,
22962,
30,
46506,
366,
7575,
1,
16034,
3084,
62,
44578,
2623,
33411,
366,
35157,
1,
796,
705,
74,
298,
5309,
47317,
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,
373,
262,
640,
286,
262,
11867,
22962,
30,
46506,
366,
7575,
1,
16034,
3084,
62,
44578,
2623,
33411,
366,
35157,
1,
796,
705,
74,
298,
5309,
47317,
6
] |
Which year had a Score of kapunda 14-13-97 tanunda 5-14-44? | SELECT SUM("Year") FROM table_43248 WHERE "Score" = 'kapunda 14-13-97 tanunda 5-14-44' | [
13828,
614,
550,
257,
15178,
286,
479,
499,
46535,
1478,
12,
1485,
12,
5607,
25706,
46535,
642,
12,
1415,
12,
2598,
30,
46506,
35683,
7203,
17688,
4943,
16034,
3084,
62,
3559,
23045,
33411,
366,
26595,
1,
796,
705,
74,
499,
46535,
147... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
614,
550,
257,
15178,
286,
479,
499,
46535,
1478,
12,
1485,
12,
5607,
25706,
46535,
642,
12,
1415,
12,
2598,
30,
46506,
35683,
7203,
17688,
4943,
16034,
3084,
62,
3559,
23045,
33411,
366,
26595,
1,
796,
705,
74,
499,
46535,
147... |
What is the lowest Rank with more than 0 bronze, 8 silver, and a total of 19, with less than 9 gold? | SELECT MIN(rank) FROM table_name_23 WHERE bronze > 0 AND silver = 8 AND total = 19 AND gold < 9 | [
2061,
318,
262,
9016,
10916,
351,
517,
621,
657,
22101,
11,
807,
8465,
11,
290,
257,
2472,
286,
678,
11,
351,
1342,
621,
860,
3869,
30,
46506,
20625,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
1954,
33411,
22101,
1875,
657,
5357,
8465,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10916,
351,
517,
621,
657,
22101,
11,
807,
8465,
11,
290,
257,
2472,
286,
678,
11,
351,
1342,
621,
860,
3869,
30,
46506,
20625,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
1954,
33411,
22101,
1875,
657,
5357,
8465,... |
Who won the mixed doubles the same year that Andrew Downes won the men's singles? | SELECT "Mixed doubles" FROM table_69054 WHERE "Men's singles" = 'andrew downes' | [
8241,
1839,
262,
7668,
21938,
262,
976,
614,
326,
6858,
5588,
274,
1839,
262,
1450,
338,
25287,
30,
46506,
366,
44,
2966,
21938,
1,
16034,
3084,
62,
3388,
2713,
19,
33411,
366,
10418,
338,
25287,
1,
796,
705,
392,
1809,
866,
274,
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
] | [
8241,
1839,
262,
7668,
21938,
262,
976,
614,
326,
6858,
5588,
274,
1839,
262,
1450,
338,
25287,
30,
46506,
366,
44,
2966,
21938,
1,
16034,
3084,
62,
3388,
2713,
19,
33411,
366,
10418,
338,
25287,
1,
796,
705,
392,
1809,
866,
274,
6
... |
How many musicals has each nominee been nominated for Plot them as bar chart, show in asc by the total number. | SELECT Nominee, COUNT(*) FROM musical GROUP BY Nominee ORDER BY COUNT(*) | [
2437,
867,
10530,
82,
468,
1123,
10429,
587,
19332,
329,
28114,
606,
355,
2318,
8262,
11,
905,
287,
10570,
416,
262,
2472,
1271,
13,
46506,
21198,
500,
68,
11,
327,
28270,
7,
28104,
16034,
10530,
44441,
11050,
21198,
500,
68,
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,
1
] | [
2437,
867,
10530,
82,
468,
1123,
10429,
587,
19332,
329,
28114,
606,
355,
2318,
8262,
11,
905,
287,
10570,
416,
262,
2472,
1271,
13,
46506,
21198,
500,
68,
11,
327,
28270,
7,
28104,
16034,
10530,
44441,
11050,
21198,
500,
68,
38678,
1... |
Who was the opponent at the game that had a loss of Shields (1 1)? | SELECT "Opponent" FROM table_71088 WHERE "Loss" = 'shields (1–1)' | [
8241,
373,
262,
6125,
379,
262,
983,
326,
550,
257,
2994,
286,
30512,
357,
16,
352,
19427,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
43147,
3459,
33411,
366,
43,
793,
1,
796,
705,
26662,
82,
357,
16,
1906,
16,
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,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
6125,
379,
262,
983,
326,
550,
257,
2994,
286,
30512,
357,
16,
352,
19427,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
43147,
3459,
33411,
366,
43,
793,
1,
796,
705,
26662,
82,
357,
16,
1906,
16,
33047
] |
when was the last time a diagnostic ultrasound of heart - transthoracic echocardiography procedure was given to patient 027-144847 since 3 years ago? | SELECT treatment.treatmenttime FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-144847')) AND treatment.treatmentname = 'diagnostic ultrasoun... | [
12518,
373,
262,
938,
640,
257,
23584,
37721,
286,
2612,
532,
491,
272,
301,
17899,
330,
291,
304,
354,
420,
22490,
4867,
8771,
373,
1813,
284,
5827,
657,
1983,
12,
1415,
2780,
2857,
1201,
513,
812,
2084,
30,
46506,
3513,
13,
42487,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
23584,
37721,
286,
2612,
532,
491,
272,
301,
17899,
330,
291,
304,
354,
420,
22490,
4867,
8771,
373,
1813,
284,
5827,
657,
1983,
12,
1415,
2780,
2857,
1201,
513,
812,
2084,
30,
46506,
3513,
13,
42487,
... |
List all users who reviewed businesses that are restaurant . | SELECT user.name FROM business, category, review, user WHERE category.business_id = business.business_id AND category.category_name = 'restaurant' AND review.business_id = business.business_id AND user.user_id = review.user_id | [
8053,
477,
2985,
508,
11765,
5692,
326,
389,
7072,
764,
46506,
2836,
13,
3672,
16034,
1597,
11,
6536,
11,
2423,
11,
2836,
33411,
6536,
13,
22680,
62,
312,
796,
1597,
13,
22680,
62,
312,
5357,
6536,
13,
22872,
62,
3672,
796,
705,
211... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
2985,
508,
11765,
5692,
326,
389,
7072,
764,
46506,
2836,
13,
3672,
16034,
1597,
11,
6536,
11,
2423,
11,
2836,
33411,
6536,
13,
22680,
62,
312,
796,
1597,
13,
22680,
62,
312,
5357,
6536,
13,
22872,
62,
3672,
796,
705,
211... |
What type of collection facility results in the most risky consumption in terms of pesticide residues detection? | SELECT T1.disttype FROM sampledata15 AS T1 JOIN resultsdata15 AS T2 ON T1.sample_pk = T2.sample_pk GROUP BY T1.disttype ORDER BY SUM(T2.concen) DESC LIMIT 1 | [
2061,
2099,
286,
4947,
6841,
2482,
287,
262,
749,
17564,
7327,
287,
2846,
286,
36466,
47185,
13326,
30,
46506,
309,
16,
13,
17080,
4906,
16034,
35846,
1045,
1314,
7054,
309,
16,
32357,
1268,
2482,
7890,
1314,
7054,
309,
17,
6177,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
2099,
286,
4947,
6841,
2482,
287,
262,
749,
17564,
7327,
287,
2846,
286,
36466,
47185,
13326,
30,
46506,
309,
16,
13,
17080,
4906,
16034,
35846,
1045,
1314,
7054,
309,
16,
32357,
1268,
2482,
7890,
1314,
7054,
309,
17,
6177,
309,
... |
What Position has a Super League 1 Competition? | SELECT "Position" FROM table_52535 WHERE "Competition" = 'super league 1' | [
2061,
23158,
468,
257,
3115,
4041,
352,
27348,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
39088,
2327,
33411,
366,
7293,
15620,
1,
796,
705,
16668,
4652,
352,
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,
23158,
468,
257,
3115,
4041,
352,
27348,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
39088,
2327,
33411,
366,
7293,
15620,
1,
796,
705,
16668,
4652,
352,
6
] |
Which Season 1 has a Season 7 of david chilton? | SELECT "Season 1" FROM table_61831 WHERE "Season 7" = 'david chilton' | [
13828,
7369,
352,
468,
257,
7369,
767,
286,
21970,
442,
9044,
30,
46506,
366,
18960,
352,
1,
16034,
3084,
62,
47448,
3132,
33411,
366,
18960,
767,
1,
796,
705,
67,
8490,
442,
9044,
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
] | [
13828,
7369,
352,
468,
257,
7369,
767,
286,
21970,
442,
9044,
30,
46506,
366,
18960,
352,
1,
16034,
3084,
62,
47448,
3132,
33411,
366,
18960,
767,
1,
796,
705,
67,
8490,
442,
9044,
6
] |
Name the authority when the decile is 6 for pongaroa school | SELECT authority FROM table_name_32 WHERE decile = 6 AND name = "pongaroa school" | [
5376,
262,
4934,
618,
262,
875,
576,
318,
718,
329,
279,
506,
12022,
64,
1524,
46506,
4934,
16034,
3084,
62,
3672,
62,
2624,
33411,
875,
576,
796,
718,
5357,
1438,
796,
366,
79,
506,
12022,
64,
1524,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4934,
618,
262,
875,
576,
318,
718,
329,
279,
506,
12022,
64,
1524,
46506,
4934,
16034,
3084,
62,
3672,
62,
2624,
33411,
875,
576,
796,
718,
5357,
1438,
796,
366,
79,
506,
12022,
64,
1524,
1
] |
What is the highest number of bronze medals for nations with under 0 golds? | SELECT MAX(bronze) FROM table_name_46 WHERE gold < 0 | [
2061,
318,
262,
4511,
1271,
286,
22101,
28057,
329,
7027,
351,
739,
657,
3869,
82,
30,
46506,
25882,
7,
65,
1313,
2736,
8,
16034,
3084,
62,
3672,
62,
3510,
33411,
3869,
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
] | [
2061,
318,
262,
4511,
1271,
286,
22101,
28057,
329,
7027,
351,
739,
657,
3869,
82,
30,
46506,
25882,
7,
65,
1313,
2736,
8,
16034,
3084,
62,
3672,
62,
3510,
33411,
3869,
1279,
657
] |
Which 1956 has a County of v lcea, and a 2011 smaller than 371714? | SELECT SUM(1956) FROM table_name_40 WHERE county = "vâlcea" AND 2011 < 371714 | [
13828,
25190,
468,
257,
3418,
286,
410,
300,
344,
64,
11,
290,
257,
2813,
4833,
621,
5214,
1558,
1415,
30,
46506,
35683,
7,
1129,
3980,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
7968,
796,
366,
85,
22940,
75,
344,
64,
1,
5357,
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,
1
] | [
13828,
25190,
468,
257,
3418,
286,
410,
300,
344,
64,
11,
290,
257,
2813,
4833,
621,
5214,
1558,
1415,
30,
46506,
35683,
7,
1129,
3980,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
7968,
796,
366,
85,
22940,
75,
344,
64,
1,
5357,
28... |
Which manager has Manchester City as the team? | SELECT manager FROM table_name_14 WHERE team = "manchester city" | [
13828,
4706,
468,
9502,
2254,
355,
262,
1074,
30,
46506,
4706,
16034,
3084,
62,
3672,
62,
1415,
33411,
1074,
796,
366,
805,
35983,
1748,
1
] | [
1,
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,
4706,
468,
9502,
2254,
355,
262,
1074,
30,
46506,
4706,
16034,
3084,
62,
3672,
62,
1415,
33411,
1074,
796,
366,
805,
35983,
1748,
1
] |
What is the Name with Goals that are 135? | SELECT "Name" FROM table_42088 WHERE "Goals" = '135' | [
2061,
318,
262,
6530,
351,
28510,
326,
389,
17501,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
27211,
3459,
33411,
366,
5247,
874,
1,
796,
705,
17059,
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,
6530,
351,
28510,
326,
389,
17501,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
27211,
3459,
33411,
366,
5247,
874,
1,
796,
705,
17059,
6
] |
What is the result for thomas s. mcmillan? | SELECT "Result" FROM table_72424 WHERE "Incumbent" = 'Thomas S. McMillan' | [
2061,
318,
262,
1255,
329,
294,
16911,
264,
13,
285,
11215,
359,
272,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
22,
1731,
1731,
33411,
366,
25517,
2178,
298,
1,
796,
705,
22405,
311,
13,
15359,
359,
272,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1255,
329,
294,
16911,
264,
13,
285,
11215,
359,
272,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
22,
1731,
1731,
33411,
366,
25517,
2178,
298,
1,
796,
705,
22405,
311,
13,
15359,
359,
272,
6
] |
get me the top four most common lab tests? | SELECT t1.labname FROM (SELECT lab.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM lab GROUP BY lab.labname) AS t1 WHERE t1.c1 <= 4 | [
1136,
502,
262,
1353,
1440,
749,
2219,
2248,
5254,
30,
46506,
256,
16,
13,
23912,
3672,
16034,
357,
46506,
2248,
13,
23912,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
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... | [
1136,
502,
262,
1353,
1440,
749,
2219,
2248,
5254,
30,
46506,
256,
16,
13,
23912,
3672,
16034,
357,
46506,
2248,
13,
23912,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,... |
Who loss the game when the record was 3-10? | SELECT loss FROM table_name_59 WHERE record = "3-10" | [
8241,
2994,
262,
983,
618,
262,
1700,
373,
513,
12,
940,
30,
46506,
2994,
16034,
3084,
62,
3672,
62,
3270,
33411,
1700,
796,
366,
18,
12,
940,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
2994,
262,
983,
618,
262,
1700,
373,
513,
12,
940,
30,
46506,
2994,
16034,
3084,
62,
3672,
62,
3270,
33411,
1700,
796,
366,
18,
12,
940,
1
] |
What artist has more than 6 draws, and in a place higher than 14? | SELECT artist FROM table_name_28 WHERE draw > 6 AND place > 14 | [
2061,
6802,
468,
517,
621,
718,
14293,
11,
290,
287,
257,
1295,
2440,
621,
1478,
30,
46506,
6802,
16034,
3084,
62,
3672,
62,
2078,
33411,
3197,
1875,
718,
5357,
1295,
1875,
1478
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
6802,
468,
517,
621,
718,
14293,
11,
290,
287,
257,
1295,
2440,
621,
1478,
30,
46506,
6802,
16034,
3084,
62,
3672,
62,
2078,
33411,
3197,
1875,
718,
5357,
1295,
1875,
1478
] |
give me the number of patients whose insurance is self pay and diagnoses short title is seroma complicting proc? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Self Pay" AND diagnoses.short_title = "Seroma complicting proc" | [
26535,
502,
262,
1271,
286,
3871,
3025,
5096,
318,
2116,
1414,
290,
40567,
1790,
3670,
318,
1055,
6086,
2299,
713,
278,
13834,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5096,
318,
2116,
1414,
290,
40567,
1790,
3670,
318,
1055,
6086,
2299,
713,
278,
13834,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32... |
What's the location of Mom's Radio 95.9 Naga having a power of 10kw? | SELECT "Location" FROM table_43556 WHERE "Power (kW)" = '10kw' AND "Branding" = 'mom''s radio 95.9 naga' | [
2061,
338,
262,
4067,
286,
11254,
338,
8829,
6957,
13,
24,
399,
8126,
1719,
257,
1176,
286,
838,
46265,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
40064,
3980,
33411,
366,
13434,
357,
74,
54,
16725,
796,
705,
940,
46265,
6,
5357,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
4067,
286,
11254,
338,
8829,
6957,
13,
24,
399,
8126,
1719,
257,
1176,
286,
838,
46265,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
40064,
3980,
33411,
366,
13434,
357,
74,
54,
16725,
796,
705,
940,
46265,
6,
5357,
36... |
Which 1995's tournament was the French Open? | SELECT 1995 FROM table_name_61 WHERE tournament = "french open" | [
13828,
8735,
338,
7756,
373,
262,
4141,
4946,
30,
46506,
8735,
16034,
3084,
62,
3672,
62,
5333,
33411,
7756,
796,
366,
69,
3532,
1280,
1
] | [
1,
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,
8735,
338,
7756,
373,
262,
4141,
4946,
30,
46506,
8735,
16034,
3084,
62,
3672,
62,
5333,
33411,
7756,
796,
366,
69,
3532,
1280,
1
] |
Nigeria competed on July2, 1999. | SELECT date FROM table_1231316_5 WHERE nation = "Nigeria" | [
45,
328,
5142,
32440,
319,
2901,
17,
11,
7358,
13,
46506,
3128,
16034,
3084,
62,
10163,
1485,
1433,
62,
20,
33411,
3277,
796,
366,
45,
328,
5142,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
45,
328,
5142,
32440,
319,
2901,
17,
11,
7358,
13,
46506,
3128,
16034,
3084,
62,
10163,
1485,
1433,
62,
20,
33411,
3277,
796,
366,
45,
328,
5142,
1
] |
when was the last time patient 009-3149 was prescribed a medication in 09/this year via ng route? | SELECT medication.drugstarttime FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '009-3149')) AND medication.routeadmin = 'ng' AND DATETIME(medi... | [
12518,
373,
262,
938,
640,
5827,
3571,
24,
12,
18,
19442,
373,
14798,
257,
14103,
287,
7769,
14,
5661,
614,
2884,
23370,
6339,
30,
46506,
14103,
13,
30349,
9688,
2435,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
3268,
357,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
373,
262,
938,
640,
5827,
3571,
24,
12,
18,
19442,
373,
14798,
257,
14103,
287,
7769,
14,
5661,
614,
2884,
23370,
6339,
30,
46506,
14103,
13,
30349,
9688,
2435,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
3268,
357,... |
how many total chairpersons have their been in this municipality ? | SELECT COUNT("chairperson") FROM table_204_593 | [
4919,
867,
2472,
5118,
19276,
684,
423,
511,
587,
287,
428,
27264,
5633,
46506,
327,
28270,
7203,
16337,
6259,
4943,
16034,
3084,
62,
18638,
62,
49051
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
2472,
5118,
19276,
684,
423,
511,
587,
287,
428,
27264,
5633,
46506,
327,
28270,
7203,
16337,
6259,
4943,
16034,
3084,
62,
18638,
62,
49051
] |
What is the largest grid with a Driver of ralph firman, and a Lap smaller than 18? | SELECT MAX(grid) FROM table_name_15 WHERE driver = "ralph firman" AND laps < 18 | [
2061,
318,
262,
4387,
10706,
351,
257,
12434,
286,
374,
17307,
37979,
805,
11,
290,
257,
26944,
4833,
621,
1248,
30,
46506,
25882,
7,
25928,
8,
16034,
3084,
62,
3672,
62,
1314,
33411,
4639,
796,
366,
1373,
746,
37979,
805,
1,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4387,
10706,
351,
257,
12434,
286,
374,
17307,
37979,
805,
11,
290,
257,
26944,
4833,
621,
1248,
30,
46506,
25882,
7,
25928,
8,
16034,
3084,
62,
3672,
62,
1314,
33411,
4639,
796,
366,
1373,
746,
37979,
805,
1,
5357,
... |
Which events id does not have any participant with detail 'Kenyatta Kuhn'? | SELECT event_id FROM events EXCEPT SELECT T1.event_id FROM participants_in_events AS T1 JOIN participants AS T2 ON T1.participant_id = T2.participant_id WHERE participant_details = 'Kenyatta Kuhn' | [
13828,
2995,
4686,
857,
407,
423,
597,
18399,
351,
3703,
705,
27827,
88,
25014,
46035,
77,
30960,
46506,
1785,
62,
312,
16034,
2995,
7788,
42006,
33493,
309,
16,
13,
15596,
62,
312,
16034,
6809,
62,
259,
62,
31534,
7054,
309,
16,
3235... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
2995,
4686,
857,
407,
423,
597,
18399,
351,
3703,
705,
27827,
88,
25014,
46035,
77,
30960,
46506,
1785,
62,
312,
16034,
2995,
7788,
42006,
33493,
309,
16,
13,
15596,
62,
312,
16034,
6809,
62,
259,
62,
31534,
7054,
309,
16,
3235... |
What position does Sergio Rodr guez, who is less than 1.96 tall and was born after 1980, play? | SELECT "Position" FROM table_70795 WHERE "Height" < '1.96' AND "Year born" > '1980' AND "Player" = 'sergio rodríguez' | [
2061,
2292,
857,
36759,
6882,
81,
308,
14870,
11,
508,
318,
1342,
621,
352,
13,
4846,
7331,
290,
373,
4642,
706,
7169,
11,
711,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
2154,
41544,
33411,
366,
23106,
1,
1279,
705,
16,
13,
4846,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
36759,
6882,
81,
308,
14870,
11,
508,
318,
1342,
621,
352,
13,
4846,
7331,
290,
373,
4642,
706,
7169,
11,
711,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
2154,
41544,
33411,
366,
23106,
1,
1279,
705,
16,
13,
4846,
... |
Name the tv time for attendance of 69,551 | SELECT "TV Time" FROM table_70549 WHERE "Attendance" = '69,551' | [
5376,
262,
31557,
640,
329,
14858,
286,
8644,
11,
43697,
46506,
366,
6849,
3862,
1,
16034,
3084,
62,
34801,
2920,
33411,
366,
8086,
437,
590,
1,
796,
705,
3388,
11,
43697,
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
] | [
5376,
262,
31557,
640,
329,
14858,
286,
8644,
11,
43697,
46506,
366,
6849,
3862,
1,
16034,
3084,
62,
34801,
2920,
33411,
366,
8086,
437,
590,
1,
796,
705,
3388,
11,
43697,
6
] |
For those records from the products and each product's manufacturer, show me about the distribution of name and the average of code , and group by attribute name in a bar chart, order in descending by the x axis. | SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Name DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
905,
502,
546,
262,
6082,
286,
1438,
290,
262,
2811,
286,
2438,
837,
290,
1448,
416,
11688,
1438,
287,
257,
2318,
8262,
11,
1502,
287,
31491,
416,
262,
2124,
16488,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
905,
502,
546,
262,
6082,
286,
1438,
290,
262,
2811,
286,
2438,
837,
290,
1448,
416,
11688,
1438,
287,
257,
2318,
8262,
11,
1502,
287,
31491,
416,
262,
2124,
16488,
1... |
Who was the owner of the trainer Steve Klesaris? | SELECT "Owner" FROM table_53834 WHERE "Trainer" = 'steve klesaris' | [
8241,
373,
262,
4870,
286,
262,
21997,
6542,
509,
829,
20066,
30,
46506,
366,
42419,
1,
16034,
3084,
62,
49561,
2682,
33411,
366,
2898,
10613,
1,
796,
705,
4169,
303,
479,
829,
20066,
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
] | [
8241,
373,
262,
4870,
286,
262,
21997,
6542,
509,
829,
20066,
30,
46506,
366,
42419,
1,
16034,
3084,
62,
49561,
2682,
33411,
366,
2898,
10613,
1,
796,
705,
4169,
303,
479,
829,
20066,
6
] |
What is the lowest position with a -22 goal difference and more than 5 points? | SELECT MIN("Position") FROM table_9109 WHERE "Goal Difference" = '-22' AND "Points" > '5' | [
2061,
318,
262,
9016,
2292,
351,
257,
532,
1828,
3061,
3580,
290,
517,
621,
642,
2173,
30,
46506,
20625,
7203,
26545,
4943,
16034,
3084,
62,
24,
14454,
33411,
366,
49045,
43795,
1,
796,
705,
12,
1828,
6,
5357,
366,
40710,
1,
1875,
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
] | [
2061,
318,
262,
9016,
2292,
351,
257,
532,
1828,
3061,
3580,
290,
517,
621,
642,
2173,
30,
46506,
20625,
7203,
26545,
4943,
16034,
3084,
62,
24,
14454,
33411,
366,
49045,
43795,
1,
796,
705,
12,
1828,
6,
5357,
366,
40710,
1,
1875,
7... |
What is the High assists with a Date that is march 31? | SELECT high_assists FROM table_name_39 WHERE date = "march 31" | [
2061,
318,
262,
3334,
13648,
351,
257,
7536,
326,
318,
9960,
3261,
30,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
3672,
62,
2670,
33411,
3128,
796,
366,
76,
998,
3261,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
3334,
13648,
351,
257,
7536,
326,
318,
9960,
3261,
30,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
3672,
62,
2670,
33411,
3128,
796,
366,
76,
998,
3261,
1
] |
what is the number of patients younger than 31 years who have american indian/alaska native ethnic background? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND demographic.age < "31" | [
10919,
318,
262,
1271,
286,
3871,
7099,
621,
3261,
812,
508,
423,
45630,
272,
773,
666,
14,
282,
8480,
6868,
9450,
4469,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
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... | [
10919,
318,
262,
1271,
286,
3871,
7099,
621,
3261,
812,
508,
423,
45630,
272,
773,
666,
14,
282,
8480,
6868,
9450,
4469,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
3... |
What is the location where aaron grundy was the loser? | SELECT location FROM table_name_27 WHERE loser = "aaron grundy" | [
2061,
318,
262,
4067,
810,
257,
8045,
22848,
358,
88,
373,
262,
30256,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
1983,
33411,
30256,
796,
366,
64,
8045,
22848,
358,
88,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4067,
810,
257,
8045,
22848,
358,
88,
373,
262,
30256,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
1983,
33411,
30256,
796,
366,
64,
8045,
22848,
358,
88,
1
] |
What is the typical match smaller than 2? | SELECT AVG("Average") FROM table_68440 WHERE "Matches" < '2' | [
2061,
318,
262,
7226,
2872,
4833,
621,
362,
30,
46506,
35224,
7203,
26287,
4943,
16034,
3084,
62,
3104,
25644,
33411,
366,
19044,
2052,
1,
1279,
705,
17,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
7226,
2872,
4833,
621,
362,
30,
46506,
35224,
7203,
26287,
4943,
16034,
3084,
62,
3104,
25644,
33411,
366,
19044,
2052,
1,
1279,
705,
17,
6
] |
What is the average number of bronze medals won by Poland? | SELECT AVG("Bronze") FROM table_63487 WHERE "Nation" = 'poland' | [
2061,
318,
262,
2811,
1271,
286,
22101,
28057,
1839,
416,
12873,
30,
46506,
35224,
7203,
18760,
2736,
4943,
16034,
3084,
62,
21,
2682,
5774,
33411,
366,
46108,
1,
796,
705,
16104,
392,
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
] | [
2061,
318,
262,
2811,
1271,
286,
22101,
28057,
1839,
416,
12873,
30,
46506,
35224,
7203,
18760,
2736,
4943,
16034,
3084,
62,
21,
2682,
5774,
33411,
366,
46108,
1,
796,
705,
16104,
392,
6
] |
What is the average latitude for townships in Dickey county with water under 2.106 sqmi and population under 95? | SELECT AVG("Latitude") FROM table_63180 WHERE "Water (sqmi)" < '2.106' AND "County" = 'dickey' AND "Pop. (2010)" < '95' | [
2061,
318,
262,
2811,
32477,
329,
11684,
5748,
287,
360,
40389,
7968,
351,
1660,
739,
362,
13,
15801,
19862,
11632,
290,
3265,
739,
6957,
30,
46506,
35224,
7203,
24220,
3984,
4943,
16034,
3084,
62,
5066,
15259,
33411,
366,
19184,
357,
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... | [
2061,
318,
262,
2811,
32477,
329,
11684,
5748,
287,
360,
40389,
7968,
351,
1660,
739,
362,
13,
15801,
19862,
11632,
290,
3265,
739,
6957,
30,
46506,
35224,
7203,
24220,
3984,
4943,
16034,
3084,
62,
5066,
15259,
33411,
366,
19184,
357,
3... |
What was the record at the game against the Blue Jays with a loss of Batista (0 3)? | SELECT record FROM table_name_22 WHERE opponent = "blue jays" AND loss = "batista (0–3)" | [
2061,
373,
262,
1700,
379,
262,
983,
1028,
262,
4518,
23288,
351,
257,
2994,
286,
6577,
12523,
357,
15,
513,
19427,
46506,
1700,
16034,
3084,
62,
3672,
62,
1828,
33411,
6125,
796,
366,
17585,
474,
592,
1,
5357,
2994,
796,
366,
8664,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1700,
379,
262,
983,
1028,
262,
4518,
23288,
351,
257,
2994,
286,
6577,
12523,
357,
15,
513,
19427,
46506,
1700,
16034,
3084,
62,
3672,
62,
1828,
33411,
6125,
796,
366,
17585,
474,
592,
1,
5357,
2994,
796,
366,
8664,
... |
what is the part number(s) when l2 cache is 512 kb, release date is june 2001 and sSpec number is sl5lv, sl5pu, sl6bw, sl6jm? | SELECT part_number_s_ FROM table_name_71 WHERE l2_cache = "512 kb" AND release_date = "june 2001" AND sspec_number = "sl5lv, sl5pu, sl6bw, sl6jm" | [
10919,
318,
262,
636,
1271,
7,
82,
8,
618,
300,
17,
12940,
318,
22243,
47823,
11,
2650,
3128,
318,
474,
1726,
5878,
290,
264,
22882,
1271,
318,
1017,
20,
6780,
11,
1017,
20,
19944,
11,
1017,
21,
65,
86,
11,
1017,
21,
73,
76,
30,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
636,
1271,
7,
82,
8,
618,
300,
17,
12940,
318,
22243,
47823,
11,
2650,
3128,
318,
474,
1726,
5878,
290,
264,
22882,
1271,
318,
1017,
20,
6780,
11,
1017,
20,
19944,
11,
1017,
21,
65,
86,
11,
1017,
21,
73,
76,
30,... |
What is the league name that has a Games listing of 10? | SELECT league FROM table_name_47 WHERE games = "10" | [
2061,
318,
262,
4652,
1438,
326,
468,
257,
5776,
13487,
286,
838,
30,
46506,
4652,
16034,
3084,
62,
3672,
62,
2857,
33411,
1830,
796,
366,
940,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4652,
1438,
326,
468,
257,
5776,
13487,
286,
838,
30,
46506,
4652,
16034,
3084,
62,
3672,
62,
2857,
33411,
1830,
796,
366,
940,
1
] |
how many times was prescribed magnesium sulfate to patient 45304? | SELECT COUNT(*) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 45304) AND prescriptions.drug = 'magnesium sulfate' | [
4919,
867,
1661,
373,
14798,
33525,
22443,
378,
284,
5827,
4153,
21288,
30,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
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
] | [
4919,
867,
1661,
373,
14798,
33525,
22443,
378,
284,
5827,
4153,
21288,
30,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13... |
list all flights from BOSTON to SAN FRANCISCO with the maximum number of stops | 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_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND flight.stops = (SELECT MAX(FLIGHTalias1.stops) FROM airport_service AS... | [
4868,
477,
13956,
422,
347,
10892,
1340,
284,
37376,
8782,
20940,
1797,
8220,
351,
262,
5415,
1271,
286,
9911,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
13956,
422,
347,
10892,
1340,
284,
37376,
8782,
20940,
1797,
8220,
351,
262,
5415,
1271,
286,
9911,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,... |
What's the order number of the song originally performed by Rickie Lee Jones? | SELECT "Order #" FROM table_72295 WHERE "Original artist" = 'Rickie Lee Jones' | [
2061,
338,
262,
1502,
1271,
286,
262,
3496,
6198,
6157,
416,
8759,
494,
5741,
5437,
30,
46506,
366,
18743,
1303,
1,
16034,
3084,
62,
22,
1828,
3865,
33411,
366,
20556,
6802,
1,
796,
705,
33048,
494,
5741,
5437,
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,
338,
262,
1502,
1271,
286,
262,
3496,
6198,
6157,
416,
8759,
494,
5741,
5437,
30,
46506,
366,
18743,
1303,
1,
16034,
3084,
62,
22,
1828,
3865,
33411,
366,
20556,
6802,
1,
796,
705,
33048,
494,
5741,
5437,
6
] |
What municipality had 26839 people living in it in 2010? | SELECT municipality FROM table_216776_2 WHERE population__2010_ = 26839 | [
2061,
27264,
550,
36678,
2670,
661,
2877,
287,
340,
287,
3050,
30,
46506,
27264,
16034,
3084,
62,
20666,
39509,
62,
17,
33411,
3265,
834,
10333,
62,
796,
36678,
2670
] | [
1,
1,
1,
1,
1,
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,
27264,
550,
36678,
2670,
661,
2877,
287,
340,
287,
3050,
30,
46506,
27264,
16034,
3084,
62,
20666,
39509,
62,
17,
33411,
3265,
834,
10333,
62,
796,
36678,
2670
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.