instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What was the result under interim head coach, Gary Darnell? | SELECT "Result" FROM table_32713 WHERE "Interim head coach" = 'gary darnell' | [
2061,
373,
262,
1255,
739,
19303,
1182,
3985,
11,
10936,
360,
1501,
695,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
34159,
1485,
33411,
366,
9492,
320,
1182,
3985,
1,
796,
705,
14849,
39189,
695,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1255,
739,
19303,
1182,
3985,
11,
10936,
360,
1501,
695,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
34159,
1485,
33411,
366,
9492,
320,
1182,
3985,
1,
796,
705,
14849,
39189,
695,
6
] |
what is the cheapest fare from WASHINGTON to SAN FRANCISCO leaving on 9 30 | SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day AS DATE_DAY_0, date_day AS DATE_DAY_1, days AS DAYS_0, days AS DAYS_1, fare, fare_basis, flight, flight_fare WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND C... | [
10919,
318,
262,
28918,
14505,
422,
370,
19436,
284,
37376,
8782,
20940,
1797,
8220,
4305,
319,
860,
1542,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
28918,
14505,
422,
370,
19436,
284,
37376,
8782,
20940,
1797,
8220,
4305,
319,
860,
1542,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,... |
What is the expected speed up of the gpu-hmmer application? | SELECT expected_speed_up† FROM table_name_47 WHERE application = "gpu-hmmer" | [
2061,
318,
262,
2938,
2866,
510,
286,
262,
308,
19944,
12,
23940,
647,
3586,
30,
46506,
2938,
62,
12287,
62,
929,
33912,
16034,
3084,
62,
3672,
62,
2857,
33411,
3586,
796,
366,
46999,
12,
23940,
647,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2938,
2866,
510,
286,
262,
308,
19944,
12,
23940,
647,
3586,
30,
46506,
2938,
62,
12287,
62,
929,
33912,
16034,
3084,
62,
3672,
62,
2857,
33411,
3586,
796,
366,
46999,
12,
23940,
647,
1
] |
What county placed t2 and scored 68-69-68-72=277? | SELECT country FROM table_name_95 WHERE place = "t2" AND score = 68 - 69 - 68 - 72 = 277 | [
2061,
7968,
4624,
256,
17,
290,
7781,
8257,
12,
3388,
12,
3104,
12,
4761,
28,
27019,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
3865,
33411,
1295,
796,
366,
83,
17,
1,
5357,
4776,
796,
8257,
532,
8644,
532,
8257,
532,
7724,
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
] | [
2061,
7968,
4624,
256,
17,
290,
7781,
8257,
12,
3388,
12,
3104,
12,
4761,
28,
27019,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
3865,
33411,
1295,
796,
366,
83,
17,
1,
5357,
4776,
796,
8257,
532,
8644,
532,
8257,
532,
7724,
796,
... |
What camera has the highest Mpix with an aspect ratio of 2:1, a height less than 1536, and a width smaller than 2048? | SELECT MAX("Mpix") FROM table_15399 WHERE "Aspect Ratio" = '2:1' AND "Height" < '1536' AND "Width" < '2048' | [
2061,
4676,
468,
262,
4511,
337,
79,
844,
351,
281,
4843,
8064,
286,
362,
25,
16,
11,
257,
6001,
1342,
621,
1315,
2623,
11,
290,
257,
9647,
4833,
621,
36117,
30,
46506,
25882,
7203,
28861,
844,
4943,
16034,
3084,
62,
21395,
2079,
33... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4676,
468,
262,
4511,
337,
79,
844,
351,
281,
4843,
8064,
286,
362,
25,
16,
11,
257,
6001,
1342,
621,
1315,
2623,
11,
290,
257,
9647,
4833,
621,
36117,
30,
46506,
25882,
7203,
28861,
844,
4943,
16034,
3084,
62,
21395,
2079,
33... |
Average round for 22 pick that is overall smaller than 229? | SELECT AVG("Round") FROM table_50452 WHERE "Pick" = '22' AND "Overall" < '229' | [
26287,
2835,
329,
2534,
2298,
326,
318,
4045,
4833,
621,
31064,
30,
46506,
35224,
7203,
22685,
4943,
16034,
3084,
62,
1120,
37730,
33411,
366,
31686,
1,
796,
705,
1828,
6,
5357,
366,
16350,
1,
1279,
705,
23539,
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
] | [
26287,
2835,
329,
2534,
2298,
326,
318,
4045,
4833,
621,
31064,
30,
46506,
35224,
7203,
22685,
4943,
16034,
3084,
62,
1120,
37730,
33411,
366,
31686,
1,
796,
705,
1828,
6,
5357,
366,
16350,
1,
1279,
705,
23539,
6
] |
What is the highest pos for a driver with 1 podium? | SELECT MAX("Pos") FROM table_22620 WHERE "Podiums" = '1' | [
2061,
318,
262,
4511,
1426,
329,
257,
4639,
351,
352,
27941,
30,
46506,
25882,
7203,
21604,
4943,
16034,
3084,
62,
24909,
1238,
33411,
366,
47,
12664,
82,
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
] | [
2061,
318,
262,
4511,
1426,
329,
257,
4639,
351,
352,
27941,
30,
46506,
25882,
7203,
21604,
4943,
16034,
3084,
62,
24909,
1238,
33411,
366,
47,
12664,
82,
1,
796,
705,
16,
6
] |
When was the match that had Shaun Murphy as runner-up? | SELECT "Date" FROM table_78602 WHERE "Runner-up" = 'shaun murphy' | [
2215,
373,
262,
2872,
326,
550,
35188,
14424,
355,
17490,
12,
929,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3695,
31418,
33411,
366,
49493,
12,
929,
1,
796,
705,
1477,
1942,
4636,
6883,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
373,
262,
2872,
326,
550,
35188,
14424,
355,
17490,
12,
929,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3695,
31418,
33411,
366,
49493,
12,
929,
1,
796,
705,
1477,
1942,
4636,
6883,
6
] |
find out the average age of elective admission patients who stayed in the hospital for 16 days. | SELECT AVG(demographic.age) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.days_stay = "16" | [
19796,
503,
262,
2811,
2479,
286,
1742,
425,
13938,
3871,
508,
9658,
287,
262,
4436,
329,
1467,
1528,
13,
46506,
35224,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
36,
16779,
9306,
1,
53... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
19796,
503,
262,
2811,
2479,
286,
1742,
425,
13938,
3871,
508,
9658,
287,
262,
4436,
329,
1467,
1528,
13,
46506,
35224,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
36,
16779,
9306,
1,
53... |
In the game where the crowd was 11,327 and the hoem team scored 13.17 (95) How much did the away team score? | SELECT "Away team" FROM table_11517 WHERE "Crowd" > '11,327' AND "Home team score" = '13.17 (95)' | [
818,
262,
983,
810,
262,
4315,
373,
1367,
11,
34159,
290,
262,
8169,
368,
1074,
7781,
1511,
13,
1558,
357,
3865,
8,
1374,
881,
750,
262,
1497,
1074,
4776,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
15363,
1558,
33411,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
818,
262,
983,
810,
262,
4315,
373,
1367,
11,
34159,
290,
262,
8169,
368,
1074,
7781,
1511,
13,
1558,
357,
3865,
8,
1374,
881,
750,
262,
1497,
1074,
4776,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
15363,
1558,
33411,
366,
... |
Bar graph to show the average of high temperature from different day of week, and rank Y-axis in desc order. | SELECT day_of_week, AVG(high_temperature) FROM weekly_weather GROUP BY day_of_week ORDER BY AVG(high_temperature) DESC | [
10374,
4823,
284,
905,
262,
2811,
286,
1029,
5951,
422,
1180,
1110,
286,
1285,
11,
290,
4279,
575,
12,
22704,
287,
1715,
1502,
13,
46506,
1110,
62,
1659,
62,
10464,
11,
35224,
7,
8929,
62,
11498,
21069,
8,
16034,
10273,
62,
23563,
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,
1
] | [
10374,
4823,
284,
905,
262,
2811,
286,
1029,
5951,
422,
1180,
1110,
286,
1285,
11,
290,
4279,
575,
12,
22704,
287,
1715,
1502,
13,
46506,
1110,
62,
1659,
62,
10464,
11,
35224,
7,
8929,
62,
11498,
21069,
8,
16034,
10273,
62,
23563,
4... |
What is the average rank of a mountain range located in Maine? | SELECT AVG("Rank") FROM table_14896 WHERE "State" = 'maine' | [
2061,
318,
262,
2811,
4279,
286,
257,
8598,
2837,
5140,
287,
15080,
30,
46506,
35224,
7203,
27520,
4943,
16034,
3084,
62,
1415,
48712,
33411,
366,
9012,
1,
796,
705,
76,
5718,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
4279,
286,
257,
8598,
2837,
5140,
287,
15080,
30,
46506,
35224,
7203,
27520,
4943,
16034,
3084,
62,
1415,
48712,
33411,
366,
9012,
1,
796,
705,
76,
5718,
6
] |
What date was the record 34-41? | SELECT date FROM table_name_11 WHERE record = "34-41" | [
2061,
3128,
373,
262,
1700,
4974,
12,
3901,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1157,
33411,
1700,
796,
366,
2682,
12,
3901,
1
] | [
1,
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,
373,
262,
1700,
4974,
12,
3901,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1157,
33411,
1700,
796,
366,
2682,
12,
3901,
1
] |
What is every entry for America when Atlantic Europe is Hoxniense? | SELECT america FROM table_22860_1 WHERE atlantic_europe = "Hoxniense" | [
2061,
318,
790,
5726,
329,
2253,
618,
10596,
2031,
318,
367,
1140,
8461,
1072,
30,
46506,
45630,
64,
16034,
3084,
62,
23815,
1899,
62,
16,
33411,
379,
75,
5109,
62,
44252,
431,
796,
366,
39,
1140,
8461,
1072,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
790,
5726,
329,
2253,
618,
10596,
2031,
318,
367,
1140,
8461,
1072,
30,
46506,
45630,
64,
16034,
3084,
62,
23815,
1899,
62,
16,
33411,
379,
75,
5109,
62,
44252,
431,
796,
366,
39,
1140,
8461,
1072,
1
] |
tell me what the top four most common output events during the previous year were. | SELECT d_items.label FROM d_items WHERE d_items.itemid IN (SELECT t1.itemid FROM (SELECT outputevents.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM outputevents WHERE DATETIME(outputevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY outputevents.itemid) AS... | [
33331,
502,
644,
262,
1353,
1440,
749,
2219,
5072,
2995,
1141,
262,
2180,
614,
547,
13,
46506,
288,
62,
23814,
13,
18242,
16034,
288,
62,
23814,
33411,
288,
62,
23814,
13,
9186,
312,
3268,
357,
46506,
256,
16,
13,
9186,
312,
16034,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
33331,
502,
644,
262,
1353,
1440,
749,
2219,
5072,
2995,
1141,
262,
2180,
614,
547,
13,
46506,
288,
62,
23814,
13,
18242,
16034,
288,
62,
23814,
33411,
288,
62,
23814,
13,
9186,
312,
3268,
357,
46506,
256,
16,
13,
9186,
312,
16034,
... |
Which Compression ratio has a (none) DX 10 Name and a FOURCC of dxt4? | SELECT "Compression ratio" FROM table_39144 WHERE "DX 10 Name" = '(none)' AND "FOURCC" = 'dxt4' | [
13828,
3082,
2234,
8064,
468,
257,
357,
23108,
8,
19393,
838,
6530,
290,
257,
376,
11698,
4093,
286,
288,
742,
19,
30,
46506,
366,
7293,
2234,
8064,
1,
16034,
3084,
62,
2670,
18444,
33411,
366,
36227,
838,
6530,
1,
796,
29513,
23108,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3082,
2234,
8064,
468,
257,
357,
23108,
8,
19393,
838,
6530,
290,
257,
376,
11698,
4093,
286,
288,
742,
19,
30,
46506,
366,
7293,
2234,
8064,
1,
16034,
3084,
62,
2670,
18444,
33411,
366,
36227,
838,
6530,
1,
796,
29513,
23108,
... |
Which Numbers (Quantity Ordered) have a Fuel Propulsion of cng, and a Year smaller than 2008, and a Make/ Model of nabi 40-lfw? | SELECT numbers__quantity_ordered_ FROM table_name_96 WHERE fuel_propulsion = "cng" AND year < 2008 AND make__model = "nabi 40-lfw" | [
13828,
27797,
357,
31208,
14230,
1068,
8,
423,
257,
25483,
8772,
15204,
286,
269,
782,
11,
290,
257,
6280,
4833,
621,
3648,
11,
290,
257,
6889,
14,
9104,
286,
299,
17914,
2319,
12,
1652,
86,
30,
46506,
3146,
834,
40972,
414,
62,
240... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
27797,
357,
31208,
14230,
1068,
8,
423,
257,
25483,
8772,
15204,
286,
269,
782,
11,
290,
257,
6280,
4833,
621,
3648,
11,
290,
257,
6889,
14,
9104,
286,
299,
17914,
2319,
12,
1652,
86,
30,
46506,
3146,
834,
40972,
414,
62,
240... |
What is the value of match points when the points for is 570? | SELECT "Match points" FROM table_74627 WHERE "Points against" = '570' | [
2061,
318,
262,
1988,
286,
2872,
2173,
618,
262,
2173,
329,
318,
44626,
30,
46506,
366,
23850,
2173,
1,
16034,
3084,
62,
22,
3510,
1983,
33411,
366,
40710,
1028,
1,
796,
705,
39254,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1988,
286,
2872,
2173,
618,
262,
2173,
329,
318,
44626,
30,
46506,
366,
23850,
2173,
1,
16034,
3084,
62,
22,
3510,
1983,
33411,
366,
40710,
1028,
1,
796,
705,
39254,
6
] |
What Decile has State Authority and Raumati South Area? | SELECT "Decile" FROM table_71027 WHERE "Authority" = 'state' AND "Area" = 'raumati south' | [
2061,
4280,
576,
468,
1812,
11416,
290,
7567,
388,
7246,
2520,
9498,
30,
46506,
366,
10707,
576,
1,
16034,
3084,
62,
22,
40403,
33411,
366,
13838,
414,
1,
796,
705,
5219,
6,
5357,
366,
30547,
1,
796,
705,
430,
388,
7246,
5366,
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
] | [
2061,
4280,
576,
468,
1812,
11416,
290,
7567,
388,
7246,
2520,
9498,
30,
46506,
366,
10707,
576,
1,
16034,
3084,
62,
22,
40403,
33411,
366,
13838,
414,
1,
796,
705,
5219,
6,
5357,
366,
30547,
1,
796,
705,
430,
388,
7246,
5366,
6
] |
do you have a 747 that flies from SAN FRANCISCO to BALTIMORE | SELECT DISTINCT flight.flight_id FROM aircraft, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, equipment_sequence, flight WHERE (aircraft.basic_type = '747' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BALTIMORE' AND equipment_se... | [
4598,
345,
423,
257,
45600,
326,
17607,
422,
37376,
8782,
20940,
1797,
8220,
284,
347,
31429,
3955,
1581,
33635,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
6215,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4598,
345,
423,
257,
45600,
326,
17607,
422,
37376,
8782,
20940,
1797,
8220,
284,
347,
31429,
3955,
1581,
33635,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
6215,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27... |
Which Tie is from everton? | SELECT "Tie no" FROM table_76224 WHERE "Home team" = 'everton' | [
13828,
36286,
318,
422,
1683,
1122,
30,
46506,
366,
51,
494,
645,
1,
16034,
3084,
62,
4304,
24137,
33411,
366,
16060,
1074,
1,
796,
705,
964,
1122,
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,
36286,
318,
422,
1683,
1122,
30,
46506,
366,
51,
494,
645,
1,
16034,
3084,
62,
4304,
24137,
33411,
366,
16060,
1074,
1,
796,
705,
964,
1122,
6
] |
what is the latest flight leaving PITTSBURGH returning to DENVER | 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 = 'PITTSBURGH' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DE... | [
10919,
318,
262,
3452,
5474,
4305,
49040,
4694,
38926,
17511,
8024,
284,
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,
9003,
62,
15271... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3452,
5474,
4305,
49040,
4694,
38926,
17511,
8024,
284,
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,
9003,
62,
15271... |
subject has an hba1c between 7 % and 10 % | SELECT * FROM table_train_273 WHERE hba1c >= 7 AND hemoglobin_a1c_hba1c <= 10 | [
32796,
468,
281,
289,
7012,
16,
66,
1022,
767,
4064,
290,
838,
4064,
46506,
1635,
16034,
3084,
62,
27432,
62,
27367,
33411,
289,
7012,
16,
66,
18189,
767,
5357,
16869,
49835,
62,
64,
16,
66,
62,
71,
7012,
16,
66,
19841,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32796,
468,
281,
289,
7012,
16,
66,
1022,
767,
4064,
290,
838,
4064,
46506,
1635,
16034,
3084,
62,
27432,
62,
27367,
33411,
289,
7012,
16,
66,
18189,
767,
5357,
16869,
49835,
62,
64,
16,
66,
62,
71,
7012,
16,
66,
19841,
838
] |
how many times is the name Derek Smith when the round is higher than 3? | SELECT COUNT("Overall") FROM table_44647 WHERE "Name" = 'derek smith' AND "Round" > '3' | [
4919,
867,
1661,
318,
262,
1438,
20893,
4176,
618,
262,
2835,
318,
2440,
621,
513,
30,
46506,
327,
28270,
7203,
16350,
4943,
16034,
3084,
62,
2598,
33981,
33411,
366,
5376,
1,
796,
705,
67,
18238,
895,
342,
6,
5357,
366,
22685,
1,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
318,
262,
1438,
20893,
4176,
618,
262,
2835,
318,
2440,
621,
513,
30,
46506,
327,
28270,
7203,
16350,
4943,
16034,
3084,
62,
2598,
33981,
33411,
366,
5376,
1,
796,
705,
67,
18238,
895,
342,
6,
5357,
366,
22685,
1,
1... |
What age group has a time of 6:37.73 at the 200m breaststroke? | SELECT age_group FROM table_name_75 WHERE event = "200m breaststroke" AND time = "6:37.73" | [
2061,
2479,
1448,
468,
257,
640,
286,
718,
25,
2718,
13,
4790,
379,
262,
939,
76,
9296,
30757,
30,
46506,
2479,
62,
8094,
16034,
3084,
62,
3672,
62,
2425,
33411,
1785,
796,
366,
2167,
76,
9296,
30757,
1,
5357,
640,
796,
366,
21,
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
] | [
2061,
2479,
1448,
468,
257,
640,
286,
718,
25,
2718,
13,
4790,
379,
262,
939,
76,
9296,
30757,
30,
46506,
2479,
62,
8094,
16034,
3084,
62,
3672,
62,
2425,
33411,
1785,
796,
366,
2167,
76,
9296,
30757,
1,
5357,
640,
796,
366,
21,
2... |
If Coba is the song choice, what is the order number? | SELECT "Order #" FROM table_25263 WHERE "Song choice" = 'Coba' | [
1532,
14828,
64,
318,
262,
3496,
3572,
11,
644,
318,
262,
1502,
1271,
30,
46506,
366,
18743,
1303,
1,
16034,
3084,
62,
1495,
29558,
33411,
366,
44241,
3572,
1,
796,
705,
34,
19981,
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
] | [
1532,
14828,
64,
318,
262,
3496,
3572,
11,
644,
318,
262,
1502,
1271,
30,
46506,
366,
18743,
1303,
1,
16034,
3084,
62,
1495,
29558,
33411,
366,
44241,
3572,
1,
796,
705,
34,
19981,
6
] |
What is every location for the date of March 20? | SELECT "Location" FROM table_26115 WHERE "Date" = 'March 20' | [
2061,
318,
790,
4067,
329,
262,
3128,
286,
2805,
1160,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
2075,
15363,
33411,
366,
10430,
1,
796,
705,
16192,
1160,
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,
318,
790,
4067,
329,
262,
3128,
286,
2805,
1160,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
2075,
15363,
33411,
366,
10430,
1,
796,
705,
16192,
1160,
6
] |
What interface is used on the scanner that has a 36 pages per minute? | SELECT interface FROM table_16409745_1 WHERE pages_per_minute__color_ = 36 | [
2061,
7071,
318,
973,
319,
262,
27474,
326,
468,
257,
4570,
5468,
583,
5664,
30,
46506,
7071,
16034,
3084,
62,
1433,
1821,
5607,
2231,
62,
16,
33411,
5468,
62,
525,
62,
11374,
834,
8043,
62,
796,
4570
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7071,
318,
973,
319,
262,
27474,
326,
468,
257,
4570,
5468,
583,
5664,
30,
46506,
7071,
16034,
3084,
62,
1433,
1821,
5607,
2231,
62,
16,
33411,
5468,
62,
525,
62,
11374,
834,
8043,
62,
796,
4570
] |
What was the score for the To par of +1? | SELECT "Score" FROM table_49561 WHERE "To par" = '+1' | [
2061,
373,
262,
4776,
329,
262,
1675,
1582,
286,
1343,
16,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2920,
47915,
33411,
366,
2514,
1582,
1,
796,
705,
10,
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
] | [
2061,
373,
262,
4776,
329,
262,
1675,
1582,
286,
1343,
16,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2920,
47915,
33411,
366,
2514,
1582,
1,
796,
705,
10,
16,
6
] |
What was the total rating that had a score higher than 7 and a b score smaller than 8.65? | SELECT SUM("Total") FROM table_79241 WHERE "A Score" > '7' AND "B Score" < '8.65' | [
2061,
373,
262,
2472,
7955,
326,
550,
257,
4776,
2440,
621,
767,
290,
257,
275,
4776,
4833,
621,
807,
13,
2996,
30,
46506,
35683,
7203,
14957,
4943,
16034,
3084,
62,
3720,
28872,
33411,
366,
32,
15178,
1,
1875,
705,
22,
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
] | [
2061,
373,
262,
2472,
7955,
326,
550,
257,
4776,
2440,
621,
767,
290,
257,
275,
4776,
4833,
621,
807,
13,
2996,
30,
46506,
35683,
7203,
14957,
4943,
16034,
3084,
62,
3720,
28872,
33411,
366,
32,
15178,
1,
1875,
705,
22,
6,
5357,
366... |
On what date did James II take a consort? | SELECT became_consort FROM table_name_16 WHERE spouse = "james ii" | [
2202,
644,
3128,
750,
3700,
2873,
1011,
257,
762,
419,
30,
46506,
2627,
62,
5936,
419,
16034,
3084,
62,
3672,
62,
1433,
33411,
16731,
796,
366,
73,
1047,
21065,
1
] | [
1,
1,
1,
1,
1,
1,
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,
750,
3700,
2873,
1011,
257,
762,
419,
30,
46506,
2627,
62,
5936,
419,
16034,
3084,
62,
3672,
62,
1433,
33411,
16731,
796,
366,
73,
1047,
21065,
1
] |
Who was the womens double winner when the womens singles winner was Ding Ning? | SELECT womens_doubles FROM table_28138035_32 WHERE womens_singles = "Ding Ning" | [
8241,
373,
262,
1116,
641,
4274,
8464,
618,
262,
1116,
641,
25287,
8464,
373,
46980,
37400,
30,
46506,
1116,
641,
62,
67,
280,
7689,
16034,
3084,
62,
2078,
1485,
1795,
2327,
62,
2624,
33411,
1116,
641,
62,
12215,
829,
796,
366,
35,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
1116,
641,
4274,
8464,
618,
262,
1116,
641,
25287,
8464,
373,
46980,
37400,
30,
46506,
1116,
641,
62,
67,
280,
7689,
16034,
3084,
62,
2078,
1485,
1795,
2327,
62,
2624,
33411,
1116,
641,
62,
12215,
829,
796,
366,
35,
... |
How many games is collingwood the home side? | SELECT COUNT(crowd) FROM table_name_4 WHERE home_team = "collingwood" | [
2437,
867,
1830,
318,
2927,
278,
3822,
262,
1363,
1735,
30,
46506,
327,
28270,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
19,
33411,
1363,
62,
15097,
796,
366,
26000,
278,
3822,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1830,
318,
2927,
278,
3822,
262,
1363,
1735,
30,
46506,
327,
28270,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
19,
33411,
1363,
62,
15097,
796,
366,
26000,
278,
3822,
1
] |
Who won the tournament for the Atlantic Sun Conference? | SELECT tournament_winner FROM table_24248450_3 WHERE conference = "Atlantic Sun conference" | [
8241,
1839,
262,
7756,
329,
262,
10596,
3825,
8785,
30,
46506,
7756,
62,
39791,
16034,
3084,
62,
1731,
1731,
5705,
1120,
62,
18,
33411,
4495,
796,
366,
41120,
3825,
4495,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
7756,
329,
262,
10596,
3825,
8785,
30,
46506,
7756,
62,
39791,
16034,
3084,
62,
1731,
1731,
5705,
1120,
62,
18,
33411,
4495,
796,
366,
41120,
3825,
4495,
1
] |
Where is Cameron Beckman's rank on the money list? | SELECT "Money list rank" FROM table_4213 WHERE "Player" = 'Cameron Beckman' | [
8496,
318,
10821,
11739,
805,
338,
4279,
319,
262,
1637,
1351,
30,
46506,
366,
26788,
1351,
4279,
1,
16034,
3084,
62,
3682,
1485,
33411,
366,
14140,
1,
796,
705,
34,
41639,
11739,
805,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8496,
318,
10821,
11739,
805,
338,
4279,
319,
262,
1637,
1351,
30,
46506,
366,
26788,
1351,
4279,
1,
16034,
3084,
62,
3682,
1485,
33411,
366,
14140,
1,
796,
705,
34,
41639,
11739,
805,
6
] |
What is the average percentage of total area when the percentage of marine area is more than 39.3 and territorial waters area is less than 2,788,349? | SELECT AVG("Percentage of total area (forEEZ)") FROM table_42101 WHERE "Percentage of marine area (forEEZ)" > '39.3' AND "Area (km\u00b2) Territorial waters" < '2,788,349' | [
2061,
318,
262,
2811,
5873,
286,
2472,
1989,
618,
262,
5873,
286,
16050,
1989,
318,
517,
621,
5014,
13,
18,
290,
22414,
10150,
1989,
318,
1342,
621,
362,
11,
22,
3459,
11,
27371,
30,
46506,
35224,
7203,
31905,
496,
286,
2472,
1989,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5873,
286,
2472,
1989,
618,
262,
5873,
286,
16050,
1989,
318,
517,
621,
5014,
13,
18,
290,
22414,
10150,
1989,
318,
1342,
621,
362,
11,
22,
3459,
11,
27371,
30,
46506,
35224,
7203,
31905,
496,
286,
2472,
1989,
... |
Is wireless combo keyboard and mouse support part of the hub base class? | SELECT hub_base_class FROM table_1153898_1 WHERE comparisons = "Wireless Combo keyboard and mouse support" | [
3792,
12521,
14831,
10586,
290,
10211,
1104,
636,
286,
262,
12575,
2779,
1398,
30,
46506,
12575,
62,
8692,
62,
4871,
16034,
3084,
62,
15363,
2548,
4089,
62,
16,
33411,
17909,
796,
366,
29451,
1203,
34257,
10586,
290,
10211,
1104,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3792,
12521,
14831,
10586,
290,
10211,
1104,
636,
286,
262,
12575,
2779,
1398,
30,
46506,
12575,
62,
8692,
62,
4871,
16034,
3084,
62,
15363,
2548,
4089,
62,
16,
33411,
17909,
796,
366,
29451,
1203,
34257,
10586,
290,
10211,
1104,
1
] |
find questions posted on a date. | SELECT Id AS "post_link", CreationDate FROM Posts WHERE CreationDate >= '02.07.2018' AND CreationDate <= '02.08.2018' | [
19796,
2683,
4481,
319,
257,
3128,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
21582,
10430,
16034,
12043,
33411,
21582,
10430,
18189,
705,
2999,
13,
2998,
13,
7908,
6,
5357,
21582,
10430,
19841,
705,
2999,
13,
2919,
13,
7908,
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
] | [
19796,
2683,
4481,
319,
257,
3128,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
21582,
10430,
16034,
12043,
33411,
21582,
10430,
18189,
705,
2999,
13,
2998,
13,
7908,
6,
5357,
21582,
10430,
19841,
705,
2999,
13,
2919,
13,
7908,
6
] |
what was the score previous to the benin opponent ? | SELECT "score" FROM table_203_504 WHERE "date" < (SELECT "date" FROM table_203_504 WHERE "opponent" = 'benin') ORDER BY "date" DESC LIMIT 1 | [
10919,
373,
262,
4776,
2180,
284,
262,
1888,
259,
6125,
5633,
46506,
366,
26675,
1,
16034,
3084,
62,
22416,
62,
33580,
33411,
366,
4475,
1,
1279,
357,
46506,
366,
4475,
1,
16034,
3084,
62,
22416,
62,
33580,
33411,
366,
10365,
3471,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4776,
2180,
284,
262,
1888,
259,
6125,
5633,
46506,
366,
26675,
1,
16034,
3084,
62,
22416,
62,
33580,
33411,
366,
4475,
1,
1279,
357,
46506,
366,
4475,
1,
16034,
3084,
62,
22416,
62,
33580,
33411,
366,
10365,
3471,
1,... |
Is MEDCHEM 533 available for me in the Spring-Summer ? | SELECT COUNT(*) > 0 FROM (SELECT course_id FROM student_record WHERE earn_credit = 'Y' AND student_id = 1) AS DERIVED_TABLEalias0, course AS COURSEalias0, course_offering AS COURSE_OFFERINGalias0, semester AS SEMESTERalias0 WHERE COURSEalias0.course_id = COURSE_OFFERINGalias0.course_id AND NOT COURSEalias0.course_id IN... | [
3792,
26112,
3398,
3620,
642,
2091,
1695,
329,
502,
287,
262,
8225,
12,
33560,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
357,
46506,
1781,
62,
312,
16034,
3710,
62,
22105,
33411,
5160,
62,
43082,
796,
705,
56,
6,
5357,
3710... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3792,
26112,
3398,
3620,
642,
2091,
1695,
329,
502,
287,
262,
8225,
12,
33560,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
357,
46506,
1781,
62,
312,
16034,
3710,
62,
22105,
33411,
5160,
62,
43082,
796,
705,
56,
6,
5357,
3710... |
find a transcontinental flight on AA from BOSTON to SAN FRANCISCO that makes a stopover in 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, flight, flight_stop WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND CI... | [
19796,
257,
1007,
35415,
5474,
319,
15923,
422,
347,
10892,
1340,
284,
37376,
8782,
20940,
1797,
8220,
326,
1838,
257,
2245,
2502,
287,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
19796,
257,
1007,
35415,
5474,
319,
15923,
422,
347,
10892,
1340,
284,
37376,
8782,
20940,
1797,
8220,
326,
1838,
257,
2245,
2502,
287,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
70... |
give me the number of patients whose ethnicity is american indian/alaska native and admission year is less than 2144? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND demographic.admityear < "2144" | [
26535,
502,
262,
1271,
286,
3871,
3025,
26289,
318,
45630,
272,
773,
666,
14,
282,
8480,
6868,
290,
13938,
614,
318,
1342,
621,
362,
18444,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
3871,
3025,
26289,
318,
45630,
272,
773,
666,
14,
282,
8480,
6868,
290,
13938,
614,
318,
1342,
621,
362,
18444,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... |
What is the lowest value for 1990, when the Region is East Asia (10 Economies), and when 1960 has a value less than 12.6? | SELECT MIN(1990) FROM table_name_54 WHERE region = "east asia (10 economies)" AND 1960 < 12.6 | [
2061,
318,
262,
9016,
1988,
329,
6303,
11,
618,
262,
17718,
318,
3687,
7229,
357,
940,
6683,
444,
828,
290,
618,
9507,
468,
257,
1988,
1342,
621,
1105,
13,
21,
30,
46506,
20625,
7,
19891,
8,
16034,
3084,
62,
3672,
62,
4051,
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
] | [
2061,
318,
262,
9016,
1988,
329,
6303,
11,
618,
262,
17718,
318,
3687,
7229,
357,
940,
6683,
444,
828,
290,
618,
9507,
468,
257,
1988,
1342,
621,
1105,
13,
21,
30,
46506,
20625,
7,
19891,
8,
16034,
3084,
62,
3672,
62,
4051,
33411,
... |
What is the City / State, when Series is ATCC Round 3? | SELECT "City / State" FROM table_9363 WHERE "Series" = 'atcc round 3' | [
2061,
318,
262,
2254,
1220,
1812,
11,
618,
7171,
318,
5161,
4093,
10485,
513,
30,
46506,
366,
14941,
1220,
1812,
1,
16034,
3084,
62,
24,
35447,
33411,
366,
27996,
1,
796,
705,
265,
535,
2835,
513,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2254,
1220,
1812,
11,
618,
7171,
318,
5161,
4093,
10485,
513,
30,
46506,
366,
14941,
1220,
1812,
1,
16034,
3084,
62,
24,
35447,
33411,
366,
27996,
1,
796,
705,
265,
535,
2835,
513,
6
] |
What is the train name of the rail with a daily frequency and a destination of Rajgir? | SELECT "Train Name" FROM table_37383 WHERE "Frequency (inbound/outbound)" = 'daily' AND "Destination" = 'rajgir' | [
2061,
318,
262,
4512,
1438,
286,
262,
6787,
351,
257,
4445,
8373,
290,
257,
10965,
286,
13308,
70,
343,
30,
46506,
366,
44077,
6530,
1,
16034,
3084,
62,
2718,
34741,
33411,
366,
37,
28707,
357,
259,
7784,
14,
448,
7784,
16725,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4512,
1438,
286,
262,
6787,
351,
257,
4445,
8373,
290,
257,
10965,
286,
13308,
70,
343,
30,
46506,
366,
44077,
6530,
1,
16034,
3084,
62,
2718,
34741,
33411,
366,
37,
28707,
357,
259,
7784,
14,
448,
7784,
16725,
796,
... |
which team did the most laps according to this chart ? | SELECT "team" FROM table_203_366 ORDER BY "laps" DESC LIMIT 1 | [
4758,
1074,
750,
262,
749,
24590,
1864,
284,
428,
8262,
5633,
46506,
366,
15097,
1,
16034,
3084,
62,
22416,
62,
32459,
38678,
11050,
366,
75,
1686,
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,
1,
1
] | [
4758,
1074,
750,
262,
749,
24590,
1864,
284,
428,
8262,
5633,
46506,
366,
15097,
1,
16034,
3084,
62,
22416,
62,
32459,
38678,
11050,
366,
75,
1686,
1,
22196,
34,
27564,
2043,
352
] |
What was the number of season number entries that had US Viewers of 12.30 million? | SELECT COUNT("Season no.") FROM table_24601 WHERE "U.S. Viewers (millions)" = '12.30' | [
2061,
373,
262,
1271,
286,
1622,
1271,
12784,
326,
550,
1294,
3582,
364,
286,
1105,
13,
1270,
1510,
30,
46506,
327,
28270,
7203,
18960,
645,
19570,
16034,
3084,
62,
26912,
486,
33411,
366,
52,
13,
50,
13,
3582,
364,
357,
17805,
507,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1271,
286,
1622,
1271,
12784,
326,
550,
1294,
3582,
364,
286,
1105,
13,
1270,
1510,
30,
46506,
327,
28270,
7203,
18960,
645,
19570,
16034,
3084,
62,
26912,
486,
33411,
366,
52,
13,
50,
13,
3582,
364,
357,
17805,
507,
... |
Just give me a histogram that X is the details of the organization and the Y-axis is the number of things they own, show by the x-axis in desc. | SELECT organization_details, COUNT(organization_details) FROM Things AS T1 JOIN Organizations AS T2 ON T1.organization_id = T2.organization_id GROUP BY organization_details ORDER BY organization_details DESC | [
5703,
1577,
502,
257,
1554,
21857,
326,
1395,
318,
262,
3307,
286,
262,
4009,
290,
262,
575,
12,
22704,
318,
262,
1271,
286,
1243,
484,
898,
11,
905,
416,
262,
2124,
12,
22704,
287,
1715,
13,
46506,
4009,
62,
36604,
11,
327,
28270,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5703,
1577,
502,
257,
1554,
21857,
326,
1395,
318,
262,
3307,
286,
262,
4009,
290,
262,
575,
12,
22704,
318,
262,
1271,
286,
1243,
484,
898,
11,
905,
416,
262,
2124,
12,
22704,
287,
1715,
13,
46506,
4009,
62,
36604,
11,
327,
28270,
... |
Year-to-year ratio of single-word-requests questions. | SELECT YEAR(p.CreationDate), SUM(CASE WHEN NOT t.Id IS NULL THEN 1 ELSE 0 END) / CAST(COUNT(p.Id) AS FLOAT) AS "ratio of id requests" FROM Posts AS p JOIN PostTags AS pt ON pt.PostId = p.Id LEFT OUTER JOIN Tags AS t ON t.Id = pt.TagId AND t.TagName = 'single-word-requests' WHERE p.PostTypeId = 1 GROUP BY YEAR(p.Creatio... | [
17688,
12,
1462,
12,
1941,
8064,
286,
2060,
12,
4775,
12,
8897,
3558,
2683,
13,
46506,
32914,
7,
79,
13,
12443,
341,
10430,
828,
35683,
7,
34,
11159,
42099,
5626,
256,
13,
7390,
3180,
15697,
42243,
352,
17852,
5188,
657,
23578,
8,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
17688,
12,
1462,
12,
1941,
8064,
286,
2060,
12,
4775,
12,
8897,
3558,
2683,
13,
46506,
32914,
7,
79,
13,
12443,
341,
10430,
828,
35683,
7,
34,
11159,
42099,
5626,
256,
13,
7390,
3180,
15697,
42243,
352,
17852,
5188,
657,
23578,
8,
1... |
What date has 2:59 as the time? | SELECT "Date" FROM table_39167 WHERE "Time" = '2:59' | [
2061,
3128,
468,
362,
25,
3270,
355,
262,
640,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2670,
21940,
33411,
366,
7575,
1,
796,
705,
17,
25,
3270,
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,
3128,
468,
362,
25,
3270,
355,
262,
640,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2670,
21940,
33411,
366,
7575,
1,
796,
705,
17,
25,
3270,
6
] |
major depression in past 12 months ( dsm _ iv criteria ) , major mental illness such as schizophrenia, or recent ( in past 12 months ) alcohol or substance abuse. | SELECT * FROM table_train_123 WHERE major_depression = 1 OR (major_mental_illness = 1 OR schizophrenia = 1 OR alcohol_abuse = 1 OR substance_dependence = 1) | [
22478,
8862,
287,
1613,
1105,
1933,
357,
288,
5796,
4808,
21628,
9987,
1267,
837,
1688,
5110,
8526,
884,
355,
22794,
11,
393,
2274,
357,
287,
1613,
1105,
1933,
1267,
5548,
393,
9136,
5076,
13,
46506,
1635,
16034,
3084,
62,
27432,
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... | [
22478,
8862,
287,
1613,
1105,
1933,
357,
288,
5796,
4808,
21628,
9987,
1267,
837,
1688,
5110,
8526,
884,
355,
22794,
11,
393,
2274,
357,
287,
1613,
1105,
1933,
1267,
5548,
393,
9136,
5076,
13,
46506,
1635,
16034,
3084,
62,
27432,
62,
... |
Which team drafted a player from HC Slavia Praha (Czechoslovakia)? | SELECT nhl_team FROM table_2850912_10 WHERE college_junior_club_team = "HC Slavia Praha (Czechoslovakia)" | [
13828,
1074,
15937,
257,
2137,
422,
27327,
34314,
544,
21127,
3099,
357,
34,
15356,
50005,
21897,
19427,
46506,
299,
18519,
62,
15097,
16034,
3084,
62,
2078,
29022,
1065,
62,
940,
33411,
4152,
62,
29741,
1504,
62,
18664,
62,
15097,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1074,
15937,
257,
2137,
422,
27327,
34314,
544,
21127,
3099,
357,
34,
15356,
50005,
21897,
19427,
46506,
299,
18519,
62,
15097,
16034,
3084,
62,
2078,
29022,
1065,
62,
940,
33411,
4152,
62,
29741,
1504,
62,
18664,
62,
15097,
796,
... |
calculate the number of patients diagnosed with cerebral subdural hematoma - secondary to trauma during this year. | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'cerebral subdural hematoma - secondary to trauma' AND DATETIME(diagnosis.diagnosistime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year'... | [
9948,
3129,
378,
262,
1271,
286,
3871,
14641,
351,
31169,
850,
67,
1523,
339,
6759,
6086,
532,
9233,
284,
14649,
1141,
428,
614,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
3871,
14641,
351,
31169,
850,
67,
1523,
339,
6759,
6086,
532,
9233,
284,
14649,
1141,
428,
614,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5... |
What is the location for the win against Johan Mparmpagiannis? | SELECT "Location" FROM table_54174 WHERE "Result" = 'win' AND "Opponent" = 'johan mparmpagiannis' | [
2061,
318,
262,
4067,
329,
262,
1592,
1028,
16053,
272,
337,
79,
1670,
79,
363,
666,
21361,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
4051,
22985,
33411,
366,
23004,
1,
796,
705,
5404,
6,
5357,
366,
27524,
3471,
1,
796,
705,
73,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4067,
329,
262,
1592,
1028,
16053,
272,
337,
79,
1670,
79,
363,
666,
21361,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
4051,
22985,
33411,
366,
23004,
1,
796,
705,
5404,
6,
5357,
366,
27524,
3471,
1,
796,
705,
73,
... |
What is the English title of the film Directed by Jayme Monjardim? | SELECT "English title" FROM table_38922 WHERE "Director" = 'jayme monjardim' | [
2061,
318,
262,
3594,
3670,
286,
262,
2646,
4128,
276,
416,
9180,
1326,
2892,
73,
446,
320,
30,
46506,
366,
15823,
3670,
1,
16034,
3084,
62,
29769,
1828,
33411,
366,
28702,
1,
796,
705,
33708,
1326,
937,
73,
446,
320,
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,
3594,
3670,
286,
262,
2646,
4128,
276,
416,
9180,
1326,
2892,
73,
446,
320,
30,
46506,
366,
15823,
3670,
1,
16034,
3084,
62,
29769,
1828,
33411,
366,
28702,
1,
796,
705,
33708,
1326,
937,
73,
446,
320,
6
] |
What is Pos., when Player is 'Nigel De Jong'? | SELECT pos FROM table_name_33 WHERE player = "nigel de jong" | [
2061,
318,
18574,
1539,
618,
7853,
318,
705,
45,
47709,
1024,
17960,
30960,
46506,
1426,
16034,
3084,
62,
3672,
62,
2091,
33411,
2137,
796,
366,
77,
47709,
390,
474,
506,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
18574,
1539,
618,
7853,
318,
705,
45,
47709,
1024,
17960,
30960,
46506,
1426,
16034,
3084,
62,
3672,
62,
2091,
33411,
2137,
796,
366,
77,
47709,
390,
474,
506,
1
] |
Who were the candidates when Noah M. Mason was incumbent? | SELECT candidates FROM table_1342249_13 WHERE incumbent = "Noah M. Mason" | [
8241,
547,
262,
5871,
618,
18394,
337,
13,
14737,
373,
23526,
30,
46506,
5871,
16034,
3084,
62,
1485,
3682,
21626,
62,
1485,
33411,
23526,
796,
366,
2949,
993,
337,
13,
14737,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
547,
262,
5871,
618,
18394,
337,
13,
14737,
373,
23526,
30,
46506,
5871,
16034,
3084,
62,
1485,
3682,
21626,
62,
1485,
33411,
23526,
796,
366,
2949,
993,
337,
13,
14737,
1
] |
what is the drug patient 64136 was prescribed for within 2 days after being diagnosed with chr pulmon heart dis nec when they visited the hospital last time? | SELECT t2.drug FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE admissions.subject_id = 64136 AND diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'chr pu... | [
10919,
318,
262,
2563,
5827,
5598,
20809,
373,
14798,
329,
1626,
362,
1528,
706,
852,
14641,
351,
442,
81,
17472,
2144,
2612,
595,
27576,
618,
484,
8672,
262,
4436,
938,
640,
30,
46506,
256,
17,
13,
30349,
16034,
357,
46506,
25349,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
2563,
5827,
5598,
20809,
373,
14798,
329,
1626,
362,
1528,
706,
852,
14641,
351,
442,
81,
17472,
2144,
2612,
595,
27576,
618,
484,
8672,
262,
4436,
938,
640,
30,
46506,
256,
17,
13,
30349,
16034,
357,
46506,
25349,
13... |
What bran is the callsign dytc-fm? | SELECT branding FROM table_2610582_7 WHERE callsign = "DYTC-FM" | [
2061,
865,
272,
318,
262,
3848,
570,
20268,
23047,
12,
38353,
30,
46506,
24150,
16034,
3084,
62,
2075,
940,
46044,
62,
22,
33411,
3848,
570,
796,
366,
35,
56,
4825,
12,
23264,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
865,
272,
318,
262,
3848,
570,
20268,
23047,
12,
38353,
30,
46506,
24150,
16034,
3084,
62,
2075,
940,
46044,
62,
22,
33411,
3848,
570,
796,
366,
35,
56,
4825,
12,
23264,
1
] |
provide the number of patients whose primary disease is gastrointestinal bleed and days of hospital stay is greater than 2? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "GASTROINTESTINAL BLEED" AND demographic.days_stay > "2" | [
15234,
485,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
40887,
30182,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
362,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
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... | [
15234,
485,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
40887,
30182,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
362,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
4735... |
Who's the wrestler with an elimination of 1? | SELECT wrestler FROM table_name_6 WHERE elimination = "1" | [
8241,
338,
262,
34845,
351,
281,
21472,
286,
352,
30,
46506,
34845,
16034,
3084,
62,
3672,
62,
21,
33411,
21472,
796,
366,
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
] | [
8241,
338,
262,
34845,
351,
281,
21472,
286,
352,
30,
46506,
34845,
16034,
3084,
62,
3672,
62,
21,
33411,
21472,
796,
366,
16,
1
] |
hba1c < 10 % | SELECT * FROM table_dev_10 WHERE hba1c < 10 | [
71,
7012,
16,
66,
1279,
838,
4064,
46506,
1635,
16034,
3084,
62,
7959,
62,
940,
33411,
289,
7012,
16,
66,
1279,
838
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
71,
7012,
16,
66,
1279,
838,
4064,
46506,
1635,
16034,
3084,
62,
7959,
62,
940,
33411,
289,
7012,
16,
66,
1279,
838
] |
what is the total number of patients admitted to emergency who had a hospital stay of more than 14 days? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "EMERGENCY" AND demographic.days_stay > "14" | [
10919,
318,
262,
2472,
1271,
286,
3871,
6848,
284,
6334,
508,
550,
257,
4436,
2652,
286,
517,
621,
1478,
1528,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3871,
6848,
284,
6334,
508,
550,
257,
4436,
2652,
286,
517,
621,
1478,
1528,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
... |
give me the number of patients whose admission location is emergency room admit and drug code is prav10? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_location = "EMERGENCY ROOM ADMIT" AND prescriptions.formulary_drug_cd = "PRAV10" | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
6334,
2119,
9159,
290,
2563,
2438,
318,
279,
4108,
940,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
6334,
2119,
9159,
290,
2563,
2438,
318,
279,
4108,
940,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34... |
count the number of patients whose age is less than 62 and lab test category is blood gas? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "62" AND lab."CATEGORY" = "Blood Gas" | [
9127,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
8190,
290,
2248,
1332,
6536,
318,
2910,
3623,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
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,
3025,
2479,
318,
1342,
621,
8190,
290,
2248,
1332,
6536,
318,
2910,
3623,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16... |
What is the total grid with laps less than 2? | SELECT SUM(grid) FROM table_name_78 WHERE laps < 2 | [
2061,
318,
262,
2472,
10706,
351,
24590,
1342,
621,
362,
30,
46506,
35683,
7,
25928,
8,
16034,
3084,
62,
3672,
62,
3695,
33411,
24590,
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,
1
] | [
2061,
318,
262,
2472,
10706,
351,
24590,
1342,
621,
362,
30,
46506,
35683,
7,
25928,
8,
16034,
3084,
62,
3672,
62,
3695,
33411,
24590,
1279,
362
] |
What is Coverage (Transmitter Site), when Power (kW) is '10kW', and when Callsign is 'DYFX-TV'? | SELECT coverage__transmitter_site_ FROM table_name_69 WHERE power__kw_ = "10kw" AND callsign = "dyfx-tv" | [
2061,
318,
33998,
357,
8291,
37974,
14413,
828,
618,
4333,
357,
74,
54,
8,
318,
705,
940,
74,
54,
3256,
290,
618,
4889,
12683,
318,
705,
35,
56,
17213,
12,
6849,
30960,
46506,
5197,
834,
7645,
37974,
62,
15654,
62,
16034,
3084,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
33998,
357,
8291,
37974,
14413,
828,
618,
4333,
357,
74,
54,
8,
318,
705,
940,
74,
54,
3256,
290,
618,
4889,
12683,
318,
705,
35,
56,
17213,
12,
6849,
30960,
46506,
5197,
834,
7645,
37974,
62,
15654,
62,
16034,
3084,
62,
... |
What was the home team score at junction oval? | SELECT "Home team score" FROM table_58064 WHERE "Venue" = 'junction oval' | [
2061,
373,
262,
1363,
1074,
4776,
379,
35037,
41186,
30,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
39322,
2414,
33411,
366,
37522,
518,
1,
796,
705,
73,
4575,
41186,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1363,
1074,
4776,
379,
35037,
41186,
30,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
39322,
2414,
33411,
366,
37522,
518,
1,
796,
705,
73,
4575,
41186,
6
] |
What was the highest number of wins for any team? | SELECT MAX(wins) FROM table_18018214_3 | [
2061,
373,
262,
4511,
1271,
286,
7864,
329,
597,
1074,
30,
46506,
25882,
7,
86,
1040,
8,
16034,
3084,
62,
1507,
486,
6469,
1415,
62,
18
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4511,
1271,
286,
7864,
329,
597,
1074,
30,
46506,
25882,
7,
86,
1040,
8,
16034,
3084,
62,
1507,
486,
6469,
1415,
62,
18
] |
What's the original title of the nomination title, 'brecha en el silencio'? | SELECT "Original title" FROM table_60579 WHERE "Film title used in nomination" = 'brecha en el silencio' | [
2061,
338,
262,
2656,
3670,
286,
262,
11872,
3670,
11,
705,
4679,
11693,
551,
1288,
3313,
12685,
952,
30960,
46506,
366,
20556,
3670,
1,
16034,
3084,
62,
1899,
41734,
33411,
366,
39750,
3670,
973,
287,
11872,
1,
796,
705,
4679,
11693,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2656,
3670,
286,
262,
11872,
3670,
11,
705,
4679,
11693,
551,
1288,
3313,
12685,
952,
30960,
46506,
366,
20556,
3670,
1,
16034,
3084,
62,
1899,
41734,
33411,
366,
39750,
3670,
973,
287,
11872,
1,
796,
705,
4679,
11693,
... |
in this month, have gabapentin 300 mg po caps, potassium chloride 20 meq ud liq or amiodarone hcl 900 mg/18ml iv soln been prescribed for patient 016-18575? | SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-18575')) AND medication.drugname IN ('gabapentin 300 mg po caps', 'pot... | [
259,
428,
1227,
11,
423,
308,
397,
499,
31371,
5867,
10527,
745,
11022,
11,
33156,
44921,
1160,
502,
80,
334,
67,
7649,
80,
393,
716,
2101,
283,
505,
289,
565,
15897,
10527,
14,
1507,
4029,
21628,
1540,
77,
587,
14798,
329,
5827,
55... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
259,
428,
1227,
11,
423,
308,
397,
499,
31371,
5867,
10527,
745,
11022,
11,
33156,
44921,
1160,
502,
80,
334,
67,
7649,
80,
393,
716,
2101,
283,
505,
289,
565,
15897,
10527,
14,
1507,
4029,
21628,
1540,
77,
587,
14798,
329,
5827,
55... |
What is the score at the 2010 FIFA World Cup Qualification that results in a win? | SELECT "Score" FROM table_47022 WHERE "Competition" = '2010 fifa world cup qualification' AND "Result" = 'win' | [
2061,
318,
262,
4776,
379,
262,
3050,
21285,
2159,
5454,
9537,
2649,
326,
2482,
287,
257,
1592,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
27790,
1828,
33411,
366,
7293,
15620,
1,
796,
705,
10333,
5515,
64,
995,
6508,
28587,
6,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4776,
379,
262,
3050,
21285,
2159,
5454,
9537,
2649,
326,
2482,
287,
257,
1592,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
27790,
1828,
33411,
366,
7293,
15620,
1,
796,
705,
10333,
5515,
64,
995,
6508,
28587,
6,
5357,
... |
What was the Opponents in Final during the match with a Score in Final of 6 4, 3 6, 5 7? | SELECT "Opponents in Final" FROM table_5003 WHERE "Score in Final" = '6–4, 3–6, 5–7' | [
2061,
373,
262,
9385,
3906,
287,
8125,
1141,
262,
2872,
351,
257,
15178,
287,
8125,
286,
718,
604,
11,
513,
718,
11,
642,
767,
30,
46506,
366,
27524,
3906,
287,
8125,
1,
16034,
3084,
62,
4059,
18,
33411,
366,
26595,
287,
8125,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9385,
3906,
287,
8125,
1141,
262,
2872,
351,
257,
15178,
287,
8125,
286,
718,
604,
11,
513,
718,
11,
642,
767,
30,
46506,
366,
27524,
3906,
287,
8125,
1,
16034,
3084,
62,
4059,
18,
33411,
366,
26595,
287,
8125,
1,
... |
What year was stage 8 reached? | SELECT year FROM table_name_54 WHERE stages = "8" | [
2061,
614,
373,
3800,
807,
4251,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
4051,
33411,
9539,
796,
366,
23,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
614,
373,
3800,
807,
4251,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
4051,
33411,
9539,
796,
366,
23,
1
] |
what is the right ascension (j2000) when the ngc number is 3576? | SELECT "Right ascension ( J2000 )" FROM table_58455 WHERE "NGC number" = '3576' | [
10919,
318,
262,
826,
10570,
3004,
357,
73,
11024,
8,
618,
262,
23370,
66,
1271,
318,
3439,
4304,
30,
46506,
366,
11028,
10570,
3004,
357,
449,
11024,
1267,
1,
16034,
3084,
62,
3365,
30505,
33411,
366,
10503,
34,
1271,
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
] | [
10919,
318,
262,
826,
10570,
3004,
357,
73,
11024,
8,
618,
262,
23370,
66,
1271,
318,
3439,
4304,
30,
46506,
366,
11028,
10570,
3004,
357,
449,
11024,
1267,
1,
16034,
3084,
62,
3365,
30505,
33411,
366,
10503,
34,
1271,
1,
796,
705,
... |
Return a bar chart on what is the total revenue of each manufacturer? | SELECT Name, SUM(Revenue) FROM Manufacturers GROUP BY Name | [
13615,
257,
2318,
8262,
319,
644,
318,
262,
2472,
6426,
286,
1123,
11554,
30,
46506,
6530,
11,
35683,
7,
3041,
4080,
8,
16034,
17858,
17496,
44441,
11050,
6530
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13615,
257,
2318,
8262,
319,
644,
318,
262,
2472,
6426,
286,
1123,
11554,
30,
46506,
6530,
11,
35683,
7,
3041,
4080,
8,
16034,
17858,
17496,
44441,
11050,
6530
] |
what is patient 62977's first visit to the hospital in 2101? | SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 62977 AND STRFTIME('%y', admissions.admittime) = '2101' ORDER BY admissions.admittime LIMIT 1 | [
10919,
318,
5827,
718,
1959,
3324,
338,
717,
3187,
284,
262,
4436,
287,
2310,
486,
30,
46506,
25349,
13,
324,
20124,
524,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
718,
1959,
3324,
5357,
19269,
9792,
12789,
10786,
4,
88,
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
] | [
10919,
318,
5827,
718,
1959,
3324,
338,
717,
3187,
284,
262,
4436,
287,
2310,
486,
30,
46506,
25349,
13,
324,
20124,
524,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
718,
1959,
3324,
5357,
19269,
9792,
12789,
10786,
4,
88,
32... |
who had the high rebounds when the team was @ toronto? | SELECT high_rebounds FROM table_name_9 WHERE team = "@ toronto" | [
8727,
550,
262,
1029,
18841,
618,
262,
1074,
373,
2488,
7332,
5957,
30,
46506,
1029,
62,
34806,
3733,
16034,
3084,
62,
3672,
62,
24,
33411,
1074,
796,
44212,
7332,
5957,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
550,
262,
1029,
18841,
618,
262,
1074,
373,
2488,
7332,
5957,
30,
46506,
1029,
62,
34806,
3733,
16034,
3084,
62,
3672,
62,
24,
33411,
1074,
796,
44212,
7332,
5957,
1
] |
Who was the writer of episode 15? | SELECT "Writer(s)" FROM table_28118 WHERE "Season #" = '15' | [
8241,
373,
262,
6260,
286,
4471,
1315,
30,
46506,
366,
34379,
7,
82,
16725,
16034,
3084,
62,
2078,
16817,
33411,
366,
18960,
1303,
1,
796,
705,
1314,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
6260,
286,
4471,
1315,
30,
46506,
366,
34379,
7,
82,
16725,
16034,
3084,
62,
2078,
16817,
33411,
366,
18960,
1303,
1,
796,
705,
1314,
6
] |
Name the date for score l 89 91 (ot) | SELECT "Date" FROM table_21461 WHERE "Score" = 'L 89–91 (OT)' | [
5376,
262,
3128,
329,
4776,
300,
9919,
10495,
357,
313,
8,
46506,
366,
10430,
1,
16034,
3084,
62,
22291,
5333,
33411,
366,
26595,
1,
796,
705,
43,
9919,
1906,
6420,
357,
2394,
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
] | [
5376,
262,
3128,
329,
4776,
300,
9919,
10495,
357,
313,
8,
46506,
366,
10430,
1,
16034,
3084,
62,
22291,
5333,
33411,
366,
26595,
1,
796,
705,
43,
9919,
1906,
6420,
357,
2394,
33047
] |
In which district is the incumbent a republican first elected in 1998? | SELECT "District" FROM table_62132 WHERE "Party" = 'republican' AND "First elected" = '1998' | [
818,
543,
4783,
318,
262,
23526,
257,
41477,
717,
7018,
287,
7795,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
5237,
19924,
33411,
366,
33553,
1,
796,
705,
7856,
841,
272,
6,
5357,
366,
5962,
7018,
1,
796,
705,
21113,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
543,
4783,
318,
262,
23526,
257,
41477,
717,
7018,
287,
7795,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
5237,
19924,
33411,
366,
33553,
1,
796,
705,
7856,
841,
272,
6,
5357,
366,
5962,
7018,
1,
796,
705,
21113,
6
] |
What was the number of the game against Charlotte? | SELECT SUM(game) FROM table_name_63 WHERE team = "charlotte" | [
2061,
373,
262,
1271,
286,
262,
983,
1028,
14685,
30,
46506,
35683,
7,
6057,
8,
16034,
3084,
62,
3672,
62,
5066,
33411,
1074,
796,
366,
354,
7063,
11404,
1
] | [
1,
1,
1,
1,
1,
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,
1271,
286,
262,
983,
1028,
14685,
30,
46506,
35683,
7,
6057,
8,
16034,
3084,
62,
3672,
62,
5066,
33411,
1074,
796,
366,
354,
7063,
11404,
1
] |
Which school was in Toronto in 2001-02? | SELECT school_club_team FROM table_10015132_14 WHERE years_in_toronto = "2001-02" | [
13828,
1524,
373,
287,
6586,
287,
5878,
12,
2999,
30,
46506,
1524,
62,
18664,
62,
15097,
16034,
3084,
62,
3064,
1314,
19924,
62,
1415,
33411,
812,
62,
259,
62,
13165,
5957,
796,
366,
14585,
12,
2999,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1524,
373,
287,
6586,
287,
5878,
12,
2999,
30,
46506,
1524,
62,
18664,
62,
15097,
16034,
3084,
62,
3064,
1314,
19924,
62,
1415,
33411,
812,
62,
259,
62,
13165,
5957,
796,
366,
14585,
12,
2999,
1
] |
On how many different dates was event 1 Suspension Bridge? | SELECT COUNT("Air Date") FROM table_21433 WHERE "Event 1" = 'Suspension Bridge' | [
2202,
703,
867,
1180,
9667,
373,
1785,
352,
31922,
3004,
10290,
30,
46506,
327,
28270,
7203,
16170,
7536,
4943,
16034,
3084,
62,
22291,
2091,
33411,
366,
9237,
352,
1,
796,
705,
50,
17723,
3004,
10290,
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
] | [
2202,
703,
867,
1180,
9667,
373,
1785,
352,
31922,
3004,
10290,
30,
46506,
327,
28270,
7203,
16170,
7536,
4943,
16034,
3084,
62,
22291,
2091,
33411,
366,
9237,
352,
1,
796,
705,
50,
17723,
3004,
10290,
6
] |
Which Date has an Away team score of 16.13 (109)? | SELECT "Date" FROM table_51888 WHERE "Away team score" = '16.13 (109)' | [
13828,
7536,
468,
281,
21986,
1074,
4776,
286,
1467,
13,
1485,
357,
14454,
19427,
46506,
366,
10430,
1,
16034,
3084,
62,
44085,
3459,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1433,
13,
1485,
357,
14454,
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
] | [
13828,
7536,
468,
281,
21986,
1074,
4776,
286,
1467,
13,
1485,
357,
14454,
19427,
46506,
366,
10430,
1,
16034,
3084,
62,
44085,
3459,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1433,
13,
1485,
357,
14454,
33047
] |
in 2100, what are the five most commonly given procedures for patients with 30s? | SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age B... | [
259,
38123,
11,
644,
389,
262,
1936,
749,
8811,
1813,
9021,
329,
3871,
351,
1542,
82,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
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... | [
259,
38123,
11,
644,
389,
262,
1936,
749,
8811,
1813,
9021,
329,
3871,
351,
1542,
82,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
62... |
What is every value on Thursday August 25 for rank 3? | SELECT thurs_25_aug FROM table_30058355_3 WHERE rank = 3 | [
2061,
318,
790,
1988,
319,
3635,
2932,
1679,
329,
4279,
513,
30,
46506,
294,
1834,
62,
1495,
62,
7493,
16034,
3084,
62,
6200,
3365,
28567,
62,
18,
33411,
4279,
796,
513
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
790,
1988,
319,
3635,
2932,
1679,
329,
4279,
513,
30,
46506,
294,
1834,
62,
1495,
62,
7493,
16034,
3084,
62,
6200,
3365,
28567,
62,
18,
33411,
4279,
796,
513
] |
give me the short title of diagnoses for diagnoses icd9 code e9301. | SELECT diagnoses.short_title FROM diagnoses WHERE diagnoses.icd9_code = "E9301" | [
26535,
502,
262,
1790,
3670,
286,
40567,
329,
40567,
14158,
67,
24,
2438,
304,
6052,
486,
13,
46506,
40567,
13,
19509,
62,
7839,
16034,
40567,
33411,
40567,
13,
291,
67,
24,
62,
8189,
796,
366,
36,
6052,
486,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1790,
3670,
286,
40567,
329,
40567,
14158,
67,
24,
2438,
304,
6052,
486,
13,
46506,
40567,
13,
19509,
62,
7839,
16034,
40567,
33411,
40567,
13,
291,
67,
24,
62,
8189,
796,
366,
36,
6052,
486,
1
] |
What provinces were formed from New Munster? | SELECT province FROM table_275023_1 WHERE formed_from = "New Munster" | [
2061,
17812,
547,
7042,
422,
968,
12107,
1706,
30,
46506,
8473,
16034,
3084,
62,
1983,
1120,
1954,
62,
16,
33411,
7042,
62,
6738,
796,
366,
3791,
12107,
1706,
1
] | [
1,
1,
1,
1,
1,
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,
17812,
547,
7042,
422,
968,
12107,
1706,
30,
46506,
8473,
16034,
3084,
62,
1983,
1120,
1954,
62,
16,
33411,
7042,
62,
6738,
796,
366,
3791,
12107,
1706,
1
] |
When did the duchess, who was married to philippe, die? | SELECT death FROM table_name_56 WHERE spouse = "philippe" | [
2215,
750,
262,
288,
1229,
33979,
11,
508,
373,
6405,
284,
872,
8908,
68,
11,
4656,
30,
46506,
1918,
16034,
3084,
62,
3672,
62,
3980,
33411,
16731,
796,
366,
746,
8908,
68,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
750,
262,
288,
1229,
33979,
11,
508,
373,
6405,
284,
872,
8908,
68,
11,
4656,
30,
46506,
1918,
16034,
3084,
62,
3672,
62,
3980,
33411,
16731,
796,
366,
746,
8908,
68,
1
] |
what is average age of patients whose primary disease is cerebral aneurysm/sda and age is greater than or equal to 54? | SELECT AVG(demographic.age) FROM demographic WHERE demographic.diagnosis = "CEREBRAL ANEURYSM/SDA" AND demographic.age >= "54" | [
10919,
318,
2811,
2479,
286,
3871,
3025,
4165,
4369,
318,
31169,
281,
23365,
893,
76,
14,
82,
6814,
290,
2479,
318,
3744,
621,
393,
4961,
284,
7175,
30,
46506,
35224,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
47356,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
2479,
286,
3871,
3025,
4165,
4369,
318,
31169,
281,
23365,
893,
76,
14,
82,
6814,
290,
2479,
318,
3744,
621,
393,
4961,
284,
7175,
30,
46506,
35224,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
47356,
... |
How many different sizes (in acres) are noted for Rathcoola East? | SELECT COUNT(area__acres__) FROM table_30120566_1 WHERE townland = "Rathcoola East" | [
2437,
867,
1180,
10620,
357,
259,
16051,
8,
389,
4367,
329,
26494,
66,
10513,
3687,
30,
46506,
327,
28270,
7,
20337,
834,
330,
411,
834,
8,
16034,
3084,
62,
18938,
21261,
2791,
62,
16,
33411,
3240,
1044,
796,
366,
49,
776,
66,
10513... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10620,
357,
259,
16051,
8,
389,
4367,
329,
26494,
66,
10513,
3687,
30,
46506,
327,
28270,
7,
20337,
834,
330,
411,
834,
8,
16034,
3084,
62,
18938,
21261,
2791,
62,
16,
33411,
3240,
1044,
796,
366,
49,
776,
66,
10513... |
what's the pts with team being kopron team scot | SELECT "Pts" FROM table_19144 WHERE "Team" = 'Kopron Team Scot' | [
10919,
338,
262,
43344,
351,
1074,
852,
479,
404,
1313,
1074,
629,
313,
46506,
366,
47,
912,
1,
16034,
3084,
62,
1129,
18444,
33411,
366,
15592,
1,
796,
705,
42,
404,
1313,
4816,
7130,
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,
338,
262,
43344,
351,
1074,
852,
479,
404,
1313,
1074,
629,
313,
46506,
366,
47,
912,
1,
16034,
3084,
62,
1129,
18444,
33411,
366,
15592,
1,
796,
705,
42,
404,
1313,
4816,
7130,
6
] |
For all employees who have the letters D or S in their first name, give me the comparison about the amount of job_id over the job_id , and group by attribute job_id, and sort in asc by the the number of job id please. | SELECT JOB_ID, COUNT(JOB_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY COUNT(JOB_ID) | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1577,
502,
262,
7208,
546,
262,
2033,
286,
1693,
62,
312,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
3297,
287,
10570,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1577,
502,
262,
7208,
546,
262,
2033,
286,
1693,
62,
312,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
3297,
287,
10570,... |
With a Type of 4-6-4t, what is the sum Withdrawn? | SELECT SUM(withdrawn) FROM table_name_43 WHERE type = "4-6-4t" | [
3152,
257,
5994,
286,
604,
12,
21,
12,
19,
83,
11,
644,
318,
262,
2160,
2080,
41549,
30,
46506,
35683,
7,
4480,
41549,
8,
16034,
3084,
62,
3672,
62,
3559,
33411,
2099,
796,
366,
19,
12,
21,
12,
19,
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
] | [
3152,
257,
5994,
286,
604,
12,
21,
12,
19,
83,
11,
644,
318,
262,
2160,
2080,
41549,
30,
46506,
35683,
7,
4480,
41549,
8,
16034,
3084,
62,
3672,
62,
3559,
33411,
2099,
796,
366,
19,
12,
21,
12,
19,
83,
1
] |
For all employees who have the letters D or S in their first name, visualize a bar chart about the distribution of job_id and the average of department_id , and group by attribute job_id, and display in desc by the bar. | SELECT JOB_ID, AVG(DEPARTMENT_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY JOB_ID DESC | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2811,
286,
5011,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
3359... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1693,
62,
312,
290,
262,
2811,
286,
5011,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
3359... |
top 50 users in dhaka Bangladesh. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%dhaka%' OR LOWER(Location) LIKE '%bangladesh%' OR UPPER(Location) LIKE '%bd' ORDER BY Reputation DESC LIMIT 50 | [
4852,
2026,
2985,
287,
34590,
8130,
19483,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
16034,
18987,
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... | [
4852,
2026,
2985,
287,
34590,
8130,
19483,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
16034,
18987,
33411,
... |
Avg/G smaller than 225.5, and a GP-GS of 8 0 has what name? | SELECT "Name" FROM table_79999 WHERE "Avg/G" < '225.5' AND "GP-GS" = '8–0' | [
48997,
14,
38,
4833,
621,
18500,
13,
20,
11,
290,
257,
14714,
12,
14313,
286,
807,
657,
468,
644,
1438,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
22,
24214,
33411,
366,
48997,
14,
38,
1,
1279,
705,
18182,
13,
20,
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
] | [
48997,
14,
38,
4833,
621,
18500,
13,
20,
11,
290,
257,
14714,
12,
14313,
286,
807,
657,
468,
644,
1438,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
22,
24214,
33411,
366,
48997,
14,
38,
1,
1279,
705,
18182,
13,
20,
6,
5357,
366,
1... |
What other courses , besides 129 , does Prof. Ruth Caston teach ? | SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.number <> 129 AND instructor.name LIKE '%Ruth Caston%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_i... | [
2061,
584,
10902,
837,
13769,
20248,
837,
857,
4415,
13,
22132,
5833,
261,
4545,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
584,
10902,
837,
13769,
20248,
837,
857,
4415,
13,
22132,
5833,
261,
4545,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,... |
What are the lowest points with a Chassis of zakspeed 841, and a Year smaller than 1985? | SELECT MIN("Points") FROM table_67621 WHERE "Chassis" = 'zakspeed 841' AND "Year" < '1985' | [
2061,
389,
262,
9016,
2173,
351,
257,
609,
20297,
286,
1976,
461,
12287,
807,
3901,
11,
290,
257,
6280,
4833,
621,
12863,
30,
46506,
20625,
7203,
40710,
4943,
16034,
3084,
62,
42548,
2481,
33411,
366,
1925,
20297,
1,
796,
705,
89,
461... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9016,
2173,
351,
257,
609,
20297,
286,
1976,
461,
12287,
807,
3901,
11,
290,
257,
6280,
4833,
621,
12863,
30,
46506,
20625,
7203,
40710,
4943,
16034,
3084,
62,
42548,
2481,
33411,
366,
1925,
20297,
1,
796,
705,
89,
461... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.