instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
count the number of patients whose ethnicity is american indian/alaska native and diagnoses long title is unspecified erythematous condition? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND diagnoses.long_title = "Unspecified erythematous condition" | [
9127,
262,
1271,
286,
3871,
3025,
26289,
318,
45630,
272,
773,
666,
14,
282,
8480,
6868,
290,
40567,
890,
3670,
318,
29547,
220,
1924,
1169,
6759,
516,
4006,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
26289,
318,
45630,
272,
773,
666,
14,
282,
8480,
6868,
290,
40567,
890,
3670,
318,
29547,
220,
1924,
1169,
6759,
516,
4006,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
... |
Give me the comparison about ID over the Time by a bar chart. | SELECT Time, ID FROM swimmer | [
23318,
502,
262,
7208,
546,
4522,
625,
262,
3862,
416,
257,
2318,
8262,
13,
46506,
3862,
11,
4522,
16034,
9422,
647
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
262,
7208,
546,
4522,
625,
262,
3862,
416,
257,
2318,
8262,
13,
46506,
3862,
11,
4522,
16034,
9422,
647
] |
What is the total number of runs when the average was less than 31.25 and there were fewer than 24 innings? | SELECT COUNT(runs) FROM table_name_51 WHERE average > 31.25 AND innings < 24 | [
2061,
318,
262,
2472,
1271,
286,
4539,
618,
262,
2811,
373,
1342,
621,
3261,
13,
1495,
290,
612,
547,
7380,
621,
1987,
16267,
30,
46506,
327,
28270,
7,
48381,
8,
16034,
3084,
62,
3672,
62,
4349,
33411,
2811,
1875,
3261,
13,
1495,
53... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4539,
618,
262,
2811,
373,
1342,
621,
3261,
13,
1495,
290,
612,
547,
7380,
621,
1987,
16267,
30,
46506,
327,
28270,
7,
48381,
8,
16034,
3084,
62,
3672,
62,
4349,
33411,
2811,
1875,
3261,
13,
1495,
53... |
What's the official website of Burning Flame with 22 episodes? | SELECT "Official website" FROM table_65812 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,
366,
28529,
3052,
1,
16034,
3084,
62,
38431,
1065,
33411,
366,
15057,
286,
8640,
1,
1875,
705,
1828,
6,
5357,
366,
15823,
3670,
357,
23604,
3670,
16725,
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,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
1743,
3052,
286,
21460,
11981,
351,
2534,
8640,
30,
46506,
366,
28529,
3052,
1,
16034,
3084,
62,
38431,
1065,
33411,
366,
15057,
286,
8640,
1,
1875,
705,
1828,
6,
5357,
366,
15823,
3670,
357,
23604,
3670,
16725,
796,
7... |
the number of films govinda appeared in during his debut year . | SELECT COUNT("film") FROM table_204_723 WHERE "year" = (SELECT MIN("year") FROM table_204_723) | [
1169,
1271,
286,
7328,
467,
85,
22261,
4120,
287,
1141,
465,
8886,
614,
764,
46506,
327,
28270,
7203,
26240,
4943,
16034,
3084,
62,
18638,
62,
22,
1954,
33411,
366,
1941,
1,
796,
357,
46506,
20625,
7203,
1941,
4943,
16034,
3084,
62,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1169,
1271,
286,
7328,
467,
85,
22261,
4120,
287,
1141,
465,
8886,
614,
764,
46506,
327,
28270,
7203,
26240,
4943,
16034,
3084,
62,
18638,
62,
22,
1954,
33411,
366,
1941,
1,
796,
357,
46506,
20625,
7203,
1941,
4943,
16034,
3084,
62,
1... |
give me the number of patients whose language is cape and age is less than 70? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.language = "CAPE" AND demographic.age < "70" | [
26535,
502,
262,
1271,
286,
3871,
3025,
3303,
318,
36023,
290,
2479,
318,
1342,
621,
4317,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
16129,
796,
366,
33177,
36,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26535,
502,
262,
1271,
286,
3871,
3025,
3303,
318,
36023,
290,
2479,
318,
1342,
621,
4317,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
16129,
796,
366,
33177,
36,
1,
... |
severe valvular heart disease | SELECT * FROM table_test_5 WHERE heart_disease = 1 | [
43070,
1188,
85,
934,
2612,
4369,
46506,
1635,
16034,
3084,
62,
9288,
62,
20,
33411,
2612,
62,
67,
786,
589,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
43070,
1188,
85,
934,
2612,
4369,
46506,
1635,
16034,
3084,
62,
9288,
62,
20,
33411,
2612,
62,
67,
786,
589,
796,
352
] |
Which date has an Opponent of bye? | SELECT date FROM table_name_78 WHERE opponent = "bye" | [
13828,
3128,
468,
281,
9385,
3471,
286,
33847,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3695,
33411,
6125,
796,
366,
16390,
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,
3128,
468,
281,
9385,
3471,
286,
33847,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3695,
33411,
6125,
796,
366,
16390,
1
] |
Tell me the nomination for peresohla zemlia | SELECT nomination FROM table_name_41 WHERE film_name = "peresohla zemlia" | [
24446,
502,
262,
11872,
329,
613,
411,
1219,
5031,
1976,
368,
24660,
46506,
11872,
16034,
3084,
62,
3672,
62,
3901,
33411,
2646,
62,
3672,
796,
366,
431,
411,
1219,
5031,
1976,
368,
24660,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
11872,
329,
613,
411,
1219,
5031,
1976,
368,
24660,
46506,
11872,
16034,
3084,
62,
3672,
62,
3901,
33411,
2646,
62,
3672,
796,
366,
431,
411,
1219,
5031,
1976,
368,
24660,
1
] |
Top 10 Users from Iran by Reputation. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%iran%' OR UPPER(Location) LIKE '%IR' ORDER BY Reputation DESC LIMIT 10 | [
9126,
838,
18987,
422,
4068,
416,
1432,
7094,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
16034,
18987,
33... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9126,
838,
18987,
422,
4068,
416,
1432,
7094,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
16034,
18987,
33... |
Find the full name of employee who supported the most number of customers. | SELECT T1.first_name, T1.last_name FROM employees AS T1 JOIN customers AS T2 ON T1.id = T2.support_rep_id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 1 | [
16742,
262,
1336,
1438,
286,
6538,
508,
4855,
262,
749,
1271,
286,
4297,
13,
46506,
309,
16,
13,
11085,
62,
3672,
11,
309,
16,
13,
12957,
62,
3672,
16034,
4409,
7054,
309,
16,
32357,
1268,
4297,
7054,
309,
17,
6177,
309,
16,
13,
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... | [
16742,
262,
1336,
1438,
286,
6538,
508,
4855,
262,
749,
1271,
286,
4297,
13,
46506,
309,
16,
13,
11085,
62,
3672,
11,
309,
16,
13,
12957,
62,
3672,
16034,
4409,
7054,
309,
16,
32357,
1268,
4297,
7054,
309,
17,
6177,
309,
16,
13,
3... |
how many of the current state regents will be in office until at least 2016 ? | SELECT COUNT("name") FROM table_204_68 WHERE "term expires" >= 2016 | [
4919,
867,
286,
262,
1459,
1181,
842,
658,
481,
307,
287,
2607,
1566,
379,
1551,
1584,
5633,
46506,
327,
28270,
7203,
3672,
4943,
16034,
3084,
62,
18638,
62,
3104,
33411,
366,
4354,
27396,
1,
18189,
1584
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1459,
1181,
842,
658,
481,
307,
287,
2607,
1566,
379,
1551,
1584,
5633,
46506,
327,
28270,
7203,
3672,
4943,
16034,
3084,
62,
18638,
62,
3104,
33411,
366,
4354,
27396,
1,
18189,
1584
] |
is the patient estrella carroll male or female? | SELECT demographic.gender FROM demographic WHERE demographic.name = "Estrella Carroll" | [
271,
262,
5827,
1556,
20481,
1097,
2487,
4257,
393,
4048,
30,
46506,
16728,
13,
8388,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
22362,
20481,
21298,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
271,
262,
5827,
1556,
20481,
1097,
2487,
4257,
393,
4048,
30,
46506,
16728,
13,
8388,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
22362,
20481,
21298,
1
] |
What team does Carlsberg sponsor? | SELECT team FROM table_name_52 WHERE shirt_sponsor = "carlsberg" | [
2061,
1074,
857,
1879,
7278,
3900,
17487,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
4309,
33411,
10147,
62,
20587,
273,
796,
366,
66,
7063,
82,
3900,
1
] | [
1,
1,
1,
1,
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,
1074,
857,
1879,
7278,
3900,
17487,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
4309,
33411,
10147,
62,
20587,
273,
796,
366,
66,
7063,
82,
3900,
1
] |
which township has the least water area in miles ? | SELECT "township" FROM table_203_510 WHERE "water area\n(mi2)" = (SELECT MIN("water area\n(mi2)") FROM table_203_510) | [
4758,
42823,
468,
262,
1551,
1660,
1989,
287,
4608,
5633,
46506,
366,
12735,
6720,
1,
16034,
3084,
62,
22416,
62,
33690,
33411,
366,
7050,
1989,
59,
77,
7,
11632,
17,
16725,
796,
357,
46506,
20625,
7203,
7050,
1989,
59,
77,
7,
11632,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
42823,
468,
262,
1551,
1660,
1989,
287,
4608,
5633,
46506,
366,
12735,
6720,
1,
16034,
3084,
62,
22416,
62,
33690,
33411,
366,
7050,
1989,
59,
77,
7,
11632,
17,
16725,
796,
357,
46506,
20625,
7203,
7050,
1989,
59,
77,
7,
11632,
... |
who is the the incumbent with opponent being anthony weiner (d) unopposed | SELECT incumbent FROM table_13833770_3 WHERE opponent = "Anthony Weiner (D) unopposed" | [
8727,
318,
262,
262,
23526,
351,
6125,
852,
26794,
1647,
356,
7274,
357,
67,
8,
555,
10365,
1335,
46506,
23526,
16034,
3084,
62,
20107,
31496,
2154,
62,
18,
33411,
6125,
796,
366,
32697,
35055,
357,
35,
8,
555,
10365,
1335,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
318,
262,
262,
23526,
351,
6125,
852,
26794,
1647,
356,
7274,
357,
67,
8,
555,
10365,
1335,
46506,
23526,
16034,
3084,
62,
20107,
31496,
2154,
62,
18,
33411,
6125,
796,
366,
32697,
35055,
357,
35,
8,
555,
10365,
1335,
1
] |
Distribution of HNQs based on minutes until entering. | WITH times_cte AS (SELECT p.Id AS pid, p.CreationDate AS cre, ph.CreationDate AS hot, CAST((JULIANDAY(CreationDate) - JULIANDAY(p.CreationDate)) * 1440.0 AS INT) AS minutes FROM PostHistory AS ph INNER JOIN Posts AS p ON ph.PostId = p.Id WHERE ph.PostHistoryTypeId = 52) SELECT minutes, COUNT(pid) AS Count FROM times_ct... | [
20344,
3890,
286,
367,
45,
48,
82,
1912,
319,
2431,
1566,
8218,
13,
54,
10554,
1661,
62,
310,
68,
7054,
357,
46506,
279,
13,
7390,
7054,
46514,
11,
279,
13,
12443,
341,
10430,
7054,
1126,
11,
872,
13,
12443,
341,
10430,
7054,
3024,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
20344,
3890,
286,
367,
45,
48,
82,
1912,
319,
2431,
1566,
8218,
13,
54,
10554,
1661,
62,
310,
68,
7054,
357,
46506,
279,
13,
7390,
7054,
46514,
11,
279,
13,
12443,
341,
10430,
7054,
1126,
11,
872,
13,
12443,
341,
10430,
7054,
3024,
... |
What is the Opponent of the game in Week 3? | SELECT opponent FROM table_name_21 WHERE week = 3 | [
2061,
318,
262,
9385,
3471,
286,
262,
983,
287,
6119,
513,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
2481,
33411,
1285,
796,
513
] | [
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,
9385,
3471,
286,
262,
983,
287,
6119,
513,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
2481,
33411,
1285,
796,
513
] |
Who is the rider of Scot Racing team with a Honda constructor and rounds 6-17? | SELECT "Rider" FROM table_38940 WHERE "Constructor" = 'honda' AND "Team" = 'scot racing team' AND "Rounds" = '6-17' | [
8241,
318,
262,
17876,
286,
7130,
14954,
1074,
351,
257,
20059,
23772,
290,
9196,
718,
12,
1558,
30,
46506,
366,
49,
1304,
1,
16034,
3084,
62,
29769,
1821,
33411,
366,
42316,
273,
1,
796,
705,
71,
13533,
6,
5357,
366,
15592,
1,
796,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
17876,
286,
7130,
14954,
1074,
351,
257,
20059,
23772,
290,
9196,
718,
12,
1558,
30,
46506,
366,
49,
1304,
1,
16034,
3084,
62,
29769,
1821,
33411,
366,
42316,
273,
1,
796,
705,
71,
13533,
6,
5357,
366,
15592,
1,
796,... |
Which Skip will play Joan Mccusker? | SELECT "Skip" FROM table_53950 WHERE "Second" = 'joan mccusker' | [
13828,
32214,
481,
711,
26640,
337,
535,
385,
6122,
30,
46506,
366,
50232,
1,
16034,
3084,
62,
20,
2670,
1120,
33411,
366,
12211,
1,
796,
705,
7639,
272,
285,
535,
385,
6122,
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
] | [
13828,
32214,
481,
711,
26640,
337,
535,
385,
6122,
30,
46506,
366,
50232,
1,
16034,
3084,
62,
20,
2670,
1120,
33411,
366,
12211,
1,
796,
705,
7639,
272,
285,
535,
385,
6122,
6
] |
What was the sample size for the poll featuring Republican Ron Paul? | SELECT "Sample Size" FROM table_9480 WHERE "Republican" = 'ron paul' | [
2061,
373,
262,
6291,
2546,
329,
262,
3278,
9593,
3415,
6575,
3362,
30,
46506,
366,
36674,
12849,
1,
16034,
3084,
62,
5824,
1795,
33411,
366,
25777,
1,
796,
705,
1313,
279,
2518,
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
] | [
2061,
373,
262,
6291,
2546,
329,
262,
3278,
9593,
3415,
6575,
3362,
30,
46506,
366,
36674,
12849,
1,
16034,
3084,
62,
5824,
1795,
33411,
366,
25777,
1,
796,
705,
1313,
279,
2518,
6
] |
What is the value in 2009 when 1R is in 2007? | SELECT 2009 FROM table_name_19 WHERE 2007 = "1r" | [
2061,
318,
262,
1988,
287,
3717,
618,
352,
49,
318,
287,
4343,
30,
46506,
3717,
16034,
3084,
62,
3672,
62,
1129,
33411,
4343,
796,
366,
16,
81,
1
] | [
1,
1,
1,
1,
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,
1988,
287,
3717,
618,
352,
49,
318,
287,
4343,
30,
46506,
3717,
16034,
3084,
62,
3672,
62,
1129,
33411,
4343,
796,
366,
16,
81,
1
] |
Who did the Toronto Blue Jays play against where the score was 4 - 2? | SELECT "Opponent" FROM table_71272 WHERE "Score" = '4 - 2' | [
8241,
750,
262,
6586,
4518,
23288,
711,
1028,
810,
262,
4776,
373,
604,
532,
362,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
49517,
4761,
33411,
366,
26595,
1,
796,
705,
19,
532,
362,
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
] | [
8241,
750,
262,
6586,
4518,
23288,
711,
1028,
810,
262,
4776,
373,
604,
532,
362,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
49517,
4761,
33411,
366,
26595,
1,
796,
705,
19,
532,
362,
6
] |
\What is the class of the station with the call sign w254ah? | SELECT "Class" FROM table_71453 WHERE "Call sign" = 'w254ah' | [
59,
2061,
318,
262,
1398,
286,
262,
4429,
351,
262,
869,
1051,
266,
24970,
993,
30,
46506,
366,
9487,
1,
16034,
3084,
62,
45722,
4310,
33411,
366,
14134,
1051,
1,
796,
705,
86,
24970,
993,
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
] | [
59,
2061,
318,
262,
1398,
286,
262,
4429,
351,
262,
869,
1051,
266,
24970,
993,
30,
46506,
366,
9487,
1,
16034,
3084,
62,
45722,
4310,
33411,
366,
14134,
1051,
1,
796,
705,
86,
24970,
993,
6
] |
Which date's margin of victory was 3 and 2? | SELECT date FROM table_name_45 WHERE margin_of_victory = "3 and 2" | [
13828,
3128,
338,
10330,
286,
5373,
373,
513,
290,
362,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2231,
33411,
10330,
62,
1659,
62,
32433,
652,
796,
366,
18,
290,
362,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
338,
10330,
286,
5373,
373,
513,
290,
362,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2231,
33411,
10330,
62,
1659,
62,
32433,
652,
796,
366,
18,
290,
362,
1
] |
Draw a bar chart of type versus the total number, and order from low to high by the the total number . | SELECT Type, COUNT(*) FROM Institution GROUP BY Type ORDER BY COUNT(*) | [
25302,
257,
2318,
8262,
286,
2099,
9051,
262,
2472,
1271,
11,
290,
1502,
422,
1877,
284,
1029,
416,
262,
262,
2472,
1271,
764,
46506,
5994,
11,
327,
28270,
7,
28104,
16034,
29426,
44441,
11050,
5994,
38678,
11050,
327,
28270,
7,
28104
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
25302,
257,
2318,
8262,
286,
2099,
9051,
262,
2472,
1271,
11,
290,
1502,
422,
1877,
284,
1029,
416,
262,
262,
2472,
1271,
764,
46506,
5994,
11,
327,
28270,
7,
28104,
16034,
29426,
44441,
11050,
5994,
38678,
11050,
327,
28270,
7,
28104
] |
What is the relationship between School_ID and ACC_Percent , and group by attribute All_Neutral? | SELECT School_ID, ACC_Percent FROM basketball_match GROUP BY All_Neutral | [
2061,
318,
262,
2776,
1022,
3961,
62,
2389,
290,
15859,
62,
31905,
837,
290,
1448,
416,
11688,
1439,
62,
8199,
6815,
30,
46506,
3961,
62,
2389,
11,
15859,
62,
31905,
16034,
9669,
62,
15699,
44441,
11050,
1439,
62,
8199,
6815
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2776,
1022,
3961,
62,
2389,
290,
15859,
62,
31905,
837,
290,
1448,
416,
11688,
1439,
62,
8199,
6815,
30,
46506,
3961,
62,
2389,
11,
15859,
62,
31905,
16034,
9669,
62,
15699,
44441,
11050,
1439,
62,
8199,
6815
] |
What is the sum of the cereals of the governorate with 20,753 vegetables and less than 123,304 fruit trees? | SELECT SUM("Cereals") FROM table_12851 WHERE "Vegetables" = '20,753' AND "Fruit Trees" < '123,304' | [
2061,
318,
262,
2160,
286,
262,
6736,
874,
286,
262,
8153,
378,
351,
1160,
11,
44550,
13701,
290,
1342,
621,
17031,
11,
21288,
8234,
7150,
30,
46506,
35683,
7203,
34,
567,
874,
4943,
16034,
3084,
62,
12762,
4349,
33411,
366,
26979,
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,
1,
1,
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,
262,
6736,
874,
286,
262,
8153,
378,
351,
1160,
11,
44550,
13701,
290,
1342,
621,
17031,
11,
21288,
8234,
7150,
30,
46506,
35683,
7203,
34,
567,
874,
4943,
16034,
3084,
62,
12762,
4349,
33411,
366,
26979,
11... |
Find the names of Japanese constructors that have once earned more than 5 points, and count them by a bar chart, and display by the Y in ascending. | SELECT name, COUNT(name) FROM constructors AS T1 JOIN constructorStandings AS T2 ON T1.constructorId = T2.constructorId WHERE T1.nationality = "Japanese" AND T2.points > 5 GROUP BY name ORDER BY COUNT(name) | [
16742,
262,
3891,
286,
4960,
5678,
669,
326,
423,
1752,
7366,
517,
621,
642,
2173,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
290,
3359,
416,
262,
575,
287,
41988,
13,
46506,
1438,
11,
327,
28270,
7,
3672,
8,
16034,
5678,
669,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
3891,
286,
4960,
5678,
669,
326,
423,
1752,
7366,
517,
621,
642,
2173,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
290,
3359,
416,
262,
575,
287,
41988,
13,
46506,
1438,
11,
327,
28270,
7,
3672,
8,
16034,
5678,
669,
7... |
what are all flights from PITTSBURGH to BOSTON on WEDNESDAY | 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, days, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BOSTON' AND days.day_name = 'WEDNESDAY' AND flight.flight_days = days.days_code AND... | [
10919,
389,
477,
13956,
422,
49040,
4694,
38926,
17511,
284,
347,
10892,
1340,
319,
370,
1961,
37379,
26442,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
13956,
422,
49040,
4694,
38926,
17511,
284,
347,
10892,
1340,
319,
370,
1961,
37379,
26442,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
1... |
maxium minutes of suggested-edit before final. | SELECT MAX(CAST((JULIANDAY(COALESCE(ApprovalDate, RejectionDate)) - JULIANDAY(CreationDate)) AS INT)) AS "max_hours", AVG(CAST((JULIANDAY(COALESCE(ApprovalDate, RejectionDate)) - JULIANDAY(CreationDate)) AS INT)) AS "avg_hours" FROM SuggestedEdits WHERE NOT ApprovalDate IS NULL OR NOT RejectionDate IS NULL | [
9806,
1505,
2431,
286,
5220,
12,
19312,
878,
2457,
13,
46506,
25882,
7,
44647,
19510,
41,
6239,
40,
6981,
4792,
7,
8220,
1847,
1546,
5222,
7,
4677,
305,
2100,
10430,
11,
797,
29192,
10430,
4008,
532,
49349,
40,
6981,
4792,
7,
12443,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9806,
1505,
2431,
286,
5220,
12,
19312,
878,
2457,
13,
46506,
25882,
7,
44647,
19510,
41,
6239,
40,
6981,
4792,
7,
8220,
1847,
1546,
5222,
7,
4677,
305,
2100,
10430,
11,
797,
29192,
10430,
4008,
532,
49349,
40,
6981,
4792,
7,
12443,
... |
How many Draws have a South West DFL of tyrendarra, and less than 10 wins? | SELECT SUM("Draws") FROM table_79037 WHERE "South West DFL" = 'tyrendarra' AND "Wins" < '10' | [
2437,
867,
15315,
82,
423,
257,
2520,
2688,
360,
3697,
286,
1259,
10920,
283,
430,
11,
290,
1342,
621,
838,
7864,
30,
46506,
35683,
7203,
25302,
82,
4943,
16034,
3084,
62,
37750,
2718,
33411,
366,
14942,
2688,
360,
3697,
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
] | [
2437,
867,
15315,
82,
423,
257,
2520,
2688,
360,
3697,
286,
1259,
10920,
283,
430,
11,
290,
1342,
621,
838,
7864,
30,
46506,
35683,
7203,
25302,
82,
4943,
16034,
3084,
62,
37750,
2718,
33411,
366,
14942,
2688,
360,
3697,
1,
796,
705,
... |
renal disease: urine dipstick 4+ protein, serum creatinine is greater than or equal to 1.4 mg / dl ( female ) or is greater than or equal to 1.5 mg / dl ( male ) or currently receiving dialysis | SELECT * FROM table_dev_21 WHERE renal_disease = 1 OR (serum_creatinine >= 1.4 AND gender = 'female') OR (serum_creatinine >= 1.5 AND gender = 'male') OR dialysis = 1 | [
918,
282,
4369,
25,
18922,
19550,
13915,
604,
10,
7532,
11,
20502,
1827,
259,
500,
318,
3744,
621,
393,
4961,
284,
352,
13,
19,
10527,
1220,
288,
75,
357,
4048,
1267,
393,
318,
3744,
621,
393,
4961,
284,
352,
13,
20,
10527,
1220,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
918,
282,
4369,
25,
18922,
19550,
13915,
604,
10,
7532,
11,
20502,
1827,
259,
500,
318,
3744,
621,
393,
4961,
284,
352,
13,
19,
10527,
1220,
288,
75,
357,
4048,
1267,
393,
318,
3744,
621,
393,
4961,
284,
352,
13,
20,
10527,
1220,
... |
What was the date in which Chic won at CHS? | SELECT date FROM table_name_50 WHERE beat_by = "won" AND location = "chs" | [
2061,
373,
262,
3128,
287,
543,
48854,
1839,
379,
5870,
50,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1120,
33411,
4405,
62,
1525,
796,
366,
26502,
1,
5357,
4067,
796,
366,
354,
82,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
287,
543,
48854,
1839,
379,
5870,
50,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1120,
33411,
4405,
62,
1525,
796,
366,
26502,
1,
5357,
4067,
796,
366,
354,
82,
1
] |
Anonymous feedback for a set of users. | WITH anon_votes AS (SELECT COUNT(CASE VoteTypeId WHEN 2 THEN 1 END) AS upvotes, COUNT(CASE VoteTypeId WHEN 3 THEN 1 END) AS downvotes, COALESCE(ParentId, PostId) AS PostId FROM PostFeedback AS pf JOIN Posts AS p ON PostId = p.Id GROUP BY COALESCE(ParentId, PostId)) SELECT OwnerUserId AS "user_link", SUM(upvotes) AS up,... | [
20660,
7538,
329,
257,
900,
286,
2985,
13,
54,
10554,
281,
261,
62,
29307,
7054,
357,
46506,
327,
28270,
7,
34,
11159,
19175,
6030,
7390,
42099,
362,
42243,
352,
23578,
8,
7054,
510,
29307,
11,
327,
28270,
7,
34,
11159,
19175,
6030,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
20660,
7538,
329,
257,
900,
286,
2985,
13,
54,
10554,
281,
261,
62,
29307,
7054,
357,
46506,
327,
28270,
7,
34,
11159,
19175,
6030,
7390,
42099,
362,
42243,
352,
23578,
8,
7054,
510,
29307,
11,
327,
28270,
7,
34,
11159,
19175,
6030,
... |
If the latitude is 77 28 n, what is the longitude? | SELECT longitude FROM table_name_27 WHERE latitude = "77°28′n" | [
1532,
262,
32477,
318,
8541,
2579,
299,
11,
644,
318,
262,
890,
3984,
30,
46506,
890,
3984,
16034,
3084,
62,
3672,
62,
1983,
33411,
32477,
796,
366,
3324,
7200,
2078,
17478,
77,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
32477,
318,
8541,
2579,
299,
11,
644,
318,
262,
890,
3984,
30,
46506,
890,
3984,
16034,
3084,
62,
3672,
62,
1983,
33411,
32477,
796,
366,
3324,
7200,
2078,
17478,
77,
1
] |
When Elaine Gazda is the instructor for 165 , does the class meet Fridays ? | SELECT COUNT(*) = 0 FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN offering_instructor ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN instructor ON offering_instructor.instructor_id = instructor.instructor_id WHERE course.number = 165 AND c... | [
2215,
41463,
21347,
6814,
318,
262,
21187,
329,
21409,
837,
857,
262,
1398,
1826,
45011,
5633,
46506,
327,
28270,
7,
28104,
796,
657,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
17319,
62,
312,
796,
1781... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2215,
41463,
21347,
6814,
318,
262,
21187,
329,
21409,
837,
857,
262,
1398,
1826,
45011,
5633,
46506,
327,
28270,
7,
28104,
796,
657,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
17319,
62,
312,
796,
1781... |
Total Posts by Database Server Per Month - MySQL. | SELECT CONCAT(YEAR(P.CreationDate), '-', MONTH(P.CreationDate)) AS YearMonth, 'MySQL' AS TagName, COUNT(*) AS PostCount FROM Posts AS P INNER JOIN PostTags AS PT ON (P.Id = PT.PostId) INNER JOIN Tags AS T ON (PT.TagId = T.Id) WHERE T.TagName LIKE 'mysql%' GROUP BY YEAR(P.CreationDate), MONTH(P.CreationDate) ORDER BY YE... | [
14957,
12043,
416,
24047,
9652,
2448,
16061,
532,
33476,
13,
46506,
39962,
1404,
7,
56,
17133,
7,
47,
13,
12443,
341,
10430,
828,
705,
12,
3256,
25000,
4221,
7,
47,
13,
12443,
341,
10430,
4008,
7054,
6280,
31948,
11,
705,
3666,
17861,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
14957,
12043,
416,
24047,
9652,
2448,
16061,
532,
33476,
13,
46506,
39962,
1404,
7,
56,
17133,
7,
47,
13,
12443,
341,
10430,
828,
705,
12,
3256,
25000,
4221,
7,
47,
13,
12443,
341,
10430,
4008,
7054,
6280,
31948,
11,
705,
3666,
17861,... |
The head coach, steve radoslavic, is related to which websites? | SELECT website FROM table_11365528_2 WHERE head_coach = "Steve Radoslavic" | [
464,
1182,
3985,
11,
2876,
303,
2511,
26388,
291,
11,
318,
3519,
284,
543,
9293,
30,
46506,
3052,
16034,
3084,
62,
1157,
2623,
2816,
2078,
62,
17,
33411,
1182,
62,
1073,
620,
796,
366,
19206,
5325,
26388,
291,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
464,
1182,
3985,
11,
2876,
303,
2511,
26388,
291,
11,
318,
3519,
284,
543,
9293,
30,
46506,
3052,
16034,
3084,
62,
1157,
2623,
2816,
2078,
62,
17,
33411,
1182,
62,
1073,
620,
796,
366,
19206,
5325,
26388,
291,
1
] |
when patient 016-28377 received a lab test for the last time? | SELECT lab.labresulttime FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-28377')) ORDER BY lab.labresulttime DESC LIMIT 1 | [
12518,
5827,
5534,
21,
12,
2078,
26514,
2722,
257,
2248,
1332,
329,
262,
938,
640,
30,
46506,
2248,
13,
23912,
20274,
2435,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
5827,
5534,
21,
12,
2078,
26514,
2722,
257,
2248,
1332,
329,
262,
938,
640,
30,
46506,
2248,
13,
23912,
20274,
2435,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16... |
what is the event when gold is darren kenny great britain (gbr)? | SELECT "Event" FROM table_79469 WHERE "Gold" = 'darren kenny great britain (gbr)' | [
10919,
318,
262,
1785,
618,
3869,
318,
288,
283,
918,
479,
11870,
1049,
275,
799,
391,
357,
70,
1671,
19427,
46506,
366,
9237,
1,
16034,
3084,
62,
3720,
42947,
33411,
366,
13306,
1,
796,
705,
27455,
918,
479,
11870,
1049,
275,
799,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1785,
618,
3869,
318,
288,
283,
918,
479,
11870,
1049,
275,
799,
391,
357,
70,
1671,
19427,
46506,
366,
9237,
1,
16034,
3084,
62,
3720,
42947,
33411,
366,
13306,
1,
796,
705,
27455,
918,
479,
11870,
1049,
275,
799,
... |
what is the result for 1970 at yankee stadium? | SELECT result FROM table_name_7 WHERE year = 1970 AND location = "yankee stadium" | [
10919,
318,
262,
1255,
329,
8069,
379,
331,
272,
11035,
10308,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
22,
33411,
614,
796,
8069,
5357,
4067,
796,
366,
4121,
11035,
10308,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
1255,
329,
8069,
379,
331,
272,
11035,
10308,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
22,
33411,
614,
796,
8069,
5357,
4067,
796,
366,
4121,
11035,
10308,
1
] |
For all employees who have the letters D or S in their first name, a bar chart shows the distribution of hire_date and the sum of manager_id bin hire_date by time, and I want to sort by the Y-axis from high to low. | SELECT HIRE_DATE, SUM(MANAGER_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY SUM(MANAGER_ID) DESC | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
4706,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
290,
314,
765,
284,
329... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
4706,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
290,
314,
765,
284,
329... |
Which Title was awarded the gold RIAA Sales Certification? | SELECT "Title" FROM table_43341 WHERE "RIAA Sales Certification" = 'gold' | [
13828,
11851,
373,
11343,
262,
3869,
371,
3539,
32,
17329,
40609,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
42117,
3901,
33411,
366,
49,
3539,
32,
17329,
40609,
1,
796,
705,
24267,
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
] | [
13828,
11851,
373,
11343,
262,
3869,
371,
3539,
32,
17329,
40609,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
42117,
3901,
33411,
366,
49,
3539,
32,
17329,
40609,
1,
796,
705,
24267,
6
] |
is there a THURSDAY night flight from PITTSBURGH to SAN FRANCISCO on US | 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, days, flight WHERE (((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND days.day_name = 'THURSDAY' AND flight.flight_days = days.days_... | [
271,
612,
257,
2320,
4261,
10305,
4792,
1755,
5474,
422,
49040,
4694,
38926,
17511,
284,
37376,
8782,
20940,
1797,
8220,
319,
1294,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
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... | [
271,
612,
257,
2320,
4261,
10305,
4792,
1755,
5474,
422,
49040,
4694,
38926,
17511,
284,
37376,
8782,
20940,
1797,
8220,
319,
1294,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
... |
what was patient 11362's last time of taking tpn on last month/24? | SELECT inputevents_cv.charttime FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 11362)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label... | [
10919,
373,
5827,
1367,
35667,
338,
938,
640,
286,
2263,
256,
21999,
319,
938,
1227,
14,
1731,
30,
46506,
287,
79,
1133,
85,
658,
62,
33967,
13,
40926,
2435,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
79,
1133,
85,
658,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5827,
1367,
35667,
338,
938,
640,
286,
2263,
256,
21999,
319,
938,
1227,
14,
1731,
30,
46506,
287,
79,
1133,
85,
658,
62,
33967,
13,
40926,
2435,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
79,
1133,
85,
658,
... |
Who directed k0122? | SELECT directed_by FROM table_2618113_1 WHERE production_code = "K0122" | [
8241,
7924,
479,
486,
1828,
30,
46506,
7924,
62,
1525,
16034,
3084,
62,
2075,
1507,
16616,
62,
16,
33411,
3227,
62,
8189,
796,
366,
42,
486,
1828,
1
] | [
1,
1,
1,
1,
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,
479,
486,
1828,
30,
46506,
7924,
62,
1525,
16034,
3084,
62,
2075,
1507,
16616,
62,
16,
33411,
3227,
62,
8189,
796,
366,
42,
486,
1828,
1
] |
6.5 % < hba1c < 11 % | SELECT * FROM table_train_171 WHERE hemoglobin_a1c_hba1c > 6.5 AND hemoglobin_a1c_hba1c < 11 | [
21,
13,
20,
4064,
1279,
289,
7012,
16,
66,
1279,
1367,
4064,
46506,
1635,
16034,
3084,
62,
27432,
62,
27192,
33411,
16869,
49835,
62,
64,
16,
66,
62,
71,
7012,
16,
66,
1875,
718,
13,
20,
5357,
16869,
49835,
62,
64,
16,
66,
62,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
21,
13,
20,
4064,
1279,
289,
7012,
16,
66,
1279,
1367,
4064,
46506,
1635,
16034,
3084,
62,
27432,
62,
27192,
33411,
16869,
49835,
62,
64,
16,
66,
62,
71,
7012,
16,
66,
1875,
718,
13,
20,
5357,
16869,
49835,
62,
64,
16,
66,
62,
7... |
which plant was the first to open ? | SELECT "plant name" FROM table_204_789 ORDER BY "startup date" LIMIT 1 | [
4758,
4618,
373,
262,
717,
284,
1280,
5633,
46506,
366,
15060,
1438,
1,
16034,
3084,
62,
18638,
62,
40401,
38678,
11050,
366,
9688,
929,
3128,
1,
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
] | [
4758,
4618,
373,
262,
717,
284,
1280,
5633,
46506,
366,
15060,
1438,
1,
16034,
3084,
62,
18638,
62,
40401,
38678,
11050,
366,
9688,
929,
3128,
1,
27564,
2043,
352
] |
For those records from the products and each product's manufacturer, a bar chart shows the distribution of founder and the sum of price , and group by attribute founder, sort in desc by the Y-axis. | SELECT Founder, SUM(Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder ORDER BY SUM(Price) DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
9119,
290,
262,
2160,
286,
2756,
837,
290,
1448,
416,
11688,
9119,
11,
3297,
287,
1715,
416,
262,
575,
12,
22704,
13,
46506,
30... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
9119,
290,
262,
2160,
286,
2756,
837,
290,
1448,
416,
11688,
9119,
11,
3297,
287,
1715,
416,
262,
575,
12,
22704,
13,
46506,
30... |
how many party with candidates being john m. vorys (r) 61.5% jacob f. myers (d) 38.5% | SELECT COUNT(party) FROM table_1342013_34 WHERE candidates = "John M. Vorys (R) 61.5% Jacob F. Myers (D) 38.5%" | [
4919,
867,
2151,
351,
5871,
852,
45610,
285,
13,
410,
652,
82,
357,
81,
8,
8454,
13,
20,
4,
474,
330,
672,
277,
13,
616,
364,
357,
67,
8,
4353,
13,
20,
4,
46506,
327,
28270,
7,
10608,
8,
16034,
3084,
62,
19880,
6390,
62,
2682,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2151,
351,
5871,
852,
45610,
285,
13,
410,
652,
82,
357,
81,
8,
8454,
13,
20,
4,
474,
330,
672,
277,
13,
616,
364,
357,
67,
8,
4353,
13,
20,
4,
46506,
327,
28270,
7,
10608,
8,
16034,
3084,
62,
19880,
6390,
62,
2682,... |
what was jimmie johnson 's winnings ? | SELECT "winnings" FROM table_203_529 WHERE "driver" = 'jimmie johnson' | [
10919,
373,
474,
8608,
494,
45610,
1559,
705,
82,
1592,
23400,
5633,
46506,
366,
86,
3732,
654,
1,
16034,
3084,
62,
22416,
62,
49721,
33411,
366,
26230,
1,
796,
705,
73,
8608,
494,
45610,
1559,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
373,
474,
8608,
494,
45610,
1559,
705,
82,
1592,
23400,
5633,
46506,
366,
86,
3732,
654,
1,
16034,
3084,
62,
22416,
62,
49721,
33411,
366,
26230,
1,
796,
705,
73,
8608,
494,
45610,
1559,
6
] |
how long or what minute in the game was the first goal scored ? | SELECT "min" FROM table_204_920 WHERE "goal" = 1 | [
4919,
890,
393,
644,
5664,
287,
262,
983,
373,
262,
717,
3061,
7781,
5633,
46506,
366,
1084,
1,
16034,
3084,
62,
18638,
62,
37128,
33411,
366,
35231,
1,
796,
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
] | [
4919,
890,
393,
644,
5664,
287,
262,
983,
373,
262,
717,
3061,
7781,
5633,
46506,
366,
1084,
1,
16034,
3084,
62,
18638,
62,
37128,
33411,
366,
35231,
1,
796,
352
] |
in 2105 what was the first care unit of patient 4900? | SELECT transfers.careunit FROM transfers WHERE transfers.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 4900) AND NOT transfers.careunit IS NULL AND STRFTIME('%y', transfers.intime) = '2105' ORDER BY transfers.intime LIMIT 1 | [
259,
362,
13348,
644,
373,
262,
717,
1337,
4326,
286,
5827,
5125,
405,
30,
46506,
16395,
13,
6651,
20850,
16034,
16395,
33411,
16395,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
362,
13348,
644,
373,
262,
717,
1337,
4326,
286,
5827,
5125,
405,
30,
46506,
16395,
13,
6651,
20850,
16034,
16395,
33411,
16395,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
... |
What opponent did the Broncos play on November 16? | SELECT "Opponent" FROM table_49067 WHERE "Date" = 'november 16' | [
2061,
6125,
750,
262,
16582,
711,
319,
3389,
1467,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
31503,
3134,
33411,
366,
10430,
1,
796,
705,
77,
3239,
1467,
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
] | [
2061,
6125,
750,
262,
16582,
711,
319,
3389,
1467,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
31503,
3134,
33411,
366,
10430,
1,
796,
705,
77,
3239,
1467,
6
] |
What's the network that has a callsign of XHTM and a D ERP of ? | SELECT "Network" FROM table_63404 WHERE "D ERP" = '•' AND "Callsign" = 'xhtm' | [
2061,
338,
262,
3127,
326,
468,
257,
3848,
570,
286,
1395,
6535,
44,
290,
257,
360,
13793,
47,
286,
5633,
46506,
366,
26245,
1,
16034,
3084,
62,
5066,
26429,
33411,
366,
35,
13793,
47,
1,
796,
705,
3581,
6,
5357,
366,
34,
5691,
57... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3127,
326,
468,
257,
3848,
570,
286,
1395,
6535,
44,
290,
257,
360,
13793,
47,
286,
5633,
46506,
366,
26245,
1,
16034,
3084,
62,
5066,
26429,
33411,
366,
35,
13793,
47,
1,
796,
705,
3581,
6,
5357,
366,
34,
5691,
57... |
What is the score of the game that has a record of 1-2-1? | SELECT score FROM table_name_29 WHERE record = "1-2-1" | [
2061,
318,
262,
4776,
286,
262,
983,
326,
468,
257,
1700,
286,
352,
12,
17,
12,
16,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1959,
33411,
1700,
796,
366,
16,
12,
17,
12,
16,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4776,
286,
262,
983,
326,
468,
257,
1700,
286,
352,
12,
17,
12,
16,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1959,
33411,
1700,
796,
366,
16,
12,
17,
12,
16,
1
] |
you count the number of times patient 030-40287 has taken a total on the last intensive care unit visit. | SELECT COUNT(*) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-40287') AND NOT patient.unitdischargetime IS NULL ORDER BY patient.uni... | [
5832,
954,
262,
1271,
286,
1661,
5827,
657,
1270,
12,
1821,
27800,
468,
2077,
257,
2472,
319,
262,
938,
18590,
1337,
4326,
3187,
13,
46506,
327,
28270,
7,
28104,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5832,
954,
262,
1271,
286,
1661,
5827,
657,
1270,
12,
1821,
27800,
468,
2077,
257,
2472,
319,
262,
938,
18590,
1337,
4326,
3187,
13,
46506,
327,
28270,
7,
28104,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
32... |
How many Gold medals did Great Britain with a Total of more than 2 medals receive? | SELECT MIN("Gold") FROM table_43387 WHERE "Nation" = 'great britain' AND "Total" > '2' | [
2437,
867,
3561,
28057,
750,
3878,
5491,
351,
257,
7472,
286,
517,
621,
362,
28057,
3328,
30,
46506,
20625,
7203,
13306,
4943,
16034,
3084,
62,
42117,
5774,
33411,
366,
46108,
1,
796,
705,
18223,
275,
799,
391,
6,
5357,
366,
14957,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3561,
28057,
750,
3878,
5491,
351,
257,
7472,
286,
517,
621,
362,
28057,
3328,
30,
46506,
20625,
7203,
13306,
4943,
16034,
3084,
62,
42117,
5774,
33411,
366,
46108,
1,
796,
705,
18223,
275,
799,
391,
6,
5357,
366,
14957,
1,... |
Which player has the score 72-67-69=208? | SELECT player FROM table_name_95 WHERE score = 72 - 67 - 69 = 208 | [
13828,
2137,
468,
262,
4776,
7724,
12,
3134,
12,
3388,
28,
21315,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
3865,
33411,
4776,
796,
7724,
532,
8275,
532,
8644,
796,
27121
] | [
1,
1,
1,
1,
1,
1,
1,
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,
468,
262,
4776,
7724,
12,
3134,
12,
3388,
28,
21315,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
3865,
33411,
4776,
796,
7724,
532,
8275,
532,
8644,
796,
27121
] |
list the first and last names, and the addresses of all employees in the ascending order of their birth date. | SELECT fname, lname, address FROM employee ORDER BY Bdate | [
4868,
262,
717,
290,
938,
3891,
11,
290,
262,
9405,
286,
477,
4409,
287,
262,
41988,
1502,
286,
511,
4082,
3128,
13,
46506,
277,
3672,
11,
300,
3672,
11,
2209,
16034,
6538,
38678,
11050,
347,
4475
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4868,
262,
717,
290,
938,
3891,
11,
290,
262,
9405,
286,
477,
4409,
287,
262,
41988,
1502,
286,
511,
4082,
3128,
13,
46506,
277,
3672,
11,
300,
3672,
11,
2209,
16034,
6538,
38678,
11050,
347,
4475
] |
Who was the Home Captain at Sabina Park? | SELECT "Home captain" FROM table_15479 WHERE "Venue" = 'sabina park' | [
8241,
373,
262,
5995,
8599,
379,
9910,
1437,
3250,
30,
46506,
366,
16060,
10654,
1,
16034,
3084,
62,
1314,
31714,
33411,
366,
37522,
518,
1,
796,
705,
82,
397,
1437,
3952,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
5995,
8599,
379,
9910,
1437,
3250,
30,
46506,
366,
16060,
10654,
1,
16034,
3084,
62,
1314,
31714,
33411,
366,
37522,
518,
1,
796,
705,
82,
397,
1437,
3952,
6
] |
Which 1997's 1992 was 1r when 1994 was a? | SELECT 1997 FROM table_name_77 WHERE 1992 = "1r" AND 1994 = "a" | [
13828,
8309,
338,
9768,
373,
352,
81,
618,
9162,
373,
257,
30,
46506,
8309,
16034,
3084,
62,
3672,
62,
3324,
33411,
9768,
796,
366,
16,
81,
1,
5357,
9162,
796,
366,
64,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
8309,
338,
9768,
373,
352,
81,
618,
9162,
373,
257,
30,
46506,
8309,
16034,
3084,
62,
3672,
62,
3324,
33411,
9768,
796,
366,
16,
81,
1,
5357,
9162,
796,
366,
64,
1
] |
What's the total number of episodes with the production code 2395113A? | SELECT COUNT(title) FROM table_10953197_4 WHERE production_code = "2395113A" | [
2061,
338,
262,
2472,
1271,
286,
8640,
351,
262,
3227,
2438,
2242,
3865,
16616,
32,
30,
46506,
327,
28270,
7,
7839,
8,
16034,
3084,
62,
940,
49649,
24991,
62,
19,
33411,
3227,
62,
8189,
796,
366,
1954,
3865,
16616,
32,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
2472,
1271,
286,
8640,
351,
262,
3227,
2438,
2242,
3865,
16616,
32,
30,
46506,
327,
28270,
7,
7839,
8,
16034,
3084,
62,
940,
49649,
24991,
62,
19,
33411,
3227,
62,
8189,
796,
366,
1954,
3865,
16616,
32,
1
] |
provide the number of patients whose primary disease is congestive heart failure and drug route is pb? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.diagnosis = "CONGESTIVE HEART FAILURE" AND prescriptions.route = "PB" | [
15234,
485,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
22791,
425,
2612,
5287,
290,
2563,
6339,
318,
279,
65,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
3409... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22791,
425,
2612,
5287,
290,
2563,
6339,
318,
279,
65,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
3409... |
Who were the directors of the film with the original title o.k.? | SELECT director FROM table_10874596_1 WHERE original_title = "o.k." | [
8241,
547,
262,
13445,
286,
262,
2646,
351,
262,
2656,
3670,
267,
13,
74,
40791,
46506,
3437,
16034,
3084,
62,
940,
5774,
2231,
4846,
62,
16,
33411,
2656,
62,
7839,
796,
366,
78,
13,
74,
526
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13445,
286,
262,
2646,
351,
262,
2656,
3670,
267,
13,
74,
40791,
46506,
3437,
16034,
3084,
62,
940,
5774,
2231,
4846,
62,
16,
33411,
2656,
62,
7839,
796,
366,
78,
13,
74,
526
] |
What is the name of the stadium which held the most events? | SELECT t1.name FROM stadium AS t1 JOIN event AS t2 ON t1.id = t2.stadium_id GROUP BY t2.stadium_id ORDER BY COUNT(*) DESC LIMIT 1 | [
2061,
318,
262,
1438,
286,
262,
10308,
543,
2714,
262,
749,
2995,
30,
46506,
256,
16,
13,
3672,
16034,
10308,
7054,
256,
16,
32357,
1268,
1785,
7054,
256,
17,
6177,
256,
16,
13,
312,
796,
256,
17,
13,
301,
6271,
62,
312,
44441,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
10308,
543,
2714,
262,
749,
2995,
30,
46506,
256,
16,
13,
3672,
16034,
10308,
7054,
256,
16,
32357,
1268,
1785,
7054,
256,
17,
6177,
256,
16,
13,
312,
796,
256,
17,
13,
301,
6271,
62,
312,
44441,
11... |
What district was incumbent Jerry Kleczka in? | SELECT "District" FROM table_695 WHERE "Incumbent" = 'Jerry Kleczka' | [
2061,
4783,
373,
23526,
13075,
15983,
26691,
4914,
287,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
37381,
33411,
366,
25517,
2178,
298,
1,
796,
705,
43462,
15983,
26691,
4914,
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,
4783,
373,
23526,
13075,
15983,
26691,
4914,
287,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
37381,
33411,
366,
25517,
2178,
298,
1,
796,
705,
43462,
15983,
26691,
4914,
6
] |
What are the results of the incumbent who was first elected in 1996? | SELECT "Results" FROM table_79086 WHERE "First elected" = '1996' | [
2061,
389,
262,
2482,
286,
262,
23526,
508,
373,
717,
7018,
287,
8235,
30,
46506,
366,
25468,
1,
16034,
3084,
62,
3720,
2919,
21,
33411,
366,
5962,
7018,
1,
796,
705,
22288,
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
] | [
2061,
389,
262,
2482,
286,
262,
23526,
508,
373,
717,
7018,
287,
8235,
30,
46506,
366,
25468,
1,
16034,
3084,
62,
3720,
2919,
21,
33411,
366,
5962,
7018,
1,
796,
705,
22288,
6
] |
Which grid has a Time/Retired of +5.004? | SELECT MIN("Grid") FROM table_54617 WHERE "Time/Retired" = '+5.004' | [
13828,
10706,
468,
257,
3862,
14,
9781,
1202,
286,
1343,
20,
13,
22914,
30,
46506,
20625,
7203,
41339,
4943,
16034,
3084,
62,
49489,
1558,
33411,
366,
7575,
14,
9781,
1202,
1,
796,
705,
10,
20,
13,
22914,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
10706,
468,
257,
3862,
14,
9781,
1202,
286,
1343,
20,
13,
22914,
30,
46506,
20625,
7203,
41339,
4943,
16034,
3084,
62,
49489,
1558,
33411,
366,
7575,
14,
9781,
1202,
1,
796,
705,
10,
20,
13,
22914,
6
] |
Accepted Answers by Group Members based on specified dates. | SELECT Users.DisplayName, answers.Id AS "a.answerid", answers.ParentId AS "a.questionid", answers.CreationDate AS "a.cdate" FROM Posts AS questions LEFT JOIN Posts AS answers ON questions.AcceptedAnswerId = answers.Id LEFT JOIN Users AS users ON answers.OwnerUserId = Users.Id WHERE (answers.OwnerUserId = 5637321 OR ans... | [
38855,
276,
42612,
416,
4912,
12688,
1912,
319,
7368,
9667,
13,
46506,
18987,
13,
23114,
5376,
11,
7429,
13,
7390,
7054,
366,
64,
13,
41484,
312,
1600,
7429,
13,
24546,
7390,
7054,
366,
64,
13,
25652,
312,
1600,
7429,
13,
12443,
341,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
38855,
276,
42612,
416,
4912,
12688,
1912,
319,
7368,
9667,
13,
46506,
18987,
13,
23114,
5376,
11,
7429,
13,
7390,
7054,
366,
64,
13,
41484,
312,
1600,
7429,
13,
24546,
7390,
7054,
366,
64,
13,
25652,
312,
1600,
7429,
13,
12443,
341,
... |
Which transportation method is used the most often to get to tourist attractions? | SELECT how_to_get_there FROM tourist_attractions GROUP BY how_to_get_there ORDER BY COUNT(*) DESC LIMIT 1 | [
13828,
9358,
2446,
318,
973,
262,
749,
1690,
284,
651,
284,
18473,
29156,
30,
46506,
703,
62,
1462,
62,
1136,
62,
8117,
16034,
18473,
62,
1078,
37810,
44441,
11050,
703,
62,
1462,
62,
1136,
62,
8117,
38678,
11050,
327,
28270,
7,
28104... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9358,
2446,
318,
973,
262,
749,
1690,
284,
651,
284,
18473,
29156,
30,
46506,
703,
62,
1462,
62,
1136,
62,
8117,
16034,
18473,
62,
1078,
37810,
44441,
11050,
703,
62,
1462,
62,
1136,
62,
8117,
38678,
11050,
327,
28270,
7,
28104... |
Show all dates of transactions whose type code is 'SALE', and count them by a bar chart | SELECT date_of_transaction, COUNT(date_of_transaction) FROM Transactions WHERE transaction_type_code = "SALE" | [
15307,
477,
9667,
286,
8945,
3025,
2099,
2438,
318,
705,
50,
21358,
3256,
290,
954,
606,
416,
257,
2318,
8262,
46506,
3128,
62,
1659,
62,
7645,
2673,
11,
327,
28270,
7,
4475,
62,
1659,
62,
7645,
2673,
8,
16034,
46192,
33411,
8611,
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
] | [
15307,
477,
9667,
286,
8945,
3025,
2099,
2438,
318,
705,
50,
21358,
3256,
290,
954,
606,
416,
257,
2318,
8262,
46506,
3128,
62,
1659,
62,
7645,
2673,
11,
327,
28270,
7,
4475,
62,
1659,
62,
7645,
2673,
8,
16034,
46192,
33411,
8611,
6... |
What construction completed on 08/10/2007? | SELECT "Listed" FROM table_77951 WHERE "Construction completed" = '08/10/2007' | [
2061,
5103,
5668,
319,
8487,
14,
940,
14,
12726,
30,
46506,
366,
43,
6347,
1,
16034,
3084,
62,
3324,
50119,
33411,
366,
36687,
5668,
1,
796,
705,
2919,
14,
940,
14,
12726,
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
] | [
2061,
5103,
5668,
319,
8487,
14,
940,
14,
12726,
30,
46506,
366,
43,
6347,
1,
16034,
3084,
62,
3324,
50119,
33411,
366,
36687,
5668,
1,
796,
705,
2919,
14,
940,
14,
12726,
6
] |
What is the Score of ? | SELECT "Score" FROM table_43469 WHERE "Song" = '我等的人会是谁' | [
2061,
318,
262,
15178,
286,
5633,
46506,
366,
26595,
1,
16034,
3084,
62,
47101,
3388,
33411,
366,
44241,
1,
796,
705,
22755,
239,
163,
255,
231,
21410,
21689,
27670,
248,
42468,
164,
108,
223,
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
] | [
2061,
318,
262,
15178,
286,
5633,
46506,
366,
26595,
1,
16034,
3084,
62,
47101,
3388,
33411,
366,
44241,
1,
796,
705,
22755,
239,
163,
255,
231,
21410,
21689,
27670,
248,
42468,
164,
108,
223,
6
] |
provide the number of patients whose year of birth is less than 2087 and lab test fluid is other body fluid? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2087" AND lab.fluid = "Other Body Fluid" | [
15234,
485,
262,
1271,
286,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
1160,
5774,
290,
2248,
1332,
11711,
318,
584,
1767,
11711,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
614,
286,
4082,
318,
1342,
621,
1160,
5774,
290,
2248,
1332,
11711,
318,
584,
1767,
11711,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479... |
What person is in the third place when Thomas Enqvist won and a Runner-up was guy forget? | SELECT third_place FROM table_name_94 WHERE winner = "thomas enqvist" AND runner_up = "guy forget" | [
2061,
1048,
318,
287,
262,
2368,
1295,
618,
5658,
2039,
44179,
396,
1839,
290,
257,
21529,
12,
929,
373,
3516,
6044,
30,
46506,
2368,
62,
5372,
16034,
3084,
62,
3672,
62,
5824,
33411,
8464,
796,
366,
400,
16911,
551,
44179,
396,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1048,
318,
287,
262,
2368,
1295,
618,
5658,
2039,
44179,
396,
1839,
290,
257,
21529,
12,
929,
373,
3516,
6044,
30,
46506,
2368,
62,
5372,
16034,
3084,
62,
3672,
62,
5824,
33411,
8464,
796,
366,
400,
16911,
551,
44179,
396,
1,
... |
what is drug code and drug route of drug name neutra-phos? | SELECT prescriptions.formulary_drug_cd, prescriptions.route FROM prescriptions WHERE prescriptions.drug = "Neutra-Phos" | [
10919,
318,
2563,
2438,
290,
2563,
6339,
286,
2563,
1438,
22190,
430,
12,
746,
418,
30,
46506,
34092,
13,
687,
377,
560,
62,
30349,
62,
10210,
11,
34092,
13,
38629,
16034,
34092,
33411,
34092,
13,
30349,
796,
366,
8199,
35076,
12,
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
] | [
10919,
318,
2563,
2438,
290,
2563,
6339,
286,
2563,
1438,
22190,
430,
12,
746,
418,
30,
46506,
34092,
13,
687,
377,
560,
62,
30349,
62,
10210,
11,
34092,
13,
38629,
16034,
34092,
33411,
34092,
13,
30349,
796,
366,
8199,
35076,
12,
272... |
Term Ending smaller than 2018, and a Nationality of new zealand what is the name? | SELECT "Name" FROM table_5255 WHERE "Term Ending" < '2018' AND "Nationality" = 'new zealand' | [
40596,
43626,
4833,
621,
2864,
11,
290,
257,
2351,
414,
286,
649,
27689,
392,
644,
318,
262,
1438,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
20,
13381,
33411,
366,
40596,
43626,
1,
1279,
705,
7908,
6,
5357,
366,
16186,
414,
1,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
40596,
43626,
4833,
621,
2864,
11,
290,
257,
2351,
414,
286,
649,
27689,
392,
644,
318,
262,
1438,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
20,
13381,
33411,
366,
40596,
43626,
1,
1279,
705,
7908,
6,
5357,
366,
16186,
414,
1,
796,
... |
i'd like to book the cheapest one way flight from PITTSBURGH to ATLANTA on 7 20 | 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, date_day, days, fare, flight, flight_fare WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND date_day.day_number = 20 AND date_day.mo... | [
72,
1549,
588,
284,
1492,
262,
28918,
530,
835,
5474,
422,
49040,
4694,
38926,
17511,
284,
5161,
25697,
5603,
319,
767,
1160,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
72,
1549,
588,
284,
1492,
262,
28918,
530,
835,
5474,
422,
49040,
4694,
38926,
17511,
284,
5161,
25697,
5603,
319,
767,
1160,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,... |
what is the last title when the titles is more than 12 and the position in 2012 is 7th | SELECT "Last title" FROM table_55933 WHERE "Titles" > '12' AND "Position in 2012" = '7th' | [
10919,
318,
262,
938,
3670,
618,
262,
8714,
318,
517,
621,
1105,
290,
262,
2292,
287,
2321,
318,
767,
400,
46506,
366,
5956,
3670,
1,
16034,
3084,
62,
38605,
2091,
33411,
366,
51,
30540,
1,
1875,
705,
1065,
6,
5357,
366,
26545,
287,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
938,
3670,
618,
262,
8714,
318,
517,
621,
1105,
290,
262,
2292,
287,
2321,
318,
767,
400,
46506,
366,
5956,
3670,
1,
16034,
3084,
62,
38605,
2091,
33411,
366,
51,
30540,
1,
1875,
705,
1065,
6,
5357,
366,
26545,
287,... |
What day was the score 1-0? | SELECT "Date" FROM table_61621 WHERE "Score" = '1-0' | [
2061,
1110,
373,
262,
4776,
352,
12,
15,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
44214,
2481,
33411,
366,
26595,
1,
796,
705,
16,
12,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1110,
373,
262,
4776,
352,
12,
15,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
44214,
2481,
33411,
366,
26595,
1,
796,
705,
16,
12,
15,
6
] |
Whare the friends, and ages of all people who are older than the average age of a person? Plot the result by a pie chart. | SELECT T1.name, T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend WHERE T1.age > (SELECT AVG(age) FROM Person) | [
1199,
533,
262,
2460,
11,
290,
9337,
286,
477,
661,
508,
389,
4697,
621,
262,
2811,
2479,
286,
257,
1048,
30,
28114,
262,
1255,
416,
257,
2508,
8262,
13,
46506,
309,
16,
13,
3672,
11,
309,
16,
13,
496,
16034,
7755,
7054,
309,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1199,
533,
262,
2460,
11,
290,
9337,
286,
477,
661,
508,
389,
4697,
621,
262,
2811,
2479,
286,
257,
1048,
30,
28114,
262,
1255,
416,
257,
2508,
8262,
13,
46506,
309,
16,
13,
3672,
11,
309,
16,
13,
496,
16034,
7755,
7054,
309,
16,
... |
What was the smallest crowd for a Carlton away game? | SELECT MIN(crowd) FROM table_name_14 WHERE away_team = "carlton" | [
2061,
373,
262,
18197,
4315,
329,
257,
44348,
1497,
983,
30,
46506,
20625,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
1415,
33411,
1497,
62,
15097,
796,
366,
66,
7063,
1122,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18197,
4315,
329,
257,
44348,
1497,
983,
30,
46506,
20625,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
1415,
33411,
1497,
62,
15097,
796,
366,
66,
7063,
1122,
1
] |
Name the title that got 1.54 viewers | SELECT "Title" FROM table_24934 WHERE "U.S. viewers (million)" = '1.54' | [
5376,
262,
3670,
326,
1392,
352,
13,
4051,
10209,
46506,
366,
19160,
1,
16034,
3084,
62,
21626,
2682,
33411,
366,
52,
13,
50,
13,
10209,
357,
14100,
16725,
796,
705,
16,
13,
4051,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
3670,
326,
1392,
352,
13,
4051,
10209,
46506,
366,
19160,
1,
16034,
3084,
62,
21626,
2682,
33411,
366,
52,
13,
50,
13,
10209,
357,
14100,
16725,
796,
705,
16,
13,
4051,
6
] |
How many locations did the game that was on April 8 take place at? | SELECT COUNT("Location Attendance") FROM table_29865 WHERE "Date" = 'April 8' | [
2437,
867,
7064,
750,
262,
983,
326,
373,
319,
3035,
807,
1011,
1295,
379,
30,
46506,
327,
28270,
7203,
14749,
46502,
590,
4943,
16034,
3084,
62,
27728,
2996,
33411,
366,
10430,
1,
796,
705,
16784,
807,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
7064,
750,
262,
983,
326,
373,
319,
3035,
807,
1011,
1295,
379,
30,
46506,
327,
28270,
7203,
14749,
46502,
590,
4943,
16034,
3084,
62,
27728,
2996,
33411,
366,
10430,
1,
796,
705,
16784,
807,
6
] |
What is the sum of Game(s), when High Rebounds is 'Pierson (6)'? | SELECT SUM(game) FROM table_name_6 WHERE high_rebounds = "pierson (6)" | [
2061,
318,
262,
2160,
286,
3776,
7,
82,
828,
618,
3334,
15652,
3733,
318,
705,
38729,
882,
357,
21,
8,
30960,
46506,
35683,
7,
6057,
8,
16034,
3084,
62,
3672,
62,
21,
33411,
1029,
62,
34806,
3733,
796,
366,
14415,
882,
357,
21,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2160,
286,
3776,
7,
82,
828,
618,
3334,
15652,
3733,
318,
705,
38729,
882,
357,
21,
8,
30960,
46506,
35683,
7,
6057,
8,
16034,
3084,
62,
3672,
62,
21,
33411,
1029,
62,
34806,
3733,
796,
366,
14415,
882,
357,
21,
16... |
What was the game date when the opponent was Houston? | SELECT "Date" FROM table_44054 WHERE "Opponent" = 'houston' | [
2061,
373,
262,
983,
3128,
618,
262,
6125,
373,
6995,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
25644,
4051,
33411,
366,
27524,
3471,
1,
796,
705,
71,
6526,
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
] | [
2061,
373,
262,
983,
3128,
618,
262,
6125,
373,
6995,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
25644,
4051,
33411,
366,
27524,
3471,
1,
796,
705,
71,
6526,
6
] |
Which upper level elective classes next semester do not meet on Fridays ? | SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, program_course, semester WHERE course_offering.friday = 'N' AND course.course_id = course_offering.course_id AND program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND semester.semester = 'FA' ... | [
13828,
6727,
1241,
1742,
425,
6097,
1306,
24878,
466,
407,
1826,
319,
45011,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
1430,
62,
1731... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6727,
1241,
1742,
425,
6097,
1306,
24878,
466,
407,
1826,
319,
45011,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
1430,
62,
1731... |
What is the venue of the match with cronulla sharks as the opponent? | SELECT "Venue" FROM table_60154 WHERE "Opponent" = 'cronulla sharks' | [
2061,
318,
262,
14359,
286,
262,
2872,
351,
1067,
261,
47972,
27476,
355,
262,
6125,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
41706,
4051,
33411,
366,
27524,
3471,
1,
796,
705,
66,
1313,
47972,
27476,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
14359,
286,
262,
2872,
351,
1067,
261,
47972,
27476,
355,
262,
6125,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
41706,
4051,
33411,
366,
27524,
3471,
1,
796,
705,
66,
1313,
47972,
27476,
6
] |
For what current streak is KU, 8-2 under last 10 meetings? | SELECT current_streak FROM table_name_28 WHERE last_10_meetings = "ku, 8-2" | [
1890,
644,
1459,
15113,
318,
509,
52,
11,
807,
12,
17,
739,
938,
838,
8292,
30,
46506,
1459,
62,
22853,
461,
16034,
3084,
62,
3672,
62,
2078,
33411,
938,
62,
940,
62,
47745,
654,
796,
366,
23063,
11,
807,
12,
17,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
644,
1459,
15113,
318,
509,
52,
11,
807,
12,
17,
739,
938,
838,
8292,
30,
46506,
1459,
62,
22853,
461,
16034,
3084,
62,
3672,
62,
2078,
33411,
938,
62,
940,
62,
47745,
654,
796,
366,
23063,
11,
807,
12,
17,
1
] |
Name the least births for conversion being 26,333 | SELECT MIN("Births") FROM table_30289 WHERE "Conversions" = '26,333' | [
5376,
262,
1551,
27244,
329,
11315,
852,
2608,
11,
20370,
46506,
20625,
7203,
38480,
82,
4943,
16034,
3084,
62,
1270,
27693,
33411,
366,
3103,
47178,
1,
796,
705,
2075,
11,
20370,
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
] | [
5376,
262,
1551,
27244,
329,
11315,
852,
2608,
11,
20370,
46506,
20625,
7203,
38480,
82,
4943,
16034,
3084,
62,
1270,
27693,
33411,
366,
3103,
47178,
1,
796,
705,
2075,
11,
20370,
6
] |
What is the Team with a venue of Anyang Stadium? | SELECT "Team" FROM table_41291 WHERE "Home venue" = 'anyang stadium' | [
2061,
318,
262,
4816,
351,
257,
14359,
286,
4377,
648,
10499,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
39226,
6420,
33411,
366,
16060,
14359,
1,
796,
705,
1092,
648,
10308,
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,
4816,
351,
257,
14359,
286,
4377,
648,
10499,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
39226,
6420,
33411,
366,
16060,
14359,
1,
796,
705,
1092,
648,
10308,
6
] |
How many golds had a silver of more than 1, rank more than 1, total of more than 4 when the bronze was also more than 4? | SELECT SUM(gold) FROM table_name_12 WHERE silver > 1 AND rank > 1 AND total > 4 AND bronze > 4 | [
2437,
867,
3869,
82,
550,
257,
8465,
286,
517,
621,
352,
11,
4279,
517,
621,
352,
11,
2472,
286,
517,
621,
604,
618,
262,
22101,
373,
635,
517,
621,
604,
30,
46506,
35683,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
1065,
33411,
8465,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3869,
82,
550,
257,
8465,
286,
517,
621,
352,
11,
4279,
517,
621,
352,
11,
2472,
286,
517,
621,
604,
618,
262,
22101,
373,
635,
517,
621,
604,
30,
46506,
35683,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
1065,
33411,
8465,... |
How many times has the 100s record been 1? | SELECT COUNT("Highest Score") FROM table_30604 WHERE "100s" = '1' | [
2437,
867,
1661,
468,
262,
1802,
82,
1700,
587,
352,
30,
46506,
327,
28270,
7203,
36124,
3634,
15178,
4943,
16034,
3084,
62,
1270,
31916,
33411,
366,
3064,
82,
1,
796,
705,
16,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1661,
468,
262,
1802,
82,
1700,
587,
352,
30,
46506,
327,
28270,
7203,
36124,
3634,
15178,
4943,
16034,
3084,
62,
1270,
31916,
33411,
366,
3064,
82,
1,
796,
705,
16,
6
] |
what amount of emesis did patient 006-195541 have on the last intensive care unit visit? | 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 = '006-195541') AND NOT patient.unitdischargetime I... | [
10919,
2033,
286,
795,
9339,
750,
5827,
3571,
21,
12,
1129,
2816,
3901,
423,
319,
262,
938,
18590,
1337,
4326,
3187,
30,
46506,
35683,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411,
10337,
22915,
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,
2033,
286,
795,
9339,
750,
5827,
3571,
21,
12,
1129,
2816,
3901,
423,
319,
262,
938,
18590,
1337,
4326,
3187,
30,
46506,
35683,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411,
10337,
22915,
13... |
what does US mean | SELECT DISTINCT airline_code FROM airline WHERE airline_code = 'US' | [
10919,
857,
1294,
1612,
46506,
360,
8808,
1268,
4177,
18091,
62,
8189,
16034,
18091,
33411,
18091,
62,
8189,
796,
705,
2937,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
857,
1294,
1612,
46506,
360,
8808,
1268,
4177,
18091,
62,
8189,
16034,
18091,
33411,
18091,
62,
8189,
796,
705,
2937,
6
] |
Who was the away team at the game at Lake Oval? | SELECT away_team AS score FROM table_name_57 WHERE venue = "lake oval" | [
8241,
373,
262,
1497,
1074,
379,
262,
983,
379,
6233,
25165,
30,
46506,
1497,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
3553,
33411,
14359,
796,
366,
27180,
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
] | [
8241,
373,
262,
1497,
1074,
379,
262,
983,
379,
6233,
25165,
30,
46506,
1497,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
3553,
33411,
14359,
796,
366,
27180,
41186,
1
] |
Compare all countries with a bar chart, I want to order by the bars in asc. | SELECT Country, COUNT(Country) FROM artist GROUP BY Country ORDER BY Country | [
41488,
477,
2678,
351,
257,
2318,
8262,
11,
314,
765,
284,
1502,
416,
262,
9210,
287,
10570,
13,
46506,
12946,
11,
327,
28270,
7,
33921,
8,
16034,
6802,
44441,
11050,
12946,
38678,
11050,
12946
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
41488,
477,
2678,
351,
257,
2318,
8262,
11,
314,
765,
284,
1502,
416,
262,
9210,
287,
10570,
13,
46506,
12946,
11,
327,
28270,
7,
33921,
8,
16034,
6802,
44441,
11050,
12946,
38678,
11050,
12946
] |
List the name and country of origin for all singers who have produced songs with rating above 9. | SELECT DISTINCT T1.artist_name, T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.rating > 9 | [
8053,
262,
1438,
290,
1499,
286,
8159,
329,
477,
39113,
508,
423,
4635,
7259,
351,
7955,
2029,
860,
13,
46506,
360,
8808,
1268,
4177,
309,
16,
13,
49016,
62,
3672,
11,
309,
16,
13,
19315,
16034,
6802,
7054,
309,
16,
32357,
1268,
349... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
290,
1499,
286,
8159,
329,
477,
39113,
508,
423,
4635,
7259,
351,
7955,
2029,
860,
13,
46506,
360,
8808,
1268,
4177,
309,
16,
13,
49016,
62,
3672,
11,
309,
16,
13,
19315,
16034,
6802,
7054,
309,
16,
32357,
1268,
349... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.