instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What was the score when the loss was hideo nomo (3 5)? | SELECT "Score" FROM table_6614 WHERE "Loss" = 'hideo nomo (3–5)' | [
2061,
373,
262,
4776,
618,
262,
2994,
373,
289,
1651,
4515,
78,
357,
18,
642,
19427,
46506,
366,
26595,
1,
16034,
3084,
62,
2791,
1415,
33411,
366,
43,
793,
1,
796,
705,
71,
1651,
4515,
78,
357,
18,
1906,
20,
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,
1,
1
] | [
2061,
373,
262,
4776,
618,
262,
2994,
373,
289,
1651,
4515,
78,
357,
18,
642,
19427,
46506,
366,
26595,
1,
16034,
3084,
62,
2791,
1415,
33411,
366,
43,
793,
1,
796,
705,
71,
1651,
4515,
78,
357,
18,
1906,
20,
33047
] |
What is the score of Howard Clark from England with a To Par of +1? | SELECT score FROM table_name_55 WHERE to_par = "+1" AND country = "england" AND player = "howard clark" | [
2061,
318,
262,
4776,
286,
8442,
11264,
422,
4492,
351,
257,
1675,
2547,
286,
1343,
16,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2816,
33411,
284,
62,
1845,
796,
43825,
16,
1,
5357,
1499,
796,
366,
1516,
1044,
1,
5357,
2137,
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
] | [
2061,
318,
262,
4776,
286,
8442,
11264,
422,
4492,
351,
257,
1675,
2547,
286,
1343,
16,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2816,
33411,
284,
62,
1845,
796,
43825,
16,
1,
5357,
1499,
796,
366,
1516,
1044,
1,
5357,
2137,
796,... |
Who built michael schumacher's car that went under 31 laps? | SELECT constructor FROM table_name_24 WHERE laps < 31 AND driver = "michael schumacher" | [
8241,
3170,
285,
40302,
5513,
388,
3493,
338,
1097,
326,
1816,
739,
3261,
24590,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
1731,
33411,
24590,
1279,
3261,
5357,
4639,
796,
366,
76,
40302,
5513,
388,
3493,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3170,
285,
40302,
5513,
388,
3493,
338,
1097,
326,
1816,
739,
3261,
24590,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
1731,
33411,
24590,
1279,
3261,
5357,
4639,
796,
366,
76,
40302,
5513,
388,
3493,
1
] |
what is the biggest series episode number whose production code is 2t7211? | SELECT MAX(no) FROM table_21979779_1 WHERE production_code = "2T7211" | [
10919,
318,
262,
4094,
2168,
4471,
1271,
3025,
3227,
2438,
318,
362,
83,
4761,
1157,
30,
46506,
25882,
7,
3919,
8,
16034,
3084,
62,
28896,
3720,
40393,
62,
16,
33411,
3227,
62,
8189,
796,
366,
17,
51,
4761,
1157,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4094,
2168,
4471,
1271,
3025,
3227,
2438,
318,
362,
83,
4761,
1157,
30,
46506,
25882,
7,
3919,
8,
16034,
3084,
62,
28896,
3720,
40393,
62,
16,
33411,
3227,
62,
8189,
796,
366,
17,
51,
4761,
1157,
1
] |
i want to go from DENVER to ATLANTA round trip and make a stop at PITTSBURGH may i have the cheapest fare | 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, fare, flight, flight_fare, flight_stop WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA... | [
72,
765,
284,
467,
422,
37692,
5959,
284,
5161,
25697,
5603,
2835,
5296,
290,
787,
257,
2245,
379,
49040,
4694,
38926,
17511,
743,
1312,
423,
262,
28918,
14505,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
72,
765,
284,
467,
422,
37692,
5959,
284,
5161,
25697,
5603,
2835,
5296,
290,
787,
257,
2245,
379,
49040,
4694,
38926,
17511,
743,
1312,
423,
262,
28918,
14505,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
... |
Who has more than 70 score with +1 to par? | SELECT "Player" FROM table_15526 WHERE "Score" > '70' AND "To par" = '+1' | [
8241,
468,
517,
621,
4317,
4776,
351,
1343,
16,
284,
1582,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
18742,
2075,
33411,
366,
26595,
1,
1875,
705,
2154,
6,
5357,
366,
2514,
1582,
1,
796,
705,
10,
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
] | [
8241,
468,
517,
621,
4317,
4776,
351,
1343,
16,
284,
1582,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
18742,
2075,
33411,
366,
26595,
1,
1875,
705,
2154,
6,
5357,
366,
2514,
1582,
1,
796,
705,
10,
16,
6
] |
Find the number of the category descriptions of the products whose descriptions include letter 't', could you order by the names in descending? | SELECT product_category_description, COUNT(product_category_description) FROM Ref_Product_Categories AS T1 JOIN Products AS T2 ON T1.product_category_code = T2.product_category_code WHERE T2.product_description LIKE '%t%' GROUP BY product_category_description ORDER BY product_category_description DESC | [
16742,
262,
1271,
286,
262,
6536,
16969,
286,
262,
3186,
3025,
16969,
2291,
3850,
705,
83,
3256,
714,
345,
1502,
416,
262,
3891,
287,
31491,
30,
46506,
1720,
62,
22872,
62,
11213,
11,
327,
28270,
7,
11167,
62,
22872,
62,
11213,
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,
1... | [
16742,
262,
1271,
286,
262,
6536,
16969,
286,
262,
3186,
3025,
16969,
2291,
3850,
705,
83,
3256,
714,
345,
1502,
416,
262,
3891,
287,
31491,
30,
46506,
1720,
62,
22872,
62,
11213,
11,
327,
28270,
7,
11167,
62,
22872,
62,
11213,
8,
1... |
what is the last drug which was prescribed to patient 006-80884 via sl route in the current hospital encounter? | SELECT medication.drugname FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-80884' AND patient.hospitaldischargetime IS NULL)) AND medicati... | [
10919,
318,
262,
938,
2563,
543,
373,
14798,
284,
5827,
3571,
21,
12,
1795,
40353,
2884,
1017,
6339,
287,
262,
1459,
4436,
8791,
30,
46506,
14103,
13,
30349,
3672,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
3268,
357,
465... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
938,
2563,
543,
373,
14798,
284,
5827,
3571,
21,
12,
1795,
40353,
2884,
1017,
6339,
287,
262,
1459,
4436,
8791,
30,
46506,
14103,
13,
30349,
3672,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
3268,
357,
465... |
What is the 8am show that has Passions showing at 2pm? | SELECT "8:00 am" FROM table_60042 WHERE "2:00 pm" = 'passions' | [
2061,
318,
262,
807,
321,
905,
326,
468,
6251,
507,
4478,
379,
362,
4426,
30,
46506,
366,
23,
25,
405,
716,
1,
16034,
3084,
62,
8054,
3682,
33411,
366,
17,
25,
405,
9114,
1,
796,
705,
6603,
507,
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,
807,
321,
905,
326,
468,
6251,
507,
4478,
379,
362,
4426,
30,
46506,
366,
23,
25,
405,
716,
1,
16034,
3084,
62,
8054,
3682,
33411,
366,
17,
25,
405,
9114,
1,
796,
705,
6603,
507,
6
] |
What are the notes for Happy Camp? | SELECT "Notes" FROM table_47995 WHERE "Title" = 'happy camp' | [
2061,
389,
262,
4710,
329,
14628,
5425,
30,
46506,
366,
16130,
1,
16034,
3084,
62,
2857,
33438,
33411,
366,
19160,
1,
796,
705,
34191,
1413,
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
] | [
2061,
389,
262,
4710,
329,
14628,
5425,
30,
46506,
366,
16130,
1,
16034,
3084,
62,
2857,
33438,
33411,
366,
19160,
1,
796,
705,
34191,
1413,
6
] |
which school has placed fourth the most times ? | SELECT "team" FROM table_203_502 ORDER BY "fourth place" DESC LIMIT 1 | [
4758,
1524,
468,
4624,
5544,
262,
749,
1661,
5633,
46506,
366,
15097,
1,
16034,
3084,
62,
22416,
62,
35126,
38678,
11050,
366,
49393,
1295,
1,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
1524,
468,
4624,
5544,
262,
749,
1661,
5633,
46506,
366,
15097,
1,
16034,
3084,
62,
22416,
62,
35126,
38678,
11050,
366,
49393,
1295,
1,
22196,
34,
27564,
2043,
352
] |
What was the first series in this list that Jack Orman wrote? | SELECT MIN(series__number) FROM table_12564633_1 WHERE written_by = "Jack Orman" | [
2061,
373,
262,
717,
2168,
287,
428,
1351,
326,
3619,
1471,
805,
2630,
30,
46506,
20625,
7,
25076,
834,
17618,
8,
16034,
3084,
62,
11623,
27720,
2091,
62,
16,
33411,
3194,
62,
1525,
796,
366,
14295,
1471,
805,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
717,
2168,
287,
428,
1351,
326,
3619,
1471,
805,
2630,
30,
46506,
20625,
7,
25076,
834,
17618,
8,
16034,
3084,
62,
11623,
27720,
2091,
62,
16,
33411,
3194,
62,
1525,
796,
366,
14295,
1471,
805,
1
] |
Who did they play on August 12? | SELECT "Opponent" FROM table_79956 WHERE "Date" = 'august 12' | [
8241,
750,
484,
711,
319,
2932,
1105,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
45455,
3980,
33411,
366,
10430,
1,
796,
705,
7493,
436,
1105,
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
] | [
8241,
750,
484,
711,
319,
2932,
1105,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
45455,
3980,
33411,
366,
10430,
1,
796,
705,
7493,
436,
1105,
6
] |
what is religion and date of death of subject id 3623? | SELECT demographic.religion, demographic.dod FROM demographic WHERE demographic.subject_id = "3623" | [
10919,
318,
5737,
290,
3128,
286,
1918,
286,
2426,
4686,
4570,
1954,
30,
46506,
16728,
13,
2411,
17035,
11,
16728,
13,
67,
375,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
2623,
1954,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5737,
290,
3128,
286,
1918,
286,
2426,
4686,
4570,
1954,
30,
46506,
16728,
13,
2411,
17035,
11,
16728,
13,
67,
375,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
2623,
1954,
1
] |
What type of cartridge is used by a Weatherby? | SELECT cartridge FROM table_16010376_1 WHERE source = "Weatherby" | [
2061,
2099,
286,
26904,
318,
973,
416,
257,
15615,
1525,
30,
46506,
26904,
16034,
3084,
62,
1433,
20943,
32128,
62,
16,
33411,
2723,
796,
366,
41865,
1525,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2099,
286,
26904,
318,
973,
416,
257,
15615,
1525,
30,
46506,
26904,
16034,
3084,
62,
1433,
20943,
32128,
62,
16,
33411,
2723,
796,
366,
41865,
1525,
1
] |
Which is the most popular state in the US in terms of commodities distribution? | SELECT distst FROM sampledata15 GROUP BY distst ORDER BY COUNT(*) DESC LIMIT 1 | [
13828,
318,
262,
749,
2968,
1181,
287,
262,
1294,
287,
2846,
286,
24392,
6082,
30,
46506,
1233,
301,
16034,
35846,
1045,
1314,
44441,
11050,
1233,
301,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
318,
262,
749,
2968,
1181,
287,
262,
1294,
287,
2846,
286,
24392,
6082,
30,
46506,
1233,
301,
16034,
35846,
1045,
1314,
44441,
11050,
1233,
301,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] |
datasets mentioned at icml | SELECT DISTINCT dataset.datasetid FROM dataset, paper, paperdataset, venue WHERE paperdataset.datasetid = dataset.datasetid AND paper.paperid = paperdataset.paperid AND venue.venueid = paper.venueid AND venue.venuename = 'icml' | [
19608,
292,
1039,
4750,
379,
14158,
4029,
46506,
360,
8808,
1268,
4177,
27039,
13,
19608,
292,
316,
312,
16034,
27039,
11,
3348,
11,
3348,
19608,
292,
316,
11,
14359,
33411,
3348,
19608,
292,
316,
13,
19608,
292,
316,
312,
796,
27039,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
19608,
292,
1039,
4750,
379,
14158,
4029,
46506,
360,
8808,
1268,
4177,
27039,
13,
19608,
292,
316,
312,
16034,
27039,
11,
3348,
11,
3348,
19608,
292,
316,
11,
14359,
33411,
3348,
19608,
292,
316,
13,
19608,
292,
316,
312,
796,
27039,
... |
Name the total number of pitcher for 9 overall rank | SELECT COUNT(pitcher) FROM table_242813_2 WHERE overall_rank = 9 | [
5376,
262,
2472,
1271,
286,
18086,
329,
860,
4045,
4279,
46506,
327,
28270,
7,
15544,
2044,
8,
16034,
3084,
62,
1731,
2078,
1485,
62,
17,
33411,
4045,
62,
43027,
796,
860
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
2472,
1271,
286,
18086,
329,
860,
4045,
4279,
46506,
327,
28270,
7,
15544,
2044,
8,
16034,
3084,
62,
1731,
2078,
1485,
62,
17,
33411,
4045,
62,
43027,
796,
860
] |
For those records from the products and each product's manufacturer, give me the comparison about the average of manufacturer over the founder , and group by attribute founder, and I want to sort by the total number in asc. | SELECT Founder, AVG(Manufacturer) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder ORDER BY AVG(Manufacturer) | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
11554,
625,
262,
9119,
837,
290,
1448,
416,
11688,
9119,
11,
290,
314,
765,
284,
3297,
416,
262,
2472,
1271,
287,
10570,
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... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
11554,
625,
262,
9119,
837,
290,
1448,
416,
11688,
9119,
11,
290,
314,
765,
284,
3297,
416,
262,
2472,
1271,
287,
10570,
13... |
Use a scatter chart to show the correlation between all the faculty members who participated in some activity and the number of activities they participated in. | SELECT COUNT(*), T1.FacID FROM Faculty AS T1 JOIN Faculty_Participates_in AS T2 ON T1.FacID = T2.FacID GROUP BY T1.FacID | [
11041,
257,
41058,
8262,
284,
905,
262,
16096,
1022,
477,
262,
12829,
1866,
508,
14888,
287,
617,
3842,
290,
262,
1271,
286,
4568,
484,
14888,
287,
13,
46506,
327,
28270,
46491,
828,
309,
16,
13,
47522,
2389,
16034,
35262,
7054,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
11041,
257,
41058,
8262,
284,
905,
262,
16096,
1022,
477,
262,
12829,
1866,
508,
14888,
287,
617,
3842,
290,
262,
1271,
286,
4568,
484,
14888,
287,
13,
46506,
327,
28270,
46491,
828,
309,
16,
13,
47522,
2389,
16034,
35262,
7054,
309,
... |
What is the label for 2002, in Germany, Catalog Dos 195? | SELECT "Label" FROM table_41361 WHERE "Date" = '2002' AND "Region" = 'germany' AND "Catalog" = 'dos 195' | [
2061,
318,
262,
6167,
329,
6244,
11,
287,
4486,
11,
44515,
43976,
24793,
30,
46506,
366,
33986,
1,
16034,
3084,
62,
44103,
5333,
33411,
366,
10430,
1,
796,
705,
16942,
6,
5357,
366,
47371,
1,
796,
705,
1362,
21834,
6,
5357,
366,
490... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6167,
329,
6244,
11,
287,
4486,
11,
44515,
43976,
24793,
30,
46506,
366,
33986,
1,
16034,
3084,
62,
44103,
5333,
33411,
366,
10430,
1,
796,
705,
16942,
6,
5357,
366,
47371,
1,
796,
705,
1362,
21834,
6,
5357,
366,
490... |
What is the IATA that has new south wales as the state/territory beginning on july 2009? | SELECT "IATA" FROM table_36856 WHERE "State/Territory" = 'new south wales' AND "Begin" = 'july 2009' | [
2061,
318,
262,
314,
13563,
326,
468,
649,
5366,
266,
2040,
355,
262,
1181,
14,
353,
799,
652,
3726,
319,
474,
2062,
3717,
30,
46506,
366,
40,
13563,
1,
16034,
3084,
62,
27412,
3980,
33411,
366,
9012,
14,
15156,
799,
652,
1,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
314,
13563,
326,
468,
649,
5366,
266,
2040,
355,
262,
1181,
14,
353,
799,
652,
3726,
319,
474,
2062,
3717,
30,
46506,
366,
40,
13563,
1,
16034,
3084,
62,
27412,
3980,
33411,
366,
9012,
14,
15156,
799,
652,
1,
796,
... |
Name the total number of ground for essendon | SELECT COUNT("Ground") FROM table_20750 WHERE "Home team" = 'Essendon' | [
5376,
262,
2472,
1271,
286,
2323,
329,
3209,
43153,
46506,
327,
28270,
7203,
35539,
4943,
16034,
3084,
62,
1238,
15426,
33411,
366,
16060,
1074,
1,
796,
705,
29508,
43153,
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,
2472,
1271,
286,
2323,
329,
3209,
43153,
46506,
327,
28270,
7203,
35539,
4943,
16034,
3084,
62,
1238,
15426,
33411,
366,
16060,
1074,
1,
796,
705,
29508,
43153,
6
] |
What is the Gauge of Builder Beyer, Peacock? | SELECT "Gauge" FROM table_35865 WHERE "Builder" = 'beyer, peacock' | [
2061,
318,
262,
35094,
469,
286,
35869,
1355,
9860,
11,
2631,
330,
735,
30,
46506,
366,
38,
559,
469,
1,
16034,
3084,
62,
31128,
2996,
33411,
366,
32875,
1,
796,
705,
1350,
9860,
11,
41961,
735,
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,
35094,
469,
286,
35869,
1355,
9860,
11,
2631,
330,
735,
30,
46506,
366,
38,
559,
469,
1,
16034,
3084,
62,
31128,
2996,
33411,
366,
32875,
1,
796,
705,
1350,
9860,
11,
41961,
735,
6
] |
What is Angola's airport and ICAO of fnsa? | SELECT airport FROM table_name_75 WHERE country = "angola" AND icao = "fnsa" | [
2061,
318,
48968,
338,
9003,
290,
314,
8141,
46,
286,
277,
5907,
64,
30,
46506,
9003,
16034,
3084,
62,
3672,
62,
2425,
33411,
1499,
796,
366,
648,
5708,
1,
5357,
220,
3970,
78,
796,
366,
69,
5907,
64,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
48968,
338,
9003,
290,
314,
8141,
46,
286,
277,
5907,
64,
30,
46506,
9003,
16034,
3084,
62,
3672,
62,
2425,
33411,
1499,
796,
366,
648,
5708,
1,
5357,
220,
3970,
78,
796,
366,
69,
5907,
64,
1
] |
Where were less than 72 goals made and more than 40 assists made? | SELECT venue FROM table_name_74 WHERE goals < 72 AND assists > 40 | [
8496,
547,
1342,
621,
7724,
4661,
925,
290,
517,
621,
2319,
13648,
925,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
4524,
33411,
4661,
1279,
7724,
5357,
13648,
1875,
2319
] | [
1,
1,
1,
1,
1,
1,
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,
547,
1342,
621,
7724,
4661,
925,
290,
517,
621,
2319,
13648,
925,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
4524,
33411,
4661,
1279,
7724,
5357,
13648,
1875,
2319
] |
List all the cities in a decreasing order of each city's stations' highest latitude. | SELECT city FROM station GROUP BY city ORDER BY MAX(lat) DESC | [
8053,
477,
262,
4736,
287,
257,
24030,
1502,
286,
1123,
1748,
338,
8985,
6,
4511,
32477,
13,
46506,
1748,
16034,
4429,
44441,
11050,
1748,
38678,
11050,
25882,
7,
15460,
8,
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
] | [
8053,
477,
262,
4736,
287,
257,
24030,
1502,
286,
1123,
1748,
338,
8985,
6,
4511,
32477,
13,
46506,
1748,
16034,
4429,
44441,
11050,
1748,
38678,
11050,
25882,
7,
15460,
8,
22196,
34
] |
How many players had been drafted in front of Yves archambault | SELECT pick__number FROM table_1473672_7 WHERE player = "Yves Archambault" | [
2437,
867,
1938,
550,
587,
15937,
287,
2166,
286,
575,
1158,
3934,
4131,
1721,
46506,
2298,
834,
17618,
16034,
3084,
62,
20198,
2623,
4761,
62,
22,
33411,
2137,
796,
366,
56,
1158,
5579,
4131,
1721,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1938,
550,
587,
15937,
287,
2166,
286,
575,
1158,
3934,
4131,
1721,
46506,
2298,
834,
17618,
16034,
3084,
62,
20198,
2623,
4761,
62,
22,
33411,
2137,
796,
366,
56,
1158,
5579,
4131,
1721,
1
] |
What is the active Date that has a 65 (100) Max 1-min wind? | SELECT dates_active FROM table_name_28 WHERE max_1_min_wind_mph__km_h_ = "65 (100)" | [
2061,
318,
262,
4075,
7536,
326,
468,
257,
6135,
357,
3064,
8,
5436,
352,
12,
1084,
2344,
30,
46506,
9667,
62,
5275,
16034,
3084,
62,
3672,
62,
2078,
33411,
3509,
62,
16,
62,
1084,
62,
7972,
62,
23335,
834,
13276,
62,
71,
62,
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
] | [
2061,
318,
262,
4075,
7536,
326,
468,
257,
6135,
357,
3064,
8,
5436,
352,
12,
1084,
2344,
30,
46506,
9667,
62,
5275,
16034,
3084,
62,
3672,
62,
2078,
33411,
3509,
62,
16,
62,
1084,
62,
7972,
62,
23335,
834,
13276,
62,
71,
62,
796,... |
What is the Record of the game on January 31 with Visitors Detroit Red Wings? | SELECT "Record" FROM table_46248 WHERE "Visitor" = 'detroit red wings' AND "Date" = 'january 31' | [
2061,
318,
262,
13266,
286,
262,
983,
319,
3269,
3261,
351,
44535,
8488,
2297,
17330,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
3510,
23045,
33411,
366,
15854,
2072,
1,
796,
705,
15255,
7775,
2266,
12098,
6,
5357,
366,
10430,
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,
13266,
286,
262,
983,
319,
3269,
3261,
351,
44535,
8488,
2297,
17330,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
3510,
23045,
33411,
366,
15854,
2072,
1,
796,
705,
15255,
7775,
2266,
12098,
6,
5357,
366,
10430,
1,
796,... |
What is the placement date of the order whose invoice number is 10, and count them by a line chart | SELECT date_order_placed, COUNT(date_order_placed) FROM Orders AS T1 JOIN Shipments AS T2 ON T1.order_id = T2.order_id WHERE T2.invoice_number = 10 | [
2061,
318,
262,
13127,
3128,
286,
262,
1502,
3025,
45458,
1271,
318,
838,
11,
290,
954,
606,
416,
257,
1627,
8262,
46506,
3128,
62,
2875,
62,
21820,
11,
327,
28270,
7,
4475,
62,
2875,
62,
21820,
8,
16034,
30689,
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,
318,
262,
13127,
3128,
286,
262,
1502,
3025,
45458,
1271,
318,
838,
11,
290,
954,
606,
416,
257,
1627,
8262,
46506,
3128,
62,
2875,
62,
21820,
11,
327,
28270,
7,
4475,
62,
2875,
62,
21820,
8,
16034,
30689,
7054,
309,
16,
32357... |
give me the total doses of enteral formula volume/bolus amt (ml) given to patient 005-46456 on 11/02/2104. | SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-46456')) AND intakeoutput.celllabel = 'enter... | [
26535,
502,
262,
2472,
16376,
286,
920,
1691,
10451,
6115,
14,
28984,
385,
716,
83,
357,
4029,
8,
1813,
284,
5827,
3571,
20,
12,
3510,
29228,
319,
1367,
14,
2999,
14,
17,
13464,
13,
46506,
35683,
7,
600,
539,
22915,
13,
3846,
2100,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
16376,
286,
920,
1691,
10451,
6115,
14,
28984,
385,
716,
83,
357,
4029,
8,
1813,
284,
5827,
3571,
20,
12,
3510,
29228,
319,
1367,
14,
2999,
14,
17,
13464,
13,
46506,
35683,
7,
600,
539,
22915,
13,
3846,
2100,
... |
For those employees who did not have any job in the past, draw a bar chart about the distribution of hire_date and the average of employee_id bin hire_date by time, display by the Y-axis in desc. | SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY AVG(EMPLOYEE_ID) DESC | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
6538,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
3359,
416,
262,
575,
12,
227... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
6538,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
3359,
416,
262,
575,
12,
227... |
Who was the team captain of the Bolton Wanderers? | SELECT "Captain" FROM table_70933 WHERE "Team" = 'bolton wanderers' | [
8241,
373,
262,
1074,
10654,
286,
262,
35293,
22420,
19288,
30,
46506,
366,
27898,
1,
16034,
3084,
62,
31495,
2091,
33411,
366,
15592,
1,
796,
705,
28984,
1122,
11569,
19288,
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,
1074,
10654,
286,
262,
35293,
22420,
19288,
30,
46506,
366,
27898,
1,
16034,
3084,
62,
31495,
2091,
33411,
366,
15592,
1,
796,
705,
28984,
1122,
11569,
19288,
6
] |
all comments with the word thank in them. | SELECT c.Id AS "comment_link" FROM Comments AS c INNER JOIN Posts AS p ON p.Id = c.PostId INNER JOIN Posts AS q ON q.Id = p.ParentId WHERE Text = 'Thank you for your answer.' AND p.PostTypeId = 2 | [
439,
3651,
351,
262,
1573,
5875,
287,
606,
13,
46506,
269,
13,
7390,
7054,
366,
23893,
62,
8726,
1,
16034,
19502,
7054,
269,
3268,
21479,
32357,
1268,
12043,
7054,
279,
6177,
279,
13,
7390,
796,
269,
13,
6307,
7390,
3268,
21479,
32357... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
439,
3651,
351,
262,
1573,
5875,
287,
606,
13,
46506,
269,
13,
7390,
7054,
366,
23893,
62,
8726,
1,
16034,
19502,
7054,
269,
3268,
21479,
32357,
1268,
12043,
7054,
279,
6177,
279,
13,
7390,
796,
269,
13,
6307,
7390,
3268,
21479,
32357... |
users who have answered a question. | SELECT COUNT(DISTINCT Users.Id) FROM Users JOIN Posts ON Users.Id = OwnerUserId WHERE Posts.PostTypeId = 2 | [
18417,
508,
423,
9373,
257,
1808,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
18987,
13,
7390,
8,
16034,
18987,
32357,
1268,
12043,
6177,
18987,
13,
7390,
796,
23853,
12982,
7390,
33411,
12043,
13,
6307,
6030,
7390,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
18417,
508,
423,
9373,
257,
1808,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
18987,
13,
7390,
8,
16034,
18987,
32357,
1268,
12043,
6177,
18987,
13,
7390,
796,
23853,
12982,
7390,
33411,
12043,
13,
6307,
6030,
7390,
796,
362
] |
Find all the songs that do not have a lead vocal. | SELECT DISTINCT title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid = t2.songid EXCEPT SELECT t2.title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid = t2.songid WHERE type = "lead" | [
16742,
477,
262,
7259,
326,
466,
407,
423,
257,
1085,
12435,
13,
46506,
360,
8808,
1268,
4177,
3670,
16034,
25355,
7054,
256,
16,
32357,
1268,
7259,
7054,
256,
17,
6177,
256,
16,
13,
34050,
312,
796,
256,
17,
13,
34050,
312,
7788,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
477,
262,
7259,
326,
466,
407,
423,
257,
1085,
12435,
13,
46506,
360,
8808,
1268,
4177,
3670,
16034,
25355,
7054,
256,
16,
32357,
1268,
7259,
7054,
256,
17,
6177,
256,
16,
13,
34050,
312,
796,
256,
17,
13,
34050,
312,
7788,
4... |
i would like to know the FIRST class fare on a flight from BALTIMORE to DENVER | SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, fare_basis, flight, flight_fare WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BALTIMORE' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code A... | [
72,
561,
588,
284,
760,
262,
31328,
1398,
14505,
319,
257,
5474,
422,
347,
31429,
3955,
6965,
284,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
72,
561,
588,
284,
760,
262,
31328,
1398,
14505,
319,
257,
5474,
422,
347,
31429,
3955,
6965,
284,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
... |
How many caps does stephen hoiles have? | SELECT SUM("Caps") FROM table_54752 WHERE "Player" = 'stephen hoiles' | [
2437,
867,
11022,
857,
2239,
831,
8169,
2915,
423,
30,
46506,
35683,
7203,
34,
1686,
4943,
16034,
3084,
62,
4051,
43665,
33411,
366,
14140,
1,
796,
705,
9662,
831,
8169,
2915,
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,
11022,
857,
2239,
831,
8169,
2915,
423,
30,
46506,
35683,
7203,
34,
1686,
4943,
16034,
3084,
62,
4051,
43665,
33411,
366,
14140,
1,
796,
705,
9662,
831,
8169,
2915,
6
] |
Find the number of classes in each department. | SELECT COUNT(*), dept_code FROM class AS T1 JOIN course AS T2 ON T1.crs_code = T2.crs_code GROUP BY dept_code | [
16742,
262,
1271,
286,
6097,
287,
1123,
5011,
13,
46506,
327,
28270,
46491,
828,
390,
457,
62,
8189,
16034,
1398,
7054,
309,
16,
32357,
1268,
1781,
7054,
309,
17,
6177,
309,
16,
13,
66,
3808,
62,
8189,
796,
309,
17,
13,
66,
3808,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
1271,
286,
6097,
287,
1123,
5011,
13,
46506,
327,
28270,
46491,
828,
390,
457,
62,
8189,
16034,
1398,
7054,
309,
16,
32357,
1268,
1781,
7054,
309,
17,
6177,
309,
16,
13,
66,
3808,
62,
8189,
796,
309,
17,
13,
66,
3808,
... |
What was the score of the game that had an attendance of 32,036? | SELECT "Score" FROM table_68930 WHERE "Attendance" = '32,036' | [
2061,
373,
262,
4776,
286,
262,
983,
326,
550,
281,
14858,
286,
3933,
11,
48597,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
40523,
1270,
33411,
366,
8086,
437,
590,
1,
796,
705,
2624,
11,
48597,
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,
373,
262,
4776,
286,
262,
983,
326,
550,
281,
14858,
286,
3933,
11,
48597,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
40523,
1270,
33411,
366,
8086,
437,
590,
1,
796,
705,
2624,
11,
48597,
6
] |
What category was the nominated in after 2008? | SELECT "Category" FROM table_48131 WHERE "Outcome" = 'nominated' AND "Year" > '2008' | [
2061,
6536,
373,
262,
19332,
287,
706,
3648,
30,
46506,
366,
27313,
1,
16034,
3084,
62,
2780,
22042,
33411,
366,
7975,
2958,
1,
796,
705,
26601,
3898,
6,
5357,
366,
17688,
1,
1875,
705,
11528,
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,
6536,
373,
262,
19332,
287,
706,
3648,
30,
46506,
366,
27313,
1,
16034,
3084,
62,
2780,
22042,
33411,
366,
7975,
2958,
1,
796,
705,
26601,
3898,
6,
5357,
366,
17688,
1,
1875,
705,
11528,
6
] |
Average post score on all sites. Show the average score for questions and for answers on all Stack Exchange sites. | SELECT AVG(CAST(Score AS FLOAT)) AS "posts", AVG(CASE PostTypeId WHEN 1 THEN CAST(Score AS FLOAT) END) AS "questions", AVG(CASE PostTypeId WHEN 2 THEN CAST(Score AS FLOAT) END) AS "answers" FROM Posts WHERE (PostTypeId = 1 OR PostTypeId = 2) | [
26287,
1281,
4776,
319,
477,
5043,
13,
5438,
262,
2811,
4776,
329,
2683,
290,
329,
7429,
319,
477,
23881,
12516,
5043,
13,
46506,
35224,
7,
44647,
7,
26595,
7054,
9977,
46,
1404,
4008,
7054,
366,
24875,
1600,
35224,
7,
34,
11159,
2947... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26287,
1281,
4776,
319,
477,
5043,
13,
5438,
262,
2811,
4776,
329,
2683,
290,
329,
7429,
319,
477,
23881,
12516,
5043,
13,
46506,
35224,
7,
44647,
7,
26595,
7054,
9977,
46,
1404,
4008,
7054,
366,
24875,
1600,
35224,
7,
34,
11159,
2947... |
Show the names of members and the location of the performances they attended. | SELECT T2.Name, T3.Location FROM member_attendance AS T1 JOIN member AS T2 ON T1.Member_ID = T2.Member_ID JOIN performance AS T3 ON T1.Performance_ID = T3.Performance_ID | [
15307,
262,
3891,
286,
1866,
290,
262,
4067,
286,
262,
13289,
484,
9141,
13,
46506,
309,
17,
13,
5376,
11,
309,
18,
13,
14749,
16034,
2888,
62,
1078,
437,
590,
7054,
309,
16,
32357,
1268,
2888,
7054,
309,
17,
6177,
309,
16,
13,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3891,
286,
1866,
290,
262,
4067,
286,
262,
13289,
484,
9141,
13,
46506,
309,
17,
13,
5376,
11,
309,
18,
13,
14749,
16034,
2888,
62,
1078,
437,
590,
7054,
309,
16,
32357,
1268,
2888,
7054,
309,
17,
6177,
309,
16,
13,
27... |
What is the name of the member with a costume Role of monster? | SELECT "Name" FROM table_53028 WHERE "Costume Role" = 'monster' | [
2061,
318,
262,
1438,
286,
262,
2888,
351,
257,
16569,
20934,
286,
9234,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
38612,
2078,
33411,
366,
13729,
2454,
20934,
1,
796,
705,
39050,
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,
1438,
286,
262,
2888,
351,
257,
16569,
20934,
286,
9234,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
38612,
2078,
33411,
366,
13729,
2454,
20934,
1,
796,
705,
39050,
6
] |
What Label released on October 25, 1984, in the format of Stereo LP? | SELECT "Label" FROM table_80337 WHERE "Date" = 'october 25, 1984' AND "Format" = 'stereo lp' | [
2061,
36052,
2716,
319,
3267,
1679,
11,
12844,
11,
287,
262,
5794,
286,
520,
32934,
18470,
30,
46506,
366,
33986,
1,
16034,
3084,
62,
1795,
31496,
33411,
366,
10430,
1,
796,
705,
38441,
2023,
1679,
11,
12844,
6,
5357,
366,
26227,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
36052,
2716,
319,
3267,
1679,
11,
12844,
11,
287,
262,
5794,
286,
520,
32934,
18470,
30,
46506,
366,
33986,
1,
16034,
3084,
62,
1795,
31496,
33411,
366,
10430,
1,
796,
705,
38441,
2023,
1679,
11,
12844,
6,
5357,
366,
26227,
1,
... |
What is the margin of victory for Nick Price as a runner-up? | SELECT margin_of_victory FROM table_name_52 WHERE runner_s__up = "nick price" | [
2061,
318,
262,
10330,
286,
5373,
329,
8047,
7886,
355,
257,
17490,
12,
929,
30,
46506,
10330,
62,
1659,
62,
32433,
652,
16034,
3084,
62,
3672,
62,
4309,
33411,
17490,
62,
82,
834,
929,
796,
366,
17172,
2756,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10330,
286,
5373,
329,
8047,
7886,
355,
257,
17490,
12,
929,
30,
46506,
10330,
62,
1659,
62,
32433,
652,
16034,
3084,
62,
3672,
62,
4309,
33411,
17490,
62,
82,
834,
929,
796,
366,
17172,
2756,
1
] |
What was the date of death for a rank below 14 and age of 103 years, 148 days? | SELECT "Death date" FROM table_50512 WHERE "Rank" < '14' AND "Age (as of 1 February 2014)" = '103 years, 148 days' | [
2061,
373,
262,
3128,
286,
1918,
329,
257,
4279,
2174,
1478,
290,
2479,
286,
15349,
812,
11,
22613,
1528,
30,
46506,
366,
20148,
3128,
1,
16034,
3084,
62,
1120,
25836,
33411,
366,
27520,
1,
1279,
705,
1415,
6,
5357,
366,
23396,
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
] | [
2061,
373,
262,
3128,
286,
1918,
329,
257,
4279,
2174,
1478,
290,
2479,
286,
15349,
812,
11,
22613,
1528,
30,
46506,
366,
20148,
3128,
1,
16034,
3084,
62,
1120,
25836,
33411,
366,
27520,
1,
1279,
705,
1415,
6,
5357,
366,
23396,
357,
... |
When did the staff member with first name as Janessa and last name as Sawayn join the company? | SELECT date_joined_staff FROM Staff WHERE first_name = "Janessa" AND last_name = "Sawayn" | [
2215,
750,
262,
3085,
2888,
351,
717,
1438,
355,
2365,
21411,
290,
938,
1438,
355,
311,
8272,
77,
4654,
262,
1664,
30,
46506,
3128,
62,
46416,
62,
28120,
16034,
9983,
33411,
717,
62,
3672,
796,
366,
12128,
21411,
1,
5357,
938,
62,
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
] | [
2215,
750,
262,
3085,
2888,
351,
717,
1438,
355,
2365,
21411,
290,
938,
1438,
355,
311,
8272,
77,
4654,
262,
1664,
30,
46506,
3128,
62,
46416,
62,
28120,
16034,
9983,
33411,
717,
62,
3672,
796,
366,
12128,
21411,
1,
5357,
938,
62,
3... |
List the distinct payment method codes with the number of orders mad in a bar chart, list in asc by the y axis. | SELECT payment_method_code, COUNT(*) FROM Invoices GROUP BY payment_method_code ORDER BY COUNT(*) | [
8053,
262,
7310,
6074,
2446,
12416,
351,
262,
1271,
286,
6266,
8805,
287,
257,
2318,
8262,
11,
1351,
287,
10570,
416,
262,
331,
16488,
13,
46506,
6074,
62,
24396,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
10001,
78,
1063,
44441,
1105... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
262,
7310,
6074,
2446,
12416,
351,
262,
1271,
286,
6266,
8805,
287,
257,
2318,
8262,
11,
1351,
287,
10570,
416,
262,
331,
16488,
13,
46506,
6074,
62,
24396,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
10001,
78,
1063,
44441,
1105... |
Name the segment a for 162 | SELECT "Segment A" FROM table_19888 WHERE "Episode" = '162' | [
5376,
262,
10618,
257,
329,
25090,
46506,
366,
41030,
434,
317,
1,
16034,
3084,
62,
26709,
23,
33411,
366,
23758,
1,
796,
705,
25061,
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
] | [
5376,
262,
10618,
257,
329,
25090,
46506,
366,
41030,
434,
317,
1,
16034,
3084,
62,
26709,
23,
33411,
366,
23758,
1,
796,
705,
25061,
6
] |
What was the Company or Product name where Entrepreneurs Geoff and Colette Bell requested 75,000? | SELECT "Company or product name" FROM table_71893 WHERE "Money requested (\u00a3)" = '75,000' AND "Entrepreneur(s)" = 'geoff and colette bell' | [
2061,
373,
262,
5834,
393,
8721,
1438,
810,
42071,
1834,
24688,
290,
1766,
21348,
7459,
9167,
5441,
11,
830,
30,
46506,
366,
39154,
393,
1720,
1438,
1,
16034,
3084,
62,
45720,
6052,
33411,
366,
26788,
9167,
357,
59,
84,
405,
64,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
373,
262,
5834,
393,
8721,
1438,
810,
42071,
1834,
24688,
290,
1766,
21348,
7459,
9167,
5441,
11,
830,
30,
46506,
366,
39154,
393,
1720,
1438,
1,
16034,
3084,
62,
45720,
6052,
33411,
366,
26788,
9167,
357,
59,
84,
405,
64,
18,
... |
WHAT IS THE EPISODE NUMBER THAT HAS 28 DVD? | SELECT episode_no FROM table_name_78 WHERE no_of_dvds = "28" | [
32971,
3180,
3336,
14724,
1797,
16820,
36871,
13246,
14603,
33930,
2579,
12490,
30,
46506,
4471,
62,
3919,
16034,
3084,
62,
3672,
62,
3695,
33411,
645,
62,
1659,
62,
67,
85,
9310,
796,
366,
2078,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32971,
3180,
3336,
14724,
1797,
16820,
36871,
13246,
14603,
33930,
2579,
12490,
30,
46506,
4471,
62,
3919,
16034,
3084,
62,
3672,
62,
3695,
33411,
645,
62,
1659,
62,
67,
85,
9310,
796,
366,
2078,
1
] |
What was the attendance on September 19, 1971, after week 1? | SELECT AVG("Attendance") FROM table_61688 WHERE "Date" = 'september 19, 1971' AND "Week" > '1' | [
2061,
373,
262,
14858,
319,
2693,
678,
11,
16382,
11,
706,
1285,
352,
30,
46506,
35224,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
44214,
3459,
33411,
366,
10430,
1,
796,
705,
325,
457,
1491,
678,
11,
16382,
6,
5357,
366,
20916,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2693,
678,
11,
16382,
11,
706,
1285,
352,
30,
46506,
35224,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
44214,
3459,
33411,
366,
10430,
1,
796,
705,
325,
457,
1491,
678,
11,
16382,
6,
5357,
366,
20916,
1... |
Show me a bar chart for what is the total rating of channel for each channel owner?, and I want to list by the sum rating in percent in desc. | SELECT Owner, SUM(Rating_in_percent) FROM channel GROUP BY Owner ORDER BY SUM(Rating_in_percent) DESC | [
15307,
502,
257,
2318,
8262,
329,
644,
318,
262,
2472,
7955,
286,
6518,
329,
1123,
6518,
4870,
21747,
290,
314,
765,
284,
1351,
416,
262,
2160,
7955,
287,
1411,
287,
1715,
13,
46506,
23853,
11,
35683,
7,
29321,
62,
259,
62,
25067,
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
] | [
15307,
502,
257,
2318,
8262,
329,
644,
318,
262,
2472,
7955,
286,
6518,
329,
1123,
6518,
4870,
21747,
290,
314,
765,
284,
1351,
416,
262,
2160,
7955,
287,
1411,
287,
1715,
13,
46506,
23853,
11,
35683,
7,
29321,
62,
259,
62,
25067,
8... |
What are the positions for Menlo College? | SELECT position FROM table_22603701_1 WHERE college = "Menlo college" | [
2061,
389,
262,
6116,
329,
6065,
5439,
5535,
30,
46506,
2292,
16034,
3084,
62,
1828,
1899,
2718,
486,
62,
16,
33411,
4152,
796,
366,
10418,
5439,
4152,
1
] | [
1,
1,
1,
1,
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,
6116,
329,
6065,
5439,
5535,
30,
46506,
2292,
16034,
3084,
62,
1828,
1899,
2718,
486,
62,
16,
33411,
4152,
796,
366,
10418,
5439,
4152,
1
] |
What is the Name of the Junior from Fayetteville, NC? | SELECT name FROM table_name_69 WHERE year = "junior" AND home_town = "fayetteville, nc" | [
2061,
318,
262,
6530,
286,
262,
20000,
422,
376,
27067,
4244,
11,
8823,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
3388,
33411,
614,
796,
366,
29741,
1504,
1,
5357,
1363,
62,
12735,
796,
366,
69,
27067,
4244,
11,
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
] | [
2061,
318,
262,
6530,
286,
262,
20000,
422,
376,
27067,
4244,
11,
8823,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
3388,
33411,
614,
796,
366,
29741,
1504,
1,
5357,
1363,
62,
12735,
796,
366,
69,
27067,
4244,
11,
299,
66,
1
] |
what is the money for trevor immelman? | SELECT money___$__ FROM table_name_77 WHERE player = "trevor immelman" | [
10919,
318,
262,
1637,
329,
2054,
20867,
2296,
32370,
30,
46506,
1637,
17569,
3,
834,
16034,
3084,
62,
3672,
62,
3324,
33411,
2137,
796,
366,
83,
18218,
273,
2296,
32370,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
1637,
329,
2054,
20867,
2296,
32370,
30,
46506,
1637,
17569,
3,
834,
16034,
3084,
62,
3672,
62,
3324,
33411,
2137,
796,
366,
83,
18218,
273,
2296,
32370,
1
] |
How many times did Saxby Chambliss have a lead margin of 21? | SELECT COUNT(republican) AS :_saxby_chambliss FROM table_16751596_16 WHERE lead_margin = 21 | [
2437,
867,
1661,
750,
29242,
1525,
37790,
2436,
747,
423,
257,
1085,
10330,
286,
2310,
30,
46506,
327,
28270,
7,
7856,
841,
272,
8,
7054,
1058,
62,
82,
897,
1525,
62,
49869,
2436,
747,
16034,
3084,
62,
1433,
2425,
1314,
4846,
62,
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
] | [
2437,
867,
1661,
750,
29242,
1525,
37790,
2436,
747,
423,
257,
1085,
10330,
286,
2310,
30,
46506,
327,
28270,
7,
7856,
841,
272,
8,
7054,
1058,
62,
82,
897,
1525,
62,
49869,
2436,
747,
16034,
3084,
62,
1433,
2425,
1314,
4846,
62,
14... |
Who arranged song(s) with tom lyle on the vocal percussion? | SELECT "Arranger(s)" FROM table_74309 WHERE "Vocal Percussionist(s)" = 'Tom Lyle' | [
8241,
14921,
3496,
7,
82,
8,
351,
16667,
300,
2349,
319,
262,
12435,
48388,
30,
46506,
366,
3163,
81,
2564,
7,
82,
16725,
16034,
3084,
62,
4524,
26895,
33411,
366,
53,
4374,
2448,
36262,
396,
7,
82,
16725,
796,
705,
13787,
406,
2349... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14921,
3496,
7,
82,
8,
351,
16667,
300,
2349,
319,
262,
12435,
48388,
30,
46506,
366,
3163,
81,
2564,
7,
82,
16725,
16034,
3084,
62,
4524,
26895,
33411,
366,
53,
4374,
2448,
36262,
396,
7,
82,
16725,
796,
705,
13787,
406,
2349... |
show me all the flights on NW from NEW YORK to MILWAUKEE to LOS ANGELES | 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 = 'LOS ANGELES' AND CITY... | [
12860,
502,
477,
262,
13956,
319,
21966,
422,
12682,
28154,
284,
31515,
15543,
15039,
6500,
284,
406,
2640,
44892,
1546,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
262,
13956,
319,
21966,
422,
12682,
28154,
284,
31515,
15543,
15039,
6500,
284,
406,
2640,
44892,
1546,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,... |
What is the name of team 2 that has 1-2 as the score? | SELECT team_2 FROM table_name_91 WHERE score = "1-2" | [
2061,
318,
262,
1438,
286,
1074,
362,
326,
468,
352,
12,
17,
355,
262,
4776,
30,
46506,
1074,
62,
17,
16034,
3084,
62,
3672,
62,
6420,
33411,
4776,
796,
366,
16,
12,
17,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
1074,
362,
326,
468,
352,
12,
17,
355,
262,
4776,
30,
46506,
1074,
62,
17,
16034,
3084,
62,
3672,
62,
6420,
33411,
4776,
796,
366,
16,
12,
17,
1
] |
what is the last specimen test given to patient 031-16123 since 08/2104? | SELECT microlab.culturesite FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-16123')) AND STRFTIME('%y-%m', microlab.culturetakentime) >= '2104... | [
10919,
318,
262,
938,
31674,
1332,
1813,
284,
5827,
657,
3132,
12,
1433,
10163,
1201,
8487,
14,
17,
13464,
30,
46506,
4580,
23912,
13,
40820,
942,
578,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
312,
3268,
357,
465... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
938,
31674,
1332,
1813,
284,
5827,
657,
3132,
12,
1433,
10163,
1201,
8487,
14,
17,
13464,
30,
46506,
4580,
23912,
13,
40820,
942,
578,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
312,
3268,
357,
465... |
how much is the maximum hospital cost with acute respiratory failure - due to atelectasis until 3 years ago? | SELECT MAX(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'acute respiratory failure - due to atelectas... | [
4919,
881,
318,
262,
5415,
4436,
1575,
351,
14352,
22949,
5287,
532,
2233,
284,
379,
9509,
17765,
1566,
513,
812,
2084,
30,
46506,
25882,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
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,
1... | [
4919,
881,
318,
262,
5415,
4436,
1575,
351,
14352,
22949,
5287,
532,
2233,
284,
379,
9509,
17765,
1566,
513,
812,
2084,
30,
46506,
25882,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
1... |
what ground transportation is available at DENVER airport | SELECT DISTINCT ground_service.transport_type FROM airport, airport_service, city, ground_service WHERE airport.airport_code = airport_service.airport_code AND city.city_code = airport_service.city_code AND city.city_name = 'DENVER' AND ground_service.airport_code = airport.airport_code | [
10919,
2323,
9358,
318,
1695,
379,
37692,
5959,
9003,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
9003,
11,
9003,
62,
15271,
11,
1748,
11,
2323,
62,
15271,
33411,
9003,
13,
958,
634,
62,
8189,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
2323,
9358,
318,
1695,
379,
37692,
5959,
9003,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
9003,
11,
9003,
62,
15271,
11,
1748,
11,
2323,
62,
15271,
33411,
9003,
13,
958,
634,
62,
8189,
796,
... |
list the flights from DALLAS to SAN FRANCISCO on AA | 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, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'SAN FRANCISCO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = ... | [
4868,
262,
13956,
422,
360,
7036,
1921,
284,
37376,
8782,
20940,
1797,
8220,
319,
317,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4868,
262,
13956,
422,
360,
7036,
1921,
284,
37376,
8782,
20940,
1797,
8220,
319,
317,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
... |
who is the grand finalist where scores is 8.9 (57) 7.12 (54) | SELECT "Grand Finalist" FROM table_16701 WHERE "Scores" = '8.9 (57) – 7.12 (54)' | [
8727,
318,
262,
4490,
2457,
396,
810,
8198,
318,
807,
13,
24,
357,
3553,
8,
767,
13,
1065,
357,
4051,
8,
46506,
366,
23581,
8125,
396,
1,
16034,
3084,
62,
21940,
486,
33411,
366,
3351,
2850,
1,
796,
705,
23,
13,
24,
357,
3553,
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
] | [
8727,
318,
262,
4490,
2457,
396,
810,
8198,
318,
807,
13,
24,
357,
3553,
8,
767,
13,
1065,
357,
4051,
8,
46506,
366,
23581,
8125,
396,
1,
16034,
3084,
62,
21940,
486,
33411,
366,
3351,
2850,
1,
796,
705,
23,
13,
24,
357,
3553,
8... |
Return the first names and last names of employees who earn more than 30000 in salary. | SELECT fname, lname FROM employee WHERE salary > 30000 | [
13615,
262,
717,
3891,
290,
938,
3891,
286,
4409,
508,
5160,
517,
621,
513,
2388,
287,
9588,
13,
46506,
277,
3672,
11,
300,
3672,
16034,
6538,
33411,
9588,
1875,
513,
2388
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13615,
262,
717,
3891,
290,
938,
3891,
286,
4409,
508,
5160,
517,
621,
513,
2388,
287,
9588,
13,
46506,
277,
3672,
11,
300,
3672,
16034,
6538,
33411,
9588,
1875,
513,
2388
] |
Compute the total the total number across investor as a pie chart. | SELECT Investor, COUNT(*) FROM entrepreneur GROUP BY Investor | [
7293,
1133,
262,
2472,
262,
2472,
1271,
1973,
15811,
355,
257,
2508,
8262,
13,
46506,
47979,
11,
327,
28270,
7,
28104,
16034,
19500,
44441,
11050,
47979
] | [
1,
1,
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,
15811,
355,
257,
2508,
8262,
13,
46506,
47979,
11,
327,
28270,
7,
28104,
16034,
19500,
44441,
11050,
47979
] |
count the number of patients whose admission year is less than 2187 and procedure long title is (aorto)coronary bypass of one coronary artery? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2187" AND procedures.long_title = "(Aorto)coronary bypass of one coronary artery" | [
9127,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
23451,
290,
8771,
890,
3670,
318,
357,
64,
419,
78,
8,
10215,
261,
560,
17286,
286,
530,
37151,
37646,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
327... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13938,
614,
318,
1342,
621,
362,
23451,
290,
8771,
890,
3670,
318,
357,
64,
419,
78,
8,
10215,
261,
560,
17286,
286,
530,
37151,
37646,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
327... |
What was the score of the game on September 14, 2008? | SELECT result FROM table_name_88 WHERE date = "september 14, 2008" | [
2061,
373,
262,
4776,
286,
262,
983,
319,
2693,
1478,
11,
3648,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
3459,
33411,
3128,
796,
366,
325,
457,
1491,
1478,
11,
3648,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
319,
2693,
1478,
11,
3648,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
3459,
33411,
3128,
796,
366,
325,
457,
1491,
1478,
11,
3648,
1
] |
Who was in third place in the 1980 season? | SELECT "Third place" FROM table_26222 WHERE "Season" = '1980' | [
8241,
373,
287,
2368,
1295,
287,
262,
7169,
1622,
30,
46506,
366,
22747,
1295,
1,
16034,
3084,
62,
2075,
23148,
33411,
366,
18960,
1,
796,
705,
23664,
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
] | [
8241,
373,
287,
2368,
1295,
287,
262,
7169,
1622,
30,
46506,
366,
22747,
1295,
1,
16034,
3084,
62,
2075,
23148,
33411,
366,
18960,
1,
796,
705,
23664,
6
] |
state the earliest year li xuerui won womens singles | SELECT MIN("Year") FROM table_23682 WHERE "Womens singles" = 'Li Xuerui' | [
5219,
262,
14555,
614,
7649,
2124,
15573,
9019,
1839,
1116,
641,
25287,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
1954,
43950,
33411,
366,
54,
296,
641,
25287,
1,
796,
705,
32304,
1395,
15573,
9019,
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
] | [
5219,
262,
14555,
614,
7649,
2124,
15573,
9019,
1839,
1116,
641,
25287,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
1954,
43950,
33411,
366,
54,
296,
641,
25287,
1,
796,
705,
32304,
1395,
15573,
9019,
6
] |
what types of ground transportation are there to SFO airport | SELECT DISTINCT ground_service.transport_type FROM airport, ground_service WHERE airport.airport_code = 'SFO' AND ground_service.airport_code = airport.airport_code | [
10919,
3858,
286,
2323,
9358,
389,
612,
284,
311,
6080,
9003,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
9003,
11,
2323,
62,
15271,
33411,
9003,
13,
958,
634,
62,
8189,
796,
705,
50,
6080,
6,
5357... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
3858,
286,
2323,
9358,
389,
612,
284,
311,
6080,
9003,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
9003,
11,
2323,
62,
15271,
33411,
9003,
13,
958,
634,
62,
8189,
796,
705,
50,
6080,
6,
5357... |
Which Team has a Qualification of entry to the 2004 chinese super league, and a 2002 Position smaller than 6, and a 2003 Position smaller than 9, and a Total Position larger than 3.5? | SELECT "Team" FROM table_65384 WHERE "Qualification" = 'entry to the 2004 chinese super league' AND "2002 Position" < '6' AND "2003 Position" < '9' AND "Total Position" > '3.5' | [
13828,
4816,
468,
257,
9537,
2649,
286,
5726,
284,
262,
5472,
442,
3762,
2208,
4652,
11,
290,
257,
6244,
23158,
4833,
621,
718,
11,
290,
257,
5816,
23158,
4833,
621,
860,
11,
290,
257,
7472,
23158,
4025,
621,
513,
13,
20,
30,
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... | [
13828,
4816,
468,
257,
9537,
2649,
286,
5726,
284,
262,
5472,
442,
3762,
2208,
4652,
11,
290,
257,
6244,
23158,
4833,
621,
718,
11,
290,
257,
5816,
23158,
4833,
621,
860,
11,
290,
257,
7472,
23158,
4025,
621,
513,
13,
20,
30,
46506,... |
what is the number of patients whose drug name is send 500mg vial? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "Send 500mg Vial" | [
10919,
318,
262,
1271,
286,
3871,
3025,
2563,
1438,
318,
3758,
5323,
11296,
410,
498,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2563,
1438,
318,
3758,
5323,
11296,
410,
498,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
... |
What is the rank for the city of sewri? | SELECT COUNT("Rank") FROM table_64653 WHERE "City" = 'sewri' | [
2061,
318,
262,
4279,
329,
262,
1748,
286,
34249,
380,
30,
46506,
327,
28270,
7203,
27520,
4943,
16034,
3084,
62,
2414,
46435,
33411,
366,
14941,
1,
796,
705,
325,
86,
380,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4279,
329,
262,
1748,
286,
34249,
380,
30,
46506,
327,
28270,
7203,
27520,
4943,
16034,
3084,
62,
2414,
46435,
33411,
366,
14941,
1,
796,
705,
325,
86,
380,
6
] |
What is the election date for the electorate of member charles brown category:articles with hcards? | SELECT "Election date" FROM table_31594 WHERE "Member" = 'charles brown category:articles with hcards' | [
2061,
318,
262,
3071,
3128,
329,
262,
23879,
286,
2888,
1149,
829,
7586,
6536,
25,
26845,
351,
289,
27761,
30,
46506,
366,
36,
1564,
3128,
1,
16034,
3084,
62,
27936,
5824,
33411,
366,
27608,
1,
796,
705,
10641,
829,
7586,
6536,
25,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3071,
3128,
329,
262,
23879,
286,
2888,
1149,
829,
7586,
6536,
25,
26845,
351,
289,
27761,
30,
46506,
366,
36,
1564,
3128,
1,
16034,
3084,
62,
27936,
5824,
33411,
366,
27608,
1,
796,
705,
10641,
829,
7586,
6536,
25,
... |
Which rank has a smaller area (sq mi) than 48, and an area (km2) greater than 104, and an island of sula, sogn og fjordane? | SELECT rank FROM table_name_12 WHERE area__sq_mi_ < 48 AND area__km²_ > 104 AND island = "sula, sogn og fjordane" | [
13828,
4279,
468,
257,
4833,
1989,
357,
31166,
21504,
8,
621,
4764,
11,
290,
281,
1989,
357,
13276,
17,
8,
3744,
621,
14436,
11,
290,
281,
7022,
286,
264,
4712,
11,
264,
2360,
267,
70,
277,
73,
585,
1531,
30,
46506,
4279,
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... | [
13828,
4279,
468,
257,
4833,
1989,
357,
31166,
21504,
8,
621,
4764,
11,
290,
281,
1989,
357,
13276,
17,
8,
3744,
621,
14436,
11,
290,
281,
7022,
286,
264,
4712,
11,
264,
2360,
267,
70,
277,
73,
585,
1531,
30,
46506,
4279,
16034,
3... |
Wins of 0, and a Rank larger than 6, and a Manufacturer of kawasaki, and a Rider of massimo broccoli involved what highest points? | SELECT MAX(points) FROM table_name_18 WHERE wins = 0 AND rank > 6 AND manufacturer = "kawasaki" AND rider = "massimo broccoli" | [
54,
1040,
286,
657,
11,
290,
257,
10916,
4025,
621,
718,
11,
290,
257,
40218,
286,
479,
707,
33846,
11,
290,
257,
16414,
286,
2347,
25147,
44653,
2950,
644,
4511,
2173,
30,
46506,
25882,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
1507,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
54,
1040,
286,
657,
11,
290,
257,
10916,
4025,
621,
718,
11,
290,
257,
40218,
286,
479,
707,
33846,
11,
290,
257,
16414,
286,
2347,
25147,
44653,
2950,
644,
4511,
2173,
30,
46506,
25882,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
1507,... |
What is listed in p when the type is listed as free agent 1? | SELECT p FROM table_17634290_7 WHERE type = "Free agent 1" | [
2061,
318,
5610,
287,
279,
618,
262,
2099,
318,
5610,
355,
1479,
5797,
352,
30,
46506,
279,
16034,
3084,
62,
24096,
2682,
24369,
62,
22,
33411,
2099,
796,
366,
11146,
5797,
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
] | [
2061,
318,
5610,
287,
279,
618,
262,
2099,
318,
5610,
355,
1479,
5797,
352,
30,
46506,
279,
16034,
3084,
62,
24096,
2682,
24369,
62,
22,
33411,
2099,
796,
366,
11146,
5797,
352,
1
] |
Select questions with the tag.. | SELECT Id AS "post_link", Score, CreationDate, Tags FROM Posts WHERE PostTypeId = 1 AND Tags LIKE '%##Tag##%' | [
17563,
2683,
351,
262,
7621,
492,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
15178,
11,
21582,
10430,
11,
44789,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
5357,
44789,
34178,
705,
4,
2235,
24835,
2235,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
17563,
2683,
351,
262,
7621,
492,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
15178,
11,
21582,
10430,
11,
44789,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
5357,
44789,
34178,
705,
4,
2235,
24835,
2235,
4,
6
] |
Create a bar chart showing school_id across all neutral | SELECT All_Neutral, School_ID FROM basketball_match | [
16447,
257,
2318,
8262,
4478,
1524,
62,
312,
1973,
477,
8500,
46506,
1439,
62,
8199,
6815,
11,
3961,
62,
2389,
16034,
9669,
62,
15699
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16447,
257,
2318,
8262,
4478,
1524,
62,
312,
1973,
477,
8500,
46506,
1439,
62,
8199,
6815,
11,
3961,
62,
2389,
16034,
9669,
62,
15699
] |
what is in 06/2101 average pt value of patient 73206? | SELECT AVG(labevents.valuenum) FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 73206) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'pt') AND STRFTIME('%y-%m', labevents.charttime) = '2101-06' | [
10919,
318,
287,
9130,
14,
2481,
486,
2811,
42975,
1988,
286,
5827,
8854,
22136,
30,
46506,
35224,
7,
23912,
31534,
13,
2100,
84,
44709,
8,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
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,
1... | [
10919,
318,
287,
9130,
14,
2481,
486,
2811,
42975,
1988,
286,
5827,
8854,
22136,
30,
46506,
35224,
7,
23912,
31534,
13,
2100,
84,
44709,
8,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
1... |
Tell me the sum of win % for drawn being larger than 35 | SELECT SUM(win__percentage) FROM table_name_55 WHERE drawn > 35 | [
24446,
502,
262,
2160,
286,
1592,
4064,
329,
7428,
852,
4025,
621,
3439,
46506,
35683,
7,
5404,
834,
25067,
496,
8,
16034,
3084,
62,
3672,
62,
2816,
33411,
7428,
1875,
3439
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
2160,
286,
1592,
4064,
329,
7428,
852,
4025,
621,
3439,
46506,
35683,
7,
5404,
834,
25067,
496,
8,
16034,
3084,
62,
3672,
62,
2816,
33411,
7428,
1875,
3439
] |
When Jackie Stewart had the fastest lap and Jochen Rindt held the pole position with a D tyre, what was the circuit? | SELECT "Circuit" FROM table_57538 WHERE "Tyre" = 'd' AND "Pole position" = 'jochen rindt' AND "Fastest lap" = 'jackie stewart' | [
2215,
24766,
13671,
550,
262,
14162,
14779,
290,
449,
420,
831,
371,
521,
83,
2714,
262,
16825,
2292,
351,
257,
360,
48216,
11,
644,
373,
262,
10349,
30,
46506,
366,
31560,
5013,
1,
16034,
3084,
62,
36189,
2548,
33411,
366,
25492,
260... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24766,
13671,
550,
262,
14162,
14779,
290,
449,
420,
831,
371,
521,
83,
2714,
262,
16825,
2292,
351,
257,
360,
48216,
11,
644,
373,
262,
10349,
30,
46506,
366,
31560,
5013,
1,
16034,
3084,
62,
36189,
2548,
33411,
366,
25492,
260... |
What venue is on the date of 8/6/03 | SELECT "Venue" FROM table_54200 WHERE "Date" = '8/6/03' | [
2061,
14359,
318,
319,
262,
3128,
286,
807,
14,
21,
14,
3070,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
4051,
2167,
33411,
366,
10430,
1,
796,
705,
23,
14,
21,
14,
3070,
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,
14359,
318,
319,
262,
3128,
286,
807,
14,
21,
14,
3070,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
4051,
2167,
33411,
366,
10430,
1,
796,
705,
23,
14,
21,
14,
3070,
6
] |
Return a bar chart on how many hours do the students spend studying in each department?, list from low to high by the x axis. | SELECT DEPT_CODE, SUM(STU_HRS) FROM STUDENT GROUP BY DEPT_CODE ORDER BY DEPT_CODE | [
13615,
257,
2318,
8262,
319,
703,
867,
2250,
466,
262,
2444,
4341,
11065,
287,
1123,
5011,
21747,
1351,
422,
1877,
284,
1029,
416,
262,
2124,
16488,
13,
46506,
5550,
11571,
62,
34,
16820,
11,
35683,
7,
2257,
52,
62,
39,
6998,
8,
160... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13615,
257,
2318,
8262,
319,
703,
867,
2250,
466,
262,
2444,
4341,
11065,
287,
1123,
5011,
21747,
1351,
422,
1877,
284,
1029,
416,
262,
2124,
16488,
13,
46506,
5550,
11571,
62,
34,
16820,
11,
35683,
7,
2257,
52,
62,
39,
6998,
8,
160... |
How many number of lakes are there in the Valdez-Cordova (CA) area? | SELECT MIN("# s Lake and GNIS query Link") FROM table_22052 WHERE "Borough or Census area" = 'Valdez-Cordova (CA)' | [
2437,
867,
1271,
286,
24768,
389,
612,
287,
262,
38552,
8471,
12,
34,
585,
10071,
357,
8141,
8,
1989,
30,
46506,
20625,
7203,
2,
264,
6233,
290,
15484,
1797,
12405,
7502,
4943,
16034,
3084,
62,
17572,
4309,
33411,
366,
33,
7985,
393,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
24768,
389,
612,
287,
262,
38552,
8471,
12,
34,
585,
10071,
357,
8141,
8,
1989,
30,
46506,
20625,
7203,
2,
264,
6233,
290,
15484,
1797,
12405,
7502,
4943,
16034,
3084,
62,
17572,
4309,
33411,
366,
33,
7985,
393,
... |
what is fare code FN | SELECT DISTINCT fare_basis_code FROM fare_basis WHERE fare_basis_code = 'FN' | [
10919,
318,
14505,
2438,
44260,
46506,
360,
8808,
1268,
4177,
14505,
62,
12093,
271,
62,
8189,
16034,
14505,
62,
12093,
271,
33411,
14505,
62,
12093,
271,
62,
8189,
796,
705,
43221,
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
] | [
10919,
318,
14505,
2438,
44260,
46506,
360,
8808,
1268,
4177,
14505,
62,
12093,
271,
62,
8189,
16034,
14505,
62,
12093,
271,
33411,
14505,
62,
12093,
271,
62,
8189,
796,
705,
43221,
6
] |
What is the average number of Byes for the team that had 15 Losses, and less than 1 Win? | SELECT AVG(byes) FROM table_name_13 WHERE losses = 15 AND wins < 1 | [
2061,
318,
262,
2811,
1271,
286,
2750,
274,
329,
262,
1074,
326,
550,
1315,
22014,
274,
11,
290,
1342,
621,
352,
7178,
30,
46506,
35224,
7,
1525,
274,
8,
16034,
3084,
62,
3672,
62,
1485,
33411,
9089,
796,
1315,
5357,
7864,
1279,
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,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
1271,
286,
2750,
274,
329,
262,
1074,
326,
550,
1315,
22014,
274,
11,
290,
1342,
621,
352,
7178,
30,
46506,
35224,
7,
1525,
274,
8,
16034,
3084,
62,
3672,
62,
1485,
33411,
9089,
796,
1315,
5357,
7864,
1279,
352... |
when was the last time that patient 44625 was diagnosed with a mv collision nos-driver during the first hospital visit? | SELECT diagnoses_icd.charttime FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'mv collision nos-driver') AND diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 44625 AND NOT admi... | [
12518,
373,
262,
938,
640,
326,
5827,
604,
3510,
1495,
373,
14641,
351,
257,
285,
85,
17661,
43630,
12,
26230,
1141,
262,
717,
4436,
3187,
30,
46506,
40567,
62,
291,
67,
13,
40926,
2435,
16034,
40567,
62,
291,
67,
33411,
40567,
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... | [
12518,
373,
262,
938,
640,
326,
5827,
604,
3510,
1495,
373,
14641,
351,
257,
285,
85,
17661,
43630,
12,
26230,
1141,
262,
717,
4436,
3187,
30,
46506,
40567,
62,
291,
67,
13,
40926,
2435,
16034,
40567,
62,
291,
67,
33411,
40567,
62,
... |
Which city does student Linda Smith live in? | SELECT city_code FROM Student WHERE Fname = "Linda" AND Lname = "Smith" | [
13828,
1748,
857,
3710,
21776,
4176,
2107,
287,
30,
46506,
1748,
62,
8189,
16034,
13613,
33411,
376,
3672,
796,
366,
43,
22261,
1,
5357,
406,
3672,
796,
366,
17919,
1
] | [
1,
1,
1,
1,
1,
1,
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,
1748,
857,
3710,
21776,
4176,
2107,
287,
30,
46506,
1748,
62,
8189,
16034,
13613,
33411,
376,
3672,
796,
366,
43,
22261,
1,
5357,
406,
3672,
796,
366,
17919,
1
] |
how many patients discharged to psychiatric facility-partial hospitalization were admitted to hospital before 2187? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "DISCH-TRAN TO PSYCH HOSP" AND demographic.admityear < "2187" | [
4919,
867,
3871,
26476,
284,
19906,
6841,
12,
47172,
4436,
1634,
547,
6848,
284,
4436,
878,
362,
23451,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
6381,
10136,
62,
248... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26476,
284,
19906,
6841,
12,
47172,
4436,
1634,
547,
6848,
284,
4436,
878,
362,
23451,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
6381,
10136,
62,
248... |
what is date of death of subject name brian taylor? | SELECT demographic.dod FROM demographic WHERE demographic.name = "Brian Taylor" | [
10919,
318,
3128,
286,
1918,
286,
2426,
1438,
275,
4484,
256,
7167,
30,
46506,
16728,
13,
67,
375,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
24761,
8121,
1
] | [
1,
1,
1,
1,
1,
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,
3128,
286,
1918,
286,
2426,
1438,
275,
4484,
256,
7167,
30,
46506,
16728,
13,
67,
375,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
24761,
8121,
1
] |
how many countiers had 2009 remittances of 6.02? | SELECT COUNT(country) FROM table_2941963_1 WHERE remittances_2009 = "6.02" | [
4919,
867,
954,
3183,
550,
3717,
816,
715,
1817,
286,
718,
13,
2999,
30,
46506,
327,
28270,
7,
19315,
8,
16034,
3084,
62,
27696,
45192,
62,
16,
33411,
816,
715,
1817,
62,
10531,
796,
366,
21,
13,
2999,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
954,
3183,
550,
3717,
816,
715,
1817,
286,
718,
13,
2999,
30,
46506,
327,
28270,
7,
19315,
8,
16034,
3084,
62,
27696,
45192,
62,
16,
33411,
816,
715,
1817,
62,
10531,
796,
366,
21,
13,
2999,
1
] |
tell me the prices for vasodilator - hydralazine? | SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'treatment' AND cost.eventid IN (SELECT treatment.treatmentid FROM treatment WHERE treatment.treatmentname = 'vasodilator - hydralazine') | [
33331,
502,
262,
4536,
329,
34439,
375,
346,
1352,
532,
7409,
1373,
4994,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
42487,
6,
5357,
1575,
13,
15596,
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
] | [
33331,
502,
262,
4536,
329,
34439,
375,
346,
1352,
532,
7409,
1373,
4994,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
42487,
6,
5357,
1575,
13,
15596,
312,
3268,
357,
46506,
... |
Type of primary, and a Call letters of kbjs has what format? | SELECT format FROM table_name_74 WHERE type = "primary" AND call_letters = "kbjs" | [
6030,
286,
4165,
11,
290,
257,
4889,
7475,
286,
47823,
8457,
468,
644,
5794,
30,
46506,
5794,
16034,
3084,
62,
3672,
62,
4524,
33411,
2099,
796,
366,
39754,
1,
5357,
869,
62,
15653,
796,
366,
32812,
8457,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
6030,
286,
4165,
11,
290,
257,
4889,
7475,
286,
47823,
8457,
468,
644,
5794,
30,
46506,
5794,
16034,
3084,
62,
3672,
62,
4524,
33411,
2099,
796,
366,
39754,
1,
5357,
869,
62,
15653,
796,
366,
32812,
8457,
1
] |
what is the runner-up for the intercontinental cup | SELECT intercontinental_cup_1998 FROM table_name_67 WHERE copa_mercosur_1998 = "runner-up" | [
10919,
318,
262,
17490,
12,
929,
329,
262,
987,
35415,
6508,
46506,
987,
35415,
62,
25244,
62,
21113,
16034,
3084,
62,
3672,
62,
3134,
33411,
2243,
64,
62,
647,
6966,
333,
62,
21113,
796,
366,
16737,
12,
929,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
17490,
12,
929,
329,
262,
987,
35415,
6508,
46506,
987,
35415,
62,
25244,
62,
21113,
16034,
3084,
62,
3672,
62,
3134,
33411,
2243,
64,
62,
647,
6966,
333,
62,
21113,
796,
366,
16737,
12,
929,
1
] |
When did the season with 1 team format premiere? | SELECT "Premiere/Air Dates" FROM table_23026 WHERE "Format" = '1 Team' | [
2215,
750,
262,
1622,
351,
352,
1074,
5794,
19245,
30,
46506,
366,
24914,
13235,
14,
16170,
44712,
1,
16034,
3084,
62,
19214,
2075,
33411,
366,
26227,
1,
796,
705,
16,
4816,
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
] | [
2215,
750,
262,
1622,
351,
352,
1074,
5794,
19245,
30,
46506,
366,
24914,
13235,
14,
16170,
44712,
1,
16034,
3084,
62,
19214,
2075,
33411,
366,
26227,
1,
796,
705,
16,
4816,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.