instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Which player has an average of 38.22? | SELECT player FROM table_name_53 WHERE average = 38.22 | [
13828,
2137,
468,
281,
2811,
286,
4353,
13,
1828,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
4310,
33411,
2811,
796,
4353,
13,
1828
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
2137,
468,
281,
2811,
286,
4353,
13,
1828,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
4310,
33411,
2811,
796,
4353,
13,
1828
] |
Name the position for christopher smith | SELECT "Position" FROM table_27272 WHERE "Player" = 'Christopher Smith' | [
5376,
262,
2292,
329,
33826,
8803,
895,
342,
46506,
366,
26545,
1,
16034,
3084,
62,
1983,
29807,
33411,
366,
14140,
1,
796,
705,
38025,
4176,
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
] | [
5376,
262,
2292,
329,
33826,
8803,
895,
342,
46506,
366,
26545,
1,
16034,
3084,
62,
1983,
29807,
33411,
366,
14140,
1,
796,
705,
38025,
4176,
6
] |
What's the total silver medals having less than 2 gold and 2 bronze? | SELECT COUNT("Silver") FROM table_64143 WHERE "Bronze" = '2' AND "Gold" < '2' | [
2061,
338,
262,
2472,
8465,
28057,
1719,
1342,
621,
362,
3869,
290,
362,
22101,
30,
46506,
327,
28270,
7203,
26766,
4943,
16034,
3084,
62,
2414,
21139,
33411,
366,
18760,
2736,
1,
796,
705,
17,
6,
5357,
366,
13306,
1,
1279,
705,
17,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
2472,
8465,
28057,
1719,
1342,
621,
362,
3869,
290,
362,
22101,
30,
46506,
327,
28270,
7203,
26766,
4943,
16034,
3084,
62,
2414,
21139,
33411,
366,
18760,
2736,
1,
796,
705,
17,
6,
5357,
366,
13306,
1,
1279,
705,
17,
... |
What is the average number of 2nd place finishes for racers active in the year 2000 and more than 0 titles? | SELECT AVG(2 AS nd_pl) FROM table_name_16 WHERE years_active = "2000" AND titles > 0 | [
2061,
318,
262,
2811,
1271,
286,
362,
358,
1295,
20271,
329,
3444,
364,
4075,
287,
262,
614,
4751,
290,
517,
621,
657,
8714,
30,
46506,
35224,
7,
17,
7054,
299,
67,
62,
489,
8,
16034,
3084,
62,
3672,
62,
1433,
33411,
812,
62,
5275... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
362,
358,
1295,
20271,
329,
3444,
364,
4075,
287,
262,
614,
4751,
290,
517,
621,
657,
8714,
30,
46506,
35224,
7,
17,
7054,
299,
67,
62,
489,
8,
16034,
3084,
62,
3672,
62,
1433,
33411,
812,
62,
5275... |
Find the number of people who is under 40 for each gender. | SELECT COUNT(*), gender FROM Person WHERE age < 40 GROUP BY gender | [
16742,
262,
1271,
286,
661,
508,
318,
739,
2319,
329,
1123,
5279,
13,
46506,
327,
28270,
46491,
828,
5279,
16034,
7755,
33411,
2479,
1279,
2319,
44441,
11050,
5279
] | [
1,
1,
1,
1,
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,
661,
508,
318,
739,
2319,
329,
1123,
5279,
13,
46506,
327,
28270,
46491,
828,
5279,
16034,
7755,
33411,
2479,
1279,
2319,
44441,
11050,
5279
] |
How many against points for 16 matches? | SELECT points_against FROM table_name_38 WHERE matches = "16" | [
2437,
867,
1028,
2173,
329,
1467,
7466,
30,
46506,
2173,
62,
32826,
16034,
3084,
62,
3672,
62,
2548,
33411,
7466,
796,
366,
1433,
1
] | [
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,
1028,
2173,
329,
1467,
7466,
30,
46506,
2173,
62,
32826,
16034,
3084,
62,
3672,
62,
2548,
33411,
7466,
796,
366,
1433,
1
] |
Questions which no longer have the given tag (including the editor). | WITH revisions_cte AS (SELECT DISTINCT p.Id AS pid, ph1.Id AS phId FROM PostHistory AS ph1 INNER JOIN Posts AS p ON ph1.PostId = p.Id WHERE ph1.PostHistoryTypeId IN (3, 6, 9) AND ph1.Text LIKE '%<##tagName##>%' AND NOT (p.Tags LIKE '%<##tagName##>%')), firstrev_cte AS (SELECT pid, MIN(ph2.Id) AS MinId FROM revisions_ct... | [
35741,
543,
645,
2392,
423,
262,
1813,
7621,
357,
8201,
262,
5464,
737,
54,
10554,
33315,
62,
310,
68,
7054,
357,
46506,
360,
8808,
1268,
4177,
279,
13,
7390,
7054,
46514,
11,
872,
16,
13,
7390,
7054,
872,
7390,
16034,
2947,
18122,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
35741,
543,
645,
2392,
423,
262,
1813,
7621,
357,
8201,
262,
5464,
737,
54,
10554,
33315,
62,
310,
68,
7054,
357,
46506,
360,
8808,
1268,
4177,
279,
13,
7390,
7054,
46514,
11,
872,
16,
13,
7390,
7054,
872,
7390,
16034,
2947,
18122,
... |
Create a bar chart showing the total number across city code, sort y-axis in ascending order. | SELECT city_code, COUNT(*) FROM Student GROUP BY city_code ORDER BY COUNT(*) | [
16447,
257,
2318,
8262,
4478,
262,
2472,
1271,
1973,
1748,
2438,
11,
3297,
331,
12,
22704,
287,
41988,
1502,
13,
46506,
1748,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
13613,
44441,
11050,
1748,
62,
8189,
38678,
11050,
327,
28270,
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
] | [
16447,
257,
2318,
8262,
4478,
262,
2472,
1271,
1973,
1748,
2438,
11,
3297,
331,
12,
22704,
287,
41988,
1502,
13,
46506,
1748,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
13613,
44441,
11050,
1748,
62,
8189,
38678,
11050,
327,
28270,
7,
... |
when was the first time patient 033-32465 was prescribed potassium chloride and mupirocin 2 % top oint since 08/2102 at the same time? | SELECT t1.drugstarttime FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'potassium chloride' AND patient.uniquepid = '033-32465' AND STRFTIME('%y-%m', medication.drugstarttime) >= '2102-08') AS ... | [
12518,
373,
262,
717,
640,
5827,
657,
2091,
12,
33916,
2996,
373,
14798,
33156,
44921,
290,
285,
929,
7058,
17879,
362,
4064,
1353,
267,
600,
1201,
8487,
14,
17,
15377,
379,
262,
976,
640,
30,
46506,
256,
16,
13,
30349,
9688,
2435,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
717,
640,
5827,
657,
2091,
12,
33916,
2996,
373,
14798,
33156,
44921,
290,
285,
929,
7058,
17879,
362,
4064,
1353,
267,
600,
1201,
8487,
14,
17,
15377,
379,
262,
976,
640,
30,
46506,
256,
16,
13,
30349,
9688,
2435,
... |
how many patients admission location is transfer from hosp/extram and were discharged to disc-tran cancer/chldrn h? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "TRANSFER FROM HOSP/EXTRAM" AND demographic.discharge_location = "DISC-TRAN CANCER/CHLDRN H" | [
4919,
867,
3871,
13938,
4067,
318,
4351,
422,
10496,
14,
2302,
859,
290,
547,
26476,
284,
1221,
12,
2213,
272,
4890,
14,
354,
335,
35906,
289,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
1672... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13938,
4067,
318,
4351,
422,
10496,
14,
2302,
859,
290,
547,
26476,
284,
1221,
12,
2213,
272,
4890,
14,
354,
335,
35906,
289,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
1672... |
What is 1994 Grand Slam Tournament if 1993 is also grand slam tournaments? | SELECT "1994" FROM table_62772 WHERE "1993" = 'grand slam tournaments' | [
2061,
318,
9162,
5675,
30382,
9595,
611,
9656,
318,
635,
4490,
21158,
18130,
30,
46506,
366,
22666,
1,
16034,
3084,
62,
49856,
4761,
33411,
366,
24465,
1,
796,
705,
23936,
21158,
18130,
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,
9162,
5675,
30382,
9595,
611,
9656,
318,
635,
4490,
21158,
18130,
30,
46506,
366,
22666,
1,
16034,
3084,
62,
49856,
4761,
33411,
366,
24465,
1,
796,
705,
23936,
21158,
18130,
6
] |
what is the score when the home team is sunderland? | SELECT "Score" FROM table_65261 WHERE "Home team" = 'sunderland' | [
10919,
318,
262,
4776,
618,
262,
1363,
1074,
318,
424,
681,
1044,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2996,
30057,
33411,
366,
16060,
1074,
1,
796,
705,
2385,
681,
1044,
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
] | [
10919,
318,
262,
4776,
618,
262,
1363,
1074,
318,
424,
681,
1044,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2996,
30057,
33411,
366,
16060,
1074,
1,
796,
705,
2385,
681,
1044,
6
] |
What's the average goal ratio with Goals larger than 1, Games larger than 161, and a Debut in Europe smaller than 1985? | SELECT AVG("Goal Ratio") FROM table_71716 WHERE "Goals" > '1' AND "Games" > '161' AND "Debut in Europe" < '1985' | [
2061,
338,
262,
2811,
3061,
8064,
351,
28510,
4025,
621,
352,
11,
5776,
4025,
621,
27829,
11,
290,
257,
1024,
4360,
287,
2031,
4833,
621,
12863,
30,
46506,
35224,
7203,
49045,
33956,
4943,
16034,
3084,
62,
22,
1558,
1433,
33411,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
338,
262,
2811,
3061,
8064,
351,
28510,
4025,
621,
352,
11,
5776,
4025,
621,
27829,
11,
290,
257,
1024,
4360,
287,
2031,
4833,
621,
12863,
30,
46506,
35224,
7203,
49045,
33956,
4943,
16034,
3084,
62,
22,
1558,
1433,
33411,
366,
... |
what is the place when the televote/sms is 2.39%? | SELECT SUM("Place") FROM table_66499 WHERE "Televote/SMS" = '2.39%' | [
10919,
318,
262,
1295,
618,
262,
22884,
1258,
14,
82,
907,
318,
362,
13,
2670,
4,
30,
46506,
35683,
7203,
27271,
4943,
16034,
3084,
62,
21,
2414,
2079,
33411,
366,
6767,
2768,
1258,
14,
50,
5653,
1,
796,
705,
17,
13,
2670,
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,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1295,
618,
262,
22884,
1258,
14,
82,
907,
318,
362,
13,
2670,
4,
30,
46506,
35683,
7203,
27271,
4943,
16034,
3084,
62,
21,
2414,
2079,
33411,
366,
6767,
2768,
1258,
14,
50,
5653,
1,
796,
705,
17,
13,
2670,
4,
6
] |
give me the number of patients whose admission year is less than 2167 and procedure short title is adm inhal nitric oxide? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2167" AND procedures.short_title = "Adm inhal nitric oxide" | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
21940,
290,
8771,
1790,
3670,
318,
6178,
40982,
13759,
1173,
30788,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
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... | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
21940,
290,
8771,
1790,
3670,
318,
6178,
40982,
13759,
1173,
30788,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3... |
Show names of technicians and the number of machines they are assigned to repair. | SELECT T2.Name, COUNT(*) FROM repair_assignment AS T1 JOIN technician AS T2 ON T1.technician_ID = T2.technician_ID GROUP BY T2.Name | [
15307,
3891,
286,
33519,
290,
262,
1271,
286,
8217,
484,
389,
8686,
284,
9185,
13,
46506,
309,
17,
13,
5376,
11,
327,
28270,
7,
28104,
16034,
9185,
62,
562,
16747,
7054,
309,
16,
32357,
1268,
33024,
7054,
309,
17,
6177,
309,
16,
13,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
3891,
286,
33519,
290,
262,
1271,
286,
8217,
484,
389,
8686,
284,
9185,
13,
46506,
309,
17,
13,
5376,
11,
327,
28270,
7,
28104,
16034,
9185,
62,
562,
16747,
7054,
309,
16,
32357,
1268,
33024,
7054,
309,
17,
6177,
309,
16,
13,... |
what is the three most frequent procedures that patients have received within 2 months following a cv cath plcmt w guidance procedure in the last year? | SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t3.icd9_code FROM (SELECT t2.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admi... | [
10919,
318,
262,
1115,
749,
10792,
9021,
326,
3871,
423,
2722,
1626,
362,
1933,
1708,
257,
269,
85,
32171,
458,
11215,
83,
266,
11154,
8771,
287,
262,
938,
614,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1115,
749,
10792,
9021,
326,
3871,
423,
2722,
1626,
362,
1933,
1708,
257,
269,
85,
32171,
458,
11215,
83,
266,
11154,
8771,
287,
262,
938,
614,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
... |
In what Year was 1st Division El Salvador with a Finish of Champion and a Team of Fas? | SELECT "Year" FROM table_66712 WHERE "Tournament" = '1st division el salvador' AND "Finish" = 'champion' AND "Team" = 'fas' | [
818,
644,
6280,
373,
352,
301,
7458,
2574,
26482,
351,
257,
32585,
286,
15869,
290,
257,
4816,
286,
38971,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
28933,
1065,
33411,
366,
51,
5138,
1,
796,
705,
16,
301,
7297,
1288,
24143,
7079,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6280,
373,
352,
301,
7458,
2574,
26482,
351,
257,
32585,
286,
15869,
290,
257,
4816,
286,
38971,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
28933,
1065,
33411,
366,
51,
5138,
1,
796,
705,
16,
301,
7297,
1288,
24143,
7079,
... |
Who is the winner in the location of ljvm coliseum winston-salem, nc? | SELECT winner FROM table_21330550_2 WHERE location = "LJVM Coliseum • Winston-Salem, NC" | [
8241,
318,
262,
8464,
287,
262,
4067,
286,
300,
73,
14761,
951,
38277,
1592,
3743,
12,
21680,
368,
11,
299,
66,
30,
46506,
8464,
16034,
3084,
62,
26427,
22515,
1120,
62,
17,
33411,
4067,
796,
366,
43,
41,
15996,
40846,
5595,
21400,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8464,
287,
262,
4067,
286,
300,
73,
14761,
951,
38277,
1592,
3743,
12,
21680,
368,
11,
299,
66,
30,
46506,
8464,
16034,
3084,
62,
26427,
22515,
1120,
62,
17,
33411,
4067,
796,
366,
43,
41,
15996,
40846,
5595,
21400,
... |
what is marital status and insurance of subject id 3284? | SELECT demographic.marital_status, demographic.insurance FROM demographic WHERE demographic.subject_id = "3284" | [
10919,
318,
29555,
3722,
290,
5096,
286,
2426,
4686,
513,
30336,
30,
46506,
16728,
13,
3876,
1287,
62,
13376,
11,
16728,
13,
1040,
3874,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
18,
30336,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
29555,
3722,
290,
5096,
286,
2426,
4686,
513,
30336,
30,
46506,
16728,
13,
3876,
1287,
62,
13376,
11,
16728,
13,
1040,
3874,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
18,
30336,
1
] |
Which average against has a lost less than 1? | SELECT AVG("Against") FROM table_42628 WHERE "Lost" < '1' | [
13828,
2811,
1028,
468,
257,
2626,
1342,
621,
352,
30,
46506,
35224,
7203,
39276,
4943,
16034,
3084,
62,
42780,
2078,
33411,
366,
31042,
1,
1279,
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
] | [
13828,
2811,
1028,
468,
257,
2626,
1342,
621,
352,
30,
46506,
35224,
7203,
39276,
4943,
16034,
3084,
62,
42780,
2078,
33411,
366,
31042,
1,
1279,
705,
16,
6
] |
Can I get a witness?. | SELECT * FROM Posts | [
6090,
314,
651,
257,
4973,
30,
13,
46506,
1635,
16034,
12043
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
6090,
314,
651,
257,
4973,
30,
13,
46506,
1635,
16034,
12043
] |
For those records from the products and each product's manufacturer, give me the comparison about manufacturer over the name , and group by attribute headquarter, sort by the X-axis from high to low please. | SELECT T1.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter, T1.Name ORDER BY T1.Name DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
11554,
625,
262,
1438,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
3297,
416,
262,
1395,
12,
22704,
422,
1029,
284,
1877,
3387,
13,
46506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11554,
625,
262,
1438,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
3297,
416,
262,
1395,
12,
22704,
422,
1029,
284,
1877,
3387,
13,
46506,
... |
What is Metro's win percentage? | SELECT "Win %" FROM table_31633 WHERE "Conference" = 'metro' | [
2061,
318,
12477,
338,
1592,
5873,
30,
46506,
366,
16643,
4064,
1,
16034,
3084,
62,
33400,
2091,
33411,
366,
3103,
4288,
1,
796,
705,
4164,
305,
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
] | [
2061,
318,
12477,
338,
1592,
5873,
30,
46506,
366,
16643,
4064,
1,
16034,
3084,
62,
33400,
2091,
33411,
366,
3103,
4288,
1,
796,
705,
4164,
305,
6
] |
what is the number of countries that played during the 2011-12 uefa europa league ? | SELECT COUNT("club") FROM table_204_542 WHERE "season" = '2011-12' | [
10919,
318,
262,
1271,
286,
2678,
326,
2826,
1141,
262,
2813,
12,
1065,
334,
891,
64,
11063,
8957,
4652,
5633,
46506,
327,
28270,
7203,
18664,
4943,
16034,
3084,
62,
18638,
62,
20,
3682,
33411,
366,
6230,
1,
796,
705,
9804,
12,
1065,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2678,
326,
2826,
1141,
262,
2813,
12,
1065,
334,
891,
64,
11063,
8957,
4652,
5633,
46506,
327,
28270,
7203,
18664,
4943,
16034,
3084,
62,
18638,
62,
20,
3682,
33411,
366,
6230,
1,
796,
705,
9804,
12,
1065,
... |
Find all comedies produced in year 2015 | SELECT movie.title FROM classification, genre, movie WHERE genre.genre = 'comedies' AND genre.gid = classification.gid AND movie.mid = classification.msid AND movie.release_year = 2015 | [
16742,
477,
14577,
444,
4635,
287,
614,
1853,
46506,
3807,
13,
7839,
16034,
17923,
11,
12121,
11,
3807,
33411,
12121,
13,
35850,
796,
705,
15128,
444,
6,
5357,
12121,
13,
70,
312,
796,
17923,
13,
70,
312,
5357,
3807,
13,
13602,
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
] | [
16742,
477,
14577,
444,
4635,
287,
614,
1853,
46506,
3807,
13,
7839,
16034,
17923,
11,
12121,
11,
3807,
33411,
12121,
13,
35850,
796,
705,
15128,
444,
6,
5357,
12121,
13,
70,
312,
796,
17923,
13,
70,
312,
5357,
3807,
13,
13602,
796,
... |
What is 2011, when 2012 is '1R'? | SELECT "2011" FROM table_61809 WHERE "2012" = '1r' | [
2061,
318,
2813,
11,
618,
2321,
318,
705,
16,
49,
30960,
46506,
366,
9804,
1,
16034,
3084,
62,
47448,
2931,
33411,
366,
6999,
1,
796,
705,
16,
81,
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
] | [
2061,
318,
2813,
11,
618,
2321,
318,
705,
16,
49,
30960,
46506,
366,
9804,
1,
16034,
3084,
62,
47448,
2931,
33411,
366,
6999,
1,
796,
705,
16,
81,
6
] |
SELECT Body FROM Posts where Posts.Id=4983476. | SELECT Body, Title, Tags FROM Posts WHERE Posts.Id = 4983476 | [
46506,
12290,
16034,
12043,
810,
12043,
13,
7390,
28,
36260,
2682,
4304,
13,
46506,
12290,
11,
11851,
11,
44789,
16034,
12043,
33411,
12043,
13,
7390,
796,
604,
4089,
2682,
4304
] | [
1,
1,
1,
1,
1,
1,
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,
12290,
16034,
12043,
810,
12043,
13,
7390,
28,
36260,
2682,
4304,
13,
46506,
12290,
11,
11851,
11,
44789,
16034,
12043,
33411,
12043,
13,
7390,
796,
604,
4089,
2682,
4304
] |
What was the result of the game on week 11? | SELECT result FROM table_name_55 WHERE week = 11 | [
2061,
373,
262,
1255,
286,
262,
983,
319,
1285,
1367,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
2816,
33411,
1285,
796,
1367
] | [
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,
1255,
286,
262,
983,
319,
1285,
1367,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
2816,
33411,
1285,
796,
1367
] |
For those records from the products and each product's manufacturer, give me the comparison about code over the name , and group by attribute headquarter by a bar chart, I want to order by the X-axis in asc please. | SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter, T1.Name ORDER BY T1.Name | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
2438,
625,
262,
1438,
837,
290,
1448,
416,
11688,
1182,
24385,
416,
257,
2318,
8262,
11,
314,
765,
284,
1502,
416,
262,
1395,
12,
22704,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2438,
625,
262,
1438,
837,
290,
1448,
416,
11688,
1182,
24385,
416,
257,
2318,
8262,
11,
314,
765,
284,
1502,
416,
262,
1395,
12,
22704,
28... |
Which gymnast had a b score of 8.95 and an a score less than 6.9 | SELECT "Gymnast" FROM table_79242 WHERE "B Score" = '8.95' AND "A Score" < '6.9' | [
13828,
38581,
459,
550,
257,
275,
4776,
286,
807,
13,
3865,
290,
281,
257,
4776,
1342,
621,
718,
13,
24,
46506,
366,
38,
4948,
77,
459,
1,
16034,
3084,
62,
3720,
27877,
33411,
366,
33,
15178,
1,
796,
705,
23,
13,
3865,
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
] | [
13828,
38581,
459,
550,
257,
275,
4776,
286,
807,
13,
3865,
290,
281,
257,
4776,
1342,
621,
718,
13,
24,
46506,
366,
38,
4948,
77,
459,
1,
16034,
3084,
62,
3720,
27877,
33411,
366,
33,
15178,
1,
796,
705,
23,
13,
3865,
6,
5357,
... |
Name the finish for patani | SELECT finish FROM table_16976547_2 WHERE eliminated = "Patani" | [
5376,
262,
5461,
329,
1458,
3216,
46506,
5461,
16034,
3084,
62,
1433,
5607,
2996,
2857,
62,
17,
33411,
15254,
796,
366,
12130,
3216,
1
] | [
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,
5461,
329,
1458,
3216,
46506,
5461,
16034,
3084,
62,
1433,
5607,
2996,
2857,
62,
17,
33411,
15254,
796,
366,
12130,
3216,
1
] |
who are the candidates when the incumbent is lindsey graham? | SELECT "Candidates" FROM table_18120 WHERE "Incumbent" = 'Lindsey Graham' | [
8727,
389,
262,
5871,
618,
262,
23526,
318,
300,
521,
4397,
7933,
2763,
30,
46506,
366,
41572,
37051,
1,
16034,
3084,
62,
1507,
10232,
33411,
366,
25517,
2178,
298,
1,
796,
705,
43410,
4397,
11520,
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
] | [
8727,
389,
262,
5871,
618,
262,
23526,
318,
300,
521,
4397,
7933,
2763,
30,
46506,
366,
41572,
37051,
1,
16034,
3084,
62,
1507,
10232,
33411,
366,
25517,
2178,
298,
1,
796,
705,
43410,
4397,
11520,
6
] |
What district did S. William Green belong to? | SELECT "District" FROM table_18326 WHERE "Incumbent" = 'S. William Green' | [
2061,
4783,
750,
311,
13,
3977,
3469,
5594,
284,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
24839,
2075,
33411,
366,
25517,
2178,
298,
1,
796,
705,
50,
13,
3977,
3469,
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,
4783,
750,
311,
13,
3977,
3469,
5594,
284,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
24839,
2075,
33411,
366,
25517,
2178,
298,
1,
796,
705,
50,
13,
3977,
3469,
6
] |
What are all the location codes and location names? | SELECT location_code, location_name FROM ref_locations | [
2061,
389,
477,
262,
4067,
12416,
290,
4067,
3891,
30,
46506,
4067,
62,
8189,
11,
4067,
62,
3672,
16034,
1006,
62,
17946,
602
] | [
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,
477,
262,
4067,
12416,
290,
4067,
3891,
30,
46506,
4067,
62,
8189,
11,
4067,
62,
3672,
16034,
1006,
62,
17946,
602
] |
how many male patients use the additive drug type? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.gender = "M" AND prescriptions.drug_type = "ADDITIVE" | [
4919,
867,
4257,
3871,
779,
262,
38298,
2563,
2099,
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,
76,
62,
312,
796,
34092,
13,
1810... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
4257,
3871,
779,
262,
38298,
2563,
2099,
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,
76,
62,
312,
796,
34092,
13,
1810... |
Binomial of (1) has what pairing? | SELECT pairing FROM table_name_68 WHERE binomial = "θ(1)" | [
33,
259,
49070,
286,
357,
16,
8,
468,
644,
27356,
30,
46506,
27356,
16034,
3084,
62,
3672,
62,
3104,
33411,
9874,
49070,
796,
366,
138,
116,
7,
16,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
33,
259,
49070,
286,
357,
16,
8,
468,
644,
27356,
30,
46506,
27356,
16034,
3084,
62,
3672,
62,
3104,
33411,
9874,
49070,
796,
366,
138,
116,
7,
16,
16725
] |
What is the number of staterooms when guests was larger than 210? | SELECT AVG(staterooms) FROM table_name_28 WHERE guests > 210 | [
2061,
318,
262,
1271,
286,
336,
729,
78,
3150,
618,
10650,
373,
4025,
621,
20064,
30,
46506,
35224,
7,
301,
729,
78,
3150,
8,
16034,
3084,
62,
3672,
62,
2078,
33411,
10650,
1875,
20064
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
336,
729,
78,
3150,
618,
10650,
373,
4025,
621,
20064,
30,
46506,
35224,
7,
301,
729,
78,
3150,
8,
16034,
3084,
62,
3672,
62,
2078,
33411,
10650,
1875,
20064
] |
Which Constructor has grid 2? | SELECT constructor FROM table_name_75 WHERE grid = 2 | [
13828,
28407,
273,
468,
10706,
362,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
2425,
33411,
10706,
796,
362
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
28407,
273,
468,
10706,
362,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
2425,
33411,
10706,
796,
362
] |
how many of the patients aged below 89 received drug via pb route? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "89" AND prescriptions.route = "PB" | [
4919,
867,
286,
262,
3871,
9722,
2174,
9919,
2722,
2563,
2884,
279,
65,
6339,
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,
76,
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... | [
4919,
867,
286,
262,
3871,
9722,
2174,
9919,
2722,
2563,
2884,
279,
65,
6339,
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,
76,
62,... |
What is the ISBN in 1999? | SELECT "ISBN" FROM table_64834 WHERE "Year" = '1999' | [
2061,
318,
262,
32429,
287,
7358,
30,
46506,
366,
1797,
15766,
1,
16034,
3084,
62,
34287,
2682,
33411,
366,
17688,
1,
796,
705,
18946,
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
] | [
2061,
318,
262,
32429,
287,
7358,
30,
46506,
366,
1797,
15766,
1,
16034,
3084,
62,
34287,
2682,
33411,
366,
17688,
1,
796,
705,
18946,
6
] |
Find the name of the products that have the color description 'red' and have the characteristic name 'fast'. | SELECT product_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN characteristics AS t3 ON t2.characteristic_id = t3.characteristic_id JOIN ref_colors AS t4 ON t1.color_code = t4.color_code WHERE t4.color_description = "red" AND t3.characteristic_name = "fast" | [
16742,
262,
1438,
286,
262,
3186,
326,
423,
262,
3124,
6764,
705,
445,
6,
290,
423,
262,
16704,
1438,
705,
7217,
4458,
46506,
1720,
62,
3672,
16034,
3186,
7054,
256,
16,
32357,
1268,
1720,
62,
22769,
3969,
7054,
256,
17,
6177,
256,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
286,
262,
3186,
326,
423,
262,
3124,
6764,
705,
445,
6,
290,
423,
262,
16704,
1438,
705,
7217,
4458,
46506,
1720,
62,
3672,
16034,
3186,
7054,
256,
16,
32357,
1268,
1720,
62,
22769,
3969,
7054,
256,
17,
6177,
256,
... |
Find the average fee on a CSU campus in 1996 | SELECT AVG(campusfee) FROM csu_fees WHERE year = 1996 | [
16742,
262,
2811,
6838,
319,
257,
9429,
52,
7611,
287,
8235,
46506,
35224,
7,
43842,
39071,
8,
16034,
269,
2385,
62,
69,
2841,
33411,
614,
796,
8235
] | [
1,
1,
1,
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,
2811,
6838,
319,
257,
9429,
52,
7611,
287,
8235,
46506,
35224,
7,
43842,
39071,
8,
16034,
269,
2385,
62,
69,
2841,
33411,
614,
796,
8235
] |
How many people attended the game where Footscray was away? | SELECT crowd FROM table_name_29 WHERE away_team = "footscray" | [
2437,
867,
661,
9141,
262,
983,
810,
7870,
1416,
2433,
373,
1497,
30,
46506,
4315,
16034,
3084,
62,
3672,
62,
1959,
33411,
1497,
62,
15097,
796,
366,
5898,
1416,
2433,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
661,
9141,
262,
983,
810,
7870,
1416,
2433,
373,
1497,
30,
46506,
4315,
16034,
3084,
62,
3672,
62,
1959,
33411,
1497,
62,
15097,
796,
366,
5898,
1416,
2433,
1
] |
What's the release date of Feather Finger with an MM Series? | SELECT release_date FROM table_name_4 WHERE series = "mm" AND title = "feather finger" | [
2061,
338,
262,
2650,
3128,
286,
34501,
39454,
351,
281,
20806,
7171,
30,
46506,
2650,
62,
4475,
16034,
3084,
62,
3672,
62,
19,
33411,
2168,
796,
366,
3020,
1,
5357,
3670,
796,
366,
5036,
1032,
7660,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2650,
3128,
286,
34501,
39454,
351,
281,
20806,
7171,
30,
46506,
2650,
62,
4475,
16034,
3084,
62,
3672,
62,
19,
33411,
2168,
796,
366,
3020,
1,
5357,
3670,
796,
366,
5036,
1032,
7660,
1
] |
how many female patients are admitted under emergency room admit? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.admission_location = "EMERGENCY ROOM ADMIT" | [
4919,
867,
4048,
3871,
389,
6848,
739,
6334,
2119,
9159,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
37,
1,
5357,
16728,
13,
324,
3411,
62,
24886,
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
] | [
4919,
867,
4048,
3871,
389,
6848,
739,
6334,
2119,
9159,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
37,
1,
5357,
16728,
13,
324,
3411,
62,
24886,
796... |
What Title's Transliteration is Fal'shivaya Nota? | SELECT "Title" FROM table_43707 WHERE "Transliteration" = 'fal''shivaya nota' | [
2061,
11851,
338,
3602,
17201,
341,
318,
9596,
338,
71,
452,
11729,
1892,
64,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
3559,
24038,
33411,
366,
8291,
17201,
341,
1,
796,
705,
42932,
7061,
1477,
452,
11729,
407,
64,
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
] | [
2061,
11851,
338,
3602,
17201,
341,
318,
9596,
338,
71,
452,
11729,
1892,
64,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
3559,
24038,
33411,
366,
8291,
17201,
341,
1,
796,
705,
42932,
7061,
1477,
452,
11729,
407,
64,
6
] |
What year was the US Open that had a partnering of Maikel Scheffers? | SELECT SUM(year) FROM table_name_56 WHERE partnering = "maikel scheffers" AND championship = "us open" | [
2061,
614,
373,
262,
1294,
4946,
326,
550,
257,
41759,
286,
6669,
522,
75,
10011,
487,
364,
30,
46506,
35683,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
3980,
33411,
41759,
796,
366,
2611,
522,
75,
3897,
487,
364,
1,
5357,
12184,
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,
614,
373,
262,
1294,
4946,
326,
550,
257,
41759,
286,
6669,
522,
75,
10011,
487,
364,
30,
46506,
35683,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
3980,
33411,
41759,
796,
366,
2611,
522,
75,
3897,
487,
364,
1,
5357,
12184,
796,
... |
Which country has a rollercoaster that opened in 2002, is a spinning coaster, and is located in Disney's Animal Kingdom? | SELECT "Country" FROM table_54286 WHERE "Opened" = '2002' AND "Model" = 'spinning coaster' AND "Park" = 'disney''s animal kingdom' | [
13828,
1499,
468,
257,
24471,
1073,
1603,
326,
4721,
287,
6244,
11,
318,
257,
19493,
42450,
11,
290,
318,
5140,
287,
8519,
338,
13792,
7526,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
4051,
27033,
33411,
366,
18257,
2945,
1,
796,
705,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
1499,
468,
257,
24471,
1073,
1603,
326,
4721,
287,
6244,
11,
318,
257,
19493,
42450,
11,
290,
318,
5140,
287,
8519,
338,
13792,
7526,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
4051,
27033,
33411,
366,
18257,
2945,
1,
796,
705,... |
What is the latest week when the chicago bears are the opponent? | SELECT MAX(week) FROM table_name_27 WHERE opponent = "chicago bears" | [
2061,
318,
262,
3452,
1285,
618,
262,
442,
4549,
13062,
389,
262,
6125,
30,
46506,
25882,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
1983,
33411,
6125,
796,
366,
354,
4549,
13062,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3452,
1285,
618,
262,
442,
4549,
13062,
389,
262,
6125,
30,
46506,
25882,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
1983,
33411,
6125,
796,
366,
354,
4549,
13062,
1
] |
Which Opponent is on 17 november 2002? | SELECT "Opponent" FROM table_74962 WHERE "Date" = '17 november 2002' | [
13828,
9385,
3471,
318,
319,
1596,
645,
303,
1916,
6244,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
22,
2920,
5237,
33411,
366,
10430,
1,
796,
705,
1558,
645,
303,
1916,
6244,
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
] | [
13828,
9385,
3471,
318,
319,
1596,
645,
303,
1916,
6244,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
22,
2920,
5237,
33411,
366,
10430,
1,
796,
705,
1558,
645,
303,
1916,
6244,
6
] |
On the date of june 7 what was the score? | SELECT record FROM table_name_31 WHERE date = "june 7" | [
2202,
262,
3128,
286,
474,
1726,
767,
644,
373,
262,
4776,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
3132,
33411,
3128,
796,
366,
73,
1726,
767,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2202,
262,
3128,
286,
474,
1726,
767,
644,
373,
262,
4776,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
3132,
33411,
3128,
796,
366,
73,
1726,
767,
1
] |
Which Wins have a Win % smaller than 0.8270000000000001, and a Name of rick mirer, and Ties smaller than 1? | SELECT SUM("Wins") FROM table_37661 WHERE "Win %" < '0.8270000000000001' AND "Name" = 'rick mirer' AND "Ties" < '1' | [
13828,
24423,
423,
257,
7178,
4064,
4833,
621,
657,
13,
23,
1983,
8269,
2388,
16,
11,
290,
257,
6530,
286,
374,
624,
285,
557,
81,
11,
290,
309,
444,
4833,
621,
352,
30,
46506,
35683,
7203,
54,
1040,
4943,
16034,
3084,
62,
2718,
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... | [
13828,
24423,
423,
257,
7178,
4064,
4833,
621,
657,
13,
23,
1983,
8269,
2388,
16,
11,
290,
257,
6530,
286,
374,
624,
285,
557,
81,
11,
290,
309,
444,
4833,
621,
352,
30,
46506,
35683,
7203,
54,
1040,
4943,
16034,
3084,
62,
2718,
4... |
what is th area where the municipaity is labrador? | SELECT area__km²_ FROM table_1691800_2 WHERE municipality = "Labrador" | [
10919,
318,
294,
1989,
810,
262,
11076,
64,
414,
318,
2248,
40368,
30,
46506,
1989,
834,
13276,
31185,
62,
16034,
3084,
62,
22172,
39188,
62,
17,
33411,
27264,
796,
366,
17822,
40368,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
294,
1989,
810,
262,
11076,
64,
414,
318,
2248,
40368,
30,
46506,
1989,
834,
13276,
31185,
62,
16034,
3084,
62,
22172,
39188,
62,
17,
33411,
27264,
796,
366,
17822,
40368,
1
] |
In what place did the golfer representing Zimbabwe finish? | SELECT place FROM table_name_60 WHERE country = "zimbabwe" | [
818,
644,
1295,
750,
262,
43791,
2232,
10200,
28589,
5461,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
1899,
33411,
1499,
796,
366,
89,
27175,
1
] | [
1,
1,
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,
1295,
750,
262,
43791,
2232,
10200,
28589,
5461,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
1899,
33411,
1499,
796,
366,
89,
27175,
1
] |
Who had the high points dated march 13? | SELECT "High points" FROM table_886 WHERE "Date" = 'March 13' | [
8241,
550,
262,
1029,
2173,
14567,
9960,
1511,
30,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
44980,
33411,
366,
10430,
1,
796,
705,
16192,
1511,
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
] | [
8241,
550,
262,
1029,
2173,
14567,
9960,
1511,
30,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
44980,
33411,
366,
10430,
1,
796,
705,
16192,
1511,
6
] |
What was the result when home was fc luzern (asl)? | SELECT "Result" FROM table_8500 WHERE "Home" = 'fc luzern (asl)' | [
2061,
373,
262,
1255,
618,
1363,
373,
277,
66,
300,
10277,
1142,
357,
292,
75,
19427,
46506,
366,
23004,
1,
16034,
3084,
62,
23,
4059,
33411,
366,
16060,
1,
796,
705,
16072,
300,
10277,
1142,
357,
292,
75,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1255,
618,
1363,
373,
277,
66,
300,
10277,
1142,
357,
292,
75,
19427,
46506,
366,
23004,
1,
16034,
3084,
62,
23,
4059,
33411,
366,
16060,
1,
796,
705,
16072,
300,
10277,
1142,
357,
292,
75,
33047
] |
Which Winners club has an Event of hang tight? | SELECT winners_club FROM table_name_68 WHERE event = "hang tight" | [
13828,
42754,
3430,
468,
281,
8558,
286,
8181,
5381,
30,
46506,
14591,
62,
18664,
16034,
3084,
62,
3672,
62,
3104,
33411,
1785,
796,
366,
33255,
5381,
1
] | [
1,
1,
1,
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,
42754,
3430,
468,
281,
8558,
286,
8181,
5381,
30,
46506,
14591,
62,
18664,
16034,
3084,
62,
3672,
62,
3104,
33411,
1785,
796,
366,
33255,
5381,
1
] |
In the tie where Southampton was the away team, who was the home team? | SELECT "Home team" FROM table_79188 WHERE "Away team" = 'southampton' | [
818,
262,
9839,
810,
30035,
373,
262,
1497,
1074,
11,
508,
373,
262,
1363,
1074,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
3720,
20356,
33411,
366,
32,
1014,
1074,
1,
796,
705,
35782,
23427,
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
] | [
818,
262,
9839,
810,
30035,
373,
262,
1497,
1074,
11,
508,
373,
262,
1363,
1074,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
3720,
20356,
33411,
366,
32,
1014,
1074,
1,
796,
705,
35782,
23427,
6
] |
show the changes in arterial bp [systolic] of patient 1561 last measured on the current intensive care unit visit compared to the value second to last measured on the current intensive care unit visit? | SELECT (SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 1561) AND icustays.outtime IS NULL) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_it... | [
12860,
262,
2458,
287,
30675,
498,
275,
79,
685,
1837,
301,
4160,
60,
286,
5827,
1315,
5333,
938,
8630,
319,
262,
1459,
18590,
1337,
4326,
3187,
3688,
284,
262,
1988,
1218,
284,
938,
8630,
319,
262,
1459,
18590,
1337,
4326,
3187,
30,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12860,
262,
2458,
287,
30675,
498,
275,
79,
685,
1837,
301,
4160,
60,
286,
5827,
1315,
5333,
938,
8630,
319,
262,
1459,
18590,
1337,
4326,
3187,
3688,
284,
262,
1988,
1218,
284,
938,
8630,
319,
262,
1459,
18590,
1337,
4326,
3187,
30,
... |
In what years was there a rank lower than 9, under 84 goals, and more than 158 matches? | SELECT years FROM table_name_63 WHERE matches > 158 AND rank > 9 AND goals < 84 | [
818,
644,
812,
373,
612,
257,
4279,
2793,
621,
860,
11,
739,
9508,
4661,
11,
290,
517,
621,
24063,
7466,
30,
46506,
812,
16034,
3084,
62,
3672,
62,
5066,
33411,
7466,
1875,
24063,
5357,
4279,
1875,
860,
5357,
4661,
1279,
9508
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
812,
373,
612,
257,
4279,
2793,
621,
860,
11,
739,
9508,
4661,
11,
290,
517,
621,
24063,
7466,
30,
46506,
812,
16034,
3084,
62,
3672,
62,
5066,
33411,
7466,
1875,
24063,
5357,
4279,
1875,
860,
5357,
4661,
1279,
9508
] |
What is the Interregnum ended for the person with a Duration of 3 months, 6 days? | SELECT "Interregnum ended" FROM table_53880 WHERE "Duration" = '3 months, 6 days' | [
2061,
318,
262,
4225,
2301,
22510,
4444,
329,
262,
1048,
351,
257,
22920,
286,
513,
1933,
11,
718,
1528,
30,
46506,
366,
9492,
2301,
22510,
4444,
1,
16034,
3084,
62,
49561,
1795,
33411,
366,
26054,
1,
796,
705,
18,
1933,
11,
718,
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
] | [
2061,
318,
262,
4225,
2301,
22510,
4444,
329,
262,
1048,
351,
257,
22920,
286,
513,
1933,
11,
718,
1528,
30,
46506,
366,
9492,
2301,
22510,
4444,
1,
16034,
3084,
62,
49561,
1795,
33411,
366,
26054,
1,
796,
705,
18,
1933,
11,
718,
15... |
What is the score of the game with a tie no of 3? | SELECT "Score" FROM table_59577 WHERE "Tie no" = '3' | [
2061,
318,
262,
4776,
286,
262,
983,
351,
257,
9839,
645,
286,
513,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
35124,
3324,
33411,
366,
51,
494,
645,
1,
796,
705,
18,
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,
4776,
286,
262,
983,
351,
257,
9839,
645,
286,
513,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
35124,
3324,
33411,
366,
51,
494,
645,
1,
796,
705,
18,
6
] |
how many times did mocho cota lose to chamaco valaguez ? | SELECT COUNT(*) FROM table_204_373 WHERE "loser" = 'mocho cota' AND "winner" = 'chamaco valaguez' | [
4919,
867,
1661,
750,
285,
5374,
78,
269,
4265,
4425,
284,
442,
321,
10602,
1188,
2064,
89,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
34770,
33411,
366,
75,
13416,
1,
796,
705,
76,
5374,
78,
269,
4265,
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
] | [
4919,
867,
1661,
750,
285,
5374,
78,
269,
4265,
4425,
284,
442,
321,
10602,
1188,
2064,
89,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
34770,
33411,
366,
75,
13416,
1,
796,
705,
76,
5374,
78,
269,
4265,
6,
5357,
... |
Which team has less than 73 laps and a gearbox time? | SELECT "Team" FROM table_32780 WHERE "Laps" < '73' AND "Time/Retired" = 'gearbox' | [
13828,
1074,
468,
1342,
621,
8854,
24590,
290,
257,
7733,
3524,
640,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
34159,
1795,
33411,
366,
43,
1686,
1,
1279,
705,
4790,
6,
5357,
366,
7575,
14,
9781,
1202,
1,
796,
705,
31763,
3524,
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
] | [
13828,
1074,
468,
1342,
621,
8854,
24590,
290,
257,
7733,
3524,
640,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
34159,
1795,
33411,
366,
43,
1686,
1,
1279,
705,
4790,
6,
5357,
366,
7575,
14,
9781,
1202,
1,
796,
705,
31763,
3524,
6
] |
Which line offers Fast to Norwood Junction? | SELECT "Line" FROM table_20579 WHERE "Service Pattern" = 'Fast to Norwood Junction' | [
13828,
1627,
4394,
12549,
284,
5414,
3822,
44410,
30,
46506,
366,
13949,
1,
16034,
3084,
62,
1238,
41734,
33411,
366,
16177,
23939,
1,
796,
705,
22968,
284,
5414,
3822,
44410,
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,
1627,
4394,
12549,
284,
5414,
3822,
44410,
30,
46506,
366,
13949,
1,
16034,
3084,
62,
1238,
41734,
33411,
366,
16177,
23939,
1,
796,
705,
22968,
284,
5414,
3822,
44410,
6
] |
could you please find me the cheapest one way fare from BOSTON to PHILADELPHIA | SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_... | [
24089,
345,
3387,
1064,
502,
262,
28918,
530,
835,
14505,
422,
347,
10892,
1340,
284,
9370,
4146,
2885,
3698,
11909,
40,
11159,
16779,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
3500... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
24089,
345,
3387,
1064,
502,
262,
28918,
530,
835,
14505,
422,
347,
10892,
1340,
284,
9370,
4146,
2885,
3698,
11909,
40,
11159,
16779,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
3500... |
Willy Sagnol with a type as career end had what has the transfer fee? | SELECT "Transfer fee" FROM table_65213 WHERE "Type" = 'career end' AND "Name" = 'willy sagnol' | [
54,
6548,
311,
4660,
349,
351,
257,
2099,
355,
3451,
886,
550,
644,
468,
262,
4351,
6838,
30,
46506,
366,
43260,
6838,
1,
16034,
3084,
62,
2996,
26427,
33411,
366,
6030,
1,
796,
705,
6651,
263,
886,
6,
5357,
366,
5376,
1,
796,
705... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
54,
6548,
311,
4660,
349,
351,
257,
2099,
355,
3451,
886,
550,
644,
468,
262,
4351,
6838,
30,
46506,
366,
43260,
6838,
1,
16034,
3084,
62,
2996,
26427,
33411,
366,
6030,
1,
796,
705,
6651,
263,
886,
6,
5357,
366,
5376,
1,
796,
705... |
Name the Social Sec Leeds has a President of tom dawson? | SELECT "Social Sec Leeds" FROM table_8086 WHERE "President" = 'tom dawson' | [
5376,
262,
5483,
1882,
29293,
468,
257,
1992,
286,
16667,
288,
707,
1559,
30,
46506,
366,
20636,
1882,
29293,
1,
16034,
3084,
62,
1795,
4521,
33411,
366,
10364,
1,
796,
705,
39532,
288,
707,
1559,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
5483,
1882,
29293,
468,
257,
1992,
286,
16667,
288,
707,
1559,
30,
46506,
366,
20636,
1882,
29293,
1,
16034,
3084,
62,
1795,
4521,
33411,
366,
10364,
1,
796,
705,
39532,
288,
707,
1559,
6
] |
What is the episode title of the show that had a production code of 3T5764? | SELECT title FROM table_11694832_1 WHERE production_code = "3T5764" | [
2061,
318,
262,
4471,
3670,
286,
262,
905,
326,
550,
257,
3227,
2438,
286,
513,
51,
3553,
2414,
30,
46506,
3670,
16034,
3084,
62,
1157,
3388,
2780,
2624,
62,
16,
33411,
3227,
62,
8189,
796,
366,
18,
51,
3553,
2414,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4471,
3670,
286,
262,
905,
326,
550,
257,
3227,
2438,
286,
513,
51,
3553,
2414,
30,
46506,
3670,
16034,
3084,
62,
1157,
3388,
2780,
2624,
62,
16,
33411,
3227,
62,
8189,
796,
366,
18,
51,
3553,
2414,
1
] |
How many different products are produced in each headquarter city Visualize by bar chart, and display by the x-axis in asc. | SELECT Headquarter, COUNT(DISTINCT T1.Name) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code ORDER BY Headquarter | [
2437,
867,
1180,
3186,
389,
4635,
287,
1123,
1182,
24385,
1748,
15612,
1096,
416,
2318,
8262,
11,
290,
3359,
416,
262,
2124,
12,
22704,
287,
10570,
13,
46506,
7123,
24385,
11,
327,
28270,
7,
35,
8808,
1268,
4177,
309,
16,
13,
5376,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1180,
3186,
389,
4635,
287,
1123,
1182,
24385,
1748,
15612,
1096,
416,
2318,
8262,
11,
290,
3359,
416,
262,
2124,
12,
22704,
287,
10570,
13,
46506,
7123,
24385,
11,
327,
28270,
7,
35,
8808,
1268,
4177,
309,
16,
13,
5376,
... |
Questions closed for a particular reason. | SELECT p.ClosedDate, p.Id AS "post_link" FROM Posts AS p INNER JOIN PostHistory AS h ON p.Id = h.PostId WHERE h.PostHistoryTypeId = 10 AND h.Comment = '##reason##' AND NOT p.ClosedDate IS NULL ORDER BY p.ClosedDate DESC | [
35741,
4838,
329,
257,
1948,
1738,
13,
46506,
279,
13,
2601,
1335,
10430,
11,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1,
16034,
12043,
7054,
279,
3268,
21479,
32357,
1268,
2947,
18122,
7054,
289,
6177,
279,
13,
7390,
796,
289,
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... | [
35741,
4838,
329,
257,
1948,
1738,
13,
46506,
279,
13,
2601,
1335,
10430,
11,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1,
16034,
12043,
7054,
279,
3268,
21479,
32357,
1268,
2947,
18122,
7054,
289,
6177,
279,
13,
7390,
796,
289,
13,
... |
List all the possible ways to get to attractions, together with the number of attractions accessible by these methods. Visualize by bar chart. | SELECT How_to_Get_There, COUNT(*) FROM Tourist_Attractions GROUP BY How_to_Get_There | [
8053,
477,
262,
1744,
2842,
284,
651,
284,
29156,
11,
1978,
351,
262,
1271,
286,
29156,
9857,
416,
777,
5050,
13,
15612,
1096,
416,
2318,
8262,
13,
46506,
1374,
62,
1462,
62,
3855,
62,
1858,
11,
327,
28270,
7,
28104,
16034,
9852,
39... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1744,
2842,
284,
651,
284,
29156,
11,
1978,
351,
262,
1271,
286,
29156,
9857,
416,
777,
5050,
13,
15612,
1096,
416,
2318,
8262,
13,
46506,
1374,
62,
1462,
62,
3855,
62,
1858,
11,
327,
28270,
7,
28104,
16034,
9852,
39... |
What is the total number of games played that correlates with a first game in 1991, a percentage of 22.22%, and less than 7 losses? | SELECT COUNT("Played") FROM table_68191 WHERE "First game" = '1991' AND "Percentage" = '22.22%' AND "Lost" > '7' | [
2061,
318,
262,
2472,
1271,
286,
1830,
2826,
326,
42567,
351,
257,
717,
983,
287,
10249,
11,
257,
5873,
286,
2534,
13,
1828,
7441,
290,
1342,
621,
767,
9089,
30,
46506,
327,
28270,
7203,
11002,
276,
4943,
16034,
3084,
62,
3104,
26492,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
2472,
1271,
286,
1830,
2826,
326,
42567,
351,
257,
717,
983,
287,
10249,
11,
257,
5873,
286,
2534,
13,
1828,
7441,
290,
1342,
621,
767,
9089,
30,
46506,
327,
28270,
7203,
11002,
276,
4943,
16034,
3084,
62,
3104,
26492,... |
Which constructor had a laps number bigger than 3 when the driver was Jarno Trulli? | SELECT constructor FROM table_name_5 WHERE laps > 3 AND driver = "jarno trulli" | [
13828,
23772,
550,
257,
24590,
1271,
5749,
621,
513,
618,
262,
4639,
373,
449,
1501,
78,
13616,
15516,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
20,
33411,
24590,
1875,
513,
5357,
4639,
796,
366,
73,
1501,
78,
491,
724,
72,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23772,
550,
257,
24590,
1271,
5749,
621,
513,
618,
262,
4639,
373,
449,
1501,
78,
13616,
15516,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
20,
33411,
24590,
1875,
513,
5357,
4639,
796,
366,
73,
1501,
78,
491,
724,
72,
1
] |
a FIRST class flight to SAN FRANCISCO on AA tuesday next week | SELECT DISTINCT flight.flight_id FROM airport_service, city, date_day AS DATE_DAY_0, date_day AS DATE_DAY_1, days AS DAYS_0, days AS DAYS_1, fare, fare_basis AS FARE_BASIS_0, fare_basis AS FARE_BASIS_1, flight, flight_fare WHERE ((DATE_DAY_0.day_number = 22 AND DATE_DAY_0.month_number = 3 AND DATE_DAY_0.year = 1991 AND... | [
64,
31328,
1398,
5474,
284,
37376,
8782,
20940,
1797,
8220,
319,
15923,
256,
3322,
1306,
1285,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
11,
1748,
11,
3128,
62,
820,
7054,
360,
6158,
62,
26442,
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... | [
64,
31328,
1398,
5474,
284,
37376,
8782,
20940,
1797,
8220,
319,
15923,
256,
3322,
1306,
1285,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
11,
1748,
11,
3128,
62,
820,
7054,
360,
6158,
62,
26442,
62... |
which game had the most in attendance ? | SELECT "date" FROM table_204_691 ORDER BY "attendance" DESC LIMIT 1 | [
4758,
983,
550,
262,
749,
287,
14858,
5633,
46506,
366,
4475,
1,
16034,
3084,
62,
18638,
62,
49541,
38678,
11050,
366,
1078,
437,
590,
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,
983,
550,
262,
749,
287,
14858,
5633,
46506,
366,
4475,
1,
16034,
3084,
62,
18638,
62,
49541,
38678,
11050,
366,
1078,
437,
590,
1,
22196,
34,
27564,
2043,
352
] |
Who was number 7 when Olivia was number 5 and Emma was number 2? | SELECT no_7 FROM table_name_16 WHERE no_5 = "olivia" AND no_2 = "emma" | [
8241,
373,
1271,
767,
618,
33911,
373,
1271,
642,
290,
18966,
373,
1271,
362,
30,
46506,
645,
62,
22,
16034,
3084,
62,
3672,
62,
1433,
33411,
645,
62,
20,
796,
366,
349,
20817,
1,
5357,
645,
62,
17,
796,
366,
368,
2611,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
767,
618,
33911,
373,
1271,
642,
290,
18966,
373,
1271,
362,
30,
46506,
645,
62,
22,
16034,
3084,
62,
3672,
62,
1433,
33411,
645,
62,
20,
796,
366,
349,
20817,
1,
5357,
645,
62,
17,
796,
366,
368,
2611,
1
] |
For those records from the products and each product's manufacturer, give me the comparison about manufacturer over the name , and group by attribute founder, list bar from low to high order. | SELECT T1.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder, T1.Name ORDER BY T1.Name | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
11554,
625,
262,
1438,
837,
290,
1448,
416,
11688,
9119,
11,
1351,
2318,
422,
1877,
284,
1029,
1502,
13,
46506,
309,
16,
13,
5376,
11,
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... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
11554,
625,
262,
1438,
837,
290,
1448,
416,
11688,
9119,
11,
1351,
2318,
422,
1877,
284,
1029,
1502,
13,
46506,
309,
16,
13,
5376,
11,
309,... |
What was the score when they played against San Antonio? | SELECT "Score" FROM table_20356 WHERE "Team" = 'San Antonio' | [
2061,
373,
262,
4776,
618,
484,
2826,
1028,
2986,
11366,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
1238,
32066,
33411,
366,
15592,
1,
796,
705,
15017,
11366,
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
] | [
2061,
373,
262,
4776,
618,
484,
2826,
1028,
2986,
11366,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
1238,
32066,
33411,
366,
15592,
1,
796,
705,
15017,
11366,
6
] |
What are the types of film market estimations in year 1995? | SELECT TYPE FROM film_market_estimation WHERE YEAR = 1995 | [
2061,
389,
262,
3858,
286,
2646,
1910,
3959,
602,
287,
614,
8735,
30,
46506,
41876,
16034,
2646,
62,
10728,
62,
395,
18991,
33411,
32914,
796,
8735
] | [
1,
1,
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,
3858,
286,
2646,
1910,
3959,
602,
287,
614,
8735,
30,
46506,
41876,
16034,
2646,
62,
10728,
62,
395,
18991,
33411,
32914,
796,
8735
] |
Name the kaz hayashi with block A of Shuji Kondo | SELECT kaz_hayashi FROM table_name_47 WHERE block_a = "shuji kondo" | [
5376,
262,
479,
1031,
27678,
12144,
351,
2512,
317,
286,
32344,
7285,
509,
22311,
46506,
479,
1031,
62,
71,
323,
12144,
16034,
3084,
62,
3672,
62,
2857,
33411,
2512,
62,
64,
796,
366,
1477,
84,
7285,
479,
22311,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
479,
1031,
27678,
12144,
351,
2512,
317,
286,
32344,
7285,
509,
22311,
46506,
479,
1031,
62,
71,
323,
12144,
16034,
3084,
62,
3672,
62,
2857,
33411,
2512,
62,
64,
796,
366,
1477,
84,
7285,
479,
22311,
1
] |
List the titles of the books in ascending order of issues. | SELECT Title FROM book ORDER BY Issues | [
8053,
262,
8714,
286,
262,
3835,
287,
41988,
1502,
286,
2428,
13,
46506,
11851,
16034,
1492,
38678,
11050,
22852
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
262,
8714,
286,
262,
3835,
287,
41988,
1502,
286,
2428,
13,
46506,
11851,
16034,
1492,
38678,
11050,
22852
] |
What are the student scores on the NAEP math exam for 8th graders in North Carolina and South Carolina? | SELECT average_scale_score FROM ndecoreexcel_math_grade8 WHERE state = "North Carolina" UNION SELECT average_scale_score FROM ndecoreexcel_math_grade8 WHERE state = "South Carolina" | [
2061,
389,
262,
3710,
8198,
319,
262,
11746,
8905,
10688,
2814,
329,
807,
400,
3915,
364,
287,
2258,
5913,
290,
2520,
5913,
30,
46506,
2811,
62,
9888,
62,
26675,
16034,
299,
12501,
382,
1069,
5276,
62,
11018,
62,
9526,
23,
33411,
1181... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3710,
8198,
319,
262,
11746,
8905,
10688,
2814,
329,
807,
400,
3915,
364,
287,
2258,
5913,
290,
2520,
5913,
30,
46506,
2811,
62,
9888,
62,
26675,
16034,
299,
12501,
382,
1069,
5276,
62,
11018,
62,
9526,
23,
33411,
1181... |
Top SO users from Taiwan. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS Link, DisplayName, Reputation, Location FROM Users WHERE (LOWER(Location) LIKE '%taiwan%' OR UPPER(Location) LIKE '%Taiwan%' OR Location LIKE '% %') ORDER BY Reputation DESC LIMIT 50 | [
9126,
12809,
2985,
422,
14119,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
7502,
11,
16531,
5376,
11,
1432,
7094,
11,
13397,
16034,
18987,
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... | [
9126,
12809,
2985,
422,
14119,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
7502,
11,
16531,
5376,
11,
1432,
7094,
11,
13397,
16034,
18987,
33411,
... |
What team has a yamaha constructor with all rounds? | SELECT "Team" FROM table_38938 WHERE "Rounds" = 'all' AND "Constructor" = 'yamaha' | [
2061,
1074,
468,
257,
331,
321,
12236,
23772,
351,
477,
9196,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
29769,
2548,
33411,
366,
49,
3733,
1,
796,
705,
439,
6,
5357,
366,
42316,
273,
1,
796,
705,
88,
321,
12236,
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
] | [
2061,
1074,
468,
257,
331,
321,
12236,
23772,
351,
477,
9196,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
29769,
2548,
33411,
366,
49,
3733,
1,
796,
705,
439,
6,
5357,
366,
42316,
273,
1,
796,
705,
88,
321,
12236,
6
] |
What is the cardinalatial title when the elevated is September 18, 1294, and elector is B rard De Got? | SELECT cardinalatial_title FROM table_name_36 WHERE elevated = "september 18, 1294" AND elector = "bérard de got" | [
2061,
318,
262,
38691,
34961,
3670,
618,
262,
15321,
318,
2693,
1248,
11,
1105,
5824,
11,
290,
43191,
318,
347,
374,
446,
1024,
11853,
30,
46506,
38691,
34961,
62,
7839,
16034,
3084,
62,
3672,
62,
2623,
33411,
15321,
796,
366,
325,
45... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
38691,
34961,
3670,
618,
262,
15321,
318,
2693,
1248,
11,
1105,
5824,
11,
290,
43191,
318,
347,
374,
446,
1024,
11853,
30,
46506,
38691,
34961,
62,
7839,
16034,
3084,
62,
3672,
62,
2623,
33411,
15321,
796,
366,
325,
45... |
AVG question score of each week of 2014. | SELECT TIME_TO_STR(b.Date, '%W') AS weekOfCreation, COUNT(*) AS avgQuestionScore FROM Badges AS b WHERE b.Id = 63 AND TIME_TO_STR(b.Date, '%Y') = 2014 GROUP BY TIME_TO_STR(b.Date, '%W') ORDER BY TIME_TO_STR(b.Date, '%W') | [
10116,
38,
1808,
4776,
286,
1123,
1285,
286,
1946,
13,
46506,
20460,
62,
10468,
62,
18601,
7,
65,
13,
10430,
11,
705,
4,
54,
11537,
7054,
1285,
5189,
12443,
341,
11,
327,
28270,
7,
28104,
7054,
42781,
24361,
26595,
16034,
7772,
3212,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10116,
38,
1808,
4776,
286,
1123,
1285,
286,
1946,
13,
46506,
20460,
62,
10468,
62,
18601,
7,
65,
13,
10430,
11,
705,
4,
54,
11537,
7054,
1285,
5189,
12443,
341,
11,
327,
28270,
7,
28104,
7054,
42781,
24361,
26595,
16034,
7772,
3212,
... |
What was the model for PRR class of gf28a freight? | SELECT "Builder\u2019s Model" FROM table_54802 WHERE "Service" = 'freight' AND "PRR Class" = 'gf28a' | [
2061,
373,
262,
2746,
329,
4810,
49,
1398,
286,
308,
69,
2078,
64,
30724,
30,
46506,
366,
32875,
59,
84,
23344,
82,
9104,
1,
16034,
3084,
62,
4051,
30863,
33411,
366,
16177,
1,
796,
705,
19503,
432,
6,
5357,
366,
4805,
49,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
2746,
329,
4810,
49,
1398,
286,
308,
69,
2078,
64,
30724,
30,
46506,
366,
32875,
59,
84,
23344,
82,
9104,
1,
16034,
3084,
62,
4051,
30863,
33411,
366,
16177,
1,
796,
705,
19503,
432,
6,
5357,
366,
4805,
49,
5016,
1... |
Who has a Score of 68-71-70=208? | SELECT player FROM table_name_60 WHERE score = 68 - 71 - 70 = 208 | [
8241,
468,
257,
15178,
286,
8257,
12,
4869,
12,
2154,
28,
21315,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
1899,
33411,
4776,
796,
8257,
532,
9166,
532,
4317,
796,
27121
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
468,
257,
15178,
286,
8257,
12,
4869,
12,
2154,
28,
21315,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
1899,
33411,
4776,
796,
8257,
532,
9166,
532,
4317,
796,
27121
] |
what is the number of patients whose ethnicity is asian and drug name is loperamide? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "ASIAN" AND prescriptions.drug = "Loperamide" | [
10919,
318,
262,
1271,
286,
3871,
3025,
26289,
318,
355,
666,
290,
2563,
1438,
318,
300,
3575,
37905,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
26289,
318,
355,
666,
290,
2563,
1438,
318,
300,
3575,
37905,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
1... |
What total D (max) has a taper of 1:20.047, and a C (max) bigger than 65.5? | SELECT SUM("D (max)") FROM table_9640 WHERE "Taper" = '1:20.047' AND "C (max)" > '65.5' | [
2061,
2472,
360,
357,
9806,
8,
468,
257,
256,
2136,
286,
352,
25,
1238,
13,
48000,
11,
290,
257,
327,
357,
9806,
8,
5749,
621,
6135,
13,
20,
30,
46506,
35683,
7203,
35,
357,
9806,
8,
4943,
16034,
3084,
62,
4846,
1821,
33411,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
2472,
360,
357,
9806,
8,
468,
257,
256,
2136,
286,
352,
25,
1238,
13,
48000,
11,
290,
257,
327,
357,
9806,
8,
5749,
621,
6135,
13,
20,
30,
46506,
35683,
7203,
35,
357,
9806,
8,
4943,
16034,
3084,
62,
4846,
1821,
33411,
366,
... |
What date did the New York Giants play as a visiting team? | SELECT date FROM table_name_34 WHERE visiting_team = "new york giants" | [
2061,
3128,
750,
262,
968,
1971,
12056,
711,
355,
257,
10013,
1074,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2682,
33411,
10013,
62,
15097,
796,
366,
3605,
331,
967,
20178,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
750,
262,
968,
1971,
12056,
711,
355,
257,
10013,
1074,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2682,
33411,
10013,
62,
15097,
796,
366,
3605,
331,
967,
20178,
1
] |
How many schools have a website of http://www.camp.herts.sch.uk/? | SELECT COUNT("School") FROM table_4045 WHERE "School website" = 'http://www.camp.herts.sch.uk/' | [
2437,
867,
4266,
423,
257,
3052,
286,
2638,
1378,
2503,
13,
16544,
13,
372,
912,
13,
20601,
13,
2724,
20924,
46506,
327,
28270,
7203,
26130,
4943,
16034,
3084,
62,
1821,
2231,
33411,
366,
26130,
3052,
1,
796,
705,
4023,
1378,
2503,
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
] | [
2437,
867,
4266,
423,
257,
3052,
286,
2638,
1378,
2503,
13,
16544,
13,
372,
912,
13,
20601,
13,
2724,
20924,
46506,
327,
28270,
7203,
26130,
4943,
16034,
3084,
62,
1821,
2231,
33411,
366,
26130,
3052,
1,
796,
705,
4023,
1378,
2503,
13... |
how many different drivers are listed ? | SELECT COUNT(DISTINCT "driver") FROM table_204_976 | [
4919,
867,
1180,
6643,
389,
5610,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
366,
26230,
4943,
16034,
3084,
62,
18638,
62,
24,
4304
] | [
1,
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,
1180,
6643,
389,
5610,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
366,
26230,
4943,
16034,
3084,
62,
18638,
62,
24,
4304
] |
What was Democrat: Tom Harkin's percentage when the poll source was Rasmussen Reports and the lead margin was 14? | SELECT democrat AS :_tom_harkin FROM table_name_77 WHERE poll_source = "rasmussen reports" AND lead_margin = 14 | [
2061,
373,
9755,
25,
4186,
367,
39027,
338,
5873,
618,
262,
3278,
2723,
373,
46549,
17905,
290,
262,
1085,
10330,
373,
1478,
30,
46506,
43268,
7054,
1058,
62,
39532,
62,
71,
39027,
16034,
3084,
62,
3672,
62,
3324,
33411,
3278,
62,
104... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9755,
25,
4186,
367,
39027,
338,
5873,
618,
262,
3278,
2723,
373,
46549,
17905,
290,
262,
1085,
10330,
373,
1478,
30,
46506,
43268,
7054,
1058,
62,
39532,
62,
71,
39027,
16034,
3084,
62,
3672,
62,
3324,
33411,
3278,
62,
104... |
How many settings where there for episode 29 of the season? | SELECT COUNT("Setting") FROM table_16100 WHERE "No. in series" = '29' | [
2437,
867,
6460,
810,
612,
329,
4471,
2808,
286,
262,
1622,
30,
46506,
327,
28270,
7203,
34149,
4943,
16034,
3084,
62,
1433,
3064,
33411,
366,
2949,
13,
287,
2168,
1,
796,
705,
1959,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
6460,
810,
612,
329,
4471,
2808,
286,
262,
1622,
30,
46506,
327,
28270,
7203,
34149,
4943,
16034,
3084,
62,
1433,
3064,
33411,
366,
2949,
13,
287,
2168,
1,
796,
705,
1959,
6
] |
the participant has a serum creatinine >= 1.5 mg / dl ( >= 133umol / l ) male and >= 1.4 mg / dl ( >= 124 umol / l ) female and / or estimated glomerular filtration rate ( gfr ) < 60 ml / min / 1.73 m2 | SELECT * FROM table_dev_27 WHERE (serum_creatinine >= 1.5 AND gender = 'male') OR (serum_creatinine >= 1.4 AND gender = 'female') OR estimated_glomerular_filtration_rate_egfr < 60 | [
1169,
18399,
468,
257,
20502,
1827,
259,
500,
18189,
352,
13,
20,
10527,
1220,
288,
75,
357,
18189,
22169,
388,
349,
1220,
300,
1267,
4257,
290,
18189,
352,
13,
19,
10527,
1220,
288,
75,
357,
18189,
19755,
23781,
349,
1220,
300,
1267,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1169,
18399,
468,
257,
20502,
1827,
259,
500,
18189,
352,
13,
20,
10527,
1220,
288,
75,
357,
18189,
22169,
388,
349,
1220,
300,
1267,
4257,
290,
18189,
352,
13,
19,
10527,
1220,
288,
75,
357,
18189,
19755,
23781,
349,
1220,
300,
1267,... |
Name the branding for forum communications | SELECT "Branding" FROM table_19451 WHERE "Owner" = 'Forum Communications' | [
5376,
262,
24150,
329,
10041,
8062,
46506,
366,
9414,
27225,
1,
16034,
3084,
62,
1129,
36330,
33411,
366,
42419,
1,
796,
705,
1890,
388,
14620,
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
] | [
5376,
262,
24150,
329,
10041,
8062,
46506,
366,
9414,
27225,
1,
16034,
3084,
62,
1129,
36330,
33411,
366,
42419,
1,
796,
705,
1890,
388,
14620,
6
] |
Find the id of instructors who taught a class in Fall 2009 but not in Spring 2010. | SELECT id FROM teaches WHERE semester = 'Fall' AND year = 2009 EXCEPT SELECT id FROM teaches WHERE semester = 'Spring' AND year = 2010 | [
16742,
262,
4686,
286,
33667,
508,
7817,
257,
1398,
287,
7218,
3717,
475,
407,
287,
8225,
3050,
13,
46506,
4686,
16034,
17324,
33411,
24878,
796,
705,
24750,
6,
5357,
614,
796,
3717,
7788,
42006,
33493,
4686,
16034,
17324,
33411,
24878,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4686,
286,
33667,
508,
7817,
257,
1398,
287,
7218,
3717,
475,
407,
287,
8225,
3050,
13,
46506,
4686,
16034,
17324,
33411,
24878,
796,
705,
24750,
6,
5357,
614,
796,
3717,
7788,
42006,
33493,
4686,
16034,
17324,
33411,
24878,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.