instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What class can I take to get the MDE requirement done easily ? | SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%MDE%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_cou... | [
2061,
1398,
460,
314,
1011,
284,
651,
262,
337,
7206,
9079,
1760,
3538,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62,
17319,
13,
1818,
2220,
11,
1430,
62,
17319,
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... | [
2061,
1398,
460,
314,
1011,
284,
651,
262,
337,
7206,
9079,
1760,
3538,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62,
17319,
13,
1818,
2220,
11,
1430,
62,
17319,
13... |
Who is the coach with a w-l% greater than 0.516, a first yr before 1925, a yr plyf greater than 2, and a last yr in 1967? | SELECT "Coach" FROM table_44738 WHERE "W-L%" > '0.516' AND "First Yr" < '1925' AND "Yr plyf" > '2' AND "Last Yr" = '1967' | [
8241,
318,
262,
3985,
351,
257,
266,
12,
75,
4,
3744,
621,
657,
13,
47493,
11,
257,
717,
42635,
878,
36864,
11,
257,
42635,
35960,
69,
3744,
621,
362,
11,
290,
257,
938,
42635,
287,
15904,
30,
46506,
366,
40677,
1,
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... | [
8241,
318,
262,
3985,
351,
257,
266,
12,
75,
4,
3744,
621,
657,
13,
47493,
11,
257,
717,
42635,
878,
36864,
11,
257,
42635,
35960,
69,
3744,
621,
362,
11,
290,
257,
938,
42635,
287,
15904,
30,
46506,
366,
40677,
1,
16034,
3084,
62... |
What class does the w298ak sign belong to? | SELECT class FROM table_name_10 WHERE call_sign = "w298ak" | [
2061,
1398,
857,
262,
266,
27728,
461,
1051,
5594,
284,
30,
46506,
1398,
16034,
3084,
62,
3672,
62,
940,
33411,
869,
62,
12683,
796,
366,
86,
27728,
461,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1398,
857,
262,
266,
27728,
461,
1051,
5594,
284,
30,
46506,
1398,
16034,
3084,
62,
3672,
62,
940,
33411,
869,
62,
12683,
796,
366,
86,
27728,
461,
1
] |
Which class is smaller than 5 and the GWR is 1322 1323? | SELECT "Class" FROM table_54241 WHERE "Quantity" < '5' AND "GWR Nos." = '1322–1323' | [
13828,
1398,
318,
4833,
621,
642,
290,
262,
402,
18564,
318,
1511,
1828,
1511,
1954,
30,
46506,
366,
9487,
1,
16034,
3084,
62,
4051,
28872,
33411,
366,
31208,
1,
1279,
705,
20,
6,
5357,
366,
38,
18564,
32798,
526,
796,
705,
1485,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1398,
318,
4833,
621,
642,
290,
262,
402,
18564,
318,
1511,
1828,
1511,
1954,
30,
46506,
366,
9487,
1,
16034,
3084,
62,
4051,
28872,
33411,
366,
31208,
1,
1279,
705,
20,
6,
5357,
366,
38,
18564,
32798,
526,
796,
705,
1485,
18... |
Who won the young rider classification in Stage 9 where the mountain classification was Emanuele Sella? | SELECT young_rider_classification FROM table_14710984_2 WHERE mountains_classification = "Emanuele Sella" AND stage = 9 | [
8241,
1839,
262,
1862,
17876,
17923,
287,
15371,
860,
810,
262,
8598,
17923,
373,
412,
805,
518,
293,
311,
12627,
30,
46506,
1862,
62,
49449,
62,
4871,
2649,
16034,
3084,
62,
20198,
940,
4089,
19,
62,
17,
33411,
12269,
62,
4871,
2649,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
1839,
262,
1862,
17876,
17923,
287,
15371,
860,
810,
262,
8598,
17923,
373,
412,
805,
518,
293,
311,
12627,
30,
46506,
1862,
62,
49449,
62,
4871,
2649,
16034,
3084,
62,
20198,
940,
4089,
19,
62,
17,
33411,
12269,
62,
4871,
2649,... |
What is the Result of the game against Philadelphia Eagles? | SELECT "Result" FROM table_66399 WHERE "Opponent" = 'philadelphia eagles' | [
2061,
318,
262,
25414,
286,
262,
983,
1028,
8857,
13785,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
2791,
28771,
33411,
366,
27524,
3471,
1,
796,
705,
28864,
8273,
304,
37803,
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,
25414,
286,
262,
983,
1028,
8857,
13785,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
2791,
28771,
33411,
366,
27524,
3471,
1,
796,
705,
28864,
8273,
304,
37803,
6
] |
What is the municipality that has an area of exactly 214.44 sq. km? | SELECT "Municipality" FROM table_27799 WHERE "Area (km\u00b2)" = '214.44' | [
2061,
318,
262,
27264,
326,
468,
281,
1989,
286,
3446,
28277,
13,
2598,
19862,
13,
10571,
30,
46506,
366,
44,
9462,
1483,
1,
16034,
3084,
62,
27019,
2079,
33411,
366,
30547,
357,
13276,
59,
84,
405,
65,
17,
16725,
796,
705,
22291,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
27264,
326,
468,
281,
1989,
286,
3446,
28277,
13,
2598,
19862,
13,
10571,
30,
46506,
366,
44,
9462,
1483,
1,
16034,
3084,
62,
27019,
2079,
33411,
366,
30547,
357,
13276,
59,
84,
405,
65,
17,
16725,
796,
705,
22291,
1... |
provide the number of patients whose insurance is government and procedure long title is radical cystectomy? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Government" AND procedures.long_title = "Radical cystectomy" | [
15234,
485,
262,
1271,
286,
3871,
3025,
5096,
318,
1230,
290,
8771,
890,
3670,
318,
7702,
3075,
301,
42505,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
5096,
318,
1230,
290,
8771,
890,
3670,
318,
7702,
3075,
301,
42505,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
61... |
What were the results when Hanne Skak Jensen faced Andreja Klepa as opponent? | SELECT result FROM table_25505246_7 WHERE opponent = "Andreja Klepač" | [
2061,
547,
262,
2482,
618,
9530,
710,
3661,
461,
32623,
7452,
10948,
6592,
15983,
8957,
355,
6125,
30,
46506,
1255,
16034,
3084,
62,
1495,
31654,
26912,
62,
22,
33411,
6125,
796,
366,
31258,
6592,
15983,
8957,
46195,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
547,
262,
2482,
618,
9530,
710,
3661,
461,
32623,
7452,
10948,
6592,
15983,
8957,
355,
6125,
30,
46506,
1255,
16034,
3084,
62,
1495,
31654,
26912,
62,
22,
33411,
6125,
796,
366,
31258,
6592,
15983,
8957,
46195,
1
] |
Number of tag additions by per user. | WITH firstrev_cte AS (SELECT MIN(ph.Id) AS MinId, p.Id FROM Posts AS p JOIN PostHistory AS ph ON ph.PostId = p.Id WHERE ph.Text LIKE '%<##tagName##>%' GROUP BY p.Id), users_cte AS (SELECT PostId AS pid, UserId AS uid, UserDisplayName AS udn FROM PostHistory INNER JOIN firstrev_cte ON PostHistory.Id = MinId) SELECT COUN... | [
15057,
286,
7621,
19885,
416,
583,
2836,
13,
54,
10554,
717,
18218,
62,
310,
68,
7054,
357,
46506,
20625,
7,
746,
13,
7390,
8,
7054,
1855,
7390,
11,
279,
13,
7390,
16034,
12043,
7054,
279,
32357,
1268,
2947,
18122,
7054,
872,
6177,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15057,
286,
7621,
19885,
416,
583,
2836,
13,
54,
10554,
717,
18218,
62,
310,
68,
7054,
357,
46506,
20625,
7,
746,
13,
7390,
8,
7054,
1855,
7390,
11,
279,
13,
7390,
16034,
12043,
7054,
279,
32357,
1268,
2947,
18122,
7054,
872,
6177,
... |
Which Surface has a Result of fernando verdasco? | SELECT "Surface" FROM table_66227 WHERE "Result" = 'fernando verdasco' | [
13828,
20321,
468,
257,
25414,
286,
277,
13023,
78,
3326,
67,
292,
1073,
30,
46506,
366,
14214,
2550,
1,
16034,
3084,
62,
2791,
24403,
33411,
366,
23004,
1,
796,
705,
69,
13023,
78,
3326,
67,
292,
1073,
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
] | [
13828,
20321,
468,
257,
25414,
286,
277,
13023,
78,
3326,
67,
292,
1073,
30,
46506,
366,
14214,
2550,
1,
16034,
3084,
62,
2791,
24403,
33411,
366,
23004,
1,
796,
705,
69,
13023,
78,
3326,
67,
292,
1073,
6
] |
What's the total goals for Alan Sweeney having 0 FA Cup goals and fewer than 0 League Cup apps? | SELECT AVG(total_goals) FROM table_name_91 WHERE fa_cup_goals = 0 AND name = "alan sweeney" AND league_cup_apps < 0 | [
2061,
338,
262,
2472,
4661,
329,
12246,
47005,
1719,
657,
9677,
5454,
4661,
290,
7380,
621,
657,
4041,
5454,
6725,
30,
46506,
35224,
7,
23350,
62,
2188,
874,
8,
16034,
3084,
62,
3672,
62,
6420,
33411,
24685,
62,
25244,
62,
2188,
874,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
4661,
329,
12246,
47005,
1719,
657,
9677,
5454,
4661,
290,
7380,
621,
657,
4041,
5454,
6725,
30,
46506,
35224,
7,
23350,
62,
2188,
874,
8,
16034,
3084,
62,
3672,
62,
6420,
33411,
24685,
62,
25244,
62,
2188,
874,
... |
A bar chart for finding the number of the latest logon date of the students whose family name is 'Jaskolski' or 'Langosh'. | SELECT date_of_latest_logon, COUNT(date_of_latest_logon) FROM Students WHERE family_name = "Jaskolski" OR family_name = "Langosh" | [
32,
2318,
8262,
329,
4917,
262,
1271,
286,
262,
3452,
2604,
261,
3128,
286,
262,
2444,
3025,
1641,
1438,
318,
705,
41,
2093,
10220,
4106,
6,
393,
705,
43,
648,
3768,
4458,
46506,
3128,
62,
1659,
62,
42861,
62,
6404,
261,
11,
327,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
32,
2318,
8262,
329,
4917,
262,
1271,
286,
262,
3452,
2604,
261,
3128,
286,
262,
2444,
3025,
1641,
1438,
318,
705,
41,
2093,
10220,
4106,
6,
393,
705,
43,
648,
3768,
4458,
46506,
3128,
62,
1659,
62,
42861,
62,
6404,
261,
11,
327,
... |
What is the School of the Player with a Date of June 4, 2011? | SELECT school FROM table_name_72 WHERE date = "june 4, 2011" | [
2061,
318,
262,
3961,
286,
262,
7853,
351,
257,
7536,
286,
2795,
604,
11,
2813,
30,
46506,
1524,
16034,
3084,
62,
3672,
62,
4761,
33411,
3128,
796,
366,
73,
1726,
604,
11,
2813,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3961,
286,
262,
7853,
351,
257,
7536,
286,
2795,
604,
11,
2813,
30,
46506,
1524,
16034,
3084,
62,
3672,
62,
4761,
33411,
3128,
796,
366,
73,
1726,
604,
11,
2813,
1
] |
How many grid numbers had a lap number bigger than 54? | SELECT COUNT("Grid") FROM table_11192 WHERE "Laps" > '54' | [
2437,
867,
10706,
3146,
550,
257,
14779,
1271,
5749,
621,
7175,
30,
46506,
327,
28270,
7203,
41339,
4943,
16034,
3084,
62,
1157,
17477,
33411,
366,
43,
1686,
1,
1875,
705,
4051,
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,
10706,
3146,
550,
257,
14779,
1271,
5749,
621,
7175,
30,
46506,
327,
28270,
7203,
41339,
4943,
16034,
3084,
62,
1157,
17477,
33411,
366,
43,
1686,
1,
1875,
705,
4051,
6
] |
When the Home team of geelong played, what was their lowest Crowd number? | SELECT MIN(crowd) FROM table_name_23 WHERE home_team = "geelong" | [
2215,
262,
5995,
1074,
286,
4903,
21537,
2826,
11,
644,
373,
511,
9016,
29452,
1271,
30,
46506,
20625,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
1954,
33411,
1363,
62,
15097,
796,
366,
469,
21537,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
5995,
1074,
286,
4903,
21537,
2826,
11,
644,
373,
511,
9016,
29452,
1271,
30,
46506,
20625,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
1954,
33411,
1363,
62,
15097,
796,
366,
469,
21537,
1
] |
did scrubs win the bet comedy awards or the teen choice awards in 2002 ? | SELECT "award" FROM table_203_482 WHERE "year" = 2002 AND "result" = 'won' | [
20839,
6040,
23161,
1592,
262,
731,
10997,
13304,
393,
262,
6036,
3572,
13304,
287,
6244,
5633,
46506,
366,
707,
446,
1,
16034,
3084,
62,
22416,
62,
40149,
33411,
366,
1941,
1,
796,
6244,
5357,
366,
20274,
1,
796,
705,
26502,
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
] | [
20839,
6040,
23161,
1592,
262,
731,
10997,
13304,
393,
262,
6036,
3572,
13304,
287,
6244,
5633,
46506,
366,
707,
446,
1,
16034,
3084,
62,
22416,
62,
40149,
33411,
366,
1941,
1,
796,
6244,
5357,
366,
20274,
1,
796,
705,
26502,
6
] |
What was the region of the release from May 27, 2009? | SELECT region FROM table_name_55 WHERE date = "may 27, 2009" | [
2061,
373,
262,
3814,
286,
262,
2650,
422,
1737,
2681,
11,
3717,
30,
46506,
3814,
16034,
3084,
62,
3672,
62,
2816,
33411,
3128,
796,
366,
11261,
2681,
11,
3717,
1
] | [
1,
1,
1,
1,
1,
1,
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,
3814,
286,
262,
2650,
422,
1737,
2681,
11,
3717,
30,
46506,
3814,
16034,
3084,
62,
3672,
62,
2816,
33411,
3128,
796,
366,
11261,
2681,
11,
3717,
1
] |
What publisher does Paleo Entertainment develop for? | SELECT publisher FROM table_name_14 WHERE developer = "paleo entertainment" | [
2061,
9991,
857,
46840,
11058,
1205,
329,
30,
46506,
9991,
16034,
3084,
62,
3672,
62,
1415,
33411,
8517,
796,
366,
79,
1000,
78,
9739,
1
] | [
1,
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,
9991,
857,
46840,
11058,
1205,
329,
30,
46506,
9991,
16034,
3084,
62,
3672,
62,
1415,
33411,
8517,
796,
366,
79,
1000,
78,
9739,
1
] |
how many patients are with admission location clinic referral/premature and discharged to snf? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND demographic.discharge_location = "SNF" | [
4919,
867,
3871,
389,
351,
13938,
4067,
15760,
31413,
14,
31605,
1300,
290,
26476,
284,
3013,
69,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
24886,
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... | [
4919,
867,
3871,
389,
351,
13938,
4067,
15760,
31413,
14,
31605,
1300,
290,
26476,
284,
3013,
69,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
24886,
796,... |
What was the word on episode number 673? | SELECT the_wørd FROM table_25691838_2 WHERE episode__number = 673 | [
2061,
373,
262,
1573,
319,
4471,
1271,
718,
4790,
30,
46506,
262,
62,
86,
24172,
4372,
16034,
3084,
62,
1495,
3388,
1507,
2548,
62,
17,
33411,
4471,
834,
17618,
796,
718,
4790
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
1573,
319,
4471,
1271,
718,
4790,
30,
46506,
262,
62,
86,
24172,
4372,
16034,
3084,
62,
1495,
3388,
1507,
2548,
62,
17,
33411,
4471,
834,
17618,
796,
718,
4790
] |
Which away team scored 5.8 (38)? | SELECT "Away team" FROM table_51525 WHERE "Away team score" = '5.8 (38)' | [
13828,
1497,
1074,
7781,
642,
13,
23,
357,
2548,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
45969,
1495,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
20,
13,
23,
357,
2548,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1497,
1074,
7781,
642,
13,
23,
357,
2548,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
45969,
1495,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
20,
13,
23,
357,
2548,
33047
] |
Is wireless combo keyboard and mouse support part of the DDM class? | SELECT "DDM Class" FROM table_251 WHERE "Comparisons" = 'Wireless Combo keyboard and mouse support' | [
3792,
12521,
14831,
10586,
290,
10211,
1104,
636,
286,
262,
20084,
44,
1398,
30,
46506,
366,
16458,
44,
5016,
1,
16034,
3084,
62,
28072,
33411,
366,
50249,
9886,
1,
796,
705,
29451,
1203,
34257,
10586,
290,
10211,
1104,
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
] | [
3792,
12521,
14831,
10586,
290,
10211,
1104,
636,
286,
262,
20084,
44,
1398,
30,
46506,
366,
16458,
44,
5016,
1,
16034,
3084,
62,
28072,
33411,
366,
50249,
9886,
1,
796,
705,
29451,
1203,
34257,
10586,
290,
10211,
1104,
6
] |
What is the fewest goals for when goal difference is +10 and goals against is more than 61? | SELECT MIN(goals_for) FROM table_name_20 WHERE goal_difference = "+10" AND goals_against > 61 | [
2061,
318,
262,
1178,
395,
4661,
329,
618,
3061,
3580,
318,
1343,
940,
290,
4661,
1028,
318,
517,
621,
8454,
30,
46506,
20625,
7,
2188,
874,
62,
1640,
8,
16034,
3084,
62,
3672,
62,
1238,
33411,
3061,
62,
26069,
1945,
796,
43825,
940... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1178,
395,
4661,
329,
618,
3061,
3580,
318,
1343,
940,
290,
4661,
1028,
318,
517,
621,
8454,
30,
46506,
20625,
7,
2188,
874,
62,
1640,
8,
16034,
3084,
62,
3672,
62,
1238,
33411,
3061,
62,
26069,
1945,
796,
43825,
940... |
What are the most points Lap 70 had with a grid larger than 16? | SELECT MAX(points) FROM table_name_71 WHERE laps = 70 AND grid > 16 | [
2061,
389,
262,
749,
2173,
26944,
4317,
550,
351,
257,
10706,
4025,
621,
1467,
30,
46506,
25882,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
4869,
33411,
24590,
796,
4317,
5357,
10706,
1875,
1467
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
749,
2173,
26944,
4317,
550,
351,
257,
10706,
4025,
621,
1467,
30,
46506,
25882,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
4869,
33411,
24590,
796,
4317,
5357,
10706,
1875,
1467
] |
Name how other lyers say enga ullale | SELECT how_other_iyers_say_it FROM table_name_22 WHERE how_ashtagrama_iyers_say_it = "enga ullale" | [
5376,
703,
584,
300,
21200,
910,
1786,
64,
334,
297,
1000,
46506,
703,
62,
847,
62,
7745,
364,
62,
16706,
62,
270,
16034,
3084,
62,
3672,
62,
1828,
33411,
703,
62,
1077,
83,
6713,
64,
62,
7745,
364,
62,
16706,
62,
270,
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
] | [
5376,
703,
584,
300,
21200,
910,
1786,
64,
334,
297,
1000,
46506,
703,
62,
847,
62,
7745,
364,
62,
16706,
62,
270,
16034,
3084,
62,
3672,
62,
1828,
33411,
703,
62,
1077,
83,
6713,
64,
62,
7745,
364,
62,
16706,
62,
270,
796,
366,
... |
how many for floysvik and christer tornell is 7? | SELECT COUNT("Tor Fl\u00f8ysvik") FROM table_30667 WHERE "Christer Tornell" = '7' | [
4919,
867,
329,
781,
19417,
28930,
290,
442,
81,
1694,
12445,
695,
318,
767,
30,
46506,
327,
28270,
7203,
15884,
1610,
59,
84,
405,
69,
23,
893,
28930,
4943,
16034,
3084,
62,
1270,
28933,
33411,
366,
1925,
81,
1694,
31940,
695,
1,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
329,
781,
19417,
28930,
290,
442,
81,
1694,
12445,
695,
318,
767,
30,
46506,
327,
28270,
7203,
15884,
1610,
59,
84,
405,
69,
23,
893,
28930,
4943,
16034,
3084,
62,
1270,
28933,
33411,
366,
1925,
81,
1694,
31940,
695,
1,
7... |
What is the highest Game, when Record is '21-30-11'? | SELECT MAX("Game") FROM table_8177 WHERE "Record" = '21-30-11' | [
2061,
318,
262,
4511,
3776,
11,
618,
13266,
318,
705,
2481,
12,
1270,
12,
1157,
30960,
46506,
25882,
7203,
8777,
4943,
16034,
3084,
62,
23,
22413,
33411,
366,
23739,
1,
796,
705,
2481,
12,
1270,
12,
1157,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
3776,
11,
618,
13266,
318,
705,
2481,
12,
1270,
12,
1157,
30960,
46506,
25882,
7203,
8777,
4943,
16034,
3084,
62,
23,
22413,
33411,
366,
23739,
1,
796,
705,
2481,
12,
1270,
12,
1157,
6
] |
What round was Ken Irvin drafted? | SELECT MAX(round) FROM table_name_54 WHERE player = "ken irvin" | [
2061,
2835,
373,
7148,
5686,
7114,
15937,
30,
46506,
25882,
7,
744,
8,
16034,
3084,
62,
3672,
62,
4051,
33411,
2137,
796,
366,
3464,
4173,
7114,
1
] | [
1,
1,
1,
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,
2835,
373,
7148,
5686,
7114,
15937,
30,
46506,
25882,
7,
744,
8,
16034,
3084,
62,
3672,
62,
4051,
33411,
2137,
796,
366,
3464,
4173,
7114,
1
] |
when patient 5828 had the first measurement of arterial bp mean on the current icu visit? | SELECT chartevents.charttime FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 5828) AND icustays.outtime IS NULL) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHE... | [
12518,
5827,
7618,
2078,
550,
262,
717,
15558,
286,
30675,
498,
275,
79,
1612,
319,
262,
1459,
14158,
84,
3187,
30,
46506,
8262,
31534,
13,
40926,
2435,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
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... | [
12518,
5827,
7618,
2078,
550,
262,
717,
15558,
286,
30675,
498,
275,
79,
1612,
319,
262,
1459,
14158,
84,
3187,
30,
46506,
8262,
31534,
13,
40926,
2435,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46... |
how many inpatient hospital admission patients were hospitalized for more than 13 days? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "TRANSFER FROM HOSP/EXTRAM" AND demographic.days_stay > "13" | [
4919,
867,
287,
26029,
4436,
13938,
3871,
547,
31736,
329,
517,
621,
1511,
1528,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
24886,
796,
366,
5446,
15037... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
287,
26029,
4436,
13938,
3871,
547,
31736,
329,
517,
621,
1511,
1528,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
24886,
796,
366,
5446,
15037... |
Show all allergy types and the number of allergies in each type in a bar chart, rank total number in ascending order. | SELECT AllergyType, COUNT(*) FROM Allergy_Type GROUP BY AllergyType ORDER BY COUNT(*) | [
15307,
477,
36197,
3858,
290,
262,
1271,
286,
36665,
287,
1123,
2099,
287,
257,
2318,
8262,
11,
4279,
2472,
1271,
287,
41988,
1502,
13,
46506,
1439,
26079,
6030,
11,
327,
28270,
7,
28104,
16034,
1439,
26079,
62,
6030,
44441,
11050,
1439... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
36197,
3858,
290,
262,
1271,
286,
36665,
287,
1123,
2099,
287,
257,
2318,
8262,
11,
4279,
2472,
1271,
287,
41988,
1502,
13,
46506,
1439,
26079,
6030,
11,
327,
28270,
7,
28104,
16034,
1439,
26079,
62,
6030,
44441,
11050,
1439... |
Find ACC_Road and the average of School_ID , and group by attribute ACC_Road, and visualize them by a bar chart, I want to list by the bar from low to high. | SELECT ACC_Road, AVG(School_ID) FROM basketball_match GROUP BY ACC_Road ORDER BY ACC_Road | [
16742,
15859,
62,
29197,
290,
262,
2811,
286,
3961,
62,
2389,
837,
290,
1448,
416,
11688,
15859,
62,
29197,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
314,
765,
284,
1351,
416,
262,
2318,
422,
1877,
284,
1029,
13,
46506,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
15859,
62,
29197,
290,
262,
2811,
286,
3961,
62,
2389,
837,
290,
1448,
416,
11688,
15859,
62,
29197,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
314,
765,
284,
1351,
416,
262,
2318,
422,
1877,
284,
1029,
13,
46506,
15859,
... |
What's the score when the tie number was replay? | SELECT score FROM table_name_70 WHERE tie_no = "replay" | [
2061,
338,
262,
4776,
618,
262,
9839,
1271,
373,
24788,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2154,
33411,
9839,
62,
3919,
796,
366,
260,
1759,
1
] | [
1,
1,
1,
1,
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,
4776,
618,
262,
9839,
1271,
373,
24788,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2154,
33411,
9839,
62,
3919,
796,
366,
260,
1759,
1
] |
What is the location/attendance with a 26-11 record? | SELECT location_attendance FROM table_name_95 WHERE record = "26-11" | [
2061,
318,
262,
4067,
14,
1078,
437,
590,
351,
257,
2608,
12,
1157,
1700,
30,
46506,
4067,
62,
1078,
437,
590,
16034,
3084,
62,
3672,
62,
3865,
33411,
1700,
796,
366,
2075,
12,
1157,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4067,
14,
1078,
437,
590,
351,
257,
2608,
12,
1157,
1700,
30,
46506,
4067,
62,
1078,
437,
590,
16034,
3084,
62,
3672,
62,
3865,
33411,
1700,
796,
366,
2075,
12,
1157,
1
] |
Which Against has a Peel of waroona, and a Byes larger than 0? | SELECT MAX(against) FROM table_name_55 WHERE peel = "waroona" AND byes > 0 | [
13828,
12914,
468,
257,
49266,
286,
1175,
2049,
64,
11,
290,
257,
2750,
274,
4025,
621,
657,
30,
46506,
25882,
7,
32826,
8,
16034,
3084,
62,
3672,
62,
2816,
33411,
31738,
796,
366,
5767,
2049,
64,
1,
5357,
416,
274,
1875,
657
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
12914,
468,
257,
49266,
286,
1175,
2049,
64,
11,
290,
257,
2750,
274,
4025,
621,
657,
30,
46506,
25882,
7,
32826,
8,
16034,
3084,
62,
3672,
62,
2816,
33411,
31738,
796,
366,
5767,
2049,
64,
1,
5357,
416,
274,
1875,
657
] |
how much is the minimum total hospital cost that includes neurogenic shock since 4 years ago? | SELECT MIN(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'neurogenic shock')) AND DATETIME(cost.charge... | [
4919,
881,
318,
262,
5288,
2472,
4436,
1575,
326,
3407,
7669,
38516,
6380,
1201,
604,
812,
2084,
30,
46506,
20625,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
1575,
33411,
1575,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
881,
318,
262,
5288,
2472,
4436,
1575,
326,
3407,
7669,
38516,
6380,
1201,
604,
812,
2084,
30,
46506,
20625,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
1575,
33411,
1575,
... |
What is the number of gold medals when the number of bronze medals is 8? | SELECT gold FROM table_name_88 WHERE bronze = "8" | [
2061,
318,
262,
1271,
286,
3869,
28057,
618,
262,
1271,
286,
22101,
28057,
318,
807,
30,
46506,
3869,
16034,
3084,
62,
3672,
62,
3459,
33411,
22101,
796,
366,
23,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
3869,
28057,
618,
262,
1271,
286,
22101,
28057,
318,
807,
30,
46506,
3869,
16034,
3084,
62,
3672,
62,
3459,
33411,
22101,
796,
366,
23,
1
] |
Name the sum of gold which has a silver more than 1 | SELECT SUM(gold) FROM table_name_23 WHERE silver > 1 | [
5376,
262,
2160,
286,
3869,
543,
468,
257,
8465,
517,
621,
352,
46506,
35683,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
1954,
33411,
8465,
1875,
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
] | [
5376,
262,
2160,
286,
3869,
543,
468,
257,
8465,
517,
621,
352,
46506,
35683,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
1954,
33411,
8465,
1875,
352
] |
What is the 1994 finish associated with a 1995 finish of 3R and 1997 of QF? | SELECT "1994" FROM table_47041 WHERE "1997" = 'qf' AND "1995" = '3r' | [
2061,
318,
262,
9162,
5461,
3917,
351,
257,
8735,
5461,
286,
513,
49,
290,
8309,
286,
1195,
37,
30,
46506,
366,
22666,
1,
16034,
3084,
62,
27790,
3901,
33411,
366,
21498,
1,
796,
705,
80,
69,
6,
5357,
366,
21908,
1,
796,
705,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9162,
5461,
3917,
351,
257,
8735,
5461,
286,
513,
49,
290,
8309,
286,
1195,
37,
30,
46506,
366,
22666,
1,
16034,
3084,
62,
27790,
3901,
33411,
366,
21498,
1,
796,
705,
80,
69,
6,
5357,
366,
21908,
1,
796,
705,
18,
... |
what is the total number of drivers that are from japan ? | SELECT COUNT("diver") FROM table_203_780 WHERE "diver" = 'jpn' | [
10919,
318,
262,
2472,
1271,
286,
6643,
326,
389,
422,
474,
2674,
5633,
46506,
327,
28270,
7203,
67,
1428,
4943,
16034,
3084,
62,
22416,
62,
40873,
33411,
366,
67,
1428,
1,
796,
705,
73,
21999,
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,
2472,
1271,
286,
6643,
326,
389,
422,
474,
2674,
5633,
46506,
327,
28270,
7203,
67,
1428,
4943,
16034,
3084,
62,
22416,
62,
40873,
33411,
366,
67,
1428,
1,
796,
705,
73,
21999,
6
] |
Find the product category description of the product category with code 'Spices'. | SELECT product_category_description FROM ref_product_categories WHERE product_category_code = "Spices" | [
16742,
262,
1720,
6536,
6764,
286,
262,
1720,
6536,
351,
2438,
705,
4561,
1063,
4458,
46506,
1720,
62,
22872,
62,
11213,
16034,
1006,
62,
11167,
62,
66,
26129,
33411,
1720,
62,
22872,
62,
8189,
796,
366,
4561,
1063,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1720,
6536,
6764,
286,
262,
1720,
6536,
351,
2438,
705,
4561,
1063,
4458,
46506,
1720,
62,
22872,
62,
11213,
16034,
1006,
62,
11167,
62,
66,
26129,
33411,
1720,
62,
22872,
62,
8189,
796,
366,
4561,
1063,
1
] |
Your Posting Quality (Reputation per Posts). Enter your user ID and find out how much rep you earn per post | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "rank", Id AS "user_link", Id, Reputation, counts."#_posts", Reputation / counts."#_posts" AS "rep_per_post" FROM Users JOIN LATERAL (SELECT COUNT(*) FROM Posts WHERE Posts.OwnerUserId = Users.Id) AS counts("#_posts") WHERE counts."#_posts" > 0 ORDER BY 'rep_per_po... | [
7120,
2947,
278,
14156,
357,
6207,
7094,
583,
12043,
737,
6062,
534,
2836,
4522,
290,
1064,
503,
703,
881,
1128,
345,
5160,
583,
1281,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
7120,
2947,
278,
14156,
357,
6207,
7094,
583,
12043,
737,
6062,
534,
2836,
4522,
290,
1064,
503,
703,
881,
1128,
345,
5160,
583,
1281,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
... |
How many dates of demolition are located on Wood Street? | SELECT COUNT("Date of demolition") FROM table_71985 WHERE "Location" = 'wood street' | [
2437,
867,
9667,
286,
30164,
389,
5140,
319,
5326,
3530,
30,
46506,
327,
28270,
7203,
10430,
286,
30164,
4943,
16034,
3084,
62,
22,
29110,
33411,
366,
14749,
1,
796,
705,
3822,
4675,
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,
9667,
286,
30164,
389,
5140,
319,
5326,
3530,
30,
46506,
327,
28270,
7203,
10430,
286,
30164,
4943,
16034,
3084,
62,
22,
29110,
33411,
366,
14749,
1,
796,
705,
3822,
4675,
6
] |
What is Summoned, when Elected is 'March 1298'? | SELECT summoned FROM table_name_23 WHERE elected = "march 1298" | [
2061,
318,
19515,
276,
11,
618,
5903,
276,
318,
705,
16192,
1105,
4089,
30960,
46506,
20056,
16034,
3084,
62,
3672,
62,
1954,
33411,
7018,
796,
366,
76,
998,
1105,
4089,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
19515,
276,
11,
618,
5903,
276,
318,
705,
16192,
1105,
4089,
30960,
46506,
20056,
16034,
3084,
62,
3672,
62,
1954,
33411,
7018,
796,
366,
76,
998,
1105,
4089,
1
] |
in 12/last year when did patient 13528 last get a microbiology test? | SELECT microbiologyevents.charttime FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 13528) AND DATETIME(microbiologyevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') AND STRFTIME('%m', microbiolo... | [
259,
1105,
14,
12957,
614,
618,
750,
5827,
17501,
2078,
938,
651,
257,
24559,
1435,
1332,
30,
46506,
24559,
1435,
31534,
13,
40926,
2435,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
259,
1105,
14,
12957,
614,
618,
750,
5827,
17501,
2078,
938,
651,
257,
24559,
1435,
1332,
30,
46506,
24559,
1435,
31534,
13,
40926,
2435,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25... |
What is the model number for the order part numbered tmrm75dam22gg? | SELECT "Model Number" FROM table_29393 WHERE "Order Part Number" = 'TMRM75DAM22GG' | [
2061,
318,
262,
2746,
1271,
329,
262,
1502,
636,
25840,
256,
76,
26224,
2425,
11043,
1828,
1130,
30,
46506,
366,
17633,
7913,
1,
16034,
3084,
62,
1959,
26007,
33411,
366,
18743,
2142,
7913,
1,
796,
705,
51,
13599,
44,
2425,
35,
2390,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2746,
1271,
329,
262,
1502,
636,
25840,
256,
76,
26224,
2425,
11043,
1828,
1130,
30,
46506,
366,
17633,
7913,
1,
16034,
3084,
62,
1959,
26007,
33411,
366,
18743,
2142,
7913,
1,
796,
705,
51,
13599,
44,
2425,
35,
2390,
... |
What is the russian title of the ugly swans? | SELECT russian_title FROM table_207795_1 WHERE english_title = "The Ugly Swans" | [
2061,
318,
262,
374,
31562,
3670,
286,
262,
13400,
1509,
504,
30,
46506,
374,
31562,
62,
7839,
16034,
3084,
62,
1238,
3324,
3865,
62,
16,
33411,
46932,
62,
7839,
796,
366,
464,
471,
10853,
2451,
504,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
374,
31562,
3670,
286,
262,
13400,
1509,
504,
30,
46506,
374,
31562,
62,
7839,
16034,
3084,
62,
1238,
3324,
3865,
62,
16,
33411,
46932,
62,
7839,
796,
366,
464,
471,
10853,
2451,
504,
1
] |
Which Works number has a Number larger than 807, and a Type of 0-6-0, and a Date of 1920? | SELECT AVG("Works number") FROM table_5555 WHERE "Number" > '807' AND "Type" = '0-6-0' AND "Date" = '1920' | [
13828,
10933,
1271,
468,
257,
7913,
4025,
621,
807,
2998,
11,
290,
257,
5994,
286,
657,
12,
21,
12,
15,
11,
290,
257,
7536,
286,
14062,
30,
46506,
35224,
7203,
23044,
1271,
4943,
16034,
3084,
62,
2816,
2816,
33411,
366,
15057,
1,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10933,
1271,
468,
257,
7913,
4025,
621,
807,
2998,
11,
290,
257,
5994,
286,
657,
12,
21,
12,
15,
11,
290,
257,
7536,
286,
14062,
30,
46506,
35224,
7203,
23044,
1271,
4943,
16034,
3084,
62,
2816,
2816,
33411,
366,
15057,
1,
18... |
what is the number of patients whose admission year is less than 2194 and diagnoses long title is hypopotassemia? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2194" AND diagnoses.long_title = "Hypopotassemia" | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
22913,
290,
40567,
890,
3670,
318,
5328,
43372,
21612,
20730,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
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... | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
22913,
290,
40567,
890,
3670,
318,
5328,
43372,
21612,
20730,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
2... |
give me the number of patients whose gender is m and year of birth is less than 2073? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "M" AND demographic.dob_year < "2073" | [
26535,
502,
262,
1271,
286,
3871,
3025,
5279,
318,
285,
290,
614,
286,
4082,
318,
1342,
621,
1160,
4790,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26535,
502,
262,
1271,
286,
3871,
3025,
5279,
318,
285,
290,
614,
286,
4082,
318,
1342,
621,
1160,
4790,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
4... |
What is the most amount of stumpings any player had? | SELECT MAX("Stumpings") FROM table_29971 | [
2061,
318,
262,
749,
2033,
286,
42497,
654,
597,
2137,
550,
30,
46506,
25882,
7203,
1273,
931,
654,
4943,
16034,
3084,
62,
22579,
4869
] | [
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,
2033,
286,
42497,
654,
597,
2137,
550,
30,
46506,
25882,
7203,
1273,
931,
654,
4943,
16034,
3084,
62,
22579,
4869
] |
Provide the number of patients admitted before 2197 who had an ascitic fluid lab test. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2197" AND lab.fluid = "Ascites" | [
15946,
485,
262,
1271,
286,
3871,
6848,
878,
362,
24991,
508,
550,
281,
10570,
16233,
11711,
2248,
1332,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15946,
485,
262,
1271,
286,
3871,
6848,
878,
362,
24991,
508,
550,
281,
10570,
16233,
11711,
2248,
1332,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
... |
Plot a scatter chart, gameid by sum hours played. | SELECT GameID, SUM(Hours_Played) FROM Plays_Games GROUP BY GameID | [
43328,
257,
41058,
8262,
11,
983,
312,
416,
2160,
2250,
2826,
13,
46506,
3776,
2389,
11,
35683,
7,
39792,
62,
11002,
276,
8,
16034,
38116,
62,
24474,
44441,
11050,
3776,
2389
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
43328,
257,
41058,
8262,
11,
983,
312,
416,
2160,
2250,
2826,
13,
46506,
3776,
2389,
11,
35683,
7,
39792,
62,
11002,
276,
8,
16034,
38116,
62,
24474,
44441,
11050,
3776,
2389
] |
Find the name and salary of the instructors who are advisors of any student from History department? | SELECT T2.name, T2.salary FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id = T2.id JOIN student AS T3 ON T1.s_id = T3.id WHERE T3.dept_name = 'History' | [
16742,
262,
1438,
290,
9588,
286,
262,
33667,
508,
389,
32456,
286,
597,
3710,
422,
7443,
5011,
30,
46506,
309,
17,
13,
3672,
11,
309,
17,
13,
21680,
560,
16034,
20685,
7054,
309,
16,
32357,
1268,
21187,
7054,
309,
17,
6177,
309,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
1438,
290,
9588,
286,
262,
33667,
508,
389,
32456,
286,
597,
3710,
422,
7443,
5011,
30,
46506,
309,
17,
13,
3672,
11,
309,
17,
13,
21680,
560,
16034,
20685,
7054,
309,
16,
32357,
1268,
21187,
7054,
309,
17,
6177,
309,
16... |
What is 2000, when 1996 is 'A', when 1997 is 'A', and when 2007 is 'A'? | SELECT "2000" FROM table_48509 WHERE "1996" = 'a' AND "1997" = 'a' AND "2007" = 'a' | [
2061,
318,
4751,
11,
618,
8235,
318,
705,
32,
3256,
618,
8309,
318,
705,
32,
3256,
290,
618,
4343,
318,
705,
32,
30960,
46506,
366,
11024,
1,
16034,
3084,
62,
2780,
29022,
33411,
366,
22288,
1,
796,
705,
64,
6,
5357,
366,
21498,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4751,
11,
618,
8235,
318,
705,
32,
3256,
618,
8309,
318,
705,
32,
3256,
290,
618,
4343,
318,
705,
32,
30960,
46506,
366,
11024,
1,
16034,
3084,
62,
2780,
29022,
33411,
366,
22288,
1,
796,
705,
64,
6,
5357,
366,
21498,
1... |
What's the report for the race name, XIII Grand Prix de l'Albigeois? | SELECT "Report" FROM table_16778 WHERE "Race Name" = 'XIII Grand Prix de l''Albigeois' | [
2061,
338,
262,
989,
329,
262,
3234,
1438,
11,
35302,
5675,
23832,
390,
300,
6,
2348,
65,
10045,
10924,
30,
46506,
366,
19100,
1,
16034,
3084,
62,
1433,
39761,
33411,
366,
35157,
6530,
1,
796,
705,
55,
10855,
5675,
23832,
390,
300,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
989,
329,
262,
3234,
1438,
11,
35302,
5675,
23832,
390,
300,
6,
2348,
65,
10045,
10924,
30,
46506,
366,
19100,
1,
16034,
3084,
62,
1433,
39761,
33411,
366,
35157,
6530,
1,
796,
705,
55,
10855,
5675,
23832,
390,
300,
... |
What is the total number of the value Others#, when the county is Langlade, and when the value Bush# is greater than 6,235? | SELECT COUNT("Others#") FROM table_15684 WHERE "County" = 'langlade' AND "Bush#" > '6,235' | [
2061,
318,
262,
2472,
1271,
286,
262,
1988,
12691,
2,
11,
618,
262,
7968,
318,
16332,
75,
671,
11,
290,
618,
262,
1988,
5511,
2,
318,
3744,
621,
718,
11,
22370,
30,
46506,
327,
28270,
7203,
25599,
2,
4943,
16034,
3084,
62,
1314,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
2472,
1271,
286,
262,
1988,
12691,
2,
11,
618,
262,
7968,
318,
16332,
75,
671,
11,
290,
618,
262,
1988,
5511,
2,
318,
3744,
621,
718,
11,
22370,
30,
46506,
327,
28270,
7203,
25599,
2,
4943,
16034,
3084,
62,
1314,
4... |
until 3 years ago, what are the top three most frequent lab tests given to patients within the same month after the diagnosis of anemia-other chronic dis. | SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t3.itemid FROM (SELECT t2.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.i... | [
28446,
513,
812,
2084,
11,
644,
389,
262,
1353,
1115,
749,
10792,
2248,
5254,
1813,
284,
3871,
1626,
262,
976,
1227,
706,
262,
13669,
286,
281,
22859,
12,
847,
10726,
595,
13,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
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... | [
28446,
513,
812,
2084,
11,
644,
389,
262,
1353,
1115,
749,
10792,
2248,
5254,
1813,
284,
3871,
1626,
262,
976,
1227,
706,
262,
13669,
286,
281,
22859,
12,
847,
10726,
595,
13,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
... |
What is the Romanization for my old sweetheart? | SELECT romanization FROM table_name_81 WHERE english_title = "my old sweetheart" | [
2061,
318,
262,
7993,
1634,
329,
616,
1468,
6029,
11499,
30,
46506,
374,
5185,
1634,
16034,
3084,
62,
3672,
62,
6659,
33411,
46932,
62,
7839,
796,
366,
1820,
1468,
6029,
11499,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
7993,
1634,
329,
616,
1468,
6029,
11499,
30,
46506,
374,
5185,
1634,
16034,
3084,
62,
3672,
62,
6659,
33411,
46932,
62,
7839,
796,
366,
1820,
1468,
6029,
11499,
1
] |
What was the result for the 1966 fifa world cup qualification in mexico city, mexico and a goal over 8? | SELECT "Result" FROM table_7820 WHERE "Venue" = 'mexico city, mexico' AND "Competition" = '1966 fifa world cup qualification' AND "Goal" > '8' | [
2061,
373,
262,
1255,
329,
262,
19322,
5515,
64,
995,
6508,
28587,
287,
502,
87,
3713,
1748,
11,
502,
87,
3713,
290,
257,
3061,
625,
807,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
3695,
1238,
33411,
366,
37522,
518,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
373,
262,
1255,
329,
262,
19322,
5515,
64,
995,
6508,
28587,
287,
502,
87,
3713,
1748,
11,
502,
87,
3713,
290,
257,
3061,
625,
807,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
3695,
1238,
33411,
366,
37522,
518,
1,
796,
705,
... |
How much power does the 1500 model have with a displacement of 1490cc? | SELECT "Power" FROM table_44106 WHERE "Model" = '1500' AND "Displacement" = '1490cc' | [
2437,
881,
1176,
857,
262,
20007,
2746,
423,
351,
257,
29358,
286,
1478,
3829,
535,
30,
46506,
366,
13434,
1,
16034,
3084,
62,
2598,
15801,
33411,
366,
17633,
1,
796,
705,
33698,
6,
5357,
366,
7279,
489,
5592,
1,
796,
705,
1415,
382... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
881,
1176,
857,
262,
20007,
2746,
423,
351,
257,
29358,
286,
1478,
3829,
535,
30,
46506,
366,
13434,
1,
16034,
3084,
62,
2598,
15801,
33411,
366,
17633,
1,
796,
705,
33698,
6,
5357,
366,
7279,
489,
5592,
1,
796,
705,
1415,
382... |
Which district had SC reserved and 169 Constituents? | SELECT "District" FROM table_62768 WHERE "Reserved for ( SC / ST /None)" = 'sc' AND "Constituency number" = '169' | [
13828,
4783,
550,
6374,
10395,
290,
27191,
4757,
34272,
658,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
49856,
3104,
33411,
366,
4965,
8520,
329,
357,
6374,
1220,
3563,
1220,
14202,
16725,
796,
705,
1416,
6,
5357,
366,
34184,
34272,
138... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4783,
550,
6374,
10395,
290,
27191,
4757,
34272,
658,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
49856,
3104,
33411,
366,
4965,
8520,
329,
357,
6374,
1220,
3563,
1220,
14202,
16725,
796,
705,
1416,
6,
5357,
366,
34184,
34272,
138... |
count the number of patients whose primary disease is bradycardia and year of birth is less than 2121? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "BRADYCARDIA" AND demographic.dob_year < "2121" | [
9127,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
865,
4597,
9517,
544,
290,
614,
286,
4082,
318,
1342,
621,
362,
19244,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
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,
4165,
4369,
318,
865,
4597,
9517,
544,
290,
614,
286,
4082,
318,
1342,
621,
362,
19244,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
... |
What is the nickname of the team who was in the GFL from 1986-1988? | SELECT "Nickname" FROM table_60138 WHERE "Years in GFL" = '1986-1988' | [
2061,
318,
262,
21814,
286,
262,
1074,
508,
373,
287,
262,
402,
3697,
422,
12113,
12,
26709,
30,
46506,
366,
23609,
3672,
1,
16034,
3084,
62,
41706,
2548,
33411,
366,
40630,
287,
402,
3697,
1,
796,
705,
28054,
12,
26709,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
21814,
286,
262,
1074,
508,
373,
287,
262,
402,
3697,
422,
12113,
12,
26709,
30,
46506,
366,
23609,
3672,
1,
16034,
3084,
62,
41706,
2548,
33411,
366,
40630,
287,
402,
3697,
1,
796,
705,
28054,
12,
26709,
6
] |
how many married patients have procedure icd9 code 3611? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.marital_status = "MARRIED" AND procedures.icd9_code = "3611" | [
4919,
867,
6405,
3871,
423,
8771,
14158,
67,
24,
2438,
4570,
1157,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
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... | [
4919,
867,
6405,
3871,
423,
8771,
14158,
67,
24,
2438,
4570,
1157,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
... |
how many lawyers have won the award between 1883 and 2014 ? | SELECT COUNT(*) FROM table_203_509 WHERE "position" = 'lawyer' AND "year" >= 1883 AND "year" <= 2014 | [
4919,
867,
9326,
423,
1839,
262,
5764,
1022,
1248,
5999,
290,
1946,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
29022,
33411,
366,
9150,
1,
796,
705,
6270,
9860,
6,
5357,
366,
1941,
1,
18189,
1248,
5999,
5357,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
9326,
423,
1839,
262,
5764,
1022,
1248,
5999,
290,
1946,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
29022,
33411,
366,
9150,
1,
796,
705,
6270,
9860,
6,
5357,
366,
1941,
1,
18189,
1248,
5999,
5357,
366,
... |
What is the original title for the winner and nominees 'Secrets & Lies'? | SELECT original_title FROM table_name_25 WHERE winner_and_nominees = "secrets & lies" | [
2061,
318,
262,
2656,
3670,
329,
262,
8464,
290,
26456,
705,
6558,
8004,
1222,
35337,
30960,
46506,
2656,
62,
7839,
16034,
3084,
62,
3672,
62,
1495,
33411,
8464,
62,
392,
62,
26601,
500,
274,
796,
366,
2363,
8004,
1222,
7363,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2656,
3670,
329,
262,
8464,
290,
26456,
705,
6558,
8004,
1222,
35337,
30960,
46506,
2656,
62,
7839,
16034,
3084,
62,
3672,
62,
1495,
33411,
8464,
62,
392,
62,
26601,
500,
274,
796,
366,
2363,
8004,
1222,
7363,
1
] |
How many Laps have a Driver of david coulthard, and a Grid smaller than 14? | SELECT SUM("Laps") FROM table_36546 WHERE "Driver" = 'david coulthard' AND "Grid" < '14' | [
2437,
867,
406,
1686,
423,
257,
12434,
286,
21970,
2284,
75,
400,
446,
11,
290,
257,
24846,
4833,
621,
1478,
30,
46506,
35683,
7203,
43,
1686,
4943,
16034,
3084,
62,
24760,
3510,
33411,
366,
32103,
1,
796,
705,
67,
8490,
2284,
75,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
406,
1686,
423,
257,
12434,
286,
21970,
2284,
75,
400,
446,
11,
290,
257,
24846,
4833,
621,
1478,
30,
46506,
35683,
7203,
43,
1686,
4943,
16034,
3084,
62,
24760,
3510,
33411,
366,
32103,
1,
796,
705,
67,
8490,
2284,
75,
4... |
Which CFL team did the player from British Columbia get drafted to | SELECT "CFL Team" FROM table_20814 WHERE "College" = 'British Columbia' | [
13828,
45239,
1074,
750,
262,
2137,
422,
3517,
9309,
651,
15937,
284,
46506,
366,
34,
3697,
4816,
1,
16034,
3084,
62,
21315,
1415,
33411,
366,
38951,
1,
796,
705,
25631,
9309,
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
] | [
13828,
45239,
1074,
750,
262,
2137,
422,
3517,
9309,
651,
15937,
284,
46506,
366,
34,
3697,
4816,
1,
16034,
3084,
62,
21315,
1415,
33411,
366,
38951,
1,
796,
705,
25631,
9309,
6
] |
What is the lowest round for an overall pick of 349 with a pick number in the round over 11? | SELECT MIN("Round") FROM table_76383 WHERE "Overall" = '349' AND "Pick" > '11' | [
2061,
318,
262,
9016,
2835,
329,
281,
4045,
2298,
286,
44367,
351,
257,
2298,
1271,
287,
262,
2835,
625,
1367,
30,
46506,
20625,
7203,
22685,
4943,
16034,
3084,
62,
4304,
34741,
33411,
366,
16350,
1,
796,
705,
27371,
6,
5357,
366,
316... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
2835,
329,
281,
4045,
2298,
286,
44367,
351,
257,
2298,
1271,
287,
262,
2835,
625,
1367,
30,
46506,
20625,
7203,
22685,
4943,
16034,
3084,
62,
4304,
34741,
33411,
366,
16350,
1,
796,
705,
27371,
6,
5357,
366,
316... |
how many patients are diagnosed with the primary disease st elevated myocardial infarction or cardiac cath and had the lab test for abnormal status? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.diagnosis = "ST ELEVATED MYOCARDIAL INFARCTION\CARDIAC CATH" AND lab.flag = "abnormal" | [
4919,
867,
3871,
389,
14641,
351,
262,
4165,
4369,
336,
15321,
616,
44412,
498,
1167,
283,
596,
393,
26077,
32171,
290,
550,
262,
2248,
1332,
329,
18801,
3722,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
14641,
351,
262,
4165,
4369,
336,
15321,
616,
44412,
498,
1167,
283,
596,
393,
26077,
32171,
290,
550,
262,
2248,
1332,
329,
18801,
3722,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,... |
bleeding diathesis | SELECT * FROM table_test_7 WHERE bleeding = 1 | [
903,
8228,
2566,
265,
8497,
46506,
1635,
16034,
3084,
62,
9288,
62,
22,
33411,
16832,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
903,
8228,
2566,
265,
8497,
46506,
1635,
16034,
3084,
62,
9288,
62,
22,
33411,
16832,
796,
352
] |
What is Player, when Place is 'T9', and when Score is '73-70=143'? | SELECT "Player" FROM table_46585 WHERE "Place" = 't9' AND "Score" = '73-70=143' | [
2061,
318,
7853,
11,
618,
8474,
318,
705,
51,
24,
3256,
290,
618,
15178,
318,
705,
4790,
12,
2154,
28,
21139,
30960,
46506,
366,
14140,
1,
16034,
3084,
62,
42018,
5332,
33411,
366,
27271,
1,
796,
705,
83,
24,
6,
5357,
366,
26595,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7853,
11,
618,
8474,
318,
705,
51,
24,
3256,
290,
618,
15178,
318,
705,
4790,
12,
2154,
28,
21139,
30960,
46506,
366,
14140,
1,
16034,
3084,
62,
42018,
5332,
33411,
366,
27271,
1,
796,
705,
83,
24,
6,
5357,
366,
26595,
... |
What was the latest round with a running back from a California college? | SELECT MAX(round) FROM table_name_55 WHERE position = "running back" AND college = "california" | [
2061,
373,
262,
3452,
2835,
351,
257,
2491,
736,
422,
257,
3442,
4152,
30,
46506,
25882,
7,
744,
8,
16034,
3084,
62,
3672,
62,
2816,
33411,
2292,
796,
366,
20270,
736,
1,
5357,
4152,
796,
366,
9948,
361,
3317,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3452,
2835,
351,
257,
2491,
736,
422,
257,
3442,
4152,
30,
46506,
25882,
7,
744,
8,
16034,
3084,
62,
3672,
62,
2816,
33411,
2292,
796,
366,
20270,
736,
1,
5357,
4152,
796,
366,
9948,
361,
3317,
1
] |
If I want 2 or more professors for a course how many choices do I have ? | SELECT COUNT(DISTINCT course_offering.course_id) FROM course, course_offering, offering_instructor AS OFFERING_INSTRUCTOR_0, offering_instructor AS OFFERING_INSTRUCTOR_1, offering_instructor AS OFFERING_INSTRUCTOR_2 WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND OFFERING_INSTRUCTO... | [
1532,
314,
765,
362,
393,
517,
20339,
329,
257,
1781,
703,
867,
7747,
466,
314,
423,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
17319,
62,
312,
8,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
6011,
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... | [
1532,
314,
765,
362,
393,
517,
20339,
329,
257,
1781,
703,
867,
7747,
466,
314,
423,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
17319,
62,
312,
8,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
6011,
6... |
Give the ids for documents that have the budget description 'Government'. | SELECT T1.document_id FROM documents_with_expenses AS T1 JOIN ref_budget_codes AS T2 ON T1.budget_type_code = T2.budget_type_code WHERE T2.budget_type_description = "Government" | [
23318,
262,
220,
2340,
329,
4963,
326,
423,
262,
4466,
6764,
705,
28848,
4458,
46506,
309,
16,
13,
22897,
62,
312,
16034,
4963,
62,
4480,
62,
11201,
4541,
7054,
309,
16,
32357,
1268,
1006,
62,
37315,
62,
40148,
7054,
309,
17,
6177,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
220,
2340,
329,
4963,
326,
423,
262,
4466,
6764,
705,
28848,
4458,
46506,
309,
16,
13,
22897,
62,
312,
16034,
4963,
62,
4480,
62,
11201,
4541,
7054,
309,
16,
32357,
1268,
1006,
62,
37315,
62,
40148,
7054,
309,
17,
6177,
... |
What is the highest draw number when 23 points are scored? | SELECT MAX(draw) FROM table_name_36 WHERE points = 23 | [
2061,
318,
262,
4511,
3197,
1271,
618,
2242,
2173,
389,
7781,
30,
46506,
25882,
7,
19334,
8,
16034,
3084,
62,
3672,
62,
2623,
33411,
2173,
796,
2242
] | [
1,
1,
1,
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,
3197,
1271,
618,
2242,
2173,
389,
7781,
30,
46506,
25882,
7,
19334,
8,
16034,
3084,
62,
3672,
62,
2623,
33411,
2173,
796,
2242
] |
in which year was available the rubber as kickdrum pad | SELECT "Years Available" FROM table_30828 WHERE "KickDrum Pad" = 'Rubber' | [
259,
543,
614,
373,
1695,
262,
14239,
355,
4829,
67,
6582,
14841,
46506,
366,
40630,
14898,
1,
16034,
3084,
62,
21495,
2078,
33411,
366,
45390,
6187,
388,
15744,
1,
796,
705,
21312,
527,
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
] | [
259,
543,
614,
373,
1695,
262,
14239,
355,
4829,
67,
6582,
14841,
46506,
366,
40630,
14898,
1,
16034,
3084,
62,
21495,
2078,
33411,
366,
45390,
6187,
388,
15744,
1,
796,
705,
21312,
527,
6
] |
What is the country of the player with a score of 69-74-71=214? | SELECT "Country" FROM table_14871 WHERE "Score" = '69-74-71=214' | [
2061,
318,
262,
1499,
286,
262,
2137,
351,
257,
4776,
286,
8644,
12,
4524,
12,
4869,
28,
22291,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
18294,
4869,
33411,
366,
26595,
1,
796,
705,
3388,
12,
4524,
12,
4869,
28,
22291,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1499,
286,
262,
2137,
351,
257,
4776,
286,
8644,
12,
4524,
12,
4869,
28,
22291,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
18294,
4869,
33411,
366,
26595,
1,
796,
705,
3388,
12,
4524,
12,
4869,
28,
22291,
6
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about salary over the job_id , and could you sort from high to low by the y-axis? | SELECT JOB_ID, SALARY FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY SALARY DESC | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1577,
502,
262,
7208,
546,
9588,
625,
262,
1693,
62,
312,
837,
290,
714,
345,
3297,
422,
1029,
284,
1877,
416,
262,
331,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1577,
502,
262,
7208,
546,
9588,
625,
262,
1693,
62,
312,
837,
290,
714,
345,
3297,
422,
1029,
284,
1877,
416,
262,
331,
1... |
Le jour du mois o le plus grand nombre de questions ont t pos es en octobre 2018. | SELECT DAY(CreationDate) FROM Posts WHERE YEAR(CreationDate) = 2018 AND MONTH(CreationDate) = 10 | [
3123,
30068,
7043,
6941,
271,
267,
443,
5556,
4490,
299,
2381,
260,
390,
2683,
39585,
256,
1426,
1658,
551,
19318,
672,
260,
2864,
13,
46506,
24644,
7,
12443,
341,
10430,
8,
16034,
12043,
33411,
32914,
7,
12443,
341,
10430,
8,
796,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3123,
30068,
7043,
6941,
271,
267,
443,
5556,
4490,
299,
2381,
260,
390,
2683,
39585,
256,
1426,
1658,
551,
19318,
672,
260,
2864,
13,
46506,
24644,
7,
12443,
341,
10430,
8,
16034,
12043,
33411,
32914,
7,
12443,
341,
10430,
8,
796,
28... |
Who ran unsuccessfully against Bill Hefner? | SELECT opponent FROM table_1341522_36 WHERE incumbent = "Bill Hefner" | [
8241,
4966,
40665,
1028,
3941,
679,
69,
1008,
30,
46506,
6125,
16034,
3084,
62,
19880,
1314,
1828,
62,
2623,
33411,
23526,
796,
366,
17798,
679,
69,
1008,
1
] | [
1,
1,
1,
1,
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,
4966,
40665,
1028,
3941,
679,
69,
1008,
30,
46506,
6125,
16034,
3084,
62,
19880,
1314,
1828,
62,
2623,
33411,
23526,
796,
366,
17798,
679,
69,
1008,
1
] |
What was the attendance total for week 10? | SELECT attendance FROM table_name_77 WHERE week = 10 | [
2061,
373,
262,
14858,
2472,
329,
1285,
838,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
3324,
33411,
1285,
796,
838
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
14858,
2472,
329,
1285,
838,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
3324,
33411,
1285,
796,
838
] |
How many orders when the species is Pavo Cristatus? | SELECT COUNT("Order") FROM table_22197 WHERE "Species" = 'Pavo cristatus' | [
2437,
867,
6266,
618,
262,
4693,
318,
24081,
78,
24568,
7240,
30,
46506,
327,
28270,
7203,
18743,
4943,
16034,
3084,
62,
1828,
24991,
33411,
366,
5248,
3171,
1,
796,
705,
47,
615,
78,
1067,
396,
7240,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
6266,
618,
262,
4693,
318,
24081,
78,
24568,
7240,
30,
46506,
327,
28270,
7203,
18743,
4943,
16034,
3084,
62,
1828,
24991,
33411,
366,
5248,
3171,
1,
796,
705,
47,
615,
78,
1067,
396,
7240,
6
] |
what is the lowest amount of silver when the gold is less than 0? | SELECT MIN("Silver") FROM table_56924 WHERE "Gold" < '0' | [
10919,
318,
262,
9016,
2033,
286,
8465,
618,
262,
3869,
318,
1342,
621,
657,
30,
46506,
20625,
7203,
26766,
4943,
16034,
3084,
62,
20,
3388,
1731,
33411,
366,
13306,
1,
1279,
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
] | [
10919,
318,
262,
9016,
2033,
286,
8465,
618,
262,
3869,
318,
1342,
621,
657,
30,
46506,
20625,
7203,
26766,
4943,
16034,
3084,
62,
20,
3388,
1731,
33411,
366,
13306,
1,
1279,
705,
15,
6
] |
When did series 6 start? | SELECT "Start date" FROM table_2978 WHERE "Series" = '6' | [
2215,
750,
2168,
718,
923,
30,
46506,
366,
10434,
3128,
1,
16034,
3084,
62,
1959,
3695,
33411,
366,
27996,
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
] | [
2215,
750,
2168,
718,
923,
30,
46506,
366,
10434,
3128,
1,
16034,
3084,
62,
1959,
3695,
33411,
366,
27996,
1,
796,
705,
21,
6
] |
Where is the longest arch with a length in meters of 63? | SELECT "Location" FROM table_77218 WHERE "Length ( m )" = '63' | [
8496,
318,
262,
14069,
3934,
351,
257,
4129,
287,
10700,
286,
8093,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
3324,
28727,
33411,
366,
24539,
357,
285,
1267,
1,
796,
705,
5066,
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
] | [
8496,
318,
262,
14069,
3934,
351,
257,
4129,
287,
10700,
286,
8093,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
3324,
28727,
33411,
366,
24539,
357,
285,
1267,
1,
796,
705,
5066,
6
] |
What school did the player drafted for the New York Mets attend? | SELECT school FROM table_name_4 WHERE team = "new york mets" | [
2061,
1524,
750,
262,
2137,
15937,
329,
262,
968,
1971,
26053,
5262,
30,
46506,
1524,
16034,
3084,
62,
3672,
62,
19,
33411,
1074,
796,
366,
3605,
331,
967,
285,
1039,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
1524,
750,
262,
2137,
15937,
329,
262,
968,
1971,
26053,
5262,
30,
46506,
1524,
16034,
3084,
62,
3672,
62,
19,
33411,
1074,
796,
366,
3605,
331,
967,
285,
1039,
1
] |
who is the the office with incumbent being ramon r. jimenez, jr. | SELECT "Office" FROM table_654 WHERE "Incumbent" = 'Ramon R. Jimenez, Jr.' | [
8727,
318,
262,
262,
2607,
351,
23526,
852,
15770,
261,
374,
13,
474,
320,
11437,
11,
474,
81,
13,
46506,
366,
27743,
1,
16034,
3084,
62,
39111,
33411,
366,
25517,
2178,
298,
1,
796,
705,
49,
16487,
371,
13,
5395,
11437,
11,
7504,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
318,
262,
262,
2607,
351,
23526,
852,
15770,
261,
374,
13,
474,
320,
11437,
11,
474,
81,
13,
46506,
366,
27743,
1,
16034,
3084,
62,
39111,
33411,
366,
25517,
2178,
298,
1,
796,
705,
49,
16487,
371,
13,
5395,
11437,
11,
7504,
... |
What Tournament has an Outcome of runner-up, and a Score of 4 6, 3 6? | SELECT "Tournament" FROM table_61013 WHERE "Outcome" = 'runner-up' AND "Score" = '4–6, 3–6' | [
2061,
9595,
468,
281,
3806,
2958,
286,
17490,
12,
929,
11,
290,
257,
15178,
286,
604,
718,
11,
513,
718,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
5333,
30273,
33411,
366,
7975,
2958,
1,
796,
705,
16737,
12,
929,
6,
5357,
366,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
9595,
468,
281,
3806,
2958,
286,
17490,
12,
929,
11,
290,
257,
15178,
286,
604,
718,
11,
513,
718,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
5333,
30273,
33411,
366,
7975,
2958,
1,
796,
705,
16737,
12,
929,
6,
5357,
366,... |
What is the coaster name that was opened in 1978, and have wooden track? | SELECT coaster_name FROM table_name_40 WHERE year_opened = "1978" AND track = "wooden" | [
2061,
318,
262,
42450,
1438,
326,
373,
4721,
287,
15524,
11,
290,
423,
13510,
2610,
30,
46506,
42450,
62,
3672,
16034,
3084,
62,
3672,
62,
1821,
33411,
614,
62,
26350,
796,
366,
37950,
1,
5357,
2610,
796,
366,
3822,
268,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
42450,
1438,
326,
373,
4721,
287,
15524,
11,
290,
423,
13510,
2610,
30,
46506,
42450,
62,
3672,
16034,
3084,
62,
3672,
62,
1821,
33411,
614,
62,
26350,
796,
366,
37950,
1,
5357,
2610,
796,
366,
3822,
268,
1
] |
How many years have a time of 1:42.086? | SELECT COUNT("Year") FROM table_1433 WHERE "Time" = '1:42.086' | [
2437,
867,
812,
423,
257,
640,
286,
352,
25,
3682,
13,
2919,
21,
30,
46506,
327,
28270,
7203,
17688,
4943,
16034,
3084,
62,
1415,
2091,
33411,
366,
7575,
1,
796,
705,
16,
25,
3682,
13,
2919,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
812,
423,
257,
640,
286,
352,
25,
3682,
13,
2919,
21,
30,
46506,
327,
28270,
7203,
17688,
4943,
16034,
3084,
62,
1415,
2091,
33411,
366,
7575,
1,
796,
705,
16,
25,
3682,
13,
2919,
21,
6
] |
What is the total number of times DESCI 790 was made available ? | SELECT COUNT(DISTINCT course_offering.offering_id) FROM course, course_offering WHERE course.course_id = course_offering.course_id AND course.department = 'DESCI' AND course.number = 790 | [
2061,
318,
262,
2472,
1271,
286,
1661,
22196,
25690,
767,
3829,
373,
925,
1695,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
2364,
1586,
62,
312,
8,
16034,
1781,
11,
1781,
62,
2364,
1586,
33411,
1781,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
1661,
22196,
25690,
767,
3829,
373,
925,
1695,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
2364,
1586,
62,
312,
8,
16034,
1781,
11,
1781,
62,
2364,
1586,
33411,
1781,
... |
How many matches were drawn by the teams that won exactly 10? | SELECT COUNT("Drawn") FROM table_74080 WHERE "Won" = '10' | [
2437,
867,
7466,
547,
7428,
416,
262,
3466,
326,
1839,
3446,
838,
30,
46506,
327,
28270,
7203,
35,
5791,
4943,
16034,
3084,
62,
45598,
1795,
33411,
366,
54,
261,
1,
796,
705,
940,
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
] | [
2437,
867,
7466,
547,
7428,
416,
262,
3466,
326,
1839,
3446,
838,
30,
46506,
327,
28270,
7203,
35,
5791,
4943,
16034,
3084,
62,
45598,
1795,
33411,
366,
54,
261,
1,
796,
705,
940,
6
] |
What club had a score of 18.1? | SELECT "Club" FROM table_68869 WHERE "Score" = '18.1' | [
2061,
3430,
550,
257,
4776,
286,
1248,
13,
16,
30,
46506,
366,
42350,
1,
16034,
3084,
62,
34427,
3388,
33411,
366,
26595,
1,
796,
705,
1507,
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
] | [
2061,
3430,
550,
257,
4776,
286,
1248,
13,
16,
30,
46506,
366,
42350,
1,
16034,
3084,
62,
34427,
3388,
33411,
366,
26595,
1,
796,
705,
1507,
13,
16,
6
] |
Who was responsible and what was the number for the high rebounds on December 22? | SELECT "High rebounds" FROM table_884 WHERE "Date" = 'December 22' | [
8241,
373,
4497,
290,
644,
373,
262,
1271,
329,
262,
1029,
18841,
319,
3426,
2534,
30,
46506,
366,
11922,
18841,
1,
16034,
3084,
62,
40353,
33411,
366,
10430,
1,
796,
705,
20588,
2534,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
4497,
290,
644,
373,
262,
1271,
329,
262,
1029,
18841,
319,
3426,
2534,
30,
46506,
366,
11922,
18841,
1,
16034,
3084,
62,
40353,
33411,
366,
10430,
1,
796,
705,
20588,
2534,
6
] |
calculate the total dose of pregestimil ng in patient 17398 on 08/21/2102. | SELECT SUM(inputevents_cv.amount) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 17398)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.lab... | [
9948,
3129,
378,
262,
2472,
10742,
286,
662,
3495,
26641,
23370,
287,
5827,
1596,
31952,
319,
8487,
14,
2481,
14,
17,
15377,
13,
46506,
35683,
7,
259,
79,
1133,
85,
658,
62,
33967,
13,
17287,
8,
16034,
287,
79,
1133,
85,
658,
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... | [
9948,
3129,
378,
262,
2472,
10742,
286,
662,
3495,
26641,
23370,
287,
5827,
1596,
31952,
319,
8487,
14,
2481,
14,
17,
15377,
13,
46506,
35683,
7,
259,
79,
1133,
85,
658,
62,
33967,
13,
17287,
8,
16034,
287,
79,
1133,
85,
658,
62,
... |
What is the drug type of Estrella Carroll? | SELECT prescriptions.drug_type FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.name = "Estrella Carroll" | [
2061,
318,
262,
2563,
2099,
286,
10062,
20481,
21298,
30,
46506,
34092,
13,
30349,
62,
4906,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
16728,
13,
3672,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2563,
2099,
286,
10062,
20481,
21298,
30,
46506,
34092,
13,
30349,
62,
4906,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
16728,
13,
3672,... |
during their first hospital visit patient 27392 had been prescribed insulin? | SELECT COUNT(*) > 0 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 27392 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) AND prescriptions.drug = 'insulin' | [
42122,
511,
717,
4436,
3187,
5827,
2681,
32321,
550,
587,
14798,
14588,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
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... | [
42122,
511,
717,
4436,
3187,
5827,
2681,
32321,
550,
587,
14798,
14588,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.