instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is the IEF 2011 of the country with an FSI 2012 of 99.2? | SELECT ief_2011 FROM table_name_96 WHERE fsi_2012 = "99.2" | [
2061,
318,
262,
314,
25425,
2813,
286,
262,
1499,
351,
281,
376,
11584,
2321,
286,
7388,
13,
17,
30,
46506,
220,
2086,
62,
9804,
16034,
3084,
62,
3672,
62,
4846,
33411,
277,
13396,
62,
6999,
796,
366,
2079,
13,
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
] | [
2061,
318,
262,
314,
25425,
2813,
286,
262,
1499,
351,
281,
376,
11584,
2321,
286,
7388,
13,
17,
30,
46506,
220,
2086,
62,
9804,
16034,
3084,
62,
3672,
62,
4846,
33411,
277,
13396,
62,
6999,
796,
366,
2079,
13,
17,
1
] |
For which production company did Sam Mccarthy produce? | SELECT production_company FROM table_name_61 WHERE producer_s_ = "sam mccarthy" | [
1890,
543,
3227,
1664,
750,
3409,
337,
535,
18270,
4439,
30,
46506,
3227,
62,
39722,
16034,
3084,
62,
3672,
62,
5333,
33411,
9920,
62,
82,
62,
796,
366,
37687,
285,
535,
18270,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
543,
3227,
1664,
750,
3409,
337,
535,
18270,
4439,
30,
46506,
3227,
62,
39722,
16034,
3084,
62,
3672,
62,
5333,
33411,
9920,
62,
82,
62,
796,
366,
37687,
285,
535,
18270,
1
] |
In which episode is the order number 10? | SELECT episode FROM table_26250199_1 WHERE order__number = "10" | [
818,
543,
4471,
318,
262,
1502,
1271,
838,
30,
46506,
4471,
16034,
3084,
62,
2075,
1495,
486,
2079,
62,
16,
33411,
1502,
834,
17618,
796,
366,
940,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
543,
4471,
318,
262,
1502,
1271,
838,
30,
46506,
4471,
16034,
3084,
62,
2075,
1495,
486,
2079,
62,
16,
33411,
1502,
834,
17618,
796,
366,
940,
1
] |
give me all the flights from NEW YORK to MIAMI round trip | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MIAMI' AND NOT fare.round_trip_cost IS NULL AND flight_fare.fare_id = ... | [
26535,
502,
477,
262,
13956,
422,
12682,
28154,
284,
15789,
43870,
2835,
5296,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
3160... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
262,
13956,
422,
12682,
28154,
284,
15789,
43870,
2835,
5296,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
3160... |
Tell me the opponents for score in the final of 1 6, 2 6 | SELECT "Opponents in the final" FROM table_32051 WHERE "Score in the final" = '1–6, 2–6' | [
24446,
502,
262,
7691,
329,
4776,
287,
262,
2457,
286,
352,
718,
11,
362,
718,
46506,
366,
27524,
3906,
287,
262,
2457,
1,
16034,
3084,
62,
19504,
4349,
33411,
366,
26595,
287,
262,
2457,
1,
796,
705,
16,
1906,
21,
11,
362,
1906,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7691,
329,
4776,
287,
262,
2457,
286,
352,
718,
11,
362,
718,
46506,
366,
27524,
3906,
287,
262,
2457,
1,
16034,
3084,
62,
19504,
4349,
33411,
366,
26595,
287,
262,
2457,
1,
796,
705,
16,
1906,
21,
11,
362,
1906,
... |
When pinyin is x nlu q , what is the simplified value? | SELECT COUNT(simplified) FROM table_1204998_2 WHERE pinyin = "Xīnluó Qū" | [
2215,
279,
3541,
259,
318,
2124,
299,
2290,
10662,
837,
644,
318,
262,
27009,
1988,
30,
46506,
327,
28270,
7,
14323,
489,
1431,
8,
16034,
3084,
62,
1065,
3023,
34808,
62,
17,
33411,
279,
3541,
259,
796,
366,
55,
18962,
77,
2290,
102... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
279,
3541,
259,
318,
2124,
299,
2290,
10662,
837,
644,
318,
262,
27009,
1988,
30,
46506,
327,
28270,
7,
14323,
489,
1431,
8,
16034,
3084,
62,
1065,
3023,
34808,
62,
17,
33411,
279,
3541,
259,
796,
366,
55,
18962,
77,
2290,
102... |
Who is in group a when indiana is in group d? | SELECT group_a FROM table_15290638_1 WHERE group_d = "Indiana" | [
8241,
318,
287,
1448,
257,
618,
773,
7484,
318,
287,
1448,
288,
30,
46506,
1448,
62,
64,
16034,
3084,
62,
1314,
1959,
3312,
2548,
62,
16,
33411,
1448,
62,
67,
796,
366,
49153,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
287,
1448,
257,
618,
773,
7484,
318,
287,
1448,
288,
30,
46506,
1448,
62,
64,
16034,
3084,
62,
1314,
1959,
3312,
2548,
62,
16,
33411,
1448,
62,
67,
796,
366,
49153,
1
] |
On what NHL team does Roman Vopat play for? | SELECT "NHL team" FROM table_31555 WHERE "Player" = 'roman vopat' | [
2202,
644,
9481,
1074,
857,
7993,
569,
404,
265,
711,
329,
30,
46506,
366,
45,
6581,
1074,
1,
16034,
3084,
62,
27936,
2816,
33411,
366,
14140,
1,
796,
705,
47119,
410,
404,
265,
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
] | [
2202,
644,
9481,
1074,
857,
7993,
569,
404,
265,
711,
329,
30,
46506,
366,
45,
6581,
1074,
1,
16034,
3084,
62,
27936,
2816,
33411,
366,
14140,
1,
796,
705,
47119,
410,
404,
265,
6
] |
Which Genitive 1 has a Genitive 3 of *n(i)-ia? | SELECT genitive_1 FROM table_name_57 WHERE genitive_3 = "*n(i)-ia" | [
13828,
5215,
1800,
352,
468,
257,
5215,
1800,
513,
286,
1635,
77,
7,
72,
13219,
544,
30,
46506,
2429,
1800,
62,
16,
16034,
3084,
62,
3672,
62,
3553,
33411,
2429,
1800,
62,
18,
796,
366,
9,
77,
7,
72,
13219,
544,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5215,
1800,
352,
468,
257,
5215,
1800,
513,
286,
1635,
77,
7,
72,
13219,
544,
30,
46506,
2429,
1800,
62,
16,
16034,
3084,
62,
3672,
62,
3553,
33411,
2429,
1800,
62,
18,
796,
366,
9,
77,
7,
72,
13219,
544,
1
] |
what are the four most frequently taken tests until 2 years ago for patients with age 50s? | SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t1.itemid FROM (SELECT labevents.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age BETWEEN 50 AND 59) AND DATETIME(labevents.chartti... | [
10919,
389,
262,
1440,
749,
6777,
2077,
5254,
1566,
362,
812,
2084,
329,
3871,
351,
2479,
2026,
82,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
9186,
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,
389,
262,
1440,
749,
6777,
2077,
5254,
1566,
362,
812,
2084,
329,
3871,
351,
2479,
2026,
82,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
9186,
312,
3268,
357,
465... |
how many total garratts did south african railways have ? | SELECT COUNT(*) FROM table_204_637 WHERE "railway" = 'south african railways' | [
4919,
867,
2472,
308,
3258,
30353,
750,
5366,
6580,
37189,
45247,
423,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
21,
2718,
33411,
366,
30224,
1014,
1,
796,
705,
35782,
6580,
37189,
45247,
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
] | [
4919,
867,
2472,
308,
3258,
30353,
750,
5366,
6580,
37189,
45247,
423,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
21,
2718,
33411,
366,
30224,
1014,
1,
796,
705,
35782,
6580,
37189,
45247,
6
] |
What was the position at the venue of lyon? | SELECT "Position" FROM table_39107 WHERE "Venue" = 'lyon' | [
2061,
373,
262,
2292,
379,
262,
14359,
286,
300,
19181,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
2670,
15982,
33411,
366,
37522,
518,
1,
796,
705,
306,
261,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
2292,
379,
262,
14359,
286,
300,
19181,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
2670,
15982,
33411,
366,
37522,
518,
1,
796,
705,
306,
261,
6
] |
what's the result with dbeingtrict being california 10 | SELECT "Result" FROM table_18615 WHERE "District" = 'California 10' | [
10919,
338,
262,
1255,
351,
288,
11873,
83,
2012,
852,
2386,
361,
3317,
838,
46506,
366,
23004,
1,
16034,
3084,
62,
25096,
1314,
33411,
366,
44857,
1,
796,
705,
25284,
838,
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,
338,
262,
1255,
351,
288,
11873,
83,
2012,
852,
2386,
361,
3317,
838,
46506,
366,
23004,
1,
16034,
3084,
62,
25096,
1314,
33411,
366,
44857,
1,
796,
705,
25284,
838,
6
] |
when did patient 031-4987 first receive a nasopharynx microbiological test since 91 months ago? | SELECT microlab.culturetakentime FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-4987')) AND microlab.culturesite = 'nasopharynx' AND DATETIME... | [
12518,
750,
5827,
657,
3132,
12,
2920,
5774,
717,
3328,
257,
25221,
2522,
38621,
87,
24559,
2770,
1332,
1201,
10495,
1933,
2084,
30,
46506,
4580,
23912,
13,
25584,
83,
461,
298,
524,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
750,
5827,
657,
3132,
12,
2920,
5774,
717,
3328,
257,
25221,
2522,
38621,
87,
24559,
2770,
1332,
1201,
10495,
1933,
2084,
30,
46506,
4580,
23912,
13,
25584,
83,
461,
298,
524,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20... |
Name the date for s. valentino alla muta , italia | SELECT "Date" FROM table_4277 WHERE "Location" = 'S. Valentino Alla Muta , Italia' | [
5376,
262,
3128,
329,
264,
13,
1188,
298,
2879,
477,
64,
4517,
64,
837,
340,
9752,
46506,
366,
10430,
1,
16034,
3084,
62,
19,
27019,
33411,
366,
14749,
1,
796,
705,
50,
13,
17284,
2879,
1439,
64,
13859,
64,
837,
632,
9752,
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
] | [
5376,
262,
3128,
329,
264,
13,
1188,
298,
2879,
477,
64,
4517,
64,
837,
340,
9752,
46506,
366,
10430,
1,
16034,
3084,
62,
19,
27019,
33411,
366,
14749,
1,
796,
705,
50,
13,
17284,
2879,
1439,
64,
13859,
64,
837,
632,
9752,
6
] |
What position does Wayne Ellington play? | SELECT position FROM table_name_24 WHERE player = "wayne ellington" | [
2061,
2292,
857,
13329,
412,
2680,
1122,
711,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
1731,
33411,
2137,
796,
366,
43932,
304,
2680,
1122,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2292,
857,
13329,
412,
2680,
1122,
711,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
1731,
33411,
2137,
796,
366,
43932,
304,
2680,
1122,
1
] |
What location had the opponent Hiroyuki Abe? | SELECT location FROM table_name_56 WHERE opponent = "hiroyuki abe" | [
2061,
4067,
550,
262,
6125,
15902,
3287,
11308,
22257,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
3980,
33411,
6125,
796,
366,
5303,
3287,
11308,
450,
68,
1
] | [
1,
1,
1,
1,
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,
4067,
550,
262,
6125,
15902,
3287,
11308,
22257,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
3980,
33411,
6125,
796,
366,
5303,
3287,
11308,
450,
68,
1
] |
When did Ismail Qemali Bej's term start? | SELECT "Term start" FROM table_47525 WHERE "Name" = 'ismail qemali bej' | [
2215,
750,
1148,
4529,
1195,
368,
7344,
1355,
73,
338,
3381,
923,
30,
46506,
366,
40596,
923,
1,
16034,
3084,
62,
32576,
1495,
33411,
366,
5376,
1,
796,
705,
1042,
603,
10662,
368,
7344,
307,
73,
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
] | [
2215,
750,
1148,
4529,
1195,
368,
7344,
1355,
73,
338,
3381,
923,
30,
46506,
366,
40596,
923,
1,
16034,
3084,
62,
32576,
1495,
33411,
366,
5376,
1,
796,
705,
1042,
603,
10662,
368,
7344,
307,
73,
6
] |
how many total players played ? | SELECT COUNT("player") FROM table_203_251 | [
4919,
867,
2472,
1938,
2826,
5633,
46506,
327,
28270,
7203,
7829,
4943,
16034,
3084,
62,
22416,
62,
28072
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
2472,
1938,
2826,
5633,
46506,
327,
28270,
7203,
7829,
4943,
16034,
3084,
62,
22416,
62,
28072
] |
get me the dosage and code of drug taken by patient brian taylor. | SELECT prescriptions.formulary_drug_cd, prescriptions.drug_dose FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.name = "Brian Taylor" | [
1136,
502,
262,
35997,
290,
2438,
286,
2563,
2077,
416,
5827,
275,
4484,
256,
7167,
13,
46506,
34092,
13,
687,
377,
560,
62,
30349,
62,
10210,
11,
34092,
13,
30349,
62,
34436,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1136,
502,
262,
35997,
290,
2438,
286,
2563,
2077,
416,
5827,
275,
4484,
256,
7167,
13,
46506,
34092,
13,
687,
377,
560,
62,
30349,
62,
10210,
11,
34092,
13,
30349,
62,
34436,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
... |
How many mls teams had player jamel wallace? | SELECT COUNT(mls_team) FROM table_25518547_4 WHERE player = "Jamel Wallace" | [
2437,
867,
285,
7278,
3466,
550,
2137,
16853,
417,
3355,
558,
30,
46506,
327,
28270,
7,
4029,
82,
62,
15097,
8,
16034,
3084,
62,
13381,
21652,
2857,
62,
19,
33411,
2137,
796,
366,
41,
17983,
17161,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
285,
7278,
3466,
550,
2137,
16853,
417,
3355,
558,
30,
46506,
327,
28270,
7,
4029,
82,
62,
15097,
8,
16034,
3084,
62,
13381,
21652,
2857,
62,
19,
33411,
2137,
796,
366,
41,
17983,
17161,
1
] |
Name the number of bush % for elko | SELECT COUNT(bush__percentage) FROM table_23014476_1 WHERE county = "Elko" | [
5376,
262,
1271,
286,
24484,
4064,
329,
1288,
7204,
46506,
327,
28270,
7,
50231,
834,
25067,
496,
8,
16034,
3084,
62,
1954,
486,
2598,
4304,
62,
16,
33411,
7968,
796,
366,
9527,
7204,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
24484,
4064,
329,
1288,
7204,
46506,
327,
28270,
7,
50231,
834,
25067,
496,
8,
16034,
3084,
62,
1954,
486,
2598,
4304,
62,
16,
33411,
7968,
796,
366,
9527,
7204,
1
] |
Which Money has a Score of 70-68-73-68=279? | SELECT MIN("Money ( $ )") FROM table_50256 WHERE "Score" = '70-68-73-68=279' | [
13828,
12911,
468,
257,
15178,
286,
4317,
12,
3104,
12,
4790,
12,
3104,
28,
26050,
30,
46506,
20625,
7203,
26788,
357,
720,
1267,
4943,
16034,
3084,
62,
1120,
11645,
33411,
366,
26595,
1,
796,
705,
2154,
12,
3104,
12,
4790,
12,
3104,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12911,
468,
257,
15178,
286,
4317,
12,
3104,
12,
4790,
12,
3104,
28,
26050,
30,
46506,
20625,
7203,
26788,
357,
720,
1267,
4943,
16034,
3084,
62,
1120,
11645,
33411,
366,
26595,
1,
796,
705,
2154,
12,
3104,
12,
4790,
12,
3104,
... |
In the game where Joe Johnson (31) was the high points scorer, what was the final score? | SELECT "Score" FROM table_44863 WHERE "High points" = 'joe johnson (31)' | [
818,
262,
983,
810,
5689,
5030,
357,
3132,
8,
373,
262,
1029,
2173,
30664,
11,
644,
373,
262,
2457,
4776,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2598,
4521,
18,
33411,
366,
11922,
2173,
1,
796,
705,
73,
2577,
45610,
1559,
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
] | [
818,
262,
983,
810,
5689,
5030,
357,
3132,
8,
373,
262,
1029,
2173,
30664,
11,
644,
373,
262,
2457,
4776,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2598,
4521,
18,
33411,
366,
11922,
2173,
1,
796,
705,
73,
2577,
45610,
1559,
357,
... |
how long did felix loch take to complete the men 's luge ? | SELECT "time (s)" FROM table_203_829 WHERE "athlete(s)" = 'felix loch' | [
4919,
890,
750,
10756,
844,
2376,
354,
1011,
284,
1844,
262,
1450,
705,
82,
300,
2217,
5633,
46506,
366,
2435,
357,
82,
16725,
16034,
3084,
62,
22416,
62,
23,
1959,
33411,
366,
776,
5807,
7,
82,
16725,
796,
705,
69,
417,
844,
2376,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
890,
750,
10756,
844,
2376,
354,
1011,
284,
1844,
262,
1450,
705,
82,
300,
2217,
5633,
46506,
366,
2435,
357,
82,
16725,
16034,
3084,
62,
22416,
62,
23,
1959,
33411,
366,
776,
5807,
7,
82,
16725,
796,
705,
69,
417,
844,
2376,
... |
In what week was the first game played at the Commerzbank-Arena? | SELECT MIN(week) FROM table_10392906_2 WHERE game_site = "Commerzbank-Arena" | [
818,
644,
1285,
373,
262,
717,
983,
2826,
379,
262,
955,
647,
14969,
962,
12,
43199,
64,
30,
46506,
20625,
7,
10464,
8,
16034,
3084,
62,
940,
2670,
1959,
3312,
62,
17,
33411,
983,
62,
15654,
796,
366,
5377,
647,
14969,
962,
12,
43... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1285,
373,
262,
717,
983,
2826,
379,
262,
955,
647,
14969,
962,
12,
43199,
64,
30,
46506,
20625,
7,
10464,
8,
16034,
3084,
62,
940,
2670,
1959,
3312,
62,
17,
33411,
983,
62,
15654,
796,
366,
5377,
647,
14969,
962,
12,
43... |
list all flights on CO leaving DENVER and arriving at CHICAGO on monday before 1200 | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE (((((((flight.arrival_time < 41 OR flight.time_elapsed >= 60) AND flight.departure_time > flight.arrival_time) AND date_day.day_number = 21 AND d... | [
4868,
477,
13956,
319,
7375,
4305,
37692,
5959,
290,
14820,
379,
5870,
2149,
4760,
46,
319,
285,
3204,
878,
24938,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4868,
477,
13956,
319,
7375,
4305,
37692,
5959,
290,
14820,
379,
5870,
2149,
4760,
46,
319,
285,
3204,
878,
24938,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,... |
How many different results were there for the scores 6 7 (2 7) , 6 2, 7 6 (7 3)? | SELECT COUNT("Result") FROM table_30904 WHERE "Score" = '6–7 (2–7) , 6–2, 7–6 (7–3)' | [
2437,
867,
1180,
2482,
547,
612,
329,
262,
8198,
718,
767,
357,
17,
767,
8,
837,
718,
362,
11,
767,
718,
357,
22,
513,
19427,
46506,
327,
28270,
7203,
23004,
4943,
16034,
3084,
62,
26895,
3023,
33411,
366,
26595,
1,
796,
705,
21,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1180,
2482,
547,
612,
329,
262,
8198,
718,
767,
357,
17,
767,
8,
837,
718,
362,
11,
767,
718,
357,
22,
513,
19427,
46506,
327,
28270,
7203,
23004,
4943,
16034,
3084,
62,
26895,
3023,
33411,
366,
26595,
1,
796,
705,
21,
... |
what is the number of patients whose admission type is urgent and lab test name is asparate aminotransferase (ast)? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "URGENT" AND lab.label = "Asparate Aminotransferase (AST)" | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
18039,
290,
2248,
1332,
1438,
318,
355,
1845,
378,
716,
259,
313,
26084,
2232,
589,
357,
459,
19427,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
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... | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
18039,
290,
2248,
1332,
1438,
318,
355,
1845,
378,
716,
259,
313,
26084,
2232,
589,
357,
459,
19427,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
... |
until 2103 what were the top three most frequently prescribed medications to patients within 2 months after the prescription of oxacillin? | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'oxacillin' AND STRFTIME('%y', prescriptions.startdate) <= '2103')... | [
28446,
362,
15197,
644,
547,
262,
1353,
1115,
749,
6777,
14798,
17638,
284,
3871,
1626,
362,
1933,
706,
262,
15077,
286,
12018,
330,
32672,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
13,
30349,
11,
360,
24290,
62,
49,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
28446,
362,
15197,
644,
547,
262,
1353,
1115,
749,
6777,
14798,
17638,
284,
3871,
1626,
362,
1933,
706,
262,
15077,
286,
12018,
330,
32672,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
13,
30349,
11,
360,
24290,
62,
49,
... |
What tyre was used in the Zandvoort circuit? | SELECT "Tyre" FROM table_51651 WHERE "Circuit" = 'zandvoort' | [
2061,
48216,
373,
973,
287,
262,
1168,
392,
13038,
419,
10349,
30,
46506,
366,
25492,
260,
1,
16034,
3084,
62,
47493,
4349,
33411,
366,
31560,
5013,
1,
796,
705,
89,
392,
13038,
419,
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,
48216,
373,
973,
287,
262,
1168,
392,
13038,
419,
10349,
30,
46506,
366,
25492,
260,
1,
16034,
3084,
62,
47493,
4349,
33411,
366,
31560,
5013,
1,
796,
705,
89,
392,
13038,
419,
6
] |
What is the date for Orangeville? | SELECT "Date" FROM table_41503 WHERE "Name" = 'orangeville' | [
2061,
318,
262,
3128,
329,
11942,
4244,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3901,
31938,
33411,
366,
5376,
1,
796,
705,
43745,
4244,
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,
318,
262,
3128,
329,
11942,
4244,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3901,
31938,
33411,
366,
5376,
1,
796,
705,
43745,
4244,
6
] |
What is the total number of Gold, when Silver is 2, and when Total is less than 7? | SELECT COUNT(gold) FROM table_name_34 WHERE silver = 2 AND total < 7 | [
2061,
318,
262,
2472,
1271,
286,
3561,
11,
618,
7698,
318,
362,
11,
290,
618,
7472,
318,
1342,
621,
767,
30,
46506,
327,
28270,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
2682,
33411,
8465,
796,
362,
5357,
2472,
1279,
767
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
1271,
286,
3561,
11,
618,
7698,
318,
362,
11,
290,
618,
7472,
318,
1342,
621,
767,
30,
46506,
327,
28270,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
2682,
33411,
8465,
796,
362,
5357,
2472,
1279,
767
] |
what are the five most frequently ordered medications during the previous year? | SELECT t1.drug FROM (SELECT prescriptions.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM prescriptions WHERE DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY prescriptions.drug) AS t1 WHERE t1.c1 <= 5 | [
10919,
389,
262,
1936,
749,
6777,
6149,
17638,
1141,
262,
2180,
614,
30,
46506,
256,
16,
13,
30349,
16034,
357,
46506,
34092,
13,
30349,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
389,
262,
1936,
749,
6777,
6149,
17638,
1141,
262,
2180,
614,
30,
46506,
256,
16,
13,
30349,
16034,
357,
46506,
34092,
13,
30349,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
... |
Find All_Home and Team_ID , and group by attribute ACC_Road, and visualize them by a bar chart. | SELECT All_Home, Team_ID FROM basketball_match GROUP BY ACC_Road, All_Home | [
16742,
1439,
62,
16060,
290,
4816,
62,
2389,
837,
290,
1448,
416,
11688,
15859,
62,
29197,
11,
290,
38350,
606,
416,
257,
2318,
8262,
13,
46506,
1439,
62,
16060,
11,
4816,
62,
2389,
16034,
9669,
62,
15699,
44441,
11050,
15859,
62,
291... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
1439,
62,
16060,
290,
4816,
62,
2389,
837,
290,
1448,
416,
11688,
15859,
62,
29197,
11,
290,
38350,
606,
416,
257,
2318,
8262,
13,
46506,
1439,
62,
16060,
11,
4816,
62,
2389,
16034,
9669,
62,
15699,
44441,
11050,
15859,
62,
291... |
What is the Background of the contestant with a Hometown listed as Los Angeles, California? | SELECT background FROM table_name_71 WHERE hometown = "los angeles, california" | [
2061,
318,
262,
25353,
286,
262,
44047,
351,
257,
367,
19191,
5610,
355,
5401,
5652,
11,
3442,
30,
46506,
4469,
16034,
3084,
62,
3672,
62,
4869,
33411,
20994,
796,
366,
33280,
18304,
274,
11,
2386,
361,
3317,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
25353,
286,
262,
44047,
351,
257,
367,
19191,
5610,
355,
5401,
5652,
11,
3442,
30,
46506,
4469,
16034,
3084,
62,
3672,
62,
4869,
33411,
20994,
796,
366,
33280,
18304,
274,
11,
2386,
361,
3317,
1
] |
what is the marital status of patient 10855 on their current hospital visit. | SELECT admissions.marital_status FROM admissions WHERE admissions.subject_id = 10855 AND admissions.dischtime IS NULL | [
10919,
318,
262,
29555,
3722,
286,
5827,
15495,
2816,
319,
511,
1459,
4436,
3187,
13,
46506,
25349,
13,
3876,
1287,
62,
13376,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
15495,
2816,
5357,
25349,
13,
6381,
354,
2435,
3180,
156... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
29555,
3722,
286,
5827,
15495,
2816,
319,
511,
1459,
4436,
3187,
13,
46506,
25349,
13,
3876,
1287,
62,
13376,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
15495,
2816,
5357,
25349,
13,
6381,
354,
2435,
3180,
156... |
What was the water depth that entered service in 2001 named Cajun Express? | SELECT water_depth FROM table_name_11 WHERE entered_service = "2001" AND name = "cajun express" | [
2061,
373,
262,
1660,
6795,
326,
5982,
2139,
287,
5878,
3706,
327,
1228,
403,
10604,
30,
46506,
1660,
62,
18053,
16034,
3084,
62,
3672,
62,
1157,
33411,
5982,
62,
15271,
796,
366,
14585,
1,
5357,
1438,
796,
366,
66,
1228,
403,
4911,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1660,
6795,
326,
5982,
2139,
287,
5878,
3706,
327,
1228,
403,
10604,
30,
46506,
1660,
62,
18053,
16034,
3084,
62,
3672,
62,
1157,
33411,
5982,
62,
15271,
796,
366,
14585,
1,
5357,
1438,
796,
366,
66,
1228,
403,
4911,
... |
What is the lowest number of Runners that has a Placing that isn't 1? | SELECT MIN(runners) FROM table_name_12 WHERE placing < 1 | [
2061,
318,
262,
9016,
1271,
286,
5660,
2741,
326,
468,
257,
1345,
4092,
326,
2125,
470,
352,
30,
46506,
20625,
7,
36740,
8,
16034,
3084,
62,
3672,
62,
1065,
33411,
12560,
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
] | [
2061,
318,
262,
9016,
1271,
286,
5660,
2741,
326,
468,
257,
1345,
4092,
326,
2125,
470,
352,
30,
46506,
20625,
7,
36740,
8,
16034,
3084,
62,
3672,
62,
1065,
33411,
12560,
1279,
352
] |
What are the names of the technicians and how many machines are they assigned to repair, sort in descending by the y axis. | SELECT Name, COUNT(*) FROM repair_assignment AS T1 JOIN technician AS T2 ON T1.technician_id = T2.technician_id GROUP BY T2.Name ORDER BY COUNT(*) DESC | [
2061,
389,
262,
3891,
286,
262,
33519,
290,
703,
867,
8217,
389,
484,
8686,
284,
9185,
11,
3297,
287,
31491,
416,
262,
331,
16488,
13,
46506,
6530,
11,
327,
28270,
7,
28104,
16034,
9185,
62,
562,
16747,
7054,
309,
16,
32357,
1268,
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... | [
2061,
389,
262,
3891,
286,
262,
33519,
290,
703,
867,
8217,
389,
484,
8686,
284,
9185,
11,
3297,
287,
31491,
416,
262,
331,
16488,
13,
46506,
6530,
11,
327,
28270,
7,
28104,
16034,
9185,
62,
562,
16747,
7054,
309,
16,
32357,
1268,
3... |
what is procedure icd9 code and procedure long title of subject name jonathan wiggins? | SELECT procedures.icd9_code, procedures.long_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.name = "Jonathan Wiggins" | [
10919,
318,
8771,
14158,
67,
24,
2438,
290,
8771,
890,
3670,
286,
2426,
1438,
474,
261,
6696,
266,
23567,
30,
46506,
9021,
13,
291,
67,
24,
62,
8189,
11,
9021,
13,
6511,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
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... | [
10919,
318,
8771,
14158,
67,
24,
2438,
290,
8771,
890,
3670,
286,
2426,
1438,
474,
261,
6696,
266,
23567,
30,
46506,
9021,
13,
291,
67,
24,
62,
8189,
11,
9021,
13,
6511,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
... |
Which March 3 has a Poll of baseball america (top 25)? | SELECT mar_3 FROM table_name_35 WHERE poll = "baseball america (top 25)" | [
13828,
2805,
513,
468,
257,
12868,
286,
9283,
45630,
64,
357,
4852,
1679,
19427,
46506,
1667,
62,
18,
16034,
3084,
62,
3672,
62,
2327,
33411,
3278,
796,
366,
8692,
1894,
45630,
64,
357,
4852,
1679,
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,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
2805,
513,
468,
257,
12868,
286,
9283,
45630,
64,
357,
4852,
1679,
19427,
46506,
1667,
62,
18,
16034,
3084,
62,
3672,
62,
2327,
33411,
3278,
796,
366,
8692,
1894,
45630,
64,
357,
4852,
1679,
16725
] |
What is the High points of charles oakley , kevin willis (11)? | SELECT "High points" FROM table_5064 WHERE "High rebounds" = 'charles oakley , kevin willis (11)' | [
2061,
318,
262,
3334,
2173,
286,
1149,
829,
26210,
1636,
837,
885,
7114,
481,
271,
357,
1157,
19427,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
1120,
2414,
33411,
366,
11922,
18841,
1,
796,
705,
10641,
829,
26210,
1636,
837,
885,
71... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3334,
2173,
286,
1149,
829,
26210,
1636,
837,
885,
7114,
481,
271,
357,
1157,
19427,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
1120,
2414,
33411,
366,
11922,
18841,
1,
796,
705,
10641,
829,
26210,
1636,
837,
885,
71... |
what is the lab test name of the patient id 6983? | SELECT lab.label FROM lab WHERE lab.subject_id = "6983" | [
10919,
318,
262,
2248,
1332,
1438,
286,
262,
5827,
4686,
39861,
18,
30,
46506,
2248,
13,
18242,
16034,
2248,
33411,
2248,
13,
32796,
62,
312,
796,
366,
3388,
5999,
1
] | [
1,
1,
1,
1,
1,
1,
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,
2248,
1332,
1438,
286,
262,
5827,
4686,
39861,
18,
30,
46506,
2248,
13,
18242,
16034,
2248,
33411,
2248,
13,
32796,
62,
312,
796,
366,
3388,
5999,
1
] |
Find the number of patients who stayed in the hospital for more than 6 days and have ivpca as drug route. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "6" AND prescriptions.route = "IVPCA" | [
16742,
262,
1271,
286,
3871,
508,
9658,
287,
262,
4436,
329,
517,
621,
718,
1528,
290,
423,
21628,
79,
6888,
355,
2563,
6339,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
1271,
286,
3871,
508,
9658,
287,
262,
4436,
329,
517,
621,
718,
1528,
290,
423,
21628,
79,
6888,
355,
2563,
6339,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3... |
Give me the comparison about the sum of ID over the Nationality , and group by attribute Nationality, display bar in descending order. | SELECT Nationality, SUM(ID) FROM swimmer GROUP BY Nationality ORDER BY Nationality DESC | [
23318,
502,
262,
7208,
546,
262,
2160,
286,
4522,
625,
262,
2351,
414,
837,
290,
1448,
416,
11688,
2351,
414,
11,
3359,
2318,
287,
31491,
1502,
13,
46506,
2351,
414,
11,
35683,
7,
2389,
8,
16034,
9422,
647,
44441,
11050,
2351,
414,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
262,
7208,
546,
262,
2160,
286,
4522,
625,
262,
2351,
414,
837,
290,
1448,
416,
11688,
2351,
414,
11,
3359,
2318,
287,
31491,
1502,
13,
46506,
2351,
414,
11,
35683,
7,
2389,
8,
16034,
9422,
647,
44441,
11050,
2351,
414,
... |
Name the city for los angeles stadium | SELECT city FROM table_28281704_1 WHERE stadium = "Los Angeles stadium" | [
5376,
262,
1748,
329,
22346,
18304,
274,
10308,
46506,
1748,
16034,
3084,
62,
2078,
2078,
1558,
3023,
62,
16,
33411,
10308,
796,
366,
28903,
5652,
10308,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1748,
329,
22346,
18304,
274,
10308,
46506,
1748,
16034,
3084,
62,
2078,
2078,
1558,
3023,
62,
16,
33411,
10308,
796,
366,
28903,
5652,
10308,
1
] |
What is Status, when Date is 10/05/1975? | SELECT status FROM table_name_33 WHERE date = "10/05/1975" | [
2061,
318,
12678,
11,
618,
7536,
318,
838,
14,
2713,
14,
38449,
30,
46506,
3722,
16034,
3084,
62,
3672,
62,
2091,
33411,
3128,
796,
366,
940,
14,
2713,
14,
38449,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
12678,
11,
618,
7536,
318,
838,
14,
2713,
14,
38449,
30,
46506,
3722,
16034,
3084,
62,
3672,
62,
2091,
33411,
3128,
796,
366,
940,
14,
2713,
14,
38449,
1
] |
Top 50 users from UAE. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%united arab emirates%' ORDER BY Reputation DESC LIMIT 150 | [
9126,
2026,
2985,
422,
29367,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
16034,
18987,
33411,
406,
36048,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2026,
2985,
422,
29367,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
16034,
18987,
33411,
406,
36048,
... |
What tournament is listed as A in 1972 and 2R in 1975? | SELECT tournament FROM table_name_69 WHERE 1972 = "a" AND 1975 = "2r" | [
2061,
7756,
318,
5610,
355,
317,
287,
16101,
290,
362,
49,
287,
15231,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
3388,
33411,
16101,
796,
366,
64,
1,
5357,
15231,
796,
366,
17,
81,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
7756,
318,
5610,
355,
317,
287,
16101,
290,
362,
49,
287,
15231,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
3388,
33411,
16101,
796,
366,
64,
1,
5357,
15231,
796,
366,
17,
81,
1
] |
suspected infection | SELECT * FROM table_train_39 WHERE active_infection = 1 | [
82,
385,
7254,
10280,
46506,
1635,
16034,
3084,
62,
27432,
62,
2670,
33411,
4075,
62,
27816,
295,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
82,
385,
7254,
10280,
46506,
1635,
16034,
3084,
62,
27432,
62,
2670,
33411,
4075,
62,
27816,
295,
796,
352
] |
show me the most expensive fare | SELECT DISTINCT fare_id FROM fare WHERE one_direction_cost = (SELECT MAX(FAREalias1.one_direction_cost) FROM fare AS FAREalias1, flight AS FLIGHTalias0, flight_fare AS FLIGHT_FARE WHERE FLIGHT_FARE_ID = FAREalias1.fare_id AND FLIGHTalias0.flight_id = FLIGHT_FLIGHT_ID) | [
12860,
502,
262,
749,
5789,
14505,
46506,
360,
8808,
1268,
4177,
14505,
62,
312,
16034,
14505,
33411,
530,
62,
37295,
62,
15805,
796,
357,
46506,
25882,
7,
37,
12203,
26011,
16,
13,
505,
62,
37295,
62,
15805,
8,
16034,
14505,
7054,
37... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12860,
502,
262,
749,
5789,
14505,
46506,
360,
8808,
1268,
4177,
14505,
62,
312,
16034,
14505,
33411,
530,
62,
37295,
62,
15805,
796,
357,
46506,
25882,
7,
37,
12203,
26011,
16,
13,
505,
62,
37295,
62,
15805,
8,
16034,
14505,
7054,
37... |
What is the sum of totals with a Vault of 38.437, and a Floor Exercise smaller than 37.524? | SELECT COUNT(total) FROM table_name_52 WHERE vault = 38.437 AND floor_exercise < 37.524 | [
2061,
318,
262,
2160,
286,
26310,
351,
257,
23450,
286,
4353,
13,
43284,
11,
290,
257,
22343,
32900,
4833,
621,
5214,
13,
48057,
30,
46506,
327,
28270,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
4309,
33411,
22563,
796,
4353,
13,
43284,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2160,
286,
26310,
351,
257,
23450,
286,
4353,
13,
43284,
11,
290,
257,
22343,
32900,
4833,
621,
5214,
13,
48057,
30,
46506,
327,
28270,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
4309,
33411,
22563,
796,
4353,
13,
43284,
... |
list the top five most frequent prescribed medications that patients have been prescribed within 2 months after being prescribed phenytoin infatab in this year. | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'phenytoin infatab' AND DATETIME(prescriptions.startdate, 'start o... | [
4868,
262,
1353,
1936,
749,
10792,
14798,
17638,
326,
3871,
423,
587,
14798,
1626,
362,
1933,
706,
852,
14798,
6566,
88,
1462,
259,
1167,
265,
397,
287,
428,
614,
13,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
13,
30349,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1353,
1936,
749,
10792,
14798,
17638,
326,
3871,
423,
587,
14798,
1626,
362,
1933,
706,
852,
14798,
6566,
88,
1462,
259,
1167,
265,
397,
287,
428,
614,
13,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
13,
30349,
... |
Bounties per month since 2013. | SELECT DATEADD(MONTH, DATEDIFF(MONTH, 0, CreationDate), 0) AS Month, COUNT(*) AS Bounties FROM Votes WHERE VoteTypeId = 8 AND CreationDate >= '2013-01-01' GROUP BY DATEADD(MONTH, DATEDIFF(MONTH, 0, CreationDate), 0) ORDER BY DATEADD(MONTH, DATEDIFF(MONTH, 0, CreationDate), 0) | [
33,
608,
444,
583,
1227,
1201,
2211,
13,
46506,
360,
6158,
29266,
7,
27857,
4221,
11,
360,
11617,
29267,
7,
27857,
4221,
11,
657,
11,
21582,
10430,
828,
657,
8,
7054,
16061,
11,
327,
28270,
7,
28104,
7054,
347,
608,
444,
16034,
3958... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
608,
444,
583,
1227,
1201,
2211,
13,
46506,
360,
6158,
29266,
7,
27857,
4221,
11,
360,
11617,
29267,
7,
27857,
4221,
11,
657,
11,
21582,
10430,
828,
657,
8,
7054,
16061,
11,
327,
28270,
7,
28104,
7054,
347,
608,
444,
16034,
3958... |
What Label has a Format of cd, and a Catalog of crgd 86136? | SELECT label FROM table_name_88 WHERE format = "cd" AND catalog = "crgd 86136" | [
2061,
36052,
468,
257,
18980,
286,
22927,
11,
290,
257,
44515,
286,
1067,
21287,
9849,
20809,
30,
46506,
6167,
16034,
3084,
62,
3672,
62,
3459,
33411,
5794,
796,
366,
10210,
1,
5357,
18388,
796,
366,
6098,
21287,
9849,
20809,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
468,
257,
18980,
286,
22927,
11,
290,
257,
44515,
286,
1067,
21287,
9849,
20809,
30,
46506,
6167,
16034,
3084,
62,
3672,
62,
3459,
33411,
5794,
796,
366,
10210,
1,
5357,
18388,
796,
366,
6098,
21287,
9849,
20809,
1
] |
Which Linda McCartney has a Stuart of electric guitar? | SELECT linda_mccartney FROM table_name_80 WHERE stuart = "electric guitar" | [
13828,
21776,
44677,
468,
257,
22559,
286,
5186,
10047,
30,
46506,
300,
22261,
62,
76,
535,
41709,
16034,
3084,
62,
3672,
62,
1795,
33411,
336,
19986,
796,
366,
31067,
10047,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
21776,
44677,
468,
257,
22559,
286,
5186,
10047,
30,
46506,
300,
22261,
62,
76,
535,
41709,
16034,
3084,
62,
3672,
62,
1795,
33411,
336,
19986,
796,
366,
31067,
10047,
1
] |
Which Website has a Frequency smaller than 760 and a Callsign of kkyx? | SELECT "Website" FROM table_33863 WHERE "Frequency" < '760' AND "Callsign" = 'kkyx' | [
13828,
15887,
468,
257,
31902,
4833,
621,
48284,
290,
257,
4889,
12683,
286,
479,
2584,
87,
30,
46506,
366,
33420,
1,
16034,
3084,
62,
2091,
4521,
18,
33411,
366,
37,
28707,
1,
1279,
705,
40761,
6,
5357,
366,
34,
5691,
570,
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
] | [
13828,
15887,
468,
257,
31902,
4833,
621,
48284,
290,
257,
4889,
12683,
286,
479,
2584,
87,
30,
46506,
366,
33420,
1,
16034,
3084,
62,
2091,
4521,
18,
33411,
366,
37,
28707,
1,
1279,
705,
40761,
6,
5357,
366,
34,
5691,
570,
1,
796,
... |
Select the number of questions for a given tag name. | SELECT Count FROM Tags WHERE TagName = '##tagname:string##' | [
17563,
262,
1271,
286,
2683,
329,
257,
1813,
7621,
1438,
13,
46506,
2764,
16034,
44789,
33411,
17467,
5376,
796,
705,
2235,
12985,
3672,
25,
8841,
2235,
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
] | [
17563,
262,
1271,
286,
2683,
329,
257,
1813,
7621,
1438,
13,
46506,
2764,
16034,
44789,
33411,
17467,
5376,
796,
705,
2235,
12985,
3672,
25,
8841,
2235,
6
] |
What is the Japanese orthography for the abbreviation of ndmc? | SELECT japanese_orthography FROM table_name_39 WHERE abbreviation = "ndmc" | [
2061,
318,
262,
4960,
29617,
4867,
329,
262,
28873,
47625,
286,
299,
67,
23209,
30,
46506,
474,
2674,
2771,
62,
1506,
4867,
16034,
3084,
62,
3672,
62,
2670,
33411,
28873,
47625,
796,
366,
358,
23209,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4960,
29617,
4867,
329,
262,
28873,
47625,
286,
299,
67,
23209,
30,
46506,
474,
2674,
2771,
62,
1506,
4867,
16034,
3084,
62,
3672,
62,
2670,
33411,
28873,
47625,
796,
366,
358,
23209,
1
] |
What School did Terrence Jones play for? | SELECT "School" FROM table_51717 WHERE "Player" = 'terrence jones' | [
2061,
3961,
750,
3813,
6784,
5437,
711,
329,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
48170,
1558,
33411,
366,
14140,
1,
796,
705,
353,
6784,
474,
1952,
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,
3961,
750,
3813,
6784,
5437,
711,
329,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
48170,
1558,
33411,
366,
14140,
1,
796,
705,
353,
6784,
474,
1952,
6
] |
For each reviewer id, show their corresponding rating for the movie in a scatter chart. | SELECT rID, stars FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID | [
1890,
1123,
37823,
4686,
11,
905,
511,
11188,
7955,
329,
262,
3807,
287,
257,
41058,
8262,
13,
46506,
374,
2389,
11,
5788,
16034,
12028,
7054,
309,
16,
32357,
1268,
15875,
7054,
309,
17,
6177,
309,
16,
13,
76,
2389,
796,
309,
17,
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
] | [
1890,
1123,
37823,
4686,
11,
905,
511,
11188,
7955,
329,
262,
3807,
287,
257,
41058,
8262,
13,
46506,
374,
2389,
11,
5788,
16034,
12028,
7054,
309,
16,
32357,
1268,
15875,
7054,
309,
17,
6177,
309,
16,
13,
76,
2389,
796,
309,
17,
13... |
What is 2006, when 2007 is '1R', and when 2002 is 'Q2'? | SELECT "2006" FROM table_60453 WHERE "2007" = '1r' AND "2002" = 'q2' | [
2061,
318,
4793,
11,
618,
4343,
318,
705,
16,
49,
3256,
290,
618,
6244,
318,
705,
48,
17,
30960,
46506,
366,
13330,
1,
16034,
3084,
62,
1899,
36625,
33411,
366,
12726,
1,
796,
705,
16,
81,
6,
5357,
366,
16942,
1,
796,
705,
80,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4793,
11,
618,
4343,
318,
705,
16,
49,
3256,
290,
618,
6244,
318,
705,
48,
17,
30960,
46506,
366,
13330,
1,
16034,
3084,
62,
1899,
36625,
33411,
366,
12726,
1,
796,
705,
16,
81,
6,
5357,
366,
16942,
1,
796,
705,
80,
1... |
What is the Week on November 10, 1996? | SELECT "Week" FROM table_47762 WHERE "Date" = 'november 10, 1996' | [
2061,
318,
262,
6119,
319,
3389,
838,
11,
8235,
30,
46506,
366,
20916,
1,
16034,
3084,
62,
2857,
48194,
33411,
366,
10430,
1,
796,
705,
77,
3239,
838,
11,
8235,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
6119,
319,
3389,
838,
11,
8235,
30,
46506,
366,
20916,
1,
16034,
3084,
62,
2857,
48194,
33411,
366,
10430,
1,
796,
705,
77,
3239,
838,
11,
8235,
6
] |
For those records from the products and each product's manufacturer, show me about the distribution of name and price , and group by attribute headquarter in a bar chart, I want to show from low to high by the Price. | SELECT T1.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter, T1.Name ORDER BY T1.Price | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
905,
502,
546,
262,
6082,
286,
1438,
290,
2756,
837,
290,
1448,
416,
11688,
1182,
24385,
287,
257,
2318,
8262,
11,
314,
765,
284,
905,
422,
1877,
284,
1029,
416,
262,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
905,
502,
546,
262,
6082,
286,
1438,
290,
2756,
837,
290,
1448,
416,
11688,
1182,
24385,
287,
257,
2318,
8262,
11,
314,
765,
284,
905,
422,
1877,
284,
1029,
416,
262,... |
Show the tourist attractions visited by the tourist whose detail is 'Vincent'. | SELECT T1.name FROM tourist_attractions AS T1 JOIN visits AS T2 ON T1.tourist_attraction_id = T2.tourist_attraction_id JOIN visitors AS T3 ON T2.tourist_id = T3.tourist_id WHERE T3.tourist_details = "Vincent" | [
15307,
262,
18473,
29156,
8672,
416,
262,
18473,
3025,
3703,
318,
705,
53,
42816,
4458,
46506,
309,
16,
13,
3672,
16034,
18473,
62,
1078,
37810,
7054,
309,
16,
32357,
1268,
11864,
7054,
309,
17,
6177,
309,
16,
13,
83,
454,
396,
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... | [
15307,
262,
18473,
29156,
8672,
416,
262,
18473,
3025,
3703,
318,
705,
53,
42816,
4458,
46506,
309,
16,
13,
3672,
16034,
18473,
62,
1078,
37810,
7054,
309,
16,
32357,
1268,
11864,
7054,
309,
17,
6177,
309,
16,
13,
83,
454,
396,
62,
... |
What is the lowest number of bronze a short track athlete with 0 gold medals has? | SELECT MIN(bronze) FROM table_name_47 WHERE sport = "short track" AND gold = 0 | [
2061,
318,
262,
9016,
1271,
286,
22101,
257,
1790,
2610,
16076,
351,
657,
3869,
28057,
468,
30,
46506,
20625,
7,
65,
1313,
2736,
8,
16034,
3084,
62,
3672,
62,
2857,
33411,
6332,
796,
366,
19509,
2610,
1,
5357,
3869,
796,
657
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
1271,
286,
22101,
257,
1790,
2610,
16076,
351,
657,
3869,
28057,
468,
30,
46506,
20625,
7,
65,
1313,
2736,
8,
16034,
3084,
62,
3672,
62,
2857,
33411,
6332,
796,
366,
19509,
2610,
1,
5357,
3869,
796,
657
] |
When ground is manuka oval what is the home team score? | SELECT COUNT(home_team) AS score FROM table_16388439_2 WHERE ground = "Manuka Oval" | [
2215,
2323,
318,
582,
14852,
41186,
644,
318,
262,
1363,
1074,
4776,
30,
46506,
327,
28270,
7,
11195,
62,
15097,
8,
7054,
4776,
16034,
3084,
62,
1433,
2548,
5705,
2670,
62,
17,
33411,
2323,
796,
366,
5124,
14852,
25165,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2323,
318,
582,
14852,
41186,
644,
318,
262,
1363,
1074,
4776,
30,
46506,
327,
28270,
7,
11195,
62,
15097,
8,
7054,
4776,
16034,
3084,
62,
1433,
2548,
5705,
2670,
62,
17,
33411,
2323,
796,
366,
5124,
14852,
25165,
1
] |
where catalog number is 81258 , what are all the studio ? | SELECT studio FROM table_11222744_2 WHERE catalog_number = "81258" | [
3003,
18388,
1271,
318,
807,
1065,
3365,
837,
644,
389,
477,
262,
8034,
5633,
46506,
8034,
16034,
3084,
62,
14686,
24403,
2598,
62,
17,
33411,
18388,
62,
17618,
796,
366,
23,
1065,
3365,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3003,
18388,
1271,
318,
807,
1065,
3365,
837,
644,
389,
477,
262,
8034,
5633,
46506,
8034,
16034,
3084,
62,
14686,
24403,
2598,
62,
17,
33411,
18388,
62,
17618,
796,
366,
23,
1065,
3365,
1
] |
Could you tell me what classes will be taught by Dr. Paige Andersson next semester ? | SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND instructor.name LIKE '%Paige Andersson%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.o... | [
23722,
345,
1560,
502,
644,
6097,
481,
307,
7817,
416,
1583,
13,
42847,
25519,
1559,
1306,
24878,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
158... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
23722,
345,
1560,
502,
644,
6097,
481,
307,
7817,
416,
1583,
13,
42847,
25519,
1559,
1306,
24878,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
158... |
Which year's crew is varsity 8+ when the record is 7-3? | SELECT year FROM table_name_63 WHERE crew = "varsity 8+" AND record = "7-3" | [
13828,
614,
338,
5462,
318,
410,
45826,
807,
10,
618,
262,
1700,
318,
767,
12,
18,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
5066,
33411,
5462,
796,
366,
85,
45826,
807,
10,
1,
5357,
1700,
796,
366,
22,
12,
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
] | [
13828,
614,
338,
5462,
318,
410,
45826,
807,
10,
618,
262,
1700,
318,
767,
12,
18,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
5066,
33411,
5462,
796,
366,
85,
45826,
807,
10,
1,
5357,
1700,
796,
366,
22,
12,
18,
1
] |
how many office admitted patients are discharged to home health care facility? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND demographic.discharge_location = "HOME HEALTH CARE" | [
4919,
867,
2607,
6848,
3871,
389,
26476,
284,
1363,
1535,
1337,
6841,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
24886,
796,
366,
5097,
1268,
2149,
4526... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2607,
6848,
3871,
389,
26476,
284,
1363,
1535,
1337,
6841,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
24886,
796,
366,
5097,
1268,
2149,
4526... |
What is the proportion of flags of ships that do not have a captain with the rank of Midshipman? Show the result using a pie chart. | SELECT Flag, COUNT(Flag) FROM Ship WHERE NOT Ship_ID IN (SELECT Ship_ID FROM captain WHERE Rank = 'Midshipman') GROUP BY Flag | [
2061,
318,
262,
9823,
286,
9701,
286,
7937,
326,
466,
407,
423,
257,
10654,
351,
262,
4279,
286,
337,
2340,
1056,
805,
30,
5438,
262,
1255,
1262,
257,
2508,
8262,
13,
46506,
19762,
11,
327,
28270,
7,
34227,
8,
16034,
16656,
33411,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
9823,
286,
9701,
286,
7937,
326,
466,
407,
423,
257,
10654,
351,
262,
4279,
286,
337,
2340,
1056,
805,
30,
5438,
262,
1255,
1262,
257,
2508,
8262,
13,
46506,
19762,
11,
327,
28270,
7,
34227,
8,
16034,
16656,
33411,
5... |
What is Name, when Team is 'Herdez Competition', and when Best is 1:27.432? | SELECT "Name" FROM table_8336 WHERE "Team" = 'herdez competition' AND "Best" = '1:27.432' | [
2061,
318,
6530,
11,
618,
4816,
318,
705,
9360,
2934,
89,
27348,
3256,
290,
618,
6705,
318,
352,
25,
1983,
13,
45331,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
23,
29211,
33411,
366,
15592,
1,
796,
705,
372,
2934,
89,
5449,
6,
535... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6530,
11,
618,
4816,
318,
705,
9360,
2934,
89,
27348,
3256,
290,
618,
6705,
318,
352,
25,
1983,
13,
45331,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
23,
29211,
33411,
366,
15592,
1,
796,
705,
372,
2934,
89,
5449,
6,
535... |
how many television credits does this actress have ? | SELECT COUNT(*) FROM table_204_903 | [
4919,
867,
5581,
10824,
857,
428,
14549,
423,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
24,
3070
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
5581,
10824,
857,
428,
14549,
423,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
24,
3070
] |
How many directors were there for series # 431? | SELECT COUNT("Director") FROM table_3430 WHERE "Series #" = '431' | [
2437,
867,
13445,
547,
612,
329,
2168,
1303,
604,
3132,
30,
46506,
327,
28270,
7203,
28702,
4943,
16034,
3084,
62,
2682,
1270,
33411,
366,
27996,
1303,
1,
796,
705,
50080,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
13445,
547,
612,
329,
2168,
1303,
604,
3132,
30,
46506,
327,
28270,
7203,
28702,
4943,
16034,
3084,
62,
2682,
1270,
33411,
366,
27996,
1303,
1,
796,
705,
50080,
6
] |
What is the tyres with a year earlier than 1961 for a climax l4 engine? | SELECT "Tyres" FROM table_79881 WHERE "Year" < '1961' AND "Engine" = 'climax l4' | [
2061,
318,
262,
40498,
351,
257,
614,
2961,
621,
20510,
329,
257,
30032,
300,
19,
3113,
30,
46506,
366,
25492,
411,
1,
16034,
3084,
62,
3720,
3459,
16,
33411,
366,
17688,
1,
1279,
705,
1129,
5333,
6,
5357,
366,
13798,
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
] | [
2061,
318,
262,
40498,
351,
257,
614,
2961,
621,
20510,
329,
257,
30032,
300,
19,
3113,
30,
46506,
366,
25492,
411,
1,
16034,
3084,
62,
3720,
3459,
16,
33411,
366,
17688,
1,
1279,
705,
1129,
5333,
6,
5357,
366,
13798,
1,
796,
705,
... |
what is the number of patients who have been daignosed with status-post ptca and dialys as the drug route? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Status-post ptca" AND prescriptions.route = "DIALYS" | [
10919,
318,
262,
1271,
286,
3871,
508,
423,
587,
288,
1784,
1335,
351,
3722,
12,
7353,
42975,
6888,
290,
5980,
893,
355,
262,
2563,
6339,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
508,
423,
587,
288,
1784,
1335,
351,
3722,
12,
7353,
42975,
6888,
290,
5980,
893,
355,
262,
2563,
6339,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
32... |
Name the number of season number for jeff truman | SELECT COUNT("Season #") FROM table_20336 WHERE "Writer(s)" = 'Jeff Truman' | [
5376,
262,
1271,
286,
1622,
1271,
329,
11223,
487,
491,
3778,
46506,
327,
28270,
7203,
18960,
1303,
4943,
16034,
3084,
62,
1238,
29211,
33411,
366,
34379,
7,
82,
16725,
796,
705,
19139,
33027,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1271,
286,
1622,
1271,
329,
11223,
487,
491,
3778,
46506,
327,
28270,
7203,
18960,
1303,
4943,
16034,
3084,
62,
1238,
29211,
33411,
366,
34379,
7,
82,
16725,
796,
705,
19139,
33027,
6
] |
SELECT TOP 10 * FROM tags ORDER BY Count DESC;. | SELECT * FROM Tags ORDER BY Count DESC LIMIT 10 | [
46506,
28662,
838,
1635,
16034,
15940,
38678,
11050,
2764,
22196,
34,
26,
13,
46506,
1635,
16034,
44789,
38678,
11050,
2764,
22196,
34,
27564,
2043,
838
] | [
1,
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,
28662,
838,
1635,
16034,
15940,
38678,
11050,
2764,
22196,
34,
26,
13,
46506,
1635,
16034,
44789,
38678,
11050,
2764,
22196,
34,
27564,
2043,
838
] |
Name the minoru that has a hikaru sato of x and super crazy of yang (8:36) | SELECT "Minoru" FROM table_54840 WHERE "Hikaru Sato" = 'x' AND "Super Crazy" = 'yang (8:36)' | [
5376,
262,
4159,
84,
326,
468,
257,
289,
1134,
11493,
3332,
78,
286,
2124,
290,
2208,
7165,
286,
331,
648,
357,
23,
25,
2623,
8,
46506,
366,
9452,
27786,
1,
16034,
3084,
62,
49934,
1821,
33411,
366,
39,
1134,
11493,
311,
5549,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4159,
84,
326,
468,
257,
289,
1134,
11493,
3332,
78,
286,
2124,
290,
2208,
7165,
286,
331,
648,
357,
23,
25,
2623,
8,
46506,
366,
9452,
27786,
1,
16034,
3084,
62,
49934,
1821,
33411,
366,
39,
1134,
11493,
311,
5549,
1,
... |
What date has yani tseng as the runner (s)-up? | SELECT date FROM table_name_91 WHERE runner_s__up = "yani tseng" | [
2061,
3128,
468,
331,
3216,
40379,
1516,
355,
262,
17490,
357,
82,
13219,
929,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
6420,
33411,
17490,
62,
82,
834,
929,
796,
366,
88,
3216,
40379,
1516,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3128,
468,
331,
3216,
40379,
1516,
355,
262,
17490,
357,
82,
13219,
929,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
6420,
33411,
17490,
62,
82,
834,
929,
796,
366,
88,
3216,
40379,
1516,
1
] |
What is the To par when Lanny Wadkins is the player? | SELECT to_par FROM table_name_66 WHERE player = "lanny wadkins" | [
2061,
318,
262,
1675,
1582,
618,
406,
7737,
48986,
5331,
318,
262,
2137,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
2791,
33411,
2137,
796,
366,
75,
7737,
266,
324,
5331,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1675,
1582,
618,
406,
7737,
48986,
5331,
318,
262,
2137,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
2791,
33411,
2137,
796,
366,
75,
7737,
266,
324,
5331,
1
] |
Who was the opponent in the Week 4 game? | SELECT opponent FROM table_name_25 WHERE week = 4 | [
8241,
373,
262,
6125,
287,
262,
6119,
604,
983,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
1495,
33411,
1285,
796,
604
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
6125,
287,
262,
6119,
604,
983,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
1495,
33411,
1285,
796,
604
] |
what is the highest top-5 when cuts made is more than 39? | SELECT MAX("Top-5") FROM table_63960 WHERE "Cuts made" > '39' | [
10919,
318,
262,
4511,
1353,
12,
20,
618,
6630,
925,
318,
517,
621,
5014,
30,
46506,
25882,
7203,
9126,
12,
20,
4943,
16034,
3084,
62,
21,
2670,
1899,
33411,
366,
34,
5500,
925,
1,
1875,
705,
2670,
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
] | [
10919,
318,
262,
4511,
1353,
12,
20,
618,
6630,
925,
318,
517,
621,
5014,
30,
46506,
25882,
7203,
9126,
12,
20,
4943,
16034,
3084,
62,
21,
2670,
1899,
33411,
366,
34,
5500,
925,
1,
1875,
705,
2670,
6
] |
what is the number of patients whose age is less than 62 and drug code is furo40i? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "62" AND prescriptions.formulary_drug_cd = "FURO40I" | [
10919,
318,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
8190,
290,
2563,
2438,
318,
277,
1434,
1821,
72,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2479,
318,
1342,
621,
8190,
290,
2563,
2438,
318,
277,
1434,
1821,
72,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092... |
What is the name of the team leading on August 17? | SELECT "Team" FROM table_43102 WHERE "Date" = 'august 17' | [
2061,
318,
262,
1438,
286,
262,
1074,
3756,
319,
2932,
1596,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
3559,
15377,
33411,
366,
10430,
1,
796,
705,
7493,
436,
1596,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
1074,
3756,
319,
2932,
1596,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
3559,
15377,
33411,
366,
10430,
1,
796,
705,
7493,
436,
1596,
6
] |
Which date is in stereo lp format? | SELECT "Date" FROM table_79940 WHERE "Format" = 'stereo lp' | [
13828,
3128,
318,
287,
24820,
300,
79,
5794,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
45455,
1821,
33411,
366,
26227,
1,
796,
705,
301,
32934,
300,
79,
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
] | [
13828,
3128,
318,
287,
24820,
300,
79,
5794,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
45455,
1821,
33411,
366,
26227,
1,
796,
705,
301,
32934,
300,
79,
6
] |
What is the Almaty, Kazakhstan when the Sergey Filimonov (KAZ) is 210kg? | SELECT "Almaty , Kazakhstan" FROM table_64301 WHERE "Sergey Filimonov ( KAZ )" = '210kg' | [
2061,
318,
262,
978,
6759,
88,
11,
34474,
618,
262,
36106,
7066,
20473,
709,
357,
42,
22778,
8,
318,
20064,
10025,
30,
46506,
366,
2348,
6759,
88,
837,
34474,
1,
16034,
3084,
62,
2414,
18938,
33411,
366,
7089,
39608,
7066,
20473,
709,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
978,
6759,
88,
11,
34474,
618,
262,
36106,
7066,
20473,
709,
357,
42,
22778,
8,
318,
20064,
10025,
30,
46506,
366,
2348,
6759,
88,
837,
34474,
1,
16034,
3084,
62,
2414,
18938,
33411,
366,
7089,
39608,
7066,
20473,
709,... |
What is the sum of total with a Rank larger than 12, and a Gold larger than 4? | SELECT COUNT("Total") FROM table_14490 WHERE "Rank" > '12' AND "Gold" > '4' | [
2061,
318,
262,
2160,
286,
2472,
351,
257,
10916,
4025,
621,
1105,
11,
290,
257,
3561,
4025,
621,
604,
30,
46506,
327,
28270,
7203,
14957,
4943,
16034,
3084,
62,
1415,
31503,
33411,
366,
27520,
1,
1875,
705,
1065,
6,
5357,
366,
13306,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2160,
286,
2472,
351,
257,
10916,
4025,
621,
1105,
11,
290,
257,
3561,
4025,
621,
604,
30,
46506,
327,
28270,
7203,
14957,
4943,
16034,
3084,
62,
1415,
31503,
33411,
366,
27520,
1,
1875,
705,
1065,
6,
5357,
366,
13306,... |
what is the number of patients whose insurance is medicaid and diagnoses long title is observation for suspected genetic or metabolic condition? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Medicaid" AND diagnoses.long_title = "Observation for suspected genetic or metabolic condition" | [
10919,
318,
262,
1271,
286,
3871,
3025,
5096,
318,
6924,
1698,
290,
40567,
890,
3670,
318,
13432,
329,
9885,
8513,
393,
19737,
4006,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
214... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5096,
318,
6924,
1698,
290,
40567,
890,
3670,
318,
13432,
329,
9885,
8513,
393,
19737,
4006,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
214... |
When was the historic place listed that's in canyon county? | SELECT "Listed" FROM table_44964 WHERE "County" = 'canyon' | [
2215,
373,
262,
9566,
1295,
5610,
326,
338,
287,
42775,
7968,
30,
46506,
366,
43,
6347,
1,
16034,
3084,
62,
31911,
2414,
33411,
366,
12332,
88,
1,
796,
705,
66,
21330,
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,
373,
262,
9566,
1295,
5610,
326,
338,
287,
42775,
7968,
30,
46506,
366,
43,
6347,
1,
16034,
3084,
62,
31911,
2414,
33411,
366,
12332,
88,
1,
796,
705,
66,
21330,
6
] |
Jim Obradovich, picked after round 2, but before pick 183, plays what position? | SELECT "Position" FROM table_64014 WHERE "Round" > '2' AND "Pick" < '183' AND "Player" = 'jim obradovich' | [
18050,
440,
1671,
324,
18198,
11,
6497,
706,
2835,
362,
11,
475,
878,
2298,
28551,
11,
5341,
644,
2292,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
2414,
28645,
33411,
366,
22685,
1,
1875,
705,
17,
6,
5357,
366,
31686,
1,
1279,
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
] | [
18050,
440,
1671,
324,
18198,
11,
6497,
706,
2835,
362,
11,
475,
878,
2298,
28551,
11,
5341,
644,
2292,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
2414,
28645,
33411,
366,
22685,
1,
1875,
705,
17,
6,
5357,
366,
31686,
1,
1279,
705,
... |
What was the winning score when Steve Stricker was runner-up? | SELECT "Winning score" FROM table_39479 WHERE "Runner(s)-up" = 'steve stricker' | [
2061,
373,
262,
5442,
4776,
618,
6542,
4285,
15799,
373,
17490,
12,
929,
30,
46506,
366,
16643,
768,
4776,
1,
16034,
3084,
62,
2670,
31714,
33411,
366,
49493,
7,
82,
13219,
929,
1,
796,
705,
4169,
303,
965,
15799,
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,
373,
262,
5442,
4776,
618,
6542,
4285,
15799,
373,
17490,
12,
929,
30,
46506,
366,
16643,
768,
4776,
1,
16034,
3084,
62,
2670,
31714,
33411,
366,
49493,
7,
82,
13219,
929,
1,
796,
705,
4169,
303,
965,
15799,
6
] |
Show the name of all trains, count the name and show them with a bar chart, could you rank in asc by the X please? | SELECT Name, COUNT(Name) FROM train GROUP BY Name ORDER BY Name | [
15307,
262,
1438,
286,
477,
13404,
11,
954,
262,
1438,
290,
905,
606,
351,
257,
2318,
8262,
11,
714,
345,
4279,
287,
10570,
416,
262,
1395,
3387,
30,
46506,
6530,
11,
327,
28270,
7,
5376,
8,
16034,
4512,
44441,
11050,
6530,
38678,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
286,
477,
13404,
11,
954,
262,
1438,
290,
905,
606,
351,
257,
2318,
8262,
11,
714,
345,
4279,
287,
10570,
416,
262,
1395,
3387,
30,
46506,
6530,
11,
327,
28270,
7,
5376,
8,
16034,
4512,
44441,
11050,
6530,
38678,
1... |
What player is a lock with 1 cap? | SELECT player FROM table_name_16 WHERE position = "lock" AND caps = 1 | [
2061,
2137,
318,
257,
5793,
351,
352,
1451,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
1433,
33411,
2292,
796,
366,
5354,
1,
5357,
11022,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2137,
318,
257,
5793,
351,
352,
1451,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
1433,
33411,
2292,
796,
366,
5354,
1,
5357,
11022,
796,
352
] |
is there any microbiology test history for patient 49141 since 1 year ago? | SELECT COUNT(*) > 0 FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 49141) AND DATETIME(microbiologyevents.charttime) >= DATETIME(CURRENT_TIME(), '-1 year') | [
271,
612,
597,
24559,
1435,
1332,
2106,
329,
5827,
5125,
23756,
1201,
352,
614,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
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... | [
271,
612,
597,
24559,
1435,
1332,
2106,
329,
5827,
5125,
23756,
1201,
352,
614,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,... |
What Chroma Format that has both Picture Coding Types of i, p, b, and the Name of main profile? | SELECT chroma_format FROM table_name_69 WHERE picture_coding_types = "i, p, b" AND name = "main profile" | [
2061,
18255,
64,
18980,
326,
468,
1111,
17741,
327,
7656,
24897,
286,
1312,
11,
279,
11,
275,
11,
290,
262,
6530,
286,
1388,
7034,
30,
46506,
15358,
64,
62,
18982,
16034,
3084,
62,
3672,
62,
3388,
33411,
4286,
62,
66,
7656,
62,
1919... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18255,
64,
18980,
326,
468,
1111,
17741,
327,
7656,
24897,
286,
1312,
11,
279,
11,
275,
11,
290,
262,
6530,
286,
1388,
7034,
30,
46506,
15358,
64,
62,
18982,
16034,
3084,
62,
3672,
62,
3388,
33411,
4286,
62,
66,
7656,
62,
1919... |
provide the number of patients whose days of hospital stay is greater than 14 and admission year is less than 2119? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.days_stay > "14" AND demographic.admityear < "2119" | [
15234,
485,
262,
1271,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
1478,
290,
13938,
614,
318,
1342,
621,
2310,
1129,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15234,
485,
262,
1271,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
1478,
290,
13938,
614,
318,
1342,
621,
2310,
1129,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728... |
Search posts by multiple comment text ('AND' operator) and UserId. | SELECT Id AS "comment_link", Score, Text FROM Comments WHERE (UPPER(Text) LIKE UPPER('%##CommentText##%') AND UserId = '##UserId##') ORDER BY Score DESC | [
18243,
6851,
416,
3294,
2912,
2420,
19203,
6981,
6,
10088,
8,
290,
11787,
7390,
13,
46506,
5121,
7054,
366,
23893,
62,
8726,
1600,
15178,
11,
8255,
16034,
19502,
33411,
357,
8577,
18973,
7,
8206,
8,
34178,
471,
10246,
1137,
10786,
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
] | [
18243,
6851,
416,
3294,
2912,
2420,
19203,
6981,
6,
10088,
8,
290,
11787,
7390,
13,
46506,
5121,
7054,
366,
23893,
62,
8726,
1600,
15178,
11,
8255,
16034,
19502,
33411,
357,
8577,
18973,
7,
8206,
8,
34178,
471,
10246,
1137,
10786,
4,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.