instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
when was the last time that in the previous month patient 030-75705 was prescribed a medicine via an iv route? | SELECT medication.drugstarttime FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-75705')) AND medication.routeadmin = 'iv' AND DATETIME(med... | [
12518,
373,
262,
938,
640,
326,
287,
262,
2180,
1227,
5827,
657,
1270,
12,
2425,
34801,
373,
14798,
257,
9007,
2884,
281,
21628,
6339,
30,
46506,
14103,
13,
30349,
9688,
2435,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
373,
262,
938,
640,
326,
287,
262,
2180,
1227,
5827,
657,
1270,
12,
2425,
34801,
373,
14798,
257,
9007,
2884,
281,
21628,
6339,
30,
46506,
14103,
13,
30349,
9688,
2435,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
32... |
Nigel Mansell was the driver in what Entrant? | SELECT entrant FROM table_name_22 WHERE driver = "nigel mansell" | [
45,
47709,
1869,
7255,
373,
262,
4639,
287,
644,
7232,
5250,
30,
46506,
920,
5250,
16034,
3084,
62,
3672,
62,
1828,
33411,
4639,
796,
366,
77,
47709,
582,
7255,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
45,
47709,
1869,
7255,
373,
262,
4639,
287,
644,
7232,
5250,
30,
46506,
920,
5250,
16034,
3084,
62,
3672,
62,
1828,
33411,
4639,
796,
366,
77,
47709,
582,
7255,
1
] |
What is the home team of Lake Oval? | SELECT "Home team" FROM table_11078 WHERE "Venue" = 'lake oval' | [
2061,
318,
262,
1363,
1074,
286,
6233,
25165,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
11442,
3695,
33411,
366,
37522,
518,
1,
796,
705,
27180,
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
] | [
2061,
318,
262,
1363,
1074,
286,
6233,
25165,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
11442,
3695,
33411,
366,
37522,
518,
1,
796,
705,
27180,
41186,
6
] |
What is Result, when Film is 'Dharma Chakram', and when Award is 'Nandi Award for Best Actor'? | SELECT result FROM table_name_87 WHERE film = "dharma chakram" AND award = "nandi award for best actor" | [
2061,
318,
25414,
11,
618,
13741,
318,
705,
35,
71,
10961,
46620,
859,
3256,
290,
618,
11289,
318,
705,
45,
26800,
11289,
329,
6705,
27274,
30960,
46506,
1255,
16034,
3084,
62,
3672,
62,
5774,
33411,
2646,
796,
366,
34985,
10961,
442,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
25414,
11,
618,
13741,
318,
705,
35,
71,
10961,
46620,
859,
3256,
290,
618,
11289,
318,
705,
45,
26800,
11289,
329,
6705,
27274,
30960,
46506,
1255,
16034,
3084,
62,
3672,
62,
5774,
33411,
2646,
796,
366,
34985,
10961,
442,
... |
Who are the Runner(s)-up with a Margin of 3 strokes? | SELECT runner_s__up FROM table_name_49 WHERE margin = "3 strokes" | [
8241,
389,
262,
21529,
7,
82,
13219,
929,
351,
257,
11899,
259,
286,
513,
29483,
30,
46506,
17490,
62,
82,
834,
929,
16034,
3084,
62,
3672,
62,
2920,
33411,
10330,
796,
366,
18,
29483,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
389,
262,
21529,
7,
82,
13219,
929,
351,
257,
11899,
259,
286,
513,
29483,
30,
46506,
17490,
62,
82,
834,
929,
16034,
3084,
62,
3672,
62,
2920,
33411,
10330,
796,
366,
18,
29483,
1
] |
When was the Hopperstad Stavkyrkje built? | SELECT "Year Built" FROM table_59056 WHERE "Church Name" = 'hopperstad stavkyrkje' | [
2215,
373,
262,
9544,
2848,
24107,
520,
615,
74,
2417,
74,
18015,
3170,
30,
46506,
366,
17688,
28477,
1,
16034,
3084,
62,
3270,
2713,
21,
33411,
366,
46686,
6530,
1,
796,
705,
8873,
2848,
24107,
336,
615,
74,
2417,
74,
18015,
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
] | [
2215,
373,
262,
9544,
2848,
24107,
520,
615,
74,
2417,
74,
18015,
3170,
30,
46506,
366,
17688,
28477,
1,
16034,
3084,
62,
3270,
2713,
21,
33411,
366,
46686,
6530,
1,
796,
705,
8873,
2848,
24107,
336,
615,
74,
2417,
74,
18015,
6
] |
Which Record has a home of Nashville? | SELECT record FROM table_name_72 WHERE home = "nashville" | [
13828,
13266,
468,
257,
1363,
286,
19250,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
4761,
33411,
1363,
796,
366,
77,
1077,
4244,
1
] | [
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,
13266,
468,
257,
1363,
286,
19250,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
4761,
33411,
1363,
796,
366,
77,
1077,
4244,
1
] |
What is the name when the position is centre? | SELECT "Name" FROM table_77307 WHERE "Pos." = 'centre' | [
2061,
318,
262,
1438,
618,
262,
2292,
318,
7372,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
3324,
22996,
33411,
366,
21604,
526,
796,
705,
1087,
260,
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,
1438,
618,
262,
2292,
318,
7372,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
3324,
22996,
33411,
366,
21604,
526,
796,
705,
1087,
260,
6
] |
What Score has a time of 14:10? | SELECT score FROM table_name_43 WHERE time = "14:10" | [
2061,
15178,
468,
257,
640,
286,
1478,
25,
940,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
3559,
33411,
640,
796,
366,
1415,
25,
940,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
15178,
468,
257,
640,
286,
1478,
25,
940,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
3559,
33411,
640,
796,
366,
1415,
25,
940,
1
] |
known compromised renal function ( egfr < 30 ml / min / 1.73 m2 ) or potassium > 5 mmol / l | SELECT * FROM table_test_28 WHERE renal_disease = 1 OR estimated_glomerular_filtration_rate_egfr < 30 OR serum_potassium > 5 | [
4002,
19066,
44375,
2163,
357,
29206,
8310,
1279,
1542,
25962,
1220,
949,
1220,
352,
13,
4790,
285,
17,
1267,
393,
33156,
1875,
642,
47340,
1220,
300,
46506,
1635,
16034,
3084,
62,
9288,
62,
2078,
33411,
44375,
62,
67,
786,
589,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4002,
19066,
44375,
2163,
357,
29206,
8310,
1279,
1542,
25962,
1220,
949,
1220,
352,
13,
4790,
285,
17,
1267,
393,
33156,
1875,
642,
47340,
1220,
300,
46506,
1635,
16034,
3084,
62,
9288,
62,
2078,
33411,
44375,
62,
67,
786,
589,
796,
... |
when patient 74624 has come to the hospital via phys referral/normal deli for the last time since 2103? | SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 74624 AND admissions.admission_location = 'phys referral/normal deli' AND STRFTIME('%y', admissions.admittime) >= '2103' ORDER BY admissions.admittime DESC LIMIT 1 | [
12518,
5827,
767,
3510,
1731,
468,
1282,
284,
262,
4436,
2884,
2281,
31413,
14,
11265,
1619,
72,
329,
262,
938,
640,
1201,
362,
15197,
30,
46506,
25349,
13,
324,
20124,
524,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
767,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
5827,
767,
3510,
1731,
468,
1282,
284,
262,
4436,
2884,
2281,
31413,
14,
11265,
1619,
72,
329,
262,
938,
640,
1201,
362,
15197,
30,
46506,
25349,
13,
324,
20124,
524,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
767,
35... |
How many locations are there for the athletic nickname is blue crusaders? | SELECT COUNT(location) FROM table_22171978_1 WHERE athletic_nickname = "Blue Crusaders" | [
2437,
867,
7064,
389,
612,
329,
262,
15177,
21814,
318,
4171,
25164,
9972,
30,
46506,
327,
28270,
7,
24886,
8,
16034,
3084,
62,
1828,
1558,
37950,
62,
16,
33411,
15177,
62,
17172,
3672,
796,
366,
14573,
15170,
9972,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7064,
389,
612,
329,
262,
15177,
21814,
318,
4171,
25164,
9972,
30,
46506,
327,
28270,
7,
24886,
8,
16034,
3084,
62,
1828,
1558,
37950,
62,
16,
33411,
15177,
62,
17172,
3672,
796,
366,
14573,
15170,
9972,
1
] |
Create a bar chart showing all_games_percent across all neutral, I want to show bar in asc order. | SELECT All_Neutral, All_Games_Percent FROM basketball_match ORDER BY All_Neutral | [
16447,
257,
2318,
8262,
4478,
477,
62,
19966,
62,
25067,
1973,
477,
8500,
11,
314,
765,
284,
905,
2318,
287,
10570,
1502,
13,
46506,
1439,
62,
8199,
6815,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
15699,
38678,
11050,
1439,
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
] | [
16447,
257,
2318,
8262,
4478,
477,
62,
19966,
62,
25067,
1973,
477,
8500,
11,
314,
765,
284,
905,
2318,
287,
10570,
1502,
13,
46506,
1439,
62,
8199,
6815,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
15699,
38678,
11050,
1439,
62,... |
What is the entry for weight in kilograms of jockey D. Nikolic? | SELECT "Weight (kg)" FROM table_20434 WHERE "Jockey" = 'D. Nikolic' | [
2061,
318,
262,
5726,
329,
3463,
287,
37075,
286,
474,
8337,
360,
13,
11271,
4160,
30,
46506,
366,
25844,
357,
10025,
16725,
16034,
3084,
62,
18638,
2682,
33411,
366,
41,
8337,
1,
796,
705,
35,
13,
11271,
4160,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5726,
329,
3463,
287,
37075,
286,
474,
8337,
360,
13,
11271,
4160,
30,
46506,
366,
25844,
357,
10025,
16725,
16034,
3084,
62,
18638,
2682,
33411,
366,
41,
8337,
1,
796,
705,
35,
13,
11271,
4160,
6
] |
Posts where last event was CW-ification and it wasn't done by the OP. | SELECT ph.PostId AS "post_link", revisions = 'site://posts/' + CAST(ph.PostId AS TEXT) + '/revisions' FROM PostHistory AS ph INNER JOIN Posts AS p ON p.Id = ph.PostId WHERE (ph.PostHistoryTypeId = 16) AND (ph.UserId != p.OwnerUserId) AND ph.Id IN (SELECT MAX(Id) AS last FROM PostHistory GROUP BY PostId) ORDER BY ph.Pos... | [
21496,
810,
938,
1785,
373,
24006,
12,
2649,
290,
340,
2492,
470,
1760,
416,
262,
13349,
13,
46506,
872,
13,
6307,
7390,
7054,
366,
7353,
62,
8726,
1600,
33315,
796,
705,
15654,
1378,
24875,
14,
6,
1343,
327,
11262,
7,
746,
13,
6307... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
21496,
810,
938,
1785,
373,
24006,
12,
2649,
290,
340,
2492,
470,
1760,
416,
262,
13349,
13,
46506,
872,
13,
6307,
7390,
7054,
366,
7353,
62,
8726,
1600,
33315,
796,
705,
15654,
1378,
24875,
14,
6,
1343,
327,
11262,
7,
746,
13,
6307... |
Which commission was launched 28 june 1934, and has a Pennant number of h.78? | SELECT commissioned FROM table_name_40 WHERE launched = "28 june 1934" AND pennant_number = "h.78" | [
13828,
5810,
373,
5611,
2579,
474,
1726,
29300,
11,
290,
468,
257,
6595,
415,
1271,
286,
289,
13,
3695,
30,
46506,
20462,
16034,
3084,
62,
3672,
62,
1821,
33411,
5611,
796,
366,
2078,
474,
1726,
29300,
1,
5357,
22429,
415,
62,
17618,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5810,
373,
5611,
2579,
474,
1726,
29300,
11,
290,
468,
257,
6595,
415,
1271,
286,
289,
13,
3695,
30,
46506,
20462,
16034,
3084,
62,
3672,
62,
1821,
33411,
5611,
796,
366,
2078,
474,
1726,
29300,
1,
5357,
22429,
415,
62,
17618,
... |
What is the most recent season with a date of 27 October 1957? | SELECT MAX(season) FROM table_name_43 WHERE date = "27 october 1957" | [
2061,
318,
262,
749,
2274,
1622,
351,
257,
3128,
286,
2681,
3267,
25177,
30,
46506,
25882,
7,
6230,
8,
16034,
3084,
62,
3672,
62,
3559,
33411,
3128,
796,
366,
1983,
19318,
2023,
25177,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
749,
2274,
1622,
351,
257,
3128,
286,
2681,
3267,
25177,
30,
46506,
25882,
7,
6230,
8,
16034,
3084,
62,
3672,
62,
3559,
33411,
3128,
796,
366,
1983,
19318,
2023,
25177,
1
] |
query that returns your FirstName, LastName, City, and Age as separate columns.. | SELECT 'Timon' AS FirstName, 'Eckert' AS LastName, 'Kru' AS City, 32 AS Age | [
22766,
326,
5860,
534,
3274,
5376,
11,
4586,
5376,
11,
2254,
11,
290,
7129,
355,
4553,
15180,
492,
46506,
705,
14967,
261,
6,
7054,
3274,
5376,
11,
705,
36,
694,
861,
6,
7054,
4586,
5376,
11,
705,
42,
622,
6,
7054,
2254,
11,
3933,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
22766,
326,
5860,
534,
3274,
5376,
11,
4586,
5376,
11,
2254,
11,
290,
7129,
355,
4553,
15180,
492,
46506,
705,
14967,
261,
6,
7054,
3274,
5376,
11,
705,
36,
694,
861,
6,
7054,
4586,
5376,
11,
705,
42,
622,
6,
7054,
2254,
11,
3933,... |
Billy Ray Brown plays for what country? | SELECT country FROM table_name_9 WHERE player = "billy ray brown" | [
49640,
7760,
4373,
5341,
329,
644,
1499,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
24,
33411,
2137,
796,
366,
65,
6548,
26842,
7586,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
49640,
7760,
4373,
5341,
329,
644,
1499,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
24,
33411,
2137,
796,
366,
65,
6548,
26842,
7586,
1
] |
what is the phone number of employees whose salary is in the range of 8000 and 12000? | SELECT phone_number FROM employees WHERE salary BETWEEN 8000 AND 12000 | [
10919,
318,
262,
3072,
1271,
286,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
30,
46506,
3072,
62,
17618,
16034,
4409,
33411,
9588,
38651,
8845,
1677,
38055,
5357,
1105,
830
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3072,
1271,
286,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
30,
46506,
3072,
62,
17618,
16034,
4409,
33411,
9588,
38651,
8845,
1677,
38055,
5357,
1105,
830
] |
Can you tell me the Name that has the Rank of 4? | SELECT "Name" FROM table_64409 WHERE "Rank" = '4' | [
6090,
345,
1560,
502,
262,
6530,
326,
468,
262,
10916,
286,
604,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
2414,
29416,
33411,
366,
27520,
1,
796,
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
] | [
6090,
345,
1560,
502,
262,
6530,
326,
468,
262,
10916,
286,
604,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
2414,
29416,
33411,
366,
27520,
1,
796,
705,
19,
6
] |
What place is the United States in that has a score of 68-73-68=209? | SELECT place FROM table_name_8 WHERE country = "united states" AND score = 68 - 73 - 68 = 209 | [
2061,
1295,
318,
262,
1578,
1829,
287,
326,
468,
257,
4776,
286,
8257,
12,
4790,
12,
3104,
28,
22567,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
23,
33411,
1499,
796,
366,
41187,
2585,
1,
5357,
4776,
796,
8257,
532,
8854,
532,
8257... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1295,
318,
262,
1578,
1829,
287,
326,
468,
257,
4776,
286,
8257,
12,
4790,
12,
3104,
28,
22567,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
23,
33411,
1499,
796,
366,
41187,
2585,
1,
5357,
4776,
796,
8257,
532,
8854,
532,
8257... |
Which Average has a Tally of 2-12, and a Total larger than 18? | SELECT AVG(average) FROM table_name_23 WHERE tally = "2-12" AND total > 18 | [
13828,
13475,
468,
257,
309,
453,
286,
362,
12,
1065,
11,
290,
257,
7472,
4025,
621,
1248,
30,
46506,
35224,
7,
23913,
8,
16034,
3084,
62,
3672,
62,
1954,
33411,
26767,
796,
366,
17,
12,
1065,
1,
5357,
2472,
1875,
1248
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13475,
468,
257,
309,
453,
286,
362,
12,
1065,
11,
290,
257,
7472,
4025,
621,
1248,
30,
46506,
35224,
7,
23913,
8,
16034,
3084,
62,
3672,
62,
1954,
33411,
26767,
796,
366,
17,
12,
1065,
1,
5357,
2472,
1875,
1248
] |
How many ministers are there when the cabinet (nickname) is Steingr mur Hermannsson III? | SELECT "ministers" FROM table_2455 WHERE "Cabinet (Nickname)" = 'Steingrímur Hermannsson III' | [
2437,
867,
14138,
389,
612,
618,
262,
13447,
357,
17172,
3672,
8,
318,
2441,
278,
81,
4636,
25028,
77,
16528,
6711,
30,
46506,
366,
1084,
6223,
1,
16034,
3084,
62,
1731,
2816,
33411,
366,
34,
6014,
316,
357,
23609,
3672,
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
] | [
2437,
867,
14138,
389,
612,
618,
262,
13447,
357,
17172,
3672,
8,
318,
2441,
278,
81,
4636,
25028,
77,
16528,
6711,
30,
46506,
366,
1084,
6223,
1,
16034,
3084,
62,
1731,
2816,
33411,
366,
34,
6014,
316,
357,
23609,
3672,
16725,
796,
... |
Name the points for where lost is 4 | SELECT COUNT("Points for") FROM table_1265 WHERE "Lost" = '4' | [
5376,
262,
2173,
329,
810,
2626,
318,
604,
46506,
327,
28270,
7203,
40710,
329,
4943,
16034,
3084,
62,
1065,
2996,
33411,
366,
31042,
1,
796,
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
] | [
5376,
262,
2173,
329,
810,
2626,
318,
604,
46506,
327,
28270,
7203,
40710,
329,
4943,
16034,
3084,
62,
1065,
2996,
33411,
366,
31042,
1,
796,
705,
19,
6
] |
What type of graphics are present in the Precision 340 model with the intel 850e chipset? | SELECT "Graphics" FROM table_10927 WHERE "Chipset" = 'intel 850e' AND "Model" = 'precision 340' | [
2061,
2099,
286,
9382,
389,
1944,
287,
262,
39281,
28560,
2746,
351,
262,
33649,
30607,
68,
49013,
30,
46506,
366,
18172,
1,
16034,
3084,
62,
14454,
1983,
33411,
366,
49985,
2617,
1,
796,
705,
48779,
30607,
68,
6,
5357,
366,
17633,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2099,
286,
9382,
389,
1944,
287,
262,
39281,
28560,
2746,
351,
262,
33649,
30607,
68,
49013,
30,
46506,
366,
18172,
1,
16034,
3084,
62,
14454,
1983,
33411,
366,
49985,
2617,
1,
796,
705,
48779,
30607,
68,
6,
5357,
366,
17633,
1,... |
what is the album when the year is later than 2008? | SELECT album FROM table_name_77 WHERE year > 2008 | [
10919,
318,
262,
5062,
618,
262,
614,
318,
1568,
621,
3648,
30,
46506,
5062,
16034,
3084,
62,
3672,
62,
3324,
33411,
614,
1875,
3648
] | [
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,
5062,
618,
262,
614,
318,
1568,
621,
3648,
30,
46506,
5062,
16034,
3084,
62,
3672,
62,
3324,
33411,
614,
1875,
3648
] |
Count the number of climbers. | SELECT COUNT(*) FROM climber | [
12332,
262,
1271,
286,
39311,
13,
46506,
327,
28270,
7,
28104,
16034,
5424,
527
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12332,
262,
1271,
286,
39311,
13,
46506,
327,
28270,
7,
28104,
16034,
5424,
527
] |
What is the average laps for Grid 9? | SELECT AVG("Laps") FROM table_58482 WHERE "Grid" = '9' | [
2061,
318,
262,
2811,
24590,
329,
24846,
860,
30,
46506,
35224,
7203,
43,
1686,
4943,
16034,
3084,
62,
3365,
40149,
33411,
366,
41339,
1,
796,
705,
24,
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,
2811,
24590,
329,
24846,
860,
30,
46506,
35224,
7203,
43,
1686,
4943,
16034,
3084,
62,
3365,
40149,
33411,
366,
41339,
1,
796,
705,
24,
6
] |
Find the enrollment date for all the tests that have 'Pass' result. | SELECT T1.date_of_enrolment FROM student_course_enrolment AS T1 JOIN student_tests_taken AS T2 ON T1.registration_id = T2.registration_id WHERE T2.test_result = "Pass" | [
16742,
262,
20753,
3128,
329,
477,
262,
5254,
326,
423,
705,
14478,
6,
1255,
13,
46506,
309,
16,
13,
4475,
62,
1659,
62,
268,
3225,
434,
16034,
3710,
62,
17319,
62,
268,
3225,
434,
7054,
309,
16,
32357,
1268,
3710,
62,
41989,
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... | [
16742,
262,
20753,
3128,
329,
477,
262,
5254,
326,
423,
705,
14478,
6,
1255,
13,
46506,
309,
16,
13,
4475,
62,
1659,
62,
268,
3225,
434,
16034,
3710,
62,
17319,
62,
268,
3225,
434,
7054,
309,
16,
32357,
1268,
3710,
62,
41989,
62,
... |
this year patient 005-69376 had undergone antibacterials - monobactam in other hospitals? | SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.uniquepid = '005-69376' AND patient.hospitalid <> (SELECT DISTINCT patient.hospitalid FROM patient WHERE patient.uniquepid = '005-69376' AND patient.hospitaldischargetime IS NULL)) AND tr... | [
5661,
614,
5827,
3571,
20,
12,
3388,
32128,
550,
29900,
11310,
7321,
8231,
532,
937,
672,
529,
321,
287,
584,
11301,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5661,
614,
5827,
3571,
20,
12,
3388,
32128,
550,
29900,
11310,
7321,
8231,
532,
937,
672,
529,
321,
287,
584,
11301,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
... |
Name the average lost for matches of 6 | SELECT AVG("Lost") FROM table_54847 WHERE "Matches" = '6' | [
5376,
262,
2811,
2626,
329,
7466,
286,
718,
46506,
35224,
7203,
31042,
4943,
16034,
3084,
62,
49934,
2857,
33411,
366,
19044,
2052,
1,
796,
705,
21,
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
] | [
5376,
262,
2811,
2626,
329,
7466,
286,
718,
46506,
35224,
7203,
31042,
4943,
16034,
3084,
62,
49934,
2857,
33411,
366,
19044,
2052,
1,
796,
705,
21,
6
] |
have there been any organism found during the first aspirate microbiology test of patient 4718 until 3 years ago? | SELECT COUNT(*) > 0 FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 4718) AND microbiologyevents.spec_type_desc = 'aspirate' AND NOT microbiologyevents.org_name IS NULL AND DATETIME(microbiologyevents.charttime) <= DATETIME(CURRENT_TIM... | [
14150,
612,
587,
597,
26433,
1043,
1141,
262,
717,
18808,
378,
24559,
1435,
1332,
286,
5827,
6298,
1507,
1566,
513,
812,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
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... | [
14150,
612,
587,
597,
26433,
1043,
1141,
262,
717,
18808,
378,
24559,
1435,
1332,
286,
5827,
6298,
1507,
1566,
513,
812,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
... |
How many games had an average of 12796? | SELECT COUNT("Overall Gms") FROM table_29311 WHERE "Overall Avg" = '12796' | [
2437,
867,
1830,
550,
281,
2811,
286,
1105,
41060,
30,
46506,
327,
28270,
7203,
16350,
402,
907,
4943,
16034,
3084,
62,
31675,
1157,
33411,
366,
16350,
33455,
1,
796,
705,
1065,
41060,
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
] | [
2437,
867,
1830,
550,
281,
2811,
286,
1105,
41060,
30,
46506,
327,
28270,
7203,
16350,
402,
907,
4943,
16034,
3084,
62,
31675,
1157,
33411,
366,
16350,
33455,
1,
796,
705,
1065,
41060,
6
] |
what are the top three most common procedures? | SELECT t1.treatmentname FROM (SELECT treatment.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM treatment GROUP BY treatment.treatmentname) AS t1 WHERE t1.c1 <= 3 | [
10919,
389,
262,
1353,
1115,
749,
2219,
9021,
30,
46506,
256,
16,
13,
42487,
3672,
16034,
357,
46506,
3513,
13,
42487,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
389,
262,
1353,
1115,
749,
2219,
9021,
30,
46506,
256,
16,
13,
42487,
3672,
16034,
357,
46506,
3513,
13,
42487,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054... |
Which show has a season premiere with a Average series rating of 1.85 million viewers? | SELECT "Season premiere" FROM table_46240 WHERE "Average series rating" = '1.85 million viewers' | [
13828,
905,
468,
257,
1622,
19245,
351,
257,
13475,
2168,
7955,
286,
352,
13,
5332,
1510,
10209,
30,
46506,
366,
18960,
19245,
1,
16034,
3084,
62,
3510,
16102,
33411,
366,
26287,
2168,
7955,
1,
796,
705,
16,
13,
5332,
1510,
10209,
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
] | [
13828,
905,
468,
257,
1622,
19245,
351,
257,
13475,
2168,
7955,
286,
352,
13,
5332,
1510,
10209,
30,
46506,
366,
18960,
19245,
1,
16034,
3084,
62,
3510,
16102,
33411,
366,
26287,
2168,
7955,
1,
796,
705,
16,
13,
5332,
1510,
10209,
6
] |
Create a bar chart showing the total number across city | SELECT city, COUNT(*) FROM station GROUP BY city | [
16447,
257,
2318,
8262,
4478,
262,
2472,
1271,
1973,
1748,
46506,
1748,
11,
327,
28270,
7,
28104,
16034,
4429,
44441,
11050,
1748
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16447,
257,
2318,
8262,
4478,
262,
2472,
1271,
1973,
1748,
46506,
1748,
11,
327,
28270,
7,
28104,
16034,
4429,
44441,
11050,
1748
] |
what is the capacity for the team ibenik? | SELECT MIN(capacity) FROM table_name_35 WHERE team = "šibenik" | [
10919,
318,
262,
5339,
329,
262,
1074,
24283,
268,
1134,
30,
46506,
20625,
7,
42404,
8,
16034,
3084,
62,
3672,
62,
2327,
33411,
1074,
796,
366,
32790,
571,
268,
1134,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
5339,
329,
262,
1074,
24283,
268,
1134,
30,
46506,
20625,
7,
42404,
8,
16034,
3084,
62,
3672,
62,
2327,
33411,
1074,
796,
366,
32790,
571,
268,
1134,
1
] |
Which DOB has Throws of r, and a Position of c, and a First of torey? | SELECT dob FROM table_name_25 WHERE throws = "r" AND position = "c" AND first = "torey" | [
13828,
8410,
33,
468,
536,
8516,
286,
374,
11,
290,
257,
23158,
286,
269,
11,
290,
257,
3274,
286,
284,
4364,
30,
46506,
466,
65,
16034,
3084,
62,
3672,
62,
1495,
33411,
12542,
796,
366,
81,
1,
5357,
2292,
796,
366,
66,
1,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
8410,
33,
468,
536,
8516,
286,
374,
11,
290,
257,
23158,
286,
269,
11,
290,
257,
3274,
286,
284,
4364,
30,
46506,
466,
65,
16034,
3084,
62,
3672,
62,
1495,
33411,
12542,
796,
366,
81,
1,
5357,
2292,
796,
366,
66,
1,
5357,
... |
WHAT IS THE ABBR WITH VOTES OF 11.2% IN 2011? | SELECT abbr FROM table_name_70 WHERE votes__2011_ = "11.2%" | [
32971,
3180,
3336,
9564,
11473,
13315,
569,
2394,
1546,
3963,
1367,
13,
17,
4,
3268,
2813,
30,
46506,
450,
1671,
16034,
3084,
62,
3672,
62,
2154,
33411,
5690,
834,
9804,
62,
796,
366,
1157,
13,
17,
39658
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32971,
3180,
3336,
9564,
11473,
13315,
569,
2394,
1546,
3963,
1367,
13,
17,
4,
3268,
2813,
30,
46506,
450,
1671,
16034,
3084,
62,
3672,
62,
2154,
33411,
5690,
834,
9804,
62,
796,
366,
1157,
13,
17,
39658
] |
What is 2009, when 2011 is 'Q2'? | SELECT 2009 FROM table_name_62 WHERE 2011 = "q2" | [
2061,
318,
3717,
11,
618,
2813,
318,
705,
48,
17,
30960,
46506,
3717,
16034,
3084,
62,
3672,
62,
5237,
33411,
2813,
796,
366,
80,
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
] | [
2061,
318,
3717,
11,
618,
2813,
318,
705,
48,
17,
30960,
46506,
3717,
16034,
3084,
62,
3672,
62,
5237,
33411,
2813,
796,
366,
80,
17,
1
] |
What is the total rank of the match with tipperary as the opposition? | SELECT COUNT(rank) FROM table_name_6 WHERE opposition = "tipperary" | [
2061,
318,
262,
2472,
4279,
286,
262,
2872,
351,
256,
14710,
560,
355,
262,
5471,
30,
46506,
327,
28270,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
21,
33411,
5471,
796,
366,
83,
14710,
560,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4279,
286,
262,
2872,
351,
256,
14710,
560,
355,
262,
5471,
30,
46506,
327,
28270,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
21,
33411,
5471,
796,
366,
83,
14710,
560,
1
] |
On January 15, what was the most in attendance? | SELECT MAX(attendance) FROM table_name_42 WHERE date = "january 15" | [
2202,
3269,
1315,
11,
644,
373,
262,
749,
287,
14858,
30,
46506,
25882,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
3682,
33411,
3128,
796,
366,
13881,
2838,
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
] | [
2202,
3269,
1315,
11,
644,
373,
262,
749,
287,
14858,
30,
46506,
25882,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
3682,
33411,
3128,
796,
366,
13881,
2838,
1315,
1
] |
What are the number of books for each year, ordered by year descending? Return a bar chart. | SELECT Year, COUNT(Year) FROM book_club GROUP BY Year ORDER BY Year DESC | [
2061,
389,
262,
1271,
286,
3835,
329,
1123,
614,
11,
6149,
416,
614,
31491,
30,
8229,
257,
2318,
8262,
13,
46506,
6280,
11,
327,
28270,
7,
17688,
8,
16034,
1492,
62,
18664,
44441,
11050,
6280,
38678,
11050,
6280,
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,
1,
1
] | [
2061,
389,
262,
1271,
286,
3835,
329,
1123,
614,
11,
6149,
416,
614,
31491,
30,
8229,
257,
2318,
8262,
13,
46506,
6280,
11,
327,
28270,
7,
17688,
8,
16034,
1492,
62,
18664,
44441,
11050,
6280,
38678,
11050,
6280,
22196,
34
] |
what is the name of the intake that patient 006-43795 first had until 01/25/2104? | SELECT intakeoutput.celllabel FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-43795')) AND intakeoutput.cellpath LIKE '%intake%' AND S... | [
10919,
318,
262,
1438,
286,
262,
10337,
326,
5827,
3571,
21,
12,
43284,
3865,
717,
550,
1566,
5534,
14,
1495,
14,
17,
13464,
30,
46506,
10337,
22915,
13,
3846,
18242,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1438,
286,
262,
10337,
326,
5827,
3571,
21,
12,
43284,
3865,
717,
550,
1566,
5534,
14,
1495,
14,
17,
13464,
30,
46506,
10337,
22915,
13,
3846,
18242,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
31... |
What company makes the Nokia 700? | SELECT "Company name" FROM table_47480 WHERE "Hardware Model" = 'nokia 700' | [
2061,
1664,
1838,
262,
26182,
13037,
30,
46506,
366,
39154,
1438,
1,
16034,
3084,
62,
2857,
22148,
33411,
366,
49865,
9104,
1,
796,
705,
77,
22903,
13037,
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,
1664,
1838,
262,
26182,
13037,
30,
46506,
366,
39154,
1438,
1,
16034,
3084,
62,
2857,
22148,
33411,
366,
49865,
9104,
1,
796,
705,
77,
22903,
13037,
6
] |
What episode number of the series aired on February 26, 1968? | SELECT "Series #" FROM table_3432 WHERE "Airdate" = 'February 26, 1968' | [
2061,
4471,
1271,
286,
262,
2168,
18530,
319,
3945,
2608,
11,
15963,
30,
46506,
366,
27996,
1303,
1,
16034,
3084,
62,
2682,
2624,
33411,
366,
32,
1447,
378,
1,
796,
705,
21816,
2608,
11,
15963,
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,
4471,
1271,
286,
262,
2168,
18530,
319,
3945,
2608,
11,
15963,
30,
46506,
366,
27996,
1303,
1,
16034,
3084,
62,
2682,
2624,
33411,
366,
32,
1447,
378,
1,
796,
705,
21816,
2608,
11,
15963,
6
] |
WHich INEGI code has a Population density (/km 2 ) smaller than 81.4 and 0.6593 Human Development Index (2000)? | SELECT AVG("INEGI code") FROM table_75147 WHERE "Population density (/km 2 )" < '81.4' AND "Human Development Index (2000)" = '0.6593' | [
12418,
488,
3268,
7156,
40,
2438,
468,
257,
20133,
12109,
50247,
13276,
362,
1267,
4833,
621,
9773,
13,
19,
290,
657,
13,
2996,
6052,
5524,
7712,
12901,
357,
11024,
19427,
46506,
35224,
7203,
1268,
7156,
40,
2438,
4943,
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... | [
12418,
488,
3268,
7156,
40,
2438,
468,
257,
20133,
12109,
50247,
13276,
362,
1267,
4833,
621,
9773,
13,
19,
290,
657,
13,
2996,
6052,
5524,
7712,
12901,
357,
11024,
19427,
46506,
35224,
7203,
1268,
7156,
40,
2438,
4943,
16034,
3084,
62,... |
Whose course were students minoring in STRATEGY in when they got B- 's ? | SELECT DISTINCT instructor.name FROM instructor INNER JOIN offering_instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN student_record ON student_record.offering_id = offering_instructor.offering_id INNER JOIN student ON student.student_id = student_record.student_id WHERE (student_rec... | [
1199,
577,
1781,
547,
2444,
949,
3255,
287,
19269,
6158,
31212,
287,
618,
484,
1392,
347,
12,
705,
82,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
21187,
3268,
21479,
32357,
1268,
6011,
62,
259,
7249,
273,
6177,
6011,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1199,
577,
1781,
547,
2444,
949,
3255,
287,
19269,
6158,
31212,
287,
618,
484,
1392,
347,
12,
705,
82,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
21187,
3268,
21479,
32357,
1268,
6011,
62,
259,
7249,
273,
6177,
6011,
... |
Search Malaysia Users by Reputation. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE (LOWER(Location) LIKE '%malaysia%') ORDER BY Reputation DESC | [
18243,
15336,
18987,
416,
1432,
7094,
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,
357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
18243,
15336,
18987,
416,
1432,
7094,
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,
357,
... |
what's the dbeingtribution with grsecurity being no | SELECT distribution FROM table_1357052_6 WHERE grsecurity = "No" | [
10919,
338,
262,
288,
11873,
83,
3890,
351,
1036,
12961,
852,
645,
46506,
6082,
16034,
3084,
62,
17059,
2154,
4309,
62,
21,
33411,
1036,
12961,
796,
366,
2949,
1
] | [
1,
1,
1,
1,
1,
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,
288,
11873,
83,
3890,
351,
1036,
12961,
852,
645,
46506,
6082,
16034,
3084,
62,
17059,
2154,
4309,
62,
21,
33411,
1036,
12961,
796,
366,
2949,
1
] |
Find questions that were closed and have body like 'How do I get started'. | SELECT COUNT(q.Id) FROM Posts AS q INNER JOIN PostHistory AS ph ON q.Id = ph.PostId WHERE q.PostTypeId = 1 AND NOT ClosedDate IS NULL AND q.Body LIKE '%started%' | [
16742,
2683,
326,
547,
4838,
290,
423,
1767,
588,
705,
2437,
466,
314,
651,
2067,
4458,
46506,
327,
28270,
7,
80,
13,
7390,
8,
16034,
12043,
7054,
10662,
3268,
21479,
32357,
1268,
2947,
18122,
7054,
872,
6177,
10662,
13,
7390,
796,
87... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
2683,
326,
547,
4838,
290,
423,
1767,
588,
705,
2437,
466,
314,
651,
2067,
4458,
46506,
327,
28270,
7,
80,
13,
7390,
8,
16034,
12043,
7054,
10662,
3268,
21479,
32357,
1268,
2947,
18122,
7054,
872,
6177,
10662,
13,
7390,
796,
87... |
Find the number of routes that have destination John F Kennedy International Airport. | SELECT COUNT(*) FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.dst_apid WHERE T1.name = 'John F Kennedy International Airport' | [
16742,
262,
1271,
286,
11926,
326,
423,
10965,
1757,
376,
10401,
4037,
12690,
13,
46506,
327,
28270,
7,
28104,
16034,
22600,
7054,
309,
16,
32357,
1268,
11926,
7054,
309,
17,
6177,
309,
16,
13,
499,
312,
796,
309,
17,
13,
67,
301,
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
] | [
16742,
262,
1271,
286,
11926,
326,
423,
10965,
1757,
376,
10401,
4037,
12690,
13,
46506,
327,
28270,
7,
28104,
16034,
22600,
7054,
309,
16,
32357,
1268,
11926,
7054,
309,
17,
6177,
309,
16,
13,
499,
312,
796,
309,
17,
13,
67,
301,
6... |
estimated body weight < 120 kg and bmi < 40 | SELECT * FROM table_dev_59 WHERE body_weight < 120 AND body_mass_index_bmi < 40 | [
395,
15655,
1767,
3463,
1279,
7982,
14211,
290,
275,
11632,
1279,
2319,
46506,
1635,
16034,
3084,
62,
7959,
62,
3270,
33411,
1767,
62,
6551,
1279,
7982,
5357,
1767,
62,
22208,
62,
9630,
62,
65,
11632,
1279,
2319
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
395,
15655,
1767,
3463,
1279,
7982,
14211,
290,
275,
11632,
1279,
2319,
46506,
1635,
16034,
3084,
62,
7959,
62,
3270,
33411,
1767,
62,
6551,
1279,
7982,
5357,
1767,
62,
22208,
62,
9630,
62,
65,
11632,
1279,
2319
] |
For those records from the products and each product's manufacturer, a bar chart shows the distribution of name and the sum of manufacturer , and group by attribute name, list X-axis in ascending order. | SELECT T2.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T2.Name | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
1438,
290,
262,
2160,
286,
11554,
837,
290,
1448,
416,
11688,
1438,
11,
1351,
1395,
12,
22704,
287,
41988,
1502,
13,
46506,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
1438,
290,
262,
2160,
286,
11554,
837,
290,
1448,
416,
11688,
1438,
11,
1351,
1395,
12,
22704,
287,
41988,
1502,
13,
46506,
309,
... |
Who was the opponent of the New Orleans Saints? | SELECT result FROM table_name_79 WHERE opponent = "new orleans saints" | [
8241,
373,
262,
6125,
286,
262,
968,
12255,
13048,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
3720,
33411,
6125,
796,
366,
3605,
393,
11861,
31728,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
6125,
286,
262,
968,
12255,
13048,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
3720,
33411,
6125,
796,
366,
3605,
393,
11861,
31728,
1
] |
If the NFL team is the Houston Oilers and the position is DT, who is the Pro team? | SELECT "Pro Team" FROM table_29330 WHERE "Position" = 'DT' AND "NFL Team" = 'Houston Oilers' | [
1532,
262,
5134,
1074,
318,
262,
6995,
35004,
290,
262,
2292,
318,
24311,
11,
508,
318,
262,
1041,
1074,
30,
46506,
366,
2964,
4816,
1,
16034,
3084,
62,
1959,
26073,
33411,
366,
26545,
1,
796,
705,
24544,
6,
5357,
366,
32078,
4816,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1532,
262,
5134,
1074,
318,
262,
6995,
35004,
290,
262,
2292,
318,
24311,
11,
508,
318,
262,
1041,
1074,
30,
46506,
366,
2964,
4816,
1,
16034,
3084,
62,
1959,
26073,
33411,
366,
26545,
1,
796,
705,
24544,
6,
5357,
366,
32078,
4816,
... |
How long did the soap opera run in which Nadine Spru acted in? | SELECT character FROM table_name_13 WHERE actor = "nadine spruß" | [
2437,
890,
750,
262,
19533,
27296,
1057,
287,
543,
21877,
500,
1338,
622,
13134,
287,
30,
46506,
2095,
16034,
3084,
62,
3672,
62,
1485,
33411,
8674,
796,
366,
77,
324,
500,
599,
622,
39683,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
890,
750,
262,
19533,
27296,
1057,
287,
543,
21877,
500,
1338,
622,
13134,
287,
30,
46506,
2095,
16034,
3084,
62,
3672,
62,
1485,
33411,
8674,
796,
366,
77,
324,
500,
599,
622,
39683,
1
] |
What is the song released by Travis? | SELECT single FROM table_25760427_2 WHERE artist = "Travis" | [
2061,
318,
262,
3496,
2716,
416,
19804,
30,
46506,
2060,
16034,
3084,
62,
28676,
31916,
1983,
62,
17,
33411,
6802,
796,
366,
51,
16956,
1
] | [
1,
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,
3496,
2716,
416,
19804,
30,
46506,
2060,
16034,
3084,
62,
28676,
31916,
1983,
62,
17,
33411,
6802,
796,
366,
51,
16956,
1
] |
What won best pc demo when tower power (camelot) won best c64 demo? | SELECT pc_demo FROM table_2490289_1 WHERE c64_demo = "Tower Power (Camelot)" | [
2061,
1839,
1266,
40653,
13605,
618,
10580,
1176,
357,
66,
17983,
313,
8,
1839,
1266,
269,
2414,
13605,
30,
46506,
40653,
62,
9536,
78,
16034,
3084,
62,
1731,
3829,
27693,
62,
16,
33411,
269,
2414,
62,
9536,
78,
796,
366,
51,
789,
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
] | [
2061,
1839,
1266,
40653,
13605,
618,
10580,
1176,
357,
66,
17983,
313,
8,
1839,
1266,
269,
2414,
13605,
30,
46506,
40653,
62,
9536,
78,
16034,
3084,
62,
1731,
3829,
27693,
62,
16,
33411,
269,
2414,
62,
9536,
78,
796,
366,
51,
789,
4... |
What is the score of the game played on February 18? | SELECT "Score" FROM table_70321 WHERE "Date" = 'february 18' | [
2061,
318,
262,
4776,
286,
262,
983,
2826,
319,
3945,
1248,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2154,
36453,
33411,
366,
10430,
1,
796,
705,
69,
1765,
3728,
1248,
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,
4776,
286,
262,
983,
2826,
319,
3945,
1248,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2154,
36453,
33411,
366,
10430,
1,
796,
705,
69,
1765,
3728,
1248,
6
] |
what does patient 021-95970 age be in the current hospital visit? | SELECT patient.age FROM patient WHERE patient.uniquepid = '021-95970' AND patient.hospitaldischargetime IS NULL | [
10919,
857,
5827,
657,
2481,
12,
24,
3270,
2154,
2479,
307,
287,
262,
1459,
4436,
3187,
30,
46506,
5827,
13,
496,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
46821,
12,
24,
3270,
2154,
6,
5357,
5827,
13,
49257,
6381... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
857,
5827,
657,
2481,
12,
24,
3270,
2154,
2479,
307,
287,
262,
1459,
4436,
3187,
30,
46506,
5827,
13,
496,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
46821,
12,
24,
3270,
2154,
6,
5357,
5827,
13,
49257,
6381... |
What is the Rank of the building that has a Highest floor larger than 50? | SELECT rank FROM table_name_57 WHERE highest_floor > 50 | [
2061,
318,
262,
10916,
286,
262,
2615,
326,
468,
257,
41864,
4314,
4025,
621,
2026,
30,
46506,
4279,
16034,
3084,
62,
3672,
62,
3553,
33411,
4511,
62,
28300,
1875,
2026
] | [
1,
1,
1,
1,
1,
1,
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,
10916,
286,
262,
2615,
326,
468,
257,
41864,
4314,
4025,
621,
2026,
30,
46506,
4279,
16034,
3084,
62,
3672,
62,
3553,
33411,
4511,
62,
28300,
1875,
2026
] |
What was the position that the nominated work La Quinta Esencia, which also won an award for best CD coverbox, won? | SELECT "Position" FROM table_9267 WHERE "Nominated work" = 'la quinta esencia' AND "Award" = 'best cd coverbox' | [
2061,
373,
262,
2292,
326,
262,
19332,
670,
4689,
33405,
64,
412,
6248,
33743,
11,
543,
635,
1839,
281,
5764,
329,
1266,
6458,
3002,
3524,
11,
1839,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
24,
25674,
33411,
366,
45,
50251,
670,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
2292,
326,
262,
19332,
670,
4689,
33405,
64,
412,
6248,
33743,
11,
543,
635,
1839,
281,
5764,
329,
1266,
6458,
3002,
3524,
11,
1839,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
24,
25674,
33411,
366,
45,
50251,
670,
1... |
Which active services years ended in death and had senior status in 1972 2005? | SELECT "Active service" FROM table_33429 WHERE "Reason for termination" = 'death' AND "Senior status" = '1972–2005' | [
13828,
4075,
2594,
812,
4444,
287,
1918,
290,
550,
4664,
3722,
287,
16101,
5075,
30,
46506,
366,
13739,
2139,
1,
16034,
3084,
62,
2091,
11785,
33411,
366,
45008,
329,
19883,
1,
796,
705,
22595,
6,
5357,
366,
31224,
3722,
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
] | [
13828,
4075,
2594,
812,
4444,
287,
1918,
290,
550,
4664,
3722,
287,
16101,
5075,
30,
46506,
366,
13739,
2139,
1,
16034,
3084,
62,
2091,
11785,
33411,
366,
45008,
329,
19883,
1,
796,
705,
22595,
6,
5357,
366,
31224,
3722,
1,
796,
705,
... |
What is the Athlete of the race with a Time of 9.78? | SELECT "Athlete" FROM table_5871 WHERE "Time" = '9.78' | [
2061,
318,
262,
13548,
5807,
286,
262,
3234,
351,
257,
3862,
286,
860,
13,
3695,
30,
46506,
366,
32,
400,
5807,
1,
16034,
3084,
62,
3365,
4869,
33411,
366,
7575,
1,
796,
705,
24,
13,
3695,
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,
13548,
5807,
286,
262,
3234,
351,
257,
3862,
286,
860,
13,
3695,
30,
46506,
366,
32,
400,
5807,
1,
16034,
3084,
62,
3365,
4869,
33411,
366,
7575,
1,
796,
705,
24,
13,
3695,
6
] |
What are the nationalities and the total ages of journalists. Return me a pie chart. | SELECT Nationality, SUM(Age) FROM journalist GROUP BY Nationality | [
2061,
389,
262,
2260,
871,
290,
262,
2472,
9337,
286,
9046,
13,
8229,
502,
257,
2508,
8262,
13,
46506,
2351,
414,
11,
35683,
7,
23396,
8,
16034,
10099,
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
] | [
2061,
389,
262,
2260,
871,
290,
262,
2472,
9337,
286,
9046,
13,
8229,
502,
257,
2508,
8262,
13,
46506,
2351,
414,
11,
35683,
7,
23396,
8,
16034,
10099,
44441,
11050,
2351,
414
] |
How many military deaths were there when there were 1,200+ military and/or civilian wounded? | SELECT military_deaths FROM table_name_15 WHERE military_and_or_civilian_wounded = "1,200+" | [
2437,
867,
2422,
7040,
547,
612,
618,
612,
547,
352,
11,
2167,
10,
2422,
290,
14,
273,
11107,
10657,
30,
46506,
2422,
62,
22595,
82,
16034,
3084,
62,
3672,
62,
1314,
33411,
2422,
62,
392,
62,
273,
62,
37636,
666,
62,
86,
6302,
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,
2422,
7040,
547,
612,
618,
612,
547,
352,
11,
2167,
10,
2422,
290,
14,
273,
11107,
10657,
30,
46506,
2422,
62,
22595,
82,
16034,
3084,
62,
3672,
62,
1314,
33411,
2422,
62,
392,
62,
273,
62,
37636,
666,
62,
86,
6302,
796... |
Show the names of pilots from team 'Bradley' or 'Fordham'. | SELECT Pilot_name FROM pilot WHERE Team = "Bradley" OR Team = "Fordham" | [
15307,
262,
3891,
286,
14982,
422,
1074,
705,
30805,
1636,
6,
393,
705,
37308,
2763,
4458,
46506,
21697,
62,
3672,
16034,
8022,
33411,
4816,
796,
366,
30805,
1636,
1,
6375,
4816,
796,
366,
37308,
2763,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
3891,
286,
14982,
422,
1074,
705,
30805,
1636,
6,
393,
705,
37308,
2763,
4458,
46506,
21697,
62,
3672,
16034,
8022,
33411,
4816,
796,
366,
30805,
1636,
1,
6375,
4816,
796,
366,
37308,
2763,
1
] |
What was the team's score on April 1? | SELECT "Score" FROM table_72890 WHERE "Date" = 'April 1' | [
2061,
373,
262,
1074,
338,
4776,
319,
3035,
352,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
48524,
3829,
33411,
366,
10430,
1,
796,
705,
16784,
352,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1074,
338,
4776,
319,
3035,
352,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
48524,
3829,
33411,
366,
10430,
1,
796,
705,
16784,
352,
6
] |
what is the number of patients that received a vent rate test until 4 years ago? | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT lab.patientunitstayid FROM lab WHERE lab.labname = 'vent rate' AND DATETIME(lab.labresulttime) <= DATETIME(CURRENT_TIME(), '-4 year')) | [
10919,
318,
262,
1271,
286,
3871,
326,
2722,
257,
7435,
2494,
1332,
1566,
604,
812,
2084,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
20850,
31712,
312,
3268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
326,
2722,
257,
7435,
2494,
1332,
1566,
604,
812,
2084,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
20850,
31712,
312,
3268,
... |
What is the Place associated with Cuba? | SELECT "Place" FROM table_79380 WHERE "Nation" = 'cuba' | [
2061,
318,
262,
8474,
3917,
351,
14159,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
3720,
23734,
33411,
366,
46108,
1,
796,
705,
66,
22013,
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
] | [
2061,
318,
262,
8474,
3917,
351,
14159,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
3720,
23734,
33411,
366,
46108,
1,
796,
705,
66,
22013,
6
] |
What city was the building built in 1988? | SELECT "City" FROM table_35777 WHERE "Built" = '1988' | [
2061,
1748,
373,
262,
2615,
3170,
287,
12122,
30,
46506,
366,
14941,
1,
16034,
3084,
62,
2327,
29331,
33411,
366,
39582,
1,
796,
705,
26709,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1748,
373,
262,
2615,
3170,
287,
12122,
30,
46506,
366,
14941,
1,
16034,
3084,
62,
2327,
29331,
33411,
366,
39582,
1,
796,
705,
26709,
6
] |
Show how many registration date from each registration date, and I want to display by the the number of registration date in ascending. | SELECT Registration_Date, COUNT(Registration_Date) FROM Voting_record ORDER BY COUNT(Registration_Date) | [
15307,
703,
867,
9352,
3128,
422,
1123,
9352,
3128,
11,
290,
314,
765,
284,
3359,
416,
262,
262,
1271,
286,
9352,
3128,
287,
41988,
13,
46506,
24610,
62,
10430,
11,
327,
28270,
7,
47133,
62,
10430,
8,
16034,
30061,
62,
22105,
38678,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
703,
867,
9352,
3128,
422,
1123,
9352,
3128,
11,
290,
314,
765,
284,
3359,
416,
262,
262,
1271,
286,
9352,
3128,
287,
41988,
13,
46506,
24610,
62,
10430,
11,
327,
28270,
7,
47133,
62,
10430,
8,
16034,
30061,
62,
22105,
38678,
... |
patient 035-11300 had received any laboratory test? | SELECT COUNT(*) > 0 FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '035-11300')) | [
26029,
657,
2327,
12,
1157,
6200,
550,
2722,
597,
14010,
1332,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
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... | [
26029,
657,
2327,
12,
1157,
6200,
550,
2722,
597,
14010,
1332,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
... |
what is the location for saturday, april 21 | SELECT "Game site" FROM table_30072 WHERE "Date" = 'Saturday, April 21' | [
10919,
318,
262,
4067,
329,
264,
3658,
11,
46593,
346,
2310,
46506,
366,
8777,
2524,
1,
16034,
3084,
62,
6200,
4761,
33411,
366,
10430,
1,
796,
705,
19844,
11,
3035,
2310,
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
] | [
10919,
318,
262,
4067,
329,
264,
3658,
11,
46593,
346,
2310,
46506,
366,
8777,
2524,
1,
16034,
3084,
62,
6200,
4761,
33411,
366,
10430,
1,
796,
705,
19844,
11,
3035,
2310,
6
] |
What percentage of others have an SZDSZ of 4% and a Fidesz of 60%? | SELECT others FROM table_name_10 WHERE szdsz = "4%" AND fidesz = "60%" | [
2061,
5873,
286,
1854,
423,
281,
311,
57,
5258,
57,
286,
604,
4,
290,
257,
376,
1460,
89,
286,
3126,
4,
30,
46506,
1854,
16034,
3084,
62,
3672,
62,
940,
33411,
264,
89,
9310,
89,
796,
366,
19,
39658,
5357,
277,
1460,
89,
796,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
5873,
286,
1854,
423,
281,
311,
57,
5258,
57,
286,
604,
4,
290,
257,
376,
1460,
89,
286,
3126,
4,
30,
46506,
1854,
16034,
3084,
62,
3672,
62,
940,
33411,
264,
89,
9310,
89,
796,
366,
19,
39658,
5357,
277,
1460,
89,
796,
36... |
How many games did they play the carolina hurricanes? | SELECT COUNT("Game") FROM table_26081 WHERE "Opponent" = 'Carolina Hurricanes' | [
2437,
867,
1830,
750,
484,
711,
262,
1097,
47196,
40370,
30,
46506,
327,
28270,
7203,
8777,
4943,
16034,
3084,
62,
21719,
6659,
33411,
366,
27524,
3471,
1,
796,
705,
9914,
47196,
39419,
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
] | [
2437,
867,
1830,
750,
484,
711,
262,
1097,
47196,
40370,
30,
46506,
327,
28270,
7203,
8777,
4943,
16034,
3084,
62,
21719,
6659,
33411,
366,
27524,
3471,
1,
796,
705,
9914,
47196,
39419,
6
] |
Name the opponents for record of 2-1 | SELECT opponents FROM table_21092444_1 WHERE record = "2-1" | [
5376,
262,
7691,
329,
1700,
286,
362,
12,
16,
46506,
7691,
16034,
3084,
62,
17,
14454,
1731,
2598,
62,
16,
33411,
1700,
796,
366,
17,
12,
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
] | [
5376,
262,
7691,
329,
1700,
286,
362,
12,
16,
46506,
7691,
16034,
3084,
62,
17,
14454,
1731,
2598,
62,
16,
33411,
1700,
796,
366,
17,
12,
16,
1
] |
What is the highest goals for that has a drawn less than 11, with a played less than 42? | SELECT MAX(goals_for) FROM table_name_54 WHERE drawn < 11 AND played < 42 | [
2061,
318,
262,
4511,
4661,
329,
326,
468,
257,
7428,
1342,
621,
1367,
11,
351,
257,
2826,
1342,
621,
5433,
30,
46506,
25882,
7,
2188,
874,
62,
1640,
8,
16034,
3084,
62,
3672,
62,
4051,
33411,
7428,
1279,
1367,
5357,
2826,
1279,
543... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4661,
329,
326,
468,
257,
7428,
1342,
621,
1367,
11,
351,
257,
2826,
1342,
621,
5433,
30,
46506,
25882,
7,
2188,
874,
62,
1640,
8,
16034,
3084,
62,
3672,
62,
4051,
33411,
7428,
1279,
1367,
5357,
2826,
1279,
543... |
Which neighborhood has the highest crime rate? | SELECT lsoa FROM greatermanchestercrime GROUP BY lsoa ORDER BY COUNT(*) DESC LIMIT 1 | [
13828,
6232,
468,
262,
4511,
4065,
2494,
30,
46506,
300,
568,
64,
16034,
1049,
2224,
35983,
28126,
44441,
11050,
300,
568,
64,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
6232,
468,
262,
4511,
4065,
2494,
30,
46506,
300,
568,
64,
16034,
1049,
2224,
35983,
28126,
44441,
11050,
300,
568,
64,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] |
How many people attended games at vfl park? | SELECT SUM("Crowd") FROM table_11600 WHERE "Venue" = 'vfl park' | [
2437,
867,
661,
9141,
1830,
379,
410,
2704,
3952,
30,
46506,
35683,
7203,
34,
3986,
4943,
16034,
3084,
62,
1157,
8054,
33411,
366,
37522,
518,
1,
796,
705,
85,
2704,
3952,
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
] | [
2437,
867,
661,
9141,
1830,
379,
410,
2704,
3952,
30,
46506,
35683,
7203,
34,
3986,
4943,
16034,
3084,
62,
1157,
8054,
33411,
366,
37522,
518,
1,
796,
705,
85,
2704,
3952,
6
] |
For employees with first names that end with the letter m, give me a bar chart to show their total salary, I want to display by the bar in ascending. | SELECT FIRST_NAME, SUM(SALARY) FROM employees WHERE FIRST_NAME LIKE '%m' GROUP BY FIRST_NAME ORDER BY FIRST_NAME | [
1890,
4409,
351,
717,
3891,
326,
886,
351,
262,
3850,
285,
11,
1577,
502,
257,
2318,
8262,
284,
905,
511,
2472,
9588,
11,
314,
765,
284,
3359,
416,
262,
2318,
287,
41988,
13,
46506,
31328,
62,
20608,
11,
35683,
7,
50,
1847,
13153,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4409,
351,
717,
3891,
326,
886,
351,
262,
3850,
285,
11,
1577,
502,
257,
2318,
8262,
284,
905,
511,
2472,
9588,
11,
314,
765,
284,
3359,
416,
262,
2318,
287,
41988,
13,
46506,
31328,
62,
20608,
11,
35683,
7,
50,
1847,
13153,
... |
Does 555 usually have 2 or 3 lectures a week ? | SELECT DISTINCT course_offering.friday, course_offering.monday, course_offering.saturday, course_offering.sunday, course_offering.thursday, course_offering.tuesday, course_offering.wednesday, semester.semester, semester.year FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND c... | [
13921,
44717,
3221,
423,
362,
393,
513,
25917,
257,
1285,
5633,
46506,
360,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
8310,
2567,
11,
1781,
62,
2364,
1586,
13,
76,
3204,
11,
1781,
62,
2364,
1586,
13,
82,
3658,
11,
1781,
62,
2364,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13921,
44717,
3221,
423,
362,
393,
513,
25917,
257,
1285,
5633,
46506,
360,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
8310,
2567,
11,
1781,
62,
2364,
1586,
13,
76,
3204,
11,
1781,
62,
2364,
1586,
13,
82,
3658,
11,
1781,
62,
2364,
... |
What is the draw with less than 107 points by the artist Jan Johansen? | SELECT COUNT("Draw") FROM table_37310 WHERE "Artist" = 'jan johansen' AND "Points" < '107' | [
2061,
318,
262,
3197,
351,
1342,
621,
16226,
2173,
416,
262,
6802,
2365,
16053,
33807,
30,
46506,
327,
28270,
7203,
25302,
4943,
16034,
3084,
62,
2718,
26717,
33411,
366,
43020,
1,
796,
705,
13881,
474,
1219,
33807,
6,
5357,
366,
40710,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3197,
351,
1342,
621,
16226,
2173,
416,
262,
6802,
2365,
16053,
33807,
30,
46506,
327,
28270,
7203,
25302,
4943,
16034,
3084,
62,
2718,
26717,
33411,
366,
43020,
1,
796,
705,
13881,
474,
1219,
33807,
6,
5357,
366,
40710,... |
What is the score of the player from fiji? | SELECT score FROM table_name_6 WHERE country = "fiji" | [
2061,
318,
262,
4776,
286,
262,
2137,
422,
277,
20770,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
21,
33411,
1499,
796,
366,
69,
20770,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4776,
286,
262,
2137,
422,
277,
20770,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
21,
33411,
1499,
796,
366,
69,
20770,
1
] |
how many patients whose age is less than 27 and drug route is left eye? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "27" AND prescriptions.route = "LEFT EYE" | [
4919,
867,
3871,
3025,
2479,
318,
1342,
621,
2681,
290,
2563,
6339,
318,
1364,
4151,
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,
3025,
2479,
318,
1342,
621,
2681,
290,
2563,
6339,
318,
1364,
4151,
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 was the average round for the oulton park circuit? | SELECT AVG(round) FROM table_name_56 WHERE circuit = "oulton park" | [
2061,
373,
262,
2811,
2835,
329,
262,
267,
37944,
3952,
10349,
30,
46506,
35224,
7,
744,
8,
16034,
3084,
62,
3672,
62,
3980,
33411,
10349,
796,
366,
2852,
1122,
3952,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
2811,
2835,
329,
262,
267,
37944,
3952,
10349,
30,
46506,
35224,
7,
744,
8,
16034,
3084,
62,
3672,
62,
3980,
33411,
10349,
796,
366,
2852,
1122,
3952,
1
] |
Return a bar chart about the number of companies for each industry, list from high to low by the bars please. | SELECT Industry, COUNT(Industry) FROM company GROUP BY Industry ORDER BY Industry DESC | [
13615,
257,
2318,
8262,
546,
262,
1271,
286,
2706,
329,
1123,
2831,
11,
1351,
422,
1029,
284,
1877,
416,
262,
9210,
3387,
13,
46506,
17420,
11,
327,
28270,
7,
35848,
563,
8,
16034,
1664,
44441,
11050,
17420,
38678,
11050,
17420,
22196,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
546,
262,
1271,
286,
2706,
329,
1123,
2831,
11,
1351,
422,
1029,
284,
1877,
416,
262,
9210,
3387,
13,
46506,
17420,
11,
327,
28270,
7,
35848,
563,
8,
16034,
1664,
44441,
11050,
17420,
38678,
11050,
17420,
22196,
... |
What was the population density in km2 for 2011 in the division where area in km2 was 684.37 in 2011? | SELECT "Population density (/km\u00b2 2011)" FROM table_26495 WHERE "Area (km\u00b2) 2011**" = '684.37' | [
2061,
373,
262,
3265,
12109,
287,
10571,
17,
329,
2813,
287,
262,
7297,
810,
1989,
287,
10571,
17,
373,
718,
5705,
13,
2718,
287,
2813,
30,
46506,
366,
45251,
12109,
50247,
13276,
59,
84,
405,
65,
17,
2813,
16725,
16034,
3084,
62,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
373,
262,
3265,
12109,
287,
10571,
17,
329,
2813,
287,
262,
7297,
810,
1989,
287,
10571,
17,
373,
718,
5705,
13,
2718,
287,
2813,
30,
46506,
366,
45251,
12109,
50247,
13276,
59,
84,
405,
65,
17,
2813,
16725,
16034,
3084,
62,
2... |
What was the number of game that was played on March 19? | SELECT "Game" FROM table_47585 WHERE "Date" = 'march 19' | [
2061,
373,
262,
1271,
286,
983,
326,
373,
2826,
319,
2805,
678,
30,
46506,
366,
8777,
1,
16034,
3084,
62,
32576,
5332,
33411,
366,
10430,
1,
796,
705,
76,
998,
678,
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,
1271,
286,
983,
326,
373,
2826,
319,
2805,
678,
30,
46506,
366,
8777,
1,
16034,
3084,
62,
32576,
5332,
33411,
366,
10430,
1,
796,
705,
76,
998,
678,
6
] |
Votes on Your Posts Aggregations. | SELECT pt.Name, vt.Name, COUNT(*) FROM Users AS u JOIN Posts AS p ON p.OwnerUserId = u.Id JOIN PostTypes AS pt ON pt.Id = p.PostTypeId JOIN Votes AS v ON v.PostId = p.Id JOIN VoteTypes AS vt ON vt.Id = v.VoteTypeId WHERE u.Id = '##UserID##' GROUP BY vt.Name, pt.Name | [
53,
6421,
319,
3406,
12043,
19015,
2301,
602,
13,
46506,
42975,
13,
5376,
11,
410,
83,
13,
5376,
11,
327,
28270,
7,
28104,
16034,
18987,
7054,
334,
32357,
1268,
12043,
7054,
279,
6177,
279,
13,
42419,
12982,
7390,
796,
334,
13,
7390,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
53,
6421,
319,
3406,
12043,
19015,
2301,
602,
13,
46506,
42975,
13,
5376,
11,
410,
83,
13,
5376,
11,
327,
28270,
7,
28104,
16034,
18987,
7054,
334,
32357,
1268,
12043,
7054,
279,
6177,
279,
13,
42419,
12982,
7390,
796,
334,
13,
7390,
... |
please list all flights from BALTIMORE to ATLANTA | 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 = 'BALTIMORE' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLA... | [
29688,
1351,
477,
13956,
422,
347,
31429,
3955,
6965,
284,
41051,
8643,
11159,
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,
3160... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
29688,
1351,
477,
13956,
422,
347,
31429,
3955,
6965,
284,
41051,
8643,
11159,
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,
3160... |
What is the score of the match played on a hard surface with an opponent in the final of Elena Likhovtseva? | SELECT score FROM table_name_2 WHERE surface = "hard" AND opponent_in_the_final = "elena likhovtseva" | [
2061,
318,
262,
4776,
286,
262,
2872,
2826,
319,
257,
1327,
4417,
351,
281,
6125,
287,
262,
2457,
286,
37254,
406,
13848,
709,
83,
325,
6862,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
17,
33411,
4417,
796,
366,
10424,
1,
5357,
612... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4776,
286,
262,
2872,
2826,
319,
257,
1327,
4417,
351,
281,
6125,
287,
262,
2457,
286,
37254,
406,
13848,
709,
83,
325,
6862,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
17,
33411,
4417,
796,
366,
10424,
1,
5357,
612... |
How many millions of U.S. viewers whatched episodes written by Krystal Houghton? | SELECT "U.S. viewers (millions)" FROM table_16781 WHERE "Written by" = 'Krystal Houghton' | [
2437,
867,
5242,
286,
471,
13,
50,
13,
10209,
644,
1740,
8640,
3194,
416,
41662,
7757,
367,
619,
1122,
30,
46506,
366,
52,
13,
50,
13,
10209,
357,
17805,
507,
16725,
16034,
3084,
62,
1433,
49703,
33411,
366,
25354,
416,
1,
796,
705,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
5242,
286,
471,
13,
50,
13,
10209,
644,
1740,
8640,
3194,
416,
41662,
7757,
367,
619,
1122,
30,
46506,
366,
52,
13,
50,
13,
10209,
357,
17805,
507,
16725,
16034,
3084,
62,
1433,
49703,
33411,
366,
25354,
416,
1,
796,
705,... |
What is the minimum altitude (mslm) in all the commons? | SELECT MIN(altitude__mslm_) FROM table_1449169_1 | [
2061,
318,
262,
5288,
20334,
357,
907,
75,
76,
8,
287,
477,
262,
36523,
30,
46506,
20625,
7,
2501,
3984,
834,
907,
75,
76,
62,
8,
16034,
3084,
62,
1415,
2920,
22172,
62,
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
] | [
2061,
318,
262,
5288,
20334,
357,
907,
75,
76,
8,
287,
477,
262,
36523,
30,
46506,
20625,
7,
2501,
3984,
834,
907,
75,
76,
62,
8,
16034,
3084,
62,
1415,
2920,
22172,
62,
16
] |
what number of patients had abnormal test results under lab test item id 50801? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.itemid = "50801" AND lab.flag = "abnormal" | [
10919,
1271,
286,
3871,
550,
18801,
1332,
2482,
739,
2248,
1332,
2378,
4686,
2026,
41531,
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,
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... | [
10919,
1271,
286,
3871,
550,
18801,
1332,
2482,
739,
2248,
1332,
2378,
4686,
2026,
41531,
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,
18108... |
which country had the highest total amount of medals ? | SELECT "npc" FROM table_203_707 ORDER BY "total" DESC LIMIT 1 | [
4758,
1499,
550,
262,
4511,
2472,
2033,
286,
28057,
5633,
46506,
366,
77,
14751,
1,
16034,
3084,
62,
22416,
62,
24038,
38678,
11050,
366,
23350,
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
] | [
4758,
1499,
550,
262,
4511,
2472,
2033,
286,
28057,
5633,
46506,
366,
77,
14751,
1,
16034,
3084,
62,
22416,
62,
24038,
38678,
11050,
366,
23350,
1,
22196,
34,
27564,
2043,
352
] |
count the number of patients whose admission type is newborn and admission year is less than 2156? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "NEWBORN" AND demographic.admityear < "2156" | [
9127,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
23856,
290,
13938,
614,
318,
1342,
621,
362,
21599,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23856,
290,
13938,
614,
318,
1342,
621,
362,
21599,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,... |
what's the name of the procedure that patient 010-19726 got two or more times until 64 months ago? | SELECT t1.treatmentname FROM (SELECT treatment.treatmentname, COUNT(treatment.treatmenttime) AS c1 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid ... | [
10919,
338,
262,
1438,
286,
262,
8771,
326,
5827,
5534,
15,
12,
24991,
2075,
1392,
734,
393,
517,
1661,
1566,
5598,
1933,
2084,
30,
46506,
256,
16,
13,
42487,
3672,
16034,
357,
46506,
3513,
13,
42487,
3672,
11,
327,
28270,
7,
42487,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
338,
262,
1438,
286,
262,
8771,
326,
5827,
5534,
15,
12,
24991,
2075,
1392,
734,
393,
517,
1661,
1566,
5598,
1933,
2084,
30,
46506,
256,
16,
13,
42487,
3672,
16034,
357,
46506,
3513,
13,
42487,
3672,
11,
327,
28270,
7,
42487,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.