instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
tag used in questions with the highest average score, excluding tags used in less than 5 questions. | SELECT COUNT(*) AS num, AVG(PT.Score), TagName FROM (SELECT * FROM (SELECT Score, Id FROM Posts WHERE PostTypeId = 1) AS P JOIN PostTags ON P.Id = PostTags.PostId) AS PT JOIN Tags ON PT.TagId = Tags.Id GROUP BY TagName HAVING COUNT(*) >= 5 ORDER BY AVG(PT.Score) DESC | [
12985,
973,
287,
2683,
351,
262,
4511,
2811,
4776,
11,
23494,
15940,
973,
287,
1342,
621,
642,
2683,
13,
46506,
327,
28270,
7,
28104,
7054,
997,
11,
35224,
7,
11571,
13,
26595,
828,
17467,
5376,
16034,
357,
46506,
1635,
16034,
357,
46... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12985,
973,
287,
2683,
351,
262,
4511,
2811,
4776,
11,
23494,
15940,
973,
287,
1342,
621,
642,
2683,
13,
46506,
327,
28270,
7,
28104,
7054,
997,
11,
35224,
7,
11571,
13,
26595,
828,
17467,
5376,
16034,
357,
46506,
1635,
16034,
357,
46... |
What is the total if 44 is tosses/pyramids? | SELECT total FROM table_22014431_3 WHERE tosses_pyramids = "44" | [
2061,
318,
262,
2472,
611,
5846,
318,
12153,
274,
14,
9078,
43591,
30,
46506,
2472,
16034,
3084,
62,
17,
1264,
2598,
3132,
62,
18,
33411,
12153,
274,
62,
9078,
43591,
796,
366,
2598,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
611,
5846,
318,
12153,
274,
14,
9078,
43591,
30,
46506,
2472,
16034,
3084,
62,
17,
1264,
2598,
3132,
62,
18,
33411,
12153,
274,
62,
9078,
43591,
796,
366,
2598,
1
] |
Which Player has a height of 6-10, and went to College at LSU? | SELECT player FROM table_name_66 WHERE height = "6-10" AND college = "lsu" | [
13828,
7853,
468,
257,
6001,
286,
718,
12,
940,
11,
290,
1816,
284,
5535,
379,
28078,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
2791,
33411,
6001,
796,
366,
21,
12,
940,
1,
5357,
4152,
796,
366,
75,
2385,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7853,
468,
257,
6001,
286,
718,
12,
940,
11,
290,
1816,
284,
5535,
379,
28078,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
2791,
33411,
6001,
796,
366,
21,
12,
940,
1,
5357,
4152,
796,
366,
75,
2385,
1
] |
what are the number of years maine has participated ? | SELECT "years participated" FROM table_203_502 WHERE "team" = 'maine' | [
10919,
389,
262,
1271,
286,
812,
1388,
68,
468,
14888,
5633,
46506,
366,
19002,
14888,
1,
16034,
3084,
62,
22416,
62,
35126,
33411,
366,
15097,
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
] | [
10919,
389,
262,
1271,
286,
812,
1388,
68,
468,
14888,
5633,
46506,
366,
19002,
14888,
1,
16034,
3084,
62,
22416,
62,
35126,
33411,
366,
15097,
1,
796,
705,
76,
5718,
6
] |
please tell me the flights between BOSTON and PHILADELPHIA next thursday | 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 = 'PHILADELPHIA' AND date_day.day_number = 24 AND date_day.month_number = 5 ... | [
29688,
1560,
502,
262,
13956,
1022,
347,
10892,
1340,
290,
9370,
4146,
2885,
3698,
11909,
3539,
1306,
294,
3479,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
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,
1... | [
29688,
1560,
502,
262,
13956,
1022,
347,
10892,
1340,
290,
9370,
4146,
2885,
3698,
11909,
3539,
1306,
294,
3479,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
1... |
What Game has a Location of Philadelphia Spectrum and a Date of April 1? | SELECT "Game" FROM table_35195 WHERE "Location" = 'philadelphia spectrum' AND "Date" = 'april 1' | [
2061,
3776,
468,
257,
13397,
286,
8857,
27217,
290,
257,
7536,
286,
3035,
352,
30,
46506,
366,
8777,
1,
16034,
3084,
62,
2327,
22186,
33411,
366,
14749,
1,
796,
705,
28864,
8273,
10958,
6,
5357,
366,
10430,
1,
796,
705,
499,
22379,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3776,
468,
257,
13397,
286,
8857,
27217,
290,
257,
7536,
286,
3035,
352,
30,
46506,
366,
8777,
1,
16034,
3084,
62,
2327,
22186,
33411,
366,
14749,
1,
796,
705,
28864,
8273,
10958,
6,
5357,
366,
10430,
1,
796,
705,
499,
22379,
... |
What position has a pick less than 20? | SELECT position FROM table_name_2 WHERE pick < 20 | [
2061,
2292,
468,
257,
2298,
1342,
621,
1160,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
17,
33411,
2298,
1279,
1160
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2292,
468,
257,
2298,
1342,
621,
1160,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
17,
33411,
2298,
1279,
1160
] |
What is listed in reward when the finish is listed at 13th voted out 6th jury Member Day 43? | SELECT "Reward" FROM table_30715 WHERE "Finish" = '13th Voted Out 6th Jury Member Day 43' | [
2061,
318,
5610,
287,
6721,
618,
262,
5461,
318,
5610,
379,
1511,
400,
7052,
503,
718,
400,
9002,
10239,
3596,
5946,
30,
46506,
366,
48123,
1,
16034,
3084,
62,
22996,
1314,
33411,
366,
48658,
1,
796,
705,
1485,
400,
569,
5191,
3806,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5610,
287,
6721,
618,
262,
5461,
318,
5610,
379,
1511,
400,
7052,
503,
718,
400,
9002,
10239,
3596,
5946,
30,
46506,
366,
48123,
1,
16034,
3084,
62,
22996,
1314,
33411,
366,
48658,
1,
796,
705,
1485,
400,
569,
5191,
3806,
... |
Who were the builders of the boat designed by Botin Carkeek? | SELECT "Builder" FROM table_23389 WHERE "Design Firm" = 'Botin Carkeek' | [
8241,
547,
262,
31606,
286,
262,
8848,
3562,
416,
18579,
259,
1879,
365,
988,
30,
46506,
366,
32875,
1,
16034,
3084,
62,
1954,
29769,
33411,
366,
23067,
31623,
1,
796,
705,
20630,
259,
1879,
365,
988,
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
] | [
8241,
547,
262,
31606,
286,
262,
8848,
3562,
416,
18579,
259,
1879,
365,
988,
30,
46506,
366,
32875,
1,
16034,
3084,
62,
1954,
29769,
33411,
366,
23067,
31623,
1,
796,
705,
20630,
259,
1879,
365,
988,
6
] |
Who was the manufacturer for the race on grid 12? | SELECT manufacturer FROM table_name_49 WHERE grid = 12 | [
8241,
373,
262,
11554,
329,
262,
3234,
319,
10706,
1105,
30,
46506,
11554,
16034,
3084,
62,
3672,
62,
2920,
33411,
10706,
796,
1105
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
11554,
329,
262,
3234,
319,
10706,
1105,
30,
46506,
11554,
16034,
3084,
62,
3672,
62,
2920,
33411,
10706,
796,
1105
] |
which two destinations were available for less than one year ? | SELECT "city" FROM table_203_323 WHERE "end" - "begin" < 1 | [
4758,
734,
23982,
547,
1695,
329,
1342,
621,
530,
614,
5633,
46506,
366,
19205,
1,
16034,
3084,
62,
22416,
62,
32637,
33411,
366,
437,
1,
532,
366,
27471,
1,
1279,
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
] | [
4758,
734,
23982,
547,
1695,
329,
1342,
621,
530,
614,
5633,
46506,
366,
19205,
1,
16034,
3084,
62,
22416,
62,
32637,
33411,
366,
437,
1,
532,
366,
27471,
1,
1279,
352
] |
What week had an attendance of 14,381? | SELECT AVG("Week") FROM table_33433 WHERE "Attendance" = '14,381' | [
2061,
1285,
550,
281,
14858,
286,
1478,
11,
36626,
30,
46506,
35224,
7203,
20916,
4943,
16034,
3084,
62,
31380,
2091,
33411,
366,
8086,
437,
590,
1,
796,
705,
1415,
11,
36626,
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,
1285,
550,
281,
14858,
286,
1478,
11,
36626,
30,
46506,
35224,
7203,
20916,
4943,
16034,
3084,
62,
31380,
2091,
33411,
366,
8086,
437,
590,
1,
796,
705,
1415,
11,
36626,
6
] |
What is the player who is lb and cfl team is saskatchewan roughriders? | SELECT player FROM table_10975034_5 WHERE position = "LB" AND cfl_team = "Saskatchewan Roughriders" | [
2061,
318,
262,
2137,
508,
318,
18360,
290,
269,
2704,
1074,
318,
264,
2093,
29736,
5210,
81,
4157,
30,
46506,
2137,
16034,
3084,
62,
940,
5607,
1120,
2682,
62,
20,
33411,
2292,
796,
366,
30501,
1,
5357,
269,
2704,
62,
15097,
796,
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
] | [
2061,
318,
262,
2137,
508,
318,
18360,
290,
269,
2704,
1074,
318,
264,
2093,
29736,
5210,
81,
4157,
30,
46506,
2137,
16034,
3084,
62,
940,
5607,
1120,
2682,
62,
20,
33411,
2292,
796,
366,
30501,
1,
5357,
269,
2704,
62,
15097,
796,
3... |
What are the minutes of the Player from Real Madrid Club with a Rank of 7 or larger? | SELECT SUM("minutes") FROM table_78586 WHERE "Rank" > '7' AND "Club" = 'real madrid' | [
2061,
389,
262,
2431,
286,
262,
7853,
422,
6416,
14708,
6289,
351,
257,
10916,
286,
767,
393,
4025,
30,
46506,
35683,
7203,
1084,
1769,
4943,
16034,
3084,
62,
3695,
29796,
33411,
366,
27520,
1,
1875,
705,
22,
6,
5357,
366,
42350,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2431,
286,
262,
7853,
422,
6416,
14708,
6289,
351,
257,
10916,
286,
767,
393,
4025,
30,
46506,
35683,
7203,
1084,
1769,
4943,
16034,
3084,
62,
3695,
29796,
33411,
366,
27520,
1,
1875,
705,
22,
6,
5357,
366,
42350,
1,
... |
how many people attended the 2000 animeiowa ? | SELECT "2000 attendance" FROM table_204_991 WHERE "name" = 'animeiowa' | [
4919,
867,
661,
9141,
262,
4751,
11984,
72,
8455,
5633,
46506,
366,
11024,
14858,
1,
16034,
3084,
62,
18638,
62,
2079,
16,
33411,
366,
3672,
1,
796,
705,
272,
45519,
8455,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
661,
9141,
262,
4751,
11984,
72,
8455,
5633,
46506,
366,
11024,
14858,
1,
16034,
3084,
62,
18638,
62,
2079,
16,
33411,
366,
3672,
1,
796,
705,
272,
45519,
8455,
6
] |
who held the fastes lap in Phoenix, Arizona? | SELECT fastest_lap FROM table_2454550_1 WHERE location = "Phoenix, Arizona" | [
8727,
2714,
262,
3049,
274,
14779,
287,
9643,
11,
7943,
30,
46506,
14162,
62,
37796,
16034,
3084,
62,
22995,
2231,
1120,
62,
16,
33411,
4067,
796,
366,
36422,
11,
7943,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
2714,
262,
3049,
274,
14779,
287,
9643,
11,
7943,
30,
46506,
14162,
62,
37796,
16034,
3084,
62,
22995,
2231,
1120,
62,
16,
33411,
4067,
796,
366,
36422,
11,
7943,
1
] |
What is Injured, when Date is '09.15 Sep. 15'? | SELECT injured FROM table_name_98 WHERE date = "09.15 sep. 15" | [
2061,
318,
554,
38608,
11,
618,
7536,
318,
705,
2931,
13,
1314,
8621,
13,
1315,
30960,
46506,
6686,
16034,
3084,
62,
3672,
62,
4089,
33411,
3128,
796,
366,
2931,
13,
1314,
41767,
13,
1315,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
554,
38608,
11,
618,
7536,
318,
705,
2931,
13,
1314,
8621,
13,
1315,
30960,
46506,
6686,
16034,
3084,
62,
3672,
62,
4089,
33411,
3128,
796,
366,
2931,
13,
1314,
41767,
13,
1315,
1
] |
what is the time/retired when the laps is less than 4? | SELECT "Time/Retired" FROM table_55467 WHERE "Laps" < '4' | [
10919,
318,
262,
640,
14,
1186,
1202,
618,
262,
24590,
318,
1342,
621,
604,
30,
46506,
366,
7575,
14,
9781,
1202,
1,
16034,
3084,
62,
2816,
24669,
33411,
366,
43,
1686,
1,
1279,
705,
19,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
640,
14,
1186,
1202,
618,
262,
24590,
318,
1342,
621,
604,
30,
46506,
366,
7575,
14,
9781,
1202,
1,
16034,
3084,
62,
2816,
24669,
33411,
366,
43,
1686,
1,
1279,
705,
19,
6
] |
how many hours has it been since the first time patient 015-23047 was diagnosed with a pneumonia - aspiration during the current hospital encounter? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', diagnosis.diagnosistime)) FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-23047... | [
4919,
867,
2250,
468,
340,
587,
1201,
262,
717,
640,
5827,
5534,
20,
12,
19214,
2857,
373,
14641,
351,
257,
35647,
532,
48217,
1141,
262,
1459,
4436,
8791,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
2250,
468,
340,
587,
1201,
262,
717,
640,
5827,
5534,
20,
12,
19214,
2857,
373,
14641,
351,
257,
35647,
532,
48217,
1141,
262,
1459,
4436,
8791,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237... |
Show the ids of all the faculty members who participate in an activity and advise a student. | SELECT facid FROM faculty_participates_in INTERSECT SELECT advisor FROM student | [
15307,
262,
220,
2340,
286,
477,
262,
12829,
1866,
508,
8277,
287,
281,
3842,
290,
18595,
257,
3710,
13,
46506,
1777,
312,
16034,
12829,
62,
48013,
689,
62,
259,
17828,
4877,
9782,
33493,
20685,
16034,
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
] | [
15307,
262,
220,
2340,
286,
477,
262,
12829,
1866,
508,
8277,
287,
281,
3842,
290,
18595,
257,
3710,
13,
46506,
1777,
312,
16034,
12829,
62,
48013,
689,
62,
259,
17828,
4877,
9782,
33493,
20685,
16034,
3710
] |
Is it live or studio before 1983? | SELECT "Live / Studio" FROM table_71109 WHERE "Year" < '1983' | [
3792,
340,
2107,
393,
8034,
878,
13540,
30,
46506,
366,
18947,
1220,
11733,
1,
16034,
3084,
62,
4869,
14454,
33411,
366,
17688,
1,
1279,
705,
29279,
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
] | [
3792,
340,
2107,
393,
8034,
878,
13540,
30,
46506,
366,
18947,
1220,
11733,
1,
16034,
3084,
62,
4869,
14454,
33411,
366,
17688,
1,
1279,
705,
29279,
6
] |
What home has 46 points? | SELECT "Home" FROM table_47743 WHERE "Points" = '46' | [
2061,
1363,
468,
6337,
2173,
30,
46506,
366,
16060,
1,
16034,
3084,
62,
32883,
3559,
33411,
366,
40710,
1,
796,
705,
3510,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1363,
468,
6337,
2173,
30,
46506,
366,
16060,
1,
16034,
3084,
62,
32883,
3559,
33411,
366,
40710,
1,
796,
705,
3510,
6
] |
which country ranks the least ? | SELECT "nationality" FROM table_204_155 ORDER BY "rank" DESC LIMIT 1 | [
4758,
1499,
9803,
262,
1551,
5633,
46506,
366,
14648,
414,
1,
16034,
3084,
62,
18638,
62,
18742,
38678,
11050,
366,
43027,
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
] | [
4758,
1499,
9803,
262,
1551,
5633,
46506,
366,
14648,
414,
1,
16034,
3084,
62,
18638,
62,
18742,
38678,
11050,
366,
43027,
1,
22196,
34,
27564,
2043,
352
] |
Display a pie chart for how many hosts does each nationality have? List the nationality and the count. | SELECT Nationality, COUNT(*) FROM host GROUP BY Nationality | [
23114,
257,
2508,
8262,
329,
703,
867,
11453,
857,
1123,
29835,
423,
30,
7343,
262,
29835,
290,
262,
954,
13,
46506,
2351,
414,
11,
327,
28270,
7,
28104,
16034,
2583,
44441,
11050,
2351,
414
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23114,
257,
2508,
8262,
329,
703,
867,
11453,
857,
1123,
29835,
423,
30,
7343,
262,
29835,
290,
262,
954,
13,
46506,
2351,
414,
11,
327,
28270,
7,
28104,
16034,
2583,
44441,
11050,
2351,
414
] |
Hidden gems: Lowest viewed questions with score 5 or higher. | SELECT Posts.Id AS "post_link", Posts.OwnerUserId AS "user_link", Score, ViewCount, Score * 1000 / ViewCount AS "Score per Thousand Views" FROM Posts WHERE Score >= 5 AND PostTypeId = 1 ORDER BY ViewCount LIMIT 1000 | [
41691,
23685,
25,
7754,
395,
9569,
2683,
351,
4776,
642,
393,
2440,
13,
46506,
12043,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
12043,
13,
42419,
12982,
7390,
7054,
366,
7220,
62,
8726,
1600,
15178,
11,
3582,
12332,
11,
15178,
1635,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
41691,
23685,
25,
7754,
395,
9569,
2683,
351,
4776,
642,
393,
2440,
13,
46506,
12043,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
12043,
13,
42419,
12982,
7390,
7054,
366,
7220,
62,
8726,
1600,
15178,
11,
3582,
12332,
11,
15178,
1635,
... |
Which team has 123 points agaibst the other team? | SELECT "Team" FROM table_46053 WHERE "Points against" = '123' | [
13828,
1074,
468,
17031,
2173,
556,
64,
571,
301,
262,
584,
1074,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
34716,
4310,
33411,
366,
40710,
1028,
1,
796,
705,
10163,
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
] | [
13828,
1074,
468,
17031,
2173,
556,
64,
571,
301,
262,
584,
1074,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
34716,
4310,
33411,
366,
40710,
1028,
1,
796,
705,
10163,
6
] |
What are the highest mbit/s when the dbm is +17.5? | SELECT max_downstream_throughput___mbit_s__ FROM table_2394927_1 WHERE power___dbm__ = "+17.5" | [
2061,
389,
262,
4511,
285,
2545,
14,
82,
618,
262,
288,
20475,
318,
1343,
1558,
13,
20,
30,
46506,
3509,
62,
2902,
5532,
62,
9579,
1996,
17569,
2022,
270,
62,
82,
834,
16034,
3084,
62,
23516,
2920,
1983,
62,
16,
33411,
1176,
17569,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4511,
285,
2545,
14,
82,
618,
262,
288,
20475,
318,
1343,
1558,
13,
20,
30,
46506,
3509,
62,
2902,
5532,
62,
9579,
1996,
17569,
2022,
270,
62,
82,
834,
16034,
3084,
62,
23516,
2920,
1983,
62,
16,
33411,
1176,
17569,
... |
Who was the Driver, when the Chassis was Bugatti T51, and when the Entrant was Automobiles Ettore Bugatti? | SELECT "Driver" FROM table_7680 WHERE "Chassis" = 'bugatti t51' AND "Entrant" = 'automobiles ettore bugatti' | [
8241,
373,
262,
12434,
11,
618,
262,
609,
20297,
373,
15217,
34891,
309,
4349,
11,
290,
618,
262,
7232,
5250,
373,
17406,
36329,
412,
926,
382,
15217,
34891,
30,
46506,
366,
32103,
1,
16034,
3084,
62,
4304,
1795,
33411,
366,
1925,
202... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12434,
11,
618,
262,
609,
20297,
373,
15217,
34891,
309,
4349,
11,
290,
618,
262,
7232,
5250,
373,
17406,
36329,
412,
926,
382,
15217,
34891,
30,
46506,
366,
32103,
1,
16034,
3084,
62,
4304,
1795,
33411,
366,
1925,
202... |
List the episode whose number in the series is 111. | SELECT no_in_season FROM table_11562149_1 WHERE no_in_series = "111" | [
8053,
262,
4471,
3025,
1271,
287,
262,
2168,
318,
13374,
13,
46506,
645,
62,
259,
62,
6230,
16034,
3084,
62,
1157,
43918,
19442,
62,
16,
33411,
645,
62,
259,
62,
25076,
796,
366,
16243,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
262,
4471,
3025,
1271,
287,
262,
2168,
318,
13374,
13,
46506,
645,
62,
259,
62,
6230,
16034,
3084,
62,
1157,
43918,
19442,
62,
16,
33411,
645,
62,
259,
62,
25076,
796,
366,
16243,
1
] |
Users by Badge and Votes. | SELECT ROW_NUMBER() OVER (ORDER BY COUNT(*) DESC) AS rank, Comments.UserId AS "user_link", COUNT(*) AS "Comments", Users.UpVotes AS "UpVotes", Users.DownVotes AS "DownVotes" FROM Comments INNER JOIN Users ON Users.Id = Comments.UserId GROUP BY Comments.UserId, Users.UpVotes, Users.DownVotes ORDER BY Comments DESC LIMIT... | [
14490,
416,
44308,
290,
39584,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
4279,
11,
19502,
13,
12982,
7390,
7054,
366,
7220,
62,
8726,
1600,
327,
28270,
7,
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... | [
14490,
416,
44308,
290,
39584,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
4279,
11,
19502,
13,
12982,
7390,
7054,
366,
7220,
62,
8726,
1600,
327,
28270,
7,
2... |
how many patients whose drug code is lora2i? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.formulary_drug_cd = "LORA2I" | [
4919,
867,
3871,
3025,
2563,
2438,
318,
300,
5799,
17,
72,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3025,
2563,
2438,
318,
300,
5799,
17,
72,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
... |
What are the balances of checking accounts belonging to people with savings balances greater than the average savings balance? | SELECT T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid WHERE T1.name IN (SELECT T1.name FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid WHERE T2.balance > (SELECT AVG(balance) FROM savings)) | [
2061,
389,
262,
25223,
286,
10627,
5504,
16686,
284,
661,
351,
10653,
25223,
3744,
621,
262,
2811,
10653,
5236,
30,
46506,
309,
17,
13,
20427,
16034,
5504,
7054,
309,
16,
32357,
1268,
10627,
7054,
309,
17,
6177,
309,
16,
13,
66,
436,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
25223,
286,
10627,
5504,
16686,
284,
661,
351,
10653,
25223,
3744,
621,
262,
2811,
10653,
5236,
30,
46506,
309,
17,
13,
20427,
16034,
5504,
7054,
309,
16,
32357,
1268,
10627,
7054,
309,
17,
6177,
309,
16,
13,
66,
436,
... |
What's the bulgarian word for January? | SELECT "Bulgarian name" FROM table_6464 WHERE "English name" = 'january' | [
2061,
338,
262,
4807,
70,
3699,
1573,
329,
3269,
30,
46506,
366,
33481,
70,
3699,
1438,
1,
16034,
3084,
62,
2414,
2414,
33411,
366,
15823,
1438,
1,
796,
705,
13881,
2838,
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,
338,
262,
4807,
70,
3699,
1573,
329,
3269,
30,
46506,
366,
33481,
70,
3699,
1438,
1,
16034,
3084,
62,
2414,
2414,
33411,
366,
15823,
1438,
1,
796,
705,
13881,
2838,
6
] |
list flights from HOUSTON to SAN JOSE | 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 = 'HOUSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN JO... | [
4868,
13956,
422,
29068,
41924,
284,
37376,
449,
2640,
33635,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
350... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4868,
13956,
422,
29068,
41924,
284,
37376,
449,
2640,
33635,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
350... |
For those employees who did not have any job in the past, visualize a bar chart about the distribution of hire_date and the average of manager_id bin hire_date by time, and I want to show from low to high by the Y-axis. | SELECT HIRE_DATE, AVG(MANAGER_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY AVG(MANAGER_ID) | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
4706,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
290,
314,
765,
284,
905,
42... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
4706,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
290,
314,
765,
284,
905,
42... |
Which average Against has Drawn of 3, and Points larger than 9, and a Team of portuguesa? | SELECT AVG("Against") FROM table_38951 WHERE "Drawn" = '3' AND "Points" > '9' AND "Team" = 'portuguesa' | [
13828,
2811,
12914,
468,
50061,
286,
513,
11,
290,
11045,
4025,
621,
860,
11,
290,
257,
4816,
286,
2493,
1018,
947,
64,
30,
46506,
35224,
7203,
39276,
4943,
16034,
3084,
62,
2548,
50119,
33411,
366,
35,
5791,
1,
796,
705,
18,
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,
1,
1,
1,
1,
1,
1
] | [
13828,
2811,
12914,
468,
50061,
286,
513,
11,
290,
11045,
4025,
621,
860,
11,
290,
257,
4816,
286,
2493,
1018,
947,
64,
30,
46506,
35224,
7203,
39276,
4943,
16034,
3084,
62,
2548,
50119,
33411,
366,
35,
5791,
1,
796,
705,
18,
6,
535... |
Who did the Raiders play in week 12? | SELECT opponent FROM table_name_25 WHERE week = 12 | [
8241,
750,
262,
16120,
711,
287,
1285,
1105,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
1495,
33411,
1285,
796,
1105
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
750,
262,
16120,
711,
287,
1285,
1105,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
1495,
33411,
1285,
796,
1105
] |
HTTP imgur links (instead of HTTPS). | SELECT CreationDate, Id AS "post_link" FROM Posts WHERE PostTypeId IN (1, 2) AND (Body LIKE '%http://i.stack.imgur.com%' OR Body LIKE '%http://i.imgur.com%') ORDER BY CreationDate DESC LIMIT 1000 | [
40717,
33705,
333,
6117,
357,
38070,
286,
38288,
737,
46506,
21582,
10430,
11,
5121,
7054,
366,
7353,
62,
8726,
1,
16034,
12043,
33411,
2947,
6030,
7390,
3268,
357,
16,
11,
362,
8,
5357,
357,
25842,
34178,
705,
4,
4023,
1378,
72,
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... | [
40717,
33705,
333,
6117,
357,
38070,
286,
38288,
737,
46506,
21582,
10430,
11,
5121,
7054,
366,
7353,
62,
8726,
1,
16034,
12043,
33411,
2947,
6030,
7390,
3268,
357,
16,
11,
362,
8,
5357,
357,
25842,
34178,
705,
4,
4023,
1378,
72,
13,
... |
find the minimum age of patients who were admitted in emergency in or after the year 2175. | SELECT MIN(demographic.age) FROM demographic WHERE demographic.admission_type = "EMERGENCY" AND demographic.admityear >= "2175" | [
19796,
262,
5288,
2479,
286,
3871,
508,
547,
6848,
287,
6334,
287,
393,
706,
262,
614,
362,
17430,
13,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
3620,
49837,
45155,
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,
1,
1
] | [
19796,
262,
5288,
2479,
286,
3871,
508,
547,
6848,
287,
6334,
287,
393,
706,
262,
614,
362,
17430,
13,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
3620,
49837,
45155,
1,
53... |
What was the lowest placement with a final of 23.92? | SELECT MIN("Placement") FROM table_8563 WHERE "Final" = '23.92' | [
2061,
373,
262,
9016,
13127,
351,
257,
2457,
286,
2242,
13,
5892,
30,
46506,
20625,
7203,
3646,
5592,
4943,
16034,
3084,
62,
23,
46572,
33411,
366,
19006,
1,
796,
705,
1954,
13,
5892,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
9016,
13127,
351,
257,
2457,
286,
2242,
13,
5892,
30,
46506,
20625,
7203,
3646,
5592,
4943,
16034,
3084,
62,
23,
46572,
33411,
366,
19006,
1,
796,
705,
1954,
13,
5892,
6
] |
What's the Overall WC points (Rank) for Rank 2? | SELECT "Overall WC points (Rank)" FROM table_35675 WHERE "Rank" = '2' | [
2061,
338,
262,
14674,
28387,
2173,
357,
27520,
8,
329,
10916,
362,
30,
46506,
366,
16350,
28387,
2173,
357,
27520,
16725,
16034,
3084,
62,
32066,
2425,
33411,
366,
27520,
1,
796,
705,
17,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
14674,
28387,
2173,
357,
27520,
8,
329,
10916,
362,
30,
46506,
366,
16350,
28387,
2173,
357,
27520,
16725,
16034,
3084,
62,
32066,
2425,
33411,
366,
27520,
1,
796,
705,
17,
6
] |
How many poles for the Netherlands? | SELECT MAX(poles) FROM table_19487922_1 WHERE country = "Netherlands" | [
2437,
867,
24971,
329,
262,
12671,
30,
46506,
25882,
7,
79,
4316,
8,
16034,
3084,
62,
1129,
2780,
3720,
1828,
62,
16,
33411,
1499,
796,
366,
45,
6750,
4447,
1
] | [
1,
1,
1,
1,
1,
1,
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,
24971,
329,
262,
12671,
30,
46506,
25882,
7,
79,
4316,
8,
16034,
3084,
62,
1129,
2780,
3720,
1828,
62,
16,
33411,
1499,
796,
366,
45,
6750,
4447,
1
] |
Which father had william iv as a husband? | SELECT father FROM table_name_98 WHERE husband = "william iv" | [
13828,
2988,
550,
481,
1789,
21628,
355,
257,
5229,
30,
46506,
2988,
16034,
3084,
62,
3672,
62,
4089,
33411,
5229,
796,
366,
10594,
1789,
21628,
1
] | [
1,
1,
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,
2988,
550,
481,
1789,
21628,
355,
257,
5229,
30,
46506,
2988,
16034,
3084,
62,
3672,
62,
4089,
33411,
5229,
796,
366,
10594,
1789,
21628,
1
] |
Which year has the Co-singer solo and a Film name of bhagya debata? | SELECT MIN("Year") FROM table_56342 WHERE "Co-singer" = 'solo' AND "Film name" = 'bhagya debata' | [
13828,
614,
468,
262,
1766,
12,
82,
3889,
12199,
290,
257,
13741,
1438,
286,
275,
71,
363,
3972,
1915,
1045,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
3980,
31575,
33411,
366,
7222,
12,
82,
3889,
1,
796,
705,
82,
14057,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
468,
262,
1766,
12,
82,
3889,
12199,
290,
257,
13741,
1438,
286,
275,
71,
363,
3972,
1915,
1045,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
3980,
31575,
33411,
366,
7222,
12,
82,
3889,
1,
796,
705,
82,
14057,
... |
Who had a points average with 0 extra points and 0 field goals? | SELECT AVG("Points") FROM table_35972 WHERE "Extra points" = '0' AND "Field goals" > '0' | [
8241,
550,
257,
2173,
2811,
351,
657,
3131,
2173,
290,
657,
2214,
4661,
30,
46506,
35224,
7203,
40710,
4943,
16034,
3084,
62,
30743,
4761,
33411,
366,
27726,
2173,
1,
796,
705,
15,
6,
5357,
366,
15878,
4661,
1,
1875,
705,
15,
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
] | [
8241,
550,
257,
2173,
2811,
351,
657,
3131,
2173,
290,
657,
2214,
4661,
30,
46506,
35224,
7203,
40710,
4943,
16034,
3084,
62,
30743,
4761,
33411,
366,
27726,
2173,
1,
796,
705,
15,
6,
5357,
366,
15878,
4661,
1,
1875,
705,
15,
6
] |
Who built the car that has a Time/Retired of 1:34:12.912? | SELECT constructor FROM table_name_88 WHERE time_retired = "1:34:12.912" | [
8241,
3170,
262,
1097,
326,
468,
257,
3862,
14,
9781,
1202,
286,
352,
25,
2682,
25,
1065,
13,
24,
1065,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
3459,
33411,
640,
62,
1186,
1202,
796,
366,
16,
25,
2682,
25,
1065,
13,
24,
1065,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
3170,
262,
1097,
326,
468,
257,
3862,
14,
9781,
1202,
286,
352,
25,
2682,
25,
1065,
13,
24,
1065,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
3459,
33411,
640,
62,
1186,
1202,
796,
366,
16,
25,
2682,
25,
1065,
13,
24,
1065,... |
List all directors along with the number of films directed by each director Plot them as bar chart, display in ascending by the x-axis. | SELECT Directed_by, COUNT(*) FROM film GROUP BY Directed_by ORDER BY Directed_by | [
8053,
477,
13445,
1863,
351,
262,
1271,
286,
7328,
7924,
416,
1123,
3437,
28114,
606,
355,
2318,
8262,
11,
3359,
287,
41988,
416,
262,
2124,
12,
22704,
13,
46506,
4128,
276,
62,
1525,
11,
327,
28270,
7,
28104,
16034,
2646,
44441,
1105... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
477,
13445,
1863,
351,
262,
1271,
286,
7328,
7924,
416,
1123,
3437,
28114,
606,
355,
2318,
8262,
11,
3359,
287,
41988,
416,
262,
2124,
12,
22704,
13,
46506,
4128,
276,
62,
1525,
11,
327,
28270,
7,
28104,
16034,
2646,
44441,
1105... |
Draw a bar chart for what are the different ids and names of the stations that have had more than 12 bikes available?, and show from low to high by the bar. | SELECT name, id FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id WHERE T2.bikes_available > 12 ORDER BY name | [
25302,
257,
2318,
8262,
329,
644,
389,
262,
1180,
220,
2340,
290,
3891,
286,
262,
8985,
326,
423,
550,
517,
621,
1105,
16715,
1695,
21747,
290,
905,
422,
1877,
284,
1029,
416,
262,
2318,
13,
46506,
1438,
11,
4686,
16034,
4429,
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... | [
25302,
257,
2318,
8262,
329,
644,
389,
262,
1180,
220,
2340,
290,
3891,
286,
262,
8985,
326,
423,
550,
517,
621,
1105,
16715,
1695,
21747,
290,
905,
422,
1877,
284,
1029,
416,
262,
2318,
13,
46506,
1438,
11,
4686,
16034,
4429,
7054,
... |
renal function: serum creatinine > 2 mg / dl or creatinine clearance <= 50 ml / min | SELECT * FROM table_dev_57 WHERE serum_creatinine > 2 OR creatinine_clearance_cl <= 50 | [
918,
282,
2163,
25,
20502,
1827,
259,
500,
1875,
362,
10527,
1220,
288,
75,
393,
1827,
259,
500,
19745,
19841,
2026,
25962,
1220,
949,
46506,
1635,
16034,
3084,
62,
7959,
62,
3553,
33411,
20502,
62,
20123,
259,
500,
1875,
362,
6375,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
918,
282,
2163,
25,
20502,
1827,
259,
500,
1875,
362,
10527,
1220,
288,
75,
393,
1827,
259,
500,
19745,
19841,
2026,
25962,
1220,
949,
46506,
1635,
16034,
3084,
62,
7959,
62,
3553,
33411,
20502,
62,
20123,
259,
500,
1875,
362,
6375,
1... |
how many patients used the drug code bag and tested under category chemistry in laboratory? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.formulary_drug_cd = "BAG" AND lab."CATEGORY" = "Chemistry" | [
4919,
867,
3871,
973,
262,
2563,
2438,
6131,
290,
6789,
739,
6536,
16585,
287,
14010,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
973,
262,
2563,
2438,
6131,
290,
6789,
739,
6536,
16585,
287,
14010,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
... |
what is the intake method of the albuterol neb soln? | SELECT DISTINCT prescriptions.route FROM prescriptions WHERE prescriptions.drug = 'albuterol neb soln' | [
10919,
318,
262,
10337,
2446,
286,
262,
435,
4360,
263,
349,
45508,
1540,
77,
30,
46506,
360,
8808,
1268,
4177,
34092,
13,
38629,
16034,
34092,
33411,
34092,
13,
30349,
796,
705,
282,
4360,
263,
349,
45508,
1540,
77,
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
] | [
10919,
318,
262,
10337,
2446,
286,
262,
435,
4360,
263,
349,
45508,
1540,
77,
30,
46506,
360,
8808,
1268,
4177,
34092,
13,
38629,
16034,
34092,
33411,
34092,
13,
30349,
796,
705,
282,
4360,
263,
349,
45508,
1540,
77,
6
] |
List the names and birthdays of the top five players in terms of potential. | SELECT DISTINCT T1.player_name, T1.birthday FROM player AS T1 JOIN player_attributes AS T2 ON T1.player_api_id = T2.player_api_id ORDER BY potential DESC LIMIT 5 | [
8053,
262,
3891,
290,
4082,
12545,
286,
262,
1353,
1936,
1938,
287,
2846,
286,
2785,
13,
46506,
360,
8808,
1268,
4177,
309,
16,
13,
7829,
62,
3672,
11,
309,
16,
13,
24280,
820,
16034,
2137,
7054,
309,
16,
32357,
1268,
2137,
62,
1078... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8053,
262,
3891,
290,
4082,
12545,
286,
262,
1353,
1936,
1938,
287,
2846,
286,
2785,
13,
46506,
360,
8808,
1268,
4177,
309,
16,
13,
7829,
62,
3672,
11,
309,
16,
13,
24280,
820,
16034,
2137,
7054,
309,
16,
32357,
1268,
2137,
62,
1078... |
How many directed have the product code of 2.8? | SELECT COUNT("Directed by") FROM table_23550 WHERE "Prod. code" = '2.8' | [
2437,
867,
7924,
423,
262,
1720,
2438,
286,
362,
13,
23,
30,
46506,
327,
28270,
7203,
13470,
276,
416,
4943,
16034,
3084,
62,
22370,
1120,
33411,
366,
2964,
67,
13,
2438,
1,
796,
705,
17,
13,
23,
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
] | [
2437,
867,
7924,
423,
262,
1720,
2438,
286,
362,
13,
23,
30,
46506,
327,
28270,
7203,
13470,
276,
416,
4943,
16034,
3084,
62,
22370,
1120,
33411,
366,
2964,
67,
13,
2438,
1,
796,
705,
17,
13,
23,
6
] |
What is the sum of PTS when there is a PCT smaller than 0.1? | SELECT SUM("PTS.") FROM table_67594 WHERE "PCT." < '0.1' | [
2061,
318,
262,
2160,
286,
20907,
618,
612,
318,
257,
350,
4177,
4833,
621,
657,
13,
16,
30,
46506,
35683,
7203,
47,
4694,
19570,
16034,
3084,
62,
42444,
5824,
33411,
366,
47,
4177,
526,
1279,
705,
15,
13,
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,
1,
1,
1
] | [
2061,
318,
262,
2160,
286,
20907,
618,
612,
318,
257,
350,
4177,
4833,
621,
657,
13,
16,
30,
46506,
35683,
7203,
47,
4694,
19570,
16034,
3084,
62,
42444,
5824,
33411,
366,
47,
4177,
526,
1279,
705,
15,
13,
16,
6
] |
What is the To Par that has a 69-69-73=211 score? | SELECT to_par FROM table_name_35 WHERE score = 69 - 69 - 73 = 211 | [
2061,
318,
262,
1675,
2547,
326,
468,
257,
8644,
12,
3388,
12,
4790,
28,
21895,
4776,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
2327,
33411,
4776,
796,
8644,
532,
8644,
532,
8854,
796,
28714
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1675,
2547,
326,
468,
257,
8644,
12,
3388,
12,
4790,
28,
21895,
4776,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
2327,
33411,
4776,
796,
8644,
532,
8644,
532,
8854,
796,
28714
] |
get the gender and preferred spoken language for the patient with patient id 74345. | SELECT demographic.gender, demographic.language FROM demographic WHERE demographic.subject_id = "74345" | [
1136,
262,
5279,
290,
9871,
9635,
3303,
329,
262,
5827,
351,
5827,
4686,
767,
3559,
2231,
13,
46506,
16728,
13,
8388,
11,
16728,
13,
16129,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
22,
3559,
2231,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1136,
262,
5279,
290,
9871,
9635,
3303,
329,
262,
5827,
351,
5827,
4686,
767,
3559,
2231,
13,
46506,
16728,
13,
8388,
11,
16728,
13,
16129,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
22,
3559,
2231,
1
] |
What is the population of Tioga county? | SELECT "Population" FROM table_58936 WHERE "County" = 'tioga' | [
2061,
318,
262,
3265,
286,
16953,
10949,
7968,
30,
46506,
366,
45251,
1,
16034,
3084,
62,
44169,
2623,
33411,
366,
12332,
88,
1,
796,
705,
20259,
10949,
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,
3265,
286,
16953,
10949,
7968,
30,
46506,
366,
45251,
1,
16034,
3084,
62,
44169,
2623,
33411,
366,
12332,
88,
1,
796,
705,
20259,
10949,
6
] |
What is Haydon when Larter is 11 and Libweshya is 4? | SELECT haydon FROM table_11447995_2 WHERE larter = "11" AND libweshya = "4" | [
2061,
318,
9075,
9099,
618,
406,
2571,
318,
1367,
290,
7980,
86,
5069,
3972,
318,
604,
30,
46506,
27678,
9099,
16034,
3084,
62,
1157,
34825,
33438,
62,
17,
33411,
300,
2571,
796,
366,
1157,
1,
5357,
9195,
86,
5069,
3972,
796,
366,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
9075,
9099,
618,
406,
2571,
318,
1367,
290,
7980,
86,
5069,
3972,
318,
604,
30,
46506,
27678,
9099,
16034,
3084,
62,
1157,
34825,
33438,
62,
17,
33411,
300,
2571,
796,
366,
1157,
1,
5357,
9195,
86,
5069,
3972,
796,
366,
1... |
What is the smallest apps in Honduras with less than 2 goals for Club Deportivo Victoria in a division over 1? | SELECT MIN("Apps") FROM table_57949 WHERE "Country" = 'honduras' AND "Goals" < '2' AND "Team" = 'club deportivo victoria' AND "Division" > '1' | [
2061,
318,
262,
18197,
6725,
287,
32982,
351,
1342,
621,
362,
4661,
329,
6289,
2129,
419,
23593,
12313,
287,
257,
7297,
625,
352,
30,
46506,
20625,
7203,
48433,
4943,
16034,
3084,
62,
41734,
2920,
33411,
366,
33921,
1,
796,
705,
71,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
18197,
6725,
287,
32982,
351,
1342,
621,
362,
4661,
329,
6289,
2129,
419,
23593,
12313,
287,
257,
7297,
625,
352,
30,
46506,
20625,
7203,
48433,
4943,
16034,
3084,
62,
41734,
2920,
33411,
366,
33921,
1,
796,
705,
71,
6... |
what is drug type of drug name ferrous sulfate? | SELECT prescriptions.drug_type FROM prescriptions WHERE prescriptions.drug = "Ferrous Sulfate" | [
10919,
318,
2563,
2099,
286,
2563,
1438,
11354,
7596,
22443,
378,
30,
46506,
34092,
13,
30349,
62,
4906,
16034,
34092,
33411,
34092,
13,
30349,
796,
366,
43362,
7596,
311,
4754,
378,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
2563,
2099,
286,
2563,
1438,
11354,
7596,
22443,
378,
30,
46506,
34092,
13,
30349,
62,
4906,
16034,
34092,
33411,
34092,
13,
30349,
796,
366,
43362,
7596,
311,
4754,
378,
1
] |
What is the total likes on tips from Niloofar | SELECT SUM(tip.likes) FROM tip, user WHERE user.name = 'Niloofar' AND user.user_id = tip.user_id | [
2061,
318,
262,
2472,
7832,
319,
9040,
422,
399,
18526,
1659,
283,
46506,
35683,
7,
22504,
13,
75,
7938,
8,
16034,
8171,
11,
2836,
33411,
2836,
13,
3672,
796,
705,
45,
18526,
1659,
283,
6,
5357,
2836,
13,
7220,
62,
312,
796,
8171,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7832,
319,
9040,
422,
399,
18526,
1659,
283,
46506,
35683,
7,
22504,
13,
75,
7938,
8,
16034,
8171,
11,
2836,
33411,
2836,
13,
3672,
796,
705,
45,
18526,
1659,
283,
6,
5357,
2836,
13,
7220,
62,
312,
796,
8171,
... |
For those employees who was hired before 2002-06-21, show me about the distribution of hire_date and the amount of hire_date bin hire_date by weekday in a bar chart, order by the Y from low to high. | SELECT HIRE_DATE, COUNT(HIRE_DATE) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY COUNT(HIRE_DATE) | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
905,
502,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2033,
286,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
28269,
287,
257,
2318,
8262,
11,
1502,
416,
262,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
905,
502,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2033,
286,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
28269,
287,
257,
2318,
8262,
11,
1502,
416,
262,
... |
how many hours have passed since first time on this hospital encounter patient 032-24135 stayed in the ward 1068? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '032-24135' AND patient.wardid = 1068 AND patient.hospitaldischargetime IS NULL ORDER BY patient.unitadmittime LIMIT 1 | [
4919,
867,
2250,
423,
3804,
1201,
717,
640,
319,
428,
4436,
8791,
5827,
657,
2624,
12,
1731,
17059,
9658,
287,
262,
15305,
838,
3104,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
53... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
2250,
423,
3804,
1201,
717,
640,
319,
428,
4436,
8791,
5827,
657,
2624,
12,
1731,
17059,
9658,
287,
262,
15305,
838,
3104,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
53... |
What is the H.S. Asst. principal with a Glendale principal Joyce Brace during 2002-2003? | SELECT h_s_asst_principal FROM table_name_47 WHERE glendale_principal = "joyce brace" AND year = "2002-2003" | [
2061,
318,
262,
367,
13,
50,
13,
1081,
301,
13,
10033,
351,
257,
2671,
41147,
10033,
25936,
1709,
558,
1141,
6244,
12,
16088,
30,
46506,
289,
62,
82,
62,
292,
301,
62,
1050,
1939,
8521,
16034,
3084,
62,
3672,
62,
2857,
33411,
1278,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
367,
13,
50,
13,
1081,
301,
13,
10033,
351,
257,
2671,
41147,
10033,
25936,
1709,
558,
1141,
6244,
12,
16088,
30,
46506,
289,
62,
82,
62,
292,
301,
62,
1050,
1939,
8521,
16034,
3084,
62,
3672,
62,
2857,
33411,
1278,
... |
Find the average hours for the students whose tryout decision is no. | SELECT AVG(T1.HS) FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'no' | [
16742,
262,
2811,
2250,
329,
262,
2444,
3025,
1949,
448,
2551,
318,
645,
13,
46506,
35224,
7,
51,
16,
13,
7998,
8,
16034,
2137,
7054,
309,
16,
32357,
1268,
1949,
448,
7054,
309,
17,
6177,
309,
16,
13,
79,
2389,
796,
309,
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
] | [
16742,
262,
2811,
2250,
329,
262,
2444,
3025,
1949,
448,
2551,
318,
645,
13,
46506,
35224,
7,
51,
16,
13,
7998,
8,
16034,
2137,
7054,
309,
16,
32357,
1268,
1949,
448,
7054,
309,
17,
6177,
309,
16,
13,
79,
2389,
796,
309,
17,
13,
... |
An artist of the Beatles with an issue date(s) of 19 September has what as the listed weeks on top? | SELECT weeks_on_top FROM table_name_26 WHERE artist = "the beatles" AND issue_date_s_ = "19 september" | [
2025,
6802,
286,
262,
27330,
351,
281,
2071,
3128,
7,
82,
8,
286,
678,
2693,
468,
644,
355,
262,
5610,
2745,
319,
1353,
30,
46506,
2745,
62,
261,
62,
4852,
16034,
3084,
62,
3672,
62,
2075,
33411,
6802,
796,
366,
1169,
4405,
829,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2025,
6802,
286,
262,
27330,
351,
281,
2071,
3128,
7,
82,
8,
286,
678,
2693,
468,
644,
355,
262,
5610,
2745,
319,
1353,
30,
46506,
2745,
62,
261,
62,
4852,
16034,
3084,
62,
3672,
62,
2075,
33411,
6802,
796,
366,
1169,
4405,
829,
1... |
Total questions on the site. | SELECT COUNT(*) AS count FROM Posts WHERE PostTypeId = 1 | [
14957,
2683,
319,
262,
2524,
13,
46506,
327,
28270,
7,
28104,
7054,
954,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
14957,
2683,
319,
262,
2524,
13,
46506,
327,
28270,
7,
28104,
7054,
954,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352
] |
what are the four most frequently ordered prescriptions the previous year? | SELECT t1.drugname FROM (SELECT medication.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM medication WHERE DATETIME(medication.drugstarttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY medication.drugname) AS t1 WHERE t1.c1 <= 4 | [
10919,
389,
262,
1440,
749,
6777,
6149,
34092,
262,
2180,
614,
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,
28270,
7,
28104,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
262,
1440,
749,
6777,
6149,
34092,
262,
2180,
614,
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,
28270,
7,
28104,
... |
What is the total when silver is more than 3, and rank is 2? | SELECT MAX(total) FROM table_name_53 WHERE silver > 3 AND rank = "2" | [
2061,
318,
262,
2472,
618,
8465,
318,
517,
621,
513,
11,
290,
4279,
318,
362,
30,
46506,
25882,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
4310,
33411,
8465,
1875,
513,
5357,
4279,
796,
366,
17,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
618,
8465,
318,
517,
621,
513,
11,
290,
4279,
318,
362,
30,
46506,
25882,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
4310,
33411,
8465,
1875,
513,
5357,
4279,
796,
366,
17,
1
] |
Who won that game on 24 July 2010? | SELECT "Result" FROM table_51453 WHERE "Date" = '24 july 2010' | [
8241,
1839,
326,
983,
319,
1987,
2901,
3050,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
47396,
4310,
33411,
366,
10430,
1,
796,
705,
1731,
474,
2062,
3050,
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
] | [
8241,
1839,
326,
983,
319,
1987,
2901,
3050,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
47396,
4310,
33411,
366,
10430,
1,
796,
705,
1731,
474,
2062,
3050,
6
] |
What percentage did Obama get in Rutherford county? | SELECT obama_percentage FROM table_20799905_1 WHERE county = "RUTHERFORD" | [
2061,
5873,
750,
2486,
651,
287,
49767,
7968,
30,
46506,
909,
1689,
62,
25067,
496,
16034,
3084,
62,
22745,
17032,
2713,
62,
16,
33411,
7968,
796,
366,
49,
3843,
16879,
37,
12532,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5873,
750,
2486,
651,
287,
49767,
7968,
30,
46506,
909,
1689,
62,
25067,
496,
16034,
3084,
62,
22745,
17032,
2713,
62,
16,
33411,
7968,
796,
366,
49,
3843,
16879,
37,
12532,
1
] |
Give me a bar chart for total number of team id of each acc road, and sort in descending by the X. | SELECT ACC_Road, SUM(Team_ID) FROM basketball_match GROUP BY ACC_Road ORDER BY ACC_Road DESC | [
23318,
502,
257,
2318,
8262,
329,
2472,
1271,
286,
1074,
4686,
286,
1123,
697,
2975,
11,
290,
3297,
287,
31491,
416,
262,
1395,
13,
46506,
15859,
62,
29197,
11,
35683,
7,
15592,
62,
2389,
8,
16034,
9669,
62,
15699,
44441,
11050,
15859... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
257,
2318,
8262,
329,
2472,
1271,
286,
1074,
4686,
286,
1123,
697,
2975,
11,
290,
3297,
287,
31491,
416,
262,
1395,
13,
46506,
15859,
62,
29197,
11,
35683,
7,
15592,
62,
2389,
8,
16034,
9669,
62,
15699,
44441,
11050,
15859... |
What is the result of the qf round? | SELECT "Result" FROM table_24307 WHERE "Round" = 'QF' | [
2061,
318,
262,
1255,
286,
262,
10662,
69,
2835,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
1731,
22996,
33411,
366,
22685,
1,
796,
705,
48,
37,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1255,
286,
262,
10662,
69,
2835,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
1731,
22996,
33411,
366,
22685,
1,
796,
705,
48,
37,
6
] |
Which film title used in nomination has vinterkyss as the original title? | SELECT film_title_used_in_nomination FROM table_21655290_1 WHERE original_title = "Vinterkyss" | [
13828,
2646,
3670,
973,
287,
11872,
468,
410,
3849,
2584,
824,
355,
262,
2656,
3670,
30,
46506,
2646,
62,
7839,
62,
1484,
62,
259,
62,
26601,
1883,
16034,
3084,
62,
20666,
2816,
24369,
62,
16,
33411,
2656,
62,
7839,
796,
366,
53,
38... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
2646,
3670,
973,
287,
11872,
468,
410,
3849,
2584,
824,
355,
262,
2656,
3670,
30,
46506,
2646,
62,
7839,
62,
1484,
62,
259,
62,
26601,
1883,
16034,
3084,
62,
20666,
2816,
24369,
62,
16,
33411,
2656,
62,
7839,
796,
366,
53,
38... |
Bar chart x axis time y axis meter_100, and show by the y axis from high to low. | SELECT Time, meter_100 FROM swimmer ORDER BY meter_100 DESC | [
10374,
8262,
2124,
16488,
640,
331,
16488,
16430,
62,
3064,
11,
290,
905,
416,
262,
331,
16488,
422,
1029,
284,
1877,
13,
46506,
3862,
11,
16430,
62,
3064,
16034,
9422,
647,
38678,
11050,
16430,
62,
3064,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
8262,
2124,
16488,
640,
331,
16488,
16430,
62,
3064,
11,
290,
905,
416,
262,
331,
16488,
422,
1029,
284,
1877,
13,
46506,
3862,
11,
16430,
62,
3064,
16034,
9422,
647,
38678,
11050,
16430,
62,
3064,
22196,
34
] |
What season number was assigned to the episode identified with the production code 401? | SELECT "Season no." FROM table_30278 WHERE "Production code" = '401' | [
2061,
1622,
1271,
373,
8686,
284,
262,
4471,
5174,
351,
262,
3227,
2438,
22219,
30,
46506,
366,
18960,
645,
526,
16034,
3084,
62,
1270,
25870,
33411,
366,
35027,
2438,
1,
796,
705,
21844,
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,
1622,
1271,
373,
8686,
284,
262,
4471,
5174,
351,
262,
3227,
2438,
22219,
30,
46506,
366,
18960,
645,
526,
16034,
3084,
62,
1270,
25870,
33411,
366,
35027,
2438,
1,
796,
705,
21844,
6
] |
Show me population by county name in a histogram, rank names in desc order. | SELECT County_name, Population FROM county ORDER BY County_name DESC | [
15307,
502,
3265,
416,
7968,
1438,
287,
257,
1554,
21857,
11,
4279,
3891,
287,
1715,
1502,
13,
46506,
3418,
62,
3672,
11,
20133,
16034,
7968,
38678,
11050,
3418,
62,
3672,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
502,
3265,
416,
7968,
1438,
287,
257,
1554,
21857,
11,
4279,
3891,
287,
1715,
1502,
13,
46506,
3418,
62,
3672,
11,
20133,
16034,
7968,
38678,
11050,
3418,
62,
3672,
22196,
34
] |
What is the production code for episode 15 in season 3? | SELECT production_code FROM table_16581695_4 WHERE no_in_season = "15" | [
2061,
318,
262,
3227,
2438,
329,
4471,
1315,
287,
1622,
513,
30,
46506,
3227,
62,
8189,
16034,
3084,
62,
1433,
3365,
1433,
3865,
62,
19,
33411,
645,
62,
259,
62,
6230,
796,
366,
1314,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3227,
2438,
329,
4471,
1315,
287,
1622,
513,
30,
46506,
3227,
62,
8189,
16034,
3084,
62,
1433,
3365,
1433,
3865,
62,
19,
33411,
645,
62,
259,
62,
6230,
796,
366,
1314,
1
] |
Which Position has a Competition of european race walking cup? | SELECT "Position" FROM table_47630 WHERE "Competition" = 'european race walking cup' | [
13828,
23158,
468,
257,
27348,
286,
11063,
431,
272,
3234,
6155,
6508,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
2857,
30005,
33411,
366,
7293,
15620,
1,
796,
705,
44252,
431,
272,
3234,
6155,
6508,
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
] | [
13828,
23158,
468,
257,
27348,
286,
11063,
431,
272,
3234,
6155,
6508,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
2857,
30005,
33411,
366,
7293,
15620,
1,
796,
705,
44252,
431,
272,
3234,
6155,
6508,
6
] |
How many directors worked on the episode with 2.27m (5) is the ratings? | SELECT COUNT("Directed by") FROM table_26737 WHERE "UK Ratings (BBC2 Rank)" = '2.27m (5)' | [
2437,
867,
13445,
3111,
319,
262,
4471,
351,
362,
13,
1983,
76,
357,
20,
8,
318,
262,
10109,
30,
46506,
327,
28270,
7203,
13470,
276,
416,
4943,
16034,
3084,
62,
25674,
2718,
33411,
366,
15039,
36826,
357,
33833,
17,
10916,
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
] | [
2437,
867,
13445,
3111,
319,
262,
4471,
351,
362,
13,
1983,
76,
357,
20,
8,
318,
262,
10109,
30,
46506,
327,
28270,
7203,
13470,
276,
416,
4943,
16034,
3084,
62,
25674,
2718,
33411,
366,
15039,
36826,
357,
33833,
17,
10916,
16725,
796... |
What is the runner-up record where winner record is Ireland 59 points? | SELECT runner_up FROM table_28601467_1 WHERE winner = "Ireland 59 points" | [
2061,
318,
262,
17490,
12,
929,
1700,
810,
8464,
1700,
318,
7517,
7863,
2173,
30,
46506,
17490,
62,
929,
16034,
3084,
62,
27033,
486,
24669,
62,
16,
33411,
8464,
796,
366,
49752,
7863,
2173,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17490,
12,
929,
1700,
810,
8464,
1700,
318,
7517,
7863,
2173,
30,
46506,
17490,
62,
929,
16034,
3084,
62,
27033,
486,
24669,
62,
16,
33411,
8464,
796,
366,
49752,
7863,
2173,
1
] |
count the number of patients whose admission type is urgent and item id is 50803? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "URGENT" AND lab.itemid = "50803" | [
9127,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
18039,
290,
2378,
4686,
318,
2026,
43564,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
18039,
290,
2378,
4686,
318,
2026,
43564,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
... |
FIRST class AA flight from PHILADELPHIA to DALLAS on wednesday | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day AS DATE_DAY_0, date_day AS DATE_DAY_1, days AS DAYS_0, days AS DAYS_1, fare, fare_basis AS FARE_BASIS_0, fare_basis AS FARE_BASIS_1, flight, flight_fare WHERE (((DAT... | [
39776,
2257,
1398,
15923,
5474,
422,
9370,
4146,
2885,
3698,
11909,
3539,
284,
360,
7036,
1921,
319,
29445,
3462,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
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... | [
39776,
2257,
1398,
15923,
5474,
422,
9370,
4146,
2885,
3698,
11909,
3539,
284,
360,
7036,
1921,
319,
29445,
3462,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
... |
Which administrative division had a population of 2011 according to the siak database of 3,672,994? | SELECT administrative_division FROM table_21734764_1 WHERE population_2011_siak_database = "3,672,994" | [
13828,
11553,
7297,
550,
257,
3265,
286,
2813,
1864,
284,
262,
264,
32994,
6831,
286,
513,
11,
43864,
11,
42691,
30,
46506,
11553,
62,
21426,
16034,
3084,
62,
24591,
30995,
2414,
62,
16,
33411,
3265,
62,
9804,
62,
13396,
461,
62,
4880... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11553,
7297,
550,
257,
3265,
286,
2813,
1864,
284,
262,
264,
32994,
6831,
286,
513,
11,
43864,
11,
42691,
30,
46506,
11553,
62,
21426,
16034,
3084,
62,
24591,
30995,
2414,
62,
16,
33411,
3265,
62,
9804,
62,
13396,
461,
62,
4880... |
What is the Winner of the Event on September 26-30, 2012? | SELECT winner FROM table_name_82 WHERE date = "september 26-30, 2012" | [
2061,
318,
262,
25358,
286,
262,
8558,
319,
2693,
2608,
12,
1270,
11,
2321,
30,
46506,
8464,
16034,
3084,
62,
3672,
62,
6469,
33411,
3128,
796,
366,
325,
457,
1491,
2608,
12,
1270,
11,
2321,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
25358,
286,
262,
8558,
319,
2693,
2608,
12,
1270,
11,
2321,
30,
46506,
8464,
16034,
3084,
62,
3672,
62,
6469,
33411,
3128,
796,
366,
325,
457,
1491,
2608,
12,
1270,
11,
2321,
1
] |
What country has a time of 3:19.167? | SELECT country FROM table_name_36 WHERE time = "3:19.167" | [
2061,
1499,
468,
257,
640,
286,
513,
25,
1129,
13,
21940,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
2623,
33411,
640,
796,
366,
18,
25,
1129,
13,
21940,
1
] | [
1,
1,
1,
1,
1,
1,
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,
468,
257,
640,
286,
513,
25,
1129,
13,
21940,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
2623,
33411,
640,
796,
366,
18,
25,
1129,
13,
21940,
1
] |
What team has Pony as the kit manufacturer and Gary Mabbutt as the captain? | SELECT "Team" FROM table_70446 WHERE "Kit manufacturer" = 'pony' AND "Captain" = 'gary mabbutt' | [
2061,
1074,
468,
30377,
355,
262,
6220,
11554,
290,
10936,
337,
397,
43059,
355,
262,
10654,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
2154,
27260,
33411,
366,
20827,
11554,
1,
796,
705,
79,
1647,
6,
5357,
366,
27898,
1,
796,
705,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1074,
468,
30377,
355,
262,
6220,
11554,
290,
10936,
337,
397,
43059,
355,
262,
10654,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
2154,
27260,
33411,
366,
20827,
11554,
1,
796,
705,
79,
1647,
6,
5357,
366,
27898,
1,
796,
705,
... |
Bar graph to show the number of nationality from different nationality, and rank from low to high by the Y. | SELECT Nationality, COUNT(Nationality) FROM journalist GROUP BY Nationality ORDER BY COUNT(Nationality) | [
10374,
4823,
284,
905,
262,
1271,
286,
29835,
422,
1180,
29835,
11,
290,
4279,
422,
1877,
284,
1029,
416,
262,
575,
13,
46506,
2351,
414,
11,
327,
28270,
7,
16186,
414,
8,
16034,
10099,
44441,
11050,
2351,
414,
38678,
11050,
327,
2827... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
4823,
284,
905,
262,
1271,
286,
29835,
422,
1180,
29835,
11,
290,
4279,
422,
1877,
284,
1029,
416,
262,
575,
13,
46506,
2351,
414,
11,
327,
28270,
7,
16186,
414,
8,
16034,
10099,
44441,
11050,
2351,
414,
38678,
11050,
327,
2827... |
Which Home has a Record of 16 17 6? | SELECT home FROM table_name_5 WHERE record = "16–17–6" | [
13828,
5995,
468,
257,
13266,
286,
1467,
1596,
718,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
20,
33411,
1700,
796,
366,
1433,
1906,
1558,
1906,
21,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
5995,
468,
257,
13266,
286,
1467,
1596,
718,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
20,
33411,
1700,
796,
366,
1433,
1906,
1558,
1906,
21,
1
] |
What was the away team score when the home team scored 6.11 (47)? | SELECT "Away team score" FROM table_4749 WHERE "Home team score" = '6.11 (47)' | [
2061,
373,
262,
1497,
1074,
4776,
618,
262,
1363,
1074,
7781,
718,
13,
1157,
357,
2857,
19427,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
2857,
2920,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
21,
13,
1157,
357,
2857,
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
] | [
2061,
373,
262,
1497,
1074,
4776,
618,
262,
1363,
1074,
7781,
718,
13,
1157,
357,
2857,
19427,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
2857,
2920,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
21,
13,
1157,
357,
2857,
33... |
show all users from india as per their reputation. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%india%' OR UPPER(Location) LIKE '%IN' ORDER BY Reputation DESC | [
12860,
477,
2985,
422,
773,
544,
355,
583,
511,
8507,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12860,
477,
2985,
422,
773,
544,
355,
583,
511,
8507,
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,
... |
what is the only ship in this yard to be built as a lightvessel ? | SELECT "name(s)" FROM table_204_781 WHERE "type (as built)" = 'lightvessel' | [
10919,
318,
262,
691,
4074,
287,
428,
12699,
284,
307,
3170,
355,
257,
1657,
1158,
741,
5633,
46506,
366,
3672,
7,
82,
16725,
16034,
3084,
62,
18638,
62,
49703,
33411,
366,
4906,
357,
292,
3170,
16725,
796,
705,
2971,
1158,
741,
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
] | [
10919,
318,
262,
691,
4074,
287,
428,
12699,
284,
307,
3170,
355,
257,
1657,
1158,
741,
5633,
46506,
366,
3672,
7,
82,
16725,
16034,
3084,
62,
18638,
62,
49703,
33411,
366,
4906,
357,
292,
3170,
16725,
796,
705,
2971,
1158,
741,
6
] |
What league has an average attendance of 1452? | SELECT "League" FROM table_22965 WHERE "Avg. Attendance" = '1452' | [
2061,
4652,
468,
281,
2811,
14858,
286,
1478,
4309,
30,
46506,
366,
24623,
1,
16034,
3084,
62,
23539,
2996,
33411,
366,
48997,
13,
46502,
590,
1,
796,
705,
1415,
4309,
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,
4652,
468,
281,
2811,
14858,
286,
1478,
4309,
30,
46506,
366,
24623,
1,
16034,
3084,
62,
23539,
2996,
33411,
366,
48997,
13,
46502,
590,
1,
796,
705,
1415,
4309,
6
] |
What is the Essendon Home Team's venue? | SELECT "Venue" FROM table_32988 WHERE "Home team" = 'essendon' | [
2061,
318,
262,
11985,
43153,
5995,
4816,
338,
14359,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
37967,
3459,
33411,
366,
16060,
1074,
1,
796,
705,
408,
43153,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
11985,
43153,
5995,
4816,
338,
14359,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
37967,
3459,
33411,
366,
16060,
1074,
1,
796,
705,
408,
43153,
6
] |
how many teams played them in october ? | SELECT COUNT(*) FROM table_204_227 WHERE "date" = 10 | [
4919,
867,
3466,
2826,
606,
287,
19318,
2023,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
24403,
33411,
366,
4475,
1,
796,
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
] | [
4919,
867,
3466,
2826,
606,
287,
19318,
2023,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
24403,
33411,
366,
4475,
1,
796,
838
] |
What is the Opponents in Final in the match with a Score in Final of 4 6, 1 6 played on Clay Surface? | SELECT opponents_in_final FROM table_name_48 WHERE score_in_final = "4–6, 1–6" AND surface = "clay" | [
2061,
318,
262,
9385,
3906,
287,
8125,
287,
262,
2872,
351,
257,
15178,
287,
8125,
286,
604,
718,
11,
352,
718,
2826,
319,
15551,
20321,
30,
46506,
7691,
62,
259,
62,
20311,
16034,
3084,
62,
3672,
62,
2780,
33411,
4776,
62,
259,
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
] | [
2061,
318,
262,
9385,
3906,
287,
8125,
287,
262,
2872,
351,
257,
15178,
287,
8125,
286,
604,
718,
11,
352,
718,
2826,
319,
15551,
20321,
30,
46506,
7691,
62,
259,
62,
20311,
16034,
3084,
62,
3672,
62,
2780,
33411,
4776,
62,
259,
62,... |
List document type codes and the number of documents in each code in a pie chart. | SELECT Document_Type_Code, COUNT(*) FROM Documents GROUP BY Document_Type_Code | [
8053,
3188,
2099,
12416,
290,
262,
1271,
286,
4963,
287,
1123,
2438,
287,
257,
2508,
8262,
13,
46506,
16854,
62,
6030,
62,
10669,
11,
327,
28270,
7,
28104,
16034,
33267,
44441,
11050,
16854,
62,
6030,
62,
10669
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
3188,
2099,
12416,
290,
262,
1271,
286,
4963,
287,
1123,
2438,
287,
257,
2508,
8262,
13,
46506,
16854,
62,
6030,
62,
10669,
11,
327,
28270,
7,
28104,
16034,
33267,
44441,
11050,
16854,
62,
6030,
62,
10669
] |
What's the original title of the nomination title, 'brecha en el silencio'? | SELECT original_title FROM table_name_1 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,
2656,
62,
7839,
16034,
3084,
62,
3672,
62,
16,
33411,
2646,
62,
7839,
62,
1484,
62,
259,
62,
26601,
1883,
796,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
2656,
3670,
286,
262,
11872,
3670,
11,
705,
4679,
11693,
551,
1288,
3313,
12685,
952,
30960,
46506,
2656,
62,
7839,
16034,
3084,
62,
3672,
62,
16,
33411,
2646,
62,
7839,
62,
1484,
62,
259,
62,
26601,
1883,
796,
366,
... |
What was the earliest year in which long jump was performed in the world indoor Championships in 5th position? | SELECT MIN(year) FROM table_name_69 WHERE performance = "long jump" AND competition = "world indoor championships" AND position = "5th" | [
2061,
373,
262,
14555,
614,
287,
543,
890,
4391,
373,
6157,
287,
262,
995,
22639,
24782,
287,
642,
400,
2292,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
3388,
33411,
2854,
796,
366,
6511,
4391,
1,
5357,
5449,
796,
366,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
14555,
614,
287,
543,
890,
4391,
373,
6157,
287,
262,
995,
22639,
24782,
287,
642,
400,
2292,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
3388,
33411,
2854,
796,
366,
6511,
4391,
1,
5357,
5449,
796,
366,... |
What institution has the nickname Penmen? | SELECT "Institution" FROM table_585 WHERE "Nickname" = 'Penmen' | [
2061,
9901,
468,
262,
21814,
7507,
3653,
30,
46506,
366,
6310,
2738,
1,
16034,
3084,
62,
38905,
33411,
366,
23609,
3672,
1,
796,
705,
25553,
3653,
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,
9901,
468,
262,
21814,
7507,
3653,
30,
46506,
366,
6310,
2738,
1,
16034,
3084,
62,
38905,
33411,
366,
23609,
3672,
1,
796,
705,
25553,
3653,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.