instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is T5 Place Vijay Singh's To par? | SELECT "To par" FROM table_43878 WHERE "Place" = 't5' AND "Player" = 'vijay singh' | [
2061,
318,
309,
20,
8474,
49219,
323,
14403,
338,
1675,
1582,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
43704,
3695,
33411,
366,
27271,
1,
796,
705,
83,
20,
6,
5357,
366,
14140,
1,
796,
705,
85,
2926,
323,
1702,
71,
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
] | [
2061,
318,
309,
20,
8474,
49219,
323,
14403,
338,
1675,
1582,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
43704,
3695,
33411,
366,
27271,
1,
796,
705,
83,
20,
6,
5357,
366,
14140,
1,
796,
705,
85,
2926,
323,
1702,
71,
6
] |
What is round 10's nationality? | SELECT nationality FROM table_name_55 WHERE round = 10 | [
2061,
318,
2835,
838,
338,
29835,
30,
46506,
29835,
16034,
3084,
62,
3672,
62,
2816,
33411,
2835,
796,
838
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
2835,
838,
338,
29835,
30,
46506,
29835,
16034,
3084,
62,
3672,
62,
2816,
33411,
2835,
796,
838
] |
What time is 497 offered the next semester ? | SELECT DISTINCT course_offering.end_time, course_offering.friday, course_offering.monday, course_offering.saturday, course_offering.start_time, course_offering.sunday, course_offering.thursday, course_offering.tuesday, course_offering.wednesday FROM course, course_offering, semester WHERE course.course_id = course_offe... | [
2061,
640,
318,
5125,
22,
4438,
262,
1306,
24878,
5633,
46506,
360,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
437,
62,
2435,
11,
1781,
62,
2364,
1586,
13,
8310,
2567,
11,
1781,
62,
2364,
1586,
13,
76,
3204,
11,
1781,
62,
2364,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
640,
318,
5125,
22,
4438,
262,
1306,
24878,
5633,
46506,
360,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
437,
62,
2435,
11,
1781,
62,
2364,
1586,
13,
8310,
2567,
11,
1781,
62,
2364,
1586,
13,
76,
3204,
11,
1781,
62,
2364,
1... |
Where did the home team play when they scored 18.20 (128)? | SELECT "Venue" FROM table_56038 WHERE "Home team score" = '18.20 (128)' | [
8496,
750,
262,
1363,
1074,
711,
618,
484,
7781,
1248,
13,
1238,
357,
12762,
19427,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
34135,
2548,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1507,
13,
1238,
357,
12762,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8496,
750,
262,
1363,
1074,
711,
618,
484,
7781,
1248,
13,
1238,
357,
12762,
19427,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
34135,
2548,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1507,
13,
1238,
357,
12762,
33047
] |
A bar chart about what is the project id and detail for the project with at least two documents? | SELECT T1.Project_Details, T1.Project_ID FROM Projects AS T1 JOIN Documents AS T2 ON T1.Project_ID = T2.Project_ID | [
32,
2318,
8262,
546,
644,
318,
262,
1628,
4686,
290,
3703,
329,
262,
1628,
351,
379,
1551,
734,
4963,
30,
46506,
309,
16,
13,
16775,
62,
24259,
11,
309,
16,
13,
16775,
62,
2389,
16034,
29898,
7054,
309,
16,
32357,
1268,
33267,
7054,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32,
2318,
8262,
546,
644,
318,
262,
1628,
4686,
290,
3703,
329,
262,
1628,
351,
379,
1551,
734,
4963,
30,
46506,
309,
16,
13,
16775,
62,
24259,
11,
309,
16,
13,
16775,
62,
2389,
16034,
29898,
7054,
309,
16,
32357,
1268,
33267,
7054,... |
What are the city name, id, and number of addresses corresponding to the city with the most addressed? | SELECT T2.city, COUNT(*), T1.city_id FROM address AS T1 JOIN city AS T2 ON T1.city_id = T2.city_id GROUP BY T1.city_id ORDER BY COUNT(*) DESC LIMIT 1 | [
2061,
389,
262,
1748,
1438,
11,
4686,
11,
290,
1271,
286,
9405,
11188,
284,
262,
1748,
351,
262,
749,
9469,
30,
46506,
309,
17,
13,
19205,
11,
327,
28270,
46491,
828,
309,
16,
13,
19205,
62,
312,
16034,
2209,
7054,
309,
16,
32357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
389,
262,
1748,
1438,
11,
4686,
11,
290,
1271,
286,
9405,
11188,
284,
262,
1748,
351,
262,
749,
9469,
30,
46506,
309,
17,
13,
19205,
11,
327,
28270,
46491,
828,
309,
16,
13,
19205,
62,
312,
16034,
2209,
7054,
309,
16,
32357,
... |
Which R maji title has a Track larger than 20, and a Track time of 4:28? | SELECT "R\u014dmaji title" FROM table_57699 WHERE "Track" > '20' AND "Track time" = '4:28' | [
13828,
371,
16486,
72,
3670,
468,
257,
17762,
4025,
621,
1160,
11,
290,
257,
17762,
640,
286,
604,
25,
2078,
30,
46506,
366,
49,
59,
84,
28645,
36020,
26436,
3670,
1,
16034,
3084,
62,
37452,
2079,
33411,
366,
24802,
1,
1875,
705,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
371,
16486,
72,
3670,
468,
257,
17762,
4025,
621,
1160,
11,
290,
257,
17762,
640,
286,
604,
25,
2078,
30,
46506,
366,
49,
59,
84,
28645,
36020,
26436,
3670,
1,
16034,
3084,
62,
37452,
2079,
33411,
366,
24802,
1,
1875,
705,
12... |
When did mika heinonen susanna dahlberg win mixed doubles? | SELECT AVG("Year") FROM table_34955 WHERE "Mixed doubles" = 'mika heinonen susanna dahlberg' | [
2215,
750,
285,
9232,
339,
259,
34481,
2341,
7697,
288,
15668,
3900,
1592,
7668,
21938,
30,
46506,
35224,
7203,
17688,
4943,
16034,
3084,
62,
27371,
2816,
33411,
366,
44,
2966,
21938,
1,
796,
705,
76,
9232,
339,
259,
34481,
2341,
7697,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
285,
9232,
339,
259,
34481,
2341,
7697,
288,
15668,
3900,
1592,
7668,
21938,
30,
46506,
35224,
7203,
17688,
4943,
16034,
3084,
62,
27371,
2816,
33411,
366,
44,
2966,
21938,
1,
796,
705,
76,
9232,
339,
259,
34481,
2341,
7697,
... |
What were the notes in Toronto, Canada? | SELECT "Notes" FROM table_36824 WHERE "Venue" = 'toronto, canada' | [
2061,
547,
262,
4710,
287,
6586,
11,
3340,
30,
46506,
366,
16130,
1,
16034,
3084,
62,
27412,
1731,
33411,
366,
37522,
518,
1,
796,
705,
13165,
5957,
11,
460,
4763,
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,
547,
262,
4710,
287,
6586,
11,
3340,
30,
46506,
366,
16130,
1,
16034,
3084,
62,
27412,
1731,
33411,
366,
37522,
518,
1,
796,
705,
13165,
5957,
11,
460,
4763,
6
] |
What is the length (AA) of the animal whose NCBI accession number is CAM15594.1? | SELECT MIN(length__aa_) FROM table_26957063_3 WHERE ncbi_accession_number = "CAM15594.1" | [
2061,
318,
262,
4129,
357,
3838,
8,
286,
262,
5044,
3025,
8823,
3483,
1895,
295,
1271,
318,
32421,
1314,
46438,
13,
16,
30,
46506,
20625,
7,
13664,
834,
7252,
62,
8,
16034,
3084,
62,
2075,
3865,
2154,
5066,
62,
18,
33411,
299,
66,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4129,
357,
3838,
8,
286,
262,
5044,
3025,
8823,
3483,
1895,
295,
1271,
318,
32421,
1314,
46438,
13,
16,
30,
46506,
20625,
7,
13664,
834,
7252,
62,
8,
16034,
3084,
62,
2075,
3865,
2154,
5066,
62,
18,
33411,
299,
66,
... |
What is the lowest total when the nation is Sweden? | SELECT MIN("Total") FROM table_41204 WHERE "Nation" = 'sweden' | [
2061,
318,
262,
9016,
2472,
618,
262,
3277,
318,
10710,
30,
46506,
20625,
7203,
14957,
4943,
16034,
3084,
62,
39226,
3023,
33411,
366,
46108,
1,
796,
705,
2032,
31829,
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,
318,
262,
9016,
2472,
618,
262,
3277,
318,
10710,
30,
46506,
20625,
7203,
14957,
4943,
16034,
3084,
62,
39226,
3023,
33411,
366,
46108,
1,
796,
705,
2032,
31829,
6
] |
Which Object type has a Constellation of orion, and an NGC number larger than 2174, and a Declination (J2000) of 48 06 ? | SELECT "Object type" FROM table_58342 WHERE "Constellation" = 'orion' AND "NGC number" > '2174' AND "Declination ( J2000 )" = '°48′06″' | [
13828,
9515,
2099,
468,
257,
4757,
28828,
286,
393,
295,
11,
290,
281,
399,
15916,
1271,
4025,
621,
362,
22985,
11,
290,
257,
16691,
1883,
357,
41,
11024,
8,
286,
4764,
9130,
5633,
46506,
366,
10267,
2099,
1,
16034,
3084,
62,
3365,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9515,
2099,
468,
257,
4757,
28828,
286,
393,
295,
11,
290,
281,
399,
15916,
1271,
4025,
621,
362,
22985,
11,
290,
257,
16691,
1883,
357,
41,
11024,
8,
286,
4764,
9130,
5633,
46506,
366,
10267,
2099,
1,
16034,
3084,
62,
3365,
... |
Search comments by keyword and user id. | SELECT Id AS "comment_link", Text, CreationDate FROM Comments WHERE Text LIKE '%##Keyword##%' ORDER BY CreationDate DESC | [
18243,
3651,
416,
21179,
290,
2836,
4686,
13,
46506,
5121,
7054,
366,
23893,
62,
8726,
1600,
8255,
11,
21582,
10430,
16034,
19502,
33411,
8255,
34178,
705,
4,
2235,
9218,
4775,
2235,
4,
6,
38678,
11050,
21582,
10430,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
18243,
3651,
416,
21179,
290,
2836,
4686,
13,
46506,
5121,
7054,
366,
23893,
62,
8726,
1600,
8255,
11,
21582,
10430,
16034,
19502,
33411,
8255,
34178,
705,
4,
2235,
9218,
4775,
2235,
4,
6,
38678,
11050,
21582,
10430,
22196,
34
] |
Name the M939 series for short wheelbase and M809 series of m817 | SELECT "M939 series" FROM table_6015 WHERE "wheelbase" = 'short' AND "M809 series" = 'm817' | [
5376,
262,
337,
24,
2670,
2168,
329,
1790,
7825,
8692,
290,
337,
34583,
2168,
286,
285,
23,
1558,
46506,
366,
44,
24,
2670,
2168,
1,
16034,
3084,
62,
21,
25150,
33411,
366,
22001,
8692,
1,
796,
705,
19509,
6,
5357,
366,
44,
34583,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
337,
24,
2670,
2168,
329,
1790,
7825,
8692,
290,
337,
34583,
2168,
286,
285,
23,
1558,
46506,
366,
44,
24,
2670,
2168,
1,
16034,
3084,
62,
21,
25150,
33411,
366,
22001,
8692,
1,
796,
705,
19509,
6,
5357,
366,
44,
34583,
... |
What's the average of shows that had a timeslot rank greater that 3 but still had a smaller viewership less than 4.87? | SELECT AVG(share) FROM table_name_29 WHERE RANK(timeslot) > 3 AND viewers__m_ < 4.87 | [
2061,
338,
262,
2811,
286,
2523,
326,
550,
257,
1661,
26487,
4279,
3744,
326,
513,
475,
991,
550,
257,
4833,
48347,
1342,
621,
604,
13,
5774,
30,
46506,
35224,
7,
20077,
8,
16034,
3084,
62,
3672,
62,
1959,
33411,
371,
15154,
7,
2235... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
2811,
286,
2523,
326,
550,
257,
1661,
26487,
4279,
3744,
326,
513,
475,
991,
550,
257,
4833,
48347,
1342,
621,
604,
13,
5774,
30,
46506,
35224,
7,
20077,
8,
16034,
3084,
62,
3672,
62,
1959,
33411,
371,
15154,
7,
2235... |
When are start dates (1st night) for the season of 1966? | SELECT start_date__1st_night_ FROM table_159359_2 WHERE season = "1966" | [
2215,
389,
923,
9667,
357,
16,
301,
1755,
8,
329,
262,
1622,
286,
19322,
30,
46506,
923,
62,
4475,
834,
16,
301,
62,
3847,
62,
16034,
3084,
62,
19707,
30743,
62,
17,
33411,
1622,
796,
366,
44227,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
923,
9667,
357,
16,
301,
1755,
8,
329,
262,
1622,
286,
19322,
30,
46506,
923,
62,
4475,
834,
16,
301,
62,
3847,
62,
16034,
3084,
62,
19707,
30743,
62,
17,
33411,
1622,
796,
366,
44227,
1
] |
Which player's runs are 270? | SELECT player FROM table_name_43 WHERE runs = "270" | [
13828,
2137,
338,
4539,
389,
20479,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
3559,
33411,
4539,
796,
366,
20233,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
2137,
338,
4539,
389,
20479,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
3559,
33411,
4539,
796,
366,
20233,
1
] |
How many rounds had a race name of anglia tv trophy? | SELECT COUNT(round) FROM table_name_25 WHERE name = "anglia tv trophy" | [
2437,
867,
9196,
550,
257,
3234,
1438,
286,
3550,
24660,
31557,
16383,
30,
46506,
327,
28270,
7,
744,
8,
16034,
3084,
62,
3672,
62,
1495,
33411,
1438,
796,
366,
648,
24660,
31557,
16383,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9196,
550,
257,
3234,
1438,
286,
3550,
24660,
31557,
16383,
30,
46506,
327,
28270,
7,
744,
8,
16034,
3084,
62,
3672,
62,
1495,
33411,
1438,
796,
366,
648,
24660,
31557,
16383,
1
] |
What years did Tymerlan Huseynov, whose average is larger than 0.361, play? | SELECT "Career" FROM table_32138 WHERE "Average" > '0.361' AND "Player" = 'tymerlan huseynov' | [
2061,
812,
750,
7039,
647,
9620,
367,
1904,
2047,
709,
11,
3025,
2811,
318,
4025,
621,
657,
13,
35195,
11,
711,
30,
46506,
366,
17784,
263,
1,
16034,
3084,
62,
2624,
20107,
33411,
366,
26287,
1,
1875,
705,
15,
13,
35195,
6,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
812,
750,
7039,
647,
9620,
367,
1904,
2047,
709,
11,
3025,
2811,
318,
4025,
621,
657,
13,
35195,
11,
711,
30,
46506,
366,
17784,
263,
1,
16034,
3084,
62,
2624,
20107,
33411,
366,
26287,
1,
1875,
705,
15,
13,
35195,
6,
5357,
... |
how many times did brazil play against argentina in the international friendly competition ? | SELECT COUNT(*) FROM table_203_648 WHERE "opposition" = 'argentina' AND "competition" = 'international friendly' | [
4919,
867,
1661,
750,
275,
7098,
711,
1028,
1822,
298,
1437,
287,
262,
3230,
8030,
5449,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
34287,
33411,
366,
10365,
3507,
1,
796,
705,
853,
298,
1437,
6,
5357,
366,
5589,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1661,
750,
275,
7098,
711,
1028,
1822,
298,
1437,
287,
262,
3230,
8030,
5449,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
34287,
33411,
366,
10365,
3507,
1,
796,
705,
853,
298,
1437,
6,
5357,
366,
5589,
... |
was andy smith or kevin painter 's 3 dart average 96.71 ? | SELECT "player" FROM table_203_460 WHERE "player" IN ('andy smith', 'kevin painter') AND "3-dart average" = 96.71 | [
9776,
290,
88,
895,
342,
393,
885,
7114,
34537,
705,
82,
513,
35970,
2811,
9907,
13,
4869,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
22416,
62,
34716,
33411,
366,
7829,
1,
3268,
19203,
10757,
895,
342,
3256,
705,
365,
7114,
34537,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9776,
290,
88,
895,
342,
393,
885,
7114,
34537,
705,
82,
513,
35970,
2811,
9907,
13,
4869,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
22416,
62,
34716,
33411,
366,
7829,
1,
3268,
19203,
10757,
895,
342,
3256,
705,
365,
7114,
34537,
... |
how many players were inducted as players of the philadelphia phillies ? | SELECT COUNT("player") FROM table_203_697 WHERE "team inducted as" = 'philadelphia phillies' | [
4919,
867,
1938,
547,
28948,
276,
355,
1938,
286,
262,
5206,
8273,
872,
359,
444,
5633,
46506,
327,
28270,
7203,
7829,
4943,
16034,
3084,
62,
22416,
62,
40035,
33411,
366,
15097,
28948,
276,
355,
1,
796,
705,
28864,
8273,
872,
359,
44... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1938,
547,
28948,
276,
355,
1938,
286,
262,
5206,
8273,
872,
359,
444,
5633,
46506,
327,
28270,
7203,
7829,
4943,
16034,
3084,
62,
22416,
62,
40035,
33411,
366,
15097,
28948,
276,
355,
1,
796,
705,
28864,
8273,
872,
359,
44... |
How many laps were there when the constructor was Renault, and when the Driver was Fernando Alonso? | SELECT "Laps" FROM table_67523 WHERE "Constructor" = 'renault' AND "Driver" = 'fernando alonso' | [
2437,
867,
24590,
547,
612,
618,
262,
23772,
373,
44083,
11,
290,
618,
262,
12434,
373,
31063,
36345,
30,
46506,
366,
43,
1686,
1,
16034,
3084,
62,
42444,
1954,
33411,
366,
42316,
273,
1,
796,
705,
918,
1721,
6,
5357,
366,
32103,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24590,
547,
612,
618,
262,
23772,
373,
44083,
11,
290,
618,
262,
12434,
373,
31063,
36345,
30,
46506,
366,
43,
1686,
1,
16034,
3084,
62,
42444,
1954,
33411,
366,
42316,
273,
1,
796,
705,
918,
1721,
6,
5357,
366,
32103,
1,... |
What was the away team that scored 6.13 (49)? | SELECT "Away team" FROM table_33287 WHERE "Away team score" = '6.13 (49)' | [
2061,
373,
262,
1497,
1074,
326,
7781,
718,
13,
1485,
357,
2920,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
2091,
27800,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
21,
13,
1485,
357,
2920,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1497,
1074,
326,
7781,
718,
13,
1485,
357,
2920,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
2091,
27800,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
21,
13,
1485,
357,
2920,
33047
] |
Show the average, maximum, minimum enrollment of all schools. | SELECT AVG(enrollment), MAX(enrollment), MIN(enrollment) FROM school | [
15307,
262,
2811,
11,
5415,
11,
5288,
20753,
286,
477,
4266,
13,
46506,
35224,
7,
268,
48108,
828,
25882,
7,
268,
48108,
828,
20625,
7,
268,
48108,
8,
16034,
1524
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
2811,
11,
5415,
11,
5288,
20753,
286,
477,
4266,
13,
46506,
35224,
7,
268,
48108,
828,
25882,
7,
268,
48108,
828,
20625,
7,
268,
48108,
8,
16034,
1524
] |
Find the maximum age of all the students. | SELECT MAX(Age) FROM STUDENT | [
16742,
262,
5415,
2479,
286,
477,
262,
2444,
13,
46506,
25882,
7,
23396,
8,
16034,
49348,
3525
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
5415,
2479,
286,
477,
262,
2444,
13,
46506,
25882,
7,
23396,
8,
16034,
49348,
3525
] |
What is on at 8am if The Young and the Restless is on at 12:30? | SELECT "8:00 am" FROM table_62516 WHERE "12:30 pm" = 'the young and the restless' | [
2061,
318,
319,
379,
807,
321,
611,
383,
6960,
290,
262,
8324,
1203,
318,
319,
379,
1105,
25,
1270,
30,
46506,
366,
23,
25,
405,
716,
1,
16034,
3084,
62,
26704,
1433,
33411,
366,
1065,
25,
1270,
9114,
1,
796,
705,
1169,
1862,
290,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
319,
379,
807,
321,
611,
383,
6960,
290,
262,
8324,
1203,
318,
319,
379,
1105,
25,
1270,
30,
46506,
366,
23,
25,
405,
716,
1,
16034,
3084,
62,
26704,
1433,
33411,
366,
1065,
25,
1270,
9114,
1,
796,
705,
1169,
1862,
290,... |
What is the 2007 estimate when the rank (csa) is 4 | SELECT "2007 Estimate" FROM table_544 WHERE "Rank (CSA)" = '4' | [
2061,
318,
262,
4343,
8636,
618,
262,
4279,
357,
6359,
64,
8,
318,
604,
46506,
366,
12726,
10062,
1920,
1,
16034,
3084,
62,
47576,
33411,
366,
27520,
357,
34,
4090,
16725,
796,
705,
19,
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,
4343,
8636,
618,
262,
4279,
357,
6359,
64,
8,
318,
604,
46506,
366,
12726,
10062,
1920,
1,
16034,
3084,
62,
47576,
33411,
366,
27520,
357,
34,
4090,
16725,
796,
705,
19,
6
] |
how many patients are diagnosed with primary disease femoral artery thrombosis and are born before 2110? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "FEMORAL ARTERY THROMBOSIS" AND demographic.dob_year < "2110" | [
4919,
867,
3871,
389,
14641,
351,
4165,
4369,
2796,
6864,
37646,
294,
398,
65,
5958,
290,
389,
4642,
878,
2310,
940,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
389,
14641,
351,
4165,
4369,
2796,
6864,
37646,
294,
398,
65,
5958,
290,
389,
4642,
878,
2310,
940,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
... |
What is the lowest Position, when Lost is greater than 15, when Team is Cheadle Town, and when Drawn is greater than 8? | SELECT MIN(position) FROM table_name_21 WHERE lost > 15 AND team = "cheadle town" AND drawn > 8 | [
2061,
318,
262,
9016,
23158,
11,
618,
9164,
318,
3744,
621,
1315,
11,
618,
4816,
318,
327,
2256,
293,
8329,
11,
290,
618,
50061,
318,
3744,
621,
807,
30,
46506,
20625,
7,
9150,
8,
16034,
3084,
62,
3672,
62,
2481,
33411,
2626,
1875,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
23158,
11,
618,
9164,
318,
3744,
621,
1315,
11,
618,
4816,
318,
327,
2256,
293,
8329,
11,
290,
618,
50061,
318,
3744,
621,
807,
30,
46506,
20625,
7,
9150,
8,
16034,
3084,
62,
3672,
62,
2481,
33411,
2626,
1875,
... |
Where the away team is Bradford City, who is the home team? | SELECT home_team FROM table_name_83 WHERE away_team = "bradford city" | [
8496,
262,
1497,
1074,
318,
28199,
2254,
11,
508,
318,
262,
1363,
1074,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
5999,
33411,
1497,
62,
15097,
796,
366,
1671,
324,
3841,
1748,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8496,
262,
1497,
1074,
318,
28199,
2254,
11,
508,
318,
262,
1363,
1074,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
5999,
33411,
1497,
62,
15097,
796,
366,
1671,
324,
3841,
1748,
1
] |
What is the Unanimous of the Minnesota Southern California School? | SELECT unanimous FROM table_name_93 WHERE school = "minnesota southern california" | [
2061,
318,
262,
791,
45873,
286,
262,
8919,
8050,
3442,
3961,
30,
46506,
28085,
16034,
3084,
62,
3672,
62,
6052,
33411,
1524,
796,
366,
1084,
8360,
8372,
2386,
361,
3317,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
791,
45873,
286,
262,
8919,
8050,
3442,
3961,
30,
46506,
28085,
16034,
3084,
62,
3672,
62,
6052,
33411,
1524,
796,
366,
1084,
8360,
8372,
2386,
361,
3317,
1
] |
Rob Eisenberg frameworks, Questions per month )-;. How do Scala web frameworks compare to each other?
I'm restricting the questions to those tagged Scala, to avoid polluting Playframework's result. It might be unfair, but I can't think of any other way to do it. At least all frameworks are being equally discriminate... | SELECT *, COUNT(*) FROM (SELECT DATE(CAST(TIME_TO_STR(CreationDate, '%Y') AS TEXT) + '-' + CAST(TIME_TO_STR(CreationDate, '%m') AS TEXT) + '-01') AS Month, t.TagName FROM (SELECT p.Id, p.CreationDate FROM Posts AS p JOIN PostTags AS pt ON pt.PostId = p.Id JOIN Tags AS t ON t.Id = pt.TagId) AS pp JOIN PostTags AS pt ON ... | [
14350,
22633,
3900,
29251,
11,
20396,
583,
1227,
1267,
12,
26,
13,
1374,
466,
38334,
3992,
29251,
8996,
284,
1123,
584,
30,
201,
198,
201,
198,
40,
1101,
28267,
262,
2683,
284,
883,
30509,
38334,
11,
284,
3368,
3278,
15129,
3811,
3060... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
14350,
22633,
3900,
29251,
11,
20396,
583,
1227,
1267,
12,
26,
13,
1374,
466,
38334,
3992,
29251,
8996,
284,
1123,
584,
30,
201,
198,
201,
198,
40,
1101,
28267,
262,
2683,
284,
883,
30509,
38334,
11,
284,
3368,
3278,
15129,
3811,
3060... |
What is the name of the project that requires the fewest number of hours, and the names of the scientists assigned to it? | SELECT T2.name, T3.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.ssn WHERE T2.hours = (SELECT MIN(hours) FROM projects) | [
2061,
318,
262,
1438,
286,
262,
1628,
326,
4433,
262,
1178,
395,
1271,
286,
2250,
11,
290,
262,
3891,
286,
262,
5519,
8686,
284,
340,
30,
46506,
309,
17,
13,
3672,
11,
309,
18,
13,
3672,
16034,
8686,
1462,
7054,
309,
16,
32357,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
1438,
286,
262,
1628,
326,
4433,
262,
1178,
395,
1271,
286,
2250,
11,
290,
262,
3891,
286,
262,
5519,
8686,
284,
340,
30,
46506,
309,
17,
13,
3672,
11,
309,
18,
13,
3672,
16034,
8686,
1462,
7054,
309,
16,
32357,
12... |
For those employees who do not work in departments with managers that have ids between 100 and 200, show me the trend about salary over hire_date with a line chart. | SELECT HIRE_DATE, SALARY FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
905,
502,
262,
5182,
546,
9588,
625,
11078,
62,
4475,
351,
257,
1627,
8262,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
42475,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
905,
502,
262,
5182,
546,
9588,
625,
11078,
62,
4475,
351,
257,
1627,
8262,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
42475,... |
View Deadweight (Phase 2) questions. View latest questions older than 3 months that have score < 1 and all answers have score < 0 | SELECT Id AS "post_link", Title, Body FROM Posts AS q WHERE PostTypeId = 1 AND Score < 1 AND CreationDate < DATEADD(MONTH, -3, GETDATE()) AND ClosedDate IS NULL AND AcceptedAnswerId IS NULL AND AnswerCount > 0 AND NOT EXISTS(SELECT * FROM Posts AS a WHERE PostTypeId = 2 AND ParentId = q.Id AND Score >= 0) ORDER BY Crea... | [
7680,
5542,
6551,
357,
35645,
362,
8,
2683,
13,
3582,
3452,
2683,
4697,
621,
513,
1933,
326,
423,
4776,
1279,
352,
290,
477,
7429,
423,
4776,
1279,
657,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
11851,
11,
12290,
16034,
12043,
705... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
7680,
5542,
6551,
357,
35645,
362,
8,
2683,
13,
3582,
3452,
2683,
4697,
621,
513,
1933,
326,
423,
4776,
1279,
352,
290,
477,
7429,
423,
4776,
1279,
657,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
11851,
11,
12290,
16034,
12043,
705... |
In how many importing nations is 10 3 m 3 /day (2006) equivalent to 150? | SELECT COUNT("Importing Nation") FROM table_25716 WHERE "10 3 m 3 /day (2006)" = '150' | [
818,
703,
867,
33332,
7027,
318,
838,
513,
285,
513,
1220,
820,
357,
13330,
8,
7548,
284,
6640,
30,
46506,
327,
28270,
7203,
20939,
278,
8741,
4943,
16034,
3084,
62,
28676,
1433,
33411,
366,
940,
513,
285,
513,
1220,
820,
357,
13330,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
703,
867,
33332,
7027,
318,
838,
513,
285,
513,
1220,
820,
357,
13330,
8,
7548,
284,
6640,
30,
46506,
327,
28270,
7203,
20939,
278,
8741,
4943,
16034,
3084,
62,
28676,
1433,
33411,
366,
940,
513,
285,
513,
1220,
820,
357,
13330,
... |
What year did Willis McGahee play fewer than 15 games with the Baltimore Ravens? | SELECT MIN(year) FROM table_name_97 WHERE team = "baltimore ravens" AND games < 15 | [
2061,
614,
750,
32748,
11130,
64,
21067,
711,
7380,
621,
1315,
1830,
351,
262,
10346,
20091,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
5607,
33411,
1074,
796,
366,
65,
2501,
9401,
37735,
82,
1,
5357,
1830,
1279,
1315
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
614,
750,
32748,
11130,
64,
21067,
711,
7380,
621,
1315,
1830,
351,
262,
10346,
20091,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
5607,
33411,
1074,
796,
366,
65,
2501,
9401,
37735,
82,
1,
5357,
1830,
1279,
1315
] |
Name the class aa for 1998-99 | SELECT class_aA FROM table_14601528_2 WHERE school_year = "1998-99" | [
5376,
262,
1398,
257,
64,
329,
7795,
12,
2079,
46506,
1398,
62,
64,
32,
16034,
3084,
62,
20964,
25150,
2078,
62,
17,
33411,
1524,
62,
1941,
796,
366,
21113,
12,
2079,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
1398,
257,
64,
329,
7795,
12,
2079,
46506,
1398,
62,
64,
32,
16034,
3084,
62,
20964,
25150,
2078,
62,
17,
33411,
1524,
62,
1941,
796,
366,
21113,
12,
2079,
1
] |
How many titles were directed by Alex Chapple? | SELECT COUNT("Title") FROM table_24038 WHERE "Director" = 'Alex Chapple' | [
2437,
867,
8714,
547,
7924,
416,
4422,
609,
18040,
30,
46506,
327,
28270,
7203,
19160,
4943,
16034,
3084,
62,
16102,
2548,
33411,
366,
28702,
1,
796,
705,
15309,
609,
18040,
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
] | [
2437,
867,
8714,
547,
7924,
416,
4422,
609,
18040,
30,
46506,
327,
28270,
7203,
19160,
4943,
16034,
3084,
62,
16102,
2548,
33411,
366,
28702,
1,
796,
705,
15309,
609,
18040,
6
] |
What is the Sipe Sipe Municipality minimum if the language is Quechua? | SELECT MIN(sipe_sipe_municipality) FROM table_2509113_2 WHERE language = "Quechua" | [
2061,
318,
262,
311,
3757,
311,
3757,
27338,
1483,
5288,
611,
262,
3303,
318,
4670,
354,
6413,
30,
46506,
20625,
7,
82,
3757,
62,
82,
3757,
62,
6199,
4311,
1483,
8,
16034,
3084,
62,
9031,
24,
16616,
62,
17,
33411,
3303,
796,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
311,
3757,
311,
3757,
27338,
1483,
5288,
611,
262,
3303,
318,
4670,
354,
6413,
30,
46506,
20625,
7,
82,
3757,
62,
82,
3757,
62,
6199,
4311,
1483,
8,
16034,
3084,
62,
9031,
24,
16616,
62,
17,
33411,
3303,
796,
366,
... |
WHERE with number comparison between fields. | SELECT * FROM dbo.Tags WHERE Id > Count | [
47357,
351,
1271,
7208,
1022,
7032,
13,
46506,
1635,
16034,
288,
2127,
13,
36142,
33411,
5121,
1875,
2764
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
47357,
351,
1271,
7208,
1022,
7032,
13,
46506,
1635,
16034,
288,
2127,
13,
36142,
33411,
5121,
1875,
2764
] |
What pick did Clemson choose? | SELECT "Pick" FROM table_78541 WHERE "School" = 'clemson' | [
2061,
2298,
750,
27801,
3853,
30,
46506,
366,
31686,
1,
16034,
3084,
62,
41172,
3901,
33411,
366,
26130,
1,
796,
705,
2375,
24996,
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
] | [
2061,
2298,
750,
27801,
3853,
30,
46506,
366,
31686,
1,
16034,
3084,
62,
41172,
3901,
33411,
366,
26130,
1,
796,
705,
2375,
24996,
6
] |
count the number of patients whose diagnoses long title is chronic total occlusion of coronary artery and drug name is ondansetron? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Chronic total occlusion of coronary artery" AND prescriptions.drug = "Ondansetron" | [
9127,
262,
1271,
286,
3871,
3025,
40567,
890,
3670,
318,
10726,
2472,
1609,
75,
4241,
286,
37151,
37646,
290,
2563,
1438,
318,
319,
67,
504,
316,
1313,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
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... | [
9127,
262,
1271,
286,
3871,
3025,
40567,
890,
3670,
318,
10726,
2472,
1609,
75,
4241,
286,
37151,
37646,
290,
2563,
1438,
318,
319,
67,
504,
316,
1313,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16... |
What is the average attendance when the rank is 5? | SELECT avgatt FROM table_name_90 WHERE rank = "5" | [
2061,
318,
262,
2811,
14858,
618,
262,
4279,
318,
642,
30,
46506,
42781,
1078,
16034,
3084,
62,
3672,
62,
3829,
33411,
4279,
796,
366,
20,
1
] | [
1,
1,
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,
14858,
618,
262,
4279,
318,
642,
30,
46506,
42781,
1078,
16034,
3084,
62,
3672,
62,
3829,
33411,
4279,
796,
366,
20,
1
] |
What is the total number for grid with a Suzuki GSX-R1000 K7 for +13.283? | SELECT COUNT(grid) FROM table_name_35 WHERE bike = "suzuki gsx-r1000 k7" AND time = "+13.283" | [
2061,
318,
262,
2472,
1271,
329,
10706,
351,
257,
35807,
26681,
55,
12,
49,
12825,
509,
22,
329,
1343,
1485,
13,
30290,
30,
46506,
327,
28270,
7,
25928,
8,
16034,
3084,
62,
3672,
62,
2327,
33411,
7161,
796,
366,
2385,
89,
11308,
308... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
329,
10706,
351,
257,
35807,
26681,
55,
12,
49,
12825,
509,
22,
329,
1343,
1485,
13,
30290,
30,
46506,
327,
28270,
7,
25928,
8,
16034,
3084,
62,
3672,
62,
2327,
33411,
7161,
796,
366,
2385,
89,
11308,
308... |
Name the Wins which has Points smaller than 10, Losses smaller than 3, and a Scored of 11? | SELECT MIN(wins) FROM table_name_80 WHERE points < 10 AND losses < 3 AND scored = 11 | [
5376,
262,
24423,
543,
468,
11045,
4833,
621,
838,
11,
22014,
274,
4833,
621,
513,
11,
290,
257,
1446,
1850,
286,
1367,
30,
46506,
20625,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
1795,
33411,
2173,
1279,
838,
5357,
9089,
1279,
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,
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,
24423,
543,
468,
11045,
4833,
621,
838,
11,
22014,
274,
4833,
621,
513,
11,
290,
257,
1446,
1850,
286,
1367,
30,
46506,
20625,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
1795,
33411,
2173,
1279,
838,
5357,
9089,
1279,
513... |
does patient 95986 had any pacu urine output since 1511 days ago? | SELECT COUNT(*) > 0 FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 95986)) AND outputevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'pacu urine' AN... | [
22437,
5827,
860,
3270,
4521,
550,
597,
23503,
84,
18922,
5072,
1201,
1315,
1157,
1528,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658,
13,
291,
436,
323,
62,
312,
3268,
357,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
22437,
5827,
860,
3270,
4521,
550,
597,
23503,
84,
18922,
5072,
1201,
1315,
1157,
1528,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658,
13,
291,
436,
323,
62,
312,
3268,
357,... |
What authority does the rototuna area have? | SELECT "Authority" FROM table_15665 WHERE "Area" = 'rototuna' | [
2061,
4934,
857,
262,
5724,
313,
9613,
1989,
423,
30,
46506,
366,
13838,
414,
1,
16034,
3084,
62,
1314,
36879,
33411,
366,
30547,
1,
796,
705,
10599,
313,
9613,
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,
4934,
857,
262,
5724,
313,
9613,
1989,
423,
30,
46506,
366,
13838,
414,
1,
16034,
3084,
62,
1314,
36879,
33411,
366,
30547,
1,
796,
705,
10599,
313,
9613,
6
] |
In which season is the runner-up Lase-R/Riga? | SELECT season FROM table_25058269_1 WHERE runner_up = "Lase-R/Riga" | [
818,
543,
1622,
318,
262,
17490,
12,
929,
406,
589,
12,
49,
14,
49,
13827,
30,
46506,
1622,
16034,
3084,
62,
9031,
3365,
26276,
62,
16,
33411,
17490,
62,
929,
796,
366,
43,
589,
12,
49,
14,
49,
13827,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
543,
1622,
318,
262,
17490,
12,
929,
406,
589,
12,
49,
14,
49,
13827,
30,
46506,
1622,
16034,
3084,
62,
9031,
3365,
26276,
62,
16,
33411,
17490,
62,
929,
796,
366,
43,
589,
12,
49,
14,
49,
13827,
1
] |
What is Headquarter, when Type is Independent Online News Portal? | SELECT headquarter FROM table_name_49 WHERE type = "independent online news portal" | [
2061,
318,
7123,
24385,
11,
618,
5994,
318,
13362,
7467,
3000,
25663,
30,
46506,
1182,
24385,
16034,
3084,
62,
3672,
62,
2920,
33411,
2099,
796,
366,
34750,
2691,
1705,
17898,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
7123,
24385,
11,
618,
5994,
318,
13362,
7467,
3000,
25663,
30,
46506,
1182,
24385,
16034,
3084,
62,
3672,
62,
2920,
33411,
2099,
796,
366,
34750,
2691,
1705,
17898,
1
] |
How many league of communists have the people's party at 7? | SELECT COUNT(league_of_communists) FROM table_15306124_1 WHERE peoples_party = 7 | [
2437,
867,
4652,
286,
40938,
423,
262,
661,
338,
2151,
379,
767,
30,
46506,
327,
28270,
7,
19316,
62,
1659,
62,
10709,
1023,
8,
16034,
3084,
62,
1314,
20548,
17464,
62,
16,
33411,
14366,
62,
10608,
796,
767
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
4652,
286,
40938,
423,
262,
661,
338,
2151,
379,
767,
30,
46506,
327,
28270,
7,
19316,
62,
1659,
62,
10709,
1023,
8,
16034,
3084,
62,
1314,
20548,
17464,
62,
16,
33411,
14366,
62,
10608,
796,
767
] |
please list flights from PHILADELPHIA to DALLAS stopping in ATLANTA | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight, flight_stop WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DALLAS' AND CITY_2.cit... | [
29688,
1351,
13956,
422,
9370,
4146,
2885,
3698,
11909,
3539,
284,
360,
7036,
1921,
12225,
287,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
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... | [
29688,
1351,
13956,
422,
9370,
4146,
2885,
3698,
11909,
3539,
284,
360,
7036,
1921,
12225,
287,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
... |
How many courses for each course description? Show me a bar chart, list in asc by the X-axis. | SELECT CRS_DESCRIPTION, COUNT(CRS_DESCRIPTION) FROM CLASS AS T1 JOIN EMPLOYEE AS T2 ON T1.PROF_NUM = T2.EMP_NUM JOIN COURSE AS T3 ON T1.CRS_CODE = T3.CRS_CODE JOIN PROFESSOR AS T4 ON T2.EMP_NUM = T4.EMP_NUM GROUP BY CRS_DESCRIPTION ORDER BY CRS_DESCRIPTION | [
2437,
867,
10902,
329,
1123,
1781,
6764,
30,
5438,
502,
257,
2318,
8262,
11,
1351,
287,
10570,
416,
262,
1395,
12,
22704,
13,
46506,
327,
6998,
62,
30910,
40165,
11,
327,
28270,
7,
34,
6998,
62,
30910,
40165,
8,
16034,
42715,
7054,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
10902,
329,
1123,
1781,
6764,
30,
5438,
502,
257,
2318,
8262,
11,
1351,
287,
10570,
416,
262,
1395,
12,
22704,
13,
46506,
327,
6998,
62,
30910,
40165,
11,
327,
28270,
7,
34,
6998,
62,
30910,
40165,
8,
16034,
42715,
7054,
... |
Name the high rebounds for score of 64-74 | SELECT COUNT("High rebounds") FROM table_21311 WHERE "Score" = '64-74' | [
5376,
262,
1029,
18841,
329,
4776,
286,
5598,
12,
4524,
46506,
327,
28270,
7203,
11922,
18841,
4943,
16034,
3084,
62,
26427,
1157,
33411,
366,
26595,
1,
796,
705,
2414,
12,
4524,
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,
1029,
18841,
329,
4776,
286,
5598,
12,
4524,
46506,
327,
28270,
7203,
11922,
18841,
4943,
16034,
3084,
62,
26427,
1157,
33411,
366,
26595,
1,
796,
705,
2414,
12,
4524,
6
] |
Who is the candidate wehre district is louisiana 1? | SELECT "Candidates" FROM table_18533 WHERE "District" = 'Louisiana 1' | [
8241,
318,
262,
4540,
356,
71,
260,
4783,
318,
21081,
271,
7484,
352,
30,
46506,
366,
41572,
37051,
1,
16034,
3084,
62,
21652,
2091,
33411,
366,
44857,
1,
796,
705,
32117,
7484,
352,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
4540,
356,
71,
260,
4783,
318,
21081,
271,
7484,
352,
30,
46506,
366,
41572,
37051,
1,
16034,
3084,
62,
21652,
2091,
33411,
366,
44857,
1,
796,
705,
32117,
7484,
352,
6
] |
show me the flights from DENVER to BALTIMORE or WASHINGTON that arrive before or around noon | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight WHERE (((flight.to_airport = AIRPORT_SERVICE_1.airport_code AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AN... | [
12860,
502,
262,
13956,
422,
37692,
5959,
284,
347,
31429,
3955,
6965,
393,
370,
19436,
326,
9240,
878,
393,
1088,
19613,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
273... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13956,
422,
37692,
5959,
284,
347,
31429,
3955,
6965,
393,
370,
19436,
326,
9240,
878,
393,
1088,
19613,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
273... |
let me know the number of patients who have diagnosis icd9 code 9951. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.icd9_code = "9951" | [
1616,
502,
760,
262,
1271,
286,
3871,
508,
423,
13669,
14158,
67,
24,
2438,
860,
50119,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
1810... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1616,
502,
760,
262,
1271,
286,
3871,
508,
423,
13669,
14158,
67,
24,
2438,
860,
50119,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
1810... |
What is the Cook PVI for the location that has a representative of Mike Thompson? | SELECT cook_pvi FROM table_19283806_4 WHERE representative = "Mike Thompson" | [
2061,
318,
262,
8261,
350,
12861,
329,
262,
4067,
326,
468,
257,
8852,
286,
4995,
11654,
30,
46506,
4255,
62,
79,
8903,
16034,
3084,
62,
1129,
2078,
23734,
21,
62,
19,
33411,
8852,
796,
366,
16073,
11654,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8261,
350,
12861,
329,
262,
4067,
326,
468,
257,
8852,
286,
4995,
11654,
30,
46506,
4255,
62,
79,
8903,
16034,
3084,
62,
1129,
2078,
23734,
21,
62,
19,
33411,
8852,
796,
366,
16073,
11654,
1
] |
Who was No. 8 when No. 1 Michael and No. 4 Logan? | SELECT no_8 FROM table_name_48 WHERE no_1 = "michael" AND no_4 = "logan" | [
8241,
373,
1400,
13,
807,
618,
1400,
13,
352,
3899,
290,
1400,
13,
604,
22221,
30,
46506,
645,
62,
23,
16034,
3084,
62,
3672,
62,
2780,
33411,
645,
62,
16,
796,
366,
76,
40302,
1,
5357,
645,
62,
19,
796,
366,
6404,
272,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
1400,
13,
807,
618,
1400,
13,
352,
3899,
290,
1400,
13,
604,
22221,
30,
46506,
645,
62,
23,
16034,
3084,
62,
3672,
62,
2780,
33411,
645,
62,
16,
796,
366,
76,
40302,
1,
5357,
645,
62,
19,
796,
366,
6404,
272,
1
] |
number of tags containing 'java'. | SELECT COUNT(*) FROM Tags WHERE TagName LIKE '%java%' | [
17618,
286,
15940,
7268,
705,
12355,
4458,
46506,
327,
28270,
7,
28104,
16034,
44789,
33411,
17467,
5376,
34178,
705,
4,
12355,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
17618,
286,
15940,
7268,
705,
12355,
4458,
46506,
327,
28270,
7,
28104,
16034,
44789,
33411,
17467,
5376,
34178,
705,
4,
12355,
4,
6
] |
How many papers trevor perrier has in chi ? | SELECT DISTINCT COUNT(paper.paperid) FROM author, paper, venue, writes WHERE author.authorname = 'trevor perrier' AND venue.venueid = paper.venueid AND venue.venuename = 'chi' AND writes.authorid = author.authorid AND writes.paperid = paper.paperid | [
2437,
867,
9473,
2054,
20867,
583,
5277,
468,
287,
33166,
5633,
46506,
360,
8808,
1268,
4177,
327,
28270,
7,
20189,
13,
20189,
312,
8,
16034,
1772,
11,
3348,
11,
14359,
11,
6797,
33411,
1772,
13,
18439,
1211,
480,
796,
705,
83,
18218,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9473,
2054,
20867,
583,
5277,
468,
287,
33166,
5633,
46506,
360,
8808,
1268,
4177,
327,
28270,
7,
20189,
13,
20189,
312,
8,
16034,
1772,
11,
3348,
11,
14359,
11,
6797,
33411,
1772,
13,
18439,
1211,
480,
796,
705,
83,
18218,... |
What is the lowest Profits (billion $), when Market Value (billion $) is less than 201.3, when Headquarters is United States, and when Company is JPMorgan Chase? | SELECT MIN(profits__billion_) AS $_ FROM table_name_83 WHERE market_value__billion_$_ < 201.3 AND headquarters = "united states" AND company = "jpmorgan chase" | [
2061,
318,
262,
9016,
4415,
896,
357,
24540,
720,
828,
618,
5991,
11052,
357,
24540,
720,
8,
318,
1342,
621,
580,
13,
18,
11,
618,
32193,
318,
1578,
1829,
11,
290,
618,
5834,
318,
43318,
16346,
30,
46506,
20625,
7,
31504,
834,
24540... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
9016,
4415,
896,
357,
24540,
720,
828,
618,
5991,
11052,
357,
24540,
720,
8,
318,
1342,
621,
580,
13,
18,
11,
618,
32193,
318,
1578,
1829,
11,
290,
618,
5834,
318,
43318,
16346,
30,
46506,
20625,
7,
31504,
834,
24540... |
in the dominican republic , does the province of independencia or the province of barahona have a smaller population ? | SELECT "province" FROM table_203_152 WHERE "province" IN ('independencia', 'barahona') ORDER BY "population" LIMIT 1 | [
259,
262,
7462,
7490,
17146,
837,
857,
262,
8473,
286,
3485,
29634,
393,
262,
8473,
286,
2318,
993,
4450,
423,
257,
4833,
3265,
5633,
46506,
366,
15234,
924,
1,
16034,
3084,
62,
22416,
62,
17827,
33411,
366,
15234,
924,
1,
3268,
19203... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
7462,
7490,
17146,
837,
857,
262,
8473,
286,
3485,
29634,
393,
262,
8473,
286,
2318,
993,
4450,
423,
257,
4833,
3265,
5633,
46506,
366,
15234,
924,
1,
16034,
3084,
62,
22416,
62,
17827,
33411,
366,
15234,
924,
1,
3268,
19203... |
How many rushing yards are listed when the passing yards are 244? | SELECT "Rushing yards" FROM table_30693 WHERE "Passing yards" = '244' | [
2437,
867,
15795,
5695,
389,
5610,
618,
262,
6427,
5695,
389,
35264,
30,
46506,
366,
49,
8023,
5695,
1,
16034,
3084,
62,
1270,
48528,
33411,
366,
14478,
278,
5695,
1,
796,
705,
25707,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
15795,
5695,
389,
5610,
618,
262,
6427,
5695,
389,
35264,
30,
46506,
366,
49,
8023,
5695,
1,
16034,
3084,
62,
1270,
48528,
33411,
366,
14478,
278,
5695,
1,
796,
705,
25707,
6
] |
For the days with the 3 largest maximum gust speeds, calculate the total average temperature of each month (bin date into month level). | SELECT date, SUM(mean_temperature_f) FROM weather ORDER BY max_gust_speed_mph DESC LIMIT 3 | [
1890,
262,
1528,
351,
262,
513,
4387,
5415,
35253,
12055,
11,
15284,
262,
2472,
2811,
5951,
286,
1123,
1227,
357,
8800,
3128,
656,
1227,
1241,
737,
46506,
3128,
11,
35683,
7,
32604,
62,
11498,
21069,
62,
69,
8,
16034,
6193,
38678,
110... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
262,
1528,
351,
262,
513,
4387,
5415,
35253,
12055,
11,
15284,
262,
2472,
2811,
5951,
286,
1123,
1227,
357,
8800,
3128,
656,
1227,
1241,
737,
46506,
3128,
11,
35683,
7,
32604,
62,
11498,
21069,
62,
69,
8,
16034,
6193,
38678,
110... |
What is the lowest Rank, when the Current Seating Capacity is 137,000? | SELECT MIN(rank) FROM table_name_55 WHERE current_seating_capacity = 137 OFFSET 000 | [
2061,
318,
262,
9016,
10916,
11,
618,
262,
9236,
1001,
803,
29765,
318,
21643,
11,
830,
30,
46506,
20625,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
2816,
33411,
1459,
62,
325,
803,
62,
42404,
796,
21643,
3963,
10652,
2767,
12877
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
10916,
11,
618,
262,
9236,
1001,
803,
29765,
318,
21643,
11,
830,
30,
46506,
20625,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
2816,
33411,
1459,
62,
325,
803,
62,
42404,
796,
21643,
3963,
10652,
2767,
12877
] |
Which school added a player to the Lakers in 1948? | SELECT "School/Country" FROM table_32995 WHERE "From" = '1948' | [
13828,
1524,
2087,
257,
2137,
284,
262,
19616,
287,
21794,
30,
46506,
366,
26130,
14,
33921,
1,
16034,
3084,
62,
37967,
3865,
33411,
366,
4863,
1,
796,
705,
1129,
2780,
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
] | [
13828,
1524,
2087,
257,
2137,
284,
262,
19616,
287,
21794,
30,
46506,
366,
26130,
14,
33921,
1,
16034,
3084,
62,
37967,
3865,
33411,
366,
4863,
1,
796,
705,
1129,
2780,
6
] |
What are the names of all songs that are in mp3 format and have a resolution lower than 1000? | SELECT T2.song_name FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T1.formats = "mp3" INTERSECT SELECT song_name FROM song WHERE resolution < 1000 | [
2061,
389,
262,
3891,
286,
477,
7259,
326,
389,
287,
29034,
18,
5794,
290,
423,
257,
6323,
2793,
621,
8576,
30,
46506,
309,
17,
13,
34050,
62,
3672,
16034,
3696,
7054,
309,
16,
32357,
1268,
3496,
7054,
309,
17,
6177,
309,
16,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
389,
262,
3891,
286,
477,
7259,
326,
389,
287,
29034,
18,
5794,
290,
423,
257,
6323,
2793,
621,
8576,
30,
46506,
309,
17,
13,
34050,
62,
3672,
16034,
3696,
7054,
309,
16,
32357,
1268,
3496,
7054,
309,
17,
6177,
309,
16,
13,
... |
until 2 years ago what are the four most frequent microbiological tests given to patients within 2 months after receiving infectious disease consultation? | SELECT t3.culturesite FROM (SELECT t2.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'infectious disease consultation' AND DATETIM... | [
28446,
362,
812,
2084,
644,
389,
262,
1440,
749,
10792,
24559,
2770,
5254,
1813,
284,
3871,
1626,
362,
1933,
706,
6464,
25246,
4369,
18103,
30,
46506,
256,
18,
13,
40820,
942,
578,
16034,
357,
46506,
256,
17,
13,
40820,
942,
578,
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,
1,
1... | [
28446,
362,
812,
2084,
644,
389,
262,
1440,
749,
10792,
24559,
2770,
5254,
1813,
284,
3871,
1626,
362,
1933,
706,
6464,
25246,
4369,
18103,
30,
46506,
256,
18,
13,
40820,
942,
578,
16034,
357,
46506,
256,
17,
13,
40820,
942,
578,
11,
... |
Please list the years of film market estimations when the market is in country 'Japan' in descending order, and count them by a line chart | SELECT Year, COUNT(Year) FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID WHERE T2.Country = "Japan" ORDER BY T1.Year DESC | [
5492,
1351,
262,
812,
286,
2646,
1910,
3959,
602,
618,
262,
1910,
318,
287,
1499,
705,
16504,
6,
287,
31491,
1502,
11,
290,
954,
606,
416,
257,
1627,
8262,
46506,
6280,
11,
327,
28270,
7,
17688,
8,
16034,
2646,
62,
10728,
62,
395,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5492,
1351,
262,
812,
286,
2646,
1910,
3959,
602,
618,
262,
1910,
318,
287,
1499,
705,
16504,
6,
287,
31491,
1502,
11,
290,
954,
606,
416,
257,
1627,
8262,
46506,
6280,
11,
327,
28270,
7,
17688,
8,
16034,
2646,
62,
10728,
62,
395,
... |
What is the 100 year for Carbon Dioxide? | SELECT 100 AS _yr FROM table_21350772_2 WHERE gas_name = "Carbon dioxide" | [
2061,
318,
262,
1802,
614,
329,
23699,
360,
16671,
30,
46506,
1802,
7054,
4808,
2417,
16034,
3084,
62,
26427,
1120,
43571,
62,
17,
33411,
3623,
62,
3672,
796,
366,
9914,
4189,
17556,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1802,
614,
329,
23699,
360,
16671,
30,
46506,
1802,
7054,
4808,
2417,
16034,
3084,
62,
26427,
1120,
43571,
62,
17,
33411,
3623,
62,
3672,
796,
366,
9914,
4189,
17556,
1
] |
what was the average chart position of their singles in the uk ? | SELECT AVG("peak chart positions\nuk") FROM table_203_661 | [
10919,
373,
262,
2811,
8262,
2292,
286,
511,
25287,
287,
262,
334,
74,
5633,
46506,
35224,
7203,
36729,
8262,
6116,
59,
77,
2724,
4943,
16034,
3084,
62,
22416,
62,
47159
] | [
1,
1,
1,
1,
1,
1,
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,
2811,
8262,
2292,
286,
511,
25287,
287,
262,
334,
74,
5633,
46506,
35224,
7203,
36729,
8262,
6116,
59,
77,
2724,
4943,
16034,
3084,
62,
22416,
62,
47159
] |
Who was the opponent of the New Orleans Saints? | SELECT "Result" FROM table_32742 WHERE "Opponent" = 'new orleans saints' | [
8241,
373,
262,
6125,
286,
262,
968,
12255,
13048,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
34159,
3682,
33411,
366,
27524,
3471,
1,
796,
705,
3605,
393,
11861,
31728,
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
] | [
8241,
373,
262,
6125,
286,
262,
968,
12255,
13048,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
34159,
3682,
33411,
366,
27524,
3471,
1,
796,
705,
3605,
393,
11861,
31728,
6
] |
What is the highest number won with a difference of 1? | SELECT MAX(won) FROM table_15331868_1 WHERE difference = "1" | [
2061,
318,
262,
4511,
1271,
1839,
351,
257,
3580,
286,
352,
30,
46506,
25882,
7,
26502,
8,
16034,
3084,
62,
1314,
2091,
1507,
3104,
62,
16,
33411,
3580,
796,
366,
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
] | [
2061,
318,
262,
4511,
1271,
1839,
351,
257,
3580,
286,
352,
30,
46506,
25882,
7,
26502,
8,
16034,
3084,
62,
1314,
2091,
1507,
3104,
62,
16,
33411,
3580,
796,
366,
16,
1
] |
How many accounts do we have? | SELECT COUNT(*) FROM accounts | [
2437,
867,
5504,
466,
356,
423,
30,
46506,
327,
28270,
7,
28104,
16034,
5504
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
5504,
466,
356,
423,
30,
46506,
327,
28270,
7,
28104,
16034,
5504
] |
van isle by rep. | SELECT Location, DisplayName, Reputation, UpVotes, DownVotes, LastAccessDate FROM Users WHERE (Location LIKE '%Vancouver Island%' OR Location LIKE '%Victoria%' OR Location LIKE '%Squamish%' OR Location LIKE '%Duncan%' OR Location LIKE '%Ladysmith%' OR Location LIKE '%Nanaimo%' OR Location LIKE '%Courtenay%' OR Location... | [
10438,
318,
293,
416,
1128,
13,
46506,
13397,
11,
16531,
5376,
11,
1432,
7094,
11,
3205,
53,
6421,
11,
5588,
53,
6421,
11,
4586,
15457,
10430,
16034,
18987,
33411,
357,
14749,
34178,
705,
4,
53,
10264,
5451,
4,
6,
6375,
13397,
34178,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10438,
318,
293,
416,
1128,
13,
46506,
13397,
11,
16531,
5376,
11,
1432,
7094,
11,
3205,
53,
6421,
11,
5588,
53,
6421,
11,
4586,
15457,
10430,
16034,
18987,
33411,
357,
14749,
34178,
705,
4,
53,
10264,
5451,
4,
6,
6375,
13397,
34178,
... |
what is the number of patients whose ethnicity is white - russian and age is less than 77? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND demographic.age < "77" | [
10919,
318,
262,
1271,
286,
3871,
3025,
26289,
318,
2330,
532,
374,
31562,
290,
2479,
318,
1342,
621,
8541,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
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
] | [
10919,
318,
262,
1271,
286,
3871,
3025,
26289,
318,
2330,
532,
374,
31562,
290,
2479,
318,
1342,
621,
8541,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,... |
Gini coefficient for number of posts. | WITH a AS (SELECT COUNT(Id) AS n_posts, OwnerUserId FROM Posts WHERE PostTypeId = 2 AND TIME_TO_STR(CreationDate, '%Y') = 2019 GROUP BY OwnerUserId, TIME_TO_STR(CreationDate, '%m')), b AS (SELECT COUNT(n_posts) OVER (ORDER BY n_posts + 0.000000001 * OwnerUserId DESC) AS users_quantile, SUM(n_posts) OVER (ORDER BY n_pos... | [
38,
5362,
35381,
329,
1271,
286,
6851,
13,
54,
10554,
257,
7054,
357,
46506,
327,
28270,
7,
7390,
8,
7054,
299,
62,
24875,
11,
23853,
12982,
7390,
16034,
12043,
33411,
2947,
6030,
7390,
796,
362,
5357,
20460,
62,
10468,
62,
18601,
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... | [
38,
5362,
35381,
329,
1271,
286,
6851,
13,
54,
10554,
257,
7054,
357,
46506,
327,
28270,
7,
7390,
8,
7054,
299,
62,
24875,
11,
23853,
12982,
7390,
16034,
12043,
33411,
2947,
6030,
7390,
796,
362,
5357,
20460,
62,
10468,
62,
18601,
7,
... |
what is the winner name and team for the copa am rica de ciclismo race ? | SELECT "winner", "team" FROM table_204_48 WHERE "race name" = 'copa america de ciclismo' | [
10919,
318,
262,
8464,
1438,
290,
1074,
329,
262,
2243,
64,
716,
374,
3970,
390,
269,
291,
75,
44126,
3234,
5633,
46506,
366,
39791,
1600,
366,
15097,
1,
16034,
3084,
62,
18638,
62,
2780,
33411,
366,
16740,
1438,
1,
796,
705,
22163,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8464,
1438,
290,
1074,
329,
262,
2243,
64,
716,
374,
3970,
390,
269,
291,
75,
44126,
3234,
5633,
46506,
366,
39791,
1600,
366,
15097,
1,
16034,
3084,
62,
18638,
62,
2780,
33411,
366,
16740,
1438,
1,
796,
705,
22163,
... |
A bar chart showing the number of films each cinema has. | SELECT Name, COUNT(Name) 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 Name | [
32,
2318,
8262,
4478,
262,
1271,
286,
7328,
1123,
22041,
468,
13,
46506,
6530,
11,
327,
28270,
7,
5376,
8,
16034,
7269,
7054,
309,
16,
32357,
1268,
2646,
7054,
309,
17,
6177,
309,
16,
13,
39750,
62,
2389,
796,
309,
17,
13,
39750,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4478,
262,
1271,
286,
7328,
1123,
22041,
468,
13,
46506,
6530,
11,
327,
28270,
7,
5376,
8,
16034,
7269,
7054,
309,
16,
32357,
1268,
2646,
7054,
309,
17,
6177,
309,
16,
13,
39750,
62,
2389,
796,
309,
17,
13,
39750,
... |
must have systemic inflammatory response syndrome ( sirs ) | SELECT * FROM table_train_36 WHERE sepsis = 1 | [
27238,
423,
21971,
23760,
2882,
14027,
357,
15967,
82,
1267,
46506,
1635,
16034,
3084,
62,
27432,
62,
2623,
33411,
384,
862,
271,
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
] | [
27238,
423,
21971,
23760,
2882,
14027,
357,
15967,
82,
1267,
46506,
1635,
16034,
3084,
62,
27432,
62,
2623,
33411,
384,
862,
271,
796,
352
] |
What show has Cameron Humphries DJ'ing? | SELECT "Show Name" FROM table_13895 WHERE "DJ's" = 'cameron humphries' | [
2061,
905,
468,
10821,
32787,
1678,
13004,
6,
278,
30,
46506,
366,
15307,
6530,
1,
16034,
3084,
62,
20107,
3865,
33411,
366,
35028,
338,
1,
796,
705,
66,
41639,
1311,
746,
1678,
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,
905,
468,
10821,
32787,
1678,
13004,
6,
278,
30,
46506,
366,
15307,
6530,
1,
16034,
3084,
62,
20107,
3865,
33411,
366,
35028,
338,
1,
796,
705,
66,
41639,
1311,
746,
1678,
6
] |
How did Cleveland do in the regular season in 2006? | SELECT "Regular Season" FROM table_26157 WHERE "Year" = '2006' | [
2437,
750,
10306,
466,
287,
262,
3218,
1622,
287,
4793,
30,
46506,
366,
40164,
7369,
1,
16034,
3084,
62,
2075,
18458,
33411,
366,
17688,
1,
796,
705,
13330,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
750,
10306,
466,
287,
262,
3218,
1622,
287,
4793,
30,
46506,
366,
40164,
7369,
1,
16034,
3084,
62,
2075,
18458,
33411,
366,
17688,
1,
796,
705,
13330,
6
] |
How many answers have I given and what are their scores?. | SELECT Id, ParentId, Score, CreationDate FROM Posts WHERE Posts.OwnerUserId = @UserId AND Posts.PostTypeId = 2 AND Posts.CreationDate > @asOf ORDER BY Score DESC | [
2437,
867,
7429,
423,
314,
1813,
290,
644,
389,
511,
8198,
30,
13,
46506,
5121,
11,
16774,
7390,
11,
15178,
11,
21582,
10430,
16034,
12043,
33411,
12043,
13,
42419,
12982,
7390,
796,
2488,
12982,
7390,
5357,
12043,
13,
6307,
6030,
7390,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
7429,
423,
314,
1813,
290,
644,
389,
511,
8198,
30,
13,
46506,
5121,
11,
16774,
7390,
11,
15178,
11,
21582,
10430,
16034,
12043,
33411,
12043,
13,
42419,
12982,
7390,
796,
2488,
12982,
7390,
5357,
12043,
13,
6307,
6030,
7390,... |
For those employees who do not work in departments with managers that have ids between 100 and 200, a line chart shows the change of employee_id over hire_date, and could you order x-axis in descending order? | SELECT HIRE_DATE, EMPLOYEE_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY HIRE_DATE DESC | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
257,
1627,
8262,
2523,
262,
1487,
286,
6538,
62,
312,
625,
11078,
62,
4475,
11,
290,
714,
345,
1502,
2124,
12,
22704,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
257,
1627,
8262,
2523,
262,
1487,
286,
6538,
62,
312,
625,
11078,
62,
4475,
11,
290,
714,
345,
1502,
2124,
12,
22704,
287,
... |
What was the date of appointment for the replaced manager, reiner geyer? | SELECT "Date of appointment" FROM table_47899 WHERE "Replaced by" = 'reiner geyer' | [
2061,
373,
262,
3128,
286,
12557,
329,
262,
6928,
4706,
11,
6865,
263,
308,
2959,
263,
30,
46506,
366,
10430,
286,
12557,
1,
16034,
3084,
62,
29059,
2079,
33411,
366,
3041,
21820,
416,
1,
796,
705,
260,
7274,
308,
2959,
263,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
3128,
286,
12557,
329,
262,
6928,
4706,
11,
6865,
263,
308,
2959,
263,
30,
46506,
366,
10430,
286,
12557,
1,
16034,
3084,
62,
29059,
2079,
33411,
366,
3041,
21820,
416,
1,
796,
705,
260,
7274,
308,
2959,
263,
6
] |
who was the home team in the game on the top of the table ? | SELECT "home team" FROM table_204_861 WHERE id = 1 | [
8727,
373,
262,
1363,
1074,
287,
262,
983,
319,
262,
1353,
286,
262,
3084,
5633,
46506,
366,
11195,
1074,
1,
16034,
3084,
62,
18638,
62,
4521,
16,
33411,
4686,
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,
1
] | [
8727,
373,
262,
1363,
1074,
287,
262,
983,
319,
262,
1353,
286,
262,
3084,
5633,
46506,
366,
11195,
1074,
1,
16034,
3084,
62,
18638,
62,
4521,
16,
33411,
4686,
796,
352
] |
What is the Score, when the Year is after 2007, and when the Country is England? | SELECT "Score" FROM table_14571 WHERE "Year" > '2007' AND "Country" = 'england' | [
2061,
318,
262,
15178,
11,
618,
262,
6280,
318,
706,
4343,
11,
290,
618,
262,
12946,
318,
4492,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
1415,
42875,
33411,
366,
17688,
1,
1875,
705,
12726,
6,
5357,
366,
33921,
1,
796,
705,
1516,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11,
618,
262,
6280,
318,
706,
4343,
11,
290,
618,
262,
12946,
318,
4492,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
1415,
42875,
33411,
366,
17688,
1,
1875,
705,
12726,
6,
5357,
366,
33921,
1,
796,
705,
1516,
... |
What was the date of game with a score of 42-6? | SELECT "Date" FROM table_32178 WHERE "Score" = '42-6' | [
2061,
373,
262,
3128,
286,
983,
351,
257,
4776,
286,
5433,
12,
21,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2624,
23188,
33411,
366,
26595,
1,
796,
705,
3682,
12,
21,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
3128,
286,
983,
351,
257,
4776,
286,
5433,
12,
21,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2624,
23188,
33411,
366,
26595,
1,
796,
705,
3682,
12,
21,
6
] |
What school or club team did the player chosen for the Sacramento Monarchs play for? | SELECT "School/Club Team" FROM table_39650 WHERE "WNBA Team" = 'sacramento monarchs' | [
2061,
1524,
393,
3430,
1074,
750,
262,
2137,
7147,
329,
262,
19375,
2892,
34592,
711,
329,
30,
46506,
366,
26130,
14,
42350,
4816,
1,
16034,
3084,
62,
2670,
17544,
33411,
366,
29767,
4339,
4816,
1,
796,
705,
30584,
15141,
78,
26464,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1524,
393,
3430,
1074,
750,
262,
2137,
7147,
329,
262,
19375,
2892,
34592,
711,
329,
30,
46506,
366,
26130,
14,
42350,
4816,
1,
16034,
3084,
62,
2670,
17544,
33411,
366,
29767,
4339,
4816,
1,
796,
705,
30584,
15141,
78,
26464,
8... |
what is the date when the format is cd (limited edition steel-box) from united kingdom? | SELECT "Date" FROM table_63085 WHERE "Format" = 'cd (limited edition steel-box)' AND "Country" = 'united kingdom' | [
10919,
318,
262,
3128,
618,
262,
5794,
318,
22927,
357,
10698,
8313,
7771,
12,
3524,
8,
422,
16503,
13239,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
30005,
5332,
33411,
366,
26227,
1,
796,
705,
10210,
357,
10698,
8313,
7771,
12,
3524... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
618,
262,
5794,
318,
22927,
357,
10698,
8313,
7771,
12,
3524,
8,
422,
16503,
13239,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
30005,
5332,
33411,
366,
26227,
1,
796,
705,
10210,
357,
10698,
8313,
7771,
12,
3524... |
What publishers were involved with product number SCUS-97265? | SELECT "Publisher" FROM table_113 WHERE "Product No." = 'SCUS-97265' | [
2061,
17604,
547,
2950,
351,
1720,
1271,
6374,
2937,
12,
5607,
22980,
30,
46506,
366,
46471,
1,
16034,
3084,
62,
16616,
33411,
366,
15667,
1400,
526,
796,
705,
6173,
2937,
12,
5607,
22980,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
17604,
547,
2950,
351,
1720,
1271,
6374,
2937,
12,
5607,
22980,
30,
46506,
366,
46471,
1,
16034,
3084,
62,
16616,
33411,
366,
15667,
1400,
526,
796,
705,
6173,
2937,
12,
5607,
22980,
6
] |
what is the daily minimum amount of output (ml)-external urethral device that patient 002-41152 had last month? | SELECT MIN(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 = '002-41152')) AND intakeoutput.celllabel = 'outpu... | [
10919,
318,
262,
4445,
5288,
2033,
286,
5072,
357,
4029,
13219,
22615,
334,
40978,
1373,
3335,
326,
5827,
3571,
17,
12,
42224,
4309,
550,
938,
1227,
30,
46506,
20625,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
4445,
5288,
2033,
286,
5072,
357,
4029,
13219,
22615,
334,
40978,
1373,
3335,
326,
5827,
3571,
17,
12,
42224,
4309,
550,
938,
1227,
30,
46506,
20625,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337... |
what is the tournament when the outcome is winner and the opponents is kerry-anne guse corina morariu? | SELECT tournament FROM table_name_39 WHERE outcome = "winner" AND opponents = "kerry-anne guse corina morariu" | [
10919,
318,
262,
7756,
618,
262,
8055,
318,
8464,
290,
262,
7691,
318,
479,
6996,
12,
21952,
915,
325,
1162,
1437,
2146,
2743,
84,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
2670,
33411,
8055,
796,
366,
39791,
1,
5357,
7691,
796,
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
] | [
10919,
318,
262,
7756,
618,
262,
8055,
318,
8464,
290,
262,
7691,
318,
479,
6996,
12,
21952,
915,
325,
1162,
1437,
2146,
2743,
84,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
2670,
33411,
8055,
796,
366,
39791,
1,
5357,
7691,
796,
3... |
How many silvers for the nation with under 6 total and under 0 bronze? | SELECT COUNT(silver) FROM table_name_62 WHERE total < 6 AND bronze < 0 | [
2437,
867,
3313,
690,
329,
262,
3277,
351,
739,
718,
2472,
290,
739,
657,
22101,
30,
46506,
327,
28270,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
5237,
33411,
2472,
1279,
718,
5357,
22101,
1279,
657
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
3313,
690,
329,
262,
3277,
351,
739,
718,
2472,
290,
739,
657,
22101,
30,
46506,
327,
28270,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
5237,
33411,
2472,
1279,
718,
5357,
22101,
1279,
657
] |
When did the score of 2-0 take place? | SELECT "Date" FROM table_11300 WHERE "Score" = '2-0' | [
2215,
750,
262,
4776,
286,
362,
12,
15,
1011,
1295,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
1157,
6200,
33411,
366,
26595,
1,
796,
705,
17,
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,
1,
1
] | [
2215,
750,
262,
4776,
286,
362,
12,
15,
1011,
1295,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
1157,
6200,
33411,
366,
26595,
1,
796,
705,
17,
12,
15,
6
] |
Which club has 15 losses and 14 wins? | SELECT club FROM table_name_60 WHERE losses = 15 AND wins = 14 | [
13828,
3430,
468,
1315,
9089,
290,
1478,
7864,
30,
46506,
3430,
16034,
3084,
62,
3672,
62,
1899,
33411,
9089,
796,
1315,
5357,
7864,
796,
1478
] | [
1,
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,
3430,
468,
1315,
9089,
290,
1478,
7864,
30,
46506,
3430,
16034,
3084,
62,
3672,
62,
1899,
33411,
9089,
796,
1315,
5357,
7864,
796,
1478
] |
How many games was High Points andre iguodala (29)? | SELECT COUNT(game) FROM table_17323042_11 WHERE high_points = "Andre Iguodala (29)" | [
2437,
867,
1830,
373,
3334,
11045,
290,
260,
45329,
84,
375,
6081,
357,
1959,
19427,
46506,
327,
28270,
7,
6057,
8,
16034,
3084,
62,
1558,
2624,
1270,
3682,
62,
1157,
33411,
1029,
62,
13033,
796,
366,
31258,
314,
5162,
375,
6081,
357,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1830,
373,
3334,
11045,
290,
260,
45329,
84,
375,
6081,
357,
1959,
19427,
46506,
327,
28270,
7,
6057,
8,
16034,
3084,
62,
1558,
2624,
1270,
3682,
62,
1157,
33411,
1029,
62,
13033,
796,
366,
31258,
314,
5162,
375,
6081,
357,... |
What was the cougars record during the game where Boston were the visitors? | SELECT "Record" FROM table_35012 WHERE "Visitor" = 'boston' | [
2061,
373,
262,
2284,
25821,
1700,
1141,
262,
983,
810,
6182,
547,
262,
9692,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
2327,
30206,
33411,
366,
15854,
2072,
1,
796,
705,
65,
5744,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
2284,
25821,
1700,
1141,
262,
983,
810,
6182,
547,
262,
9692,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
2327,
30206,
33411,
366,
15854,
2072,
1,
796,
705,
65,
5744,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.