instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is NiCd, when Type is 'Capacity under 500mA constant Drain'? | SELECT "NiCd" FROM table_75748 WHERE "Type" = 'capacity under 500ma constant drain' | [
2061,
318,
11556,
34,
67,
11,
618,
5994,
318,
705,
15610,
4355,
739,
5323,
42646,
6937,
36024,
30960,
46506,
366,
34153,
34,
67,
1,
16034,
3084,
62,
39251,
2780,
33411,
366,
6030,
1,
796,
705,
42404
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11556,
34,
67,
11,
618,
5994,
318,
705,
15610,
4355,
739,
5323,
42646,
6937,
36024,
30960,
46506,
366,
34153,
34,
67,
1,
16034,
3084,
62,
39251,
2780,
33411,
366,
6030,
1,
796,
705,
42404
] |
Who was at home when the score was 2:2? | SELECT home FROM table_name_88 WHERE score = "2:2" | [
8241,
373,
379,
1363,
618,
262,
4776,
373,
362,
25,
17,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
3459,
33411,
4776,
796,
366,
17,
25,
17,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] | [
8241,
373,
379,
1363,
618,
262,
4776,
373,
362,
25,
17,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
3459,
33411,
4776,
796,
366,
17,
25,
17,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
Who was the away team playing against collingwood? | SELECT "Away team" FROM table_57633 WHERE "Home team" = 'collingwood' | [
8241,
373,
262,
1497,
1074,
2712,
1028,
2927,
278,
3822,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
37452,
2091,
33411,
366,
16060,
1074,
1,
796,
705,
26000,
278,
3822,
6,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0
] | [
8241,
373,
262,
1497,
1074,
2712,
1028,
2927,
278,
3822,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
37452,
2091,
33411,
366,
16060,
1074,
1,
796,
705,
26000,
278,
3822,
6,
50256,
50256,
50256
] |
Voting Trend - Questions Only. | SELECT DATEADD(MONTH, DATEDIFF(MONTH, 0, CreationDate), 0) AS "creationdate", COUNT(CASE WHEN p.Score < 0 AND NOT p.ClosedDate IS NULL THEN 1 ELSE NULL END) AS "voted_down_and_closed", COUNT(CASE WHEN p.Score < 0 THEN 1 ELSE NULL END) AS "voted_down", COUNT(CASE WHEN p.Score = 0 AND NOT p.ClosedDate IS NULL THEN 1 ELSE... | [
53,
10720,
22836,
532,
20396,
5514,
13,
46506,
360,
6158,
29266,
7,
27857,
4221,
11,
360,
11617,
29267,
7,
27857,
4221,
11,
657,
11,
21582,
10430,
828,
657,
8,
7054,
366,
38793,
4475,
1600,
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
] | [
53,
10720,
22836,
532,
20396,
5514,
13,
46506,
360,
6158,
29266,
7,
27857,
4221,
11,
360,
11617,
29267,
7,
27857,
4221,
11,
657,
11,
21582,
10430,
828,
657,
8,
7054,
366,
38793,
4475,
1600,
327,
28270
] |
The River Hawks belonged to what current conference? | SELECT "Current Conference" FROM table_67252 WHERE "Nickname" = 'river hawks' | [
464,
5866,
23445,
19611,
284,
644,
1459,
4495,
30,
46506,
366,
11297,
8785,
1,
16034,
3084,
62,
3134,
22800,
33411,
366,
23609,
3672,
1,
796,
705,
38291,
23185,
591,
6,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0
] | [
464,
5866,
23445,
19611,
284,
644,
1459,
4495,
30,
46506,
366,
11297,
8785,
1,
16034,
3084,
62,
3134,
22800,
33411,
366,
23609,
3672,
1,
796,
705,
38291,
23185,
591,
6,
50256,
50256,
50256,
50256,
50256,
50256
] |
Tell me the 1968 for 1r | SELECT "1968" FROM table_32141 WHERE "1967" = '1r' | [
24446,
502,
262,
15963,
329,
352,
81,
46506,
366,
42246,
1,
16034,
3084,
62,
2624,
23756,
33411,
366,
42830,
1,
796,
705,
16,
81,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
24446,
502,
262,
15963,
329,
352,
81,
46506,
366,
42246,
1,
16034,
3084,
62,
2624,
23756,
33411,
366,
42830,
1,
796,
705,
16,
81,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What is the average number of carries that have more than 72 touchdowns? | SELECT AVG("Carries") FROM table_80418 WHERE "Touchdowns" > '72' | [
2061,
318,
262,
2811,
1271,
286,
10732,
326,
423,
517,
621,
7724,
17692,
30,
46506,
35224,
7203,
9914,
1678,
4943,
16034,
3084,
62,
36088,
1507,
33411,
366,
35211,
30371,
1,
1875,
705,
4761,
6,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0
] | [
2061,
318,
262,
2811,
1271,
286,
10732,
326,
423,
517,
621,
7724,
17692,
30,
46506,
35224,
7203,
9914,
1678,
4943,
16034,
3084,
62,
36088,
1507,
33411,
366,
35211,
30371,
1,
1875,
705,
4761,
6,
50256,
50256
] |
show me the fares from WASHINGTON to OAKLAND | SELECT DISTINCT fare.fare_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 = 'WASHINGTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.c... | [
12860,
502,
262,
33164,
422,
370,
19436,
284,
440,
10206,
28182,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
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
] | [
12860,
502,
262,
33164,
422,
370,
19436,
284,
440,
10206,
28182,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62
] |
Which venue has a Result of 1 2? | SELECT "Venue" FROM table_52484 WHERE "Result" = '1–2' | [
13828,
14359,
468,
257,
25414,
286,
352,
362,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
48057,
5705,
33411,
366,
23004,
1,
796,
705,
16,
1906,
17,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] | [
13828,
14359,
468,
257,
25414,
286,
352,
362,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
48057,
5705,
33411,
366,
23004,
1,
796,
705,
16,
1906,
17,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What is the id and market share of the browser Safari? | SELECT id, market_share FROM browser WHERE name = 'Safari' | [
2061,
318,
262,
4686,
290,
1910,
2648,
286,
262,
6444,
23298,
30,
46506,
4686,
11,
1910,
62,
20077,
16034,
6444,
33411,
1438,
796,
705,
50,
1878,
2743,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
318,
262,
4686,
290,
1910,
2648,
286,
262,
6444,
23298,
30,
46506,
4686,
11,
1910,
62,
20077,
16034,
6444,
33411,
1438,
796,
705,
50,
1878,
2743,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What is the February number of the game with the Vancouver Canucks as the opponent and a game number greater than 55? | SELECT COUNT(february) FROM table_name_48 WHERE opponent = "vancouver canucks" AND game > 55 | [
2061,
318,
262,
3945,
1271,
286,
262,
983,
351,
262,
10930,
31252,
355,
262,
6125,
290,
257,
983,
1271,
3744,
621,
5996,
30,
46506,
327,
28270,
7,
69,
1765,
3728,
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
] | [
2061,
318,
262,
3945,
1271,
286,
262,
983,
351,
262,
10930,
31252,
355,
262,
6125,
290,
257,
983,
1271,
3744,
621,
5996,
30,
46506,
327,
28270,
7,
69,
1765,
3728,
8,
16034,
3084,
62,
3672,
62
] |
What city has a building ranked greater than 15 with floors greater than 43? | SELECT "City" FROM table_36692 WHERE "Rank" > '15' AND "Floors" > '43' | [
2061,
1748,
468,
257,
2615,
10307,
3744,
621,
1315,
351,
18570,
3744,
621,
5946,
30,
46506,
366,
14941,
1,
16034,
3084,
62,
2623,
46589,
33411,
366,
27520,
1,
1875,
705,
1314,
6,
5357,
366,
33574,
669
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1748,
468,
257,
2615,
10307,
3744,
621,
1315,
351,
18570,
3744,
621,
5946,
30,
46506,
366,
14941,
1,
16034,
3084,
62,
2623,
46589,
33411,
366,
27520,
1,
1875,
705,
1314,
6,
5357,
366,
33574,
669
] |
How many Lok Sabha are in the one with 216 constituents? | SELECT "Lok Sabha" FROM table_31339 WHERE "Constituency No." = '216' | [
2437,
867,
36861,
41941,
389,
287,
262,
530,
351,
26881,
22573,
30,
46506,
366,
43,
482,
41941,
1,
16034,
3084,
62,
25838,
2670,
33411,
366,
34184,
34272,
1387,
1400,
526,
796,
705,
20666,
6,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0
] | [
2437,
867,
36861,
41941,
389,
287,
262,
530,
351,
26881,
22573,
30,
46506,
366,
43,
482,
41941,
1,
16034,
3084,
62,
25838,
2670,
33411,
366,
34184,
34272,
1387,
1400,
526,
796,
705,
20666,
6,
50256,
50256
] |
specify the discharge location of patient charley pescatore along-with primary disease | SELECT demographic.discharge_location, demographic.diagnosis FROM demographic WHERE demographic.name = "Charley Pescatore" | [
16684,
1958,
262,
17655,
4067,
286,
5827,
1149,
1636,
279,
3798,
265,
382,
1863,
12,
4480,
4165,
4369,
46506,
16728,
13,
6381,
10136,
62,
24886,
11,
16728,
13,
47356,
5958,
16034,
16728,
33411,
16728,
13,
3672
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16684,
1958,
262,
17655,
4067,
286,
5827,
1149,
1636,
279,
3798,
265,
382,
1863,
12,
4480,
4165,
4369,
46506,
16728,
13,
6381,
10136,
62,
24886,
11,
16728,
13,
47356,
5958,
16034,
16728,
33411,
16728,
13,
3672
] |
What was Jack Nicklaus's score after round 1? | SELECT MIN(score) FROM table_name_97 WHERE player = "jack nicklaus" | [
2061,
373,
3619,
8047,
38024,
338,
4776,
706,
2835,
352,
30,
46506,
20625,
7,
26675,
8,
16034,
3084,
62,
3672,
62,
5607,
33411,
2137,
796,
366,
19650,
14428,
38024,
1,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0
] | [
2061,
373,
3619,
8047,
38024,
338,
4776,
706,
2835,
352,
30,
46506,
20625,
7,
26675,
8,
16034,
3084,
62,
3672,
62,
5607,
33411,
2137,
796,
366,
19650,
14428,
38024,
1,
50256,
50256,
50256,
50256,
50256,
50256
] |
Who is the opponent of the game after week 4 on Sun. Nov. 17? | SELECT "Opponent" FROM table_39476 WHERE "Week" > '4' AND "Date" = 'sun. nov. 17' | [
8241,
318,
262,
6125,
286,
262,
983,
706,
1285,
604,
319,
3825,
13,
5267,
13,
1596,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
2670,
35435,
33411,
366,
20916,
1,
1875,
705,
19,
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
] | [
8241,
318,
262,
6125,
286,
262,
983,
706,
1285,
604,
319,
3825,
13,
5267,
13,
1596,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
2670,
35435,
33411,
366,
20916,
1,
1875,
705,
19,
6,
5357
] |
give me the number of emergency hospital admission patients who had initial insertion of tranvenous lead [electrode] into ventricle. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND procedures.short_title = "Int insert lead in vent" | [
26535,
502,
262,
1271,
286,
6334,
4436,
13938,
3871,
508,
550,
4238,
36075,
286,
491,
272,
574,
516,
1085,
685,
9509,
305,
2934,
60,
656,
7435,
1173,
293,
13,
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
] | [
26535,
502,
262,
1271,
286,
6334,
4436,
13938,
3871,
508,
550,
4238,
36075,
286,
491,
272,
574,
516,
1085,
685,
9509,
305,
2934,
60,
656,
7435,
1173,
293,
13,
46506,
327,
28270,
7,
35,
8808,
1268
] |
what was the yearly maximum value of weight for patient 003-37225 since 6 years ago? | SELECT MAX(patient.admissionweight) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '003-37225') AND NOT patient.admissionweight IS NULL AND DATETIME(patient.unitadmittime) >= DATETIME(CURRENT_TIME(), '-6 year') GROUP BY STRFTIME('... | [
10919,
373,
262,
24169,
5415,
1988,
286,
3463,
329,
5827,
3571,
18,
12,
2718,
18182,
1201,
718,
812,
2084,
30,
46506,
25882,
7,
26029,
13,
324,
3411,
6551,
8,
16034,
5827,
33411,
5827,
13,
26029,
13948
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24169,
5415,
1988,
286,
3463,
329,
5827,
3571,
18,
12,
2718,
18182,
1201,
718,
812,
2084,
30,
46506,
25882,
7,
26029,
13,
324,
3411,
6551,
8,
16034,
5827,
33411,
5827,
13,
26029,
13948
] |
Which paper first used Decision Feedback for Multiuser Receiver ? | SELECT DISTINCT paper.paperid, paper.year FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename IN ('Multiuser Receiver', 'Decision Feedback') AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid GROUP BY paper.paperid, paper.year HAVING COUNT(DISTINCT keyphras... | [
13828,
3348,
717,
973,
26423,
37774,
329,
7854,
3754,
263,
39106,
5633,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
11,
3348,
13,
1941,
16034,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
33411,
1994
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3348,
717,
973,
26423,
37774,
329,
7854,
3754,
263,
39106,
5633,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
11,
3348,
13,
1941,
16034,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
33411,
1994
] |
What is the average latitude and longitude in San Jose? | SELECT AVG(lat), AVG(long) FROM station WHERE city = "San Jose" | [
2061,
318,
262,
2811,
32477,
290,
890,
3984,
287,
2986,
5264,
30,
46506,
35224,
7,
15460,
828,
35224,
7,
6511,
8,
16034,
4429,
33411,
1748,
796,
366,
15017,
5264,
1,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0
] | [
2061,
318,
262,
2811,
32477,
290,
890,
3984,
287,
2986,
5264,
30,
46506,
35224,
7,
15460,
828,
35224,
7,
6511,
8,
16034,
4429,
33411,
1748,
796,
366,
15017,
5264,
1,
50256,
50256,
50256,
50256,
50256,
50256
] |
What was the score of the game in which Danny Granger (30) did the high points? | SELECT score FROM table_27756164_2 WHERE high_points = "Danny Granger (30)" | [
2061,
373,
262,
4776,
286,
262,
983,
287,
543,
15105,
46236,
357,
1270,
8,
750,
262,
1029,
2173,
30,
46506,
4776,
16034,
3084,
62,
1983,
38219,
23237,
62,
17,
33411,
1029,
62,
13033,
796,
366,
45478
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
287,
543,
15105,
46236,
357,
1270,
8,
750,
262,
1029,
2173,
30,
46506,
4776,
16034,
3084,
62,
1983,
38219,
23237,
62,
17,
33411,
1029,
62,
13033,
796,
366,
45478
] |
What is the number of laps for the honda vehicle, with a grid of 13? | SELECT laps FROM table_name_17 WHERE constructor = "honda" AND grid = "13" | [
2061,
318,
262,
1271,
286,
24590,
329,
262,
289,
13533,
4038,
11,
351,
257,
10706,
286,
1511,
30,
46506,
24590,
16034,
3084,
62,
3672,
62,
1558,
33411,
23772,
796,
366,
71,
13533,
1,
5357,
10706,
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
] | [
2061,
318,
262,
1271,
286,
24590,
329,
262,
289,
13533,
4038,
11,
351,
257,
10706,
286,
1511,
30,
46506,
24590,
16034,
3084,
62,
3672,
62,
1558,
33411,
23772,
796,
366,
71,
13533,
1,
5357,
10706,
796
] |
What is the highest Best score for the Dance Mambo? | SELECT MAX("Best score") FROM table_33271 WHERE "Dance" = 'mambo' | [
2061,
318,
262,
4511,
6705,
4776,
329,
262,
17349,
337,
22651,
30,
46506,
25882,
7203,
13014,
4776,
4943,
16034,
3084,
62,
2091,
28977,
33411,
366,
35,
590,
1,
796,
705,
76,
22651,
6,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0
] | [
2061,
318,
262,
4511,
6705,
4776,
329,
262,
17349,
337,
22651,
30,
46506,
25882,
7203,
13014,
4776,
4943,
16034,
3084,
62,
2091,
28977,
33411,
366,
35,
590,
1,
796,
705,
76,
22651,
6,
50256,
50256,
50256
] |
What was the average attendance on October 12? | SELECT AVG(attendance) FROM table_name_40 WHERE date = "october 12" | [
2061,
373,
262,
2811,
14858,
319,
3267,
1105,
30,
46506,
35224,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
3128,
796,
366,
38441,
2023,
1105,
1,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0
] | [
2061,
373,
262,
2811,
14858,
319,
3267,
1105,
30,
46506,
35224,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
3128,
796,
366,
38441,
2023,
1105,
1,
50256,
50256,
50256,
50256,
50256,
50256
] |
A bar chart for finding the number of the 'date became customers' of the customers whose ID is between 10 and 20, and display by the y-axis in descending. | SELECT date_became_customer, COUNT(date_became_customer) FROM Customers WHERE customer_id BETWEEN 10 AND 20 ORDER BY COUNT(date_became_customer) DESC | [
32,
2318,
8262,
329,
4917,
262,
1271,
286,
262,
705,
4475,
2627,
4297,
6,
286,
262,
4297,
3025,
4522,
318,
1022,
838,
290,
1160,
11,
290,
3359,
416,
262,
331,
12,
22704,
287,
31491,
13,
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
] | [
32,
2318,
8262,
329,
4917,
262,
1271,
286,
262,
705,
4475,
2627,
4297,
6,
286,
262,
4297,
3025,
4522,
318,
1022,
838,
290,
1160,
11,
290,
3359,
416,
262,
331,
12,
22704,
287,
31491,
13,
46506
] |
What percentage of questions on StackOverflow are answered by the original question poster?. | SELECT * FROM Posts AS q JOIN Posts AS a ON q.Id = a.ParentId WHERE q.PostTypeId = 1 LIMIT 100 | [
2061,
5873,
286,
2683,
319,
23881,
5886,
11125,
389,
9373,
416,
262,
2656,
1808,
11968,
30,
13,
46506,
1635,
16034,
12043,
7054,
10662,
32357,
1268,
12043,
7054,
257,
6177,
10662,
13,
7390,
796,
257,
13,
24546
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
5873,
286,
2683,
319,
23881,
5886,
11125,
389,
9373,
416,
262,
2656,
1808,
11968,
30,
13,
46506,
1635,
16034,
12043,
7054,
10662,
32357,
1268,
12043,
7054,
257,
6177,
10662,
13,
7390,
796,
257,
13,
24546
] |
what is the number of patients whose ethnicity is white - russian and days of hospital stay is greater than 69? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND demographic.days_stay > "69" | [
10919,
318,
262,
1271,
286,
3871,
3025,
26289,
318,
2330,
532,
374,
31562,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
8644,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1271,
286,
3871,
3025,
26289,
318,
2330,
532,
374,
31562,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
8644,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312
] |
Where did Fitzroy play as the home team? | SELECT venue FROM table_name_22 WHERE home_team = "fitzroy" | [
8496,
750,
16703,
3287,
711,
355,
262,
1363,
1074,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1828,
33411,
1363,
62,
15097,
796,
366,
69,
4224,
3287,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] | [
8496,
750,
16703,
3287,
711,
355,
262,
1363,
1074,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1828,
33411,
1363,
62,
15097,
796,
366,
69,
4224,
3287,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What is the venue at Stanford University? | SELECT venue FROM table_name_19 WHERE host = "stanford university" | [
2061,
318,
262,
14359,
379,
13863,
2059,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1129,
33411,
2583,
796,
366,
14192,
3841,
6403,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
318,
262,
14359,
379,
13863,
2059,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1129,
33411,
2583,
796,
366,
14192,
3841,
6403,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What is the date of the Mosport Park circuit? | SELECT "Date" FROM table_5126 WHERE "Circuit" = 'mosport park' | [
2061,
318,
262,
3128,
286,
262,
5826,
634,
3250,
10349,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
20,
19420,
33411,
366,
31560,
5013,
1,
796,
705,
16785,
634,
3952,
6,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0
] | [
2061,
318,
262,
3128,
286,
262,
5826,
634,
3250,
10349,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
20,
19420,
33411,
366,
31560,
5013,
1,
796,
705,
16785,
634,
3952,
6,
50256,
50256,
50256,
50256,
50256
] |
what is the average number of monthly diagnosed cases of spleen disruption-clos this year? | SELECT AVG(t1.c1) FROM (SELECT COUNT(DISTINCT diagnoses_icd.hadm_id) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'spleen disruption-clos') AND DATETIME(diagnoses_icd.charttime, 'start of year') = DATETIME(CURRENT_TIM... | [
10919,
318,
262,
2811,
1271,
286,
9651,
14641,
2663,
286,
599,
20042,
19911,
12,
565,
418,
428,
614,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
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
] | [
10919,
318,
262,
2811,
1271,
286,
9651,
14641,
2663,
286,
599,
20042,
19911,
12,
565,
418,
428,
614,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
327,
28270,
7,
35,
8808
] |
Posts with YouTube or SoundCloud links on Music Fans. | SELECT COUNT(*) AS aantal, HasYouTube, PostType FROM (SELECT p.Id AS PostId, CASE WHEN p.Body LIKE '%youtube.com%' OR p.Body LIKE '%youtu.be%' OR p.Body LIKE '%soundcloud.com%' THEN 1 ELSE 0 END AS HasYouTube, pt.Name AS PostType FROM Posts AS p LEFT JOIN PostTypes AS pt ON pt.Id = p.PostTypeId) AS pp GROUP BY HasYouTu... | [
21496,
351,
7444,
393,
9506,
18839,
6117,
319,
7849,
24964,
13,
46506,
327,
28270,
7,
28104,
7054,
257,
415,
282,
11,
7875,
33869,
11,
2947,
6030,
16034,
357,
46506,
279,
13,
7390,
7054,
2947,
7390,
11
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
21496,
351,
7444,
393,
9506,
18839,
6117,
319,
7849,
24964,
13,
46506,
327,
28270,
7,
28104,
7054,
257,
415,
282,
11,
7875,
33869,
11,
2947,
6030,
16034,
357,
46506,
279,
13,
7390,
7054,
2947,
7390,
11
] |
Who directed the episode that had 1.48 million viewers in the U.S.? | SELECT directed_by FROM table_29569969_2 WHERE us_viewers__millions_ = "1.48" | [
8241,
7924,
262,
4471,
326,
550,
352,
13,
2780,
1510,
10209,
287,
262,
471,
13,
50,
40791,
46506,
7924,
62,
1525,
16034,
3084,
62,
1959,
3980,
2079,
3388,
62,
17,
33411,
514,
62,
1177,
364,
834
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7924,
262,
4471,
326,
550,
352,
13,
2780,
1510,
10209,
287,
262,
471,
13,
50,
40791,
46506,
7924,
62,
1525,
16034,
3084,
62,
1959,
3980,
2079,
3388,
62,
17,
33411,
514,
62,
1177,
364,
834
] |
what is average age of patients whose death status is 0 and primary disease is aortic insufficiency\re-do sternotomy; aortic valve replacement ? | SELECT AVG(demographic.age) FROM demographic WHERE demographic.expire_flag = "0" AND demographic.diagnosis = "AORTIC INSUFFICIENCY\RE-DO STERNOTOMY; AORTIC VALVE REPLACEMENT " | [
10919,
318,
2811,
2479,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
4165,
4369,
318,
257,
419,
291,
1035,
1648,
19777,
59,
260,
12,
4598,
26370,
38385,
26,
257,
419,
291,
22580,
9014,
5633,
46506,
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
] | [
10919,
318,
2811,
2479,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
4165,
4369,
318,
257,
419,
291,
1035,
1648,
19777,
59,
260,
12,
4598,
26370,
38385,
26,
257,
419,
291,
22580,
9014,
5633,
46506,
35224
] |
What was the host country when the silver was [[|]] (2) and bronze is czechoslovakia (3)? | SELECT host_country___countries FROM table_name_42 WHERE silver = "[[|]] (2)" AND bronze = "czechoslovakia (3)" | [
2061,
373,
262,
2583,
1499,
618,
262,
8465,
373,
16410,
91,
11907,
357,
17,
8,
290,
22101,
318,
269,
15356,
50005,
21897,
357,
18,
19427,
46506,
2583,
62,
19315,
17569,
9127,
1678,
16034,
3084,
62,
3672
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
2583,
1499,
618,
262,
8465,
373,
16410,
91,
11907,
357,
17,
8,
290,
22101,
318,
269,
15356,
50005,
21897,
357,
18,
19427,
46506,
2583,
62,
19315,
17569,
9127,
1678,
16034,
3084,
62,
3672
] |
What is the title of season 2? | SELECT "Title" FROM table_26570 WHERE "No. in season" = '2' | [
2061,
318,
262,
3670,
286,
1622,
362,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
22980,
2154,
33411,
366,
2949,
13,
287,
1622,
1,
796,
705,
17,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
318,
262,
3670,
286,
1622,
362,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
22980,
2154,
33411,
366,
2949,
13,
287,
1622,
1,
796,
705,
17,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What's the team of the player who went to lawrence tech? | SELECT team FROM table_name_56 WHERE college = "lawrence tech" | [
2061,
338,
262,
1074,
286,
262,
2137,
508,
1816,
284,
1099,
6784,
7261,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
3980,
33411,
4152,
796,
366,
6270,
6784,
7261,
1,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0
] | [
2061,
338,
262,
1074,
286,
262,
2137,
508,
1816,
284,
1099,
6784,
7261,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
3980,
33411,
4152,
796,
366,
6270,
6784,
7261,
1,
50256,
50256,
50256,
50256,
50256,
50256
] |
What was the tonnage on 12 september 1942? | SELECT "Tonnage" FROM table_59848 WHERE "Date" = '12 september 1942' | [
2061,
373,
262,
5680,
77,
496,
319,
1105,
384,
457,
1491,
22458,
30,
46506,
366,
35416,
77,
496,
1,
16034,
3084,
62,
41292,
2780,
33411,
366,
10430,
1,
796,
705,
1065,
384,
457,
1491,
22458,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
5680,
77,
496,
319,
1105,
384,
457,
1491,
22458,
30,
46506,
366,
35416,
77,
496,
1,
16034,
3084,
62,
41292,
2780,
33411,
366,
10430,
1,
796,
705,
1065,
384,
457,
1491,
22458,
6
] |
Highest answer rate of popular tags. | SELECT Tags.TagName, COUNT(*) AS NumQuestions, SUM(CASE WHEN NOT AcceptedAnswerId IS NULL THEN 1 ELSE 0 END) AS NumAnswered, (SUM(CASE WHEN NOT AcceptedAnswerId IS NULL THEN 1 ELSE 0 END) * 100 / COUNT(*)) AS PercentageAnswered FROM Tags INNER JOIN PostTags ON PostTags.TagId = Tags.Id INNER JOIN Posts ON Posts.Id = Pos... | [
36124,
3634,
3280,
2494,
286,
2968,
15940,
13,
46506,
44789,
13,
24835,
5376,
11,
327,
28270,
7,
28104,
7054,
31835,
35741,
11,
35683,
7,
34,
11159,
42099,
5626,
21699,
276,
33706,
7390,
3180,
15697,
42243,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
36124,
3634,
3280,
2494,
286,
2968,
15940,
13,
46506,
44789,
13,
24835,
5376,
11,
327,
28270,
7,
28104,
7054,
31835,
35741,
11,
35683,
7,
34,
11159,
42099,
5626,
21699,
276,
33706,
7390,
3180,
15697,
42243,
352
] |
What is the result for world group, consolation round? | SELECT result FROM table_name_31 WHERE competition = "world group, consolation round" | [
2061,
318,
262,
1255,
329,
995,
1448,
11,
45194,
2835,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
3132,
33411,
5449,
796,
366,
6894,
1448,
11,
45194,
2835,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
318,
262,
1255,
329,
995,
1448,
11,
45194,
2835,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
3132,
33411,
5449,
796,
366,
6894,
1448,
11,
45194,
2835,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What was the attendance for the game with an away team of Hispano? | SELECT "Attendance" FROM table_8674 WHERE "Away" = 'hispano' | [
2061,
373,
262,
14858,
329,
262,
983,
351,
281,
1497,
1074,
286,
2399,
79,
5733,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
23,
45385,
33411,
366,
32,
1014,
1,
796,
705,
71,
8802
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14858,
329,
262,
983,
351,
281,
1497,
1074,
286,
2399,
79,
5733,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
23,
45385,
33411,
366,
32,
1014,
1,
796,
705,
71,
8802
] |
Home of kings had what score? | SELECT score FROM table_name_64 WHERE home = "kings" | [
16060,
286,
21557,
550,
644,
4776,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2414,
33411,
1363,
796,
366,
74,
654,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
16060,
286,
21557,
550,
644,
4776,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2414,
33411,
1363,
796,
366,
74,
654,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
William Fadjo Cravens is the only candidate who was first elected in 1939. | SELECT COUNT(first_elected) FROM table_1342270_5 WHERE incumbent = "William Fadjo Cravens" | [
17121,
376,
324,
7639,
11176,
574,
82,
318,
262,
691,
4540,
508,
373,
717,
7018,
287,
24414,
13,
46506,
327,
28270,
7,
11085,
62,
28604,
8,
16034,
3084,
62,
19880,
1828,
2154,
62,
20,
33411,
23526
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
17121,
376,
324,
7639,
11176,
574,
82,
318,
262,
691,
4540,
508,
373,
717,
7018,
287,
24414,
13,
46506,
327,
28270,
7,
11085,
62,
28604,
8,
16034,
3084,
62,
19880,
1828,
2154,
62,
20,
33411,
23526
] |
What was the attendance for a week larger than 3, and an opponent of philadelphia eagles? | SELECT attendance FROM table_name_58 WHERE week > 3 AND opponent = "philadelphia eagles" | [
2061,
373,
262,
14858,
329,
257,
1285,
4025,
621,
513,
11,
290,
281,
6125,
286,
5206,
8273,
304,
37803,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
3365,
33411,
1285,
1875,
513,
5357,
6125,
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
] | [
2061,
373,
262,
14858,
329,
257,
1285,
4025,
621,
513,
11,
290,
281,
6125,
286,
5206,
8273,
304,
37803,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
3365,
33411,
1285,
1875,
513,
5357,
6125,
796,
366
] |
which patients have procedure icd9 code 93? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.icd9_code = "93" | [
4758,
3871,
423,
8771,
14158,
67,
24,
2438,
10261,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3871,
423,
8771,
14158,
67,
24,
2438,
10261,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76
] |
What is the average gold medals of the nation with 2 total medals, more than 1 bronze, and less than 0 silvers? | SELECT AVG("Gold") FROM table_8302 WHERE "Total" = '2' AND "Bronze" > '1' AND "Silver" < '0' | [
2061,
318,
262,
2811,
3869,
28057,
286,
262,
3277,
351,
362,
2472,
28057,
11,
517,
621,
352,
22101,
11,
290,
1342,
621,
657,
3313,
690,
30,
46506,
35224,
7203,
13306,
4943,
16034,
3084,
62,
23,
22709
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3869,
28057,
286,
262,
3277,
351,
362,
2472,
28057,
11,
517,
621,
352,
22101,
11,
290,
1342,
621,
657,
3313,
690,
30,
46506,
35224,
7203,
13306,
4943,
16034,
3084,
62,
23,
22709
] |
What is the compound name listed where marine organism is worm | SELECT compound_name FROM table_12715053_1 WHERE marine_organism_α = "Worm" | [
2061,
318,
262,
13061,
1438,
5610,
810,
16050,
26433,
318,
23849,
46506,
13061,
62,
3672,
16034,
3084,
62,
1065,
4869,
1120,
4310,
62,
16,
33411,
16050,
62,
9971,
1042,
62,
17394,
796,
366,
54,
579,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13061,
1438,
5610,
810,
16050,
26433,
318,
23849,
46506,
13061,
62,
3672,
16034,
3084,
62,
1065,
4869,
1120,
4310,
62,
16,
33411,
16050,
62,
9971,
1042,
62,
17394,
796,
366,
54,
579,
1
] |
what is the sum of the b score when the a score is 6.6 and the total is 15.6? | SELECT SUM(b_score) FROM table_name_37 WHERE a_score = 6.6 AND total = 15.6 | [
10919,
318,
262,
2160,
286,
262,
275,
4776,
618,
262,
257,
4776,
318,
718,
13,
21,
290,
262,
2472,
318,
1315,
13,
21,
30,
46506,
35683,
7,
65,
62,
26675,
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
] | [
10919,
318,
262,
2160,
286,
262,
275,
4776,
618,
262,
257,
4776,
318,
718,
13,
21,
290,
262,
2472,
318,
1315,
13,
21,
30,
46506,
35683,
7,
65,
62,
26675,
8,
16034,
3084,
62,
3672,
62
] |
When melbourne was the home team what was their score? | SELECT home_team AS score FROM table_name_46 WHERE home_team = "melbourne" | [
2215,
7758,
12544,
373,
262,
1363,
1074,
644,
373,
511,
4776,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
3510,
33411,
1363,
62,
15097,
796,
366,
17694,
12544,
1,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0
] | [
2215,
7758,
12544,
373,
262,
1363,
1074,
644,
373,
511,
4776,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
3510,
33411,
1363,
62,
15097,
796,
366,
17694,
12544,
1,
50256,
50256,
50256
] |
In the next 6 semesters , what classes will be offered ? | SELECT DISTINCT course.name, course.number, semester.semester, semester.year FROM course, course_offering, semester WHERE ((semester.semester = 'FA' AND semester.year = 2016) OR (semester.semester = 'FA' AND semester.year = 2017) OR (semester.semester = 'FA' AND semester.year = 2018) OR (semester.semester = 'WN' AND se... | [
818,
262,
1306,
718,
5026,
8586,
837,
644,
6097,
481,
307,
4438,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
24878,
13,
325,
6880,
353,
11,
24878,
13,
1941,
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
] | [
818,
262,
1306,
718,
5026,
8586,
837,
644,
6097,
481,
307,
4438,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
24878,
13,
325,
6880,
353,
11,
24878,
13,
1941,
16034
] |
when did patient 13837 first have the minimum value of arterial bp mean on 05/20/2105? | SELECT chartevents.charttime FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 13837)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial... | [
12518,
750,
5827,
21503,
2718,
717,
423,
262,
5288,
1988,
286,
30675,
498,
275,
79,
1612,
319,
8870,
14,
1238,
14,
17,
13348,
30,
46506,
8262,
31534,
13,
40926,
2435,
16034,
8262,
31534,
33411,
8262,
31534
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12518,
750,
5827,
21503,
2718,
717,
423,
262,
5288,
1988,
286,
30675,
498,
275,
79,
1612,
319,
8870,
14,
1238,
14,
17,
13348,
30,
46506,
8262,
31534,
13,
40926,
2435,
16034,
8262,
31534,
33411,
8262,
31534
] |
What is short-term capital gain rate with long-term gain on collectibles at 15%? | SELECT short_term_capital_gain_rate FROM table_name_29 WHERE long_term_gain_on_collectibles = "15%" | [
2061,
318,
1790,
12,
4354,
3139,
4461,
2494,
351,
890,
12,
4354,
4461,
319,
2824,
18764,
379,
1315,
4,
30,
46506,
1790,
62,
4354,
62,
27544,
62,
48544,
62,
4873,
16034,
3084,
62,
3672,
62,
1959
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1790,
12,
4354,
3139,
4461,
2494,
351,
890,
12,
4354,
4461,
319,
2824,
18764,
379,
1315,
4,
30,
46506,
1790,
62,
4354,
62,
27544,
62,
48544,
62,
4873,
16034,
3084,
62,
3672,
62,
1959
] |
What is the to par for Australia and a 73-69-71=213 score? | SELECT to_par FROM table_name_43 WHERE country = "australia" AND score = 73 - 69 - 71 = 213 | [
2061,
318,
262,
284,
1582,
329,
4505,
290,
257,
8854,
12,
3388,
12,
4869,
28,
26427,
4776,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
3559,
33411,
1499,
796,
366,
64,
436,
1373,
544
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
284,
1582,
329,
4505,
290,
257,
8854,
12,
3388,
12,
4869,
28,
26427,
4776,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
3559,
33411,
1499,
796,
366,
64,
436,
1373,
544
] |
What is the 1981 value of the Macedonian population with a 1971 number greater than 192 and a 1991 of 1748? | SELECT "1981" FROM table_45667 WHERE "Number 1971" > '192' AND "1991" = '1748' | [
2061,
318,
262,
14745,
1988,
286,
262,
25942,
27625,
3265,
351,
257,
16382,
1271,
3744,
621,
17817,
290,
257,
10249,
286,
1596,
2780,
30,
46506,
366,
35411,
1,
16034,
3084,
62,
2231,
28933,
33411,
366,
15057
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14745,
1988,
286,
262,
25942,
27625,
3265,
351,
257,
16382,
1271,
3744,
621,
17817,
290,
257,
10249,
286,
1596,
2780,
30,
46506,
366,
35411,
1,
16034,
3084,
62,
2231,
28933,
33411,
366,
15057
] |
what is the score for the 2010 world cup qualifying? | SELECT "Score" FROM table_53716 WHERE "Competition" = '2010 world cup qualifying' | [
10919,
318,
262,
4776,
329,
262,
3050,
995,
6508,
18677,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
46096,
1433,
33411,
366,
7293,
15620,
1,
796,
705,
10333,
995,
6508,
18677,
6,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
] | [
10919,
318,
262,
4776,
329,
262,
3050,
995,
6508,
18677,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
46096,
1433,
33411,
366,
7293,
15620,
1,
796,
705,
10333,
995,
6508,
18677,
6,
50256,
50256,
50256,
50256
] |
What country did Raymond Floyd play for? | SELECT country FROM table_name_9 WHERE player = "raymond floyd" | [
2061,
1499,
750,
24238,
21150,
711,
329,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
24,
33411,
2137,
796,
366,
2433,
6327,
781,
12192,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
1499,
750,
24238,
21150,
711,
329,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
24,
33411,
2137,
796,
366,
2433,
6327,
781,
12192,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
How many years have an Opponent in the final of welby van horn? | SELECT SUM("Year") FROM table_45928 WHERE "Opponent in the final" = 'welby van horn' | [
2437,
867,
812,
423,
281,
9385,
3471,
287,
262,
2457,
286,
5029,
1525,
5719,
12718,
30,
46506,
35683,
7203,
17688,
4943,
16034,
3084,
62,
33459,
2078,
33411,
366,
27524,
3471,
287,
262,
2457,
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
] | [
2437,
867,
812,
423,
281,
9385,
3471,
287,
262,
2457,
286,
5029,
1525,
5719,
12718,
30,
46506,
35683,
7203,
17688,
4943,
16034,
3084,
62,
33459,
2078,
33411,
366,
27524,
3471,
287,
262,
2457,
1,
796,
705
] |
List all names of courses with 1 credit? | SELECT cname FROM course WHERE credits = 1 | [
8053,
477,
3891,
286,
10902,
351,
352,
3884,
30,
46506,
269,
3672,
16034,
1781,
33411,
10824,
796,
352,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
8053,
477,
3891,
286,
10902,
351,
352,
3884,
30,
46506,
269,
3672,
16034,
1781,
33411,
10824,
796,
352,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
Visualize names and market shares of furnitures which no any company is producing in our records by a pie chart. | SELECT Name, Market_Rate FROM furniture WHERE NOT Furniture_ID IN (SELECT Furniture_ID FROM furniture_manufacte) | [
36259,
1096,
3891,
290,
1910,
7303,
286,
8926,
20686,
543,
645,
597,
1664,
318,
9194,
287,
674,
4406,
416,
257,
2508,
8262,
13,
46506,
6530,
11,
5991,
62,
32184,
16034,
13091,
33411,
5626,
34937,
8089,
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
] | [
36259,
1096,
3891,
290,
1910,
7303,
286,
8926,
20686,
543,
645,
597,
1664,
318,
9194,
287,
674,
4406,
416,
257,
2508,
8262,
13,
46506,
6530,
11,
5991,
62,
32184,
16034,
13091,
33411,
5626,
34937,
8089,
62
] |
tell me the birth date of patient 53089? | SELECT patients.dob FROM patients WHERE patients.subject_id = 53089 | [
33331,
502,
262,
4082,
3128,
286,
5827,
40585,
4531,
30,
46506,
3871,
13,
67,
672,
16034,
3871,
33411,
3871,
13,
32796,
62,
312,
796,
40585,
4531,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
33331,
502,
262,
4082,
3128,
286,
5827,
40585,
4531,
30,
46506,
3871,
13,
67,
672,
16034,
3871,
33411,
3871,
13,
32796,
62,
312,
796,
40585,
4531,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
how many of the patients admitted to emergency had a lab test for magnesium level? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND lab.label = "Magnesium" | [
4919,
867,
286,
262,
3871,
6848,
284,
6334,
550,
257,
2248,
1332,
329,
33525,
1241,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
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
] | [
4919,
867,
286,
262,
3871,
6848,
284,
6334,
550,
257,
2248,
1332,
329,
33525,
1241,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268
] |
what is the number of patients whose admission type is emergency and procedure short title is replace small bowel tube? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND procedures.short_title = "Replace small bowel tube" | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
6334,
290,
8771,
1790,
3670,
318,
6330,
1402,
35711,
12403,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
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
] | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
6334,
290,
8771,
1790,
3670,
318,
6330,
1402,
35711,
12403,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034
] |
What is the date when Canada played? | SELECT date FROM table_name_68 WHERE opponent = "canada" | [
2061,
318,
262,
3128,
618,
3340,
2826,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3104,
33411,
6125,
796,
366,
5171,
4763,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
318,
262,
3128,
618,
3340,
2826,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3104,
33411,
6125,
796,
366,
5171,
4763,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
When less than 30 games have been played what is the average goals scored? | SELECT AVG(goals_scored) FROM table_name_18 WHERE games_played < 30 | [
2215,
1342,
621,
1542,
1830,
423,
587,
2826,
644,
318,
262,
2811,
4661,
7781,
30,
46506,
35224,
7,
2188,
874,
62,
1416,
1850,
8,
16034,
3084,
62,
3672,
62,
1507,
33411,
1830,
62,
21542,
1279,
1542
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1342,
621,
1542,
1830,
423,
587,
2826,
644,
318,
262,
2811,
4661,
7781,
30,
46506,
35224,
7,
2188,
874,
62,
1416,
1850,
8,
16034,
3084,
62,
3672,
62,
1507,
33411,
1830,
62,
21542,
1279,
1542
] |
Name the 2nd leg for boca juniors | SELECT 2 AS nd_leg FROM table_23812628_1 WHERE team__number1 = "Boca Juniors" | [
5376,
262,
362,
358,
1232,
329,
275,
11216,
10891,
12706,
46506,
362,
7054,
299,
67,
62,
1455,
16034,
3084,
62,
23721,
19420,
2078,
62,
16,
33411,
1074,
834,
17618,
16,
796,
366,
33,
11216,
7653,
12706
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
362,
358,
1232,
329,
275,
11216,
10891,
12706,
46506,
362,
7054,
299,
67,
62,
1455,
16034,
3084,
62,
23721,
19420,
2078,
62,
16,
33411,
1074,
834,
17618,
16,
796,
366,
33,
11216,
7653,
12706
] |
What is the To par of Player Andy North with a Total larger than 153? | SELECT COUNT("To par") FROM table_77100 WHERE "Player" = 'andy north' AND "Total" > '153' | [
2061,
318,
262,
1675,
1582,
286,
7853,
12382,
2258,
351,
257,
7472,
4025,
621,
24652,
30,
46506,
327,
28270,
7203,
2514,
1582,
4943,
16034,
3084,
62,
3324,
3064,
33411,
366,
14140,
1,
796,
705,
10757,
5093
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1675,
1582,
286,
7853,
12382,
2258,
351,
257,
7472,
4025,
621,
24652,
30,
46506,
327,
28270,
7203,
2514,
1582,
4943,
16034,
3084,
62,
3324,
3064,
33411,
366,
14140,
1,
796,
705,
10757,
5093
] |
Who is performing in the back stage position for the song 'Badlands'? Show the first name and the last name. | SELECT T2.firstname, T2.lastname FROM performance AS T1 JOIN band AS T2 ON T1.bandmate = T2.id JOIN songs AS T3 ON T3.songid = T1.songid WHERE T3.title = "Badlands" AND T1.stageposition = "back" | [
8241,
318,
9489,
287,
262,
736,
3800,
2292,
329,
262,
3496,
705,
22069,
4447,
30960,
5438,
262,
717,
1438,
290,
262,
938,
1438,
13,
46506,
309,
17,
13,
11085,
3672,
11,
309,
17,
13,
12957,
3672
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
9489,
287,
262,
736,
3800,
2292,
329,
262,
3496,
705,
22069,
4447,
30960,
5438,
262,
717,
1438,
290,
262,
938,
1438,
13,
46506,
309,
17,
13,
11085,
3672,
11,
309,
17,
13,
12957,
3672
] |
how many goals did cardiff city f.c. score in the month of april ? | SELECT SUM("result") FROM table_203_368 WHERE "date" = 4 | [
4919,
867,
4661,
750,
2657,
733,
1748,
277,
13,
66,
13,
4776,
287,
262,
1227,
286,
46593,
346,
5633,
46506,
35683,
7203,
20274,
4943,
16034,
3084,
62,
22416,
62,
27412,
33411,
366,
4475,
1,
796,
604
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4661,
750,
2657,
733,
1748,
277,
13,
66,
13,
4776,
287,
262,
1227,
286,
46593,
346,
5633,
46506,
35683,
7203,
20274,
4943,
16034,
3084,
62,
22416,
62,
27412,
33411,
366,
4475,
1,
796,
604
] |
What is the stage of winner Carlos Sastre when the general classification was Denis Menchov? | SELECT "Stage" FROM table_13640 WHERE "General classification" = 'denis menchov' AND "Winner" = 'carlos sastre' | [
2061,
318,
262,
3800,
286,
8464,
17409,
311,
459,
260,
618,
262,
2276,
17923,
373,
33089,
6065,
354,
709,
30,
46506,
366,
29391,
1,
16034,
3084,
62,
20809,
1821,
33411,
366,
12218,
17923,
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
] | [
2061,
318,
262,
3800,
286,
8464,
17409,
311,
459,
260,
618,
262,
2276,
17923,
373,
33089,
6065,
354,
709,
30,
46506,
366,
29391,
1,
16034,
3084,
62,
20809,
1821,
33411,
366,
12218,
17923,
1,
796,
705
] |
how many dose of tricor has been prescribed to patient 29741 in the first hospital encounter? | SELECT SUM(prescriptions.dose_val_rx) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 29741 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) AND prescriptions.drug = 'tricor' | [
4919,
867,
10742,
286,
491,
291,
273,
468,
587,
14798,
284,
5827,
41103,
3901,
287,
262,
717,
4436,
8791,
30,
46506,
35683,
7,
18302,
24370,
13,
34436,
62,
2100,
62,
40914,
8,
16034,
34092,
33411,
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
] | [
4919,
867,
10742,
286,
491,
291,
273,
468,
587,
14798,
284,
5827,
41103,
3901,
287,
262,
717,
4436,
8791,
30,
46506,
35683,
7,
18302,
24370,
13,
34436,
62,
2100,
62,
40914,
8,
16034,
34092,
33411,
34092
] |
how many episodes was charmaine sheh on in the variety show super trio 2 : movie buff champions | SELECT "episodes" FROM table_203_631 WHERE "name of show" = 'super trio series 2: movie buff championship' | [
4919,
867,
8640,
373,
20024,
5718,
673,
71,
319,
287,
262,
4996,
905,
2208,
19886,
362,
1058,
3807,
6940,
7827,
46506,
366,
538,
8052,
1,
16034,
3084,
62,
22416,
62,
21,
3132,
33411,
366,
3672,
286
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8640,
373,
20024,
5718,
673,
71,
319,
287,
262,
4996,
905,
2208,
19886,
362,
1058,
3807,
6940,
7827,
46506,
366,
538,
8052,
1,
16034,
3084,
62,
22416,
62,
21,
3132,
33411,
366,
3672,
286
] |
What was the result when there were 6 matches? | SELECT result FROM table_name_13 WHERE matches = "6" | [
2061,
373,
262,
1255,
618,
612,
547,
718,
7466,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
1485,
33411,
7466,
796,
366,
21,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
373,
262,
1255,
618,
612,
547,
718,
7466,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
1485,
33411,
7466,
796,
366,
21,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What Championship has a Date of 26 may 1986? | SELECT championship FROM table_name_66 WHERE date = "26 may 1986" | [
2061,
10749,
468,
257,
7536,
286,
2608,
743,
12113,
30,
46506,
12184,
16034,
3084,
62,
3672,
62,
2791,
33411,
3128,
796,
366,
2075,
743,
12113,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
10749,
468,
257,
7536,
286,
2608,
743,
12113,
30,
46506,
12184,
16034,
3084,
62,
3672,
62,
2791,
33411,
3128,
796,
366,
2075,
743,
12113,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
Questions that have double the score of the highest-voted answer. | SELECT Id AS "post_link" FROM Posts AS Question WHERE PostTypeId = 1 AND (SELECT Score FROM Posts WHERE PostTypeId = 2 AND ParentId = Question.Id ORDER BY Score DESC LIMIT 1) * 2 <= Question.Score | [
35741,
326,
423,
4274,
262,
4776,
286,
262,
4511,
12,
85,
5191,
3280,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1,
16034,
12043,
7054,
18233,
33411,
2947,
6030,
7390,
796,
352,
5357,
357,
46506,
15178
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
35741,
326,
423,
4274,
262,
4776,
286,
262,
4511,
12,
85,
5191,
3280,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1,
16034,
12043,
7054,
18233,
33411,
2947,
6030,
7390,
796,
352,
5357,
357,
46506,
15178
] |
What song is done by Terence Trent D'Arby? | SELECT "Song" FROM table_39521 WHERE "Artist" = 'terence trent d''arby' | [
2061,
3496,
318,
1760,
416,
309,
1945,
24269,
360,
6,
3163,
1525,
30,
46506,
366,
44241,
1,
16034,
3084,
62,
31010,
2481,
33411,
366,
43020,
1,
796,
705,
83,
1945,
256,
1156,
288,
7061,
283,
1525
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3496,
318,
1760,
416,
309,
1945,
24269,
360,
6,
3163,
1525,
30,
46506,
366,
44241,
1,
16034,
3084,
62,
31010,
2481,
33411,
366,
43020,
1,
796,
705,
83,
1945,
256,
1156,
288,
7061,
283,
1525
] |
How many tries for are associated with 5 points and 2 tries against? | SELECT "Tries For" FROM table_40991 WHERE "Points" = '5' AND "Tries Against" = '2' | [
2437,
867,
8404,
329,
389,
3917,
351,
642,
2173,
290,
362,
8404,
1028,
30,
46506,
366,
51,
1678,
1114,
1,
16034,
3084,
62,
1821,
2079,
16,
33411,
366,
40710,
1,
796,
705,
20,
6,
5357,
366
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
8404,
329,
389,
3917,
351,
642,
2173,
290,
362,
8404,
1028,
30,
46506,
366,
51,
1678,
1114,
1,
16034,
3084,
62,
1821,
2079,
16,
33411,
366,
40710,
1,
796,
705,
20,
6,
5357,
366
] |
What is Episode, when XII Season is 4 118 160 (26 september 2010)? | SELECT episode FROM table_name_23 WHERE xii_season = "4 118 160 (26 september 2010)" | [
2061,
318,
7922,
11,
618,
39284,
7369,
318,
604,
19035,
13454,
357,
2075,
384,
457,
1491,
3050,
19427,
46506,
4471,
16034,
3084,
62,
3672,
62,
1954,
33411,
2124,
4178,
62,
6230,
796,
366,
19,
19035,
13454
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7922,
11,
618,
39284,
7369,
318,
604,
19035,
13454,
357,
2075,
384,
457,
1491,
3050,
19427,
46506,
4471,
16034,
3084,
62,
3672,
62,
1954,
33411,
2124,
4178,
62,
6230,
796,
366,
19,
19035,
13454
] |
Which attribute definitions have attribute value 0? Give me the attribute name and attribute ID. | SELECT t1.attribute_name, t1.attribute_id FROM attribute_definitions AS t1 JOIN catalog_contents_additional_attributes AS t2 ON t1.attribute_id = t2.attribute_id WHERE t2.attribute_value = 0 | [
13828,
11688,
17336,
423,
11688,
1988,
657,
30,
13786,
502,
262,
11688,
1438,
290,
11688,
4522,
13,
46506,
256,
16,
13,
42348,
62,
3672,
11,
256,
16,
13,
42348,
62,
312,
16034,
11688,
62,
4299,
50101
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11688,
17336,
423,
11688,
1988,
657,
30,
13786,
502,
262,
11688,
1438,
290,
11688,
4522,
13,
46506,
256,
16,
13,
42348,
62,
3672,
11,
256,
16,
13,
42348,
62,
312,
16034,
11688,
62,
4299,
50101
] |
what was the total score for the 1st and 2nd legs of the somalia vs sudan game . | SELECT "agg." + "agg." FROM table_204_324 WHERE "team 1" = 'somalia' AND "team 2" = 'sudan' | [
10919,
373,
262,
2472,
4776,
329,
262,
352,
301,
290,
362,
358,
7405,
286,
262,
3870,
9752,
3691,
424,
25604,
983,
764,
46506,
366,
9460,
526,
1343,
366,
9460,
526,
16034,
3084,
62,
18638,
62,
33916
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4776,
329,
262,
352,
301,
290,
362,
358,
7405,
286,
262,
3870,
9752,
3691,
424,
25604,
983,
764,
46506,
366,
9460,
526,
1343,
366,
9460,
526,
16034,
3084,
62,
18638,
62,
33916
] |
Which 400 / 500 -level POLSCI courses have the smallest workloads ? | SELECT DISTINCT course.department, course.name, course.number, program_course.workload FROM course INNER JOIN program_course WHERE ((course.number < 400 + 100 AND course.number >= 400) OR (course.number < 500 + 100 AND course.number >= 500)) AND course.department = 'POLSCI' AND program_course.workload = (SELECT MIN(PRO... | [
13828,
7337,
1220,
5323,
532,
5715,
20634,
6173,
40,
10902,
423,
262,
18197,
26211,
82,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
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
] | [
13828,
7337,
1220,
5323,
532,
5715,
20634,
6173,
40,
10902,
423,
262,
18197,
26211,
82,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62
] |
What value can you find under the column 'august 21-22' and the row of June 11, 1983? | SELECT "August 21-22" FROM table_25195 WHERE "June 10-11" = 'June 11, 1983' | [
2061,
1988,
460,
345,
1064,
739,
262,
5721,
705,
7493,
436,
2310,
12,
1828,
6,
290,
262,
5752,
286,
2795,
1367,
11,
13540,
30,
46506,
366,
17908,
2310,
12,
1828,
1,
16034,
3084,
62,
1495,
22186
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1988,
460,
345,
1064,
739,
262,
5721,
705,
7493,
436,
2310,
12,
1828,
6,
290,
262,
5752,
286,
2795,
1367,
11,
13540,
30,
46506,
366,
17908,
2310,
12,
1828,
1,
16034,
3084,
62,
1495,
22186
] |
Name the high rebounds for american airlines center 20,557 | SELECT "High rebounds" FROM table_25858 WHERE "Location Attendance" = 'American Airlines Center 20,557' | [
5376,
262,
1029,
18841,
329,
45630,
272,
26225,
3641,
1160,
11,
41948,
46506,
366,
11922,
18841,
1,
16034,
3084,
62,
25600,
3365,
33411,
366,
14749,
46502,
590,
1,
796,
705,
7437,
16712,
3337,
1160,
11,
41948
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1029,
18841,
329,
45630,
272,
26225,
3641,
1160,
11,
41948,
46506,
366,
11922,
18841,
1,
16034,
3084,
62,
25600,
3365,
33411,
366,
14749,
46502,
590,
1,
796,
705,
7437,
16712,
3337,
1160,
11,
41948
] |
Which player was a running back from San Jose State? | SELECT "Player" FROM table_76745 WHERE "Position" = 'running back' AND "College" = 'san jose state' | [
13828,
2137,
373,
257,
2491,
736,
422,
2986,
5264,
1812,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
32059,
2231,
33411,
366,
26545,
1,
796,
705,
20270,
736,
6,
5357,
366,
38951,
1,
796,
705,
12807
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2137,
373,
257,
2491,
736,
422,
2986,
5264,
1812,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
32059,
2231,
33411,
366,
26545,
1,
796,
705,
20270,
736,
6,
5357,
366,
38951,
1,
796,
705,
12807
] |
When did the term end that began January 3, 2007? | SELECT "Term ended" FROM table_2617 WHERE "Term began" = 'January 3, 2007' | [
2215,
750,
262,
3381,
886,
326,
2540,
3269,
513,
11,
4343,
30,
46506,
366,
40596,
4444,
1,
16034,
3084,
62,
2075,
1558,
33411,
366,
40596,
2540,
1,
796,
705,
21339,
513,
11,
4343,
6,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0
] | [
2215,
750,
262,
3381,
886,
326,
2540,
3269,
513,
11,
4343,
30,
46506,
366,
40596,
4444,
1,
16034,
3084,
62,
2075,
1558,
33411,
366,
40596,
2540,
1,
796,
705,
21339,
513,
11,
4343,
6,
50256,
50256
] |
what's the nhl team with college/junior/club team being brandon wheat kings (wchl) | SELECT nhl_team FROM table_1473672_9 WHERE college_junior_club_team = "Brandon Wheat Kings (WCHL)" | [
10919,
338,
262,
299,
18519,
1074,
351,
4152,
14,
29741,
1504,
14,
18664,
1074,
852,
4508,
261,
17135,
21557,
357,
86,
354,
75,
8,
46506,
299,
18519,
62,
15097,
16034,
3084,
62,
20198,
2623,
4761,
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
] | [
10919,
338,
262,
299,
18519,
1074,
351,
4152,
14,
29741,
1504,
14,
18664,
1074,
852,
4508,
261,
17135,
21557,
357,
86,
354,
75,
8,
46506,
299,
18519,
62,
15097,
16034,
3084,
62,
20198,
2623,
4761,
62
] |
Name the population density when barangay is tiptip | SELECT "Pop. density (per km\u00b2)" FROM table_1546 WHERE "Barangay" = 'Tiptip' | [
5376,
262,
3265,
12109,
618,
2318,
648,
323,
318,
256,
10257,
541,
46506,
366,
16979,
13,
12109,
357,
525,
10571,
59,
84,
405,
65,
17,
16725,
16034,
3084,
62,
1314,
3510,
33411,
366,
10374,
648,
323
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3265,
12109,
618,
2318,
648,
323,
318,
256,
10257,
541,
46506,
366,
16979,
13,
12109,
357,
525,
10571,
59,
84,
405,
65,
17,
16725,
16034,
3084,
62,
1314,
3510,
33411,
366,
10374,
648,
323
] |
Which Surface had an Opponent of fernanda hermenegildo monika kochanova? | SELECT surface FROM table_name_57 WHERE opponent = "fernanda hermenegildo monika kochanova" | [
13828,
20321,
550,
281,
9385,
3471,
286,
277,
1142,
5282,
607,
3653,
1533,
39583,
937,
9232,
41727,
3147,
10071,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
3553,
33411,
6125,
796,
366,
69,
1142,
5282,
607
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
20321,
550,
281,
9385,
3471,
286,
277,
1142,
5282,
607,
3653,
1533,
39583,
937,
9232,
41727,
3147,
10071,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
3553,
33411,
6125,
796,
366,
69,
1142,
5282,
607
] |
Tell me the report with winner of louis wagner | SELECT report FROM table_name_51 WHERE winning_driver = "louis wagner" | [
24446,
502,
262,
989,
351,
8464,
286,
21081,
271,
266,
363,
1008,
46506,
989,
16034,
3084,
62,
3672,
62,
4349,
33411,
5442,
62,
26230,
796,
366,
75,
280,
271,
266,
363,
1008,
1,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0
] | [
24446,
502,
262,
989,
351,
8464,
286,
21081,
271,
266,
363,
1008,
46506,
989,
16034,
3084,
62,
3672,
62,
4349,
33411,
5442,
62,
26230,
796,
366,
75,
280,
271,
266,
363,
1008,
1,
50256,
50256,
50256
] |
When there are 10.02 million viewers what is the rating (18-49)? | SELECT "Rating (18\u201349)" FROM table_30901 WHERE "Viewers (millions)" = '10.02' | [
2215,
612,
389,
838,
13,
2999,
1510,
10209,
644,
318,
262,
7955,
357,
1507,
12,
2920,
19427,
46506,
366,
29321,
357,
1507,
59,
84,
1264,
27371,
16725,
16034,
3084,
62,
26895,
486,
33411,
366,
7680,
364
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
612,
389,
838,
13,
2999,
1510,
10209,
644,
318,
262,
7955,
357,
1507,
12,
2920,
19427,
46506,
366,
29321,
357,
1507,
59,
84,
1264,
27371,
16725,
16034,
3084,
62,
26895,
486,
33411,
366,
7680,
364
] |
Plot the total number by grouped by country as a bar graph, and display y axis in desc order. | SELECT Country, COUNT(*) FROM member GROUP BY Country ORDER BY COUNT(*) DESC | [
43328,
262,
2472,
1271,
416,
32824,
416,
1499,
355,
257,
2318,
4823,
11,
290,
3359,
331,
16488,
287,
1715,
1502,
13,
46506,
12946,
11,
327,
28270,
7,
28104,
16034,
2888,
44441,
11050,
12946,
38678,
11050,
327
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
43328,
262,
2472,
1271,
416,
32824,
416,
1499,
355,
257,
2318,
4823,
11,
290,
3359,
331,
16488,
287,
1715,
1502,
13,
46506,
12946,
11,
327,
28270,
7,
28104,
16034,
2888,
44441,
11050,
12946,
38678,
11050,
327
] |
For each film, return the number of cinemas showing that fim in a bar chart, could you rank by the Title in asc? | SELECT Title, COUNT(Title) 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 Title ORDER BY Title | [
1890,
1123,
2646,
11,
1441,
262,
1271,
286,
13483,
292,
4478,
326,
277,
320,
287,
257,
2318,
8262,
11,
714,
345,
4279,
416,
262,
11851,
287,
10570,
30,
46506,
11851,
11,
327,
28270,
7,
19160,
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
] | [
1890,
1123,
2646,
11,
1441,
262,
1271,
286,
13483,
292,
4478,
326,
277,
320,
287,
257,
2318,
8262,
11,
714,
345,
4279,
416,
262,
11851,
287,
10570,
30,
46506,
11851,
11,
327,
28270,
7,
19160,
8
] |
When did Alan Hutcheson won Class B on round 1? | SELECT date FROM table_24853015_1 WHERE class_b_winner = "Alan Hutcheson" AND round = 1 | [
2215,
750,
12246,
32767,
2052,
261,
1839,
5016,
347,
319,
2835,
352,
30,
46506,
3128,
16034,
3084,
62,
23045,
4310,
25150,
62,
16,
33411,
1398,
62,
65,
62,
39791,
796,
366,
36235,
32767,
2052,
261,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
750,
12246,
32767,
2052,
261,
1839,
5016,
347,
319,
2835,
352,
30,
46506,
3128,
16034,
3084,
62,
23045,
4310,
25150,
62,
16,
33411,
1398,
62,
65,
62,
39791,
796,
366,
36235,
32767,
2052,
261,
1
] |
What is the Player for Orlando in 1989 1991? | SELECT player FROM table_name_77 WHERE years_in_orlando = "1989–1991" | [
2061,
318,
262,
7853,
329,
13117,
287,
11104,
10249,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
3324,
33411,
812,
62,
259,
62,
273,
11993,
796,
366,
25475,
1906,
24529,
1,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0
] | [
2061,
318,
262,
7853,
329,
13117,
287,
11104,
10249,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
3324,
33411,
812,
62,
259,
62,
273,
11993,
796,
366,
25475,
1906,
24529,
1,
50256,
50256,
50256,
50256,
50256
] |
how many hours has it passed since the first time patient 9964 received a laboratory chloride test during their current hospital visit? | SELECT 24 * (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 = 'chloride') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 9964 AND admissions... | [
4919,
867,
2250,
468,
340,
3804,
1201,
262,
717,
640,
5827,
7388,
2414,
2722,
257,
14010,
44921,
1332,
1141,
511,
1459,
4436,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
2250,
468,
340,
3804,
1201,
262,
717,
640,
5827,
7388,
2414,
2722,
257,
14010,
44921,
1332,
1141,
511,
1459,
4436,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327
] |
Who was the Centerfold model in the issue in which the Interview subject was Paul Simon? | SELECT "Centerfold model" FROM table_40079 WHERE "Interview subject" = 'paul simon' | [
8241,
373,
262,
3337,
11379,
2746,
287,
262,
2071,
287,
543,
262,
19371,
2426,
373,
3362,
11288,
30,
46506,
366,
23656,
11379,
2746,
1,
16034,
3084,
62,
7029,
3720,
33411,
366,
39945,
2426,
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
] | [
8241,
373,
262,
3337,
11379,
2746,
287,
262,
2071,
287,
543,
262,
19371,
2426,
373,
3362,
11288,
30,
46506,
366,
23656,
11379,
2746,
1,
16034,
3084,
62,
7029,
3720,
33411,
366,
39945,
2426,
1,
796,
705
] |
Which 1988 has a 1982 of 104? | SELECT 1988 FROM table_name_46 WHERE 1982 = "104" | [
13828,
12122,
468,
257,
14489,
286,
14436,
30,
46506,
12122,
16034,
3084,
62,
3672,
62,
3510,
33411,
14489,
796,
366,
13464,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
13828,
12122,
468,
257,
14489,
286,
14436,
30,
46506,
12122,
16034,
3084,
62,
3672,
62,
3510,
33411,
14489,
796,
366,
13464,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
Questions with accepted and bountied answers. | WITH questions AS (SELECT COALESCE(ParentId, p.Id) AS PostId, Name, BountyAmount FROM Posts AS p JOIN Votes ON PostId = p.Id JOIN VoteTypes AS vt ON VoteTypeId = vt.Id WHERE Name IN ('AcceptedByOriginator', 'BountyClose')) SELECT p.Id AS "post_link", Score, COUNT(*) AS N, COUNT(CASE Name WHEN 'AcceptedByOriginator' THE... | [
35741,
351,
6292,
290,
49937,
798,
7429,
13,
54,
10554,
2683,
7054,
357,
46506,
7375,
1847,
1546,
5222,
7,
24546,
7390,
11,
279,
13,
7390,
8,
7054,
2947,
7390,
11,
6530,
11,
38166,
31264,
16034,
12043
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
35741,
351,
6292,
290,
49937,
798,
7429,
13,
54,
10554,
2683,
7054,
357,
46506,
7375,
1847,
1546,
5222,
7,
24546,
7390,
11,
279,
13,
7390,
8,
7054,
2947,
7390,
11,
6530,
11,
38166,
31264,
16034,
12043
] |
who was the last player from england inducted ? | SELECT "name" FROM table_204_650 WHERE "nationality" = 'england' ORDER BY "season" DESC LIMIT 1 | [
8727,
373,
262,
938,
2137,
422,
1786,
1044,
28948,
276,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
17544,
33411,
366,
14648,
414,
1,
796,
705,
1516,
1044,
6,
38678,
11050,
366,
6230,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
938,
2137,
422,
1786,
1044,
28948,
276,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
17544,
33411,
366,
14648,
414,
1,
796,
705,
1516,
1044,
6,
38678,
11050,
366,
6230,
1
] |
How many candidates were in the election featuring brooks hays (d) unopposed? | SELECT COUNT("First elected") FROM table_18612 WHERE "Candidates" = 'Brooks Hays (D) Unopposed' | [
2437,
867,
5871,
547,
287,
262,
3071,
9593,
1379,
28194,
289,
592,
357,
67,
8,
555,
10365,
1335,
30,
46506,
327,
28270,
7203,
5962,
7018,
4943,
16034,
3084,
62,
25096,
1065,
33411,
366,
41572,
37051,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5871,
547,
287,
262,
3071,
9593,
1379,
28194,
289,
592,
357,
67,
8,
555,
10365,
1335,
30,
46506,
327,
28270,
7203,
5962,
7018,
4943,
16034,
3084,
62,
25096,
1065,
33411,
366,
41572,
37051,
1
] |
what procedure did patient 010-32698 receive the first time this year. | SELECT treatment.treatmentname FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-32698')) AND DATETIME(treatment.treatmenttime, 'start of year... | [
10919,
8771,
750,
5827,
5534,
15,
12,
39195,
4089,
3328,
262,
717,
640,
428,
614,
13,
46506,
3513,
13,
42487,
3672,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8771,
750,
5827,
5534,
15,
12,
39195,
4089,
3328,
262,
717,
640,
428,
614,
13,
46506,
3513,
13,
42487,
3672,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.