instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is 's Label? | SELECT "Label" FROM table_60265 WHERE "Chinese (Simplified)" = '你 朋友' | [
2061,
318,
705,
82,
36052,
30,
46506,
366,
33986,
1,
16034,
3084,
62,
1899,
22980,
33411,
366,
23604,
357,
8890,
489,
1431,
16725,
796,
705,
19526,
254,
42164,
233,
20998,
233,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
705,
82,
36052,
30,
46506,
366,
33986,
1,
16034,
3084,
62,
1899,
22980,
33411,
366,
23604,
357,
8890,
489,
1431,
16725,
796,
705,
19526,
254,
42164,
233,
20998,
233,
6
] |
How many women has reached the title of Miss International representing the country ranked as number 1? | SELECT MIN("Miss International") FROM table_31399 WHERE "Rank" = '1' | [
2437,
867,
1466,
468,
4251,
262,
3670,
286,
4544,
4037,
10200,
262,
1499,
10307,
355,
1271,
352,
30,
46506,
20625,
7203,
17140,
4037,
4943,
16034,
3084,
62,
25838,
2079,
33411,
366,
27520,
1,
796,
705,
16,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1466,
468,
4251,
262,
3670,
286,
4544,
4037,
10200,
262,
1499,
10307,
355,
1271,
352,
30,
46506,
20625,
7203,
17140,
4037,
4943,
16034,
3084,
62,
25838,
2079,
33411,
366,
27520,
1,
796,
705,
16,
6
] |
List categories that have at least two books after year 1989. | SELECT category FROM book_club WHERE year > 1989 GROUP BY category HAVING COUNT(*) >= 2 | [
8053,
9376,
326,
423,
379,
1551,
734,
3835,
706,
614,
11104,
13,
46506,
6536,
16034,
1492,
62,
18664,
33411,
614,
1875,
11104,
44441,
11050,
6536,
367,
10116,
2751,
327,
28270,
7,
28104,
18189,
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
] | [
8053,
9376,
326,
423,
379,
1551,
734,
3835,
706,
614,
11104,
13,
46506,
6536,
16034,
1492,
62,
18664,
33411,
614,
1875,
11104,
44441,
11050,
6536,
367,
10116,
2751,
327,
28270,
7,
28104,
18189,
362
] |
For each room, find its the number of times reservations were made for it. Visualize them using a bar chart. | SELECT Room, COUNT(*) FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId GROUP BY T1.Room | [
1890,
1123,
2119,
11,
1064,
663,
262,
1271,
286,
1661,
24722,
547,
925,
329,
340,
13,
15612,
1096,
606,
1262,
257,
2318,
8262,
13,
46506,
10096,
11,
327,
28270,
7,
28104,
16034,
40425,
602,
7054,
309,
16,
32357,
1268,
42043,
7054,
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
] | [
1890,
1123,
2119,
11,
1064,
663,
262,
1271,
286,
1661,
24722,
547,
925,
329,
340,
13,
15612,
1096,
606,
1262,
257,
2318,
8262,
13,
46506,
10096,
11,
327,
28270,
7,
28104,
16034,
40425,
602,
7054,
309,
16,
32357,
1268,
42043,
7054,
309... |
When was the game with 13-5-6 record played? | SELECT date FROM table_23308178_5 WHERE record = "13-5-6" | [
2215,
373,
262,
983,
351,
1511,
12,
20,
12,
21,
1700,
2826,
30,
46506,
3128,
16034,
3084,
62,
1954,
21495,
23188,
62,
20,
33411,
1700,
796,
366,
1485,
12,
20,
12,
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
] | [
2215,
373,
262,
983,
351,
1511,
12,
20,
12,
21,
1700,
2826,
30,
46506,
3128,
16034,
3084,
62,
1954,
21495,
23188,
62,
20,
33411,
1700,
796,
366,
1485,
12,
20,
12,
21,
1
] |
Name the winner for adriano baffi and integiro classification of j n svorada for stage of 13 | SELECT winner FROM table_name_89 WHERE points_classification = "adriano baffi" AND intergiro_classification = "ján svorada" AND stage = "13" | [
5376,
262,
8464,
329,
512,
4484,
78,
25989,
72,
290,
4132,
7058,
17923,
286,
474,
299,
264,
20867,
4763,
329,
3800,
286,
1511,
46506,
8464,
16034,
3084,
62,
3672,
62,
4531,
33411,
2173,
62,
4871,
2649,
796,
366,
324,
4484,
78,
25989,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8464,
329,
512,
4484,
78,
25989,
72,
290,
4132,
7058,
17923,
286,
474,
299,
264,
20867,
4763,
329,
3800,
286,
1511,
46506,
8464,
16034,
3084,
62,
3672,
62,
4531,
33411,
2173,
62,
4871,
2649,
796,
366,
324,
4484,
78,
25989,
... |
What is the High assists when jalen rose (22) had the high points? | SELECT high_assists FROM table_name_35 WHERE high_points = "jalen rose (22)" | [
2061,
318,
262,
3334,
13648,
618,
474,
282,
268,
8278,
357,
1828,
8,
550,
262,
1029,
2173,
30,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
3672,
62,
2327,
33411,
1029,
62,
13033,
796,
366,
73,
282,
268,
8278,
357,
1828,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3334,
13648,
618,
474,
282,
268,
8278,
357,
1828,
8,
550,
262,
1029,
2173,
30,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
3672,
62,
2327,
33411,
1029,
62,
13033,
796,
366,
73,
282,
268,
8278,
357,
1828,
16725
] |
WHAT SEASON HAD A SEASON FINALE OF MAY 21, 1989 AND WAS VIEWED BY 17.98 MILLION HOUSEHOLDS? | SELECT MAX("Season") FROM table_45454 WHERE "Season finale" = 'may 21, 1989' AND "Households (millions)" < '17.98' | [
32971,
7946,
36033,
367,
2885,
317,
7946,
36033,
25261,
36,
3963,
26720,
2310,
11,
11104,
5357,
21725,
49880,
1961,
11050,
1596,
13,
4089,
49775,
2849,
46586,
39,
3535,
5258,
30,
46506,
25882,
7203,
18960,
4943,
16034,
3084,
62,
2231,
342... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
32971,
7946,
36033,
367,
2885,
317,
7946,
36033,
25261,
36,
3963,
26720,
2310,
11,
11104,
5357,
21725,
49880,
1961,
11050,
1596,
13,
4089,
49775,
2849,
46586,
39,
3535,
5258,
30,
46506,
25882,
7203,
18960,
4943,
16034,
3084,
62,
2231,
342... |
What is the resident state for the president elected in 1864? | SELECT resident_state FROM table_name_83 WHERE election_year = 1864 | [
2061,
318,
262,
6623,
1181,
329,
262,
1893,
7018,
287,
1248,
2414,
30,
46506,
6623,
62,
5219,
16034,
3084,
62,
3672,
62,
5999,
33411,
3071,
62,
1941,
796,
1248,
2414
] | [
1,
1,
1,
1,
1,
1,
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,
6623,
1181,
329,
262,
1893,
7018,
287,
1248,
2414,
30,
46506,
6623,
62,
5219,
16034,
3084,
62,
3672,
62,
5999,
33411,
3071,
62,
1941,
796,
1248,
2414
] |
What is the number of position where the pick number is 43? | SELECT COUNT(position) FROM table_10975034_5 WHERE pick__number = 43 | [
2061,
318,
262,
1271,
286,
2292,
810,
262,
2298,
1271,
318,
5946,
30,
46506,
327,
28270,
7,
9150,
8,
16034,
3084,
62,
940,
5607,
1120,
2682,
62,
20,
33411,
2298,
834,
17618,
796,
5946
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2292,
810,
262,
2298,
1271,
318,
5946,
30,
46506,
327,
28270,
7,
9150,
8,
16034,
3084,
62,
940,
5607,
1120,
2682,
62,
20,
33411,
2298,
834,
17618,
796,
5946
] |
this year, was patient 025-60951 in an er? | SELECT COUNT(*) > 0 FROM patient WHERE patient.uniquepid = '025-60951' AND patient.hospitaladmitsource = 'emergency department' AND DATETIME(patient.unitadmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') | [
5661,
614,
11,
373,
5827,
657,
1495,
12,
1899,
50119,
287,
281,
1931,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
36629,
12,
1899,
50119,
6,
5357,
5827,
13,
49257,
324,
24... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5661,
614,
11,
373,
5827,
657,
1495,
12,
1899,
50119,
287,
281,
1931,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
36629,
12,
1899,
50119,
6,
5357,
5827,
13,
49257,
324,
24... |
calculate the total number of patients with item id 51244 | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.itemid = "51244" | [
9948,
3129,
378,
262,
2472,
1271,
286,
3871,
351,
2378,
4686,
22243,
2598,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
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,
1,
1,
1
] | [
9948,
3129,
378,
262,
2472,
1271,
286,
3871,
351,
2378,
4686,
22243,
2598,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
79... |
What is the version when the compatible reposityory is xubuntu 10.04 | SELECT "Version" FROM table_3747 WHERE "Compatible repository" = 'Xubuntu 10.04' | [
2061,
318,
262,
2196,
618,
262,
11670,
1128,
16579,
652,
318,
2124,
32230,
838,
13,
3023,
46506,
366,
14815,
1,
16034,
3084,
62,
2718,
2857,
33411,
366,
7293,
16873,
16099,
1,
796,
705,
55,
32230,
838,
13,
3023,
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,
2196,
618,
262,
11670,
1128,
16579,
652,
318,
2124,
32230,
838,
13,
3023,
46506,
366,
14815,
1,
16034,
3084,
62,
2718,
2857,
33411,
366,
7293,
16873,
16099,
1,
796,
705,
55,
32230,
838,
13,
3023,
6
] |
what is the earliest flight from TAMPA to MILWAUKEE tomorrow | 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 = 'MILWAUKEE' AND date_day.day_number = 20 AND date_day.month_number = 1 AN... | [
10919,
318,
262,
14555,
5474,
422,
33112,
4537,
284,
31515,
15543,
15039,
6500,
9439,
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,
705... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
14555,
5474,
422,
33112,
4537,
284,
31515,
15543,
15039,
6500,
9439,
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,
705... |
What was the score of the game 57 after February 23? | SELECT score FROM table_name_19 WHERE february > 23 AND game = 57 | [
2061,
373,
262,
4776,
286,
262,
983,
7632,
706,
3945,
2242,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1129,
33411,
730,
65,
3728,
1875,
2242,
5357,
983,
796,
7632
] | [
1,
1,
1,
1,
1,
1,
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,
286,
262,
983,
7632,
706,
3945,
2242,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1129,
33411,
730,
65,
3728,
1875,
2242,
5357,
983,
796,
7632
] |
Who was the candidate in the election in the Tennessee 9 district? | SELECT "Candidates" FROM table_763 WHERE "District" = 'Tennessee 9' | [
8241,
373,
262,
4540,
287,
262,
3071,
287,
262,
11287,
860,
4783,
30,
46506,
366,
41572,
37051,
1,
16034,
3084,
62,
49641,
33411,
366,
44857,
1,
796,
705,
43139,
10702,
860,
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,
4540,
287,
262,
3071,
287,
262,
11287,
860,
4783,
30,
46506,
366,
41572,
37051,
1,
16034,
3084,
62,
49641,
33411,
366,
44857,
1,
796,
705,
43139,
10702,
860,
6
] |
Where was Extreme Challenge 63 with a time of 2:00 held? | SELECT "Location" FROM table_70030 WHERE "Event" = 'extreme challenge 63' AND "Time" = '2:00' | [
8496,
373,
18111,
13879,
8093,
351,
257,
640,
286,
362,
25,
405,
2714,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
9879,
1270,
33411,
366,
9237,
1,
796,
705,
29896,
4427,
8093,
6,
5357,
366,
7575,
1,
796,
705,
17,
25,
405,
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
] | [
8496,
373,
18111,
13879,
8093,
351,
257,
640,
286,
362,
25,
405,
2714,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
9879,
1270,
33411,
366,
9237,
1,
796,
705,
29896,
4427,
8093,
6,
5357,
366,
7575,
1,
796,
705,
17,
25,
405,
6
] |
List all high assists in series 2-3. | SELECT "High assists" FROM table_25189 WHERE "Series" = '2-3' | [
8053,
477,
1029,
13648,
287,
2168,
362,
12,
18,
13,
46506,
366,
11922,
13648,
1,
16034,
3084,
62,
1495,
23362,
33411,
366,
27996,
1,
796,
705,
17,
12,
18,
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
] | [
8053,
477,
1029,
13648,
287,
2168,
362,
12,
18,
13,
46506,
366,
11922,
13648,
1,
16034,
3084,
62,
1495,
23362,
33411,
366,
27996,
1,
796,
705,
17,
12,
18,
6
] |
What is the alternate of the nation with hubert gr ndhammer as the second? | SELECT alternate FROM table_name_97 WHERE second = "hubert gründhammer" | [
2061,
318,
262,
13527,
286,
262,
3277,
351,
289,
84,
4835,
1036,
299,
67,
17980,
355,
262,
1218,
30,
46506,
13527,
16034,
3084,
62,
3672,
62,
5607,
33411,
1218,
796,
366,
13415,
4835,
1036,
9116,
358,
17980,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13527,
286,
262,
3277,
351,
289,
84,
4835,
1036,
299,
67,
17980,
355,
262,
1218,
30,
46506,
13527,
16034,
3084,
62,
3672,
62,
5607,
33411,
1218,
796,
366,
13415,
4835,
1036,
9116,
358,
17980,
1
] |
which area is listed above chicago ? | SELECT "metropolitan area" FROM table_204_317 WHERE id = (SELECT id FROM table_204_317 WHERE "metropolitan area" = 'chicago') - 1 | [
4758,
1989,
318,
5610,
2029,
442,
4549,
5633,
46506,
366,
4164,
14823,
1989,
1,
16034,
3084,
62,
18638,
62,
34125,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
34125,
33411,
366,
4164,
14823,
1989,
1,
796,
705,
354,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1989,
318,
5610,
2029,
442,
4549,
5633,
46506,
366,
4164,
14823,
1989,
1,
16034,
3084,
62,
18638,
62,
34125,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
34125,
33411,
366,
4164,
14823,
1989,
1,
796,
705,
354,
... |
What was the smallest crowd size for the match played at Junction Oval? | SELECT MIN(crowd) FROM table_name_84 WHERE venue = "junction oval" | [
2061,
373,
262,
18197,
4315,
2546,
329,
262,
2872,
2826,
379,
44410,
25165,
30,
46506,
20625,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
5705,
33411,
14359,
796,
366,
73,
4575,
41186,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18197,
4315,
2546,
329,
262,
2872,
2826,
379,
44410,
25165,
30,
46506,
20625,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
5705,
33411,
14359,
796,
366,
73,
4575,
41186,
1
] |
Name the production code for viewers for 1.69 | SELECT production_code FROM table_19229713_4 WHERE us_viewers__million_ = "1.69" | [
5376,
262,
3227,
2438,
329,
10209,
329,
352,
13,
3388,
46506,
3227,
62,
8189,
16034,
3084,
62,
1129,
1828,
5607,
1485,
62,
19,
33411,
514,
62,
1177,
364,
834,
14100,
62,
796,
366,
16,
13,
3388,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3227,
2438,
329,
10209,
329,
352,
13,
3388,
46506,
3227,
62,
8189,
16034,
3084,
62,
1129,
1828,
5607,
1485,
62,
19,
33411,
514,
62,
1177,
364,
834,
14100,
62,
796,
366,
16,
13,
3388,
1
] |
What is the campus fee of 'San Jose State University' in year 1996? | SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id = t2.campus WHERE t1.campus = "San Jose State University" AND T2.year = 1996 | [
2061,
318,
262,
7611,
6838,
286,
705,
15017,
5264,
1812,
2059,
6,
287,
614,
8235,
30,
46506,
7611,
39071,
16034,
23003,
7054,
309,
16,
32357,
1268,
269,
2385,
62,
69,
2841,
7054,
309,
17,
6177,
309,
16,
13,
312,
796,
256,
17,
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
] | [
2061,
318,
262,
7611,
6838,
286,
705,
15017,
5264,
1812,
2059,
6,
287,
614,
8235,
30,
46506,
7611,
39071,
16034,
23003,
7054,
309,
16,
32357,
1268,
269,
2385,
62,
69,
2841,
7054,
309,
17,
6177,
309,
16,
13,
312,
796,
256,
17,
13,
... |
What game did the Buffalo Bills' opponents earn more than 28 points? | SELECT "Game" FROM table_9357 WHERE "Opponents" > '28' | [
2061,
983,
750,
262,
14905,
20209,
6,
7691,
5160,
517,
621,
2579,
2173,
30,
46506,
366,
8777,
1,
16034,
3084,
62,
24,
27277,
33411,
366,
27524,
3906,
1,
1875,
705,
2078,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
983,
750,
262,
14905,
20209,
6,
7691,
5160,
517,
621,
2579,
2173,
30,
46506,
366,
8777,
1,
16034,
3084,
62,
24,
27277,
33411,
366,
27524,
3906,
1,
1875,
705,
2078,
6
] |
is the mcv of patient 83062 last measured on the current hospital visit that was less than first measured on the current hospital visit? | SELECT (SELECT labevents.valuenum FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 83062 AND admissions.dischtime IS NULL) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'mcv') ORDER BY labevents.charttime DESC... | [
271,
262,
285,
33967,
286,
5827,
807,
1270,
5237,
938,
8630,
319,
262,
1459,
4436,
3187,
326,
373,
1342,
621,
717,
8630,
319,
262,
1459,
4436,
3187,
30,
46506,
357,
46506,
2248,
31534,
13,
2100,
84,
44709,
16034,
2248,
31534,
33411,
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... | [
271,
262,
285,
33967,
286,
5827,
807,
1270,
5237,
938,
8630,
319,
262,
1459,
4436,
3187,
326,
373,
1342,
621,
717,
8630,
319,
262,
1459,
4436,
3187,
30,
46506,
357,
46506,
2248,
31534,
13,
2100,
84,
44709,
16034,
2248,
31534,
33411,
2... |
What Character has a Rank of intelligence officer? | SELECT "Character" FROM table_13070 WHERE "Rank" = 'intelligence officer' | [
2061,
15684,
468,
257,
10916,
286,
4430,
3818,
30,
46506,
366,
27275,
1,
16034,
3084,
62,
12952,
2154,
33411,
366,
27520,
1,
796,
705,
32683,
3818,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
15684,
468,
257,
10916,
286,
4430,
3818,
30,
46506,
366,
27275,
1,
16034,
3084,
62,
12952,
2154,
33411,
366,
27520,
1,
796,
705,
32683,
3818,
6
] |
Users with the name matching a pattern. | SELECT u.Id AS "user_link", u.Reputation FROM Users AS u WHERE u.DisplayName LIKE '##pattern##' ORDER BY u.Reputation | [
14490,
351,
262,
1438,
12336,
257,
3912,
13,
46506,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
334,
13,
6207,
7094,
16034,
18987,
7054,
334,
33411,
334,
13,
23114,
5376,
34178,
705,
2235,
33279,
2235,
6,
38678,
11050,
334,
13,
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
] | [
14490,
351,
262,
1438,
12336,
257,
3912,
13,
46506,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
334,
13,
6207,
7094,
16034,
18987,
7054,
334,
33411,
334,
13,
23114,
5376,
34178,
705,
2235,
33279,
2235,
6,
38678,
11050,
334,
13,
62... |
If the Plain stop is , what is the Non- stop? | SELECT non__stop FROM table_name_92 WHERE plain_stop = "ㄷ" | [
1532,
262,
28847,
2245,
318,
837,
644,
318,
262,
8504,
12,
2245,
30,
46506,
1729,
834,
11338,
16034,
3084,
62,
3672,
62,
5892,
33411,
8631,
62,
11338,
796,
366,
159,
226,
115,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1532,
262,
28847,
2245,
318,
837,
644,
318,
262,
8504,
12,
2245,
30,
46506,
1729,
834,
11338,
16034,
3084,
62,
3672,
62,
5892,
33411,
8631,
62,
11338,
796,
366,
159,
226,
115,
1
] |
please list the flights from CHICAGO to KANSAS CITY | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'CHICAGO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'KANSAS... | [
29688,
1351,
262,
13956,
422,
5870,
2149,
4760,
46,
284,
509,
15037,
1921,
27993,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
29688,
1351,
262,
13956,
422,
5870,
2149,
4760,
46,
284,
509,
15037,
1921,
27993,
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,
... |
what is the total attempted with a total made 16 | SELECT COUNT(total_attempted) FROM table_name_21 WHERE total_made = 16 | [
10919,
318,
262,
2472,
7482,
351,
257,
2472,
925,
1467,
46506,
327,
28270,
7,
23350,
62,
1078,
1791,
276,
8,
16034,
3084,
62,
3672,
62,
2481,
33411,
2472,
62,
9727,
796,
1467
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
7482,
351,
257,
2472,
925,
1467,
46506,
327,
28270,
7,
23350,
62,
1078,
1791,
276,
8,
16034,
3084,
62,
3672,
62,
2481,
33411,
2472,
62,
9727,
796,
1467
] |
What is gunfire victim Maria Cecilia Rosa with 6 years of Tenure Date of Death? | SELECT "Date of death" FROM table_9580 WHERE "Cause of death" = 'gunfire' AND "Tenure" = '6 years' AND "Name" = 'maria cecilia rosa' | [
2061,
318,
29276,
3117,
14200,
23367,
17517,
27994,
351,
718,
812,
286,
9368,
495,
7536,
286,
5830,
30,
46506,
366,
10430,
286,
1918,
1,
16034,
3084,
62,
3865,
1795,
33411,
366,
42323,
286,
1918,
1,
796,
705,
7145,
6495,
6,
5357,
366,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
29276,
3117,
14200,
23367,
17517,
27994,
351,
718,
812,
286,
9368,
495,
7536,
286,
5830,
30,
46506,
366,
10430,
286,
1918,
1,
16034,
3084,
62,
3865,
1795,
33411,
366,
42323,
286,
1918,
1,
796,
705,
7145,
6495,
6,
5357,
366,... |
What is the Raptors' record against New Jersey? | SELECT "Record" FROM table_1331 WHERE "Team" = 'New Jersey' | [
2061,
318,
262,
30836,
6,
1700,
1028,
968,
8221,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
1485,
3132,
33411,
366,
15592,
1,
796,
705,
3791,
8221,
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,
30836,
6,
1700,
1028,
968,
8221,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
1485,
3132,
33411,
366,
15592,
1,
796,
705,
3791,
8221,
6
] |
What is the percentage of total capacity when the energy is 120.2? | SELECT _percentage_of_total_capacity FROM table_11456251_5 WHERE annual_energy__billion_kwh_ = "120.2" | [
2061,
318,
262,
5873,
286,
2472,
5339,
618,
262,
2568,
318,
7982,
13,
17,
30,
46506,
4808,
25067,
496,
62,
1659,
62,
23350,
62,
42404,
16034,
3084,
62,
1157,
2231,
26704,
16,
62,
20,
33411,
5079,
62,
22554,
834,
24540,
62,
74,
1929,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5873,
286,
2472,
5339,
618,
262,
2568,
318,
7982,
13,
17,
30,
46506,
4808,
25067,
496,
62,
1659,
62,
23350,
62,
42404,
16034,
3084,
62,
1157,
2231,
26704,
16,
62,
20,
33411,
5079,
62,
22554,
834,
24540,
62,
74,
1929,... |
Who was the constructor when Eugenio Castellotti was the pole position and the race had a C tyre? | SELECT constructor FROM table_name_89 WHERE tyre = "c" AND pole_position = "eugenio castellotti" | [
8241,
373,
262,
23772,
618,
20665,
268,
952,
5833,
695,
26380,
373,
262,
16825,
2292,
290,
262,
3234,
550,
257,
327,
48216,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
4531,
33411,
48216,
796,
366,
66,
1,
5357,
16825,
62,
9150,
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
] | [
8241,
373,
262,
23772,
618,
20665,
268,
952,
5833,
695,
26380,
373,
262,
16825,
2292,
290,
262,
3234,
550,
257,
327,
48216,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
4531,
33411,
48216,
796,
366,
66,
1,
5357,
16825,
62,
9150,
796,
... |
How many points did the car with the brm v8 engine have? | SELECT COUNT(points) FROM table_name_70 WHERE engine = "brm v8" | [
2437,
867,
2173,
750,
262,
1097,
351,
262,
865,
76,
410,
23,
3113,
423,
30,
46506,
327,
28270,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
2154,
33411,
3113,
796,
366,
1671,
76,
410,
23,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
2173,
750,
262,
1097,
351,
262,
865,
76,
410,
23,
3113,
423,
30,
46506,
327,
28270,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
2154,
33411,
3113,
796,
366,
1671,
76,
410,
23,
1
] |
What is the Player with a Pick that is 6? | SELECT player FROM table_name_15 WHERE pick = 6 | [
2061,
318,
262,
7853,
351,
257,
12346,
326,
318,
718,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
1314,
33411,
2298,
796,
718
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
7853,
351,
257,
12346,
326,
318,
718,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
1314,
33411,
2298,
796,
718
] |
Who built the car that retired due to suspension before 65 laps? | SELECT "Constructor" FROM table_57847 WHERE "Laps" < '65' AND "Time/Retired" = 'suspension' | [
8241,
3170,
262,
1097,
326,
9880,
2233,
284,
11461,
878,
6135,
24590,
30,
46506,
366,
42316,
273,
1,
16034,
3084,
62,
38907,
2857,
33411,
366,
43,
1686,
1,
1279,
705,
2996,
6,
5357,
366,
7575,
14,
9781,
1202,
1,
796,
705,
40409,
300... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3170,
262,
1097,
326,
9880,
2233,
284,
11461,
878,
6135,
24590,
30,
46506,
366,
42316,
273,
1,
16034,
3084,
62,
38907,
2857,
33411,
366,
43,
1686,
1,
1279,
705,
2996,
6,
5357,
366,
7575,
14,
9781,
1202,
1,
796,
705,
40409,
300... |
What was South Melbourne's score when they played as the away team? | SELECT "Away team score" FROM table_57260 WHERE "Away team" = 'south melbourne' | [
2061,
373,
2520,
14819,
338,
4776,
618,
484,
2826,
355,
262,
1497,
1074,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
3553,
21719,
33411,
366,
32,
1014,
1074,
1,
796,
705,
35782,
7758,
12544,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
2520,
14819,
338,
4776,
618,
484,
2826,
355,
262,
1497,
1074,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
3553,
21719,
33411,
366,
32,
1014,
1074,
1,
796,
705,
35782,
7758,
12544,
6
] |
What number corresponds to the quantity of 24? | SELECT "Number(s)" FROM table_62452 WHERE "Quantity" = '24' | [
2061,
1271,
24866,
284,
262,
12040,
286,
1987,
30,
46506,
366,
15057,
7,
82,
16725,
16034,
3084,
62,
21,
1731,
4309,
33411,
366,
31208,
1,
796,
705,
1731,
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,
1271,
24866,
284,
262,
12040,
286,
1987,
30,
46506,
366,
15057,
7,
82,
16725,
16034,
3084,
62,
21,
1731,
4309,
33411,
366,
31208,
1,
796,
705,
1731,
6
] |
what is the maximum total hospital cost that includes the total cholesterol lab test during this year? | SELECT MAX(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 lab.patientunitstayid FROM lab WHERE lab.labname = 'total cholesterol')) AND DATETIME(cost.chargetime, 'start of year') ... | [
10919,
318,
262,
5415,
2472,
4436,
1575,
326,
3407,
262,
2472,
18759,
2248,
1332,
1141,
428,
614,
30,
46506,
25882,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
1575,
33411,
1575,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5415,
2472,
4436,
1575,
326,
3407,
262,
2472,
18759,
2248,
1332,
1141,
428,
614,
30,
46506,
25882,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
1575,
33411,
1575,... |
How many votes were cast when the notes reported lost to incumbent vic gilliam? | SELECT votes FROM table_name_51 WHERE notes = "lost to incumbent vic gilliam" | [
2437,
867,
5690,
547,
3350,
618,
262,
4710,
2098,
2626,
284,
23526,
20429,
308,
359,
1789,
30,
46506,
5690,
16034,
3084,
62,
3672,
62,
4349,
33411,
4710,
796,
366,
33224,
284,
23526,
20429,
308,
359,
1789,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5690,
547,
3350,
618,
262,
4710,
2098,
2626,
284,
23526,
20429,
308,
359,
1789,
30,
46506,
5690,
16034,
3084,
62,
3672,
62,
4349,
33411,
4710,
796,
366,
33224,
284,
23526,
20429,
308,
359,
1789,
1
] |
Which Label has a Date of 20 July? | SELECT "Label" FROM table_53703 WHERE "Date" = '20 july' | [
13828,
36052,
468,
257,
7536,
286,
1160,
2901,
30,
46506,
366,
33986,
1,
16034,
3084,
62,
4310,
36809,
33411,
366,
10430,
1,
796,
705,
1238,
474,
2062,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
36052,
468,
257,
7536,
286,
1160,
2901,
30,
46506,
366,
33986,
1,
16034,
3084,
62,
4310,
36809,
33411,
366,
10430,
1,
796,
705,
1238,
474,
2062,
6
] |
Name the being qualities for having things of friendships, family, relationships with nature | SELECT "Being (qualities)" FROM table_68450 WHERE "Having (things)" = 'friendships, family, relationships with nature' | [
5376,
262,
852,
14482,
329,
1719,
1243,
286,
34596,
11,
1641,
11,
6958,
351,
3450,
46506,
366,
18357,
357,
13255,
871,
16725,
16034,
3084,
62,
3104,
17885,
33411,
366,
14698,
357,
27971,
16725,
796,
705,
6726,
26313,
11,
1641,
11,
6958,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
852,
14482,
329,
1719,
1243,
286,
34596,
11,
1641,
11,
6958,
351,
3450,
46506,
366,
18357,
357,
13255,
871,
16725,
16034,
3084,
62,
3104,
17885,
33411,
366,
14698,
357,
27971,
16725,
796,
705,
6726,
26313,
11,
1641,
11,
6958,... |
What primary conference does the team nicknamed Phoenix belongs to? | SELECT primary_conference FROM table_name_39 WHERE team_nickname = "phoenix" | [
2061,
4165,
4495,
857,
262,
1074,
35786,
9643,
14448,
284,
30,
46506,
4165,
62,
41124,
16034,
3084,
62,
3672,
62,
2670,
33411,
1074,
62,
17172,
3672,
796,
366,
746,
8538,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
4165,
4495,
857,
262,
1074,
35786,
9643,
14448,
284,
30,
46506,
4165,
62,
41124,
16034,
3084,
62,
3672,
62,
2670,
33411,
1074,
62,
17172,
3672,
796,
366,
746,
8538,
1
] |
what were the four most commonly prescribed drugs for patients 20s since 2100? | SELECT t1.drugname FROM (SELECT medication.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age BETWEEN 20 AND 29) AND STRFTIME('%y', medication.drugstarttime) >= '2100' GROUP BY medication.drugn... | [
10919,
547,
262,
1440,
749,
8811,
14798,
5010,
329,
3871,
1160,
82,
1201,
38123,
30,
46506,
256,
16,
13,
30349,
3672,
16034,
357,
46506,
14103,
13,
30349,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1440,
749,
8811,
14798,
5010,
329,
3871,
1160,
82,
1201,
38123,
30,
46506,
256,
16,
13,
30349,
3672,
16034,
357,
46506,
14103,
13,
30349,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
... |
what is the number of inhabitants living in predeal in 2007 ? | SELECT "population (2007 estimation)" FROM table_203_465 WHERE "name" = 'predeal' | [
10919,
318,
262,
1271,
286,
17622,
2877,
287,
2747,
2287,
287,
4343,
5633,
46506,
366,
39748,
357,
12726,
31850,
16725,
16034,
3084,
62,
22416,
62,
42018,
33411,
366,
3672,
1,
796,
705,
28764,
2287,
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
] | [
10919,
318,
262,
1271,
286,
17622,
2877,
287,
2747,
2287,
287,
4343,
5633,
46506,
366,
39748,
357,
12726,
31850,
16725,
16034,
3084,
62,
22416,
62,
42018,
33411,
366,
3672,
1,
796,
705,
28764,
2287,
6
] |
What is the entered number for the person with a time of 29:28? | SELECT entered FROM table_name_74 WHERE time = "29:28" | [
2061,
318,
262,
5982,
1271,
329,
262,
1048,
351,
257,
640,
286,
2808,
25,
2078,
30,
46506,
5982,
16034,
3084,
62,
3672,
62,
4524,
33411,
640,
796,
366,
1959,
25,
2078,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
5982,
1271,
329,
262,
1048,
351,
257,
640,
286,
2808,
25,
2078,
30,
46506,
5982,
16034,
3084,
62,
3672,
62,
4524,
33411,
640,
796,
366,
1959,
25,
2078,
1
] |
this year, what were the five most frequently prescribed drugs for patients, who were also prescribed with nacl 0.9% bolus at the same time? | SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'nacl 0.9% bolus' AND DATETIME(medication.drugstartt... | [
5661,
614,
11,
644,
547,
262,
1936,
749,
6777,
14798,
5010,
329,
3871,
11,
508,
547,
635,
14798,
351,
299,
37779,
657,
13,
24,
4,
11572,
385,
379,
262,
976,
640,
30,
46506,
256,
18,
13,
30349,
3672,
16034,
357,
46506,
256,
17,
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... | [
5661,
614,
11,
644,
547,
262,
1936,
749,
6777,
14798,
5010,
329,
3871,
11,
508,
547,
635,
14798,
351,
299,
37779,
657,
13,
24,
4,
11572,
385,
379,
262,
976,
640,
30,
46506,
256,
18,
13,
30349,
3672,
16034,
357,
46506,
256,
17,
13,... |
count the number of patients who received a other bronchoscopy procedure within 2 months after they were diagnosed with pleural effusion nos since 6 years ago. | SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'pleural effusion n... | [
9127,
262,
1271,
286,
3871,
508,
2722,
257,
584,
18443,
354,
17500,
11081,
8771,
1626,
362,
1933,
706,
484,
547,
14641,
351,
3339,
1523,
914,
4241,
43630,
1201,
718,
812,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
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,
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,
508,
2722,
257,
584,
18443,
354,
17500,
11081,
8771,
1626,
362,
1933,
706,
484,
547,
14641,
351,
3339,
1523,
914,
4241,
43630,
1201,
718,
812,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
... |
What is the Surface of the Court in Napoli? | SELECT surface FROM table_name_26 WHERE tournament = "napoli" | [
2061,
318,
262,
20321,
286,
262,
3078,
287,
14332,
11106,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
2075,
33411,
7756,
796,
366,
77,
499,
11106,
1
] | [
1,
1,
1,
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,
20321,
286,
262,
3078,
287,
14332,
11106,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
2075,
33411,
7756,
796,
366,
77,
499,
11106,
1
] |
give me the number of patients whose days of hospital stay is greater than 11 and lab test fluid is cerebrospinal fluid (csf)? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "11" AND lab.fluid = "Cerebrospinal Fluid (CSF)" | [
26535,
502,
262,
1271,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
1367,
290,
2248,
1332,
11711,
318,
6736,
7957,
2777,
1292,
11711,
357,
6359,
69,
19427,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
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... | [
26535,
502,
262,
1271,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
1367,
290,
2248,
1332,
11711,
318,
6736,
7957,
2777,
1292,
11711,
357,
6359,
69,
19427,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
3... |
What is the rank of the person with more than 5 games played? | SELECT SUM("Rank") FROM table_64826 WHERE "Games played" > '5' | [
2061,
318,
262,
4279,
286,
262,
1048,
351,
517,
621,
642,
1830,
2826,
30,
46506,
35683,
7203,
27520,
4943,
16034,
3084,
62,
34287,
2075,
33411,
366,
24474,
2826,
1,
1875,
705,
20,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4279,
286,
262,
1048,
351,
517,
621,
642,
1830,
2826,
30,
46506,
35683,
7203,
27520,
4943,
16034,
3084,
62,
34287,
2075,
33411,
366,
24474,
2826,
1,
1875,
705,
20,
6
] |
Can you tell me the County that has the Location of shelbyville? | SELECT "County" FROM table_65010 WHERE "Location" = 'shelbyville' | [
6090,
345,
1560,
502,
262,
3418,
326,
468,
262,
13397,
286,
7497,
1525,
4244,
30,
46506,
366,
12332,
88,
1,
16034,
3084,
62,
2996,
20943,
33411,
366,
14749,
1,
796,
705,
82,
2978,
1525,
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
] | [
6090,
345,
1560,
502,
262,
3418,
326,
468,
262,
13397,
286,
7497,
1525,
4244,
30,
46506,
366,
12332,
88,
1,
16034,
3084,
62,
2996,
20943,
33411,
366,
14749,
1,
796,
705,
82,
2978,
1525,
4244,
6
] |
What is the sum of the average of Hawaii, with an interviewer larger than 9.636? | SELECT SUM(average) FROM table_name_26 WHERE state = "hawaii" AND interview > 9.636 | [
2061,
318,
262,
2160,
286,
262,
2811,
286,
13708,
11,
351,
281,
39877,
4025,
621,
860,
13,
21,
2623,
30,
46506,
35683,
7,
23913,
8,
16034,
3084,
62,
3672,
62,
2075,
33411,
1181,
796,
366,
26615,
42648,
1,
5357,
2720,
1875,
860,
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
] | [
2061,
318,
262,
2160,
286,
262,
2811,
286,
13708,
11,
351,
281,
39877,
4025,
621,
860,
13,
21,
2623,
30,
46506,
35683,
7,
23913,
8,
16034,
3084,
62,
3672,
62,
2075,
33411,
1181,
796,
366,
26615,
42648,
1,
5357,
2720,
1875,
860,
13,
... |
What date has 2006 fifa world cup qualification as the competition, and alamodome, san antonio, united States as the venue? | SELECT date FROM table_name_40 WHERE competition = "2006 fifa world cup qualification" AND venue = "alamodome, san antonio, united states" | [
2061,
3128,
468,
4793,
5515,
64,
995,
6508,
28587,
355,
262,
5449,
11,
290,
435,
321,
375,
462,
11,
5336,
281,
1122,
952,
11,
16503,
1829,
355,
262,
14359,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1821,
33411,
5449,
796,
366,
133... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
468,
4793,
5515,
64,
995,
6508,
28587,
355,
262,
5449,
11,
290,
435,
321,
375,
462,
11,
5336,
281,
1122,
952,
11,
16503,
1829,
355,
262,
14359,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1821,
33411,
5449,
796,
366,
133... |
Which upper elective courses can CS students take ? | SELECT DISTINCT course.department, course.name, course.number FROM course, program_course WHERE program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id | [
13828,
6727,
1742,
425,
10902,
460,
9429,
2444,
1011,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
62,
17319,
33411,
1430,
62,
17319,
13,
22872,
34178,
705,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
6727,
1742,
425,
10902,
460,
9429,
2444,
1011,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
62,
17319,
33411,
1430,
62,
17319,
13,
22872,
34178,
705,
... |
What's the C_{high} when the C_{low} value is 250.5? | SELECT "C_{high}" FROM table_73105 WHERE "C_{low}" = '250.5' | [
2061,
338,
262,
327,
23330,
8929,
92,
618,
262,
327,
23330,
9319,
92,
1988,
318,
8646,
13,
20,
30,
46506,
366,
34,
23330,
8929,
36786,
16034,
3084,
62,
4790,
13348,
33411,
366,
34,
23330,
9319,
36786,
796,
705,
9031,
13,
20,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
327,
23330,
8929,
92,
618,
262,
327,
23330,
9319,
92,
1988,
318,
8646,
13,
20,
30,
46506,
366,
34,
23330,
8929,
36786,
16034,
3084,
62,
4790,
13348,
33411,
366,
34,
23330,
9319,
36786,
796,
705,
9031,
13,
20,
6
] |
What country is player mike sullivan from? | SELECT "Country" FROM table_44551 WHERE "Player" = 'mike sullivan' | [
2061,
1499,
318,
2137,
285,
522,
424,
297,
13809,
422,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
43489,
4349,
33411,
366,
14140,
1,
796,
705,
76,
522,
424,
297,
13809,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1499,
318,
2137,
285,
522,
424,
297,
13809,
422,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
43489,
4349,
33411,
366,
14140,
1,
796,
705,
76,
522,
424,
297,
13809,
6
] |
what is the position when the pick is higher than 33 and the school is tottenville hs (staten island, ny)? | SELECT "Position" FROM table_66396 WHERE "Pick" > '33' AND "School" = 'tottenville hs (staten island, ny)' | [
10919,
318,
262,
2292,
618,
262,
2298,
318,
2440,
621,
4747,
290,
262,
1524,
318,
284,
32407,
4244,
289,
82,
357,
14269,
268,
7022,
11,
299,
88,
19427,
46506,
366,
26545,
1,
16034,
3084,
62,
2791,
34107,
33411,
366,
31686,
1,
1875,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
2292,
618,
262,
2298,
318,
2440,
621,
4747,
290,
262,
1524,
318,
284,
32407,
4244,
289,
82,
357,
14269,
268,
7022,
11,
299,
88,
19427,
46506,
366,
26545,
1,
16034,
3084,
62,
2791,
34107,
33411,
366,
31686,
1,
1875,
... |
What's the number of McCain votes in the county where Obama got 35.7% and others got 1.9% of the votes? | SELECT MIN("McCain#") FROM table_23718 WHERE "Obama%" = '35.7%' AND "Others%" = '1.9%' | [
2061,
338,
262,
1271,
286,
14264,
5690,
287,
262,
7968,
810,
2486,
1392,
3439,
13,
22,
4,
290,
1854,
1392,
352,
13,
24,
4,
286,
262,
5690,
30,
46506,
20625,
7203,
30464,
391,
2,
4943,
16034,
3084,
62,
24693,
1507,
33411,
366,
15948,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
14264,
5690,
287,
262,
7968,
810,
2486,
1392,
3439,
13,
22,
4,
290,
1854,
1392,
352,
13,
24,
4,
286,
262,
5690,
30,
46506,
20625,
7203,
30464,
391,
2,
4943,
16034,
3084,
62,
24693,
1507,
33411,
366,
15948,... |
What is the platform for the game of the third-person shooter genre? | SELECT "Platform(s)" FROM table_64751 WHERE "Genre" = 'third-person shooter' | [
2061,
318,
262,
3859,
329,
262,
983,
286,
262,
2368,
12,
6259,
14273,
12121,
30,
46506,
366,
37148,
7,
82,
16725,
16034,
3084,
62,
2414,
48365,
33411,
366,
13746,
260,
1,
796,
705,
17089,
12,
6259,
14273,
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,
3859,
329,
262,
983,
286,
262,
2368,
12,
6259,
14273,
12121,
30,
46506,
366,
37148,
7,
82,
16725,
16034,
3084,
62,
2414,
48365,
33411,
366,
13746,
260,
1,
796,
705,
17089,
12,
6259,
14273,
6
] |
Find all types of store and number of them Visualize by bar chart, could you order Type in ascending order? | SELECT Type, COUNT(*) FROM store GROUP BY Type ORDER BY Type | [
16742,
477,
3858,
286,
3650,
290,
1271,
286,
606,
15612,
1096,
416,
2318,
8262,
11,
714,
345,
1502,
5994,
287,
41988,
1502,
30,
46506,
5994,
11,
327,
28270,
7,
28104,
16034,
3650,
44441,
11050,
5994,
38678,
11050,
5994
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
3858,
286,
3650,
290,
1271,
286,
606,
15612,
1096,
416,
2318,
8262,
11,
714,
345,
1502,
5994,
287,
41988,
1502,
30,
46506,
5994,
11,
327,
28270,
7,
28104,
16034,
3650,
44441,
11050,
5994,
38678,
11050,
5994
] |
What is the Draw that has Points larger than 44 and a Place larger than 1? | SELECT AVG("Draw") FROM table_77558 WHERE "Points" > '44' AND "Place" > '1' | [
2061,
318,
262,
15315,
326,
468,
11045,
4025,
621,
5846,
290,
257,
8474,
4025,
621,
352,
30,
46506,
35224,
7203,
25302,
4943,
16034,
3084,
62,
34483,
3365,
33411,
366,
40710,
1,
1875,
705,
2598,
6,
5357,
366,
27271,
1,
1875,
705,
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,
1,
1
] | [
2061,
318,
262,
15315,
326,
468,
11045,
4025,
621,
5846,
290,
257,
8474,
4025,
621,
352,
30,
46506,
35224,
7203,
25302,
4943,
16034,
3084,
62,
34483,
3365,
33411,
366,
40710,
1,
1875,
705,
2598,
6,
5357,
366,
27271,
1,
1875,
705,
16,
... |
Which Rank has a Prominence (m) of 1,798, and a Col (m) larger than 810? | SELECT MIN("Rank") FROM table_13833 WHERE "Prominence (m)" = '1,798' AND "Col (m)" > '810' | [
13828,
10916,
468,
257,
10335,
18386,
357,
76,
8,
286,
352,
11,
43240,
11,
290,
257,
1623,
357,
76,
8,
4025,
621,
807,
940,
30,
46506,
20625,
7203,
27520,
4943,
16034,
3084,
62,
20107,
2091,
33411,
366,
24129,
18386,
357,
76,
16725,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
10916,
468,
257,
10335,
18386,
357,
76,
8,
286,
352,
11,
43240,
11,
290,
257,
1623,
357,
76,
8,
4025,
621,
807,
940,
30,
46506,
20625,
7203,
27520,
4943,
16034,
3084,
62,
20107,
2091,
33411,
366,
24129,
18386,
357,
76,
16725,
... |
how many players played more than 10 matches ? | SELECT COUNT("player") FROM table_204_154 WHERE "matches" > 10 | [
4919,
867,
1938,
2826,
517,
621,
838,
7466,
5633,
46506,
327,
28270,
7203,
7829,
4943,
16034,
3084,
62,
18638,
62,
21526,
33411,
366,
6759,
2052,
1,
1875,
838
] | [
1,
1,
1,
1,
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,
1938,
2826,
517,
621,
838,
7466,
5633,
46506,
327,
28270,
7203,
7829,
4943,
16034,
3084,
62,
18638,
62,
21526,
33411,
366,
6759,
2052,
1,
1875,
838
] |
what title had the longest run time ? | SELECT "title" FROM table_203_687 ORDER BY "time" DESC LIMIT 1 | [
10919,
3670,
550,
262,
14069,
1057,
640,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
22416,
62,
39925,
38678,
11050,
366,
2435,
1,
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
] | [
10919,
3670,
550,
262,
14069,
1057,
640,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
22416,
62,
39925,
38678,
11050,
366,
2435,
1,
22196,
34,
27564,
2043,
352
] |
which image frame has the largest crop factor ? | SELECT "type" FROM table_203_356 ORDER BY "crop factor" DESC LIMIT 1 | [
4758,
2939,
5739,
468,
262,
4387,
13833,
5766,
5633,
46506,
366,
4906,
1,
16034,
3084,
62,
22416,
62,
32066,
38678,
11050,
366,
31476,
5766,
1,
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
] | [
4758,
2939,
5739,
468,
262,
4387,
13833,
5766,
5633,
46506,
366,
4906,
1,
16034,
3084,
62,
22416,
62,
32066,
38678,
11050,
366,
31476,
5766,
1,
22196,
34,
27564,
2043,
352
] |
What are the official languages of the countries of players from Maryland or Duke college? | SELECT T1.official_native_language FROM country AS T1 JOIN match_season AS T2 ON T1.country_id = T2.country WHERE T2.college = "Maryland" OR T2.college = "Duke" | [
2061,
389,
262,
1743,
8950,
286,
262,
2678,
286,
1938,
422,
10769,
393,
11083,
4152,
30,
46506,
309,
16,
13,
16841,
62,
30191,
62,
16129,
16034,
1499,
7054,
309,
16,
32357,
1268,
2872,
62,
6230,
7054,
309,
17,
6177,
309,
16,
13,
193... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1743,
8950,
286,
262,
2678,
286,
1938,
422,
10769,
393,
11083,
4152,
30,
46506,
309,
16,
13,
16841,
62,
30191,
62,
16129,
16034,
1499,
7054,
309,
16,
32357,
1268,
2872,
62,
6230,
7054,
309,
17,
6177,
309,
16,
13,
193... |
how many 110 m hurdles did china compete in ? | SELECT COUNT(*) FROM table_203_539 WHERE "event" = '110 m hurdles' | [
4919,
867,
9796,
285,
34283,
750,
442,
1437,
9320,
287,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
20,
2670,
33411,
366,
15596,
1,
796,
705,
11442,
285,
34283,
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
] | [
4919,
867,
9796,
285,
34283,
750,
442,
1437,
9320,
287,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
20,
2670,
33411,
366,
15596,
1,
796,
705,
11442,
285,
34283,
6
] |
Name the district for spencer bachus | SELECT district FROM table_25030512_4 WHERE incumbent = "Spencer Bachus" | [
5376,
262,
4783,
329,
599,
12137,
275,
9523,
46506,
4783,
16034,
3084,
62,
9031,
22515,
1065,
62,
19,
33411,
23526,
796,
366,
50,
3617,
2189,
347,
9523,
1
] | [
1,
1,
1,
1,
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,
4783,
329,
599,
12137,
275,
9523,
46506,
4783,
16034,
3084,
62,
9031,
22515,
1065,
62,
19,
33411,
23526,
796,
366,
50,
3617,
2189,
347,
9523,
1
] |
What is the score of game 37? | SELECT "Score" FROM table_43823 WHERE "Game" = '37' | [
2061,
318,
262,
4776,
286,
983,
5214,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
43704,
1954,
33411,
366,
8777,
1,
796,
705,
2718,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4776,
286,
983,
5214,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
43704,
1954,
33411,
366,
8777,
1,
796,
705,
2718,
6
] |
what is the number of patients whose primary disease is guillain barre syndrome and year of birth is less than 2076? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "GUILLAIN BARRE SYNDROME" AND demographic.dob_year < "2076" | [
10919,
318,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
915,
359,
391,
2318,
260,
14027,
290,
614,
286,
4082,
318,
1342,
621,
1160,
4304,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
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,
3025,
4165,
4369,
318,
915,
359,
391,
2318,
260,
14027,
290,
614,
286,
4082,
318,
1342,
621,
1160,
4304,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3... |
what is the number of patients who had coronary arteriography using two catheters and were born before 2109? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dob_year < "2109" AND procedures.long_title = "Coronary arteriography using two catheters" | [
10919,
318,
262,
1271,
286,
3871,
508,
550,
37151,
30675,
72,
4867,
1262,
734,
3797,
258,
1010,
290,
547,
4642,
878,
362,
14454,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
508,
550,
37151,
30675,
72,
4867,
1262,
734,
3797,
258,
1010,
290,
547,
4642,
878,
362,
14454,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
... |
How many stories have a height less than 138 meters with a completion date in 1971? | SELECT "Stories" FROM table_45205 WHERE "Height (m)" < '138' AND "Year of completion" = '1971' | [
2437,
867,
3923,
423,
257,
6001,
1342,
621,
21503,
10700,
351,
257,
11939,
3128,
287,
16382,
30,
46506,
366,
1273,
1749,
1,
16034,
3084,
62,
2231,
21261,
33411,
366,
23106,
357,
76,
16725,
1279,
705,
20107,
6,
5357,
366,
17688,
286,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3923,
423,
257,
6001,
1342,
621,
21503,
10700,
351,
257,
11939,
3128,
287,
16382,
30,
46506,
366,
1273,
1749,
1,
16034,
3084,
62,
2231,
21261,
33411,
366,
23106,
357,
76,
16725,
1279,
705,
20107,
6,
5357,
366,
17688,
286,
1... |
Which year opened is located in west mifflin, pennsylvania? | SELECT "Year Opened" FROM table_63769 WHERE "Location" = 'west mifflin, pennsylvania' | [
13828,
614,
4721,
318,
5140,
287,
7421,
285,
733,
2815,
11,
22429,
9270,
30,
46506,
366,
17688,
8670,
2945,
1,
16034,
3084,
62,
21,
2718,
3388,
33411,
366,
14749,
1,
796,
705,
7038,
285,
733,
2815,
11,
22429,
9270,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
614,
4721,
318,
5140,
287,
7421,
285,
733,
2815,
11,
22429,
9270,
30,
46506,
366,
17688,
8670,
2945,
1,
16034,
3084,
62,
21,
2718,
3388,
33411,
366,
14749,
1,
796,
705,
7038,
285,
733,
2815,
11,
22429,
9270,
6
] |
What score has money ($) greater than 400, with gene sarazen as the player? | SELECT "Score" FROM table_62582 WHERE "Money ( $ )" > '400' AND "Player" = 'gene sarazen' | [
2061,
4776,
468,
1637,
45491,
3744,
621,
7337,
11,
351,
9779,
29008,
1031,
268,
355,
262,
2137,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
26704,
6469,
33411,
366,
26788,
357,
720,
1267,
1,
1875,
705,
7029,
6,
5357,
366,
14140,
1,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4776,
468,
1637,
45491,
3744,
621,
7337,
11,
351,
9779,
29008,
1031,
268,
355,
262,
2137,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
26704,
6469,
33411,
366,
26788,
357,
720,
1267,
1,
1875,
705,
7029,
6,
5357,
366,
14140,
1,
7... |
Which Week has an Attendance smaller than 70,056, and an Opponent of at minnesota vikings? | SELECT COUNT("Week") FROM table_44990 WHERE "Attendance" < '70,056' AND "Opponent" = 'at minnesota vikings' | [
13828,
6119,
468,
281,
46502,
590,
4833,
621,
4317,
11,
2713,
21,
11,
290,
281,
9385,
3471,
286,
379,
949,
8360,
410,
1134,
654,
30,
46506,
327,
28270,
7203,
20916,
4943,
16034,
3084,
62,
2598,
34155,
33411,
366,
8086,
437,
590,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6119,
468,
281,
46502,
590,
4833,
621,
4317,
11,
2713,
21,
11,
290,
281,
9385,
3471,
286,
379,
949,
8360,
410,
1134,
654,
30,
46506,
327,
28270,
7203,
20916,
4943,
16034,
3084,
62,
2598,
34155,
33411,
366,
8086,
437,
590,
1,
... |
count the number of patients whose language is engl? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.language = "ENGL" | [
9127,
262,
1271,
286,
3871,
3025,
3303,
318,
1786,
75,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3303,
318,
1786,
75,
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
] |
when was the first time that patient 26057 had the temperature c (calc) maximum on the first intensive care unit visit? | SELECT chartevents.charttime FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 26057) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1) AND chartevents.itemid IN (... | [
12518,
373,
262,
717,
640,
326,
5827,
21148,
3553,
550,
262,
5951,
269,
357,
9948,
66,
8,
5415,
319,
262,
717,
18590,
1337,
4326,
3187,
30,
46506,
8262,
31534,
13,
40926,
2435,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
717,
640,
326,
5827,
21148,
3553,
550,
262,
5951,
269,
357,
9948,
66,
8,
5415,
319,
262,
717,
18590,
1337,
4326,
3187,
30,
46506,
8262,
31534,
13,
40926,
2435,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323... |
Who is the CEE 520 teacher ? | SELECT DISTINCT instructor.name FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.department = 'CEE' AND course.number = 520 AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offering_id = course_offering.of... | [
8241,
318,
262,
327,
6500,
36141,
4701,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,
6011,
62,
259,
7249,
273,
33411,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
327,
6500,
36141,
4701,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,
6011,
62,
259,
7249,
273,
33411,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
... |
What are the stations in Tarzana? | SELECT "Stations" FROM table_24012 WHERE "City/ Neighborhood" = 'Tarzana' | [
2061,
389,
262,
8985,
287,
14110,
89,
2271,
30,
46506,
366,
1273,
602,
1,
16034,
3084,
62,
1731,
30206,
33411,
366,
14941,
14,
37914,
1,
796,
705,
47079,
89,
2271,
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,
389,
262,
8985,
287,
14110,
89,
2271,
30,
46506,
366,
1273,
602,
1,
16034,
3084,
62,
1731,
30206,
33411,
366,
14941,
14,
37914,
1,
796,
705,
47079,
89,
2271,
6
] |
What is the medal named fatuma roba category:articles with hcards for? | SELECT medal FROM table_name_73 WHERE name = "fatuma roba category:articles with hcards" | [
2061,
318,
262,
18279,
3706,
3735,
7487,
3857,
64,
6536,
25,
26845,
351,
289,
27761,
329,
30,
46506,
18279,
16034,
3084,
62,
3672,
62,
4790,
33411,
1438,
796,
366,
17359,
7487,
3857,
64,
6536,
25,
26845,
351,
289,
27761,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18279,
3706,
3735,
7487,
3857,
64,
6536,
25,
26845,
351,
289,
27761,
329,
30,
46506,
18279,
16034,
3084,
62,
3672,
62,
4790,
33411,
1438,
796,
366,
17359,
7487,
3857,
64,
6536,
25,
26845,
351,
289,
27761,
1
] |
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, return a bar chart about the distribution of hire_date and the average of employee_id bin hire_date by weekday. | SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
28... |
What options do I have for my Core in ORTHO ? | SELECT DISTINCT course.department, course.name, course.number FROM course, program, program_course WHERE course.department LIKE '%ORTHO%' AND program_course.category LIKE '%Core%' AND program_course.course_id = course.course_id AND program.name LIKE '%CS-LSA%' AND program.program_id = program_course.program_id | [
2061,
3689,
466,
314,
423,
329,
616,
7231,
287,
6375,
4221,
46,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
11,
1430,
62,
17319,
33411,
1781,
13,
10378,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3689,
466,
314,
423,
329,
616,
7231,
287,
6375,
4221,
46,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
11,
1430,
62,
17319,
33411,
1781,
13,
10378,
... |
Which mean rank had a silver number smaller than 0? | SELECT AVG(rank) FROM table_name_60 WHERE silver < 0 | [
13828,
1612,
4279,
550,
257,
8465,
1271,
4833,
621,
657,
30,
46506,
35224,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
1899,
33411,
8465,
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
] | [
13828,
1612,
4279,
550,
257,
8465,
1271,
4833,
621,
657,
30,
46506,
35224,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
1899,
33411,
8465,
1279,
657
] |
List the id of students who never attends courses? | SELECT student_id FROM students WHERE NOT student_id IN (SELECT student_id FROM student_course_attendance) | [
8053,
262,
4686,
286,
2444,
508,
1239,
32743,
10902,
30,
46506,
3710,
62,
312,
16034,
2444,
33411,
5626,
3710,
62,
312,
3268,
357,
46506,
3710,
62,
312,
16034,
3710,
62,
17319,
62,
1078,
437,
590,
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
] | [
8053,
262,
4686,
286,
2444,
508,
1239,
32743,
10902,
30,
46506,
3710,
62,
312,
16034,
2444,
33411,
5626,
3710,
62,
312,
3268,
357,
46506,
3710,
62,
312,
16034,
3710,
62,
17319,
62,
1078,
437,
590,
8
] |
What's the smallest draw of Warrnambool when the against was less than 1299, more than 7 wins, and less than 2 losses? | SELECT MIN("Draws") FROM table_65482 WHERE "Against" < '1299' AND "Wins" > '7' AND "Club" = 'warrnambool' AND "Losses" < '2' | [
2061,
338,
262,
18197,
3197,
286,
1810,
35906,
4131,
970,
618,
262,
1028,
373,
1342,
621,
1105,
2079,
11,
517,
621,
767,
7864,
11,
290,
1342,
621,
362,
9089,
30,
46506,
20625,
7203,
25302,
82,
4943,
16034,
3084,
62,
2996,
40149,
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,
338,
262,
18197,
3197,
286,
1810,
35906,
4131,
970,
618,
262,
1028,
373,
1342,
621,
1105,
2079,
11,
517,
621,
767,
7864,
11,
290,
1342,
621,
362,
9089,
30,
46506,
20625,
7203,
25302,
82,
4943,
16034,
3084,
62,
2996,
40149,
33411... |
What's Enrique de la Fuente's weight? | SELECT MIN("Weight") FROM table_18047 WHERE "Player" = 'Enrique de la Fuente' | [
2061,
338,
46879,
390,
8591,
13333,
21872,
338,
3463,
30,
46506,
20625,
7203,
25844,
4943,
16034,
3084,
62,
15259,
2857,
33411,
366,
14140,
1,
796,
705,
4834,
33865,
390,
8591,
13333,
21872,
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,
338,
46879,
390,
8591,
13333,
21872,
338,
3463,
30,
46506,
20625,
7203,
25844,
4943,
16034,
3084,
62,
15259,
2857,
33411,
366,
14140,
1,
796,
705,
4834,
33865,
390,
8591,
13333,
21872,
6
] |
tell me the minimum age of patients with death status as 0 and discharge location as disc-tran cancer chldrn h. | SELECT MIN(demographic.age) FROM demographic WHERE demographic.expire_flag = "0" AND demographic.discharge_location = "DISC-TRAN CANCER/CHLDRN H" | [
33331,
502,
262,
5288,
2479,
286,
3871,
351,
1918,
3722,
355,
657,
290,
17655,
4067,
355,
1221,
12,
2213,
272,
4890,
442,
335,
35906,
289,
13,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
1069,
5111,
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... | [
33331,
502,
262,
5288,
2479,
286,
3871,
351,
1918,
3722,
355,
657,
290,
17655,
4067,
355,
1221,
12,
2213,
272,
4890,
442,
335,
35906,
289,
13,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
1069,
5111,
62,
... |
How many different products are produced in each headquarter city Visualize by bar chart, show x-axis from high to low order. | SELECT Headquarter, COUNT(DISTINCT T1.Name) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code ORDER BY Headquarter DESC | [
2437,
867,
1180,
3186,
389,
4635,
287,
1123,
1182,
24385,
1748,
15612,
1096,
416,
2318,
8262,
11,
905,
2124,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
7123,
24385,
11,
327,
28270,
7,
35,
8808,
1268,
4177,
309,
16,
13,
5376,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
1180,
3186,
389,
4635,
287,
1123,
1182,
24385,
1748,
15612,
1096,
416,
2318,
8262,
11,
905,
2124,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
7123,
24385,
11,
327,
28270,
7,
35,
8808,
1268,
4177,
309,
16,
13,
5376,
... |
what is the total number of deadline for completion where description is facebook becomes a publicly traded company | SELECT COUNT("Deadline for completion") FROM table_421 WHERE "Description" = 'Facebook becomes a publicly traded company' | [
10919,
318,
262,
2472,
1271,
286,
12508,
329,
11939,
810,
6764,
318,
23960,
4329,
257,
7271,
14018,
1664,
46506,
327,
28270,
7203,
20489,
1370,
329,
11939,
4943,
16034,
3084,
62,
46636,
33411,
366,
11828,
1,
796,
705,
12025,
4329,
257,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
1271,
286,
12508,
329,
11939,
810,
6764,
318,
23960,
4329,
257,
7271,
14018,
1664,
46506,
327,
28270,
7203,
20489,
1370,
329,
11939,
4943,
16034,
3084,
62,
46636,
33411,
366,
11828,
1,
796,
705,
12025,
4329,
257,
... |
Bin the installation date into Year interval, and then you can draw a bar chart to tell me how many stations each year, order in ascending by the the number of installation date. | SELECT installation_date, COUNT(installation_date) FROM station ORDER BY COUNT(installation_date) | [
33,
259,
262,
9988,
3128,
656,
6280,
16654,
11,
290,
788,
345,
460,
3197,
257,
2318,
8262,
284,
1560,
502,
703,
867,
8985,
1123,
614,
11,
1502,
287,
41988,
416,
262,
262,
1271,
286,
9988,
3128,
13,
46506,
9988,
62,
4475,
11,
327,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
33,
259,
262,
9988,
3128,
656,
6280,
16654,
11,
290,
788,
345,
460,
3197,
257,
2318,
8262,
284,
1560,
502,
703,
867,
8985,
1123,
614,
11,
1502,
287,
41988,
416,
262,
262,
1271,
286,
9988,
3128,
13,
46506,
9988,
62,
4475,
11,
327,
... |
In what year was Yauco, which had over 42,043 people in 2010, founded? | SELECT AVG("Founded") FROM table_65006 WHERE "Municipality" = 'yauco' AND "Population (2010)" > '42,043' | [
818,
644,
614,
373,
575,
559,
1073,
11,
543,
550,
625,
5433,
11,
48768,
661,
287,
3050,
11,
9393,
30,
46506,
35224,
7203,
37,
6302,
4943,
16034,
3084,
62,
2996,
28041,
33411,
366,
44,
9462,
1483,
1,
796,
705,
88,
559,
1073,
6,
535... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
644,
614,
373,
575,
559,
1073,
11,
543,
550,
625,
5433,
11,
48768,
661,
287,
3050,
11,
9393,
30,
46506,
35224,
7203,
37,
6302,
4943,
16034,
3084,
62,
2996,
28041,
33411,
366,
44,
9462,
1483,
1,
796,
705,
88,
559,
1073,
6,
535... |
How many gold medals for the school with less than 1 total? | SELECT COUNT("Gold Medals") FROM table_71152 WHERE "Total Medals" < '1' | [
2437,
867,
3869,
28057,
329,
262,
1524,
351,
1342,
621,
352,
2472,
30,
46506,
327,
28270,
7203,
13306,
42171,
4943,
16034,
3084,
62,
22,
1157,
4309,
33411,
366,
14957,
42171,
1,
1279,
705,
16,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
3869,
28057,
329,
262,
1524,
351,
1342,
621,
352,
2472,
30,
46506,
327,
28270,
7203,
13306,
42171,
4943,
16034,
3084,
62,
22,
1157,
4309,
33411,
366,
14957,
42171,
1,
1279,
705,
16,
6
] |
What was the NBA draft status for Northeast High School? | SELECT "NBA Draft" FROM table_53330 WHERE "School" = 'northeast high school' | [
2061,
373,
262,
7403,
4538,
3722,
329,
26315,
3334,
3961,
30,
46506,
366,
32470,
13650,
1,
16034,
3084,
62,
44994,
1270,
33411,
366,
26130,
1,
796,
705,
77,
419,
9522,
1029,
1524,
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,
373,
262,
7403,
4538,
3722,
329,
26315,
3334,
3961,
30,
46506,
366,
32470,
13650,
1,
16034,
3084,
62,
44994,
1270,
33411,
366,
26130,
1,
796,
705,
77,
419,
9522,
1029,
1524,
6
] |
What is the Saffir-Simpson category for the hurricane named Bonnie? | SELECT saffir_simpson_category FROM table_15416002_1 WHERE name = "Bonnie" | [
2061,
318,
262,
311,
2001,
343,
12,
8890,
8430,
6536,
329,
262,
23964,
3706,
39203,
30,
46506,
473,
487,
343,
62,
14323,
8430,
62,
22872,
16034,
3084,
62,
21526,
1433,
21601,
62,
16,
33411,
1438,
796,
366,
20682,
11952,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
311,
2001,
343,
12,
8890,
8430,
6536,
329,
262,
23964,
3706,
39203,
30,
46506,
473,
487,
343,
62,
14323,
8430,
62,
22872,
16034,
3084,
62,
21526,
1433,
21601,
62,
16,
33411,
1438,
796,
366,
20682,
11952,
1
] |
What is the sum of the total of the player who won in 1979? | SELECT SUM(total) FROM table_name_90 WHERE year_s__won = "1979" | [
2061,
318,
262,
2160,
286,
262,
2472,
286,
262,
2137,
508,
1839,
287,
13521,
30,
46506,
35683,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
3829,
33411,
614,
62,
82,
834,
26502,
796,
366,
33581,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2160,
286,
262,
2472,
286,
262,
2137,
508,
1839,
287,
13521,
30,
46506,
35683,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
3829,
33411,
614,
62,
82,
834,
26502,
796,
366,
33581,
1
] |
Earliest paper published by srinivasan iyer | SELECT DISTINCT paper.paperid, paper.year FROM author, paper, writes WHERE author.authorname = 'srinivasan iyer' AND paper.year = (SELECT MIN(PAPERalias1.year) FROM author AS AUTHORalias1, paper AS PAPERalias1, writes AS WRITESalias1 WHERE AUTHORalias1.authorname = 'srinivasan iyer' AND WRITESalias1.authorid = AUTHORal... | [
8419,
11318,
3348,
3199,
416,
264,
12769,
38630,
272,
1312,
9860,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
11,
3348,
13,
1941,
16034,
1772,
11,
3348,
11,
6797,
33411,
1772,
13,
18439,
1211,
480,
796,
705,
82,
12769,
38630,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8419,
11318,
3348,
3199,
416,
264,
12769,
38630,
272,
1312,
9860,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
11,
3348,
13,
1941,
16034,
1772,
11,
3348,
11,
6797,
33411,
1772,
13,
18439,
1211,
480,
796,
705,
82,
12769,
38630,
... |
What is the Catalog number of the CD Single? | SELECT "Catalog" FROM table_38898 WHERE "Format" = 'cd single' | [
2061,
318,
262,
44515,
1271,
286,
262,
6458,
14206,
30,
46506,
366,
49015,
1,
16034,
3084,
62,
30460,
4089,
33411,
366,
26227,
1,
796,
705,
10210,
2060,
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,
44515,
1271,
286,
262,
6458,
14206,
30,
46506,
366,
49015,
1,
16034,
3084,
62,
30460,
4089,
33411,
366,
26227,
1,
796,
705,
10210,
2060,
6
] |
has patient 18159 been prescribed albuterol 0.083% neb soln, labetalol hcl, or filgrastim in 12/2105. | SELECT COUNT(*) > 0 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 18159) AND prescriptions.drug IN ('albuterol 0.083% neb soln', 'labetalol hcl', 'filgrastim') AND STRFTIME('%y-%m', prescriptions.startdate) = '2105-12' | [
10134,
5827,
1248,
19707,
587,
14798,
435,
4360,
263,
349,
657,
13,
48290,
4,
45508,
1540,
77,
11,
2248,
316,
282,
349,
289,
565,
11,
393,
1226,
2164,
459,
320,
287,
1105,
14,
17,
13348,
13,
46506,
327,
28270,
7,
28104,
1875,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10134,
5827,
1248,
19707,
587,
14798,
435,
4360,
263,
349,
657,
13,
48290,
4,
45508,
1540,
77,
11,
2248,
316,
282,
349,
289,
565,
11,
393,
1226,
2164,
459,
320,
287,
1105,
14,
17,
13348,
13,
46506,
327,
28270,
7,
28104,
1875,
657,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.