instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is the average round for martin havlat? | SELECT AVG("Round") FROM table_12048 WHERE "Player" = 'martin havlat' | [
2061,
318,
262,
2811,
2835,
329,
11277,
259,
387,
85,
15460,
30,
46506,
35224,
7203,
22685,
4943,
16034,
3084,
62,
10232,
2780,
33411,
366,
14140,
1,
796,
705,
13822,
259,
387,
85,
15460,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
2835,
329,
11277,
259,
387,
85,
15460,
30,
46506,
35224,
7203,
22685,
4943,
16034,
3084,
62,
10232,
2780,
33411,
366,
14140,
1,
796,
705,
13822,
259,
387,
85,
15460,
6
] |
What is the entrant for the audi 3.6l turbo v8 engine and ranked 3rd with 163 points? | SELECT entrant FROM table_name_1 WHERE engine = "audi 3.6l turbo v8" AND rank = "3rd" AND points = 163 | [
2061,
318,
262,
920,
5250,
329,
262,
40504,
513,
13,
21,
75,
29292,
410,
23,
3113,
290,
10307,
513,
4372,
351,
26826,
2173,
30,
46506,
920,
5250,
16034,
3084,
62,
3672,
62,
16,
33411,
3113,
796,
366,
31330,
513,
13,
21,
75,
29292,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
920,
5250,
329,
262,
40504,
513,
13,
21,
75,
29292,
410,
23,
3113,
290,
10307,
513,
4372,
351,
26826,
2173,
30,
46506,
920,
5250,
16034,
3084,
62,
3672,
62,
16,
33411,
3113,
796,
366,
31330,
513,
13,
21,
75,
29292,
... |
Days with at least one post by MathOverflow moderators. | SELECT DATE(p.CreationDate) FROM Users AS u INNER JOIN Posts AS p ON p.OwnerUserId = u.Id WHERE u.Id IN (2, 3, 66, 121, 1409, 2000, 2926) GROUP BY DATE(p.CreationDate) ORDER BY DATE(p.CreationDate) DESC | [
38770,
351,
379,
1551,
530,
1281,
416,
16320,
5886,
11125,
37265,
13,
46506,
360,
6158,
7,
79,
13,
12443,
341,
10430,
8,
16034,
18987,
7054,
334,
3268,
21479,
32357,
1268,
12043,
7054,
279,
6177,
279,
13,
42419,
12982,
7390,
796,
334,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
38770,
351,
379,
1551,
530,
1281,
416,
16320,
5886,
11125,
37265,
13,
46506,
360,
6158,
7,
79,
13,
12443,
341,
10430,
8,
16034,
18987,
7054,
334,
3268,
21479,
32357,
1268,
12043,
7054,
279,
6177,
279,
13,
42419,
12982,
7390,
796,
334,
... |
what was the name of the drug that patient 015-91239 had been prescribed two times in the current hospital encounter. | SELECT t1.drugname FROM (SELECT medication.drugname, COUNT(medication.drugstarttime) AS c1 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015... | [
10919,
373,
262,
1438,
286,
262,
2563,
326,
5827,
5534,
20,
12,
24,
1065,
2670,
550,
587,
14798,
734,
1661,
287,
262,
1459,
4436,
8791,
13,
46506,
256,
16,
13,
30349,
3672,
16034,
357,
46506,
14103,
13,
30349,
3672,
11,
327,
28270,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
1438,
286,
262,
2563,
326,
5827,
5534,
20,
12,
24,
1065,
2670,
550,
587,
14798,
734,
1661,
287,
262,
1459,
4436,
8791,
13,
46506,
256,
16,
13,
30349,
3672,
16034,
357,
46506,
14103,
13,
30349,
3672,
11,
327,
28270,
... |
What district is the parish who had the South Cambridgeshire rural district as the former local authority? | SELECT "District" FROM table_37683 WHERE "Former local authority" = 'south cambridgeshire rural district' | [
2061,
4783,
318,
262,
28830,
508,
550,
262,
2520,
7298,
10236,
3212,
10695,
10016,
4783,
355,
262,
1966,
1957,
4934,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
2718,
47521,
33411,
366,
14282,
1957,
4934,
1,
796,
705,
35782,
12172,
10236... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4783,
318,
262,
28830,
508,
550,
262,
2520,
7298,
10236,
3212,
10695,
10016,
4783,
355,
262,
1966,
1957,
4934,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
2718,
47521,
33411,
366,
14282,
1957,
4934,
1,
796,
705,
35782,
12172,
10236... |
How many different position for players are listed? | SELECT COUNT(DISTINCT position) FROM player | [
2437,
867,
1180,
2292,
329,
1938,
389,
5610,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
2292,
8,
16034,
2137
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1180,
2292,
329,
1938,
389,
5610,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
2292,
8,
16034,
2137
] |
What classes are necessary to declare a major in MODGREEK ? | SELECT DISTINCT course.department, course.name, course.number FROM course, program_course WHERE course.department LIKE '%MODGREEK%' AND program_course.category LIKE 'PreMajor' AND program_course.course_id = course.course_id | [
2061,
6097,
389,
3306,
284,
13627,
257,
1688,
287,
19164,
38,
11587,
42,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
62,
17319,
33411,
1781,
13,
10378,
182... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6097,
389,
3306,
284,
13627,
257,
1688,
287,
19164,
38,
11587,
42,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
62,
17319,
33411,
1781,
13,
10378,
182... |
Which crowd has an Away team score of 10.10 (70)? | SELECT "Crowd" FROM table_11382 WHERE "Away team score" = '10.10 (70)' | [
13828,
4315,
468,
281,
21986,
1074,
4776,
286,
838,
13,
940,
357,
2154,
19427,
46506,
366,
34,
3986,
1,
16034,
3084,
62,
1157,
36243,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
940,
13,
940,
357,
2154,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
4315,
468,
281,
21986,
1074,
4776,
286,
838,
13,
940,
357,
2154,
19427,
46506,
366,
34,
3986,
1,
16034,
3084,
62,
1157,
36243,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
940,
13,
940,
357,
2154,
33047
] |
Can you tell me the School that has the IHSAA Class of a, and the Enrollment 08-09 off 244? | SELECT "School" FROM table_65009 WHERE "IHSAA Class" = 'a' AND "Enrollment 08-09" = '244' | [
6090,
345,
1560,
502,
262,
3961,
326,
468,
262,
314,
7998,
3838,
5016,
286,
257,
11,
290,
262,
2039,
48108,
8487,
12,
2931,
572,
35264,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
2996,
28694,
33411,
366,
40,
7998,
3838,
5016,
1,
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
] | [
6090,
345,
1560,
502,
262,
3961,
326,
468,
262,
314,
7998,
3838,
5016,
286,
257,
11,
290,
262,
2039,
48108,
8487,
12,
2931,
572,
35264,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
2996,
28694,
33411,
366,
40,
7998,
3838,
5016,
1,
796... |
Select top 20 tags in June 2012. | SELECT Tags.TagName, COUNT(*) AS tagcount FROM Posts INNER JOIN PostTags ON PostTags.PostId = Posts.Id INNER JOIN Tags ON Tags.Id = PostTags.TagId WHERE TIME_TO_STR(Posts.CreationDate, '%Y') = 2012 AND TIME_TO_STR(Posts.CreationDate, '%m') = 6 GROUP BY Tags.TagName ORDER BY tagcount DESC LIMIT 20 | [
17563,
1353,
1160,
15940,
287,
2795,
2321,
13,
46506,
44789,
13,
24835,
5376,
11,
327,
28270,
7,
28104,
7054,
7621,
9127,
16034,
12043,
3268,
21479,
32357,
1268,
2947,
36142,
6177,
2947,
36142,
13,
6307,
7390,
796,
12043,
13,
7390,
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... | [
17563,
1353,
1160,
15940,
287,
2795,
2321,
13,
46506,
44789,
13,
24835,
5376,
11,
327,
28270,
7,
28104,
7054,
7621,
9127,
16034,
12043,
3268,
21479,
32357,
1268,
2947,
36142,
6177,
2947,
36142,
13,
6307,
7390,
796,
12043,
13,
7390,
3268,
... |
how many boats costed less than # 20m to build ? | SELECT COUNT(*) FROM table_204_568 WHERE "est. building cost" < 20 | [
4919,
867,
16659,
1575,
276,
1342,
621,
1303,
1160,
76,
284,
1382,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
49211,
33411,
366,
395,
13,
2615,
1575,
1,
1279,
1160
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16659,
1575,
276,
1342,
621,
1303,
1160,
76,
284,
1382,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
49211,
33411,
366,
395,
13,
2615,
1575,
1,
1279,
1160
] |
List of suggested edits to particular post. | SELECT E.* FROM SuggestedEdits AS E, Posts AS P WHERE P.Id = '##PostID##' AND E.PostId = P.Id | [
8053,
286,
5220,
31671,
284,
1948,
1281,
13,
46506,
412,
15885,
16034,
35042,
276,
7407,
896,
7054,
412,
11,
12043,
7054,
350,
33411,
350,
13,
7390,
796,
705,
2235,
6307,
2389,
2235,
6,
5357,
412,
13,
6307,
7390,
796,
350,
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
] | [
8053,
286,
5220,
31671,
284,
1948,
1281,
13,
46506,
412,
15885,
16034,
35042,
276,
7407,
896,
7054,
412,
11,
12043,
7054,
350,
33411,
350,
13,
7390,
796,
705,
2235,
6307,
2389,
2235,
6,
5357,
412,
13,
6307,
7390,
796,
350,
13,
7390
] |
what was the total hospital bill of patient 030-40287's stay until 2103? | SELECT SUM(cost.cost) FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-40287') AND STRFTIME('%y', cost.chargetime) <= '2103' | [
10919,
373,
262,
2472,
4436,
2855,
286,
5827,
657,
1270,
12,
1821,
27800,
338,
2652,
1566,
362,
15197,
30,
46506,
35683,
7,
15805,
13,
15805,
8,
16034,
1575,
33411,
1575,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
2472,
4436,
2855,
286,
5827,
657,
1270,
12,
1821,
27800,
338,
2652,
1566,
362,
15197,
30,
46506,
35683,
7,
15805,
13,
15805,
8,
16034,
1575,
33411,
1575,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
... |
If Internet Explorer is 47.22%, what is the Safari total? | SELECT safari FROM table_1876262_10 WHERE internet_explorer = "47.22%" | [
1532,
4455,
19142,
318,
6298,
13,
1828,
7441,
644,
318,
262,
23298,
2472,
30,
46506,
1932,
2743,
16034,
3084,
62,
1507,
4304,
29119,
62,
940,
33411,
5230,
62,
20676,
11934,
796,
366,
2857,
13,
1828,
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
] | [
1532,
4455,
19142,
318,
6298,
13,
1828,
7441,
644,
318,
262,
23298,
2472,
30,
46506,
1932,
2743,
16034,
3084,
62,
1507,
4304,
29119,
62,
940,
33411,
5230,
62,
20676,
11934,
796,
366,
2857,
13,
1828,
39658
] |
What is the enrollment number for the public institution in Golden, Colorado founded after 1874? | SELECT AVG("Enrollment") FROM table_40710 WHERE "Control" = 'public' AND "Location" = 'golden, colorado' AND "Founded" > '1874' | [
2061,
318,
262,
20753,
1271,
329,
262,
1171,
9901,
287,
8407,
11,
7492,
9393,
706,
1248,
4524,
30,
46506,
35224,
7203,
4834,
48108,
4943,
16034,
3084,
62,
30120,
940,
33411,
366,
15988,
1,
796,
705,
11377,
6,
5357,
366,
14749,
1,
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
] | [
2061,
318,
262,
20753,
1271,
329,
262,
1171,
9901,
287,
8407,
11,
7492,
9393,
706,
1248,
4524,
30,
46506,
35224,
7203,
4834,
48108,
4943,
16034,
3084,
62,
30120,
940,
33411,
366,
15988,
1,
796,
705,
11377,
6,
5357,
366,
14749,
1,
796,... |
What is the sum of season when the venue was donington park, and Brazil came in second? | SELECT SUM(season) FROM table_name_21 WHERE venue = "donington park" AND second = "brazil" | [
2061,
318,
262,
2160,
286,
1622,
618,
262,
14359,
373,
836,
9557,
3952,
11,
290,
7595,
1625,
287,
1218,
30,
46506,
35683,
7,
6230,
8,
16034,
3084,
62,
3672,
62,
2481,
33411,
14359,
796,
366,
9099,
9557,
3952,
1,
5357,
1218,
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
] | [
2061,
318,
262,
2160,
286,
1622,
618,
262,
14359,
373,
836,
9557,
3952,
11,
290,
7595,
1625,
287,
1218,
30,
46506,
35683,
7,
6230,
8,
16034,
3084,
62,
3672,
62,
2481,
33411,
14359,
796,
366,
9099,
9557,
3952,
1,
5357,
1218,
796,
366... |
count the number of patients who were diagnosed with c1-c4 fx-cl/cord inj nos but not returned to the hospital within 2 months in this year. | SELECT (SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'c1-c4 fx-c... | [
9127,
262,
1271,
286,
3871,
508,
547,
14641,
351,
269,
16,
12,
66,
19,
277,
87,
12,
565,
14,
66,
585,
2529,
43630,
475,
407,
4504,
284,
262,
4436,
1626,
362,
1933,
287,
428,
614,
13,
46506,
357,
46506,
327,
28270,
7,
35,
8808,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
508,
547,
14641,
351,
269,
16,
12,
66,
19,
277,
87,
12,
565,
14,
66,
585,
2529,
43630,
475,
407,
4504,
284,
262,
4436,
1626,
362,
1933,
287,
428,
614,
13,
46506,
357,
46506,
327,
28270,
7,
35,
8808,
1... |
Find the titles of papers whose first author is affiliated with an institution in the country 'Japan' and has last name 'Ohori'? | SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid JOIN inst AS t4 ON t2.instid = t4.instid WHERE t4.country = "Japan" AND t2.authorder = 1 AND t1.lname = "Ohori" | [
16742,
262,
8714,
286,
9473,
3025,
717,
1772,
318,
18552,
351,
281,
9901,
287,
262,
1499,
705,
16504,
6,
290,
468,
938,
1438,
705,
5812,
10145,
30960,
46506,
256,
18,
13,
7839,
16034,
7035,
7054,
256,
16,
32357,
1268,
7035,
1056,
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... | [
16742,
262,
8714,
286,
9473,
3025,
717,
1772,
318,
18552,
351,
281,
9901,
287,
262,
1499,
705,
16504,
6,
290,
468,
938,
1438,
705,
5812,
10145,
30960,
46506,
256,
18,
13,
7839,
16034,
7035,
7054,
256,
16,
32357,
1268,
7035,
1056,
7054... |
what is the score for the 5th position and a score less than 7 | SELECT MIN(b_score) FROM table_name_40 WHERE position = "5th" AND a_score < 7 | [
10919,
318,
262,
4776,
329,
262,
642,
400,
2292,
290,
257,
4776,
1342,
621,
767,
46506,
20625,
7,
65,
62,
26675,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
2292,
796,
366,
20,
400,
1,
5357,
257,
62,
26675,
1279,
767
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4776,
329,
262,
642,
400,
2292,
290,
257,
4776,
1342,
621,
767,
46506,
20625,
7,
65,
62,
26675,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
2292,
796,
366,
20,
400,
1,
5357,
257,
62,
26675,
1279,
767
] |
Dubai users rank with reputation. | SELECT Ranking = ROW_NUMBER() OVER (ORDER BY Reputation DESC), * FROM Users WHERE Location LIKE '%Dubai%' OR Location LIKE '%dubai%' ORDER BY Reputation DESC | [
37590,
1872,
2985,
4279,
351,
8507,
13,
46506,
45407,
796,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
828,
1635,
16034,
18987,
33411,
13397,
34178,
705,
4,
37590,
1872,
4,
6,
6375,
13397,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
37590,
1872,
2985,
4279,
351,
8507,
13,
46506,
45407,
796,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
828,
1635,
16034,
18987,
33411,
13397,
34178,
705,
4,
37590,
1872,
4,
6,
6375,
13397,
3... |
What is the population density of the administrative division with a population in 2010 of 264170 according to the census? | SELECT population_density___km²_2010_ FROM table_21734764_1 WHERE population_2010_census = 264170 | [
2061,
318,
262,
3265,
12109,
286,
262,
11553,
7297,
351,
257,
3265,
287,
3050,
286,
32158,
17279,
1864,
284,
262,
21649,
30,
46506,
3265,
62,
43337,
17569,
13276,
31185,
62,
10333,
62,
16034,
3084,
62,
24591,
30995,
2414,
62,
16,
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
] | [
2061,
318,
262,
3265,
12109,
286,
262,
11553,
7297,
351,
257,
3265,
287,
3050,
286,
32158,
17279,
1864,
284,
262,
21649,
30,
46506,
3265,
62,
43337,
17569,
13276,
31185,
62,
10333,
62,
16034,
3084,
62,
24591,
30995,
2414,
62,
16,
33411,... |
simple sample for STRING_SPLIT function comma-separated. | SELECT value FROM STRING_SPLIT(@tags, ',') | [
36439,
6291,
329,
19269,
2751,
62,
4303,
43,
2043,
2163,
39650,
12,
25512,
515,
13,
46506,
1988,
16034,
19269,
2751,
62,
4303,
43,
2043,
7,
31,
31499,
11,
705,
4032,
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
] | [
36439,
6291,
329,
19269,
2751,
62,
4303,
43,
2043,
2163,
39650,
12,
25512,
515,
13,
46506,
1988,
16034,
19269,
2751,
62,
4303,
43,
2043,
7,
31,
31499,
11,
705,
4032,
8
] |
what is the number of patients whose admission type is emergency and insurance is medicare? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "EMERGENCY" AND demographic.insurance = "Medicare" | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
6334,
290,
5096,
318,
6924,
533,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
6334,
290,
5096,
318,
6924,
533,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
... |
What engine was used in 1999? | SELECT engine FROM table_name_76 WHERE year = "1999" | [
2061,
3113,
373,
973,
287,
7358,
30,
46506,
3113,
16034,
3084,
62,
3672,
62,
4304,
33411,
614,
796,
366,
18946,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3113,
373,
973,
287,
7358,
30,
46506,
3113,
16034,
3084,
62,
3672,
62,
4304,
33411,
614,
796,
366,
18946,
1
] |
What is the Kana of the Province with a Korean name of Chungcheong-Namdo? | SELECT "Kana" FROM table_40625 WHERE "Korean name" = 'chungcheong-namdo' | [
2061,
318,
262,
509,
2271,
286,
262,
22783,
351,
257,
6983,
1438,
286,
43915,
2395,
506,
12,
45,
321,
4598,
30,
46506,
366,
42,
2271,
1,
16034,
3084,
62,
1821,
26704,
33411,
366,
42,
29456,
1438,
1,
796,
705,
354,
2150,
2395,
506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
509,
2271,
286,
262,
22783,
351,
257,
6983,
1438,
286,
43915,
2395,
506,
12,
45,
321,
4598,
30,
46506,
366,
42,
2271,
1,
16034,
3084,
62,
1821,
26704,
33411,
366,
42,
29456,
1438,
1,
796,
705,
354,
2150,
2395,
506,
... |
What is the Week of the game with an Attendance of 64,900 and a Result of L 34-13? | SELECT MAX(week) FROM table_name_83 WHERE attendance = "64,900" AND result = "l 34-13" | [
2061,
318,
262,
6119,
286,
262,
983,
351,
281,
46502,
590,
286,
5598,
11,
12865,
290,
257,
25414,
286,
406,
4974,
12,
1485,
30,
46506,
25882,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
5999,
33411,
14858,
796,
366,
2414,
11,
12865,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6119,
286,
262,
983,
351,
281,
46502,
590,
286,
5598,
11,
12865,
290,
257,
25414,
286,
406,
4974,
12,
1485,
30,
46506,
25882,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
5999,
33411,
14858,
796,
366,
2414,
11,
12865,
1,
... |
What was Berlin when fk pirmasens was S dwest and westfalia herne was west? | SELECT "Berlin" FROM table_51004 WHERE "S\u00fcdwest" = 'fk pirmasens' AND "West" = 'westfalia herne' | [
2061,
373,
11307,
618,
277,
74,
279,
2533,
292,
641,
373,
311,
288,
7038,
290,
7421,
69,
9752,
607,
710,
373,
7421,
30,
46506,
366,
24814,
2815,
1,
16034,
3084,
62,
20,
3064,
19,
33411,
366,
50,
59,
84,
405,
69,
10210,
7038,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11307,
618,
277,
74,
279,
2533,
292,
641,
373,
311,
288,
7038,
290,
7421,
69,
9752,
607,
710,
373,
7421,
30,
46506,
366,
24814,
2815,
1,
16034,
3084,
62,
20,
3064,
19,
33411,
366,
50,
59,
84,
405,
69,
10210,
7038,
1,
... |
Which Effic is the average one that has an Avg/G larger than 3.7, and a GP-GS of 13, and a Cmp-Att-Int of 318-521-15? | SELECT AVG(effic) FROM table_name_9 WHERE avg_g > 3.7 AND gp_gs = "13" AND cmp_att_int = "318-521-15" | [
13828,
412,
2108,
318,
262,
2811,
530,
326,
468,
281,
33455,
14,
38,
4025,
621,
513,
13,
22,
11,
290,
257,
14714,
12,
14313,
286,
1511,
11,
290,
257,
327,
3149,
12,
8086,
12,
5317,
286,
39320,
12,
20,
2481,
12,
1314,
30,
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... | [
13828,
412,
2108,
318,
262,
2811,
530,
326,
468,
281,
33455,
14,
38,
4025,
621,
513,
13,
22,
11,
290,
257,
14714,
12,
14313,
286,
1511,
11,
290,
257,
327,
3149,
12,
8086,
12,
5317,
286,
39320,
12,
20,
2481,
12,
1314,
30,
46506,
... |
Who is the runner-up in 1990? | SELECT "Runner-up" FROM table_49571 WHERE "Year" = '1990' | [
8241,
318,
262,
17490,
12,
929,
287,
6303,
30,
46506,
366,
49493,
12,
929,
1,
16034,
3084,
62,
2920,
42875,
33411,
366,
17688,
1,
796,
705,
19891,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
17490,
12,
929,
287,
6303,
30,
46506,
366,
49493,
12,
929,
1,
16034,
3084,
62,
2920,
42875,
33411,
366,
17688,
1,
796,
705,
19891,
6
] |
What is the highest value in April with a record of 35 37 11 and more than 81 points? | SELECT MAX("April") FROM table_34391 WHERE "Record" = '35–37–11' AND "Points" > '81' | [
2061,
318,
262,
4511,
1988,
287,
3035,
351,
257,
1700,
286,
3439,
5214,
1367,
290,
517,
621,
9773,
2173,
30,
46506,
25882,
7203,
16784,
4943,
16034,
3084,
62,
2682,
37710,
33411,
366,
23739,
1,
796,
705,
2327,
1906,
2718,
1906,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
1988,
287,
3035,
351,
257,
1700,
286,
3439,
5214,
1367,
290,
517,
621,
9773,
2173,
30,
46506,
25882,
7203,
16784,
4943,
16034,
3084,
62,
2682,
37710,
33411,
366,
23739,
1,
796,
705,
2327,
1906,
2718,
1906,
1157,
... |
Show me about the distribution of date_address_from and the amount of date_address_from bin date_address_from by time in a bar chart. | SELECT date_address_from, COUNT(date_address_from) FROM Student_Addresses ORDER BY monthly_rental DESC | [
15307,
502,
546,
262,
6082,
286,
3128,
62,
21975,
62,
6738,
290,
262,
2033,
286,
3128,
62,
21975,
62,
6738,
9874,
3128,
62,
21975,
62,
6738,
416,
640,
287,
257,
2318,
8262,
13,
46506,
3128,
62,
21975,
62,
6738,
11,
327,
28270,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
502,
546,
262,
6082,
286,
3128,
62,
21975,
62,
6738,
290,
262,
2033,
286,
3128,
62,
21975,
62,
6738,
9874,
3128,
62,
21975,
62,
6738,
416,
640,
287,
257,
2318,
8262,
13,
46506,
3128,
62,
21975,
62,
6738,
11,
327,
28270,
7,
... |
which terminal had more quay cranes than terminal 6 ? | SELECT "terminal" FROM table_203_196 WHERE "quay cranes" > (SELECT "quay cranes" FROM table_203_196 WHERE "terminal" = 'terminal 6') | [
4758,
12094,
550,
517,
627,
323,
1067,
7305,
621,
12094,
718,
5633,
46506,
366,
23705,
282,
1,
16034,
3084,
62,
22416,
62,
25272,
33411,
366,
421,
323,
1067,
7305,
1,
1875,
357,
46506,
366,
421,
323,
1067,
7305,
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
] | [
4758,
12094,
550,
517,
627,
323,
1067,
7305,
621,
12094,
718,
5633,
46506,
366,
23705,
282,
1,
16034,
3084,
62,
22416,
62,
25272,
33411,
366,
421,
323,
1067,
7305,
1,
1875,
357,
46506,
366,
421,
323,
1067,
7305,
1,
16034,
3084,
62,
... |
For each record in schedule, show sum of price for each day in a bar chart, order in ascending by the sum price. | SELECT Date, SUM(Price) FROM schedule AS T1 JOIN film AS T2 ON T1.Film_ID = T2.Film_ID JOIN cinema AS T3 ON T1.Cinema_ID = T3.Cinema_ID GROUP BY Date ORDER BY SUM(Price) | [
1890,
1123,
1700,
287,
7269,
11,
905,
2160,
286,
2756,
329,
1123,
1110,
287,
257,
2318,
8262,
11,
1502,
287,
41988,
416,
262,
2160,
2756,
13,
46506,
7536,
11,
35683,
7,
18124,
8,
16034,
7269,
7054,
309,
16,
32357,
1268,
2646,
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... | [
1890,
1123,
1700,
287,
7269,
11,
905,
2160,
286,
2756,
329,
1123,
1110,
287,
257,
2318,
8262,
11,
1502,
287,
41988,
416,
262,
2160,
2756,
13,
46506,
7536,
11,
35683,
7,
18124,
8,
16034,
7269,
7054,
309,
16,
32357,
1268,
2646,
7054,
... |
Get the number of medicaid insurance patients who had hemoglobin lab tests done. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.insurance = "Medicaid" AND lab.label = "Hemoglobin" | [
3855,
262,
1271,
286,
6924,
1698,
5096,
3871,
508,
550,
16869,
49835,
2248,
5254,
1760,
13,
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... | [
3855,
262,
1271,
286,
6924,
1698,
5096,
3871,
508,
550,
16869,
49835,
2248,
5254,
1760,
13,
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,
... |
Kev's Questions without Accepted Answers. | SELECT Id AS "post_link" FROM Posts WHERE PostTypeId = 1 AND OwnerUserId = 16777 AND AcceptedAnswerId IS NULL AND AnswerCount > 0 | [
42,
1990,
338,
20396,
1231,
21699,
276,
42612,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
5357,
23853,
12982,
7390,
796,
1467,
29331,
5357,
21699,
276,
33706,
7390,
3180,
15697,
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
] | [
42,
1990,
338,
20396,
1231,
21699,
276,
42612,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
5357,
23853,
12982,
7390,
796,
1467,
29331,
5357,
21699,
276,
33706,
7390,
3180,
15697,
5357,
... |
How many new points were earned by rk 26? | SELECT new_points FROM table_27615896_18 WHERE rk = 26 | [
2437,
867,
649,
2173,
547,
7366,
416,
374,
74,
2608,
30,
46506,
649,
62,
13033,
16034,
3084,
62,
27988,
1314,
48712,
62,
1507,
33411,
374,
74,
796,
2608
] | [
1,
1,
1,
1,
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,
649,
2173,
547,
7366,
416,
374,
74,
2608,
30,
46506,
649,
62,
13033,
16034,
3084,
62,
27988,
1314,
48712,
62,
1507,
33411,
374,
74,
796,
2608
] |
Tell me the date for goal of 5 | SELECT date FROM table_name_17 WHERE goal = 5 | [
24446,
502,
262,
3128,
329,
3061,
286,
642,
46506,
3128,
16034,
3084,
62,
3672,
62,
1558,
33411,
3061,
796,
642
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
3128,
329,
3061,
286,
642,
46506,
3128,
16034,
3084,
62,
3672,
62,
1558,
33411,
3061,
796,
642
] |
What is the composition of the coin that was issued after 2008, had a mintage larger than 999, and was designed by Jody Broomfield? | SELECT "Composition" FROM table_11139 WHERE "Mintage" > '999' AND "Artist" = 'jody broomfield' AND "Year" > '2008' | [
2061,
318,
262,
11742,
286,
262,
10752,
326,
373,
4884,
706,
3648,
11,
550,
257,
285,
14630,
4025,
621,
36006,
11,
290,
373,
3562,
416,
449,
1118,
2806,
296,
3245,
30,
46506,
366,
5377,
9150,
1,
16034,
3084,
62,
1157,
20219,
33411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
11742,
286,
262,
10752,
326,
373,
4884,
706,
3648,
11,
550,
257,
285,
14630,
4025,
621,
36006,
11,
290,
373,
3562,
416,
449,
1118,
2806,
296,
3245,
30,
46506,
366,
5377,
9150,
1,
16034,
3084,
62,
1157,
20219,
33411,
... |
In what Round does Duke have a Pick larger than 9? | SELECT COUNT(round) FROM table_name_49 WHERE pick > 9 AND school = "duke" | [
818,
644,
10485,
857,
11083,
423,
257,
12346,
4025,
621,
860,
30,
46506,
327,
28270,
7,
744,
8,
16034,
3084,
62,
3672,
62,
2920,
33411,
2298,
1875,
860,
5357,
1524,
796,
366,
646,
365,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
644,
10485,
857,
11083,
423,
257,
12346,
4025,
621,
860,
30,
46506,
327,
28270,
7,
744,
8,
16034,
3084,
62,
3672,
62,
2920,
33411,
2298,
1875,
860,
5357,
1524,
796,
366,
646,
365,
1
] |
Tell me the object type which has an apparent magnitude more than 10.6 and declination of 44 07 | SELECT "Object type" FROM table_56022 WHERE "Apparent magnitude" > '10.6' AND "Declination ( J2000 )" = '°44′07″' | [
24446,
502,
262,
2134,
2099,
543,
468,
281,
4156,
14735,
517,
621,
838,
13,
21,
290,
2377,
1883,
286,
5846,
8753,
46506,
366,
10267,
2099,
1,
16034,
3084,
62,
34135,
1828,
33411,
366,
4677,
1580,
14735,
1,
1875,
705,
940,
13,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
2134,
2099,
543,
468,
281,
4156,
14735,
517,
621,
838,
13,
21,
290,
2377,
1883,
286,
5846,
8753,
46506,
366,
10267,
2099,
1,
16034,
3084,
62,
34135,
1828,
33411,
366,
4677,
1580,
14735,
1,
1875,
705,
940,
13,
21,
6,... |
What is 'house', when 'what' is 'ano', and when 'three' is 'tulo'? | SELECT house FROM table_name_24 WHERE what = "ano" AND three = "tulo" | [
2061,
318,
705,
4803,
3256,
618,
705,
10919,
6,
318,
705,
5733,
3256,
290,
618,
705,
15542,
6,
318,
705,
83,
43348,
30960,
46506,
2156,
16034,
3084,
62,
3672,
62,
1731,
33411,
644,
796,
366,
5733,
1,
5357,
1115,
796,
366,
83,
43348,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
705,
4803,
3256,
618,
705,
10919,
6,
318,
705,
5733,
3256,
290,
618,
705,
15542,
6,
318,
705,
83,
43348,
30960,
46506,
2156,
16034,
3084,
62,
3672,
62,
1731,
33411,
644,
796,
366,
5733,
1,
5357,
1115,
796,
366,
83,
43348,... |
Before the year 2012, what award was given to the artist in the category of revelaci n pop del a o? | SELECT "Award" FROM table_48512 WHERE "Year" < '2012' AND "Category" = 'revelación pop del año' | [
8421,
262,
614,
2321,
11,
644,
5764,
373,
1813,
284,
262,
6802,
287,
262,
6536,
286,
9890,
32009,
299,
1461,
1619,
257,
267,
30,
46506,
366,
32,
904,
1,
16034,
3084,
62,
2780,
25836,
33411,
366,
17688,
1,
1279,
705,
6999,
6,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8421,
262,
614,
2321,
11,
644,
5764,
373,
1813,
284,
262,
6802,
287,
262,
6536,
286,
9890,
32009,
299,
1461,
1619,
257,
267,
30,
46506,
366,
32,
904,
1,
16034,
3084,
62,
2780,
25836,
33411,
366,
17688,
1,
1279,
705,
6999,
6,
5357,
... |
how many days have passed since patient 97733 last received a laboratory test of albumin in this hospital visit? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', labevents.charttime)) FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'albumin') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 97733 AND admissions.... | [
4919,
867,
1528,
423,
3804,
1201,
5827,
860,
3324,
2091,
938,
2722,
257,
14010,
1332,
286,
5062,
259,
287,
428,
4436,
3187,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1528,
423,
3804,
1201,
5827,
860,
3324,
2091,
938,
2722,
257,
14010,
1332,
286,
5062,
259,
287,
428,
4436,
3187,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
9... |
What is Website, when License is Apache License 2.0? | SELECT website FROM table_name_55 WHERE license = "apache license 2.0" | [
2061,
318,
15887,
11,
618,
13789,
318,
24843,
13789,
362,
13,
15,
30,
46506,
3052,
16034,
3084,
62,
3672,
62,
2816,
33411,
5964,
796,
366,
43073,
5964,
362,
13,
15,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
15887,
11,
618,
13789,
318,
24843,
13789,
362,
13,
15,
30,
46506,
3052,
16034,
3084,
62,
3672,
62,
2816,
33411,
5964,
796,
366,
43073,
5964,
362,
13,
15,
1
] |
provide the number of patients whose primary disease is coronary artery disease\coronary artery bypass graft; myomectomy/sda and lab test fluid is blood? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.diagnosis = "CORONARY ARTERY DISEASE\CORONARY ARTERY BYPASS GRAFT; MYOMECTOMY/SDA" AND lab.fluid = "Blood" | [
15234,
485,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
37151,
37646,
4369,
59,
10215,
261,
560,
37646,
17286,
38455,
26,
616,
462,
310,
9145,
14,
82,
6814,
290,
2248,
1332,
11711,
318,
2910,
30,
46506,
327,
28270,
7,
35,
8808,
1268,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
37151,
37646,
4369,
59,
10215,
261,
560,
37646,
17286,
38455,
26,
616,
462,
310,
9145,
14,
82,
6814,
290,
2248,
1332,
11711,
318,
2910,
30,
46506,
327,
28270,
7,
35,
8808,
1268,... |
What was the result when the attendance was 78,793? | SELECT result FROM table_name_53 WHERE attendance = "78,793" | [
2061,
373,
262,
1255,
618,
262,
14858,
373,
8699,
11,
44750,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
4310,
33411,
14858,
796,
366,
3695,
11,
44750,
1
] | [
1,
1,
1,
1,
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,
618,
262,
14858,
373,
8699,
11,
44750,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
4310,
33411,
14858,
796,
366,
3695,
11,
44750,
1
] |
What was the result of the election featuring incumbent norman sisisky? | SELECT results FROM table_1341423_46 WHERE incumbent = "Norman Sisisky" | [
2061,
373,
262,
1255,
286,
262,
3071,
9593,
23526,
2593,
272,
264,
271,
34041,
30,
46506,
2482,
16034,
3084,
62,
19880,
1415,
1954,
62,
3510,
33411,
23526,
796,
366,
45,
26183,
311,
271,
34041,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
262,
3071,
9593,
23526,
2593,
272,
264,
271,
34041,
30,
46506,
2482,
16034,
3084,
62,
19880,
1415,
1954,
62,
3510,
33411,
23526,
796,
366,
45,
26183,
311,
271,
34041,
1
] |
What game had the highest score and a time of 2:35? | SELECT MAX("Game") FROM table_14530 WHERE "Time" = '2:35' | [
2061,
983,
550,
262,
4511,
4776,
290,
257,
640,
286,
362,
25,
2327,
30,
46506,
25882,
7203,
8777,
4943,
16034,
3084,
62,
18781,
1270,
33411,
366,
7575,
1,
796,
705,
17,
25,
2327,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
983,
550,
262,
4511,
4776,
290,
257,
640,
286,
362,
25,
2327,
30,
46506,
25882,
7203,
8777,
4943,
16034,
3084,
62,
18781,
1270,
33411,
366,
7575,
1,
796,
705,
17,
25,
2327,
6
] |
What richmond player played against st kilda? | SELECT player FROM table_name_15 WHERE opponent = "st kilda" AND team = "richmond" | [
2061,
5527,
6327,
2137,
2826,
1028,
336,
479,
27281,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
1314,
33411,
6125,
796,
366,
301,
479,
27281,
1,
5357,
1074,
796,
366,
7527,
6327,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5527,
6327,
2137,
2826,
1028,
336,
479,
27281,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
1314,
33411,
6125,
796,
366,
301,
479,
27281,
1,
5357,
1074,
796,
366,
7527,
6327,
1
] |
What was the 1st leg for Team 2, Slovan Liberec? | SELECT "1st leg" FROM table_62304 WHERE "Team 2" = 'slovan liberec' | [
2061,
373,
262,
352,
301,
1232,
329,
4816,
362,
11,
3454,
22590,
7980,
567,
66,
30,
46506,
366,
16,
301,
1232,
1,
16034,
3084,
62,
5237,
21288,
33411,
366,
15592,
362,
1,
796,
705,
6649,
22590,
9195,
567,
66,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
352,
301,
1232,
329,
4816,
362,
11,
3454,
22590,
7980,
567,
66,
30,
46506,
366,
16,
301,
1232,
1,
16034,
3084,
62,
5237,
21288,
33411,
366,
15592,
362,
1,
796,
705,
6649,
22590,
9195,
567,
66,
6
] |
Who is the opponent of the match with a H/A of h, Beguiristain Iceta as the referee, and a kick off at 1993-04-18 17:00? | SELECT "Opponents" FROM table_15147 WHERE "H / A" = 'h' AND "Referee" = 'beguiristain iceta' AND "Kick Off" = '1993-04-18 17:00' | [
8241,
318,
262,
6125,
286,
262,
2872,
351,
257,
367,
14,
32,
286,
289,
11,
1355,
5162,
343,
396,
391,
43042,
17167,
355,
262,
22957,
11,
290,
257,
4829,
572,
379,
9656,
12,
3023,
12,
1507,
1596,
25,
405,
30,
46506,
366,
27524,
390... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6125,
286,
262,
2872,
351,
257,
367,
14,
32,
286,
289,
11,
1355,
5162,
343,
396,
391,
43042,
17167,
355,
262,
22957,
11,
290,
257,
4829,
572,
379,
9656,
12,
3023,
12,
1507,
1596,
25,
405,
30,
46506,
366,
27524,
390... |
Before 2012, which Group has the Result, nominated, the Film/Show, East West 101, and the Award, Best Lead Actor in A Television Drama? | SELECT group FROM table_name_31 WHERE result = "nominated" AND year < 2012 AND film_show = "east west 101" AND award = "best lead actor in a television drama" | [
8421,
2321,
11,
543,
4912,
468,
262,
25414,
11,
19332,
11,
262,
13741,
14,
15307,
11,
3687,
2688,
8949,
11,
290,
262,
11289,
11,
6705,
20116,
27274,
287,
317,
21516,
30647,
30,
46506,
1448,
16034,
3084,
62,
3672,
62,
3132,
33411,
1255... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8421,
2321,
11,
543,
4912,
468,
262,
25414,
11,
19332,
11,
262,
13741,
14,
15307,
11,
3687,
2688,
8949,
11,
290,
262,
11289,
11,
6705,
20116,
27274,
287,
317,
21516,
30647,
30,
46506,
1448,
16034,
3084,
62,
3672,
62,
3132,
33411,
1255... |
What was Stacy Compton's position? | SELECT "Pos." FROM table_5447 WHERE "Driver" = 'stacy compton' | [
2061,
373,
49523,
47062,
338,
2292,
30,
46506,
366,
21604,
526,
16034,
3084,
62,
20,
34825,
33411,
366,
32103,
1,
796,
705,
301,
1590,
401,
10972,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
49523,
47062,
338,
2292,
30,
46506,
366,
21604,
526,
16034,
3084,
62,
20,
34825,
33411,
366,
32103,
1,
796,
705,
301,
1590,
401,
10972,
6
] |
how many movies was she in in 1998 ? | SELECT COUNT("title") FROM table_203_239 WHERE "year" = 1998 | [
4919,
867,
6918,
373,
673,
287,
287,
7795,
5633,
46506,
327,
28270,
7203,
7839,
4943,
16034,
3084,
62,
22416,
62,
23516,
33411,
366,
1941,
1,
796,
7795
] | [
1,
1,
1,
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,
6918,
373,
673,
287,
287,
7795,
5633,
46506,
327,
28270,
7203,
7839,
4943,
16034,
3084,
62,
22416,
62,
23516,
33411,
366,
1941,
1,
796,
7795
] |
Name the qual for rank of 9 | SELECT qual FROM table_name_78 WHERE rank = "9" | [
5376,
262,
4140,
329,
4279,
286,
860,
46506,
4140,
16034,
3084,
62,
3672,
62,
3695,
33411,
4279,
796,
366,
24,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
4140,
329,
4279,
286,
860,
46506,
4140,
16034,
3084,
62,
3672,
62,
3695,
33411,
4279,
796,
366,
24,
1
] |
What's the record of Game 70? | SELECT "Record" FROM table_50871 WHERE "Game" = '70' | [
2061,
338,
262,
1700,
286,
3776,
4317,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
33042,
4869,
33411,
366,
8777,
1,
796,
705,
2154,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
1700,
286,
3776,
4317,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
33042,
4869,
33411,
366,
8777,
1,
796,
705,
2154,
6
] |
Which nation is Danilo di Luca from? | SELECT nation FROM table_name_7 WHERE cyclist = "danilo di luca" | [
13828,
3277,
318,
6035,
18526,
2566,
7598,
64,
422,
30,
46506,
3277,
16034,
3084,
62,
3672,
62,
22,
33411,
34632,
796,
366,
25604,
18526,
2566,
17115,
64,
1
] | [
1,
1,
1,
1,
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,
3277,
318,
6035,
18526,
2566,
7598,
64,
422,
30,
46506,
3277,
16034,
3084,
62,
3672,
62,
22,
33411,
34632,
796,
366,
25604,
18526,
2566,
17115,
64,
1
] |
When was incumbent John N. Tillman first elected? | SELECT MIN("First elected") FROM table_797 WHERE "Incumbent" = 'John N. Tillman' | [
2215,
373,
23526,
1757,
399,
13,
17888,
805,
717,
7018,
30,
46506,
20625,
7203,
5962,
7018,
4943,
16034,
3084,
62,
44673,
33411,
366,
25517,
2178,
298,
1,
796,
705,
7554,
399,
13,
17888,
805,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
373,
23526,
1757,
399,
13,
17888,
805,
717,
7018,
30,
46506,
20625,
7203,
5962,
7018,
4943,
16034,
3084,
62,
44673,
33411,
366,
25517,
2178,
298,
1,
796,
705,
7554,
399,
13,
17888,
805,
6
] |
What is 1st Leg, when Team 1 is 'Portol Palma Mallorca'? | SELECT 1 AS st_leg FROM table_name_45 WHERE team_1 = "portol palma mallorca" | [
2061,
318,
352,
301,
3564,
11,
618,
4816,
352,
318,
705,
13924,
349,
3175,
2611,
16618,
273,
6888,
30960,
46506,
352,
7054,
336,
62,
1455,
16034,
3084,
62,
3672,
62,
2231,
33411,
1074,
62,
16,
796,
366,
634,
349,
6340,
2611,
17374,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
352,
301,
3564,
11,
618,
4816,
352,
318,
705,
13924,
349,
3175,
2611,
16618,
273,
6888,
30960,
46506,
352,
7054,
336,
62,
1455,
16034,
3084,
62,
3672,
62,
2231,
33411,
1074,
62,
16,
796,
366,
634,
349,
6340,
2611,
17374,
... |
there is a microbiology test record for patient 3663's mrsa screen until 09/2105? | SELECT COUNT(*) > 0 FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 3663) AND microbiologyevents.spec_type_desc = 'mrsa screen' AND STRFTIME('%y-%m', microbiologyevents.charttime) <= '2105-09' | [
8117,
318,
257,
24559,
1435,
1332,
1700,
329,
5827,
44856,
18,
338,
285,
3808,
64,
3159,
1566,
7769,
14,
17,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8117,
318,
257,
24559,
1435,
1332,
1700,
329,
5827,
44856,
18,
338,
285,
3808,
64,
3159,
1566,
7769,
14,
17,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62,
3... |
Number of downvotes by answer score. | SELECT p.Score AS "score", COUNT(v.Id) AS "downvotes" FROM Votes AS v INNER JOIN Posts AS p ON p.Id = v.PostId WHERE p.PostTypeId = 2 AND v.VoteTypeId = 3 GROUP BY p.Score ORDER BY p.Score | [
15057,
286,
866,
29307,
416,
3280,
4776,
13,
46506,
279,
13,
26595,
7054,
366,
26675,
1600,
327,
28270,
7,
85,
13,
7390,
8,
7054,
366,
2902,
29307,
1,
16034,
39584,
7054,
410,
3268,
21479,
32357,
1268,
12043,
7054,
279,
6177,
279,
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... | [
15057,
286,
866,
29307,
416,
3280,
4776,
13,
46506,
279,
13,
26595,
7054,
366,
26675,
1600,
327,
28270,
7,
85,
13,
7390,
8,
7054,
366,
2902,
29307,
1,
16034,
39584,
7054,
410,
3268,
21479,
32357,
1268,
12043,
7054,
279,
6177,
279,
13,... |
Get size in GB of all T-SQL / SEDE tables. | SELECT t.NAME AS TableName, CAST(ROUND(((SUM(a.used_pages) * 8) / 1024.00 / 1024.00), 2) AS FLOAT(36, 2)) AS UsedSpaceGB FROM sys.tables AS t INNER JOIN sys.indexes AS i ON t.OBJECT_ID = i.object_id INNER JOIN sys.partitions AS p ON i.object_id = p.OBJECT_ID AND i.index_id = p.index_id INNER JOIN sys.allocation_units A... | [
3855,
2546,
287,
13124,
286,
477,
309,
12,
17861,
1220,
311,
1961,
36,
8893,
13,
46506,
256,
13,
20608,
7054,
8655,
5376,
11,
327,
11262,
7,
49,
15919,
19510,
7,
50,
5883,
7,
64,
13,
1484,
62,
31126,
8,
1635,
807,
8,
1220,
28119,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3855,
2546,
287,
13124,
286,
477,
309,
12,
17861,
1220,
311,
1961,
36,
8893,
13,
46506,
256,
13,
20608,
7054,
8655,
5376,
11,
327,
11262,
7,
49,
15919,
19510,
7,
50,
5883,
7,
64,
13,
1484,
62,
31126,
8,
1635,
807,
8,
1220,
28119,
... |
What is the admission type and primary disease of Kevin Jones? | SELECT demographic.admission_type, demographic.diagnosis FROM demographic WHERE demographic.name = "Kevin Jones" | [
2061,
318,
262,
13938,
2099,
290,
4165,
4369,
286,
7939,
5437,
30,
46506,
16728,
13,
324,
3411,
62,
4906,
11,
16728,
13,
47356,
5958,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
23865,
5437,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13938,
2099,
290,
4165,
4369,
286,
7939,
5437,
30,
46506,
16728,
13,
324,
3411,
62,
4906,
11,
16728,
13,
47356,
5958,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
23865,
5437,
1
] |
Which Vice President has a President of daniel masny, and a Treasurer of rebecca t. altmann? | SELECT "Vice President" FROM table_55249 WHERE "President" = 'daniel masny' AND "Treasurer" = 'rebecca t. altmann' | [
13828,
11079,
1992,
468,
257,
1992,
286,
288,
6321,
12422,
3281,
11,
290,
257,
45399,
286,
302,
20627,
256,
13,
5988,
9038,
30,
46506,
366,
47910,
1992,
1,
16034,
3084,
62,
2816,
21626,
33411,
366,
10364,
1,
796,
705,
67,
6321,
12422,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11079,
1992,
468,
257,
1992,
286,
288,
6321,
12422,
3281,
11,
290,
257,
45399,
286,
302,
20627,
256,
13,
5988,
9038,
30,
46506,
366,
47910,
1992,
1,
16034,
3084,
62,
2816,
21626,
33411,
366,
10364,
1,
796,
705,
67,
6321,
12422,... |
what kind of ground transportation can you offer me in SEATTLE | SELECT DISTINCT ground_service.transport_type FROM city, ground_service WHERE city.city_name = 'SEATTLE' AND ground_service.city_code = city.city_code | [
10919,
1611,
286,
2323,
9358,
460,
345,
2897,
502,
287,
7946,
1404,
14990,
33635,
16779,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
1748,
11,
2323,
62,
15271,
33411,
1748,
13,
19205,
62,
3672,
796,
705,
51... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1611,
286,
2323,
9358,
460,
345,
2897,
502,
287,
7946,
1404,
14990,
33635,
16779,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
1748,
11,
2323,
62,
15271,
33411,
1748,
13,
19205,
62,
3672,
796,
705,
51... |
What is the last name of the first individual contacted from the organization with the maximum UK Vat number across all organizations? | SELECT t3.individual_last_name FROM organizations AS t1 JOIN organization_contact_individuals AS t2 ON t1.organization_id = t2.organization_id JOIN individuals AS t3 ON t2.individual_id = t3.individual_id WHERE t1.uk_vat_number = (SELECT MAX(uk_vat_number) FROM organizations) ORDER BY t2.date_contact_to LIMIT 1 | [
2061,
318,
262,
938,
1438,
286,
262,
717,
1981,
11237,
422,
262,
4009,
351,
262,
5415,
3482,
569,
265,
1271,
1973,
477,
5745,
30,
46506,
256,
18,
13,
43129,
62,
12957,
62,
3672,
16034,
5745,
7054,
256,
16,
32357,
1268,
4009,
62,
320... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
938,
1438,
286,
262,
717,
1981,
11237,
422,
262,
4009,
351,
262,
5415,
3482,
569,
265,
1271,
1973,
477,
5745,
30,
46506,
256,
18,
13,
43129,
62,
12957,
62,
3672,
16034,
5745,
7054,
256,
16,
32357,
1268,
4009,
62,
320... |
What is Position, when Class is Sophomore, and when Player is Shaquille O'Neal Category:Articles With hCards? | SELECT "Position" FROM table_50154 WHERE "Class" = 'sophomore' AND "Player" = 'shaquille o''neal category:articles with hcards' | [
2061,
318,
23158,
11,
618,
5016,
318,
20367,
22113,
11,
290,
618,
7853,
318,
19413,
421,
8270,
440,
6,
40581,
21743,
25,
8001,
2983,
2080,
289,
34,
1371,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
33548,
4051,
33411,
366,
9487,
1,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
23158,
11,
618,
5016,
318,
20367,
22113,
11,
290,
618,
7853,
318,
19413,
421,
8270,
440,
6,
40581,
21743,
25,
8001,
2983,
2080,
289,
34,
1371,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
33548,
4051,
33411,
366,
9487,
1,
7... |
How many distinct students have been in detention? | SELECT COUNT(DISTINCT student_id) FROM students_in_detention | [
2437,
867,
7310,
2444,
423,
587,
287,
13280,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
3710,
62,
312,
8,
16034,
2444,
62,
259,
62,
15255,
1463
] | [
1,
1,
1,
1,
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,
7310,
2444,
423,
587,
287,
13280,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
3710,
62,
312,
8,
16034,
2444,
62,
259,
62,
15255,
1463
] |
What is the latest year with more than 0 points? | SELECT MAX(year) FROM table_name_13 WHERE points > 0 | [
2061,
318,
262,
3452,
614,
351,
517,
621,
657,
2173,
30,
46506,
25882,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
1485,
33411,
2173,
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
] | [
2061,
318,
262,
3452,
614,
351,
517,
621,
657,
2173,
30,
46506,
25882,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
1485,
33411,
2173,
1875,
657
] |
What is the lowest total GFR that has 95.80% of the population as Whites, and a TFR total larger than 2.14, in 2006? | SELECT MIN("GFR 2006") FROM table_70053 WHERE "Whites as % of Pop." = '95.80%' AND "TFR 2006" > '2.14' | [
2061,
318,
262,
9016,
2472,
402,
10913,
326,
468,
6957,
13,
1795,
4,
286,
262,
3265,
355,
29290,
11,
290,
257,
309,
10913,
2472,
4025,
621,
362,
13,
1415,
11,
287,
4793,
30,
46506,
20625,
7203,
38,
10913,
4793,
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... | [
2061,
318,
262,
9016,
2472,
402,
10913,
326,
468,
6957,
13,
1795,
4,
286,
262,
3265,
355,
29290,
11,
290,
257,
309,
10913,
2472,
4025,
621,
362,
13,
1415,
11,
287,
4793,
30,
46506,
20625,
7203,
38,
10913,
4793,
4943,
16034,
3084,
62... |
did patient 003-7849 receive mechanical ventilation - assist controlled treatment at another hospital during this year? | SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.uniquepid = '003-7849' AND patient.hospitalid <> (SELECT DISTINCT patient.hospitalid FROM patient WHERE patient.uniquepid = '003-7849' AND patient.hospitaldischargetime IS NULL)) AND trea... | [
20839,
5827,
3571,
18,
12,
3695,
2920,
3328,
12370,
34834,
532,
3342,
6856,
3513,
379,
1194,
4436,
1141,
428,
614,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
582... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5827,
3571,
18,
12,
3695,
2920,
3328,
12370,
34834,
532,
3342,
6856,
3513,
379,
1194,
4436,
1141,
428,
614,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
582... |
How many years was the individual winner from the United States was Tiger Woods? | SELECT COUNT("Year") FROM table_42127 WHERE "Country" = 'united states' AND "Individual" = 'tiger woods' | [
2437,
867,
812,
373,
262,
1981,
8464,
422,
262,
1578,
1829,
373,
17030,
16483,
30,
46506,
327,
28270,
7203,
17688,
4943,
16034,
3084,
62,
3682,
16799,
33411,
366,
33921,
1,
796,
705,
41187,
2585,
6,
5357,
366,
35392,
1,
796,
705,
83,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
812,
373,
262,
1981,
8464,
422,
262,
1578,
1829,
373,
17030,
16483,
30,
46506,
327,
28270,
7203,
17688,
4943,
16034,
3084,
62,
3682,
16799,
33411,
366,
33921,
1,
796,
705,
41187,
2585,
6,
5357,
366,
35392,
1,
796,
705,
83,
... |
What bridge in Sheridan county was built in 1915? | SELECT "Name" FROM table_76878 WHERE "County" = 'sheridan' AND "Built" = '1915' | [
2061,
7696,
287,
47813,
7968,
373,
3170,
287,
32062,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
30610,
3695,
33411,
366,
12332,
88,
1,
796,
705,
82,
372,
27610,
6,
5357,
366,
39582,
1,
796,
705,
1129,
1314,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
7696,
287,
47813,
7968,
373,
3170,
287,
32062,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
30610,
3695,
33411,
366,
12332,
88,
1,
796,
705,
82,
372,
27610,
6,
5357,
366,
39582,
1,
796,
705,
1129,
1314,
6
] |
How many schools founded in 2006? | SELECT COUNT("Accreditation") FROM table_2329 WHERE "Founded" = '2006' | [
2437,
867,
4266,
9393,
287,
4793,
30,
46506,
327,
28270,
7203,
17320,
42845,
4943,
16034,
3084,
62,
1954,
1959,
33411,
366,
37,
6302,
1,
796,
705,
13330,
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
] | [
2437,
867,
4266,
9393,
287,
4793,
30,
46506,
327,
28270,
7203,
17320,
42845,
4943,
16034,
3084,
62,
1954,
1959,
33411,
366,
37,
6302,
1,
796,
705,
13330,
6
] |
count the number of patients whose lab test abnormal status is abnormal and lab test name is troponin i? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.flag = "abnormal" AND lab.label = "Troponin I" | [
9127,
262,
1271,
286,
3871,
3025,
2248,
1332,
18801,
3722,
318,
18801,
290,
2248,
1332,
1438,
318,
14673,
261,
259,
1312,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2248,
1332,
18801,
3722,
318,
18801,
290,
2248,
1332,
1438,
318,
14673,
261,
259,
1312,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... |
what were the names of each club where more than 15 goals were scored in a single season ? | SELECT "club" FROM table_203_767 WHERE "goals" >= 15 | [
10919,
547,
262,
3891,
286,
1123,
3430,
810,
517,
621,
1315,
4661,
547,
7781,
287,
257,
2060,
1622,
5633,
46506,
366,
18664,
1,
16034,
3084,
62,
22416,
62,
32059,
33411,
366,
2188,
874,
1,
18189,
1315
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
547,
262,
3891,
286,
1123,
3430,
810,
517,
621,
1315,
4661,
547,
7781,
287,
257,
2060,
1622,
5633,
46506,
366,
18664,
1,
16034,
3084,
62,
22416,
62,
32059,
33411,
366,
2188,
874,
1,
18189,
1315
] |
Name the classes that need to be taken before RACKHAM 571 . | SELECT DISTINCT COURSE_0.department, COURSE_0.name, COURSE_0.number FROM course AS COURSE_0, course AS COURSE_1, course_prerequisite WHERE COURSE_0.course_id = course_prerequisite.pre_course_id AND NOT COURSE_0.course_id IN (SELECT STUDENT_RECORDalias0.course_id FROM student_record AS STUDENT_RECORDalias0 WHERE STUDENT... | [
5376,
262,
6097,
326,
761,
284,
307,
2077,
878,
371,
8120,
33363,
642,
4869,
764,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
15,
13,
10378,
1823,
11,
37384,
5188,
62,
15,
13,
3672,
11,
37384,
5188,
62,
15,
13,
17618,
16034,
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... | [
5376,
262,
6097,
326,
761,
284,
307,
2077,
878,
371,
8120,
33363,
642,
4869,
764,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
15,
13,
10378,
1823,
11,
37384,
5188,
62,
15,
13,
3672,
11,
37384,
5188,
62,
15,
13,
17618,
16034,
1781... |
How many tags only have a single. | SELECT * FROM TagSynonyms | [
2437,
867,
15940,
691,
423,
257,
2060,
13,
46506,
1635,
16034,
17467,
29934,
43612
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
15940,
691,
423,
257,
2060,
13,
46506,
1635,
16034,
17467,
29934,
43612
] |
How did the match end when his record was 15-11? | SELECT method FROM table_name_37 WHERE record = "15-11" | [
2437,
750,
262,
2872,
886,
618,
465,
1700,
373,
1315,
12,
1157,
30,
46506,
2446,
16034,
3084,
62,
3672,
62,
2718,
33411,
1700,
796,
366,
1314,
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
] | [
2437,
750,
262,
2872,
886,
618,
465,
1700,
373,
1315,
12,
1157,
30,
46506,
2446,
16034,
3084,
62,
3672,
62,
2718,
33411,
1700,
796,
366,
1314,
12,
1157,
1
] |
What was the order number where the original artist is The Doors? | SELECT order__number FROM table_15796072_1 WHERE original_artist = "The Doors" | [
2061,
373,
262,
1502,
1271,
810,
262,
2656,
6802,
318,
383,
33775,
30,
46506,
1502,
834,
17618,
16034,
3084,
62,
1314,
3720,
1899,
4761,
62,
16,
33411,
2656,
62,
49016,
796,
366,
464,
33775,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1502,
1271,
810,
262,
2656,
6802,
318,
383,
33775,
30,
46506,
1502,
834,
17618,
16034,
3084,
62,
1314,
3720,
1899,
4761,
62,
16,
33411,
2656,
62,
49016,
796,
366,
464,
33775,
1
] |
Name the number of jons team for 15x10 | SELECT COUNT("Jons team") FROM table_25921 WHERE "Episode" = '15x10' | [
5376,
262,
1271,
286,
474,
684,
1074,
329,
1315,
87,
940,
46506,
327,
28270,
7203,
41,
684,
1074,
4943,
16034,
3084,
62,
25191,
2481,
33411,
366,
23758,
1,
796,
705,
1314,
87,
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
] | [
5376,
262,
1271,
286,
474,
684,
1074,
329,
1315,
87,
940,
46506,
327,
28270,
7203,
41,
684,
1074,
4943,
16034,
3084,
62,
25191,
2481,
33411,
366,
23758,
1,
796,
705,
1314,
87,
940,
6
] |
What is on at 2pm on the channel that shows The New Batman/Superman Adventures at 4:30pm? | SELECT "2:00 pm" FROM table_12246 WHERE "4:30 pm" = 'the new batman/superman adventures' | [
2061,
318,
319,
379,
362,
4426,
319,
262,
6518,
326,
2523,
383,
968,
9827,
14,
12442,
805,
15640,
379,
604,
25,
1270,
4426,
30,
46506,
366,
17,
25,
405,
9114,
1,
16034,
3084,
62,
1065,
26912,
33411,
366,
19,
25,
1270,
9114,
1,
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
] | [
2061,
318,
319,
379,
362,
4426,
319,
262,
6518,
326,
2523,
383,
968,
9827,
14,
12442,
805,
15640,
379,
604,
25,
1270,
4426,
30,
46506,
366,
17,
25,
405,
9114,
1,
16034,
3084,
62,
1065,
26912,
33411,
366,
19,
25,
1270,
9114,
1,
796... |
Top 100 questions by score. | SELECT TOP(100) AS Title, Score, DisplayName, Reputation FROM Posts AS p JOIN Users AS u ON p.OwnerUserId = u.Id WHERE PostTypeId = 1 ORDER BY Score DESC | [
9126,
1802,
2683,
416,
4776,
13,
46506,
28662,
7,
3064,
8,
7054,
11851,
11,
15178,
11,
16531,
5376,
11,
1432,
7094,
16034,
12043,
7054,
279,
32357,
1268,
18987,
7054,
334,
6177,
279,
13,
42419,
12982,
7390,
796,
334,
13,
7390,
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
] | [
9126,
1802,
2683,
416,
4776,
13,
46506,
28662,
7,
3064,
8,
7054,
11851,
11,
15178,
11,
16531,
5376,
11,
1432,
7094,
16034,
12043,
7054,
279,
32357,
1268,
18987,
7054,
334,
6177,
279,
13,
42419,
12982,
7390,
796,
334,
13,
7390,
33411,
... |
What is the leading scorer of the game with an attendance of 14,096? | SELECT leading_scorer FROM table_name_97 WHERE attendance = "14,096" | [
2061,
318,
262,
3756,
30664,
286,
262,
983,
351,
281,
14858,
286,
1478,
11,
2931,
21,
30,
46506,
3756,
62,
1416,
11934,
16034,
3084,
62,
3672,
62,
5607,
33411,
14858,
796,
366,
1415,
11,
2931,
21,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3756,
30664,
286,
262,
983,
351,
281,
14858,
286,
1478,
11,
2931,
21,
30,
46506,
3756,
62,
1416,
11934,
16034,
3084,
62,
3672,
62,
5607,
33411,
14858,
796,
366,
1415,
11,
2931,
21,
1
] |
who was the tallest player drafted ? | SELECT "player" FROM table_204_612 ORDER BY "height" DESC LIMIT 1 | [
8727,
373,
262,
38760,
2137,
15937,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
18638,
62,
43610,
38678,
11050,
366,
17015,
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
] | [
8727,
373,
262,
38760,
2137,
15937,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
18638,
62,
43610,
38678,
11050,
366,
17015,
1,
22196,
34,
27564,
2043,
352
] |
what is the percentage of democratic voters in which the registered voters is 67.8%? | SELECT democratic FROM table_27003223_4 WHERE registered_voters = "67.8%" | [
10919,
318,
262,
5873,
286,
10518,
4446,
287,
543,
262,
6823,
4446,
318,
8275,
13,
23,
4,
30,
46506,
10518,
16034,
3084,
62,
1983,
11245,
22047,
62,
19,
33411,
6823,
62,
85,
26008,
796,
366,
3134,
13,
23,
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,
1,
1
] | [
10919,
318,
262,
5873,
286,
10518,
4446,
287,
543,
262,
6823,
4446,
318,
8275,
13,
23,
4,
30,
46506,
10518,
16034,
3084,
62,
1983,
11245,
22047,
62,
19,
33411,
6823,
62,
85,
26008,
796,
366,
3134,
13,
23,
39658
] |
If the representative is Dave Hall, when was the term limited? | SELECT term_limited FROM table_26131768_4 WHERE representative = "Dave Hall" | [
1532,
262,
8852,
318,
9935,
4789,
11,
618,
373,
262,
3381,
3614,
30,
46506,
3381,
62,
10698,
16034,
3084,
62,
2075,
1485,
1558,
3104,
62,
19,
33411,
8852,
796,
366,
27984,
4789,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8852,
318,
9935,
4789,
11,
618,
373,
262,
3381,
3614,
30,
46506,
3381,
62,
10698,
16034,
3084,
62,
2075,
1485,
1558,
3104,
62,
19,
33411,
8852,
796,
366,
27984,
4789,
1
] |
Average number of undeleted questions per day per month since site inception. | SELECT DATEFROMPARTS(YEAR('date'), MONTH('date'), 1) AS "month", AVG('count') AS "average_questions_/_day_/_month" FROM (SELECT DATEFROMPARTS(YEAR(CreationDate), MONTH(CreationDate), DAY(CreationDate)) AS "date", COUNT(*) AS "count" FROM Posts WHERE PostTypeId = 1 GROUP BY YEAR(CreationDate), MONTH(CreationDate), DAY(C... | [
26287,
1271,
286,
3318,
11129,
1513,
2683,
583,
1110,
583,
1227,
1201,
2524,
30839,
13,
46506,
360,
6158,
10913,
2662,
27082,
4694,
7,
56,
17133,
10786,
4475,
33809,
25000,
4221,
10786,
4475,
33809,
352,
8,
7054,
366,
8424,
1600,
35224,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26287,
1271,
286,
3318,
11129,
1513,
2683,
583,
1110,
583,
1227,
1201,
2524,
30839,
13,
46506,
360,
6158,
10913,
2662,
27082,
4694,
7,
56,
17133,
10786,
4475,
33809,
25000,
4221,
10786,
4475,
33809,
352,
8,
7054,
366,
8424,
1600,
35224,
... |
Show all product names without an order. | SELECT product_name FROM Products EXCEPT SELECT T1.product_name FROM Products AS T1 JOIN Order_items AS T2 ON T1.product_id = T2.product_id | [
15307,
477,
1720,
3891,
1231,
281,
1502,
13,
46506,
1720,
62,
3672,
16034,
18675,
7788,
42006,
33493,
309,
16,
13,
11167,
62,
3672,
16034,
18675,
7054,
309,
16,
32357,
1268,
8284,
62,
23814,
7054,
309,
17,
6177,
309,
16,
13,
11167,
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
] | [
15307,
477,
1720,
3891,
1231,
281,
1502,
13,
46506,
1720,
62,
3672,
16034,
18675,
7788,
42006,
33493,
309,
16,
13,
11167,
62,
3672,
16034,
18675,
7054,
309,
16,
32357,
1268,
8284,
62,
23814,
7054,
309,
17,
6177,
309,
16,
13,
11167,
62... |
Who discovered the specimen at the Burpee Museum of Natural History? | SELECT discoverer FROM table_name_43 WHERE museum = "burpee museum of natural history" | [
8241,
5071,
262,
31674,
379,
262,
5481,
39463,
9594,
286,
12068,
7443,
30,
46506,
1221,
659,
11751,
16034,
3084,
62,
3672,
62,
3559,
33411,
13257,
796,
366,
6236,
39463,
13257,
286,
3288,
2106,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5071,
262,
31674,
379,
262,
5481,
39463,
9594,
286,
12068,
7443,
30,
46506,
1221,
659,
11751,
16034,
3084,
62,
3672,
62,
3559,
33411,
13257,
796,
366,
6236,
39463,
13257,
286,
3288,
2106,
1
] |
what is maximum age of patients whose admission type is elective and insurance is medicaid? | SELECT MAX(demographic.age) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.insurance = "Medicaid" | [
10919,
318,
5415,
2479,
286,
3871,
3025,
13938,
2099,
318,
1742,
425,
290,
5096,
318,
6924,
1698,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
36,
16779,
9306,
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
] | [
10919,
318,
5415,
2479,
286,
3871,
3025,
13938,
2099,
318,
1742,
425,
290,
5096,
318,
6924,
1698,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
36,
16779,
9306,
1,
5357,
... |
Name the game site for october 4, 1992 | SELECT game_site FROM table_name_40 WHERE date = "october 4, 1992" | [
5376,
262,
983,
2524,
329,
19318,
2023,
604,
11,
9768,
46506,
983,
62,
15654,
16034,
3084,
62,
3672,
62,
1821,
33411,
3128,
796,
366,
38441,
2023,
604,
11,
9768,
1
] | [
1,
1,
1,
1,
1,
1,
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,
983,
2524,
329,
19318,
2023,
604,
11,
9768,
46506,
983,
62,
15654,
16034,
3084,
62,
3672,
62,
1821,
33411,
3128,
796,
366,
38441,
2023,
604,
11,
9768,
1
] |
For the roll of 651, what was the lowest Decile? | SELECT MIN(decile) FROM table_name_79 WHERE roll = 651 | [
1890,
262,
4836,
286,
718,
4349,
11,
644,
373,
262,
9016,
4280,
576,
30,
46506,
20625,
7,
12501,
576,
8,
16034,
3084,
62,
3672,
62,
3720,
33411,
4836,
796,
718,
4349
] | [
1,
1,
1,
1,
1,
1,
1,
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,
262,
4836,
286,
718,
4349,
11,
644,
373,
262,
9016,
4280,
576,
30,
46506,
20625,
7,
12501,
576,
8,
16034,
3084,
62,
3672,
62,
3720,
33411,
4836,
796,
718,
4349
] |
What is the power kw@RPM of the 13.180 model? | SELECT COUNT("Power kW@rpm") FROM table_244 WHERE "Model" = '13.180' | [
2061,
318,
262,
1176,
479,
86,
31,
49,
5868,
286,
262,
1511,
13,
15259,
2746,
30,
46506,
327,
28270,
7203,
13434,
50223,
31,
48235,
4943,
16034,
3084,
62,
25707,
33411,
366,
17633,
1,
796,
705,
1485,
13,
15259,
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,
1176,
479,
86,
31,
49,
5868,
286,
262,
1511,
13,
15259,
2746,
30,
46506,
327,
28270,
7203,
13434,
50223,
31,
48235,
4943,
16034,
3084,
62,
25707,
33411,
366,
17633,
1,
796,
705,
1485,
13,
15259,
6
] |
Test query - get user count. | SELECT COUNT(*) FROM Users WHERE Location LIKE '%korea%' | [
14402,
12405,
532,
651,
2836,
954,
13,
46506,
327,
28270,
7,
28104,
16034,
18987,
33411,
13397,
34178,
705,
4,
74,
46215,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
14402,
12405,
532,
651,
2836,
954,
13,
46506,
327,
28270,
7,
28104,
16034,
18987,
33411,
13397,
34178,
705,
4,
74,
46215,
4,
6
] |
Quoted part-questions in list format. Examples of quoted part-questions in list format. See http://meta.stackoverflow.com/a/266976 | SELECT Id AS "post_link" FROM Posts WHERE Body LIKE '%<li><blockquote>%' AND OwnerUserId = 106224 | [
4507,
5191,
636,
12,
6138,
507,
287,
1351,
5794,
13,
21066,
286,
10947,
636,
12,
6138,
507,
287,
1351,
5794,
13,
4091,
2638,
1378,
28961,
13,
25558,
2502,
11125,
13,
785,
14,
64,
14,
2075,
3388,
4304,
46506,
5121,
7054,
366,
7353,
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... | [
4507,
5191,
636,
12,
6138,
507,
287,
1351,
5794,
13,
21066,
286,
10947,
636,
12,
6138,
507,
287,
1351,
5794,
13,
4091,
2638,
1378,
28961,
13,
25558,
2502,
11125,
13,
785,
14,
64,
14,
2075,
3388,
4304,
46506,
5121,
7054,
366,
7353,
6... |
How much does it cost for United States and Byron nelson? | SELECT COUNT("Money ( $ )") FROM table_71229 WHERE "Country" = 'united states' AND "Player" = 'byron nelson' | [
2437,
881,
857,
340,
1575,
329,
1578,
1829,
290,
36719,
299,
10151,
30,
46506,
327,
28270,
7203,
26788,
357,
720,
1267,
4943,
16034,
3084,
62,
49517,
1959,
33411,
366,
33921,
1,
796,
705,
41187,
2585,
6,
5357,
366,
14140,
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
] | [
2437,
881,
857,
340,
1575,
329,
1578,
1829,
290,
36719,
299,
10151,
30,
46506,
327,
28270,
7203,
26788,
357,
720,
1267,
4943,
16034,
3084,
62,
49517,
1959,
33411,
366,
33921,
1,
796,
705,
41187,
2585,
6,
5357,
366,
14140,
1,
796,
705,... |
what was the total replete w/fiber dose for patient 22517? | 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 = 22517)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.lab... | [
10919,
373,
262,
2472,
1128,
5807,
266,
14,
69,
1856,
10742,
329,
5827,
18500,
1558,
30,
46506,
35683,
7,
259,
79,
1133,
85,
658,
62,
33967,
13,
17287,
8,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
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... | [
10919,
373,
262,
2472,
1128,
5807,
266,
14,
69,
1856,
10742,
329,
5827,
18500,
1558,
30,
46506,
35683,
7,
259,
79,
1133,
85,
658,
62,
33967,
13,
17287,
8,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
79,
1133,
85,
658,
62... |
What kilometer (Layac-basis) has a Barangay of general lim (capot)? | SELECT "Kilometer No. (Layac-basis)" FROM table_51392 WHERE "Barangay" = 'general lim (capot)' | [
2061,
11866,
263,
357,
23763,
330,
12,
12093,
271,
8,
468,
257,
2409,
648,
323,
286,
2276,
1761,
357,
11128,
313,
19427,
46506,
366,
42,
346,
15635,
1400,
13,
357,
23763,
330,
12,
12093,
271,
16725,
16034,
3084,
62,
48645,
5892,
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
] | [
2061,
11866,
263,
357,
23763,
330,
12,
12093,
271,
8,
468,
257,
2409,
648,
323,
286,
2276,
1761,
357,
11128,
313,
19427,
46506,
366,
42,
346,
15635,
1400,
13,
357,
23763,
330,
12,
12093,
271,
16725,
16034,
3084,
62,
48645,
5892,
33411... |
Name the most number in season for leslie hill | SELECT MAX(no_in_season) FROM table_25604014_9 WHERE directed_by = "Leslie Hill" | [
5376,
262,
749,
1271,
287,
1622,
329,
10287,
14485,
12788,
46506,
25882,
7,
3919,
62,
259,
62,
6230,
8,
16034,
3084,
62,
1495,
1899,
21844,
19,
62,
24,
33411,
7924,
62,
1525,
796,
366,
35882,
14485,
3327,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
749,
1271,
287,
1622,
329,
10287,
14485,
12788,
46506,
25882,
7,
3919,
62,
259,
62,
6230,
8,
16034,
3084,
62,
1495,
1899,
21844,
19,
62,
24,
33411,
7924,
62,
1525,
796,
366,
35882,
14485,
3327,
1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.