instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What college is draft pick #327 from? | SELECT college FROM table_name_80 WHERE pick__number = "327" | [
2061,
4152,
318,
4538,
2298,
1303,
34159,
422,
30,
46506,
4152,
16034,
3084,
62,
3672,
62,
1795,
33411,
2298,
834,
17618,
796,
366,
34159,
1
] | [
1,
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,
4152,
318,
4538,
2298,
1303,
34159,
422,
30,
46506,
4152,
16034,
3084,
62,
3672,
62,
1795,
33411,
2298,
834,
17618,
796,
366,
34159,
1
] |
Who were the opponents in the match that was played on a hard court and had a runner-up outcome? | SELECT opponents FROM table_name_84 WHERE surface = "hard" AND outcome = "runner-up" | [
8241,
547,
262,
7691,
287,
262,
2872,
326,
373,
2826,
319,
257,
1327,
2184,
290,
550,
257,
17490,
12,
929,
8055,
30,
46506,
7691,
16034,
3084,
62,
3672,
62,
5705,
33411,
4417,
796,
366,
10424,
1,
5357,
8055,
796,
366,
16737,
12,
929... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
547,
262,
7691,
287,
262,
2872,
326,
373,
2826,
319,
257,
1327,
2184,
290,
550,
257,
17490,
12,
929,
8055,
30,
46506,
7691,
16034,
3084,
62,
3672,
62,
5705,
33411,
4417,
796,
366,
10424,
1,
5357,
8055,
796,
366,
16737,
12,
929... |
Which team was played when the high points was from Wallace (20)? | SELECT "Team" FROM table_17309 WHERE "High points" = 'Wallace (20)' | [
13828,
1074,
373,
2826,
618,
262,
1029,
2173,
373,
422,
17161,
357,
1238,
19427,
46506,
366,
15592,
1,
16034,
3084,
62,
1558,
26895,
33411,
366,
11922,
2173,
1,
796,
705,
22401,
558,
357,
1238,
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
] | [
13828,
1074,
373,
2826,
618,
262,
1029,
2173,
373,
422,
17161,
357,
1238,
19427,
46506,
366,
15592,
1,
16034,
3084,
62,
1558,
26895,
33411,
366,
11922,
2173,
1,
796,
705,
22401,
558,
357,
1238,
33047
] |
enumerate links for a post. | SELECT PostId AS "post_link", LinkTypeId, CreationDate, RelatedPostId FROM PostLinks WHERE PostId = '##PostId:int##' ORDER BY PostId | [
268,
6975,
378,
6117,
329,
257,
1281,
13,
46506,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
7502,
6030,
7390,
11,
21582,
10430,
11,
19809,
6307,
7390,
16034,
2947,
31815,
33411,
2947,
7390,
796,
705,
2235,
6307,
7390,
25,
600,
2235,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
268,
6975,
378,
6117,
329,
257,
1281,
13,
46506,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
7502,
6030,
7390,
11,
21582,
10430,
11,
19809,
6307,
7390,
16034,
2947,
31815,
33411,
2947,
7390,
796,
705,
2235,
6307,
7390,
25,
600,
2235,
... |
What season has esc holzkirchen south, esv buchloe west, and ehc bayreuth north? | SELECT "Season" FROM table_50326 WHERE "South" = 'esc holzkirchen' AND "West" = 'esv buchloe' AND "North" = 'ehc bayreuth' | [
2061,
1622,
468,
3671,
6039,
89,
74,
1980,
831,
5366,
11,
1658,
85,
275,
794,
24617,
7421,
11,
290,
32622,
66,
15489,
260,
1071,
5093,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
31938,
2075,
33411,
366,
14942,
1,
796,
705,
3798,
603... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
1622,
468,
3671,
6039,
89,
74,
1980,
831,
5366,
11,
1658,
85,
275,
794,
24617,
7421,
11,
290,
32622,
66,
15489,
260,
1071,
5093,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
31938,
2075,
33411,
366,
14942,
1,
796,
705,
3798,
603... |
What intelligent systems classes are required prior to taking 463 ? | SELECT DISTINCT COURSE_0.department, COURSE_0.name, COURSE_0.number FROM course AS COURSE_0 INNER JOIN course_prerequisite ON COURSE_0.course_id = course_prerequisite.pre_course_id INNER JOIN course AS COURSE_1 ON COURSE_1.course_id = course_prerequisite.course_id INNER JOIN area ON COURSE_0.course_id = area.course_id ... | [
2061,
12661,
3341,
6097,
389,
2672,
3161,
284,
2263,
604,
5066,
5633,
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,
7054,
37384,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12661,
3341,
6097,
389,
2672,
3161,
284,
2263,
604,
5066,
5633,
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,
7054,
37384,... |
Name the number of playoffs for 3rd round | SELECT COUNT(playoffs) FROM table_2511876_1 WHERE open_cup = "3rd Round" | [
5376,
262,
1271,
286,
12980,
329,
513,
4372,
2835,
46506,
327,
28270,
7,
1759,
8210,
8,
16034,
3084,
62,
1495,
16817,
4304,
62,
16,
33411,
1280,
62,
25244,
796,
366,
18,
4372,
10485,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12980,
329,
513,
4372,
2835,
46506,
327,
28270,
7,
1759,
8210,
8,
16034,
3084,
62,
1495,
16817,
4304,
62,
16,
33411,
1280,
62,
25244,
796,
366,
18,
4372,
10485,
1
] |
what is the cheapest flight from PITTSBURGH to ATLANTA | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PITTSBURGH' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CIT... | [
10919,
318,
262,
28918,
5474,
422,
49040,
4694,
38926,
17511,
284,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
28918,
5474,
422,
49040,
4694,
38926,
17511,
284,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
70... |
what was the top five most frequent drugs prescribed to patients during the same hospital visit after they had been prescribed chlorothiazide sodium since 5 years ago? | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate, admissions.hadm_id FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'chlorothiazide sodium' AND DATETIME(prescript... | [
10919,
373,
262,
1353,
1936,
749,
10792,
5010,
14798,
284,
3871,
1141,
262,
976,
4436,
3187,
706,
484,
550,
587,
14798,
20207,
849,
17890,
485,
21072,
1201,
642,
812,
2084,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
1353,
1936,
749,
10792,
5010,
14798,
284,
3871,
1141,
262,
976,
4436,
3187,
706,
484,
550,
587,
14798,
20207,
849,
17890,
485,
21072,
1201,
642,
812,
2084,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
13... |
List all the contact channel codes that were used less than 5 times. | SELECT channel_code FROM customer_contact_channels GROUP BY channel_code HAVING COUNT(customer_id) < 5 | [
8053,
477,
262,
2800,
6518,
12416,
326,
547,
973,
1342,
621,
642,
1661,
13,
46506,
6518,
62,
8189,
16034,
6491,
62,
32057,
62,
354,
8961,
44441,
11050,
6518,
62,
8189,
367,
10116,
2751,
327,
28270,
7,
23144,
263,
62,
312,
8,
1279,
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
] | [
8053,
477,
262,
2800,
6518,
12416,
326,
547,
973,
1342,
621,
642,
1661,
13,
46506,
6518,
62,
8189,
16034,
6491,
62,
32057,
62,
354,
8961,
44441,
11050,
6518,
62,
8189,
367,
10116,
2751,
327,
28270,
7,
23144,
263,
62,
312,
8,
1279,
6... |
What are the names and types of the dorms that have a capacity greater than 300 or less than 100? | SELECT dorm_name, gender FROM dorm WHERE student_capacity > 300 OR student_capacity < 100 | [
2061,
389,
262,
3891,
290,
3858,
286,
262,
18586,
82,
326,
423,
257,
5339,
3744,
621,
5867,
393,
1342,
621,
1802,
30,
46506,
18586,
62,
3672,
11,
5279,
16034,
18586,
33411,
3710,
62,
42404,
1875,
5867,
6375,
3710,
62,
42404,
1279,
180... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3891,
290,
3858,
286,
262,
18586,
82,
326,
423,
257,
5339,
3744,
621,
5867,
393,
1342,
621,
1802,
30,
46506,
18586,
62,
3672,
11,
5279,
16034,
18586,
33411,
3710,
62,
42404,
1875,
5867,
6375,
3710,
62,
42404,
1279,
180... |
Name the total number of population hervey bay with population woocoo less than 640 and population of maryborough less than 19,257 | SELECT COUNT("Population (Hervey Bay)") FROM table_68364 WHERE "Population (Woocoo)" < '640' AND "Population (Maryborough)" < '19,257' | [
5376,
262,
2472,
1271,
286,
3265,
607,
3304,
15489,
351,
3265,
24486,
420,
2238,
1342,
621,
33759,
290,
3265,
286,
285,
560,
17913,
1342,
621,
678,
11,
28676,
46506,
327,
28270,
7203,
45251,
357,
9360,
3304,
4696,
8,
4943,
16034,
3084,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
1271,
286,
3265,
607,
3304,
15489,
351,
3265,
24486,
420,
2238,
1342,
621,
33759,
290,
3265,
286,
285,
560,
17913,
1342,
621,
678,
11,
28676,
46506,
327,
28270,
7203,
45251,
357,
9360,
3304,
4696,
8,
4943,
16034,
3084,
... |
provide the number of patients whose primary disease is coronary artery disease\coronary artery bypass graft /sda and year of death is less than or equal to 2174? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "CORONARY ARTERY DISEASE\CORONARY ARTERY BYPASS GRAFT /SDA" AND demographic.dod_year <= "2174.0" | [
15234,
485,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
37151,
37646,
4369,
59,
10215,
261,
560,
37646,
17286,
38455,
1220,
82,
6814,
290,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
22985,
30,
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... | [
15234,
485,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
37151,
37646,
4369,
59,
10215,
261,
560,
37646,
17286,
38455,
1220,
82,
6814,
290,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
22985,
30,
46506,
327,
28270,
7,
35,
8808... |
Unclosed, negative voted questions with no answers upvoted. | SELECT p.Id AS "post_id", p.Id AS "post_link" FROM Posts AS p WHERE (p.AcceptedAnswerId IS NULL AND NOT (p.ClosedDate IS NULL) AND p.Score < 0 AND NOT EXISTS(SELECT 1 FROM Posts AS aa WHERE aa.ParentId = p.Id AND aa.Score > 0)) ORDER BY p.Id | [
3118,
20225,
11,
4633,
7052,
2683,
351,
645,
7429,
510,
85,
5191,
13,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
312,
1600,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1,
16034,
12043,
7054,
279,
33411,
357,
79,
13,
38855,
276,
33706,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3118,
20225,
11,
4633,
7052,
2683,
351,
645,
7429,
510,
85,
5191,
13,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
312,
1600,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1,
16034,
12043,
7054,
279,
33411,
357,
79,
13,
38855,
276,
33706,... |
calculate the difference between the total input and output amount of patient 015-52724 today. | SELECT (SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-52724')) AND intakeoutput.cellpath L... | [
9948,
3129,
378,
262,
3580,
1022,
262,
2472,
5128,
290,
5072,
2033,
286,
5827,
5534,
20,
12,
20,
1983,
1731,
1909,
13,
46506,
357,
46506,
35683,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411,
10337,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3580,
1022,
262,
2472,
5128,
290,
5072,
2033,
286,
5827,
5534,
20,
12,
20,
1983,
1731,
1909,
13,
46506,
357,
46506,
35683,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411,
10337,... |
What iwas the attendance of the game that took place on december 6, 1998? | SELECT attendance FROM table_name_41 WHERE date = "december 6, 1998" | [
2061,
1312,
9776,
262,
14858,
286,
262,
983,
326,
1718,
1295,
319,
390,
3273,
718,
11,
7795,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
3901,
33411,
3128,
796,
366,
2934,
3273,
718,
11,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1312,
9776,
262,
14858,
286,
262,
983,
326,
1718,
1295,
319,
390,
3273,
718,
11,
7795,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
3901,
33411,
3128,
796,
366,
2934,
3273,
718,
11,
7795,
1
] |
What is Place, when Score is 72-72=144, when Country is United States, and when Player is Scott McCarron? | SELECT "Place" FROM table_44536 WHERE "Score" = '72-72=144' AND "Country" = 'united states' AND "Player" = 'scott mccarron' | [
2061,
318,
8474,
11,
618,
15178,
318,
7724,
12,
4761,
28,
18444,
11,
618,
12946,
318,
1578,
1829,
11,
290,
618,
7853,
318,
4746,
5108,
283,
1313,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
43489,
2623,
33411,
366,
26595,
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,
318,
8474,
11,
618,
15178,
318,
7724,
12,
4761,
28,
18444,
11,
618,
12946,
318,
1578,
1829,
11,
290,
618,
7853,
318,
4746,
5108,
283,
1313,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
43489,
2623,
33411,
366,
26595,
1,
796,
705... |
what is the venue when the competition is friendly on 26 may 1999? | SELECT venue FROM table_name_37 WHERE competition = "friendly" AND date = "26 may 1999" | [
10919,
318,
262,
14359,
618,
262,
5449,
318,
8030,
319,
2608,
743,
7358,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
2718,
33411,
5449,
796,
366,
13120,
1,
5357,
3128,
796,
366,
2075,
743,
7358,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14359,
618,
262,
5449,
318,
8030,
319,
2608,
743,
7358,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
2718,
33411,
5449,
796,
366,
13120,
1,
5357,
3128,
796,
366,
2075,
743,
7358,
1
] |
what is maximum age of patients whose primary disease is acute subdural hematoma and days of hospital stay is 8? | SELECT MAX(demographic.age) FROM demographic WHERE demographic.diagnosis = "ACUTE SUBDURAL HEMATOMA" AND demographic.days_stay = "8" | [
10919,
318,
5415,
2479,
286,
3871,
3025,
4165,
4369,
318,
14352,
850,
67,
1523,
339,
6759,
6086,
290,
1528,
286,
4436,
2652,
318,
807,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
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,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
5415,
2479,
286,
3871,
3025,
4165,
4369,
318,
14352,
850,
67,
1523,
339,
6759,
6086,
290,
1528,
286,
4436,
2652,
318,
807,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,... |
What is the United States rank? | SELECT COUNT("Rank") FROM table_72633 WHERE "Country/Territory" = 'United States' | [
2061,
318,
262,
1578,
1829,
4279,
30,
46506,
327,
28270,
7203,
27520,
4943,
16034,
3084,
62,
22,
2075,
2091,
33411,
366,
33921,
14,
15156,
799,
652,
1,
796,
705,
17013,
1829,
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,
1578,
1829,
4279,
30,
46506,
327,
28270,
7203,
27520,
4943,
16034,
3084,
62,
22,
2075,
2091,
33411,
366,
33921,
14,
15156,
799,
652,
1,
796,
705,
17013,
1829,
6
] |
Which deputy prime minister left office in 2004 and was in the 7th legislature? | SELECT deputy_prime_minister FROM table_name_8 WHERE term = "7th legislature" AND left_office = "2004" | [
13828,
10636,
6994,
5342,
1364,
2607,
287,
5472,
290,
373,
287,
262,
767,
400,
15928,
30,
46506,
10636,
62,
35505,
62,
1084,
1694,
16034,
3084,
62,
3672,
62,
23,
33411,
3381,
796,
366,
22,
400,
15928,
1,
5357,
1364,
62,
31810,
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
] | [
13828,
10636,
6994,
5342,
1364,
2607,
287,
5472,
290,
373,
287,
262,
767,
400,
15928,
30,
46506,
10636,
62,
35505,
62,
1084,
1694,
16034,
3084,
62,
3672,
62,
23,
33411,
3381,
796,
366,
22,
400,
15928,
1,
5357,
1364,
62,
31810,
796,
... |
Who has more than 70 score with +1 to par? | SELECT player FROM table_name_13 WHERE score > 70 AND to_par = "+1" | [
8241,
468,
517,
621,
4317,
4776,
351,
1343,
16,
284,
1582,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
1485,
33411,
4776,
1875,
4317,
5357,
284,
62,
1845,
796,
43825,
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
] | [
8241,
468,
517,
621,
4317,
4776,
351,
1343,
16,
284,
1582,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
1485,
33411,
4776,
1875,
4317,
5357,
284,
62,
1845,
796,
43825,
16,
1
] |
What is the result with an attendance larger than 10,107 and Celtic as the opponent? | SELECT "Result" FROM table_77429 WHERE "Attendance" > '10,107' AND "Opponent" = 'celtic' | [
2061,
318,
262,
1255,
351,
281,
14858,
4025,
621,
838,
11,
15982,
290,
27986,
355,
262,
6125,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
3324,
11785,
33411,
366,
8086,
437,
590,
1,
1875,
705,
940,
11,
15982,
6,
5357,
366,
27524,
347... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1255,
351,
281,
14858,
4025,
621,
838,
11,
15982,
290,
27986,
355,
262,
6125,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
3324,
11785,
33411,
366,
8086,
437,
590,
1,
1875,
705,
940,
11,
15982,
6,
5357,
366,
27524,
347... |
If the record is 5-8, what is the team name? | SELECT "Team" FROM table_73512 WHERE "Record" = '5-8' | [
1532,
262,
1700,
318,
642,
12,
23,
11,
644,
318,
262,
1074,
1438,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
22,
2327,
1065,
33411,
366,
23739,
1,
796,
705,
20,
12,
23,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1532,
262,
1700,
318,
642,
12,
23,
11,
644,
318,
262,
1074,
1438,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
22,
2327,
1065,
33411,
366,
23739,
1,
796,
705,
20,
12,
23,
6
] |
What country has a score of 71-66-72-72=281? | SELECT country FROM table_name_79 WHERE score = 71 - 66 - 72 - 72 = 281 | [
2061,
1499,
468,
257,
4776,
286,
9166,
12,
2791,
12,
4761,
12,
4761,
28,
30368,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
3720,
33411,
4776,
796,
9166,
532,
7930,
532,
7724,
532,
7724,
796,
39882
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1499,
468,
257,
4776,
286,
9166,
12,
2791,
12,
4761,
12,
4761,
28,
30368,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
3720,
33411,
4776,
796,
9166,
532,
7930,
532,
7724,
532,
7724,
796,
39882
] |
For those records from the products and each product's manufacturer, find founder and the average of revenue , and group by attribute founder, and visualize them by a bar chart, display by the total number in asc. | SELECT Founder, AVG(Revenue) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder ORDER BY AVG(Revenue) | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1064,
9119,
290,
262,
2811,
286,
6426,
837,
290,
1448,
416,
11688,
9119,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
3359,
416,
262,
2472,
1271,
287,
10570,
13,
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... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1064,
9119,
290,
262,
2811,
286,
6426,
837,
290,
1448,
416,
11688,
9119,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
3359,
416,
262,
2472,
1271,
287,
10570,
13,
46... |
What pick had a wide receiver named johnny holloway? | SELECT "Pick" FROM table_56758 WHERE "Position" = 'wide receiver' AND "Name" = 'johnny holloway' | [
2061,
2298,
550,
257,
3094,
9733,
3706,
45610,
3281,
20596,
323,
30,
46506,
366,
31686,
1,
16034,
3084,
62,
3980,
38569,
33411,
366,
26545,
1,
796,
705,
4421,
9733,
6,
5357,
366,
5376,
1,
796,
705,
30686,
3281,
20596,
323,
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,
2298,
550,
257,
3094,
9733,
3706,
45610,
3281,
20596,
323,
30,
46506,
366,
31686,
1,
16034,
3084,
62,
3980,
38569,
33411,
366,
26545,
1,
796,
705,
4421,
9733,
6,
5357,
366,
5376,
1,
796,
705,
30686,
3281,
20596,
323,
6
] |
What is the highest elevation in m of the bon irau peak, which has a col greater than 0 m and a prominence less than 1,900 m? | SELECT MAX(elevation__m_) FROM table_name_11 WHERE col__m_ > 0 AND peak = "bon irau" AND prominence__m_ < 1 OFFSET 900 | [
2061,
318,
262,
4511,
22910,
287,
285,
286,
262,
5351,
4173,
559,
9103,
11,
543,
468,
257,
951,
3744,
621,
657,
285,
290,
257,
31198,
1342,
621,
352,
11,
12865,
285,
30,
46506,
25882,
7,
68,
2768,
341,
834,
76,
62,
8,
16034,
3084,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22910,
287,
285,
286,
262,
5351,
4173,
559,
9103,
11,
543,
468,
257,
951,
3744,
621,
657,
285,
290,
257,
31198,
1342,
621,
352,
11,
12865,
285,
30,
46506,
25882,
7,
68,
2768,
341,
834,
76,
62,
8,
16034,
3084,... |
What is the highest Against where they lost less than 20 games, tied more than 2 of them, and they had Favour less than 11? | SELECT MAX("Against") FROM table_45481 WHERE "Lost" < '20' AND "Draw" > '2' AND "Favour" < '11' | [
2061,
318,
262,
4511,
12914,
810,
484,
2626,
1342,
621,
1160,
1830,
11,
8165,
517,
621,
362,
286,
606,
11,
290,
484,
550,
376,
29023,
1342,
621,
1367,
30,
46506,
25882,
7203,
39276,
4943,
16034,
3084,
62,
2231,
40271,
33411,
366,
3104... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12914,
810,
484,
2626,
1342,
621,
1160,
1830,
11,
8165,
517,
621,
362,
286,
606,
11,
290,
484,
550,
376,
29023,
1342,
621,
1367,
30,
46506,
25882,
7203,
39276,
4943,
16034,
3084,
62,
2231,
40271,
33411,
366,
3104... |
What is the episode where 18-49 has a rating/share of 3.5/9 | SELECT "Episode" FROM table_16494 WHERE "18\u201349 (Rating/Share)" = '3.5/9' | [
2061,
318,
262,
4471,
810,
1248,
12,
2920,
468,
257,
7955,
14,
20077,
286,
513,
13,
20,
14,
24,
46506,
366,
23758,
1,
16034,
3084,
62,
1433,
39449,
33411,
366,
1507,
59,
84,
1264,
27371,
357,
29321,
14,
11649,
16725,
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,
1,
1
] | [
2061,
318,
262,
4471,
810,
1248,
12,
2920,
468,
257,
7955,
14,
20077,
286,
513,
13,
20,
14,
24,
46506,
366,
23758,
1,
16034,
3084,
62,
1433,
39449,
33411,
366,
1507,
59,
84,
1264,
27371,
357,
29321,
14,
11649,
16725,
796,
705,
18,
... |
What is the voltage iinput [V/A] of the whr-g54s model? | SELECT voltage_input_ AS "v_a" FROM table_name_89 WHERE model = "whr-g54s" | [
2061,
318,
262,
15004,
1312,
15414,
685,
53,
14,
32,
60,
286,
262,
348,
81,
12,
70,
4051,
82,
2746,
30,
46506,
15004,
62,
15414,
62,
7054,
366,
85,
62,
64,
1,
16034,
3084,
62,
3672,
62,
4531,
33411,
2746,
796,
366,
1929,
81,
12,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15004,
1312,
15414,
685,
53,
14,
32,
60,
286,
262,
348,
81,
12,
70,
4051,
82,
2746,
30,
46506,
15004,
62,
15414,
62,
7054,
366,
85,
62,
64,
1,
16034,
3084,
62,
3672,
62,
4531,
33411,
2746,
796,
366,
1929,
81,
12,... |
What market rank and city had the station KABC-TV? | SELECT "Market Rank & City of license /Market" FROM table_2598 WHERE "Station" = 'KABC-TV' | [
2061,
1910,
4279,
290,
1748,
550,
262,
4429,
509,
24694,
12,
6849,
30,
46506,
366,
27470,
10916,
1222,
2254,
286,
5964,
1220,
27470,
1,
16034,
3084,
62,
1495,
4089,
33411,
366,
12367,
1,
796,
705,
42,
24694,
12,
6849,
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,
1910,
4279,
290,
1748,
550,
262,
4429,
509,
24694,
12,
6849,
30,
46506,
366,
27470,
10916,
1222,
2254,
286,
5964,
1220,
27470,
1,
16034,
3084,
62,
1495,
4089,
33411,
366,
12367,
1,
796,
705,
42,
24694,
12,
6849,
6
] |
Give me Advanced Cognition and Perception courses of 11 credits . | SELECT DISTINCT department, name, number FROM course WHERE (description LIKE '%Advanced Cognition and Perception%' OR name LIKE '%Advanced Cognition and Perception%') AND credits = 11 | [
23318,
502,
13435,
26543,
653,
290,
35802,
10902,
286,
1367,
10824,
764,
46506,
360,
8808,
1268,
4177,
5011,
11,
1438,
11,
1271,
16034,
1781,
33411,
357,
11213,
34178,
705,
4,
28809,
26543,
653,
290,
35802,
4,
6,
6375,
1438,
34178,
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
] | [
23318,
502,
13435,
26543,
653,
290,
35802,
10902,
286,
1367,
10824,
764,
46506,
360,
8808,
1268,
4177,
5011,
11,
1438,
11,
1271,
16034,
1781,
33411,
357,
11213,
34178,
705,
4,
28809,
26543,
653,
290,
35802,
4,
6,
6375,
1438,
34178,
705,... |
what is the sum of the capacity of both tarrazu and guapiles stadiums ? | SELECT SUM("capacity") FROM table_204_992 WHERE "city" IN ('tarrazu', 'guapiles') | [
10919,
318,
262,
2160,
286,
262,
5339,
286,
1111,
13422,
3247,
84,
290,
915,
499,
2915,
37924,
5633,
46506,
35683,
7203,
42404,
4943,
16034,
3084,
62,
18638,
62,
41561,
33411,
366,
19205,
1,
3268,
19203,
18870,
3247,
84,
3256,
705,
5162... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2160,
286,
262,
5339,
286,
1111,
13422,
3247,
84,
290,
915,
499,
2915,
37924,
5633,
46506,
35683,
7203,
42404,
4943,
16034,
3084,
62,
18638,
62,
41561,
33411,
366,
19205,
1,
3268,
19203,
18870,
3247,
84,
3256,
705,
5162... |
What is the city containing the KDKA-TV station? | SELECT "City of License /Market" FROM table_42972 WHERE "Station" = 'kdka-tv' | [
2061,
318,
262,
1748,
7268,
262,
43943,
25123,
12,
6849,
4429,
30,
46506,
366,
14941,
286,
13789,
1220,
27470,
1,
16034,
3084,
62,
11785,
4761,
33411,
366,
12367,
1,
796,
705,
74,
67,
4914,
12,
14981,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1748,
7268,
262,
43943,
25123,
12,
6849,
4429,
30,
46506,
366,
14941,
286,
13789,
1220,
27470,
1,
16034,
3084,
62,
11785,
4761,
33411,
366,
12367,
1,
796,
705,
74,
67,
4914,
12,
14981,
6
] |
What is the highest number of not usable satellites when there are more than 0 launch failures, less than 30 retired, and the block is I? | SELECT MAX(not_usable) FROM table_name_30 WHERE launch_failures > 0 AND retired < 30 AND block = "block i" | [
2061,
318,
262,
4511,
1271,
286,
407,
24284,
20372,
618,
612,
389,
517,
621,
657,
4219,
15536,
11,
1342,
621,
1542,
9880,
11,
290,
262,
2512,
318,
314,
30,
46506,
25882,
7,
1662,
62,
31979,
8,
16034,
3084,
62,
3672,
62,
1270,
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
] | [
2061,
318,
262,
4511,
1271,
286,
407,
24284,
20372,
618,
612,
389,
517,
621,
657,
4219,
15536,
11,
1342,
621,
1542,
9880,
11,
290,
262,
2512,
318,
314,
30,
46506,
25882,
7,
1662,
62,
31979,
8,
16034,
3084,
62,
3672,
62,
1270,
33411,... |
What is the total number of losses of the team with games less than 14, wins less than 3, in the Maac Conference at Fairfield School? | SELECT COUNT(losses) FROM table_name_61 WHERE games < 14 AND wins < 3 AND conference = "maac" AND school = "fairfield" | [
2061,
318,
262,
2472,
1271,
286,
9089,
286,
262,
1074,
351,
1830,
1342,
621,
1478,
11,
7864,
1342,
621,
513,
11,
287,
262,
6669,
330,
8785,
379,
7011,
3245,
3961,
30,
46506,
327,
28270,
7,
22462,
274,
8,
16034,
3084,
62,
3672,
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,
2472,
1271,
286,
9089,
286,
262,
1074,
351,
1830,
1342,
621,
1478,
11,
7864,
1342,
621,
513,
11,
287,
262,
6669,
330,
8785,
379,
7011,
3245,
3961,
30,
46506,
327,
28270,
7,
22462,
274,
8,
16034,
3084,
62,
3672,
62,
... |
How many oricon's have a romaji title of rakuen -memorial tracks- (maxi-single)? | SELECT COUNT("Oricon") FROM table_51179 WHERE "Romaji title" = 'rakuen -memorial tracks- (maxi-single)' | [
2437,
867,
393,
4749,
338,
423,
257,
9267,
26436,
3670,
286,
374,
8719,
268,
532,
11883,
5132,
8339,
12,
357,
9806,
72,
12,
29762,
19427,
46506,
327,
28270,
7203,
46,
1173,
261,
4943,
16034,
3084,
62,
41647,
3720,
33411,
366,
22834,
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
] | [
2437,
867,
393,
4749,
338,
423,
257,
9267,
26436,
3670,
286,
374,
8719,
268,
532,
11883,
5132,
8339,
12,
357,
9806,
72,
12,
29762,
19427,
46506,
327,
28270,
7203,
46,
1173,
261,
4943,
16034,
3084,
62,
41647,
3720,
33411,
366,
22834,
2... |
Do you know the prerequisites for MEDADM 807 and 515 ? | SELECT DISTINCT COURSE_0.department, COURSE_0.name, COURSE_0.number FROM course AS COURSE_0, course AS COURSE_1, course_prerequisite WHERE (COURSE_1.number = 807 OR COURSE_1.number = 515) AND COURSE_0.course_id = course_prerequisite.pre_course_id AND COURSE_1.course_id = course_prerequisite.course_id AND COURSE_1.depar... | [
5211,
345,
760,
262,
662,
34075,
329,
26112,
2885,
44,
807,
2998,
290,
642,
1314,
5633,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5211,
345,
760,
262,
662,
34075,
329,
26112,
2885,
44,
807,
2998,
290,
642,
1314,
5633,
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... |
Who joined earliest and is still active. | SELECT Id AS "user_link", CreationDate, LastAccessDate FROM Users WHERE CreationDate < DATEADD(day, 30, (SELECT CreationDate FROM Users WHERE Id = -1)) AND (DATEDIFF(day, LastAccessDate, GETDATE())) < 32 AND UpVotes != 0 AND DownVotes != 0 AND NOT (Reputation = 1 OR Reputation = 101) ORDER BY CreationDate | [
8241,
5399,
14555,
290,
318,
991,
4075,
13,
46506,
5121,
7054,
366,
7220,
62,
8726,
1600,
21582,
10430,
11,
4586,
15457,
10430,
16034,
18987,
33411,
21582,
10430,
1279,
360,
6158,
29266,
7,
820,
11,
1542,
11,
357,
46506,
21582,
10430,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5399,
14555,
290,
318,
991,
4075,
13,
46506,
5121,
7054,
366,
7220,
62,
8726,
1600,
21582,
10430,
11,
4586,
15457,
10430,
16034,
18987,
33411,
21582,
10430,
1279,
360,
6158,
29266,
7,
820,
11,
1542,
11,
357,
46506,
21582,
10430,
1... |
in a year before patient 030-4181 has been admitted to the hospital? | SELECT COUNT(*) > 0 FROM patient WHERE patient.uniquepid = '030-4181' AND DATETIME(patient.hospitaladmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') | [
259,
257,
614,
878,
5827,
657,
1270,
12,
19,
27057,
468,
587,
6848,
284,
262,
4436,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
39101,
12,
19,
27057,
6,
5357,
360,
1404,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
614,
878,
5827,
657,
1270,
12,
19,
27057,
468,
587,
6848,
284,
262,
4436,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
39101,
12,
19,
27057,
6,
5357,
360,
1404,
... |
592 is taken by undergrads ? | SELECT DISTINCT advisory_requirement, enforced_requirement, name FROM course WHERE department = 'EECS' AND number = 592 | [
45839,
318,
2077,
416,
739,
2164,
5643,
5633,
46506,
360,
8808,
1268,
4177,
20852,
62,
8897,
24615,
11,
20326,
62,
8897,
24615,
11,
1438,
16034,
1781,
33411,
5011,
796,
705,
36,
2943,
50,
6,
5357,
1271,
796,
642,
5892
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
45839,
318,
2077,
416,
739,
2164,
5643,
5633,
46506,
360,
8808,
1268,
4177,
20852,
62,
8897,
24615,
11,
20326,
62,
8897,
24615,
11,
1438,
16034,
1781,
33411,
5011,
796,
705,
36,
2943,
50,
6,
5357,
1271,
796,
642,
5892
] |
When was Gala released? | SELECT release FROM table_name_70 WHERE title = "gala" | [
2215,
373,
5027,
64,
2716,
30,
46506,
2650,
16034,
3084,
62,
3672,
62,
2154,
33411,
3670,
796,
366,
70,
6081,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
373,
5027,
64,
2716,
30,
46506,
2650,
16034,
3084,
62,
3672,
62,
2154,
33411,
3670,
796,
366,
70,
6081,
1
] |
what is the stream(s) and / or lake(s) when the date founded is 1959? | SELECT stream_s__and___or_lake_s_ FROM table_name_42 WHERE date_founded = 1959 | [
10919,
318,
262,
4269,
7,
82,
8,
290,
1220,
393,
13546,
7,
82,
8,
618,
262,
3128,
9393,
318,
23859,
30,
46506,
4269,
62,
82,
834,
392,
17569,
273,
62,
27180,
62,
82,
62,
16034,
3084,
62,
3672,
62,
3682,
33411,
3128,
62,
27060,
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
] | [
10919,
318,
262,
4269,
7,
82,
8,
290,
1220,
393,
13546,
7,
82,
8,
618,
262,
3128,
9393,
318,
23859,
30,
46506,
4269,
62,
82,
834,
392,
17569,
273,
62,
27180,
62,
82,
62,
16034,
3084,
62,
3672,
62,
3682,
33411,
3128,
62,
27060,
7... |
Find the total rating ratio for each channel owner Visualize by bar chart, could you show X-axis in ascending order please? | SELECT Owner, SUM(Rating_in_percent) FROM channel GROUP BY Owner ORDER BY Owner | [
16742,
262,
2472,
7955,
8064,
329,
1123,
6518,
4870,
15612,
1096,
416,
2318,
8262,
11,
714,
345,
905,
1395,
12,
22704,
287,
41988,
1502,
3387,
30,
46506,
23853,
11,
35683,
7,
29321,
62,
259,
62,
25067,
8,
16034,
6518,
44441,
11050,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
2472,
7955,
8064,
329,
1123,
6518,
4870,
15612,
1096,
416,
2318,
8262,
11,
714,
345,
905,
1395,
12,
22704,
287,
41988,
1502,
3387,
30,
46506,
23853,
11,
35683,
7,
29321,
62,
259,
62,
25067,
8,
16034,
6518,
44441,
11050,
23... |
Find the number of students who is older than 20 in each dorm Plot them as bar chart, I want to rank in ascending by the Y. | SELECT dorm_name, COUNT(*) FROM Student AS T1 JOIN Lives_in AS T2 ON T1.stuid = T2.stuid JOIN Dorm AS T3 ON T3.dormid = T2.dormid WHERE T1.Age > 20 GROUP BY T3.dorm_name ORDER BY COUNT(*) | [
16742,
262,
1271,
286,
2444,
508,
318,
4697,
621,
1160,
287,
1123,
18586,
28114,
606,
355,
2318,
8262,
11,
314,
765,
284,
4279,
287,
41988,
416,
262,
575,
13,
46506,
18586,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
13613,
7054,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
1271,
286,
2444,
508,
318,
4697,
621,
1160,
287,
1123,
18586,
28114,
606,
355,
2318,
8262,
11,
314,
765,
284,
4279,
287,
41988,
416,
262,
575,
13,
46506,
18586,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
13613,
7054,
309,
... |
Show all cities along with the number of drama workshop groups in each city Visualize by bar chart, and list names in ascending order. | SELECT City_Town, COUNT(*) FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID = T2.Address_ID GROUP BY T1.City_Town ORDER BY City_Town | [
15307,
477,
4736,
1863,
351,
262,
1271,
286,
10512,
20243,
2628,
287,
1123,
1748,
15612,
1096,
416,
2318,
8262,
11,
290,
1351,
3891,
287,
41988,
1502,
13,
46506,
2254,
62,
38097,
11,
327,
28270,
7,
28104,
16034,
3060,
16746,
7054,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
477,
4736,
1863,
351,
262,
1271,
286,
10512,
20243,
2628,
287,
1123,
1748,
15612,
1096,
416,
2318,
8262,
11,
290,
1351,
3891,
287,
41988,
1502,
13,
46506,
2254,
62,
38097,
11,
327,
28270,
7,
28104,
16034,
3060,
16746,
7054,
309,
... |
Who was the opponent on May 20? | SELECT "Opponent" FROM table_34698 WHERE "Date" = 'may 20' | [
8241,
373,
262,
6125,
319,
1737,
1160,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
2682,
39357,
33411,
366,
10430,
1,
796,
705,
11261,
1160,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
6125,
319,
1737,
1160,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
2682,
39357,
33411,
366,
10430,
1,
796,
705,
11261,
1160,
6
] |
Sort your highly voted comments. | SELECT C.Id AS "comment_link", C.Score AS "comment_score", P.Score AS "post_score" FROM Comments AS C INNER JOIN Posts AS P ON P.Id = C.PostId WHERE C.UserId = @user AND C.Score >= 1 ORDER BY 'comment_score' DESC LIMIT @num | [
42758,
534,
4047,
7052,
3651,
13,
46506,
327,
13,
7390,
7054,
366,
23893,
62,
8726,
1600,
327,
13,
26595,
7054,
366,
23893,
62,
26675,
1600,
350,
13,
26595,
7054,
366,
7353,
62,
26675,
1,
16034,
19502,
7054,
327,
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,
1... | [
42758,
534,
4047,
7052,
3651,
13,
46506,
327,
13,
7390,
7054,
366,
23893,
62,
8726,
1600,
327,
13,
26595,
7054,
366,
23893,
62,
26675,
1600,
350,
13,
26595,
7054,
366,
7353,
62,
26675,
1,
16034,
19502,
7054,
327,
3268,
21479,
32357,
1... |
what was the total population of all 6 counties combined in 2009 ? | SELECT SUM("population\ncensus 2009") FROM table_204_778 | [
10919,
373,
262,
2472,
3265,
286,
477,
718,
14683,
5929,
287,
3717,
5633,
46506,
35683,
7203,
39748,
59,
10782,
7314,
3717,
4943,
16034,
3084,
62,
18638,
62,
39761
] | [
1,
1,
1,
1,
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,
3265,
286,
477,
718,
14683,
5929,
287,
3717,
5633,
46506,
35683,
7203,
39748,
59,
10782,
7314,
3717,
4943,
16034,
3084,
62,
18638,
62,
39761
] |
Name the simplified charaacters being hsin-y an i-ma | SELECT simplified_characters FROM table_16162581_1 WHERE wade_giles = "hsin-yüan … i-ma" | [
5376,
262,
27009,
1149,
64,
19858,
852,
289,
31369,
12,
88,
281,
1312,
12,
2611,
46506,
27009,
62,
10641,
19858,
16034,
3084,
62,
1433,
1433,
1495,
6659,
62,
16,
33411,
266,
671,
62,
70,
2915,
796,
366,
11994,
259,
12,
88,
9116,
272... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
27009,
1149,
64,
19858,
852,
289,
31369,
12,
88,
281,
1312,
12,
2611,
46506,
27009,
62,
10641,
19858,
16034,
3084,
62,
1433,
1433,
1495,
6659,
62,
16,
33411,
266,
671,
62,
70,
2915,
796,
366,
11994,
259,
12,
88,
9116,
272... |
what are the four most commonly prescribed medications for patients for whom docusate sodium (colace) cap 100 mg is also prescribed at the same time, until 2104? | SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'docusate sodium (colace) cap 100 mg' AND STRFTIME('... | [
10919,
389,
262,
1440,
749,
8811,
14798,
17638,
329,
3871,
329,
4150,
2205,
385,
378,
21072,
357,
4033,
558,
8,
1451,
1802,
10527,
318,
635,
14798,
379,
262,
976,
640,
11,
1566,
362,
13464,
30,
46506,
256,
18,
13,
30349,
3672,
16034,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
389,
262,
1440,
749,
8811,
14798,
17638,
329,
3871,
329,
4150,
2205,
385,
378,
21072,
357,
4033,
558,
8,
1451,
1802,
10527,
318,
635,
14798,
379,
262,
976,
640,
11,
1566,
362,
13464,
30,
46506,
256,
18,
13,
30349,
3672,
16034,
... |
how much is the cost of a accid punc/op lac dura diagnosis? | SELECT DISTINCT cost.cost FROM cost WHERE cost.event_type = 'diagnoses_icd' AND cost.event_id IN (SELECT diagnoses_icd.row_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'accid punc/op lac dura')) | [
4919,
881,
318,
262,
1575,
286,
257,
697,
312,
4000,
66,
14,
404,
31123,
288,
5330,
13669,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
62,
4906,
796,
705,
47356,
4629,
62,
291,
67,
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,
1,
1,
1,
1,
1,
1,
1... | [
4919,
881,
318,
262,
1575,
286,
257,
697,
312,
4000,
66,
14,
404,
31123,
288,
5330,
13669,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
62,
4906,
796,
705,
47356,
4629,
62,
291,
67,
6,
5357... |
For those employees who do not work in departments with managers that have ids between 100 and 200, visualize a bar chart about the distribution of job_id and manager_id , and could you list in asc by the MANAGER_ID? | SELECT JOB_ID, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY MANAGER_ID | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
4706,
62,
312,
837,
290,
714,
345,
1351,
287,
10570,
416,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
4706,
62,
312,
837,
290,
714,
345,
1351,
287,
10570,
416,
... |
Name the condition for partial thromboplastin time of prolonged and platelet count of unaffected with bleeding time of prolonged | SELECT condition FROM table_name_41 WHERE partial_thromboplastin_time = "prolonged" AND platelet_count = "unaffected" AND bleeding_time = "prolonged" | [
5376,
262,
4006,
329,
13027,
294,
398,
65,
404,
12957,
259,
640,
286,
20573,
290,
7480,
1616,
954,
286,
35290,
351,
16832,
640,
286,
20573,
46506,
4006,
16034,
3084,
62,
3672,
62,
3901,
33411,
13027,
62,
400,
398,
65,
404,
12957,
259,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4006,
329,
13027,
294,
398,
65,
404,
12957,
259,
640,
286,
20573,
290,
7480,
1616,
954,
286,
35290,
351,
16832,
640,
286,
20573,
46506,
4006,
16034,
3084,
62,
3672,
62,
3901,
33411,
13027,
62,
400,
398,
65,
404,
12957,
259,... |
What was the home team score at Glenferrie Oval? | SELECT home_team AS score FROM table_name_10 WHERE venue = "glenferrie oval" | [
2061,
373,
262,
1363,
1074,
4776,
379,
20716,
2232,
5034,
25165,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
940,
33411,
14359,
796,
366,
4743,
268,
2232,
5034,
41186,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1363,
1074,
4776,
379,
20716,
2232,
5034,
25165,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
940,
33411,
14359,
796,
366,
4743,
268,
2232,
5034,
41186,
1
] |
How many reg GP for nathan barrett in a round less than 8? | SELECT COUNT("Reg GP") FROM table_77745 WHERE "Player" = 'nathan barrett' AND "Rd #" < '8' | [
2437,
867,
842,
14714,
329,
299,
6696,
2318,
11489,
287,
257,
2835,
1342,
621,
807,
30,
46506,
327,
28270,
7203,
8081,
14714,
4943,
16034,
3084,
62,
29331,
2231,
33411,
366,
14140,
1,
796,
705,
77,
6696,
2318,
11489,
6,
5357,
366,
49,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
842,
14714,
329,
299,
6696,
2318,
11489,
287,
257,
2835,
1342,
621,
807,
30,
46506,
327,
28270,
7203,
8081,
14714,
4943,
16034,
3084,
62,
29331,
2231,
33411,
366,
14140,
1,
796,
705,
77,
6696,
2318,
11489,
6,
5357,
366,
49,... |
What is the attendance of the game on July 26? | SELECT SUM(attendance) FROM table_name_1 WHERE date = "july 26" | [
2061,
318,
262,
14858,
286,
262,
983,
319,
2901,
2608,
30,
46506,
35683,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
16,
33411,
3128,
796,
366,
73,
2062,
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,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
14858,
286,
262,
983,
319,
2901,
2608,
30,
46506,
35683,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
16,
33411,
3128,
796,
366,
73,
2062,
2608,
1
] |
Find all answers for elasticsearch questions. | SELECT COUNT(1) FROM Posts AS p INNER JOIN Posts AS pp ON p.ParentId = pp.Id INNER JOIN PostTags AS pt ON pt.PostId = p.ParentId INNER JOIN Users AS u ON p.OwnerUserId = u.Id INNER JOIN Users AS up ON pp.OwnerUserId = up.Id WHERE pt.TagId = 86394 AND p.PostTypeId = 2 | [
16742,
477,
7429,
329,
27468,
12947,
2683,
13,
46506,
327,
28270,
7,
16,
8,
16034,
12043,
7054,
279,
3268,
21479,
32357,
1268,
12043,
7054,
9788,
6177,
279,
13,
24546,
7390,
796,
9788,
13,
7390,
3268,
21479,
32357,
1268,
2947,
36142,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
477,
7429,
329,
27468,
12947,
2683,
13,
46506,
327,
28270,
7,
16,
8,
16034,
12043,
7054,
279,
3268,
21479,
32357,
1268,
12043,
7054,
9788,
6177,
279,
13,
24546,
7390,
796,
9788,
13,
7390,
3268,
21479,
32357,
1268,
2947,
36142,
70... |
What is the Finish of 28 Wins? | SELECT finish FROM table_name_8 WHERE wins = "28" | [
2061,
318,
262,
32585,
286,
2579,
24423,
30,
46506,
5461,
16034,
3084,
62,
3672,
62,
23,
33411,
7864,
796,
366,
2078,
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,
32585,
286,
2579,
24423,
30,
46506,
5461,
16034,
3084,
62,
3672,
62,
23,
33411,
7864,
796,
366,
2078,
1
] |
WHich Studio analysts has a Studio host of gary tanguay in 2009-10? | SELECT "Studio analysts" FROM table_75209 WHERE "Studio host" = 'gary tanguay' AND "Year" = '2009-10' | [
12418,
488,
11733,
13440,
468,
257,
11733,
2583,
286,
308,
560,
256,
2303,
323,
287,
3717,
12,
940,
30,
46506,
366,
41501,
13440,
1,
16034,
3084,
62,
2425,
22567,
33411,
366,
41501,
2583,
1,
796,
705,
14849,
256,
2303,
323,
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
] | [
12418,
488,
11733,
13440,
468,
257,
11733,
2583,
286,
308,
560,
256,
2303,
323,
287,
3717,
12,
940,
30,
46506,
366,
41501,
13440,
1,
16034,
3084,
62,
2425,
22567,
33411,
366,
41501,
2583,
1,
796,
705,
14849,
256,
2303,
323,
6,
5357,
... |
What is the lowest PI GP when the Reg GP is 1, Murray Bannerman is the Player, and the Pick # is under 58? | SELECT MIN(pl_gp) FROM table_name_53 WHERE reg_gp = 1 AND player = "murray bannerman" AND pick__number < 58 | [
2061,
318,
262,
9016,
30434,
14714,
618,
262,
3310,
14714,
318,
352,
11,
12164,
27414,
805,
318,
262,
7853,
11,
290,
262,
12346,
1303,
318,
739,
7618,
30,
46506,
20625,
7,
489,
62,
31197,
8,
16034,
3084,
62,
3672,
62,
4310,
33411,
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
] | [
2061,
318,
262,
9016,
30434,
14714,
618,
262,
3310,
14714,
318,
352,
11,
12164,
27414,
805,
318,
262,
7853,
11,
290,
262,
12346,
1303,
318,
739,
7618,
30,
46506,
20625,
7,
489,
62,
31197,
8,
16034,
3084,
62,
3672,
62,
4310,
33411,
8... |
Wha is the average number of bronze of hungary, which has less than 1 silver? | SELECT AVG("Bronze") FROM table_79668 WHERE "Nation" = 'hungary' AND "Silver" < '1' | [
1199,
64,
318,
262,
2811,
1271,
286,
22101,
286,
9174,
560,
11,
543,
468,
1342,
621,
352,
8465,
30,
46506,
35224,
7203,
18760,
2736,
4943,
16034,
3084,
62,
3720,
35809,
33411,
366,
46108,
1,
796,
705,
43274,
560,
6,
5357,
366,
26766,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1199,
64,
318,
262,
2811,
1271,
286,
22101,
286,
9174,
560,
11,
543,
468,
1342,
621,
352,
8465,
30,
46506,
35224,
7203,
18760,
2736,
4943,
16034,
3084,
62,
3720,
35809,
33411,
366,
46108,
1,
796,
705,
43274,
560,
6,
5357,
366,
26766,
... |
How many resorts have 118 runs? | SELECT COUNT("Name") FROM table_73850 WHERE "Runs" = '118' | [
2437,
867,
43017,
423,
19035,
4539,
30,
46506,
327,
28270,
7203,
5376,
4943,
16034,
3084,
62,
22,
2548,
1120,
33411,
366,
10987,
82,
1,
796,
705,
16817,
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,
43017,
423,
19035,
4539,
30,
46506,
327,
28270,
7203,
5376,
4943,
16034,
3084,
62,
22,
2548,
1120,
33411,
366,
10987,
82,
1,
796,
705,
16817,
6
] |
Name the womens doubles when mens doubles is charalambos kazilas stepan partemian | SELECT womens_doubles FROM table_14903881_1 WHERE mens_doubles = "Charalambos Kazilas Stepan Partemian" | [
5376,
262,
1116,
641,
21938,
618,
285,
641,
21938,
318,
1149,
282,
4131,
418,
479,
1031,
346,
292,
2239,
272,
636,
368,
666,
46506,
1116,
641,
62,
67,
280,
7689,
16034,
3084,
62,
1415,
3829,
2548,
6659,
62,
16,
33411,
285,
641,
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
] | [
5376,
262,
1116,
641,
21938,
618,
285,
641,
21938,
318,
1149,
282,
4131,
418,
479,
1031,
346,
292,
2239,
272,
636,
368,
666,
46506,
1116,
641,
62,
67,
280,
7689,
16034,
3084,
62,
1415,
3829,
2548,
6659,
62,
16,
33411,
285,
641,
62,
... |
Which television service has a qualsiasi package/option? | SELECT "Television service" FROM table_41216 WHERE "Package/Option" = 'qualsiasi' | [
13828,
5581,
2139,
468,
257,
627,
874,
4448,
72,
5301,
14,
18076,
30,
46506,
366,
6767,
5024,
2139,
1,
16034,
3084,
62,
39226,
1433,
33411,
366,
27813,
14,
19722,
1,
796,
705,
421,
874,
4448,
72,
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
] | [
13828,
5581,
2139,
468,
257,
627,
874,
4448,
72,
5301,
14,
18076,
30,
46506,
366,
6767,
5024,
2139,
1,
16034,
3084,
62,
39226,
1433,
33411,
366,
27813,
14,
19722,
1,
796,
705,
421,
874,
4448,
72,
6
] |
calculate the length of the hospital stay of patient 013-12480's first intensive care unit stay. | SELECT STRFTIME('%j', patient.unitdischargetime) - STRFTIME('%j', patient.unitadmittime) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-12480') AND NOT patient.unitadmittime IS NULL ORDER BY patient.unitadmittime LIMIT 1 | [
9948,
3129,
378,
262,
4129,
286,
262,
4436,
2652,
286,
5827,
5534,
18,
12,
17464,
1795,
338,
717,
18590,
1337,
4326,
2652,
13,
46506,
19269,
9792,
12789,
10786,
4,
73,
3256,
5827,
13,
20850,
6381,
354,
7641,
524,
8,
532,
19269,
9792,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4129,
286,
262,
4436,
2652,
286,
5827,
5534,
18,
12,
17464,
1795,
338,
717,
18590,
1337,
4326,
2652,
13,
46506,
19269,
9792,
12789,
10786,
4,
73,
3256,
5827,
13,
20850,
6381,
354,
7641,
524,
8,
532,
19269,
9792,
... |
What is the output power for the v p =~3 mv output voltage? | SELECT "Output power" FROM table_4265 WHERE "Output voltage" = 'V P =~3 mV' | [
2061,
318,
262,
5072,
1176,
329,
262,
410,
279,
796,
93,
18,
285,
85,
5072,
15004,
30,
46506,
366,
26410,
1176,
1,
16034,
3084,
62,
19,
22980,
33411,
366,
26410,
15004,
1,
796,
705,
53,
350,
796,
93,
18,
285,
53,
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,
5072,
1176,
329,
262,
410,
279,
796,
93,
18,
285,
85,
5072,
15004,
30,
46506,
366,
26410,
1176,
1,
16034,
3084,
62,
19,
22980,
33411,
366,
26410,
15004,
1,
796,
705,
53,
350,
796,
93,
18,
285,
53,
6
] |
who linked to my posts? (user construction). | SELECT lnk.CreationDate AS DateLinked, PostId AS linkin, RelatedPostId AS "post_link", p2.CreationDate AS origPostDate, p2.OwnerUserId AS "user_link", PostId AS "post_link", p1.CreationDate AS destPostDate, p1.OwnerUserId AS "user_link" FROM PostLinks AS lnk LEFT JOIN Posts AS p2 ON lnk.RelatedPostId = p2.Id LEFT JOIN ... | [
8727,
6692,
284,
616,
6851,
30,
357,
7220,
5103,
737,
46506,
300,
77,
74,
13,
12443,
341,
10430,
7054,
7536,
11280,
276,
11,
2947,
7390,
7054,
2792,
259,
11,
19809,
6307,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
17,
13,
12443,
34... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8727,
6692,
284,
616,
6851,
30,
357,
7220,
5103,
737,
46506,
300,
77,
74,
13,
12443,
341,
10430,
7054,
7536,
11280,
276,
11,
2947,
7390,
7054,
2792,
259,
11,
19809,
6307,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
17,
13,
12443,
34... |
List the last name of the students who do not have any food type allergy and count them in a bart chart. | SELECT LName, COUNT(LName) FROM Student WHERE NOT StuID IN (SELECT T1.StuID FROM Has_Allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy WHERE T2.AllergyType = "food") GROUP BY LName | [
8053,
262,
938,
1438,
286,
262,
2444,
508,
466,
407,
423,
597,
2057,
2099,
36197,
290,
954,
606,
287,
257,
30539,
8262,
13,
46506,
406,
5376,
11,
327,
28270,
7,
43,
5376,
8,
16034,
13613,
33411,
5626,
520,
84,
2389,
3268,
357,
46506... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8053,
262,
938,
1438,
286,
262,
2444,
508,
466,
407,
423,
597,
2057,
2099,
36197,
290,
954,
606,
287,
257,
30539,
8262,
13,
46506,
406,
5376,
11,
327,
28270,
7,
43,
5376,
8,
16034,
13613,
33411,
5626,
520,
84,
2389,
3268,
357,
46506... |
What is the minimum enrollment at barton college | SELECT MIN("Enrollment") FROM table_16989 WHERE "Institution" = 'Barton College' | [
2061,
318,
262,
5288,
20753,
379,
30539,
261,
4152,
46506,
20625,
7203,
4834,
48108,
4943,
16034,
3084,
62,
1433,
42520,
33411,
366,
6310,
2738,
1,
796,
705,
33,
41328,
5535,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5288,
20753,
379,
30539,
261,
4152,
46506,
20625,
7203,
4834,
48108,
4943,
16034,
3084,
62,
1433,
42520,
33411,
366,
6310,
2738,
1,
796,
705,
33,
41328,
5535,
6
] |
WHAT IS THE YEAR WITH A BRONZE OF AIMO TEPSELL? | SELECT MIN("Year") FROM table_79092 WHERE "Bronze" = 'aimo tepsell' | [
32971,
3180,
3336,
32914,
13315,
317,
11177,
1340,
21211,
3963,
317,
3955,
46,
13368,
3705,
23304,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
3720,
2931,
17,
33411,
366,
18760,
2736,
1,
796,
705,
1385,
78,
256,
538,
7255,
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
] | [
32971,
3180,
3336,
32914,
13315,
317,
11177,
1340,
21211,
3963,
317,
3955,
46,
13368,
3705,
23304,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
3720,
2931,
17,
33411,
366,
18760,
2736,
1,
796,
705,
1385,
78,
256,
538,
7255,
6
] |
How many patients have gastrointestinal bleed and tp drug route? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.diagnosis = "GASTROINTESTINAL BLEED" AND prescriptions.route = "TP" | [
2437,
867,
3871,
423,
40887,
30182,
290,
256,
79,
2563,
6339,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
3871,
423,
40887,
30182,
290,
256,
79,
2563,
6339,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092... |
Find the name and credit score of the customers who have some loans. | SELECT DISTINCT T1.cust_name, T1.credit_score FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id | [
16742,
262,
1438,
290,
3884,
4776,
286,
262,
4297,
508,
423,
617,
10021,
13,
46506,
360,
8808,
1268,
4177,
309,
16,
13,
66,
436,
62,
3672,
11,
309,
16,
13,
43082,
62,
26675,
16034,
6491,
7054,
309,
16,
32357,
1268,
8063,
7054,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
1438,
290,
3884,
4776,
286,
262,
4297,
508,
423,
617,
10021,
13,
46506,
360,
8808,
1268,
4177,
309,
16,
13,
66,
436,
62,
3672,
11,
309,
16,
13,
43082,
62,
26675,
16034,
6491,
7054,
309,
16,
32357,
1268,
8063,
7054,
309,
... |
how many years did boston college win with john kelley as coach ? | SELECT COUNT("year") FROM table_203_13 WHERE "champion" = 'boston college' AND "coach" = 'john "snooks" kelley' | [
4919,
867,
812,
750,
275,
5744,
4152,
1592,
351,
45610,
885,
75,
1636,
355,
3985,
5633,
46506,
327,
28270,
7203,
1941,
4943,
16034,
3084,
62,
22416,
62,
1485,
33411,
366,
354,
6734,
1,
796,
705,
65,
5744,
4152,
6,
5357,
366,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
812,
750,
275,
5744,
4152,
1592,
351,
45610,
885,
75,
1636,
355,
3985,
5633,
46506,
327,
28270,
7203,
1941,
4943,
16034,
3084,
62,
22416,
62,
1485,
33411,
366,
354,
6734,
1,
796,
705,
65,
5744,
4152,
6,
5357,
366,
1073,
6... |
What incumbent won the district of texas 22? | SELECT incumbent FROM table_1341598_44 WHERE district = "Texas 22" | [
2061,
23526,
1839,
262,
4783,
286,
48659,
292,
2534,
30,
46506,
23526,
16034,
3084,
62,
19880,
1314,
4089,
62,
2598,
33411,
4783,
796,
366,
21607,
2534,
1
] | [
1,
1,
1,
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,
23526,
1839,
262,
4783,
286,
48659,
292,
2534,
30,
46506,
23526,
16034,
3084,
62,
19880,
1314,
4089,
62,
2598,
33411,
4783,
796,
366,
21607,
2534,
1
] |
What character is in over 22 episodes? | SELECT character FROM table_name_91 WHERE episodes > 22 | [
2061,
2095,
318,
287,
625,
2534,
8640,
30,
46506,
2095,
16034,
3084,
62,
3672,
62,
6420,
33411,
8640,
1875,
2534
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2095,
318,
287,
625,
2534,
8640,
30,
46506,
2095,
16034,
3084,
62,
3672,
62,
6420,
33411,
8640,
1875,
2534
] |
What was the score of the game with a loss of Mercedes (0-1)? | SELECT score FROM table_name_47 WHERE loss = "mercedes (0-1)" | [
2061,
373,
262,
4776,
286,
262,
983,
351,
257,
2994,
286,
21279,
357,
15,
12,
16,
19427,
46506,
4776,
16034,
3084,
62,
3672,
62,
2857,
33411,
2994,
796,
366,
647,
19285,
357,
15,
12,
16,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
286,
262,
983,
351,
257,
2994,
286,
21279,
357,
15,
12,
16,
19427,
46506,
4776,
16034,
3084,
62,
3672,
62,
2857,
33411,
2994,
796,
366,
647,
19285,
357,
15,
12,
16,
16725
] |
which game did the opponent score only 7 points ? | SELECT "date" FROM table_203_158 WHERE "result" = 7 | [
4758,
983,
750,
262,
6125,
4776,
691,
767,
2173,
5633,
46506,
366,
4475,
1,
16034,
3084,
62,
22416,
62,
21273,
33411,
366,
20274,
1,
796,
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
] | [
4758,
983,
750,
262,
6125,
4776,
691,
767,
2173,
5633,
46506,
366,
4475,
1,
16034,
3084,
62,
22416,
62,
21273,
33411,
366,
20274,
1,
796,
767
] |
which date is listed after 27 march 1977 ? | SELECT "date" FROM table_203_793 WHERE id = (SELECT id FROM table_203_793 WHERE "date" = '27 march 1977') + 1 | [
4758,
3128,
318,
5610,
706,
2681,
9960,
15589,
5633,
46506,
366,
4475,
1,
16034,
3084,
62,
22416,
62,
44750,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
22416,
62,
44750,
33411,
366,
4475,
1,
796,
705,
1983,
9960,
15589,
11537,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
318,
5610,
706,
2681,
9960,
15589,
5633,
46506,
366,
4475,
1,
16034,
3084,
62,
22416,
62,
44750,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
22416,
62,
44750,
33411,
366,
4475,
1,
796,
705,
1983,
9960,
15589,
11537,... |
give me the number of patients whose admission location is phys referral/normal deli and diagnoses short title is heart valve transplant? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND diagnoses.short_title = "Heart valve transplant" | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
2281,
31413,
14,
11265,
1619,
72,
290,
40567,
1790,
3670,
318,
2612,
22580,
23319,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
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... | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
2281,
31413,
14,
11265,
1619,
72,
290,
40567,
1790,
3670,
318,
2612,
22580,
23319,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3... |
Show the denomination shared by more than one school. | SELECT denomination FROM school GROUP BY denomination HAVING COUNT(*) > 1 | [
15307,
262,
47491,
4888,
416,
517,
621,
530,
1524,
13,
46506,
47491,
16034,
1524,
44441,
11050,
47491,
367,
10116,
2751,
327,
28270,
7,
28104,
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
] | [
15307,
262,
47491,
4888,
416,
517,
621,
530,
1524,
13,
46506,
47491,
16034,
1524,
44441,
11050,
47491,
367,
10116,
2751,
327,
28270,
7,
28104,
1875,
352
] |
What was the result of the election for incumbent Cordell Hull? | SELECT "Result" FROM table_785 WHERE "Incumbent" = 'Cordell Hull' | [
2061,
373,
262,
1255,
286,
262,
3071,
329,
23526,
21119,
695,
28238,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
41172,
33411,
366,
25517,
2178,
298,
1,
796,
705,
34,
585,
695,
28238,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1255,
286,
262,
3071,
329,
23526,
21119,
695,
28238,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
41172,
33411,
366,
25517,
2178,
298,
1,
796,
705,
34,
585,
695,
28238,
6
] |
Which lab conduct of most number of tests? | SELECT lab FROM resultsdata15 GROUP BY lab ORDER BY COUNT(*) DESC LIMIT 1 | [
13828,
2248,
3189,
286,
749,
1271,
286,
5254,
30,
46506,
2248,
16034,
2482,
7890,
1314,
44441,
11050,
2248,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
2248,
3189,
286,
749,
1271,
286,
5254,
30,
46506,
2248,
16034,
2482,
7890,
1314,
44441,
11050,
2248,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] |
Which 1990 has a 2005 smaller than 5,361, and a 2007 smaller than 4,841, and a 2006 smaller than 618, and a 2004 smaller than 389? | SELECT "1990" FROM table_63887 WHERE "2005" < '5,361' AND "2007" < '4,841' AND "2006" < '618' AND "2004" < '389' | [
13828,
6303,
468,
257,
5075,
4833,
621,
642,
11,
35195,
11,
290,
257,
4343,
4833,
621,
604,
11,
23,
3901,
11,
290,
257,
4793,
4833,
621,
718,
1507,
11,
290,
257,
5472,
4833,
621,
49633,
30,
46506,
366,
19891,
1,
16034,
3084,
62,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
6303,
468,
257,
5075,
4833,
621,
642,
11,
35195,
11,
290,
257,
4343,
4833,
621,
604,
11,
23,
3901,
11,
290,
257,
4793,
4833,
621,
718,
1507,
11,
290,
257,
5472,
4833,
621,
49633,
30,
46506,
366,
19891,
1,
16034,
3084,
62,
2... |
What's the official website of Burning Flame with 22 episodes? | SELECT official_website FROM table_name_33 WHERE number_of_episodes > 22 AND english_title__chinese_title_ = "burning flame 烈火雄心" | [
2061,
338,
262,
1743,
3052,
286,
21460,
11981,
351,
2534,
8640,
30,
46506,
1743,
62,
732,
12485,
16034,
3084,
62,
3672,
62,
2091,
33411,
1271,
62,
1659,
62,
538,
8052,
1875,
2534,
5357,
46932,
62,
7839,
834,
354,
3762,
62,
7839,
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
] | [
2061,
338,
262,
1743,
3052,
286,
21460,
11981,
351,
2534,
8640,
30,
46506,
1743,
62,
732,
12485,
16034,
3084,
62,
3672,
62,
2091,
33411,
1271,
62,
1659,
62,
538,
8052,
1875,
2534,
5357,
46932,
62,
7839,
834,
354,
3762,
62,
7839,
62,
... |
Who was in the pole position for knockhill? | SELECT "Pole Position" FROM table_26918 WHERE "Circuit" = 'Knockhill' | [
8241,
373,
287,
262,
16825,
2292,
329,
10643,
12639,
30,
46506,
366,
47,
2305,
23158,
1,
16034,
3084,
62,
26276,
1507,
33411,
366,
31560,
5013,
1,
796,
705,
25095,
735,
12639,
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
] | [
8241,
373,
287,
262,
16825,
2292,
329,
10643,
12639,
30,
46506,
366,
47,
2305,
23158,
1,
16034,
3084,
62,
26276,
1507,
33411,
366,
31560,
5013,
1,
796,
705,
25095,
735,
12639,
6
] |
What is the sum of Round(s), when Method is 'Submission (Banana Split)'? | SELECT SUM("Round") FROM table_50787 WHERE "Method" = 'submission (banana split)' | [
2061,
318,
262,
2160,
286,
10485,
7,
82,
828,
618,
11789,
318,
705,
7004,
3411,
357,
30457,
2271,
27758,
8,
30960,
46506,
35683,
7203,
22685,
4943,
16034,
3084,
62,
1120,
41019,
33411,
366,
17410,
1,
796,
705,
7266,
3411,
357,
3820,
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
] | [
2061,
318,
262,
2160,
286,
10485,
7,
82,
828,
618,
11789,
318,
705,
7004,
3411,
357,
30457,
2271,
27758,
8,
30960,
46506,
35683,
7203,
22685,
4943,
16034,
3084,
62,
1120,
41019,
33411,
366,
17410,
1,
796,
705,
7266,
3411,
357,
3820,
2... |
Who won Silverstone in a round after 10? | SELECT name FROM table_name_90 WHERE round > 10 AND circuit = "silverstone" | [
8241,
1839,
7698,
6440,
287,
257,
2835,
706,
838,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
3829,
33411,
2835,
1875,
838,
5357,
10349,
796,
366,
40503,
6440,
1
] | [
1,
1,
1,
1,
1,
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,
7698,
6440,
287,
257,
2835,
706,
838,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
3829,
33411,
2835,
1875,
838,
5357,
10349,
796,
366,
40503,
6440,
1
] |
What is the number of land areas that have a place name of Ballplay? | SELECT COUNT(land_area__2010_) FROM table_249512_2 WHERE place_name = "Ballplay" | [
2061,
318,
262,
1271,
286,
1956,
3006,
326,
423,
257,
1295,
1438,
286,
6932,
1759,
30,
46506,
327,
28270,
7,
1044,
62,
20337,
834,
10333,
62,
8,
16034,
3084,
62,
1731,
3865,
1065,
62,
17,
33411,
1295,
62,
3672,
796,
366,
23410,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
1956,
3006,
326,
423,
257,
1295,
1438,
286,
6932,
1759,
30,
46506,
327,
28270,
7,
1044,
62,
20337,
834,
10333,
62,
8,
16034,
3084,
62,
1731,
3865,
1065,
62,
17,
33411,
1295,
62,
3672,
796,
366,
23410,
1759... |
WHERE somecol IS NULL OR somecol < 18. | WITH CTE1 AS (SELECT Age, ROW_NUMBER() OVER (ORDER BY Age) AS RN FROM Users) SELECT RN FROM CTE1 WHERE Age = 18 ORDER BY RN LIMIT 1 | [
47357,
617,
4033,
3180,
15697,
6375,
617,
4033,
1279,
1248,
13,
54,
10554,
327,
9328,
16,
7054,
357,
46506,
7129,
11,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
7129,
8,
7054,
43112,
16034,
18987,
8,
33493,
43112... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
47357,
617,
4033,
3180,
15697,
6375,
617,
4033,
1279,
1248,
13,
54,
10554,
327,
9328,
16,
7054,
357,
46506,
7129,
11,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
7129,
8,
7054,
43112,
16034,
18987,
8,
33493,
43112... |
count the number of patients whose year of death is less than or equal to 2132 and diagnoses long title is other pulmonary insufficiency, not elsewhere classified? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dod_year <= "2132.0" AND diagnoses.long_title = "Other pulmonary insufficiency, not elsewhere classified" | [
9127,
262,
1271,
286,
3871,
3025,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
19924,
290,
40567,
890,
3670,
318,
584,
45105,
1035,
1648,
19777,
11,
407,
8057,
10090,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
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,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
19924,
290,
40567,
890,
3670,
318,
584,
45105,
1035,
1648,
19777,
11,
407,
8057,
10090,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
... |
Show the number of assets and group by asset make in a bar chart, show Y in desc order. | SELECT asset_make, COUNT(asset_make) FROM Assets GROUP BY asset_make ORDER BY COUNT(asset_make) DESC | [
15307,
262,
1271,
286,
6798,
290,
1448,
416,
11171,
787,
287,
257,
2318,
8262,
11,
905,
575,
287,
1715,
1502,
13,
46506,
11171,
62,
15883,
11,
327,
28270,
7,
562,
316,
62,
15883,
8,
16034,
41059,
44441,
11050,
11171,
62,
15883,
38678,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
1271,
286,
6798,
290,
1448,
416,
11171,
787,
287,
257,
2318,
8262,
11,
905,
575,
287,
1715,
1502,
13,
46506,
11171,
62,
15883,
11,
327,
28270,
7,
562,
316,
62,
15883,
8,
16034,
41059,
44441,
11050,
11171,
62,
15883,
38678,... |
Which location has a copies per particle of 0 and a protein of nsp3? | SELECT "Location" FROM table_35830 WHERE "Copies per particle" = '0' AND "Protein" = 'nsp3' | [
13828,
4067,
468,
257,
9088,
583,
18758,
286,
657,
290,
257,
7532,
286,
299,
2777,
18,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
31128,
1270,
33411,
366,
13379,
444,
583,
18758,
1,
796,
705,
15,
6,
5357,
366,
47,
35574,
1,
796,
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
] | [
13828,
4067,
468,
257,
9088,
583,
18758,
286,
657,
290,
257,
7532,
286,
299,
2777,
18,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
31128,
1270,
33411,
366,
13379,
444,
583,
18758,
1,
796,
705,
15,
6,
5357,
366,
47,
35574,
1,
796,
7... |
What is the maximum torque at rpm for the engine with code BMM? | SELECT "max. torque at rpm" FROM table_53713 WHERE "engine code(s)" = 'bmm' | [
2061,
318,
262,
5415,
26415,
379,
37542,
329,
262,
3113,
351,
2438,
347,
12038,
30,
46506,
366,
9806,
13,
26415,
379,
37542,
1,
16034,
3084,
62,
46096,
1485,
33411,
366,
18392,
2438,
7,
82,
16725,
796,
705,
65,
3020,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5415,
26415,
379,
37542,
329,
262,
3113,
351,
2438,
347,
12038,
30,
46506,
366,
9806,
13,
26415,
379,
37542,
1,
16034,
3084,
62,
46096,
1485,
33411,
366,
18392,
2438,
7,
82,
16725,
796,
705,
65,
3020,
6
] |
Which of my answers have helped the Internet?. Shows you questions that you've answered that have significant view counts. | SELECT q.ViewCount AS "views", ROUND(q.ViewCount / q.AnswerCount, 2) AS "views_per_answer", q.AnswerCount AS "answer_count", q.Id AS "post_link", a.Score AS "answer_score", (CASE WHEN q.AcceptedAnswerId = a.Id THEN 'Yes' ELSE NULL END) AS "accepted", FLOOR((TIME_TO_STR(q.CreationDate, '%-HOUR') * 60 + TIME_TO_STR(q.Cre... | [
13828,
286,
616,
7429,
423,
4193,
262,
4455,
30,
13,
25156,
345,
2683,
326,
345,
1053,
9373,
326,
423,
2383,
1570,
9853,
13,
46506,
10662,
13,
7680,
12332,
7054,
366,
33571,
1600,
371,
15919,
7,
80,
13,
7680,
12332,
1220,
10662,
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... | [
13828,
286,
616,
7429,
423,
4193,
262,
4455,
30,
13,
25156,
345,
2683,
326,
345,
1053,
9373,
326,
423,
2383,
1570,
9853,
13,
46506,
10662,
13,
7680,
12332,
7054,
366,
33571,
1600,
371,
15919,
7,
80,
13,
7680,
12332,
1220,
10662,
13,
... |
what team is in division 2 ? | SELECT "team" FROM table_203_789 WHERE "division" = 2 | [
10919,
1074,
318,
287,
7297,
362,
5633,
46506,
366,
15097,
1,
16034,
3084,
62,
22416,
62,
40401,
33411,
366,
21426,
1,
796,
362
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
1074,
318,
287,
7297,
362,
5633,
46506,
366,
15097,
1,
16034,
3084,
62,
22416,
62,
40401,
33411,
366,
21426,
1,
796,
362
] |
how many days have elapsed since the last diagnosis of acute respiratory failure in patient 017-45919 in their current hospital visit? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', diagnosis.diagnosistime)) FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '017-45919'... | [
4919,
867,
1528,
423,
42118,
1201,
262,
938,
13669,
286,
14352,
22949,
5287,
287,
5827,
5534,
22,
12,
33459,
1129,
287,
511,
1459,
4436,
3187,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
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... | [
4919,
867,
1528,
423,
42118,
1201,
262,
938,
13669,
286,
14352,
22949,
5287,
287,
5827,
5534,
22,
12,
33459,
1129,
287,
511,
1459,
4436,
3187,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
2... |
How many teams got pick number 130? | SELECT COUNT("College/junior/club team") FROM table_3656 WHERE "Pick #" = '130' | [
2437,
867,
3466,
1392,
2298,
1271,
11323,
30,
46506,
327,
28270,
7203,
38951,
14,
29741,
1504,
14,
18664,
1074,
4943,
16034,
3084,
62,
2623,
3980,
33411,
366,
31686,
1303,
1,
796,
705,
12952,
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,
3466,
1392,
2298,
1271,
11323,
30,
46506,
327,
28270,
7203,
38951,
14,
29741,
1504,
14,
18664,
1074,
4943,
16034,
3084,
62,
2623,
3980,
33411,
366,
31686,
1303,
1,
796,
705,
12952,
6
] |
In 1984, Did the Falcons have a win or loss against the New Orleans Saints? | SELECT "Result" FROM table_1504 WHERE "Opponent" = 'New Orleans Saints' | [
818,
12844,
11,
7731,
262,
21026,
423,
257,
1592,
393,
2994,
1028,
262,
968,
12255,
13048,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
8628,
19,
33411,
366,
27524,
3471,
1,
796,
705,
3791,
12255,
13048,
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
] | [
818,
12844,
11,
7731,
262,
21026,
423,
257,
1592,
393,
2994,
1028,
262,
968,
12255,
13048,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
8628,
19,
33411,
366,
27524,
3471,
1,
796,
705,
3791,
12255,
13048,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.