instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What's the lowest Overall average that has a College of Arkansas, and a Round larger than 3? | SELECT MIN(overall) FROM table_name_51 WHERE college = "arkansas" AND round > 3 | [
2061,
338,
262,
9016,
14674,
2811,
326,
468,
257,
5535,
286,
14538,
11,
290,
257,
10485,
4025,
621,
513,
30,
46506,
20625,
7,
2502,
439,
8,
16034,
3084,
62,
3672,
62,
4349,
33411,
4152,
796,
366,
668,
6618,
1,
5357,
2835,
1875,
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
] | [
2061,
338,
262,
9016,
14674,
2811,
326,
468,
257,
5535,
286,
14538,
11,
290,
257,
10485,
4025,
621,
513,
30,
46506,
20625,
7,
2502,
439,
8,
16034,
3084,
62,
3672,
62,
4349,
33411,
4152,
796,
366,
668,
6618,
1,
5357,
2835,
1875,
513
... |
What is the Total againsts for the Sant'Anna team with a position number greater than 10? | SELECT COUNT("Against") FROM table_39941 WHERE "Team" = 'sant''anna' AND "Position" > '10' | [
2061,
318,
262,
7472,
1028,
82,
329,
262,
10844,
6,
31160,
1074,
351,
257,
2292,
1271,
3744,
621,
838,
30,
46506,
327,
28270,
7203,
39276,
4943,
16034,
3084,
62,
28771,
3901,
33411,
366,
15592,
1,
796,
705,
82,
415,
7061,
7697,
6,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7472,
1028,
82,
329,
262,
10844,
6,
31160,
1074,
351,
257,
2292,
1271,
3744,
621,
838,
30,
46506,
327,
28270,
7203,
39276,
4943,
16034,
3084,
62,
28771,
3901,
33411,
366,
15592,
1,
796,
705,
82,
415,
7061,
7697,
6,
5... |
What is AAM Member, when AAM Accredited is No, when State is California, when ASTC Member is Yes, and when City is Sacramento? | SELECT "AAM Member" FROM table_42125 WHERE "AAM Accredited" = 'no' AND "State" = 'california' AND "ASTC Member" = 'yes' AND "City" = 'sacramento' | [
2061,
318,
317,
2390,
10239,
11,
618,
317,
2390,
6366,
19465,
318,
1400,
11,
618,
1812,
318,
3442,
11,
618,
29273,
34,
10239,
318,
3363,
11,
290,
618,
2254,
318,
19375,
30,
46506,
366,
32,
2390,
10239,
1,
16034,
3084,
62,
3682,
1162... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
317,
2390,
10239,
11,
618,
317,
2390,
6366,
19465,
318,
1400,
11,
618,
1812,
318,
3442,
11,
618,
29273,
34,
10239,
318,
3363,
11,
290,
618,
2254,
318,
19375,
30,
46506,
366,
32,
2390,
10239,
1,
16034,
3084,
62,
3682,
1162... |
In which division did they compete in 2012? | SELECT "Division / Section" FROM table_22180 WHERE "Season" = '2012' | [
818,
543,
7297,
750,
484,
9320,
287,
2321,
30,
46506,
366,
24095,
1166,
1220,
7275,
1,
16034,
3084,
62,
1828,
15259,
33411,
366,
18960,
1,
796,
705,
6999,
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
] | [
818,
543,
7297,
750,
484,
9320,
287,
2321,
30,
46506,
366,
24095,
1166,
1220,
7275,
1,
16034,
3084,
62,
1828,
15259,
33411,
366,
18960,
1,
796,
705,
6999,
6
] |
What is the tally with a total larger than 8, Waterford was the opposition? | SELECT tally FROM table_name_73 WHERE total > 8 AND opposition = "waterford" | [
2061,
318,
262,
26767,
351,
257,
2472,
4025,
621,
807,
11,
5638,
3841,
373,
262,
5471,
30,
46506,
26767,
16034,
3084,
62,
3672,
62,
4790,
33411,
2472,
1875,
807,
5357,
5471,
796,
366,
7050,
3841,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26767,
351,
257,
2472,
4025,
621,
807,
11,
5638,
3841,
373,
262,
5471,
30,
46506,
26767,
16034,
3084,
62,
3672,
62,
4790,
33411,
2472,
1875,
807,
5357,
5471,
796,
366,
7050,
3841,
1
] |
What is the injured that has skierlik as the location? | SELECT "Injured" FROM table_61197 WHERE "Location" = 'skierlik' | [
2061,
318,
262,
6686,
326,
468,
1341,
959,
46965,
355,
262,
4067,
30,
46506,
366,
818,
38608,
1,
16034,
3084,
62,
5333,
24991,
33411,
366,
14749,
1,
796,
705,
8135,
959,
46965,
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,
318,
262,
6686,
326,
468,
1341,
959,
46965,
355,
262,
4067,
30,
46506,
366,
818,
38608,
1,
16034,
3084,
62,
5333,
24991,
33411,
366,
14749,
1,
796,
705,
8135,
959,
46965,
6
] |
What's the total against when the draws are more than 0? | SELECT COUNT("Against") FROM table_64363 WHERE "Draws" > '0' | [
2061,
338,
262,
2472,
1028,
618,
262,
14293,
389,
517,
621,
657,
30,
46506,
327,
28270,
7203,
39276,
4943,
16034,
3084,
62,
2414,
35447,
33411,
366,
25302,
82,
1,
1875,
705,
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,
1,
1,
1
] | [
2061,
338,
262,
2472,
1028,
618,
262,
14293,
389,
517,
621,
657,
30,
46506,
327,
28270,
7203,
39276,
4943,
16034,
3084,
62,
2414,
35447,
33411,
366,
25302,
82,
1,
1875,
705,
15,
6
] |
What was the decision on November 26? | SELECT decision FROM table_name_18 WHERE date = "november 26" | [
2061,
373,
262,
2551,
319,
3389,
2608,
30,
46506,
2551,
16034,
3084,
62,
3672,
62,
1507,
33411,
3128,
796,
366,
77,
3239,
2608,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
2551,
319,
3389,
2608,
30,
46506,
2551,
16034,
3084,
62,
3672,
62,
1507,
33411,
3128,
796,
366,
77,
3239,
2608,
1
] |
Which track has the original album turbulent indigo? | SELECT AVG(track) FROM table_name_59 WHERE original_album = "turbulent indigo" | [
13828,
2610,
468,
262,
2656,
5062,
42291,
773,
14031,
30,
46506,
35224,
7,
11659,
8,
16034,
3084,
62,
3672,
62,
3270,
33411,
2656,
62,
40916,
796,
366,
83,
5945,
15288,
773,
14031,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2610,
468,
262,
2656,
5062,
42291,
773,
14031,
30,
46506,
35224,
7,
11659,
8,
16034,
3084,
62,
3672,
62,
3270,
33411,
2656,
62,
40916,
796,
366,
83,
5945,
15288,
773,
14031,
1
] |
What are the names of races held between 2009 and 2011, and count them by a bar chart | SELECT name, COUNT(name) FROM races WHERE year BETWEEN 2009 AND 2011 GROUP BY name | [
2061,
389,
262,
3891,
286,
9558,
2714,
1022,
3717,
290,
2813,
11,
290,
954,
606,
416,
257,
2318,
8262,
46506,
1438,
11,
327,
28270,
7,
3672,
8,
16034,
9558,
33411,
614,
38651,
8845,
1677,
3717,
5357,
2813,
44441,
11050,
1438
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9558,
2714,
1022,
3717,
290,
2813,
11,
290,
954,
606,
416,
257,
2318,
8262,
46506,
1438,
11,
327,
28270,
7,
3672,
8,
16034,
9558,
33411,
614,
38651,
8845,
1677,
3717,
5357,
2813,
44441,
11050,
1438
] |
give me the AA flights from PHOENIX to MILWAUKEE 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, date_day, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MILWAUKEE' AND date_day.day_number = 23 AND date_day.month_number = 4 AN... | [
26535,
502,
262,
15923,
13956,
422,
9370,
46,
1677,
10426,
284,
31515,
15543,
15039,
6500,
319,
29445,
3462,
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... | [
26535,
502,
262,
15923,
13956,
422,
9370,
46,
1677,
10426,
284,
31515,
15543,
15039,
6500,
319,
29445,
3462,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
1... |
had the sao2 of patient 021-49416 been until 06/2105 ever less than 69.0? | SELECT COUNT(*) > 0 FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '021-49416')) AND vitalperiodic.sao2 < 69.0 AND NOT vitalperiodic.sao... | [
18108,
262,
473,
78,
17,
286,
5827,
657,
2481,
12,
2920,
35218,
587,
1566,
9130,
14,
17,
13348,
1683,
1342,
621,
8644,
13,
15,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
18108,
262,
473,
78,
17,
286,
5827,
657,
2481,
12,
2920,
35218,
587,
1566,
9130,
14,
17,
13348,
1683,
1342,
621,
8644,
13,
15,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,
... |
What is the MDR number of Rait Charhi Dharamshala? | SELECT MIN(mdr_no) FROM table_26036389_1 WHERE name_of_road = "Rait Charhi Dharamshala" | [
2061,
318,
262,
337,
7707,
1271,
286,
371,
4548,
3178,
5303,
360,
9869,
321,
1477,
6081,
30,
46506,
20625,
7,
76,
7109,
62,
3919,
8,
16034,
3084,
62,
21719,
2623,
29769,
62,
16,
33411,
1438,
62,
1659,
62,
6344,
796,
366,
49,
4548,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
337,
7707,
1271,
286,
371,
4548,
3178,
5303,
360,
9869,
321,
1477,
6081,
30,
46506,
20625,
7,
76,
7109,
62,
3919,
8,
16034,
3084,
62,
21719,
2623,
29769,
62,
16,
33411,
1438,
62,
1659,
62,
6344,
796,
366,
49,
4548,
... |
What is the date recorded of Hate? | SELECT recorded FROM table_name_34 WHERE translation = "hate" | [
2061,
318,
262,
3128,
6264,
286,
28334,
30,
46506,
6264,
16034,
3084,
62,
3672,
62,
2682,
33411,
11059,
796,
366,
37035,
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,
3128,
6264,
286,
28334,
30,
46506,
6264,
16034,
3084,
62,
3672,
62,
2682,
33411,
11059,
796,
366,
37035,
1
] |
Report the first name and last name of all the teachers. | SELECT DISTINCT firstname, lastname FROM teachers | [
19100,
262,
717,
1438,
290,
938,
1438,
286,
477,
262,
7799,
13,
46506,
360,
8808,
1268,
4177,
717,
3672,
11,
938,
3672,
16034,
7799
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
19100,
262,
717,
1438,
290,
938,
1438,
286,
477,
262,
7799,
13,
46506,
360,
8808,
1268,
4177,
717,
3672,
11,
938,
3672,
16034,
7799
] |
what was the total amount of times the tacoma not qualify for the playoffs during the years of 2006 to 2013 | SELECT COUNT(*) FROM table_204_463 WHERE "playoffs" = 'did not qualify' | [
10919,
373,
262,
2472,
2033,
286,
1661,
262,
26142,
6086,
407,
12780,
329,
262,
12980,
1141,
262,
812,
286,
4793,
284,
2211,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
38380,
33411,
366,
1759,
8210,
1,
796,
705,
20839,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
373,
262,
2472,
2033,
286,
1661,
262,
26142,
6086,
407,
12780,
329,
262,
12980,
1141,
262,
812,
286,
4793,
284,
2211,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
38380,
33411,
366,
1759,
8210,
1,
796,
705,
20839,
4... |
what times does CO depart from BOSTON to SAN FRANCISCO | SELECT DISTINCT flight.departure_time FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'S... | [
10919,
1661,
857,
7375,
6313,
422,
347,
10892,
1340,
284,
37376,
8782,
20940,
37719,
14058,
16779,
360,
8808,
1268,
4177,
5474,
13,
10378,
433,
495,
62,
2435,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
900... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1661,
857,
7375,
6313,
422,
347,
10892,
1340,
284,
37376,
8782,
20940,
37719,
14058,
16779,
360,
8808,
1268,
4177,
5474,
13,
10378,
433,
495,
62,
2435,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
900... |
Instances of 'well actually' in answers. | SELECT Id, Body FROM Posts WHERE PostTypeId = 2 AND (LOWER(Body) LIKE '%well actually%') | [
6310,
1817,
286,
705,
4053,
1682,
6,
287,
7429,
13,
46506,
5121,
11,
12290,
16034,
12043,
33411,
2947,
6030,
7390,
796,
362,
5357,
357,
43,
36048,
7,
25842,
8,
34178,
705,
4,
4053,
1682,
4,
11537
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
6310,
1817,
286,
705,
4053,
1682,
6,
287,
7429,
13,
46506,
5121,
11,
12290,
16034,
12043,
33411,
2947,
6030,
7390,
796,
362,
5357,
357,
43,
36048,
7,
25842,
8,
34178,
705,
4,
4053,
1682,
4,
11537
] |
which was the first film in kannada ? | SELECT "film" FROM table_204_546 WHERE "language" = 'kannada' ORDER BY "year" LIMIT 1 | [
4758,
373,
262,
717,
2646,
287,
479,
1236,
4763,
5633,
46506,
366,
26240,
1,
16034,
3084,
62,
18638,
62,
49489,
33411,
366,
16129,
1,
796,
705,
74,
1236,
4763,
6,
38678,
11050,
366,
1941,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
373,
262,
717,
2646,
287,
479,
1236,
4763,
5633,
46506,
366,
26240,
1,
16034,
3084,
62,
18638,
62,
49489,
33411,
366,
16129,
1,
796,
705,
74,
1236,
4763,
6,
38678,
11050,
366,
1941,
1,
27564,
2043,
352
] |
How many seasons have an Actual adjusted record of 0 19? | SELECT COUNT(season) FROM table_name_13 WHERE actual_adjusted_record = "0–19" | [
2437,
867,
7028,
423,
281,
33520,
12328,
1700,
286,
657,
678,
30,
46506,
327,
28270,
7,
6230,
8,
16034,
3084,
62,
3672,
62,
1485,
33411,
4036,
62,
29117,
62,
22105,
796,
366,
15,
1906,
1129,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7028,
423,
281,
33520,
12328,
1700,
286,
657,
678,
30,
46506,
327,
28270,
7,
6230,
8,
16034,
3084,
62,
3672,
62,
1485,
33411,
4036,
62,
29117,
62,
22105,
796,
366,
15,
1906,
1129,
1
] |
What home team has had a crowd bigger than 20,000? | SELECT "Home team" FROM table_78019 WHERE "Crowd" > '20,000' | [
2061,
1363,
1074,
468,
550,
257,
4315,
5749,
621,
1160,
11,
830,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
3695,
30484,
33411,
366,
34,
3986,
1,
1875,
705,
1238,
11,
830,
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,
1363,
1074,
468,
550,
257,
4315,
5749,
621,
1160,
11,
830,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
3695,
30484,
33411,
366,
34,
3986,
1,
1875,
705,
1238,
11,
830,
6
] |
Name the least episode for donnie klang | SELECT MIN("Episode") FROM table_73279 WHERE "Coach" = 'Donnie Klang' | [
5376,
262,
1551,
4471,
329,
836,
11952,
479,
17204,
46506,
20625,
7203,
23758,
4943,
16034,
3084,
62,
4790,
26050,
33411,
366,
40677,
1,
796,
705,
3987,
11952,
14770,
648,
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
] | [
5376,
262,
1551,
4471,
329,
836,
11952,
479,
17204,
46506,
20625,
7203,
23758,
4943,
16034,
3084,
62,
4790,
26050,
33411,
366,
40677,
1,
796,
705,
3987,
11952,
14770,
648,
6
] |
which head coach had the top win percentage ? | SELECT "coach" FROM table_203_593 WHERE "pct." = (SELECT MAX("pct.") FROM table_203_593) | [
4758,
1182,
3985,
550,
262,
1353,
1592,
5873,
5633,
46506,
366,
1073,
620,
1,
16034,
3084,
62,
22416,
62,
49051,
33411,
366,
79,
310,
526,
796,
357,
46506,
25882,
7203,
79,
310,
19570,
16034,
3084,
62,
22416,
62,
49051,
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
] | [
4758,
1182,
3985,
550,
262,
1353,
1592,
5873,
5633,
46506,
366,
1073,
620,
1,
16034,
3084,
62,
22416,
62,
49051,
33411,
366,
79,
310,
526,
796,
357,
46506,
25882,
7203,
79,
310,
19570,
16034,
3084,
62,
22416,
62,
49051,
8
] |
Which Record label has a Title of ? | SELECT "Record label" FROM table_43804 WHERE "Title" = '诀别诗' | [
13828,
13266,
6167,
468,
257,
11851,
286,
5633,
46506,
366,
23739,
6167,
1,
16034,
3084,
62,
3559,
36088,
33411,
366,
19160,
1,
796,
705,
46237,
222,
26344,
104,
46237,
245,
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,
13266,
6167,
468,
257,
11851,
286,
5633,
46506,
366,
23739,
6167,
1,
16034,
3084,
62,
3559,
36088,
33411,
366,
19160,
1,
796,
705,
46237,
222,
26344,
104,
46237,
245,
6
] |
in this year, what are the five most frequent drugs prescribed to male patients 40s within 2 months after having been diagnosed with crnry athrscl natve vssl? | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE ... | [
259,
428,
614,
11,
644,
389,
262,
1936,
749,
10792,
5010,
14798,
284,
4257,
3871,
2319,
82,
1626,
362,
1933,
706,
1719,
587,
14641,
351,
1067,
77,
563,
5782,
3808,
565,
34664,
303,
410,
45163,
30,
46506,
256,
18,
13,
30349,
16034,
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... | [
259,
428,
614,
11,
644,
389,
262,
1936,
749,
10792,
5010,
14798,
284,
4257,
3871,
2319,
82,
1626,
362,
1933,
706,
1719,
587,
14641,
351,
1067,
77,
563,
5782,
3808,
565,
34664,
303,
410,
45163,
30,
46506,
256,
18,
13,
30349,
16034,
3... |
What's the total number of copies sold for the single that sold 206,030 in the first week? | SELECT COUNT(copies_sold) FROM table_name_43 WHERE first_week_sales = 206 OFFSET 030 | [
2061,
338,
262,
2472,
1271,
286,
9088,
2702,
329,
262,
2060,
326,
2702,
27253,
11,
39101,
287,
262,
717,
1285,
30,
46506,
327,
28270,
7,
22163,
444,
62,
24120,
8,
16034,
3084,
62,
3672,
62,
3559,
33411,
717,
62,
10464,
62,
82,
2040,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9088,
2702,
329,
262,
2060,
326,
2702,
27253,
11,
39101,
287,
262,
717,
1285,
30,
46506,
327,
28270,
7,
22163,
444,
62,
24120,
8,
16034,
3084,
62,
3672,
62,
3559,
33411,
717,
62,
10464,
62,
82,
2040,... |
What is the largest silver with Gold larger than 4, a Nation of united states, and a Total larger than 26? | SELECT MAX("Silver") FROM table_79953 WHERE "Gold" > '4' AND "Nation" = 'united states' AND "Total" > '26' | [
2061,
318,
262,
4387,
8465,
351,
3561,
4025,
621,
604,
11,
257,
8741,
286,
16503,
2585,
11,
290,
257,
7472,
4025,
621,
2608,
30,
46506,
25882,
7203,
26766,
4943,
16034,
3084,
62,
45455,
4310,
33411,
366,
13306,
1,
1875,
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,
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,
4387,
8465,
351,
3561,
4025,
621,
604,
11,
257,
8741,
286,
16503,
2585,
11,
290,
257,
7472,
4025,
621,
2608,
30,
46506,
25882,
7203,
26766,
4943,
16034,
3084,
62,
45455,
4310,
33411,
366,
13306,
1,
1875,
705,
19,
6,
... |
Which year has has a Engine of maserati straight-6? | SELECT COUNT("Year") FROM table_71846 WHERE "Engine" = 'maserati straight-6' | [
13828,
614,
468,
468,
257,
7117,
286,
285,
6005,
7246,
3892,
12,
21,
30,
46506,
327,
28270,
7203,
17688,
4943,
16034,
3084,
62,
45720,
3510,
33411,
366,
13798,
1,
796,
705,
5356,
263,
7246,
3892,
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,
1,
1,
1,
1,
1
] | [
13828,
614,
468,
468,
257,
7117,
286,
285,
6005,
7246,
3892,
12,
21,
30,
46506,
327,
28270,
7203,
17688,
4943,
16034,
3084,
62,
45720,
3510,
33411,
366,
13798,
1,
796,
705,
5356,
263,
7246,
3892,
12,
21,
6
] |
What are the average scores of participants with 9.226 in evening gown | SELECT "Average" FROM table_21280 WHERE "Evening Gown" = '9.226' | [
2061,
389,
262,
2811,
8198,
286,
6809,
351,
860,
13,
24909,
287,
6180,
33323,
46506,
366,
26287,
1,
16034,
3084,
62,
21777,
1795,
33411,
366,
6104,
278,
402,
593,
1,
796,
705,
24,
13,
24909,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
2811,
8198,
286,
6809,
351,
860,
13,
24909,
287,
6180,
33323,
46506,
366,
26287,
1,
16034,
3084,
62,
21777,
1795,
33411,
366,
6104,
278,
402,
593,
1,
796,
705,
24,
13,
24909,
6
] |
state the wins of the team with 2 top 10 | SELECT COUNT(wins) FROM table_2012187_1 WHERE top_10 = 2 | [
5219,
262,
7864,
286,
262,
1074,
351,
362,
1353,
838,
46506,
327,
28270,
7,
86,
1040,
8,
16034,
3084,
62,
6999,
23451,
62,
16,
33411,
1353,
62,
940,
796,
362
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5219,
262,
7864,
286,
262,
1074,
351,
362,
1353,
838,
46506,
327,
28270,
7,
86,
1040,
8,
16034,
3084,
62,
6999,
23451,
62,
16,
33411,
1353,
62,
940,
796,
362
] |
What is the number of floors that have years under 2008 and were named Guinness Tower? | SELECT COUNT("Floors") FROM table_7203 WHERE "Year" < '2008' AND "Name" = 'guinness tower' | [
2061,
318,
262,
1271,
286,
18570,
326,
423,
812,
739,
3648,
290,
547,
3706,
41559,
8765,
30,
46506,
327,
28270,
7203,
33574,
669,
4943,
16034,
3084,
62,
22,
22416,
33411,
366,
17688,
1,
1279,
705,
11528,
6,
5357,
366,
5376,
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
] | [
2061,
318,
262,
1271,
286,
18570,
326,
423,
812,
739,
3648,
290,
547,
3706,
41559,
8765,
30,
46506,
327,
28270,
7203,
33574,
669,
4943,
16034,
3084,
62,
22,
22416,
33411,
366,
17688,
1,
1279,
705,
11528,
6,
5357,
366,
5376,
1,
796,
... |
What's the n Africa in 2012 with an N/A as the CPLP? | SELECT "n Africa rank" FROM table_65498 WHERE "Year" = '2012' AND "CPLP rank" = 'n/a' | [
2061,
338,
262,
299,
5478,
287,
2321,
351,
281,
399,
14,
32,
355,
262,
327,
6489,
47,
30,
46506,
366,
77,
5478,
4279,
1,
16034,
3084,
62,
2996,
36260,
33411,
366,
17688,
1,
796,
705,
6999,
6,
5357,
366,
34,
6489,
47,
4279,
1,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
299,
5478,
287,
2321,
351,
281,
399,
14,
32,
355,
262,
327,
6489,
47,
30,
46506,
366,
77,
5478,
4279,
1,
16034,
3084,
62,
2996,
36260,
33411,
366,
17688,
1,
796,
705,
6999,
6,
5357,
366,
34,
6489,
47,
4279,
1,
79... |
Which Nanquan has a Nandao smaller than 9.44, and a Rank smaller than 9, and a Total larger than 18.68? | SELECT MIN("Nanquan") FROM table_78858 WHERE "Nandao" < '9.44' AND "Rank" < '9' AND "Total" > '18.68' | [
13828,
18008,
421,
272,
468,
257,
399,
5282,
78,
4833,
621,
860,
13,
2598,
11,
290,
257,
10916,
4833,
621,
860,
11,
290,
257,
7472,
4025,
621,
1248,
13,
3104,
30,
46506,
20625,
7203,
45,
26184,
272,
4943,
16034,
3084,
62,
22,
3459,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18008,
421,
272,
468,
257,
399,
5282,
78,
4833,
621,
860,
13,
2598,
11,
290,
257,
10916,
4833,
621,
860,
11,
290,
257,
7472,
4025,
621,
1248,
13,
3104,
30,
46506,
20625,
7203,
45,
26184,
272,
4943,
16034,
3084,
62,
22,
3459,
... |
What was the record on January 17? | SELECT record FROM table_name_61 WHERE date = "january 17" | [
2061,
373,
262,
1700,
319,
3269,
1596,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
5333,
33411,
3128,
796,
366,
13881,
2838,
1596,
1
] | [
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,
1700,
319,
3269,
1596,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
5333,
33411,
3128,
796,
366,
13881,
2838,
1596,
1
] |
select p.id, p.Score, p.Body, p.Title, p.Tags from Posts p left outer join PostTypes ptypes on p.id. | SELECT p.Id, p.Body, p.Title, p.Tags FROM Posts AS p LEFT OUTER JOIN PostTypes AS ptypes ON p.Id = ptypes.Id AND ptypes.Id = 1 WHERE p.ParentId IS NULL AND NOT p.Tags IS NULL AND p.Score >= 3 AND p.Id >= 0 AND p.Id < 500000 ORDER BY p.Id | [
19738,
279,
13,
312,
11,
279,
13,
26595,
11,
279,
13,
25842,
11,
279,
13,
19160,
11,
279,
13,
36142,
422,
12043,
279,
1364,
12076,
4654,
2947,
31431,
279,
19199,
319,
279,
13,
312,
13,
46506,
279,
13,
7390,
11,
279,
13,
25842,
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... | [
19738,
279,
13,
312,
11,
279,
13,
26595,
11,
279,
13,
25842,
11,
279,
13,
19160,
11,
279,
13,
36142,
422,
12043,
279,
1364,
12076,
4654,
2947,
31431,
279,
19199,
319,
279,
13,
312,
13,
46506,
279,
13,
7390,
11,
279,
13,
25842,
11,... |
what are the four most commonly performed procedures until 3 years ago? | SELECT t1.treatmentname FROM (SELECT treatment.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM treatment WHERE DATETIME(treatment.treatmenttime) <= DATETIME(CURRENT_TIME(), '-3 year') GROUP BY treatment.treatmentname) AS t1 WHERE t1.c1 <= 4 | [
10919,
389,
262,
1440,
749,
8811,
6157,
9021,
1566,
513,
812,
2084,
30,
46506,
256,
16,
13,
42487,
3672,
16034,
357,
46506,
3513,
13,
42487,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
281... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
389,
262,
1440,
749,
8811,
6157,
9021,
1566,
513,
812,
2084,
30,
46506,
256,
16,
13,
42487,
3672,
16034,
357,
46506,
3513,
13,
42487,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
281... |
After taking what courses can I take BA 415 ? | SELECT DISTINCT COURSE_0.department, COURSE_0.name, COURSE_0.number FROM course AS COURSE_0, course AS COURSE_1, course_prerequisite WHERE COURSE_0.course_id = course_prerequisite.pre_course_id AND NOT COURSE_0.course_id IN (SELECT STUDENT_RECORDalias0.course_id FROM student_record AS STUDENT_RECORDalias0 WHERE STUDENT... | [
3260,
2263,
644,
10902,
460,
314,
1011,
23715,
40643,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
15,
13,
10378,
1823,
11,
37384,
5188,
62,
15,
13,
3672,
11,
37384,
5188,
62,
15,
13,
17618,
16034,
1781,
7054,
37384,
5188,
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... | [
3260,
2263,
644,
10902,
460,
314,
1011,
23715,
40643,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
15,
13,
10378,
1823,
11,
37384,
5188,
62,
15,
13,
3672,
11,
37384,
5188,
62,
15,
13,
17618,
16034,
1781,
7054,
37384,
5188,
62,... |
Compute the total the total number across city as a pie chart. | SELECT city, COUNT(*) FROM station GROUP BY city | [
7293,
1133,
262,
2472,
262,
2472,
1271,
1973,
1748,
355,
257,
2508,
8262,
13,
46506,
1748,
11,
327,
28270,
7,
28104,
16034,
4429,
44441,
11050,
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
] | [
7293,
1133,
262,
2472,
262,
2472,
1271,
1973,
1748,
355,
257,
2508,
8262,
13,
46506,
1748,
11,
327,
28270,
7,
28104,
16034,
4429,
44441,
11050,
1748
] |
What is the report status of Hockenheimring circuit? | SELECT "Report" FROM table_53344 WHERE "Circuit" = 'hockenheimring' | [
2061,
318,
262,
989,
3722,
286,
367,
735,
268,
9096,
1806,
10349,
30,
46506,
366,
19100,
1,
16034,
3084,
62,
44994,
2598,
33411,
366,
31560,
5013,
1,
796,
705,
71,
735,
268,
9096,
1806,
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,
989,
3722,
286,
367,
735,
268,
9096,
1806,
10349,
30,
46506,
366,
19100,
1,
16034,
3084,
62,
44994,
2598,
33411,
366,
31560,
5013,
1,
796,
705,
71,
735,
268,
9096,
1806,
6
] |
find the diagnosis and procedure name for subject id 15061. | SELECT demographic.diagnosis, procedures.long_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "15061" | [
19796,
262,
13669,
290,
8771,
1438,
329,
2426,
4686,
6640,
5333,
13,
46506,
16728,
13,
47356,
5958,
11,
9021,
13,
6511,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
19796,
262,
13669,
290,
8771,
1438,
329,
2426,
4686,
6640,
5333,
13,
46506,
16728,
13,
47356,
5958,
11,
9021,
13,
6511,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
... |
What is the country associated with the date in 2003? | SELECT "Country" FROM table_12902 WHERE "Date" = '2003' | [
2061,
318,
262,
1499,
3917,
351,
262,
3128,
287,
5816,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
18741,
2999,
33411,
366,
10430,
1,
796,
705,
16088,
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,
318,
262,
1499,
3917,
351,
262,
3128,
287,
5816,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
18741,
2999,
33411,
366,
10430,
1,
796,
705,
16088,
6
] |
Who is the second member more recently than 1790 when John Williams is the first member? | SELECT second_member FROM table_name_10 WHERE year > 1790 AND first_member = "john williams" | [
8241,
318,
262,
1218,
2888,
517,
2904,
621,
1596,
3829,
618,
1757,
6484,
318,
262,
717,
2888,
30,
46506,
1218,
62,
19522,
16034,
3084,
62,
3672,
62,
940,
33411,
614,
1875,
1596,
3829,
5357,
717,
62,
19522,
796,
366,
30686,
481,
1789,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1218,
2888,
517,
2904,
621,
1596,
3829,
618,
1757,
6484,
318,
262,
717,
2888,
30,
46506,
1218,
62,
19522,
16034,
3084,
62,
3672,
62,
940,
33411,
614,
1875,
1596,
3829,
5357,
717,
62,
19522,
796,
366,
30686,
481,
1789,
... |
How many ties occurred with a score of 2 2? | SELECT tie_no FROM table_name_83 WHERE score = "2–2" | [
2437,
867,
8470,
5091,
351,
257,
4776,
286,
362,
362,
30,
46506,
9839,
62,
3919,
16034,
3084,
62,
3672,
62,
5999,
33411,
4776,
796,
366,
17,
1906,
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
] | [
2437,
867,
8470,
5091,
351,
257,
4776,
286,
362,
362,
30,
46506,
9839,
62,
3919,
16034,
3084,
62,
3672,
62,
5999,
33411,
4776,
796,
366,
17,
1906,
17,
1
] |
how many patients have received revision of lead treatment in 2104? | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT procedures_icd.hadm_id FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'revision of lead') AND STRFTIME('%y', procedures_icd... | [
4919,
867,
3871,
423,
2722,
18440,
286,
1085,
3513,
287,
362,
13464,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
9021,
62,
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,
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,
423,
2722,
18440,
286,
1085,
3513,
287,
362,
13464,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
9021,
62,
291,
... |
Give the number of patients who were diagnosed with polycethemia vera and have delta as the lab test result. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Polycythemia vera" AND lab.flag = "delta" | [
23318,
262,
1271,
286,
3871,
508,
547,
14641,
351,
7514,
66,
316,
4411,
544,
3326,
64,
290,
423,
25979,
355,
262,
2248,
1332,
1255,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
23318,
262,
1271,
286,
3871,
508,
547,
14641,
351,
7514,
66,
316,
4411,
544,
3326,
64,
290,
423,
25979,
355,
262,
2248,
1332,
1255,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21... |
Graph: Unanswered questions by Length. | SELECT t.range AS "score_range", COUNT(*) AS "number_of_occurences" FROM (SELECT CASE WHEN LENGTH(Body) BETWEEN 0 AND 100 THEN ' 0-100' WHEN LENGTH(Body) BETWEEN 101 AND 200 THEN '101-200' WHEN LENGTH(Body) BETWEEN 201 AND 300 THEN '201-300' WHEN LENGTH(Body) BETWEEN 301 AND 400 THEN '301-400' WHEN LENGTH(Body) BETWEEN... | [
37065,
25,
791,
31966,
2683,
416,
22313,
13,
46506,
256,
13,
9521,
7054,
366,
26675,
62,
9521,
1600,
327,
28270,
7,
28104,
7054,
366,
17618,
62,
1659,
62,
13966,
495,
3179,
1,
16034,
357,
46506,
42001,
42099,
406,
49494,
7,
25842,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
37065,
25,
791,
31966,
2683,
416,
22313,
13,
46506,
256,
13,
9521,
7054,
366,
26675,
62,
9521,
1600,
327,
28270,
7,
28104,
7054,
366,
17618,
62,
1659,
62,
13966,
495,
3179,
1,
16034,
357,
46506,
42001,
42099,
406,
49494,
7,
25842,
8,
... |
How many years have had the position of 2nd? | SELECT COUNT("Year") FROM table_68808 WHERE "Position" = '2nd' | [
2437,
867,
812,
423,
550,
262,
2292,
286,
362,
358,
30,
46506,
327,
28270,
7203,
17688,
4943,
16034,
3084,
62,
3104,
28362,
33411,
366,
26545,
1,
796,
705,
17,
358,
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,
812,
423,
550,
262,
2292,
286,
362,
358,
30,
46506,
327,
28270,
7203,
17688,
4943,
16034,
3084,
62,
3104,
28362,
33411,
366,
26545,
1,
796,
705,
17,
358,
6
] |
In what race did Buddy Rice hav fastest lap? | SELECT race_name FROM table_2454550_1 WHERE fastest_lap = "Buddy Rice" | [
818,
644,
3234,
750,
36896,
13823,
387,
85,
14162,
14779,
30,
46506,
3234,
62,
3672,
16034,
3084,
62,
22995,
2231,
1120,
62,
16,
33411,
14162,
62,
37796,
796,
366,
33,
21584,
13823,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
644,
3234,
750,
36896,
13823,
387,
85,
14162,
14779,
30,
46506,
3234,
62,
3672,
16034,
3084,
62,
22995,
2231,
1120,
62,
16,
33411,
14162,
62,
37796,
796,
366,
33,
21584,
13823,
1
] |
What was the lowest attendance at Windy Hill? | SELECT MIN(crowd) FROM table_name_77 WHERE venue = "windy hill" | [
2061,
373,
262,
9016,
14858,
379,
3086,
88,
3327,
30,
46506,
20625,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
3324,
33411,
14359,
796,
366,
7972,
88,
12788,
1
] | [
1,
1,
1,
1,
1,
1,
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,
9016,
14858,
379,
3086,
88,
3327,
30,
46506,
20625,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
3324,
33411,
14359,
796,
366,
7972,
88,
12788,
1
] |
What was the score of the game that put the team at 27-32? | SELECT loss FROM table_name_51 WHERE record = "27-32" | [
2061,
373,
262,
4776,
286,
262,
983,
326,
1234,
262,
1074,
379,
2681,
12,
2624,
30,
46506,
2994,
16034,
3084,
62,
3672,
62,
4349,
33411,
1700,
796,
366,
1983,
12,
2624,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
286,
262,
983,
326,
1234,
262,
1074,
379,
2681,
12,
2624,
30,
46506,
2994,
16034,
3084,
62,
3672,
62,
4349,
33411,
1700,
796,
366,
1983,
12,
2624,
1
] |
What were Holly Scouler's total votes? | SELECT "Total Votes" FROM table_79369 WHERE "Members" = 'holly scouler' | [
2061,
547,
7764,
1446,
280,
1754,
338,
2472,
5690,
30,
46506,
366,
14957,
39584,
1,
16034,
3084,
62,
3720,
30803,
33411,
366,
25341,
1,
796,
705,
71,
5098,
629,
280,
1754,
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,
547,
7764,
1446,
280,
1754,
338,
2472,
5690,
30,
46506,
366,
14957,
39584,
1,
16034,
3084,
62,
3720,
30803,
33411,
366,
25341,
1,
796,
705,
71,
5098,
629,
280,
1754,
6
] |
Count the number of medicaid patients who have pneumonia as their primary disease. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Medicaid" AND demographic.diagnosis = "PNEUMONIA" | [
12332,
262,
1271,
286,
6924,
1698,
3871,
508,
423,
35647,
355,
511,
4165,
4369,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
1040,
3874,
796,
366,
39112,
1698,
1,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12332,
262,
1271,
286,
6924,
1698,
3871,
508,
423,
35647,
355,
511,
4165,
4369,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
1040,
3874,
796,
366,
39112,
1698,
1,
5357,
... |
Max reputation users of the same age as me. | SELECT DisplayName AS Name, Id AS "user_id", Reputation FROM Users WHERE Age = (SELECT Age FROM Users WHERE Id = @UserID) ORDER BY Reputation DESC | [
11518,
8507,
2985,
286,
262,
976,
2479,
355,
502,
13,
46506,
16531,
5376,
7054,
6530,
11,
5121,
7054,
366,
7220,
62,
312,
1600,
1432,
7094,
16034,
18987,
33411,
7129,
796,
357,
46506,
7129,
16034,
18987,
33411,
5121,
796,
2488,
12982,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
11518,
8507,
2985,
286,
262,
976,
2479,
355,
502,
13,
46506,
16531,
5376,
7054,
6530,
11,
5121,
7054,
366,
7220,
62,
312,
1600,
1432,
7094,
16034,
18987,
33411,
7129,
796,
357,
46506,
7129,
16034,
18987,
33411,
5121,
796,
2488,
12982,
2... |
What is the Kanji for the Ayanami dd-45? | SELECT "Kanji" FROM table_34249 WHERE "Name" = 'ayanami dd-45' | [
2061,
318,
262,
14248,
7285,
329,
262,
317,
4121,
6277,
49427,
12,
2231,
30,
46506,
366,
42,
272,
7285,
1,
16034,
3084,
62,
2682,
21626,
33411,
366,
5376,
1,
796,
705,
22931,
6277,
49427,
12,
2231,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
14248,
7285,
329,
262,
317,
4121,
6277,
49427,
12,
2231,
30,
46506,
366,
42,
272,
7285,
1,
16034,
3084,
62,
2682,
21626,
33411,
366,
5376,
1,
796,
705,
22931,
6277,
49427,
12,
2231,
6
] |
has patient 005-69376 received a vasodilator - nitroprusside at another hospital since 2102? | SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.uniquepid = '005-69376' AND patient.hospitalid <> (SELECT DISTINCT patient.hospitalid FROM patient WHERE patient.uniquepid = '005-69376' AND patient.hospitaldischargetime IS NULL)) AND tr... | [
10134,
5827,
3571,
20,
12,
3388,
32128,
2722,
257,
34439,
375,
346,
1352,
532,
13759,
305,
1050,
1046,
485,
379,
1194,
4436,
1201,
362,
15377,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10134,
5827,
3571,
20,
12,
3388,
32128,
2722,
257,
34439,
375,
346,
1352,
532,
13759,
305,
1050,
1046,
485,
379,
1194,
4436,
1201,
362,
15377,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712... |
In regardless to upper-level classes , who teaches them ? | SELECT DISTINCT instructor.name 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 INNER JOIN program_... | [
818,
7692,
284,
6727,
12,
5715,
6097,
837,
508,
17324,
606,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7692,
284,
6727,
12,
5715,
6097,
837,
508,
17324,
606,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
1... |
WHAT IS THE WORLDWIDE BOX OFFICE FOR BRAVE? | SELECT worldwide FROM table_name_41 WHERE film = "brave" | [
32971,
3180,
3336,
29564,
54,
14114,
45216,
18562,
8476,
7473,
39947,
6089,
30,
46506,
8688,
16034,
3084,
62,
3672,
62,
3901,
33411,
2646,
796,
366,
65,
5758,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32971,
3180,
3336,
29564,
54,
14114,
45216,
18562,
8476,
7473,
39947,
6089,
30,
46506,
8688,
16034,
3084,
62,
3672,
62,
3901,
33411,
2646,
796,
366,
65,
5758,
1
] |
How many credits does the department offer? | SELECT SUM(crs_credit), dept_code FROM course GROUP BY dept_code | [
2437,
867,
10824,
857,
262,
5011,
2897,
30,
46506,
35683,
7,
66,
3808,
62,
43082,
828,
390,
457,
62,
8189,
16034,
1781,
44441,
11050,
390,
457,
62,
8189
] | [
1,
1,
1,
1,
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,
10824,
857,
262,
5011,
2897,
30,
46506,
35683,
7,
66,
3808,
62,
43082,
828,
390,
457,
62,
8189,
16034,
1781,
44441,
11050,
390,
457,
62,
8189
] |
SELECT * FROM Posts Where Tags = 'Python' And CreationDate > '2020-01-01'. | SELECT * FROM Posts WHERE Tags = 'Python' AND CreationDate > '2020-01-01' | [
46506,
1635,
16034,
12043,
6350,
44789,
796,
705,
37906,
6,
843,
21582,
10430,
1875,
705,
42334,
12,
486,
12,
486,
4458,
46506,
1635,
16034,
12043,
33411,
44789,
796,
705,
37906,
6,
5357,
21582,
10430,
1875,
705,
42334,
12,
486,
12,
486... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
46506,
1635,
16034,
12043,
6350,
44789,
796,
705,
37906,
6,
843,
21582,
10430,
1875,
705,
42334,
12,
486,
12,
486,
4458,
46506,
1635,
16034,
12043,
33411,
44789,
796,
705,
37906,
6,
5357,
21582,
10430,
1875,
705,
42334,
12,
486,
12,
486... |
Give me the number of government insurance patients who had percutaneous (endoscopic) gastrojejunostomy. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Government" AND procedures.long_title = "Percutaneous [endoscopic] gastrojejunostomy" | [
23318,
502,
262,
1271,
286,
1230,
5096,
3871,
508,
550,
583,
8968,
11655,
357,
437,
48228,
8,
33131,
18015,
29741,
455,
9145,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
323... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
23318,
502,
262,
1271,
286,
1230,
5096,
3871,
508,
550,
583,
8968,
11655,
357,
437,
48228,
8,
33131,
18015,
29741,
455,
9145,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
323... |
what was the first olympic games in which indrek kaseorg competed ? | SELECT MIN("year") FROM table_204_202 WHERE "tournament" = 'olympic games' | [
10919,
373,
262,
717,
267,
6760,
291,
1830,
287,
543,
773,
37818,
479,
589,
2398,
32440,
5633,
46506,
20625,
7203,
1941,
4943,
16034,
3084,
62,
18638,
62,
19004,
33411,
366,
83,
5138,
1,
796,
705,
3366,
3149,
291,
1830,
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
] | [
10919,
373,
262,
717,
267,
6760,
291,
1830,
287,
543,
773,
37818,
479,
589,
2398,
32440,
5633,
46506,
20625,
7203,
1941,
4943,
16034,
3084,
62,
18638,
62,
19004,
33411,
366,
83,
5138,
1,
796,
705,
3366,
3149,
291,
1830,
6
] |
Give me a bar chart to compare the number of state provinces located in different cities, rank Y-axis in asc order. | SELECT STATE_PROVINCE, COUNT(STATE_PROVINCE) FROM locations GROUP BY STATE_PROVINCE ORDER BY COUNT(STATE_PROVINCE) | [
23318,
502,
257,
2318,
8262,
284,
8996,
262,
1271,
286,
1181,
17812,
5140,
287,
1180,
4736,
11,
4279,
575,
12,
22704,
287,
10570,
1502,
13,
46506,
35454,
62,
41283,
1268,
5222,
11,
327,
28270,
7,
44724,
62,
41283,
1268,
5222,
8,
16034... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
257,
2318,
8262,
284,
8996,
262,
1271,
286,
1181,
17812,
5140,
287,
1180,
4736,
11,
4279,
575,
12,
22704,
287,
10570,
1502,
13,
46506,
35454,
62,
41283,
1268,
5222,
11,
327,
28270,
7,
44724,
62,
41283,
1268,
5222,
8,
16034... |
What is the sum of the episodes where chip esten was the 4th performer and jim meskimen was the 1st performer? | SELECT SUM("Episode") FROM table_34322 WHERE "Performer 4" = 'chip esten' AND "Performer 1" = 'jim meskimen' | [
2061,
318,
262,
2160,
286,
262,
8640,
810,
11594,
1556,
268,
373,
262,
604,
400,
26960,
290,
474,
320,
18842,
74,
19027,
373,
262,
352,
301,
26960,
30,
46506,
35683,
7203,
23758,
4943,
16034,
3084,
62,
32118,
1828,
33411,
366,
5990,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8640,
810,
11594,
1556,
268,
373,
262,
604,
400,
26960,
290,
474,
320,
18842,
74,
19027,
373,
262,
352,
301,
26960,
30,
46506,
35683,
7203,
23758,
4943,
16034,
3084,
62,
32118,
1828,
33411,
366,
5990,
1... |
What is Score, when Place is 'T9', and when Player is 'Jeff Sluman'? | SELECT "Score" FROM table_8830 WHERE "Place" = 't9' AND "Player" = 'jeff sluman' | [
2061,
318,
15178,
11,
618,
8474,
318,
705,
51,
24,
3256,
290,
618,
7853,
318,
705,
19139,
3454,
3778,
30960,
46506,
366,
26595,
1,
16034,
3084,
62,
3459,
1270,
33411,
366,
27271,
1,
796,
705,
83,
24,
6,
5357,
366,
14140,
1,
796,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
15178,
11,
618,
8474,
318,
705,
51,
24,
3256,
290,
618,
7853,
318,
705,
19139,
3454,
3778,
30960,
46506,
366,
26595,
1,
16034,
3084,
62,
3459,
1270,
33411,
366,
27271,
1,
796,
705,
83,
24,
6,
5357,
366,
14140,
1,
796,
7... |
What year has a venue of algiers, algeria, extra smaller than 8.03, and a Meeting of all africa games? | SELECT year FROM table_name_52 WHERE venue = "algiers, algeria" AND extra < 8.03 AND meeting = "all africa games" | [
2061,
614,
468,
257,
14359,
286,
435,
70,
3183,
11,
435,
1362,
544,
11,
3131,
4833,
621,
807,
13,
3070,
11,
290,
257,
22244,
286,
477,
6580,
30997,
1830,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
4309,
33411,
14359,
796,
366,
14016... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
468,
257,
14359,
286,
435,
70,
3183,
11,
435,
1362,
544,
11,
3131,
4833,
621,
807,
13,
3070,
11,
290,
257,
22244,
286,
477,
6580,
30997,
1830,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
4309,
33411,
14359,
796,
366,
14016... |
What is the Hangul of the Province with a Kana of ? | SELECT hangul FROM table_name_48 WHERE kana = "へいあんなんどう" | [
2061,
318,
262,
24300,
377,
286,
262,
22783,
351,
257,
509,
2271,
286,
5633,
46506,
8181,
377,
16034,
3084,
62,
3672,
62,
2780,
33411,
479,
2271,
796,
366,
2515,
116,
18566,
40948,
22174,
26945,
22174,
2515,
102,
29557,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24300,
377,
286,
262,
22783,
351,
257,
509,
2271,
286,
5633,
46506,
8181,
377,
16034,
3084,
62,
3672,
62,
2780,
33411,
479,
2271,
796,
366,
2515,
116,
18566,
40948,
22174,
26945,
22174,
2515,
102,
29557,
1
] |
what is the cost of a round trip ticket flying from BOSTON to DALLAS dallas to OAKLAND leaving 7 1 | SELECT DISTINCT fare.fare_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, date_day AS DATE_DAY_0, date_day AS DATE_DAY_1, days AS DAYS_0, days AS DAYS_1, fare, fare_basis, flight, flight_fare, fligh... | [
10919,
318,
262,
1575,
286,
257,
2835,
5296,
7846,
7348,
422,
347,
10892,
1340,
284,
360,
7036,
1921,
288,
7826,
284,
440,
10206,
28182,
4305,
767,
352,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
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... | [
10919,
318,
262,
1575,
286,
257,
2835,
5296,
7846,
7348,
422,
347,
10892,
1340,
284,
360,
7036,
1921,
288,
7826,
284,
440,
10206,
28182,
4305,
767,
352,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7... |
What was the score of the game played on January 19? | SELECT "Score" FROM table_1330 WHERE "Date" = 'January 19' | [
2061,
373,
262,
4776,
286,
262,
983,
2826,
319,
3269,
678,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
1485,
1270,
33411,
366,
10430,
1,
796,
705,
21339,
678,
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,
4776,
286,
262,
983,
2826,
319,
3269,
678,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
1485,
1270,
33411,
366,
10430,
1,
796,
705,
21339,
678,
6
] |
What is the maximum Col (m) when 3,046 is the Prominence (m)? | SELECT MAX("Col (m)") FROM table_49478 WHERE "Prominence (m)" = '3,046' | [
2061,
318,
262,
5415,
1623,
357,
76,
8,
618,
513,
11,
45438,
318,
262,
10335,
18386,
357,
76,
19427,
46506,
25882,
7203,
5216,
357,
76,
8,
4943,
16034,
3084,
62,
2920,
29059,
33411,
366,
24129,
18386,
357,
76,
16725,
796,
705,
18,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5415,
1623,
357,
76,
8,
618,
513,
11,
45438,
318,
262,
10335,
18386,
357,
76,
19427,
46506,
25882,
7203,
5216,
357,
76,
8,
4943,
16034,
3084,
62,
2920,
29059,
33411,
366,
24129,
18386,
357,
76,
16725,
796,
705,
18,
1... |
What is the mark set by Laura Turner? | SELECT mark FROM table_name_65 WHERE name = "laura turner" | [
2061,
318,
262,
1317,
900,
416,
16753,
15406,
30,
46506,
1317,
16034,
3084,
62,
3672,
62,
2996,
33411,
1438,
796,
366,
75,
33830,
1210,
263,
1
] | [
1,
1,
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,
1317,
900,
416,
16753,
15406,
30,
46506,
1317,
16034,
3084,
62,
3672,
62,
2996,
33411,
1438,
796,
366,
75,
33830,
1210,
263,
1
] |
what was the marital status of patient 10855 in their current hospital encounter? | SELECT admissions.marital_status FROM admissions WHERE admissions.subject_id = 10855 AND admissions.dischtime IS NULL | [
10919,
373,
262,
29555,
3722,
286,
5827,
15495,
2816,
287,
511,
1459,
4436,
8791,
30,
46506,
25349,
13,
3876,
1287,
62,
13376,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
15495,
2816,
5357,
25349,
13,
6381,
354,
2435,
3180,
156... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
29555,
3722,
286,
5827,
15495,
2816,
287,
511,
1459,
4436,
8791,
30,
46506,
25349,
13,
3876,
1287,
62,
13376,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
15495,
2816,
5357,
25349,
13,
6381,
354,
2435,
3180,
156... |
What is the average capacity for the venue where the team kommunalnik played? | SELECT AVG("Capacity") FROM table_34706 WHERE "Team" = 'kommunalnik' | [
2061,
318,
262,
2811,
5339,
329,
262,
14359,
810,
262,
1074,
479,
2002,
18835,
17187,
2826,
30,
46506,
35224,
7203,
15610,
4355,
4943,
16034,
3084,
62,
2682,
35402,
33411,
366,
15592,
1,
796,
705,
74,
2002,
18835,
17187,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
5339,
329,
262,
14359,
810,
262,
1074,
479,
2002,
18835,
17187,
2826,
30,
46506,
35224,
7203,
15610,
4355,
4943,
16034,
3084,
62,
2682,
35402,
33411,
366,
15592,
1,
796,
705,
74,
2002,
18835,
17187,
6
] |
provide the number of patients whose marital status is married and item id is 51026? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "MARRIED" AND lab.itemid = "51026" | [
15234,
485,
262,
1271,
286,
3871,
3025,
29555,
3722,
318,
6405,
290,
2378,
4686,
318,
35148,
2075,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
29555,
3722,
318,
6405,
290,
2378,
4686,
318,
35148,
2075,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
... |
Which classes make up an EECS major 's Core ? | SELECT DISTINCT course.department, course.name, course.number FROM course, program_course WHERE course.department LIKE '%EECS%' AND program_course.category LIKE '%Core%' AND program_course.course_id = course.course_id | [
13828,
6097,
787,
510,
281,
412,
2943,
50,
1688,
705,
82,
7231,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
62,
17319,
33411,
1781,
13,
10378,
1823,
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... | [
13828,
6097,
787,
510,
281,
412,
2943,
50,
1688,
705,
82,
7231,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
62,
17319,
33411,
1781,
13,
10378,
1823,
34178,... |
how many patients have had coronary arteriogram nec two or more times during a year before? | SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, COUNT(*) AS c1 FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'coronary arteriogram ... | [
4919,
867,
3871,
423,
550,
37151,
30675,
72,
21857,
27576,
734,
393,
517,
1661,
1141,
257,
614,
878,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
62,
312,
8,
16034,
357,
46506,
25349,
13,
32796,
62,
312,
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... | [
4919,
867,
3871,
423,
550,
37151,
30675,
72,
21857,
27576,
734,
393,
517,
1661,
1141,
257,
614,
878,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
62,
312,
8,
16034,
357,
46506,
25349,
13,
32796,
62,
312,
11,
... |
Which Away team has a Score of 4 2? | SELECT away_team FROM table_name_33 WHERE score = "4–2" | [
13828,
21986,
1074,
468,
257,
15178,
286,
604,
362,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
2091,
33411,
4776,
796,
366,
19,
1906,
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
] | [
13828,
21986,
1074,
468,
257,
15178,
286,
604,
362,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
2091,
33411,
4776,
796,
366,
19,
1906,
17,
1
] |
Which county has the mascot of Bruins? | SELECT "County" FROM table_13276 WHERE "Mascot" = 'bruins' | [
13828,
7968,
468,
262,
37358,
286,
27607,
30,
46506,
366,
12332,
88,
1,
16034,
3084,
62,
1485,
27988,
33411,
366,
44,
3372,
313,
1,
796,
705,
65,
622,
1040,
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
] | [
13828,
7968,
468,
262,
37358,
286,
27607,
30,
46506,
366,
12332,
88,
1,
16034,
3084,
62,
1485,
27988,
33411,
366,
44,
3372,
313,
1,
796,
705,
65,
622,
1040,
6
] |
how many patients posses private insurance and are born before 2023? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Private" AND demographic.dob_year < "2023" | [
4919,
867,
3871,
1184,
274,
2839,
5096,
290,
389,
4642,
878,
1160,
1954,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
1040,
3874,
796,
366,
29067,
1,
5357,
16728,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3871,
1184,
274,
2839,
5096,
290,
389,
4642,
878,
1160,
1954,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
1040,
3874,
796,
366,
29067,
1,
5357,
16728,
13,
... |
What are the different classes of races, and how many races correspond to each. Show the proportion. | SELECT Class, COUNT(*) FROM race GROUP BY Class | [
2061,
389,
262,
1180,
6097,
286,
9558,
11,
290,
703,
867,
9558,
6053,
284,
1123,
13,
5438,
262,
9823,
13,
46506,
5016,
11,
327,
28270,
7,
28104,
16034,
3234,
44441,
11050,
5016
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
1180,
6097,
286,
9558,
11,
290,
703,
867,
9558,
6053,
284,
1123,
13,
5438,
262,
9823,
13,
46506,
5016,
11,
327,
28270,
7,
28104,
16034,
3234,
44441,
11050,
5016
] |
what did patient 016-17669 first have as an intake on the first icu visit? | SELECT intakeoutput.celllabel FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-17669') AND NOT patient.unitdischargetime IS NULL ORDER ... | [
10919,
750,
5827,
5534,
21,
12,
1558,
36657,
717,
423,
355,
281,
10337,
319,
262,
717,
14158,
84,
3187,
30,
46506,
10337,
22915,
13,
3846,
18242,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
750,
5827,
5534,
21,
12,
1558,
36657,
717,
423,
355,
281,
10337,
319,
262,
717,
14158,
84,
3187,
30,
46506,
10337,
22915,
13,
3846,
18242,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
... |
what is the record for date december 11? | SELECT record FROM table_27756314_7 WHERE date = "December 11" | [
10919,
318,
262,
1700,
329,
3128,
390,
3273,
1367,
30,
46506,
1700,
16034,
3084,
62,
1983,
2425,
5066,
1415,
62,
22,
33411,
3128,
796,
366,
20588,
1367,
1
] | [
1,
1,
1,
1,
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,
1700,
329,
3128,
390,
3273,
1367,
30,
46506,
1700,
16034,
3084,
62,
1983,
2425,
5066,
1415,
62,
22,
33411,
3128,
796,
366,
20588,
1367,
1
] |
What was the attendance on March 17? | SELECT location_attendance FROM table_11961582_7 WHERE date = "March 17" | [
2061,
373,
262,
14858,
319,
2805,
1596,
30,
46506,
4067,
62,
1078,
437,
590,
16034,
3084,
62,
16315,
47007,
6469,
62,
22,
33411,
3128,
796,
366,
16192,
1596,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
14858,
319,
2805,
1596,
30,
46506,
4067,
62,
1078,
437,
590,
16034,
3084,
62,
16315,
47007,
6469,
62,
22,
33411,
3128,
796,
366,
16192,
1596,
1
] |
Show all majors and corresponding number of students. | SELECT major, COUNT(*) FROM student GROUP BY major | [
15307,
477,
26353,
290,
11188,
1271,
286,
2444,
13,
46506,
1688,
11,
327,
28270,
7,
28104,
16034,
3710,
44441,
11050,
1688
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
477,
26353,
290,
11188,
1271,
286,
2444,
13,
46506,
1688,
11,
327,
28270,
7,
28104,
16034,
3710,
44441,
11050,
1688
] |
hi i'd like to fly from COLUMBUS to PHOENIX and make a stop in CINCINNATI along the way | 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 = 'PHOENIX' AND CITY_2.ci... | [
5303,
1312,
1549,
588,
284,
6129,
422,
20444,
5883,
45346,
284,
9370,
46,
1677,
10426,
290,
787,
257,
2245,
287,
327,
30158,
1268,
34259,
40,
1863,
262,
835,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
152... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5303,
1312,
1549,
588,
284,
6129,
422,
20444,
5883,
45346,
284,
9370,
46,
1677,
10426,
290,
787,
257,
2245,
287,
327,
30158,
1268,
34259,
40,
1863,
262,
835,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
152... |
has patient 030-34260 been diagnosed with s/p knee surgery - replacement when they came to the hospital first time. | SELECT COUNT(*) > 0 FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-34260' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.ho... | [
10134,
5827,
657,
1270,
12,
2682,
21719,
587,
14641,
351,
264,
14,
79,
10329,
8185,
532,
9014,
618,
484,
1625,
284,
262,
4436,
717,
640,
13,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
13669,
33411,
13669,
13,
26029,
20850,
31712,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10134,
5827,
657,
1270,
12,
2682,
21719,
587,
14641,
351,
264,
14,
79,
10329,
8185,
532,
9014,
618,
484,
1625,
284,
262,
4436,
717,
640,
13,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
13669,
33411,
13669,
13,
26029,
20850,
31712,
... |
show me one way flights from TAMPA to ST. LOUIS departing before 1000 | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE ((fare.round_trip_required = 'NO' AND flight_fare.fare_id = fare.fare_id AND flight.departure_time < 1000 AND flight.flight_id = flight_fare.f... | [
12860,
502,
530,
835,
13956,
422,
33112,
4537,
284,
3563,
13,
406,
2606,
1797,
37717,
878,
8576,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12860,
502,
530,
835,
13956,
422,
33112,
4537,
284,
3563,
13,
406,
2606,
1797,
37717,
878,
8576,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
6... |
when did patient 022-166510 receive a test in the lab for the first time in 12/2101? | 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 = '022-166510')) AND STRFTIME('%y-%m', lab.labresulttime) = '2101-12' ORDER BY lab.lab... | [
12518,
750,
5827,
657,
1828,
12,
1433,
2996,
940,
3328,
257,
1332,
287,
262,
2248,
329,
262,
717,
640,
287,
1105,
14,
2481,
486,
30,
46506,
2248,
13,
23912,
20274,
2435,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
750,
5827,
657,
1828,
12,
1433,
2996,
940,
3328,
257,
1332,
287,
262,
2248,
329,
262,
717,
640,
287,
1105,
14,
2481,
486,
30,
46506,
2248,
13,
23912,
20274,
2435,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
35... |
What is the date with geelong as Away team? | SELECT "Date" FROM table_32318 WHERE "Away team" = 'geelong' | [
2061,
318,
262,
3128,
351,
4903,
21537,
355,
21986,
1074,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
32637,
1507,
33411,
366,
32,
1014,
1074,
1,
796,
705,
469,
21537,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3128,
351,
4903,
21537,
355,
21986,
1074,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
32637,
1507,
33411,
366,
32,
1014,
1074,
1,
796,
705,
469,
21537,
6
] |
what procedure did patient 64873 undergo for the first time in 2104? | SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT procedures_icd.icd9_code FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 64873) AND STRFTIME('%y', procedures_icd.charttime) = '2104' ORDER B... | [
10919,
8771,
750,
5827,
718,
2780,
4790,
17777,
329,
262,
717,
640,
287,
362,
13464,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
8771,
750,
5827,
718,
2780,
4790,
17777,
329,
262,
717,
640,
287,
362,
13464,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
62,
... |
How many games were played against Tulane? | SELECT COUNT("Opponents") FROM table_24010 WHERE "Opponent" = 'Tulane' | [
2437,
867,
1830,
547,
2826,
1028,
30941,
1531,
30,
46506,
327,
28270,
7203,
27524,
3906,
4943,
16034,
3084,
62,
1731,
20943,
33411,
366,
27524,
3471,
1,
796,
705,
51,
377,
1531,
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
] | [
2437,
867,
1830,
547,
2826,
1028,
30941,
1531,
30,
46506,
327,
28270,
7203,
27524,
3906,
4943,
16034,
3084,
62,
1731,
20943,
33411,
366,
27524,
3471,
1,
796,
705,
51,
377,
1531,
6
] |
When has a Note of 45/48 renumbered 15/16; two sold to sl&ncr? | SELECT date_made FROM table_name_46 WHERE notes = "45/48 renumbered 15/16; two sold to sl&ncr" | [
2215,
468,
257,
5740,
286,
4153,
14,
2780,
8851,
26584,
1315,
14,
1433,
26,
734,
2702,
284,
1017,
5,
77,
6098,
30,
46506,
3128,
62,
9727,
16034,
3084,
62,
3672,
62,
3510,
33411,
4710,
796,
366,
2231,
14,
2780,
8851,
26584,
1315,
14,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
468,
257,
5740,
286,
4153,
14,
2780,
8851,
26584,
1315,
14,
1433,
26,
734,
2702,
284,
1017,
5,
77,
6098,
30,
46506,
3128,
62,
9727,
16034,
3084,
62,
3672,
62,
3510,
33411,
4710,
796,
366,
2231,
14,
2780,
8851,
26584,
1315,
14,... |
Users with the most Necromancer badges. | SELECT U.Id AS "user_link", COUNT(B.Id) AS NumBadges FROM Badges AS B INNER JOIN Users AS U ON U.Id = B.UserId WHERE B.Name = 'Necromancer' GROUP BY U.Id, U.DisplayName HAVING COUNT(B.Id) >= 5 ORDER BY NumBadges DESC | [
14490,
351,
262,
749,
19652,
38211,
37583,
13,
46506,
471,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
327,
28270,
7,
33,
13,
7390,
8,
7054,
31835,
22069,
3212,
16034,
7772,
3212,
7054,
347,
3268,
21479,
32357,
1268,
18987,
7054,
471,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
14490,
351,
262,
749,
19652,
38211,
37583,
13,
46506,
471,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
327,
28270,
7,
33,
13,
7390,
8,
7054,
31835,
22069,
3212,
16034,
7772,
3212,
7054,
347,
3268,
21479,
32357,
1268,
18987,
7054,
471,
... |
How many byes were there with an Against of 1655 and more than 10 wins? | SELECT MIN("Byes") FROM table_13635 WHERE "Against" = '1655' AND "Wins" > '10' | [
2437,
867,
416,
274,
547,
612,
351,
281,
12914,
286,
1467,
2816,
290,
517,
621,
838,
7864,
30,
46506,
20625,
7203,
3886,
274,
4943,
16034,
3084,
62,
20809,
2327,
33411,
366,
39276,
1,
796,
705,
1433,
2816,
6,
5357,
366,
54,
1040,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
416,
274,
547,
612,
351,
281,
12914,
286,
1467,
2816,
290,
517,
621,
838,
7864,
30,
46506,
20625,
7203,
3886,
274,
4943,
16034,
3084,
62,
20809,
2327,
33411,
366,
39276,
1,
796,
705,
1433,
2816,
6,
5357,
366,
54,
1040,
1,... |
What is the lowest To Par, when Player is 'Johnny Miller'? | SELECT MIN("To par") FROM table_46203 WHERE "Player" = 'johnny miller' | [
2061,
318,
262,
9016,
1675,
2547,
11,
618,
7853,
318,
705,
44960,
7920,
30960,
46506,
20625,
7203,
2514,
1582,
4943,
16034,
3084,
62,
3510,
22416,
33411,
366,
14140,
1,
796,
705,
30686,
3281,
3939,
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
] | [
2061,
318,
262,
9016,
1675,
2547,
11,
618,
7853,
318,
705,
44960,
7920,
30960,
46506,
20625,
7203,
2514,
1582,
4943,
16034,
3084,
62,
3510,
22416,
33411,
366,
14140,
1,
796,
705,
30686,
3281,
3939,
263,
6
] |
what is the assisted when the solo is 6 and sack is less than 5? | SELECT assisted FROM table_name_79 WHERE solo = 6 AND sack < 5 | [
10919,
318,
262,
18419,
618,
262,
12199,
318,
718,
290,
23704,
318,
1342,
621,
642,
30,
46506,
18419,
16034,
3084,
62,
3672,
62,
3720,
33411,
12199,
796,
718,
5357,
23704,
1279,
642
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
18419,
618,
262,
12199,
318,
718,
290,
23704,
318,
1342,
621,
642,
30,
46506,
18419,
16034,
3084,
62,
3672,
62,
3720,
33411,
12199,
796,
718,
5357,
23704,
1279,
642
] |
What is the premiere rating associated with an average of 35 ranked above 1? | SELECT MIN("Premiere") FROM table_53291 WHERE "Average" = '35' AND "Rank" > '1' | [
2061,
318,
262,
19245,
7955,
3917,
351,
281,
2811,
286,
3439,
10307,
2029,
352,
30,
46506,
20625,
7203,
24914,
13235,
4943,
16034,
3084,
62,
4310,
33551,
33411,
366,
26287,
1,
796,
705,
2327,
6,
5357,
366,
27520,
1,
1875,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
19245,
7955,
3917,
351,
281,
2811,
286,
3439,
10307,
2029,
352,
30,
46506,
20625,
7203,
24914,
13235,
4943,
16034,
3084,
62,
4310,
33551,
33411,
366,
26287,
1,
796,
705,
2327,
6,
5357,
366,
27520,
1,
1875,
705,
16,
6
] |
Who was the bronze medal when the Asian Games were held in Busan? | SELECT "Bronze" FROM table_35916 WHERE "Location" = 'busan' | [
8241,
373,
262,
22101,
18279,
618,
262,
7740,
5776,
547,
2714,
287,
5869,
272,
30,
46506,
366,
18760,
2736,
1,
16034,
3084,
62,
30743,
1433,
33411,
366,
14749,
1,
796,
705,
10885,
272,
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,
373,
262,
22101,
18279,
618,
262,
7740,
5776,
547,
2714,
287,
5869,
272,
30,
46506,
366,
18760,
2736,
1,
16034,
3084,
62,
30743,
1433,
33411,
366,
14749,
1,
796,
705,
10885,
272,
6
] |
what is the enrollment number of misericordia university ? | SELECT "enrollment" FROM table_203_518 WHERE "institution" = 'misericordia university' | [
10919,
318,
262,
20753,
1271,
286,
18790,
291,
585,
544,
6403,
5633,
46506,
366,
268,
48108,
1,
16034,
3084,
62,
22416,
62,
44085,
33411,
366,
8625,
2738,
1,
796,
705,
76,
5847,
291,
585,
544,
6403,
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
] | [
10919,
318,
262,
20753,
1271,
286,
18790,
291,
585,
544,
6403,
5633,
46506,
366,
268,
48108,
1,
16034,
3084,
62,
22416,
62,
44085,
33411,
366,
8625,
2738,
1,
796,
705,
76,
5847,
291,
585,
544,
6403,
6
] |
what is the average ga cup goals when the league cup apps is 2, the fa cup apps is 3 and the league goals is 3? | SELECT AVG("FA Cup Goals") FROM table_65281 WHERE "League Cup Apps" = '2' AND "FA Cup Apps" = '3' AND "League Goals" = '3' | [
10919,
318,
262,
2811,
31986,
6508,
4661,
618,
262,
4652,
6508,
6725,
318,
362,
11,
262,
24685,
6508,
6725,
318,
513,
290,
262,
4652,
4661,
318,
513,
30,
46506,
35224,
7203,
7708,
5454,
28510,
4943,
16034,
3084,
62,
2996,
30368,
33411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
2811,
31986,
6508,
4661,
618,
262,
4652,
6508,
6725,
318,
362,
11,
262,
24685,
6508,
6725,
318,
513,
290,
262,
4652,
4661,
318,
513,
30,
46506,
35224,
7203,
7708,
5454,
28510,
4943,
16034,
3084,
62,
2996,
30368,
33411,
... |
What was the Margin of victory in the southwest golf classic Tournament? | SELECT "Margin of victory" FROM table_42332 WHERE "Tournament" = 'southwest golf classic' | [
2061,
373,
262,
11899,
259,
286,
5373,
287,
262,
26283,
13126,
6833,
9595,
30,
46506,
366,
24428,
259,
286,
5373,
1,
16034,
3084,
62,
43356,
2624,
33411,
366,
51,
5138,
1,
796,
705,
35782,
7038,
13126,
6833,
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,
373,
262,
11899,
259,
286,
5373,
287,
262,
26283,
13126,
6833,
9595,
30,
46506,
366,
24428,
259,
286,
5373,
1,
16034,
3084,
62,
43356,
2624,
33411,
366,
51,
5138,
1,
796,
705,
35782,
7038,
13126,
6833,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.