instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What rounds does elio de angelis drive? | SELECT "Rounds" FROM table_57349 WHERE "Driver" = 'elio de angelis' | [
2061,
9196,
857,
1288,
952,
390,
18304,
271,
3708,
30,
46506,
366,
49,
3733,
1,
16034,
3084,
62,
3553,
27371,
33411,
366,
32103,
1,
796,
705,
417,
952,
390,
18304,
271,
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,
9196,
857,
1288,
952,
390,
18304,
271,
3708,
30,
46506,
366,
49,
3733,
1,
16034,
3084,
62,
3553,
27371,
33411,
366,
32103,
1,
796,
705,
417,
952,
390,
18304,
271,
6
] |
what is the code of population census 2009 is 1356301? | SELECT "Code" FROM table_913 WHERE "Population Census 2009" = '1356301' | [
10919,
318,
262,
2438,
286,
3265,
21649,
3717,
318,
1511,
3980,
18938,
30,
46506,
366,
10669,
1,
16034,
3084,
62,
24,
1485,
33411,
366,
45251,
20962,
3717,
1,
796,
705,
1485,
3980,
18938,
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
] | [
10919,
318,
262,
2438,
286,
3265,
21649,
3717,
318,
1511,
3980,
18938,
30,
46506,
366,
10669,
1,
16034,
3084,
62,
24,
1485,
33411,
366,
45251,
20962,
3717,
1,
796,
705,
1485,
3980,
18938,
6
] |
Who is the R1st that has 36 RYds? | SELECT r1st FROM table_name_49 WHERE ryds = "36" | [
8241,
318,
262,
371,
16,
301,
326,
468,
4570,
371,
56,
9310,
30,
46506,
374,
16,
301,
16034,
3084,
62,
3672,
62,
2920,
33411,
374,
5173,
82,
796,
366,
2623,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
371,
16,
301,
326,
468,
4570,
371,
56,
9310,
30,
46506,
374,
16,
301,
16034,
3084,
62,
3672,
62,
2920,
33411,
374,
5173,
82,
796,
366,
2623,
1
] |
How much was the budget of ' Finding Nemo | SELECT budget FROM movie WHERE title = 'Finding Nemo' | [
2437,
881,
373,
262,
4466,
286,
705,
27063,
22547,
78,
46506,
4466,
16034,
3807,
33411,
3670,
796,
705,
36276,
22547,
78,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
881,
373,
262,
4466,
286,
705,
27063,
22547,
78,
46506,
4466,
16034,
3807,
33411,
3670,
796,
705,
36276,
22547,
78,
6
] |
Which To par has a Player of tom watson? | SELECT "To par" FROM table_12205 WHERE "Player" = 'tom watson' | [
13828,
1675,
1582,
468,
257,
7853,
286,
16667,
266,
13506,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
1065,
21261,
33411,
366,
14140,
1,
796,
705,
39532,
266,
13506,
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,
1675,
1582,
468,
257,
7853,
286,
16667,
266,
13506,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
1065,
21261,
33411,
366,
14140,
1,
796,
705,
39532,
266,
13506,
6
] |
When did the Mixed double Women's singles of isabel rocha, from the year 1970, and a Women's doubles of isabel rocha ana margarida? | SELECT "Mixed doubles" FROM table_36582 WHERE "Women's singles" = 'isabel rocha' AND "Year" > '1970' AND "Women's doubles" = 'isabel rocha ana margarida' | [
2215,
750,
262,
35250,
4274,
6926,
338,
25287,
286,
318,
9608,
686,
11693,
11,
422,
262,
614,
8069,
11,
290,
257,
6926,
338,
21938,
286,
318,
9608,
686,
11693,
44763,
6145,
283,
3755,
30,
46506,
366,
44,
2966,
21938,
1,
16034,
3084,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2215,
750,
262,
35250,
4274,
6926,
338,
25287,
286,
318,
9608,
686,
11693,
11,
422,
262,
614,
8069,
11,
290,
257,
6926,
338,
21938,
286,
318,
9608,
686,
11693,
44763,
6145,
283,
3755,
30,
46506,
366,
44,
2966,
21938,
1,
16034,
3084,
... |
A bar chart for finding the number of the category descriptions of the products whose descriptions include letter 't'. | SELECT product_category_description, COUNT(product_category_description) FROM Ref_Product_Categories AS T1 JOIN Products AS T2 ON T1.product_category_code = T2.product_category_code WHERE T2.product_description LIKE '%t%' GROUP BY product_category_description | [
32,
2318,
8262,
329,
4917,
262,
1271,
286,
262,
6536,
16969,
286,
262,
3186,
3025,
16969,
2291,
3850,
705,
83,
4458,
46506,
1720,
62,
22872,
62,
11213,
11,
327,
28270,
7,
11167,
62,
22872,
62,
11213,
8,
16034,
6524,
62,
15667,
62,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
32,
2318,
8262,
329,
4917,
262,
1271,
286,
262,
6536,
16969,
286,
262,
3186,
3025,
16969,
2291,
3850,
705,
83,
4458,
46506,
1720,
62,
22872,
62,
11213,
11,
327,
28270,
7,
11167,
62,
22872,
62,
11213,
8,
16034,
6524,
62,
15667,
62,
3... |
In what round was a defensive tackle drafted with an overall pick smaller than 149? | SELECT COUNT(round) FROM table_name_25 WHERE position = "defensive tackle" AND overall < 149 | [
818,
644,
2835,
373,
257,
6110,
9761,
15937,
351,
281,
4045,
2298,
4833,
621,
24041,
30,
46506,
327,
28270,
7,
744,
8,
16034,
3084,
62,
3672,
62,
1495,
33411,
2292,
796,
366,
4299,
2021,
9761,
1,
5357,
4045,
1279,
24041
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2835,
373,
257,
6110,
9761,
15937,
351,
281,
4045,
2298,
4833,
621,
24041,
30,
46506,
327,
28270,
7,
744,
8,
16034,
3084,
62,
3672,
62,
1495,
33411,
2292,
796,
366,
4299,
2021,
9761,
1,
5357,
4045,
1279,
24041
] |
when did raymond h. fogler leave the office of assistant secretary of the navy ? | SELECT "left office" FROM table_202_202 WHERE "name" = 'raymond h. fogler' | [
12518,
750,
26842,
6327,
289,
13,
19558,
1754,
2666,
262,
2607,
286,
8796,
7705,
286,
262,
23956,
5633,
46506,
366,
9464,
2607,
1,
16034,
3084,
62,
19004,
62,
19004,
33411,
366,
3672,
1,
796,
705,
2433,
6327,
289,
13,
19558,
1754,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12518,
750,
26842,
6327,
289,
13,
19558,
1754,
2666,
262,
2607,
286,
8796,
7705,
286,
262,
23956,
5633,
46506,
366,
9464,
2607,
1,
16034,
3084,
62,
19004,
62,
19004,
33411,
366,
3672,
1,
796,
705,
2433,
6327,
289,
13,
19558,
1754,
6
] |
Which Make has a Car # larger than 59? | SELECT make FROM table_name_48 WHERE car__number > 59 | [
13828,
6889,
468,
257,
1879,
1303,
4025,
621,
7863,
30,
46506,
787,
16034,
3084,
62,
3672,
62,
2780,
33411,
1097,
834,
17618,
1875,
7863
] | [
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,
6889,
468,
257,
1879,
1303,
4025,
621,
7863,
30,
46506,
787,
16034,
3084,
62,
3672,
62,
2780,
33411,
1097,
834,
17618,
1875,
7863
] |
Which Filename extension has an Interactivity support of no, an Open standard of yes, and an Image support of no? | SELECT "Filename extension" FROM table_69415 WHERE "Interactivity support" = 'no' AND "Open standard" = 'yes' AND "Image support" = 'no' | [
13828,
7066,
12453,
7552,
468,
281,
4225,
21797,
1104,
286,
645,
11,
281,
4946,
3210,
286,
3763,
11,
290,
281,
7412,
1104,
286,
645,
30,
46506,
366,
35063,
7552,
1,
16034,
3084,
62,
3388,
35038,
33411,
366,
9492,
21797,
1104,
1,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
7066,
12453,
7552,
468,
281,
4225,
21797,
1104,
286,
645,
11,
281,
4946,
3210,
286,
3763,
11,
290,
281,
7412,
1104,
286,
645,
30,
46506,
366,
35063,
7552,
1,
16034,
3084,
62,
3388,
35038,
33411,
366,
9492,
21797,
1104,
1,
796,
... |
in 2104, what were the top four most common laboratory tests that were ordered to patients in the same hospital encounter after being diagnosed with intracranial injury? | SELECT t3.labname FROM (SELECT t2.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'intracranial inju... | [
259,
362,
13464,
11,
644,
547,
262,
1353,
1440,
749,
2219,
14010,
5254,
326,
547,
6149,
284,
3871,
287,
262,
976,
4436,
8791,
706,
852,
14641,
351,
9913,
330,
2596,
498,
5095,
30,
46506,
256,
18,
13,
23912,
3672,
16034,
357,
46506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
259,
362,
13464,
11,
644,
547,
262,
1353,
1440,
749,
2219,
14010,
5254,
326,
547,
6149,
284,
3871,
287,
262,
976,
4436,
8791,
706,
852,
14641,
351,
9913,
330,
2596,
498,
5095,
30,
46506,
256,
18,
13,
23912,
3672,
16034,
357,
46506,
... |
how many golfers shot 4 over par at the 2010 us open ? | SELECT COUNT("player") FROM table_203_134 WHERE "to par" = 4 | [
4919,
867,
13126,
364,
2823,
604,
625,
1582,
379,
262,
3050,
514,
1280,
5633,
46506,
327,
28270,
7203,
7829,
4943,
16034,
3084,
62,
22416,
62,
19880,
33411,
366,
1462,
1582,
1,
796,
604
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13126,
364,
2823,
604,
625,
1582,
379,
262,
3050,
514,
1280,
5633,
46506,
327,
28270,
7203,
7829,
4943,
16034,
3084,
62,
22416,
62,
19880,
33411,
366,
1462,
1582,
1,
796,
604
] |
Return a bar chart to show how many documents for different budget type description, rank in descending by the Y. | SELECT Budget_Type_Description, COUNT(Budget_Type_Description) FROM Documents_with_Expenses AS T1 JOIN Ref_Budget_Codes AS T2 ON T1.Budget_Type_Code = T2.Budget_Type_Code GROUP BY Budget_Type_Description ORDER BY COUNT(Budget_Type_Description) DESC | [
13615,
257,
2318,
8262,
284,
905,
703,
867,
4963,
329,
1180,
4466,
2099,
6764,
11,
4279,
287,
31491,
416,
262,
575,
13,
46506,
15401,
62,
6030,
62,
11828,
11,
327,
28270,
7,
33,
29427,
62,
6030,
62,
11828,
8,
16034,
33267,
62,
4480,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13615,
257,
2318,
8262,
284,
905,
703,
867,
4963,
329,
1180,
4466,
2099,
6764,
11,
4279,
287,
31491,
416,
262,
575,
13,
46506,
15401,
62,
6030,
62,
11828,
11,
327,
28270,
7,
33,
29427,
62,
6030,
62,
11828,
8,
16034,
33267,
62,
4480,... |
How many people attended the game that ended 4-6? | SELECT COUNT(attendance) FROM table_name_15 WHERE score = "4-6" | [
2437,
867,
661,
9141,
262,
983,
326,
4444,
604,
12,
21,
30,
46506,
327,
28270,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
1314,
33411,
4776,
796,
366,
19,
12,
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
] | [
2437,
867,
661,
9141,
262,
983,
326,
4444,
604,
12,
21,
30,
46506,
327,
28270,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
1314,
33411,
4776,
796,
366,
19,
12,
21,
1
] |
what's the regionalliga west/s dwest with regionalliga s d being stuttgarter kickers | SELECT regionalliga_west_südwest FROM table_14242137_11 WHERE regionalliga_süd = "Stuttgarter Kickers" | [
10919,
338,
262,
3814,
439,
13827,
7421,
14,
82,
288,
7038,
351,
3814,
439,
13827,
264,
288,
852,
336,
15318,
70,
2571,
4829,
364,
46506,
3814,
439,
13827,
62,
7038,
62,
82,
9116,
67,
7038,
16034,
3084,
62,
1415,
27877,
19708,
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
] | [
10919,
338,
262,
3814,
439,
13827,
7421,
14,
82,
288,
7038,
351,
3814,
439,
13827,
264,
288,
852,
336,
15318,
70,
2571,
4829,
364,
46506,
3814,
439,
13827,
62,
7038,
62,
82,
9116,
67,
7038,
16034,
3084,
62,
1415,
27877,
19708,
62,
1... |
What was the Total the Year Yugoslavia had 0 Silver medals and 31 Competitors? | SELECT total FROM table_name_5 WHERE silver = "0" AND competitors = "31" | [
2061,
373,
262,
7472,
262,
6280,
37777,
550,
657,
7698,
28057,
290,
3261,
38558,
6742,
30,
46506,
2472,
16034,
3084,
62,
3672,
62,
20,
33411,
8465,
796,
366,
15,
1,
5357,
13861,
796,
366,
3132,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7472,
262,
6280,
37777,
550,
657,
7698,
28057,
290,
3261,
38558,
6742,
30,
46506,
2472,
16034,
3084,
62,
3672,
62,
20,
33411,
8465,
796,
366,
15,
1,
5357,
13861,
796,
366,
3132,
1
] |
Which Wins has a Top-5 of 6? | SELECT AVG(wins) FROM table_name_26 WHERE top_5 = 6 | [
13828,
24423,
468,
257,
5849,
12,
20,
286,
718,
30,
46506,
35224,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
2075,
33411,
1353,
62,
20,
796,
718
] | [
1,
1,
1,
1,
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,
468,
257,
5849,
12,
20,
286,
718,
30,
46506,
35224,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
2075,
33411,
1353,
62,
20,
796,
718
] |
For all employees who have the letters D or S in their first name, return a bar chart about the distribution of job_id and the amount of job_id , and group by attribute job_id, and sort in asc by the the number of job id please. | SELECT JOB_ID, COUNT(JOB_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY COUNT(JOB_ID) | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2033,
286,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
3297,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2033,
286,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
3297,... |
count the number of patients whose admission type is urgent and diagnoses long title is poisoning by penicillins? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "URGENT" AND diagnoses.long_title = "Poisoning by penicillins" | [
9127,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
18039,
290,
40567,
890,
3670,
318,
22475,
416,
3112,
291,
359,
1040,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
18039,
290,
40567,
890,
3670,
318,
22475,
416,
3112,
291,
359,
1040,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1... |
Show the of customer addresses and group by premises type and address type code in a stacked bar chart The x-axis is premises type, and I want to sort in descending by the total number please. | SELECT premises_type, COUNT(premises_type) FROM Customer_Addresses AS T1 JOIN Premises AS T2 ON T1.premise_id = T2.premise_id GROUP BY address_type_code, premises_type ORDER BY COUNT(premises_type) DESC | [
15307,
262,
286,
6491,
9405,
290,
1448,
416,
17095,
2099,
290,
2209,
2099,
2438,
287,
257,
24167,
2318,
8262,
383,
2124,
12,
22704,
318,
17095,
2099,
11,
290,
314,
765,
284,
3297,
287,
31491,
416,
262,
2472,
1271,
3387,
13,
46506,
170... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
6491,
9405,
290,
1448,
416,
17095,
2099,
290,
2209,
2099,
2438,
287,
257,
24167,
2318,
8262,
383,
2124,
12,
22704,
318,
17095,
2099,
11,
290,
314,
765,
284,
3297,
287,
31491,
416,
262,
2472,
1271,
3387,
13,
46506,
170... |
count the number of patients who had undergone a circumcision procedure two or more times until 4 years ago. | SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, COUNT(*) AS c1 FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'circumcision') AND DA... | [
9127,
262,
1271,
286,
3871,
508,
550,
29900,
257,
25513,
8771,
734,
393,
517,
1661,
1566,
604,
812,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
62,
312,
8,
16034,
357,
46506,
25349,
13,
32796,
62,
312,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
508,
550,
29900,
257,
25513,
8771,
734,
393,
517,
1661,
1566,
604,
812,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
62,
312,
8,
16034,
357,
46506,
25349,
13,
32796,
62,
312,
... |
Where was the 2011-2012 soccer state tournament held? | SELECT "2011-2012 State Tournament Location" FROM table_30538 WHERE "Sport" = 'Soccer' | [
8496,
373,
262,
2813,
12,
6999,
11783,
1181,
7756,
2714,
30,
46506,
366,
9804,
12,
6999,
1812,
9595,
13397,
1,
16034,
3084,
62,
22515,
2548,
33411,
366,
42576,
1,
796,
705,
37949,
2189,
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
] | [
8496,
373,
262,
2813,
12,
6999,
11783,
1181,
7756,
2714,
30,
46506,
366,
9804,
12,
6999,
1812,
9595,
13397,
1,
16034,
3084,
62,
22515,
2548,
33411,
366,
42576,
1,
796,
705,
37949,
2189,
6
] |
What is the real name of the movie about love? | SELECT original_name FROM table_name_26 WHERE film_title_used_in_nomination = "love" | [
2061,
318,
262,
1103,
1438,
286,
262,
3807,
546,
1842,
30,
46506,
2656,
62,
3672,
16034,
3084,
62,
3672,
62,
2075,
33411,
2646,
62,
7839,
62,
1484,
62,
259,
62,
26601,
1883,
796,
366,
23205,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1103,
1438,
286,
262,
3807,
546,
1842,
30,
46506,
2656,
62,
3672,
16034,
3084,
62,
3672,
62,
2075,
33411,
2646,
62,
7839,
62,
1484,
62,
259,
62,
26601,
1883,
796,
366,
23205,
1
] |
Which Year is the highest that has a Team of walker racing, and Wins larger than 1? | SELECT MAX("Year") FROM table_33934 WHERE "Team" = 'walker racing' AND "Wins" > '1' | [
13828,
6280,
318,
262,
4511,
326,
468,
257,
4816,
286,
2513,
263,
11717,
11,
290,
24423,
4025,
621,
352,
30,
46506,
25882,
7203,
17688,
4943,
16034,
3084,
62,
29626,
2682,
33411,
366,
15592,
1,
796,
705,
20783,
11717,
6,
5357,
366,
54... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6280,
318,
262,
4511,
326,
468,
257,
4816,
286,
2513,
263,
11717,
11,
290,
24423,
4025,
621,
352,
30,
46506,
25882,
7203,
17688,
4943,
16034,
3084,
62,
29626,
2682,
33411,
366,
15592,
1,
796,
705,
20783,
11717,
6,
5357,
366,
54... |
What is the control for the school accredited by the higher learning commission ( nca ), ccne? | SELECT "Control" FROM table_2327 WHERE "Accreditation" = 'The Higher Learning Commission ( NCA ), CCNE' | [
2061,
318,
262,
1630,
329,
262,
1524,
37237,
416,
262,
2440,
4673,
5810,
357,
299,
6888,
10612,
36624,
710,
30,
46506,
366,
15988,
1,
16034,
3084,
62,
1954,
1983,
33411,
366,
17320,
42845,
1,
796,
705,
464,
16038,
18252,
4513,
357,
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
] | [
2061,
318,
262,
1630,
329,
262,
1524,
37237,
416,
262,
2440,
4673,
5810,
357,
299,
6888,
10612,
36624,
710,
30,
46506,
366,
15988,
1,
16034,
3084,
62,
1954,
1983,
33411,
366,
17320,
42845,
1,
796,
705,
464,
16038,
18252,
4513,
357,
39... |
Who had the high point total on october 20? | SELECT "High points" FROM table_3830 WHERE "Date" = 'October 20' | [
8241,
550,
262,
1029,
966,
2472,
319,
19318,
2023,
1160,
30,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
2548,
1270,
33411,
366,
10430,
1,
796,
705,
18517,
1160,
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
] | [
8241,
550,
262,
1029,
966,
2472,
319,
19318,
2023,
1160,
30,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
2548,
1270,
33411,
366,
10430,
1,
796,
705,
18517,
1160,
6
] |
show me all flights from SAN FRANCISCO to PITTSBURGH | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'SAN FRANCISCO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = '... | [
12860,
502,
477,
13956,
422,
37376,
8782,
20940,
1797,
8220,
284,
49040,
4694,
38926,
17511,
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,
152... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12860,
502,
477,
13956,
422,
37376,
8782,
20940,
1797,
8220,
284,
49040,
4694,
38926,
17511,
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,
152... |
who , of the years on this list , was the first team to win ? | SELECT "team" FROM table_204_129 ORDER BY "winning years" LIMIT 1 | [
8727,
837,
286,
262,
812,
319,
428,
1351,
837,
373,
262,
717,
1074,
284,
1592,
5633,
46506,
366,
15097,
1,
16034,
3084,
62,
18638,
62,
18741,
38678,
11050,
366,
14463,
812,
1,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
837,
286,
262,
812,
319,
428,
1351,
837,
373,
262,
717,
1074,
284,
1592,
5633,
46506,
366,
15097,
1,
16034,
3084,
62,
18638,
62,
18741,
38678,
11050,
366,
14463,
812,
1,
27564,
2043,
352
] |
Find the student ID and middle name for all the students with at most two enrollments. | SELECT T2.middle_name, T1.student_id FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id | [
16742,
262,
3710,
4522,
290,
3504,
1438,
329,
477,
262,
2444,
351,
379,
749,
734,
14627,
902,
13,
46506,
309,
17,
13,
27171,
62,
3672,
11,
309,
16,
13,
50139,
62,
312,
16034,
13613,
62,
49046,
62,
4834,
3225,
434,
7054,
309,
16,
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
] | [
16742,
262,
3710,
4522,
290,
3504,
1438,
329,
477,
262,
2444,
351,
379,
749,
734,
14627,
902,
13,
46506,
309,
17,
13,
27171,
62,
3672,
11,
309,
16,
13,
50139,
62,
312,
16034,
13613,
62,
49046,
62,
4834,
3225,
434,
7054,
309,
16,
3... |
Which tournament had a partner of Erika Sema? | SELECT tournament FROM table_name_9 WHERE partner = "erika sema" | [
13828,
7756,
550,
257,
5212,
286,
412,
28716,
12449,
64,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
24,
33411,
5212,
796,
366,
263,
9232,
5026,
64,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
7756,
550,
257,
5212,
286,
412,
28716,
12449,
64,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
24,
33411,
5212,
796,
366,
263,
9232,
5026,
64,
1
] |
there are how many countries with a total gdp greater than 100 ? | SELECT COUNT("country") FROM table_203_296 WHERE "total gdp (nominal)\n(billion us$)" > 100 | [
8117,
389,
703,
867,
2678,
351,
257,
2472,
308,
26059,
3744,
621,
1802,
5633,
46506,
327,
28270,
7203,
19315,
4943,
16034,
3084,
62,
22416,
62,
27137,
33411,
366,
23350,
308,
26059,
357,
26601,
1292,
19415,
77,
7,
24540,
514,
3,
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,
1,
1,
1,
1,
1,
1,
1
] | [
8117,
389,
703,
867,
2678,
351,
257,
2472,
308,
26059,
3744,
621,
1802,
5633,
46506,
327,
28270,
7203,
19315,
4943,
16034,
3084,
62,
22416,
62,
27137,
33411,
366,
23350,
308,
26059,
357,
26601,
1292,
19415,
77,
7,
24540,
514,
3,
16725,
... |
what is the cost for diagnosis of caesarian section? | SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'diagnosis' AND cost.eventid IN (SELECT diagnosis.diagnosisid FROM diagnosis WHERE diagnosis.diagnosisname = 'caesarian section') | [
10919,
318,
262,
1575,
329,
13669,
286,
1275,
274,
3699,
2665,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
47356,
5958,
6,
5357,
1575,
13,
15596,
312,
3268,
357,
46506,
13669,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1575,
329,
13669,
286,
1275,
274,
3699,
2665,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
47356,
5958,
6,
5357,
1575,
13,
15596,
312,
3268,
357,
46506,
13669,
... |
What kind of food has been test the most? | SELECT MAX(commod) FROM resultsdata15 | [
2061,
1611,
286,
2057,
468,
587,
1332,
262,
749,
30,
46506,
25882,
7,
785,
4666,
8,
16034,
2482,
7890,
1314
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1611,
286,
2057,
468,
587,
1332,
262,
749,
30,
46506,
25882,
7,
785,
4666,
8,
16034,
2482,
7890,
1314
] |
Show the number of accounts opened in each day Bin the account open day by weekday in a bar chart, and order from low to high by the y-axis. | SELECT date_account_opened, COUNT(date_account_opened) FROM Accounts ORDER BY COUNT(date_account_opened) | [
15307,
262,
1271,
286,
5504,
4721,
287,
1123,
1110,
20828,
262,
1848,
1280,
1110,
416,
28269,
287,
257,
2318,
8262,
11,
290,
1502,
422,
1877,
284,
1029,
416,
262,
331,
12,
22704,
13,
46506,
3128,
62,
23317,
62,
26350,
11,
327,
28270,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
5504,
4721,
287,
1123,
1110,
20828,
262,
1848,
1280,
1110,
416,
28269,
287,
257,
2318,
8262,
11,
290,
1502,
422,
1877,
284,
1029,
416,
262,
331,
12,
22704,
13,
46506,
3128,
62,
23317,
62,
26350,
11,
327,
28270,
... |
Downvote % to total votes. | SELECT UpVotes, DownVotes, ROUND((CAST(DownVotes AS FLOAT) / (DownVotes + UpVotes)) * 100, 2) AS "DownVote %" FROM Users WHERE Id = @UserId | [
8048,
27257,
4064,
284,
2472,
5690,
13,
46506,
3205,
53,
6421,
11,
5588,
53,
6421,
11,
371,
15919,
19510,
44647,
7,
8048,
53,
6421,
7054,
9977,
46,
1404,
8,
1220,
357,
8048,
53,
6421,
1343,
3205,
53,
6421,
4008,
1635,
1802,
11,
362,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8048,
27257,
4064,
284,
2472,
5690,
13,
46506,
3205,
53,
6421,
11,
5588,
53,
6421,
11,
371,
15919,
19510,
44647,
7,
8048,
53,
6421,
7054,
9977,
46,
1404,
8,
1220,
357,
8048,
53,
6421,
1343,
3205,
53,
6421,
4008,
1635,
1802,
11,
362,... |
how many patients whose primary disease is morbid obesity/sda and lab test fluid is urine? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.diagnosis = "MORBID OBESITY/SDA" AND lab.fluid = "Urine" | [
4919,
867,
3871,
3025,
4165,
4369,
318,
34813,
13825,
14,
82,
6814,
290,
2248,
1332,
11711,
318,
18922,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
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... | [
4919,
867,
3871,
3025,
4165,
4369,
318,
34813,
13825,
14,
82,
6814,
290,
2248,
1332,
11711,
318,
18922,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
... |
What was the competition in 2003? | SELECT competition FROM table_name_76 WHERE year = 2003 | [
2061,
373,
262,
5449,
287,
5816,
30,
46506,
5449,
16034,
3084,
62,
3672,
62,
4304,
33411,
614,
796,
5816
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
5449,
287,
5816,
30,
46506,
5449,
16034,
3084,
62,
3672,
62,
4304,
33411,
614,
796,
5816
] |
What date was an episode broadcasted on that had a run time of 24:40? | SELECT "Broadcast date" FROM table_24063 WHERE "Run time" = '24:40' | [
2061,
3128,
373,
281,
4471,
7025,
276,
319,
326,
550,
257,
1057,
640,
286,
1987,
25,
1821,
30,
46506,
366,
30507,
2701,
3128,
1,
16034,
3084,
62,
1731,
3312,
18,
33411,
366,
10987,
640,
1,
796,
705,
1731,
25,
1821,
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,
3128,
373,
281,
4471,
7025,
276,
319,
326,
550,
257,
1057,
640,
286,
1987,
25,
1821,
30,
46506,
366,
30507,
2701,
3128,
1,
16034,
3084,
62,
1731,
3312,
18,
33411,
366,
10987,
640,
1,
796,
705,
1731,
25,
1821,
6
] |
Who won the Northumberland Senior Benevolent Bowl, when the Northumberland Minor Cup was won by Whitley Bay 'a'? | SELECT "Northumberland Senior Benevolent Bowl" FROM table_67002 WHERE "Northumberland Minor Cup" = 'whitley bay ''a' | [
8241,
1839,
262,
2258,
4494,
1044,
14017,
36585,
29078,
8693,
11,
618,
262,
2258,
4494,
1044,
15367,
5454,
373,
1839,
416,
13183,
1636,
4696,
705,
64,
30960,
46506,
366,
14157,
4494,
1044,
14017,
36585,
29078,
8693,
1,
16034,
3084,
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
] | [
8241,
1839,
262,
2258,
4494,
1044,
14017,
36585,
29078,
8693,
11,
618,
262,
2258,
4494,
1044,
15367,
5454,
373,
1839,
416,
13183,
1636,
4696,
705,
64,
30960,
46506,
366,
14157,
4494,
1044,
14017,
36585,
29078,
8693,
1,
16034,
3084,
62,
... |
How many races went for 10 rounds? | SELECT COUNT("Fastest lap") FROM table_27986 WHERE "Rnd" = '10' | [
2437,
867,
9558,
1816,
329,
838,
9196,
30,
46506,
327,
28270,
7203,
22968,
395,
14779,
4943,
16034,
3084,
62,
1983,
49087,
33411,
366,
49,
358,
1,
796,
705,
940,
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
] | [
2437,
867,
9558,
1816,
329,
838,
9196,
30,
46506,
327,
28270,
7203,
22968,
395,
14779,
4943,
16034,
3084,
62,
1983,
49087,
33411,
366,
49,
358,
1,
796,
705,
940,
6
] |
Is there another teacher of Honors Colloquium , Junior aside from Prof. Sundaram ? | SELECT DISTINCT course.department, course.name, course.number, instructor.name FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.name LIKE '%Honors Colloquium , Junior%' AND NOT instructor.name LIKE '%Sundaram%' AND offering_instructor.instructor... | [
3792,
612,
1194,
4701,
286,
8835,
669,
7778,
22696,
1505,
837,
20000,
7263,
422,
4415,
13,
3309,
41158,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
21187,
13,
3672,
16034,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3792,
612,
1194,
4701,
286,
8835,
669,
7778,
22696,
1505,
837,
20000,
7263,
422,
4415,
13,
3309,
41158,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
21187,
13,
3672,
16034,
17... |
What percentage of users were using Firefox during the period in which *0.77% were using Netscape? | SELECT "Firefox" FROM table_13304 WHERE "Netscape" = '*0.77%' | [
2061,
5873,
286,
2985,
547,
1262,
16802,
1141,
262,
2278,
287,
543,
1635,
15,
13,
3324,
4,
547,
1262,
27811,
36435,
30,
46506,
366,
13543,
12792,
1,
16034,
3084,
62,
1485,
21288,
33411,
366,
45,
1039,
36435,
1,
796,
705,
9,
15,
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
] | [
2061,
5873,
286,
2985,
547,
1262,
16802,
1141,
262,
2278,
287,
543,
1635,
15,
13,
3324,
4,
547,
1262,
27811,
36435,
30,
46506,
366,
13543,
12792,
1,
16034,
3084,
62,
1485,
21288,
33411,
366,
45,
1039,
36435,
1,
796,
705,
9,
15,
13,
... |
What is the nation of the person who was from the CSC team? | SELECT "Nation" FROM table_69821 WHERE "Team" = 'csc' | [
2061,
318,
262,
3277,
286,
262,
1048,
508,
373,
422,
262,
327,
6173,
1074,
30,
46506,
366,
46108,
1,
16034,
3084,
62,
39357,
2481,
33411,
366,
15592,
1,
796,
705,
66,
1416,
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,
3277,
286,
262,
1048,
508,
373,
422,
262,
327,
6173,
1074,
30,
46506,
366,
46108,
1,
16034,
3084,
62,
39357,
2481,
33411,
366,
15592,
1,
796,
705,
66,
1416,
6
] |
What is the election date for the city of auckland category:articles with hcards? | SELECT "Election date" FROM table_31592 WHERE "Electorate" = 'city of auckland category:articles with hcards' | [
2061,
318,
262,
3071,
3128,
329,
262,
1748,
286,
257,
28789,
6536,
25,
26845,
351,
289,
27761,
30,
46506,
366,
36,
1564,
3128,
1,
16034,
3084,
62,
27936,
5892,
33411,
366,
19453,
16262,
1,
796,
705,
19205,
286,
257,
28789,
6536,
25,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3071,
3128,
329,
262,
1748,
286,
257,
28789,
6536,
25,
26845,
351,
289,
27761,
30,
46506,
366,
36,
1564,
3128,
1,
16034,
3084,
62,
27936,
5892,
33411,
366,
19453,
16262,
1,
796,
705,
19205,
286,
257,
28789,
6536,
25,
... |
During which round was the first defensive end with an overall rank larger than 186 drafted? | SELECT MIN(round) FROM table_name_65 WHERE overall > 186 AND position = "defensive end" | [
7191,
543,
2835,
373,
262,
717,
6110,
886,
351,
281,
4045,
4279,
4025,
621,
28481,
15937,
30,
46506,
20625,
7,
744,
8,
16034,
3084,
62,
3672,
62,
2996,
33411,
4045,
1875,
28481,
5357,
2292,
796,
366,
4299,
2021,
886,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
7191,
543,
2835,
373,
262,
717,
6110,
886,
351,
281,
4045,
4279,
4025,
621,
28481,
15937,
30,
46506,
20625,
7,
744,
8,
16034,
3084,
62,
3672,
62,
2996,
33411,
4045,
1875,
28481,
5357,
2292,
796,
366,
4299,
2021,
886,
1
] |
Which Production in 2009 had a Result of Nominated at the Helpmann awards Award Ceremony? | SELECT "Production" FROM table_61779 WHERE "Result" = 'nominated' AND "Year" = '2009' AND "Award ceremony" = 'helpmann awards' | [
13828,
19174,
287,
3717,
550,
257,
25414,
286,
21198,
3898,
379,
262,
10478,
9038,
13304,
11289,
26532,
9926,
30,
46506,
366,
35027,
1,
16034,
3084,
62,
47941,
3720,
33411,
366,
23004,
1,
796,
705,
26601,
3898,
6,
5357,
366,
17688,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19174,
287,
3717,
550,
257,
25414,
286,
21198,
3898,
379,
262,
10478,
9038,
13304,
11289,
26532,
9926,
30,
46506,
366,
35027,
1,
16034,
3084,
62,
47941,
3720,
33411,
366,
23004,
1,
796,
705,
26601,
3898,
6,
5357,
366,
17688,
1,
... |
what is the name of the drug prescribed to patient 9038 within 2 days after they had been diagnosed with adv eff antprotazoal nec until 03/2105? | SELECT t2.drug FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE admissions.subject_id = 9038 AND diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'adv eff... | [
10919,
318,
262,
1438,
286,
262,
2563,
14798,
284,
5827,
4101,
2548,
1626,
362,
1528,
706,
484,
550,
587,
14641,
351,
1354,
914,
1885,
11235,
44299,
282,
27576,
1566,
7643,
14,
17,
13348,
30,
46506,
256,
17,
13,
30349,
16034,
357,
465... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1438,
286,
262,
2563,
14798,
284,
5827,
4101,
2548,
1626,
362,
1528,
706,
484,
550,
587,
14641,
351,
1354,
914,
1885,
11235,
44299,
282,
27576,
1566,
7643,
14,
17,
13348,
30,
46506,
256,
17,
13,
30349,
16034,
357,
465... |
Which Drawn has a Points of 6, and a Against larger than 16? | SELECT SUM(drawn) FROM table_name_17 WHERE points = 6 AND against > 16 | [
13828,
50061,
468,
257,
11045,
286,
718,
11,
290,
257,
12914,
4025,
621,
1467,
30,
46506,
35683,
7,
41549,
8,
16034,
3084,
62,
3672,
62,
1558,
33411,
2173,
796,
718,
5357,
1028,
1875,
1467
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
50061,
468,
257,
11045,
286,
718,
11,
290,
257,
12914,
4025,
621,
1467,
30,
46506,
35683,
7,
41549,
8,
16034,
3084,
62,
3672,
62,
1558,
33411,
2173,
796,
718,
5357,
1028,
1875,
1467
] |
what is the icao when the country is norway? | SELECT "ICAO" FROM table_48136 WHERE "Country" = 'norway' | [
10919,
318,
262,
220,
3970,
78,
618,
262,
1499,
318,
4249,
1014,
30,
46506,
366,
25241,
46,
1,
16034,
3084,
62,
2780,
20809,
33411,
366,
33921,
1,
796,
705,
13099,
1014,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
220,
3970,
78,
618,
262,
1499,
318,
4249,
1014,
30,
46506,
366,
25241,
46,
1,
16034,
3084,
62,
2780,
20809,
33411,
366,
33921,
1,
796,
705,
13099,
1014,
6
] |
What date did series number 32 premiere? | SELECT original_air_date FROM table_2667438_5 WHERE no_in_series = 32 | [
2061,
3128,
750,
2168,
1271,
3933,
19245,
30,
46506,
2656,
62,
958,
62,
4475,
16034,
3084,
62,
2075,
3134,
43704,
62,
20,
33411,
645,
62,
259,
62,
25076,
796,
3933
] | [
1,
1,
1,
1,
1,
1,
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,
2168,
1271,
3933,
19245,
30,
46506,
2656,
62,
958,
62,
4475,
16034,
3084,
62,
2075,
3134,
43704,
62,
20,
33411,
645,
62,
259,
62,
25076,
796,
3933
] |
What is the status of platelet counts for conditions where bleeding time is prolonged and partial thromboplastin time is unaffected? | SELECT platelet_count FROM table_20592988_1 WHERE bleeding_time = "Prolonged" AND partial_thromboplastin_time = "Unaffected" | [
2061,
318,
262,
3722,
286,
7480,
1616,
9853,
329,
3403,
810,
16832,
640,
318,
20573,
290,
13027,
294,
398,
65,
404,
12957,
259,
640,
318,
35290,
30,
46506,
7480,
1616,
62,
9127,
16034,
3084,
62,
1238,
3270,
1959,
3459,
62,
16,
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... | [
2061,
318,
262,
3722,
286,
7480,
1616,
9853,
329,
3403,
810,
16832,
640,
318,
20573,
290,
13027,
294,
398,
65,
404,
12957,
259,
640,
318,
35290,
30,
46506,
7480,
1616,
62,
9127,
16034,
3084,
62,
1238,
3270,
1959,
3459,
62,
16,
33411,
... |
provide the number of patients whose insurance is private and year of death is less than or equal to 2131? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Private" AND demographic.dod_year <= "2131.0" | [
15234,
485,
262,
1271,
286,
3871,
3025,
5096,
318,
2839,
290,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
22042,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15234,
485,
262,
1271,
286,
3871,
3025,
5096,
318,
2839,
290,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
22042,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
... |
What day had a time of 29.816? | SELECT date FROM table_name_45 WHERE time = "29.816" | [
2061,
1110,
550,
257,
640,
286,
2808,
13,
23,
1433,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2231,
33411,
640,
796,
366,
1959,
13,
23,
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,
1,
1,
1,
1
] | [
2061,
1110,
550,
257,
640,
286,
2808,
13,
23,
1433,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2231,
33411,
640,
796,
366,
1959,
13,
23,
1433,
1
] |
what time is the first time patient 1114 was prescribed a medicine via po/ng route since 31 months ago? | SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 1114) AND prescriptions.route = 'po/ng' AND DATETIME(prescriptions.startdate) >= DATETIME(CURRENT_TIME(), '-31 month') ORDER BY prescriptions.startdate LIMIT 1 | [
10919,
640,
318,
262,
717,
640,
5827,
13374,
19,
373,
14798,
257,
9007,
2884,
745,
14,
782,
6339,
1201,
3261,
1933,
2084,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
640,
318,
262,
717,
640,
5827,
13374,
19,
373,
14798,
257,
9007,
2884,
745,
14,
782,
6339,
1201,
3261,
1933,
2084,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
1... |
provide me the number of patients admitted before the year 2173 and are suffering from abdominal pain primary disease. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "ABDOMINAL PAIN" AND demographic.admityear < "2173" | [
15234,
485,
502,
262,
1271,
286,
3871,
6848,
878,
262,
614,
24894,
18,
290,
389,
7195,
422,
32692,
2356,
4165,
4369,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15234,
485,
502,
262,
1271,
286,
3871,
6848,
878,
262,
614,
24894,
18,
290,
389,
7195,
422,
32692,
2356,
4165,
4369,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
... |
how many appearances did batram suri category:articles with hcards have scoring less than 2 goals? | SELECT COUNT("Appearances") FROM table_42068 WHERE "Name" = 'batram suri category:articles with hcards' AND "Goals" < '2' | [
4919,
867,
11057,
750,
7365,
859,
969,
72,
6536,
25,
26845,
351,
289,
27761,
423,
9689,
1342,
621,
362,
4661,
30,
46506,
327,
28270,
7203,
47569,
4943,
16034,
3084,
62,
27211,
3104,
33411,
366,
5376,
1,
796,
705,
8664,
859,
969,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
11057,
750,
7365,
859,
969,
72,
6536,
25,
26845,
351,
289,
27761,
423,
9689,
1342,
621,
362,
4661,
30,
46506,
327,
28270,
7203,
47569,
4943,
16034,
3084,
62,
27211,
3104,
33411,
366,
5376,
1,
796,
705,
8664,
859,
969,
72,
... |
What is the province for Jamao Afuera? | SELECT province, _community FROM table_name_13 WHERE hometown = "jamao afuera" | [
2061,
318,
262,
8473,
329,
21661,
78,
2483,
84,
8607,
30,
46506,
8473,
11,
4808,
28158,
16034,
3084,
62,
3672,
62,
1485,
33411,
20994,
796,
366,
73,
1689,
78,
6580,
84,
8607,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8473,
329,
21661,
78,
2483,
84,
8607,
30,
46506,
8473,
11,
4808,
28158,
16034,
3084,
62,
3672,
62,
1485,
33411,
20994,
796,
366,
73,
1689,
78,
6580,
84,
8607,
1
] |
Name the most late 1943 with late 194 in slovenia | SELECT MAX("Late 1943") FROM table_140 WHERE "! Late 1941" = 'Slovenia' | [
5376,
262,
749,
2739,
21577,
351,
2739,
30483,
287,
1017,
16206,
544,
46506,
25882,
7203,
26302,
21577,
4943,
16034,
3084,
62,
15187,
33411,
366,
0,
18319,
23234,
1,
796,
705,
50,
5439,
574,
544,
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
] | [
5376,
262,
749,
2739,
21577,
351,
2739,
30483,
287,
1017,
16206,
544,
46506,
25882,
7203,
26302,
21577,
4943,
16034,
3084,
62,
15187,
33411,
366,
0,
18319,
23234,
1,
796,
705,
50,
5439,
574,
544,
6
] |
What is the highest points value for the 500cc class in years after 1962 with 0 wins? | SELECT MAX("Points") FROM table_70563 WHERE "Class" = '500cc' AND "Year" > '1962' AND "Wins" < '0' | [
2061,
318,
262,
4511,
2173,
1988,
329,
262,
5323,
535,
1398,
287,
812,
706,
20033,
351,
657,
7864,
30,
46506,
25882,
7203,
40710,
4943,
16034,
3084,
62,
2154,
46572,
33411,
366,
9487,
1,
796,
705,
4059,
535,
6,
5357,
366,
17688,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
2173,
1988,
329,
262,
5323,
535,
1398,
287,
812,
706,
20033,
351,
657,
7864,
30,
46506,
25882,
7203,
40710,
4943,
16034,
3084,
62,
2154,
46572,
33411,
366,
9487,
1,
796,
705,
4059,
535,
6,
5357,
366,
17688,
1,
... |
What is the length of the film with the character type being a milkman turned prizefighter? | SELECT length FROM table_name_31 WHERE character_type = "milkman turned prizefighter" | [
2061,
318,
262,
4129,
286,
262,
2646,
351,
262,
2095,
2099,
852,
257,
7545,
805,
2900,
1293,
89,
891,
4799,
30,
46506,
4129,
16034,
3084,
62,
3672,
62,
3132,
33411,
2095,
62,
4906,
796,
366,
25433,
74,
805,
2900,
1293,
89,
891,
4799... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4129,
286,
262,
2646,
351,
262,
2095,
2099,
852,
257,
7545,
805,
2900,
1293,
89,
891,
4799,
30,
46506,
4129,
16034,
3084,
62,
3672,
62,
3132,
33411,
2095,
62,
4906,
796,
366,
25433,
74,
805,
2900,
1293,
89,
891,
4799... |
find the number of patients on main type drug prescription who have diagnoses icd9 code 41041. | 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.icd9_code = "41041" AND prescriptions.drug_type = "MAIN" | [
19796,
262,
1271,
286,
3871,
319,
1388,
2099,
2563,
15077,
508,
423,
40567,
14158,
67,
24,
2438,
32921,
3901,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
19796,
262,
1271,
286,
3871,
319,
1388,
2099,
2563,
15077,
508,
423,
40567,
14158,
67,
24,
2438,
32921,
3901,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
... |
sort by difference of q/a score. | SELECT a.Id AS "post_link", q.Score AS qscore, a.Score AS ascore, a.Score - q.Score AS diff, q.CommentCount AS qcomment, CASE WHEN q.AcceptedAnswerId = a.Id THEN 'accepted' END AS accepted, crt.Name AS closed FROM Posts AS a JOIN Posts AS q ON a.ParentId = q.Id LEFT JOIN PostHistory AS ph ON q.Id = ph.PostId AND ph.Pos... | [
30619,
416,
3580,
286,
10662,
14,
64,
4776,
13,
46506,
257,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
10662,
13,
26595,
7054,
10662,
26675,
11,
257,
13,
26595,
7054,
355,
7295,
11,
257,
13,
26595,
532,
10662,
13,
26595,
7054,
814,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
30619,
416,
3580,
286,
10662,
14,
64,
4776,
13,
46506,
257,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
10662,
13,
26595,
7054,
10662,
26675,
11,
257,
13,
26595,
7054,
355,
7295,
11,
257,
13,
26595,
532,
10662,
13,
26595,
7054,
814,
... |
What is the Event when the opponent was wesslan evaristo de oliveira? | SELECT "Event" FROM table_40432 WHERE "Opponent" = 'wesslan evaristo de oliveira' | [
2061,
318,
262,
8558,
618,
262,
6125,
373,
266,
408,
9620,
819,
34566,
78,
390,
19450,
8704,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
26429,
2624,
33411,
366,
27524,
3471,
1,
796,
705,
86,
408,
9620,
819,
34566,
78,
390,
19450,
870... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8558,
618,
262,
6125,
373,
266,
408,
9620,
819,
34566,
78,
390,
19450,
8704,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
26429,
2624,
33411,
366,
27524,
3471,
1,
796,
705,
86,
408,
9620,
819,
34566,
78,
390,
19450,
870... |
What is ids of the songs whose resolution is higher than the average resolution of songs in modern genre? | SELECT f_id FROM song WHERE resolution > (SELECT AVG(resolution) FROM song WHERE genre_is = "modern") | [
2061,
318,
220,
2340,
286,
262,
7259,
3025,
6323,
318,
2440,
621,
262,
2811,
6323,
286,
7259,
287,
3660,
12121,
30,
46506,
277,
62,
312,
16034,
3496,
33411,
6323,
1875,
357,
46506,
35224,
7,
29268,
8,
16034,
3496,
33411,
12121,
62,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
220,
2340,
286,
262,
7259,
3025,
6323,
318,
2440,
621,
262,
2811,
6323,
286,
7259,
287,
3660,
12121,
30,
46506,
277,
62,
312,
16034,
3496,
33411,
6323,
1875,
357,
46506,
35224,
7,
29268,
8,
16034,
3496,
33411,
12121,
62,
27... |
Tell me the actor's name for nienasycenie (insatiability) | SELECT "Actor's Name" FROM table_31812 WHERE "Film Name" = 'nienasycenie (insatiability)' | [
24446,
502,
262,
8674,
338,
1438,
329,
299,
2013,
4107,
66,
268,
494,
357,
1040,
7246,
1799,
8,
46506,
366,
40277,
338,
6530,
1,
16034,
3084,
62,
36042,
1065,
33411,
366,
39750,
6530,
1,
796,
705,
77,
2013,
4107,
66,
268,
494,
357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
8674,
338,
1438,
329,
299,
2013,
4107,
66,
268,
494,
357,
1040,
7246,
1799,
8,
46506,
366,
40277,
338,
6530,
1,
16034,
3084,
62,
36042,
1065,
33411,
366,
39750,
6530,
1,
796,
705,
77,
2013,
4107,
66,
268,
494,
357,
... |
what is the minimum age of patients who are married and discharged due to death/expired? | SELECT MIN(demographic.age) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.discharge_location = "DEAD/EXPIRED" | [
10919,
318,
262,
5288,
2479,
286,
3871,
508,
389,
6405,
290,
26476,
2233,
284,
1918,
14,
1069,
6474,
30,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
3876,
1287,
62,
13376,
796,
366,
40569,
7112,
1961,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5288,
2479,
286,
3871,
508,
389,
6405,
290,
26476,
2233,
284,
1918,
14,
1069,
6474,
30,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
3876,
1287,
62,
13376,
796,
366,
40569,
7112,
1961,
1,
... |
On what date was the result Eng by 1 wkt? | SELECT date FROM table_name_79 WHERE result = "eng by 1 wkt" | [
2202,
644,
3128,
373,
262,
1255,
1985,
416,
352,
266,
21841,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3720,
33411,
1255,
796,
366,
1516,
416,
352,
266,
21841,
1
] | [
1,
1,
1,
1,
1,
1,
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,
3128,
373,
262,
1255,
1985,
416,
352,
266,
21841,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3720,
33411,
1255,
796,
366,
1516,
416,
352,
266,
21841,
1
] |
How many million U.S. viewers saw 'Fake Me Home Tonight'? | SELECT "U.S. viewers (million)" FROM table_74354 WHERE "Title" = 'Fake Me Home Tonight' | [
2437,
867,
1510,
471,
13,
50,
13,
10209,
2497,
705,
49233,
2185,
5995,
27117,
30960,
46506,
366,
52,
13,
50,
13,
10209,
357,
14100,
16725,
16034,
3084,
62,
4524,
32182,
33411,
366,
19160,
1,
796,
705,
49233,
2185,
5995,
27117,
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
] | [
2437,
867,
1510,
471,
13,
50,
13,
10209,
2497,
705,
49233,
2185,
5995,
27117,
30960,
46506,
366,
52,
13,
50,
13,
10209,
357,
14100,
16725,
16034,
3084,
62,
4524,
32182,
33411,
366,
19160,
1,
796,
705,
49233,
2185,
5995,
27117,
6
] |
What is the Year of the Coin with an Issue Price of $1089.95 and Mintage less than 900? | SELECT SUM(year) FROM table_name_15 WHERE issue_price = "$1089.95" AND mintage < 900 | [
2061,
318,
262,
6280,
286,
262,
16312,
351,
281,
18232,
7886,
286,
720,
940,
4531,
13,
3865,
290,
337,
14630,
1342,
621,
15897,
30,
46506,
35683,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
1314,
33411,
2071,
62,
20888,
796,
17971,
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,
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,
6280,
286,
262,
16312,
351,
281,
18232,
7886,
286,
720,
940,
4531,
13,
3865,
290,
337,
14630,
1342,
621,
15897,
30,
46506,
35683,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
1314,
33411,
2071,
62,
20888,
796,
17971,
940,
... |
What is Australia's role in the UN operation Unama? | SELECT "Australian role" FROM table_15936 WHERE "UN Operation name" = 'UNAMA' | [
2061,
318,
4505,
338,
2597,
287,
262,
4725,
4905,
791,
1689,
30,
46506,
366,
38036,
2597,
1,
16034,
3084,
62,
19707,
2623,
33411,
366,
4944,
14680,
1438,
1,
796,
705,
4944,
25087,
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,
4505,
338,
2597,
287,
262,
4725,
4905,
791,
1689,
30,
46506,
366,
38036,
2597,
1,
16034,
3084,
62,
19707,
2623,
33411,
366,
4944,
14680,
1438,
1,
796,
705,
4944,
25087,
6
] |
Sandbox: Inactive > 1 month && Score < 0. | SELECT SUM(CASE WHEN LastActivityDate < DATEADD(mm, -1, GETDATE()) AND Score < 0 THEN 1 ELSE 0 END) FROM Posts WHERE ParentId = 2140 | [
18471,
3524,
25,
554,
5275,
1875,
352,
1227,
11405,
15178,
1279,
657,
13,
46506,
35683,
7,
34,
11159,
42099,
4586,
16516,
10430,
1279,
360,
6158,
29266,
7,
3020,
11,
532,
16,
11,
17151,
35,
6158,
28955,
5357,
15178,
1279,
657,
42243,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
18471,
3524,
25,
554,
5275,
1875,
352,
1227,
11405,
15178,
1279,
657,
13,
46506,
35683,
7,
34,
11159,
42099,
4586,
16516,
10430,
1279,
360,
6158,
29266,
7,
3020,
11,
532,
16,
11,
17151,
35,
6158,
28955,
5357,
15178,
1279,
657,
42243,
... |
What is the adverbial for the nominative me? | SELECT adverbial FROM table_name_92 WHERE nominative = "me" | [
2061,
318,
262,
512,
19011,
498,
329,
262,
4515,
259,
876,
502,
30,
46506,
512,
19011,
498,
16034,
3084,
62,
3672,
62,
5892,
33411,
4515,
259,
876,
796,
366,
1326,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
512,
19011,
498,
329,
262,
4515,
259,
876,
502,
30,
46506,
512,
19011,
498,
16034,
3084,
62,
3672,
62,
5892,
33411,
4515,
259,
876,
796,
366,
1326,
1
] |
How many 1st leg have team 1 ofk belgrade? | SELECT COUNT(1 AS st_leg) FROM table_19294812_2 WHERE team_1 = "OFK Belgrade" | [
2437,
867,
352,
301,
1232,
423,
1074,
352,
286,
74,
894,
9526,
30,
46506,
327,
28270,
7,
16,
7054,
336,
62,
1455,
8,
16034,
3084,
62,
1129,
1959,
2780,
1065,
62,
17,
33411,
1074,
62,
16,
796,
366,
19238,
42,
3944,
9526,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
352,
301,
1232,
423,
1074,
352,
286,
74,
894,
9526,
30,
46506,
327,
28270,
7,
16,
7054,
336,
62,
1455,
8,
16034,
3084,
62,
1129,
1959,
2780,
1065,
62,
17,
33411,
1074,
62,
16,
796,
366,
19238,
42,
3944,
9526,
1
] |
Which date has a round more than 9? | SELECT date FROM table_name_85 WHERE round > 9 | [
13828,
3128,
468,
257,
2835,
517,
621,
860,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
5332,
33411,
2835,
1875,
860
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
3128,
468,
257,
2835,
517,
621,
860,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
5332,
33411,
2835,
1875,
860
] |
how many stops on CO 1765 from BOSTON to SAN FRANCISCO | SELECT DISTINCT flight.stops FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND flight.flight_number = 1765 AND flight.to_airport = AIRPORT_SERVICE_1.air... | [
4919,
867,
9911,
319,
7375,
1596,
2996,
422,
347,
10892,
1340,
284,
37376,
8782,
20940,
37719,
14058,
16779,
360,
8808,
1268,
4177,
5474,
13,
301,
2840,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
9911,
319,
7375,
1596,
2996,
422,
347,
10892,
1340,
284,
37376,
8782,
20940,
37719,
14058,
16779,
360,
8808,
1268,
4177,
5474,
13,
301,
2840,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,... |
In what year was Phil J. Welch first elected? | SELECT first_elected FROM table_1342198_25 WHERE incumbent = "Phil J. Welch" | [
818,
644,
614,
373,
4543,
449,
13,
41524,
717,
7018,
30,
46506,
717,
62,
28604,
16034,
3084,
62,
1485,
3682,
22337,
62,
1495,
33411,
23526,
796,
366,
18673,
449,
13,
41524,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
614,
373,
4543,
449,
13,
41524,
717,
7018,
30,
46506,
717,
62,
28604,
16034,
3084,
62,
1485,
3682,
22337,
62,
1495,
33411,
23526,
796,
366,
18673,
449,
13,
41524,
1
] |
Which constructor makes the ej15 ej15b chassis? | SELECT constructor FROM table_name_98 WHERE chassis = "ej15 ej15b" | [
13828,
23772,
1838,
262,
304,
73,
1314,
304,
73,
1314,
65,
24587,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
4089,
33411,
24587,
796,
366,
68,
73,
1314,
304,
73,
1314,
65,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1838,
262,
304,
73,
1314,
304,
73,
1314,
65,
24587,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
4089,
33411,
24587,
796,
366,
68,
73,
1314,
304,
73,
1314,
65,
1
] |
Which Tournament has a 2007 of wta premier 5 tournaments? | SELECT tournament FROM table_name_28 WHERE 2007 = "wta premier 5 tournaments" | [
13828,
9595,
468,
257,
4343,
286,
266,
8326,
18256,
642,
18130,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
2078,
33411,
4343,
796,
366,
86,
8326,
18256,
642,
18130,
1
] | [
1,
1,
1,
1,
1,
1,
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,
9595,
468,
257,
4343,
286,
266,
8326,
18256,
642,
18130,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
2078,
33411,
4343,
796,
366,
86,
8326,
18256,
642,
18130,
1
] |
what is the place when the draw is less than 12 and the artist is quartissimo feat. martina? | SELECT SUM(place) FROM table_name_60 WHERE draw < 12 AND artist = "quartissimo feat. martina" | [
10919,
318,
262,
1295,
618,
262,
3197,
318,
1342,
621,
1105,
290,
262,
6802,
318,
28176,
747,
25147,
2218,
13,
11277,
1437,
30,
46506,
35683,
7,
5372,
8,
16034,
3084,
62,
3672,
62,
1899,
33411,
3197,
1279,
1105,
5357,
6802,
796,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1295,
618,
262,
3197,
318,
1342,
621,
1105,
290,
262,
6802,
318,
28176,
747,
25147,
2218,
13,
11277,
1437,
30,
46506,
35683,
7,
5372,
8,
16034,
3084,
62,
3672,
62,
1899,
33411,
3197,
1279,
1105,
5357,
6802,
796,
366,
... |
provide the number of patients whose admission year is less than 2144 and lab test name is heparin, lmw? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2144" AND lab.label = "Heparin, LMW" | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
18444,
290,
2248,
1332,
1438,
318,
339,
1845,
259,
11,
300,
76,
86,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
18444,
290,
2248,
1332,
1438,
318,
339,
1845,
259,
11,
300,
76,
86,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,... |
How many candidates ran in the election in the Arkansas 4 district? | SELECT COUNT("Candidates") FROM table_18679 WHERE "District" = 'Arkansas 4' | [
2437,
867,
5871,
4966,
287,
262,
3071,
287,
262,
14538,
604,
4783,
30,
46506,
327,
28270,
7203,
41572,
37051,
4943,
16034,
3084,
62,
1507,
37601,
33411,
366,
44857,
1,
796,
705,
42007,
6618,
604,
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
] | [
2437,
867,
5871,
4966,
287,
262,
3071,
287,
262,
14538,
604,
4783,
30,
46506,
327,
28270,
7203,
41572,
37051,
4943,
16034,
3084,
62,
1507,
37601,
33411,
366,
44857,
1,
796,
705,
42007,
6618,
604,
6
] |
what are the number of times the location was in madrid ? | SELECT COUNT(*) FROM table_204_132 WHERE "location" = 'madrid' | [
10919,
389,
262,
1271,
286,
1661,
262,
4067,
373,
287,
8805,
6058,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
19924,
33411,
366,
24886,
1,
796,
705,
9937,
6058,
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,
389,
262,
1271,
286,
1661,
262,
4067,
373,
287,
8805,
6058,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
19924,
33411,
366,
24886,
1,
796,
705,
9937,
6058,
6
] |
How many patients admitted before the year 2172 were discharged as disch-tran to psych hosp? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "DISCH-TRAN TO PSYCH HOSP" AND demographic.admityear < "2172" | [
2437,
867,
3871,
6848,
878,
262,
614,
362,
23628,
547,
26476,
355,
595,
354,
12,
2213,
272,
284,
3795,
10496,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
6381,
10136,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3871,
6848,
878,
262,
614,
362,
23628,
547,
26476,
355,
595,
354,
12,
2213,
272,
284,
3795,
10496,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
6381,
10136,
... |
What did the home team score at Lake Oval? | SELECT "Home team score" FROM table_10718 WHERE "Venue" = 'lake oval' | [
2061,
750,
262,
1363,
1074,
4776,
379,
6233,
25165,
30,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
15982,
1507,
33411,
366,
37522,
518,
1,
796,
705,
27180,
41186,
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,
750,
262,
1363,
1074,
4776,
379,
6233,
25165,
30,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
15982,
1507,
33411,
366,
37522,
518,
1,
796,
705,
27180,
41186,
6
] |
Can you tell me the Tournament that has the 2009 of 1r, and the 2012 of w? | SELECT "Tournament" FROM table_60382 WHERE "2009" = '1r' AND "2012" = 'w' | [
6090,
345,
1560,
502,
262,
9595,
326,
468,
262,
3717,
286,
352,
81,
11,
290,
262,
2321,
286,
266,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
1899,
36243,
33411,
366,
10531,
1,
796,
705,
16,
81,
6,
5357,
366,
6999,
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
] | [
6090,
345,
1560,
502,
262,
9595,
326,
468,
262,
3717,
286,
352,
81,
11,
290,
262,
2321,
286,
266,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
1899,
36243,
33411,
366,
10531,
1,
796,
705,
16,
81,
6,
5357,
366,
6999,
1,
796,
705... |
Who was the partner when the final score was 7 6, 3 6, 6 7? | SELECT partner FROM table_name_48 WHERE score_in_the_final = "7–6, 3–6, 6–7" | [
8241,
373,
262,
5212,
618,
262,
2457,
4776,
373,
767,
718,
11,
513,
718,
11,
718,
767,
30,
46506,
5212,
16034,
3084,
62,
3672,
62,
2780,
33411,
4776,
62,
259,
62,
1169,
62,
20311,
796,
366,
22,
1906,
21,
11,
513,
1906,
21,
11,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
5212,
618,
262,
2457,
4776,
373,
767,
718,
11,
513,
718,
11,
718,
767,
30,
46506,
5212,
16034,
3084,
62,
3672,
62,
2780,
33411,
4776,
62,
259,
62,
1169,
62,
20311,
796,
366,
22,
1906,
21,
11,
513,
1906,
21,
11,
7... |
When is the earliest year founded for houses named after the river benue? | SELECT MIN(founded) FROM table_name_56 WHERE named_after = "river benue" | [
2215,
318,
262,
14555,
614,
9393,
329,
7777,
3706,
706,
262,
7850,
1888,
518,
30,
46506,
20625,
7,
27060,
8,
16034,
3084,
62,
3672,
62,
3980,
33411,
3706,
62,
8499,
796,
366,
38291,
1888,
518,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
318,
262,
14555,
614,
9393,
329,
7777,
3706,
706,
262,
7850,
1888,
518,
30,
46506,
20625,
7,
27060,
8,
16034,
3084,
62,
3672,
62,
3980,
33411,
3706,
62,
8499,
796,
366,
38291,
1888,
518,
1
] |
Which Leading scorer 1 has a Season of 2010 11? | SELECT "Leading scorer 1" FROM table_63113 WHERE "Season" = '2010–11' | [
13828,
43225,
30664,
352,
468,
257,
7369,
286,
3050,
1367,
30,
46506,
366,
20451,
278,
30664,
352,
1,
16034,
3084,
62,
5066,
16616,
33411,
366,
18960,
1,
796,
705,
10333,
1906,
1157,
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
] | [
13828,
43225,
30664,
352,
468,
257,
7369,
286,
3050,
1367,
30,
46506,
366,
20451,
278,
30664,
352,
1,
16034,
3084,
62,
5066,
16616,
33411,
366,
18960,
1,
796,
705,
10333,
1906,
1157,
6
] |
Which Rank has a Total of 1 and a Bronze larger than 0? | SELECT MAX("Rank") FROM table_7669 WHERE "Total" = '1' AND "Bronze" > '0' | [
13828,
10916,
468,
257,
7472,
286,
352,
290,
257,
19461,
4025,
621,
657,
30,
46506,
25882,
7203,
27520,
4943,
16034,
3084,
62,
22,
36657,
33411,
366,
14957,
1,
796,
705,
16,
6,
5357,
366,
18760,
2736,
1,
1875,
705,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
10916,
468,
257,
7472,
286,
352,
290,
257,
19461,
4025,
621,
657,
30,
46506,
25882,
7203,
27520,
4943,
16034,
3084,
62,
22,
36657,
33411,
366,
14957,
1,
796,
705,
16,
6,
5357,
366,
18760,
2736,
1,
1875,
705,
15,
6
] |
What is the highest New Zealand value with a Hong Kong value less than 0? | SELECT MAX(new_zealand) FROM table_name_47 WHERE hong_kong < 0 | [
2061,
318,
262,
4511,
968,
8936,
1988,
351,
257,
9764,
9071,
1988,
1342,
621,
657,
30,
46506,
25882,
7,
3605,
62,
89,
2287,
392,
8,
16034,
3084,
62,
3672,
62,
2857,
33411,
289,
506,
62,
74,
506,
1279,
657
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
968,
8936,
1988,
351,
257,
9764,
9071,
1988,
1342,
621,
657,
30,
46506,
25882,
7,
3605,
62,
89,
2287,
392,
8,
16034,
3084,
62,
3672,
62,
2857,
33411,
289,
506,
62,
74,
506,
1279,
657
] |
What is the production code for episode number 86 in the series? | SELECT MIN(production_code) FROM table_2409041_5 WHERE no_in_series = 86 | [
2061,
318,
262,
3227,
2438,
329,
4471,
1271,
9849,
287,
262,
2168,
30,
46506,
20625,
7,
25493,
62,
8189,
8,
16034,
3084,
62,
1731,
2931,
50049,
62,
20,
33411,
645,
62,
259,
62,
25076,
796,
9849
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3227,
2438,
329,
4471,
1271,
9849,
287,
262,
2168,
30,
46506,
20625,
7,
25493,
62,
8189,
8,
16034,
3084,
62,
1731,
2931,
50049,
62,
20,
33411,
645,
62,
259,
62,
25076,
796,
9849
] |
Which 2012 has a 2007 of 0 / 4? | SELECT 2012 FROM table_name_8 WHERE 2007 = "0 / 4" | [
13828,
2321,
468,
257,
4343,
286,
657,
1220,
604,
30,
46506,
2321,
16034,
3084,
62,
3672,
62,
23,
33411,
4343,
796,
366,
15,
1220,
604,
1
] | [
1,
1,
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,
2321,
468,
257,
4343,
286,
657,
1220,
604,
30,
46506,
2321,
16034,
3084,
62,
3672,
62,
23,
33411,
4343,
796,
366,
15,
1220,
604,
1
] |
What college/junior/club team is a left wing from Canada? | SELECT college_junior_club_team FROM table_name_94 WHERE position = "left wing" AND nationality = "canada" | [
2061,
4152,
14,
29741,
1504,
14,
18664,
1074,
318,
257,
1364,
8539,
422,
3340,
30,
46506,
4152,
62,
29741,
1504,
62,
18664,
62,
15097,
16034,
3084,
62,
3672,
62,
5824,
33411,
2292,
796,
366,
9464,
8539,
1,
5357,
29835,
796,
366,
5171,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4152,
14,
29741,
1504,
14,
18664,
1074,
318,
257,
1364,
8539,
422,
3340,
30,
46506,
4152,
62,
29741,
1504,
62,
18664,
62,
15097,
16034,
3084,
62,
3672,
62,
5824,
33411,
2292,
796,
366,
9464,
8539,
1,
5357,
29835,
796,
366,
5171,... |
Show all student IDs who have at least two allergies. | SELECT StuID FROM Has_allergy GROUP BY StuID HAVING COUNT(*) >= 2 | [
15307,
477,
3710,
32373,
508,
423,
379,
1551,
734,
36665,
13,
46506,
520,
84,
2389,
16034,
7875,
62,
439,
26079,
44441,
11050,
520,
84,
2389,
367,
10116,
2751,
327,
28270,
7,
28104,
18189,
362
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
477,
3710,
32373,
508,
423,
379,
1551,
734,
36665,
13,
46506,
520,
84,
2389,
16034,
7875,
62,
439,
26079,
44441,
11050,
520,
84,
2389,
367,
10116,
2751,
327,
28270,
7,
28104,
18189,
362
] |
how many time was points 6675? | SELECT COUNT(points) AS won FROM table_26218783_7 WHERE points = 6675 | [
4919,
867,
640,
373,
2173,
7930,
2425,
30,
46506,
327,
28270,
7,
13033,
8,
7054,
1839,
16034,
3084,
62,
2075,
28727,
50165,
62,
22,
33411,
2173,
796,
7930,
2425
] | [
1,
1,
1,
1,
1,
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,
640,
373,
2173,
7930,
2425,
30,
46506,
327,
28270,
7,
13033,
8,
7054,
1839,
16034,
3084,
62,
2075,
28727,
50165,
62,
22,
33411,
2173,
796,
7930,
2425
] |
What is the highest capacity for the venue of the club, vihren? | SELECT MAX(capacity) FROM table_name_19 WHERE club = "vihren" | [
2061,
318,
262,
4511,
5339,
329,
262,
14359,
286,
262,
3430,
11,
410,
4449,
918,
30,
46506,
25882,
7,
42404,
8,
16034,
3084,
62,
3672,
62,
1129,
33411,
3430,
796,
366,
85,
4449,
918,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
5339,
329,
262,
14359,
286,
262,
3430,
11,
410,
4449,
918,
30,
46506,
25882,
7,
42404,
8,
16034,
3084,
62,
3672,
62,
1129,
33411,
3430,
796,
366,
85,
4449,
918,
1
] |
how many days has it been since patient 013-28507 last was prescribed ascorbic acid 500 mg tab on the current hospital encounter? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', medication.drugstarttime)) FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-285... | [
4919,
867,
1528,
468,
340,
587,
1201,
5827,
5534,
18,
12,
2078,
35378,
938,
373,
14798,
355,
10215,
65,
291,
7408,
5323,
10527,
7400,
319,
262,
1459,
4436,
8791,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
1528,
468,
340,
587,
1201,
5827,
5534,
18,
12,
2078,
35378,
938,
373,
14798,
355,
10215,
65,
291,
7408,
5323,
10527,
7400,
319,
262,
1459,
4436,
8791,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
... |
What's the lowest Votes (SW Eng) with a % (SW Eng) that's larger than 2.1, Votes (Gib) of 1,127, and a Change (SW Eng) that's larger than -3.6? | SELECT MIN("Votes (SW Eng)") FROM table_35626 WHERE "% (SW Eng)" > '2.1' AND "Votes (Gib.)" = '1,127' AND "Change (SW Eng)" > '-3.6' | [
2061,
338,
262,
9016,
39584,
357,
17887,
1985,
8,
351,
257,
4064,
357,
17887,
1985,
8,
326,
338,
4025,
621,
362,
13,
16,
11,
39584,
357,
38,
571,
8,
286,
352,
11,
16799,
11,
290,
257,
9794,
357,
17887,
1985,
8,
326,
338,
4025,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
338,
262,
9016,
39584,
357,
17887,
1985,
8,
351,
257,
4064,
357,
17887,
1985,
8,
326,
338,
4025,
621,
362,
13,
16,
11,
39584,
357,
38,
571,
8,
286,
352,
11,
16799,
11,
290,
257,
9794,
357,
17887,
1985,
8,
326,
338,
4025,
6... |
How many episodes were written by Kirstie Falkous & John Regier? | SELECT COUNT(episode_no) FROM table_21025437_2 WHERE written_by = "Kirstie Falkous & John Regier" | [
2437,
867,
8640,
547,
3194,
416,
39700,
494,
32164,
516,
1222,
1757,
3310,
959,
30,
46506,
327,
28270,
7,
38668,
62,
3919,
8,
16034,
3084,
62,
21536,
24970,
2718,
62,
17,
33411,
3194,
62,
1525,
796,
366,
42,
667,
494,
32164,
516,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
8640,
547,
3194,
416,
39700,
494,
32164,
516,
1222,
1757,
3310,
959,
30,
46506,
327,
28270,
7,
38668,
62,
3919,
8,
16034,
3084,
62,
21536,
24970,
2718,
62,
17,
33411,
3194,
62,
1525,
796,
366,
42,
667,
494,
32164,
516,
12... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.