instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Which frequency is located in Davao? | SELECT frequency FROM table_name_35 WHERE location = "davao" | [
13828,
8373,
318,
5140,
287,
2544,
5488,
30,
46506,
8373,
16034,
3084,
62,
3672,
62,
2327,
33411,
4067,
796,
366,
67,
4170,
78,
1
] | [
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,
8373,
318,
5140,
287,
2544,
5488,
30,
46506,
8373,
16034,
3084,
62,
3672,
62,
2327,
33411,
4067,
796,
366,
67,
4170,
78,
1
] |
what specimen test was given for the last time to patient 16088 on the first hospital visit? | SELECT microbiologyevents.spec_type_desc FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 16088 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) ORDER BY microbiologyevents.charttime DESC LIMIT 1 | [
10919,
31674,
1332,
373,
1813,
329,
262,
938,
640,
284,
5827,
1467,
46556,
319,
262,
717,
4436,
3187,
30,
46506,
24559,
1435,
31534,
13,
16684,
62,
4906,
62,
20147,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
31674,
1332,
373,
1813,
329,
262,
938,
640,
284,
5827,
1467,
46556,
319,
262,
717,
4436,
3187,
30,
46506,
24559,
1435,
31534,
13,
16684,
62,
4906,
62,
20147,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62... |
Which sign has a fall of Venus? | SELECT sign FROM table_name_5 WHERE fall = "venus" | [
13828,
1051,
468,
257,
2121,
286,
21094,
30,
46506,
1051,
16034,
3084,
62,
3672,
62,
20,
33411,
2121,
796,
366,
574,
385,
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,
1051,
468,
257,
2121,
286,
21094,
30,
46506,
1051,
16034,
3084,
62,
3672,
62,
20,
33411,
2121,
796,
366,
574,
385,
1
] |
For the vessel with a listed In service of 1, what is the origin given? | SELECT origin FROM table_name_57 WHERE in_service = 1 | [
1890,
262,
8837,
351,
257,
5610,
554,
2139,
286,
352,
11,
644,
318,
262,
8159,
1813,
30,
46506,
8159,
16034,
3084,
62,
3672,
62,
3553,
33411,
287,
62,
15271,
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,
1,
1,
1,
1
] | [
1890,
262,
8837,
351,
257,
5610,
554,
2139,
286,
352,
11,
644,
318,
262,
8159,
1813,
30,
46506,
8159,
16034,
3084,
62,
3672,
62,
3553,
33411,
287,
62,
15271,
796,
352
] |
Tumbleweeds and Scholars over the years. | SELECT YEAR(Date), SUM(CASE WHEN Name = 'Scholar' THEN 1 ELSE 0 END) AS Scholars, SUM(CASE WHEN Name = 'Tumbleweed' THEN 1 ELSE 0 END) AS Tumbleweeds, SUM(CASE WHEN Name = 'Lifejacket' THEN 1 ELSE 0 END) AS LJ, SUM(CASE WHEN Name = 'Lifeboat' THEN 1 ELSE 0 END) AS LB FROM Badges WHERE YEAR(Date) < YEAR(CURRENT_TIMESTAM... | [
51,
10344,
732,
5379,
290,
26381,
625,
262,
812,
13,
46506,
32914,
7,
10430,
828,
35683,
7,
34,
11159,
42099,
6530,
796,
705,
14874,
6192,
6,
42243,
352,
17852,
5188,
657,
23578,
8,
7054,
26381,
11,
35683,
7,
34,
11159,
42099,
6530,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
51,
10344,
732,
5379,
290,
26381,
625,
262,
812,
13,
46506,
32914,
7,
10430,
828,
35683,
7,
34,
11159,
42099,
6530,
796,
705,
14874,
6192,
6,
42243,
352,
17852,
5188,
657,
23578,
8,
7054,
26381,
11,
35683,
7,
34,
11159,
42099,
6530,
... |
Which Venue has a Home team score of 13.11 (89)? | SELECT "Venue" FROM table_55313 WHERE "Home team score" = '13.11 (89)' | [
13828,
9932,
518,
468,
257,
5995,
1074,
4776,
286,
1511,
13,
1157,
357,
4531,
19427,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
2816,
25838,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1485,
13,
1157,
357,
4531,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
9932,
518,
468,
257,
5995,
1074,
4776,
286,
1511,
13,
1157,
357,
4531,
19427,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
2816,
25838,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1485,
13,
1157,
357,
4531,
33047
] |
Find the first and last name of all the teachers that teach EVELINA BROMLEY. | SELECT T2.firstname, T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.firstname = "EVELINA" AND T1.lastname = "BROMLEY" | [
16742,
262,
717,
290,
938,
1438,
286,
477,
262,
7799,
326,
4545,
8696,
3698,
28893,
11177,
2662,
25173,
13,
46506,
309,
17,
13,
11085,
3672,
11,
309,
17,
13,
12957,
3672,
16034,
1351,
7054,
309,
16,
32357,
1268,
7799,
7054,
309,
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... | [
16742,
262,
717,
290,
938,
1438,
286,
477,
262,
7799,
326,
4545,
8696,
3698,
28893,
11177,
2662,
25173,
13,
46506,
309,
17,
13,
11085,
3672,
11,
309,
17,
13,
12957,
3672,
16034,
1351,
7054,
309,
16,
32357,
1268,
7799,
7054,
309,
17,
... |
What is the away team playing at Everton? | SELECT "Away team" FROM table_58817 WHERE "Home team" = 'everton' | [
2061,
318,
262,
1497,
1074,
2712,
379,
27227,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
39118,
1558,
33411,
366,
16060,
1074,
1,
796,
705,
964,
1122,
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,
318,
262,
1497,
1074,
2712,
379,
27227,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
39118,
1558,
33411,
366,
16060,
1074,
1,
796,
705,
964,
1122,
6
] |
Count the number of distinct channel owners. | SELECT COUNT(DISTINCT owner) FROM channel | [
12332,
262,
1271,
286,
7310,
6518,
4393,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
4870,
8,
16034,
6518
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12332,
262,
1271,
286,
7310,
6518,
4393,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
4870,
8,
16034,
6518
] |
mini mental state exam ( mmse ) scores 10 _ 23 | SELECT * FROM table_train_84 WHERE mini_mental_state_examination_mmse >= 10 AND mini_mental_state_examination_mmse <= 23 | [
45313,
5110,
1181,
2814,
357,
8085,
325,
1267,
8198,
838,
4808,
2242,
46506,
1635,
16034,
3084,
62,
27432,
62,
5705,
33411,
9927,
62,
37098,
62,
5219,
62,
47779,
62,
3020,
325,
18189,
838,
5357,
9927,
62,
37098,
62,
5219,
62,
47779,
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
] | [
45313,
5110,
1181,
2814,
357,
8085,
325,
1267,
8198,
838,
4808,
2242,
46506,
1635,
16034,
3084,
62,
27432,
62,
5705,
33411,
9927,
62,
37098,
62,
5219,
62,
47779,
62,
3020,
325,
18189,
838,
5357,
9927,
62,
37098,
62,
5219,
62,
47779,
6... |
What was the result in 2009 for the US Open Tournament? | SELECT "2009" FROM table_12133 WHERE "Tournament" = 'us open' | [
2061,
373,
262,
1255,
287,
3717,
329,
262,
1294,
4946,
9595,
30,
46506,
366,
10531,
1,
16034,
3084,
62,
1065,
16945,
33411,
366,
51,
5138,
1,
796,
705,
385,
1280,
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,
373,
262,
1255,
287,
3717,
329,
262,
1294,
4946,
9595,
30,
46506,
366,
10531,
1,
16034,
3084,
62,
1065,
16945,
33411,
366,
51,
5138,
1,
796,
705,
385,
1280,
6
] |
What are all of the states or countries with a corrected time 3:13:40:05? | SELECT "State/country" FROM table_72587 WHERE "Corrected time d:hh:mm:ss" = '3:13:40:05' | [
2061,
389,
477,
286,
262,
2585,
393,
2678,
351,
257,
19267,
640,
513,
25,
1485,
25,
1821,
25,
2713,
30,
46506,
366,
9012,
14,
19315,
1,
16034,
3084,
62,
45151,
5774,
33411,
366,
42779,
276,
640,
288,
25,
12337,
25,
3020,
25,
824,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
286,
262,
2585,
393,
2678,
351,
257,
19267,
640,
513,
25,
1485,
25,
1821,
25,
2713,
30,
46506,
366,
9012,
14,
19315,
1,
16034,
3084,
62,
45151,
5774,
33411,
366,
42779,
276,
640,
288,
25,
12337,
25,
3020,
25,
824,
... |
what is the minimum age of patients primairly suffering from cancer/sda who were admitted in or after the year 2107? | SELECT MIN(demographic.age) FROM demographic WHERE demographic.diagnosis = "BLADDER CANCER/SDA" AND demographic.admityear >= "2107" | [
10919,
318,
262,
5288,
2479,
286,
3871,
2684,
958,
306,
7195,
422,
4890,
14,
82,
6814,
508,
547,
6848,
287,
393,
706,
262,
614,
362,
15982,
30,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
5288,
2479,
286,
3871,
2684,
958,
306,
7195,
422,
4890,
14,
82,
6814,
508,
547,
6848,
287,
393,
706,
262,
614,
362,
15982,
30,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
79... |
What was the score when they played the Boston Patriots? | SELECT result FROM table_name_91 WHERE opponent = "boston patriots" | [
2061,
373,
262,
4776,
618,
484,
2826,
262,
6182,
13104,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
6420,
33411,
6125,
796,
366,
65,
5744,
12650,
1747,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
618,
484,
2826,
262,
6182,
13104,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
6420,
33411,
6125,
796,
366,
65,
5744,
12650,
1747,
1
] |
Name the total number of scores for 7x10 | SELECT COUNT(scores) FROM table_23292220_7 WHERE episode = "7x10" | [
5376,
262,
2472,
1271,
286,
8198,
329,
767,
87,
940,
46506,
327,
28270,
7,
1416,
2850,
8,
16034,
3084,
62,
1954,
1959,
1828,
1238,
62,
22,
33411,
4471,
796,
366,
22,
87,
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
] | [
5376,
262,
2472,
1271,
286,
8198,
329,
767,
87,
940,
46506,
327,
28270,
7,
1416,
2850,
8,
16034,
3084,
62,
1954,
1959,
1828,
1238,
62,
22,
33411,
4471,
796,
366,
22,
87,
940,
1
] |
What is the Record for week 12? | SELECT record FROM table_name_95 WHERE week = 12 | [
2061,
318,
262,
13266,
329,
1285,
1105,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
3865,
33411,
1285,
796,
1105
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
13266,
329,
1285,
1105,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
3865,
33411,
1285,
796,
1105
] |
tell me the number of patients who were diagnosed with acute respiratory failure and did not return to hospital during the same month since 4 years ago? | SELECT (SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'acute respiratory failure' AND DATETIME(diagnosis.diagnosistime) >= DATETIME(CURRENT_TIME(), '-4 yea... | [
33331,
502,
262,
1271,
286,
3871,
508,
547,
14641,
351,
14352,
22949,
5287,
290,
750,
407,
1441,
284,
4436,
1141,
262,
976,
1227,
1201,
604,
812,
2084,
30,
46506,
357,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
15... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
33331,
502,
262,
1271,
286,
3871,
508,
547,
14641,
351,
14352,
22949,
5287,
290,
750,
407,
1441,
284,
4436,
1141,
262,
976,
1227,
1201,
604,
812,
2084,
30,
46506,
357,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
15... |
If the amount of rebounds is 0, what is the maximum minutes? | SELECT MAX("Minutes") FROM table_25984 WHERE "Rebounds" = '0' | [
1532,
262,
2033,
286,
18841,
318,
657,
11,
644,
318,
262,
5415,
2431,
30,
46506,
25882,
7203,
9452,
1769,
4943,
16034,
3084,
62,
1495,
4089,
19,
33411,
366,
28951,
3733,
1,
796,
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
] | [
1532,
262,
2033,
286,
18841,
318,
657,
11,
644,
318,
262,
5415,
2431,
30,
46506,
25882,
7203,
9452,
1769,
4943,
16034,
3084,
62,
1495,
4089,
19,
33411,
366,
28951,
3733,
1,
796,
705,
15,
6
] |
what is the total number of runner ups listed on the chart ? | SELECT COUNT(*) FROM table_204_724 WHERE "outcome" = 'runner-up' | [
10919,
318,
262,
2472,
1271,
286,
17490,
19649,
5610,
319,
262,
8262,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
22,
1731,
33411,
366,
448,
2958,
1,
796,
705,
16737,
12,
929,
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
] | [
10919,
318,
262,
2472,
1271,
286,
17490,
19649,
5610,
319,
262,
8262,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
22,
1731,
33411,
366,
448,
2958,
1,
796,
705,
16737,
12,
929,
6
] |
What is the English name for the Chinese name of later than 1974? | SELECT "English name" FROM table_60978 WHERE "Year signed" > '1974' AND "Chinese name" = '蘇永康' | [
2061,
318,
262,
3594,
1438,
329,
262,
3999,
1438,
286,
1568,
621,
16489,
30,
46506,
366,
15823,
1438,
1,
16034,
3084,
62,
31751,
3695,
33411,
366,
17688,
4488,
1,
1875,
705,
40828,
6,
5357,
366,
23604,
1438,
1,
796,
705,
164,
246,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3594,
1438,
329,
262,
3999,
1438,
286,
1568,
621,
16489,
30,
46506,
366,
15823,
1438,
1,
16034,
3084,
62,
31751,
3695,
33411,
366,
17688,
4488,
1,
1875,
705,
40828,
6,
5357,
366,
23604,
1438,
1,
796,
705,
164,
246,
2... |
Show the number of documents created in each day and bin document date by year interval and group by document type with a group line chart. | SELECT Document_Date, COUNT(Document_Date) FROM Ref_Document_Types AS T1 JOIN Documents AS T2 ON T1.Document_Type_Code = T2.Document_Type_Code GROUP BY Document_Type_Name | [
15307,
262,
1271,
286,
4963,
2727,
287,
1123,
1110,
290,
9874,
3188,
3128,
416,
614,
16654,
290,
1448,
416,
3188,
2099,
351,
257,
1448,
1627,
8262,
13,
46506,
16854,
62,
10430,
11,
327,
28270,
7,
24941,
62,
10430,
8,
16034,
6524,
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,
1271,
286,
4963,
2727,
287,
1123,
1110,
290,
9874,
3188,
3128,
416,
614,
16654,
290,
1448,
416,
3188,
2099,
351,
257,
1448,
1627,
8262,
13,
46506,
16854,
62,
10430,
11,
327,
28270,
7,
24941,
62,
10430,
8,
16034,
6524,
62,
... |
what is the 2nd leg when team #2 is algiris kaunas? | SELECT 2 AS nd_leg FROM table_name_67 WHERE team__number2 = "žalgiris kaunas" | [
10919,
318,
262,
362,
358,
1232,
618,
1074,
1303,
17,
318,
435,
70,
29616,
479,
1942,
292,
30,
46506,
362,
7054,
299,
67,
62,
1455,
16034,
3084,
62,
3672,
62,
3134,
33411,
1074,
834,
17618,
17,
796,
366,
129,
122,
14016,
29616,
479,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
362,
358,
1232,
618,
1074,
1303,
17,
318,
435,
70,
29616,
479,
1942,
292,
30,
46506,
362,
7054,
299,
67,
62,
1455,
16034,
3084,
62,
3672,
62,
3134,
33411,
1074,
834,
17618,
17,
796,
366,
129,
122,
14016,
29616,
479,... |
Bar chart x axis meter 600 y axis id, and sort Y from low to high order please. | SELECT meter_600, ID FROM swimmer ORDER BY ID | [
10374,
8262,
2124,
16488,
16430,
10053,
331,
16488,
4686,
11,
290,
3297,
575,
422,
1877,
284,
1029,
1502,
3387,
13,
46506,
16430,
62,
8054,
11,
4522,
16034,
9422,
647,
38678,
11050,
4522
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
8262,
2124,
16488,
16430,
10053,
331,
16488,
4686,
11,
290,
3297,
575,
422,
1877,
284,
1029,
1502,
3387,
13,
46506,
16430,
62,
8054,
11,
4522,
16034,
9422,
647,
38678,
11050,
4522
] |
What is the played number when the high checkout is 135? | SELECT SUM("Played") FROM table_79616 WHERE "High Checkout" = '135' | [
2061,
318,
262,
2826,
1271,
618,
262,
1029,
28006,
318,
17501,
30,
46506,
35683,
7203,
11002,
276,
4943,
16034,
3084,
62,
41060,
1433,
33411,
366,
11922,
6822,
448,
1,
796,
705,
17059,
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,
2826,
1271,
618,
262,
1029,
28006,
318,
17501,
30,
46506,
35683,
7203,
11002,
276,
4943,
16034,
3084,
62,
41060,
1433,
33411,
366,
11922,
6822,
448,
1,
796,
705,
17059,
6
] |
Which IHSAA Class has a Mascot of wildcats? | SELECT ihsaa_class FROM table_name_2 WHERE mascot = "wildcats" | [
13828,
314,
7998,
3838,
5016,
468,
257,
337,
3372,
313,
286,
4295,
24619,
30,
46506,
1312,
11994,
7252,
62,
4871,
16034,
3084,
62,
3672,
62,
17,
33411,
37358,
796,
366,
21992,
24619,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
314,
7998,
3838,
5016,
468,
257,
337,
3372,
313,
286,
4295,
24619,
30,
46506,
1312,
11994,
7252,
62,
4871,
16034,
3084,
62,
3672,
62,
17,
33411,
37358,
796,
366,
21992,
24619,
1
] |
find users with about me text like. | SELECT Id AS "user_link", Reputation, CreationDate, LastAccessDate FROM Users WHERE AboutMe LIKE '%##text##%' | [
19796,
2985,
351,
546,
502,
2420,
588,
13,
46506,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
11,
21582,
10430,
11,
4586,
15457,
10430,
16034,
18987,
33411,
7994,
5308,
34178,
705,
4,
2235,
5239,
2235,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
19796,
2985,
351,
546,
502,
2420,
588,
13,
46506,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
11,
21582,
10430,
11,
4586,
15457,
10430,
16034,
18987,
33411,
7994,
5308,
34178,
705,
4,
2235,
5239,
2235,
4,
6
] |
how many finished all 225 laps ? | SELECT COUNT(*) FROM table_204_946 WHERE "laps" = 225 | [
4919,
867,
5201,
477,
18500,
24590,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
24,
3510,
33411,
366,
75,
1686,
1,
796,
18500
] | [
1,
1,
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,
5201,
477,
18500,
24590,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
24,
3510,
33411,
366,
75,
1686,
1,
796,
18500
] |
What was the score of the match in which Portsmouth was the Away team? | SELECT score_1 FROM table_name_23 WHERE away_team = "portsmouth" | [
2061,
373,
262,
4776,
286,
262,
2872,
287,
543,
48823,
373,
262,
21986,
1074,
30,
46506,
4776,
62,
16,
16034,
3084,
62,
3672,
62,
1954,
33411,
1497,
62,
15097,
796,
366,
3742,
14775,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
286,
262,
2872,
287,
543,
48823,
373,
262,
21986,
1074,
30,
46506,
4776,
62,
16,
16034,
3084,
62,
3672,
62,
1954,
33411,
1497,
62,
15097,
796,
366,
3742,
14775,
1
] |
what is the procedure and drug type of the patient id 2560? | SELECT procedures.short_title, prescriptions.drug_type FROM procedures INNER JOIN prescriptions ON procedures.hadm_id = prescriptions.hadm_id WHERE procedures.subject_id = "2560" | [
10919,
318,
262,
8771,
290,
2563,
2099,
286,
262,
5827,
4686,
1679,
1899,
30,
46506,
9021,
13,
19509,
62,
7839,
11,
34092,
13,
30349,
62,
4906,
16034,
9021,
3268,
21479,
32357,
1268,
34092,
6177,
9021,
13,
18108,
76,
62,
312,
796,
340... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8771,
290,
2563,
2099,
286,
262,
5827,
4686,
1679,
1899,
30,
46506,
9021,
13,
19509,
62,
7839,
11,
34092,
13,
30349,
62,
4906,
16034,
9021,
3268,
21479,
32357,
1268,
34092,
6177,
9021,
13,
18108,
76,
62,
312,
796,
340... |
What block has a COSPAR ID of 1995-060a? | SELECT block FROM table_name_23 WHERE cospar_id = "1995-060a" | [
2061,
2512,
468,
257,
327,
2640,
27082,
4522,
286,
8735,
12,
41322,
64,
30,
46506,
2512,
16034,
3084,
62,
3672,
62,
1954,
33411,
8615,
1845,
62,
312,
796,
366,
21908,
12,
41322,
64,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2512,
468,
257,
327,
2640,
27082,
4522,
286,
8735,
12,
41322,
64,
30,
46506,
2512,
16034,
3084,
62,
3672,
62,
1954,
33411,
8615,
1845,
62,
312,
796,
366,
21908,
12,
41322,
64,
1
] |
What is the person's name that is from the country of SCO? | SELECT name FROM table_name_19 WHERE country = "sco" | [
2061,
318,
262,
1048,
338,
1438,
326,
318,
422,
262,
1499,
286,
6374,
46,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
1129,
33411,
1499,
796,
366,
82,
1073,
1
] | [
1,
1,
1,
1,
1,
1,
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,
1048,
338,
1438,
326,
318,
422,
262,
1499,
286,
6374,
46,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
1129,
33411,
1499,
796,
366,
82,
1073,
1
] |
What is team 1 when the 1st leg is 92-82? | SELECT "Team #1" FROM table_64689 WHERE "1st leg" = '92-82' | [
2061,
318,
1074,
352,
618,
262,
352,
301,
1232,
318,
10190,
12,
6469,
30,
46506,
366,
15592,
1303,
16,
1,
16034,
3084,
62,
2414,
40523,
33411,
366,
16,
301,
1232,
1,
796,
705,
5892,
12,
6469,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
1074,
352,
618,
262,
352,
301,
1232,
318,
10190,
12,
6469,
30,
46506,
366,
15592,
1303,
16,
1,
16034,
3084,
62,
2414,
40523,
33411,
366,
16,
301,
1232,
1,
796,
705,
5892,
12,
6469,
6
] |
What is the Rank of the Maccabi Tel Aviv Player with 25 Games? | SELECT COUNT("Rank") FROM table_43053 WHERE "Games" = '25' AND "Team" = 'maccabi tel aviv' | [
2061,
318,
262,
10916,
286,
262,
4100,
66,
17914,
12088,
28890,
7853,
351,
1679,
5776,
30,
46506,
327,
28270,
7203,
27520,
4943,
16034,
3084,
62,
31794,
4310,
33411,
366,
24474,
1,
796,
705,
1495,
6,
5357,
366,
15592,
1,
796,
705,
76,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10916,
286,
262,
4100,
66,
17914,
12088,
28890,
7853,
351,
1679,
5776,
30,
46506,
327,
28270,
7203,
27520,
4943,
16034,
3084,
62,
31794,
4310,
33411,
366,
24474,
1,
796,
705,
1495,
6,
5357,
366,
15592,
1,
796,
705,
76,... |
What date was Carlos Boozer (23) the leading scorer? | SELECT date FROM table_name_50 WHERE leading_scorer = "carlos boozer (23)" | [
2061,
3128,
373,
17409,
21458,
9107,
357,
1954,
8,
262,
3756,
30664,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1120,
33411,
3756,
62,
1416,
11934,
796,
366,
66,
7063,
418,
1489,
8590,
263,
357,
1954,
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
] | [
2061,
3128,
373,
17409,
21458,
9107,
357,
1954,
8,
262,
3756,
30664,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1120,
33411,
3756,
62,
1416,
11934,
796,
366,
66,
7063,
418,
1489,
8590,
263,
357,
1954,
16725
] |
Name the nominated work for 1996 and festival of black maria film and video festival | SELECT "Nominated work" FROM table_69079 WHERE "Year" = '1996' AND "Festival" = 'black maria film and video festival' | [
5376,
262,
19332,
670,
329,
8235,
290,
10876,
286,
2042,
1667,
544,
2646,
290,
2008,
10876,
46506,
366,
45,
50251,
670,
1,
16034,
3084,
62,
3388,
2998,
24,
33411,
366,
17688,
1,
796,
705,
22288,
6,
5357,
366,
37,
6743,
1,
796,
705,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
19332,
670,
329,
8235,
290,
10876,
286,
2042,
1667,
544,
2646,
290,
2008,
10876,
46506,
366,
45,
50251,
670,
1,
16034,
3084,
62,
3388,
2998,
24,
33411,
366,
17688,
1,
796,
705,
22288,
6,
5357,
366,
37,
6743,
1,
796,
705,
... |
What's the mascot of Eastern Pekin having less than 627 enrolled and an AA for their IHSAA Class? | SELECT mascot FROM table_name_34 WHERE enrollment < 627 AND ihsaa_class = "aa" AND school = "eastern pekin" | [
2061,
338,
262,
37358,
286,
8345,
350,
988,
259,
1719,
1342,
621,
718,
1983,
18724,
290,
281,
15923,
329,
511,
314,
7998,
3838,
5016,
30,
46506,
37358,
16034,
3084,
62,
3672,
62,
2682,
33411,
20753,
1279,
718,
1983,
5357,
1312,
11994,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
37358,
286,
8345,
350,
988,
259,
1719,
1342,
621,
718,
1983,
18724,
290,
281,
15923,
329,
511,
314,
7998,
3838,
5016,
30,
46506,
37358,
16034,
3084,
62,
3672,
62,
2682,
33411,
20753,
1279,
718,
1983,
5357,
1312,
11994,
... |
Who was the host that garnered ratings of 9.6/26? | SELECT host FROM table_name_30 WHERE ratings = "9.6/26" | [
8241,
373,
262,
2583,
326,
29588,
10109,
286,
860,
13,
21,
14,
2075,
30,
46506,
2583,
16034,
3084,
62,
3672,
62,
1270,
33411,
10109,
796,
366,
24,
13,
21,
14,
2075,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
2583,
326,
29588,
10109,
286,
860,
13,
21,
14,
2075,
30,
46506,
2583,
16034,
3084,
62,
3672,
62,
1270,
33411,
10109,
796,
366,
24,
13,
21,
14,
2075,
1
] |
What is the average rank of the record on 2007-06-21 with a mark less than 91.29? | SELECT AVG(rank) FROM table_name_31 WHERE date = "2007-06-21" AND mark < 91.29 | [
2061,
318,
262,
2811,
4279,
286,
262,
1700,
319,
4343,
12,
3312,
12,
2481,
351,
257,
1317,
1342,
621,
10495,
13,
1959,
30,
46506,
35224,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
3132,
33411,
3128,
796,
366,
12726,
12,
3312,
12,
2481,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
4279,
286,
262,
1700,
319,
4343,
12,
3312,
12,
2481,
351,
257,
1317,
1342,
621,
10495,
13,
1959,
30,
46506,
35224,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
3132,
33411,
3128,
796,
366,
12726,
12,
3312,
12,
2481,... |
Find the name and credit score of the customers who have some loans, list in descending by the y axis. | SELECT cust_name, credit_score FROM customer AS T1 JOIN loan AS T2 ON T1.cust_ID = T2.cust_ID ORDER BY credit_score DESC | [
16742,
262,
1438,
290,
3884,
4776,
286,
262,
4297,
508,
423,
617,
10021,
11,
1351,
287,
31491,
416,
262,
331,
16488,
13,
46506,
9378,
62,
3672,
11,
3884,
62,
26675,
16034,
6491,
7054,
309,
16,
32357,
1268,
8063,
7054,
309,
17,
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... | [
16742,
262,
1438,
290,
3884,
4776,
286,
262,
4297,
508,
423,
617,
10021,
11,
1351,
287,
31491,
416,
262,
331,
16488,
13,
46506,
9378,
62,
3672,
11,
3884,
62,
26675,
16034,
6491,
7054,
309,
16,
32357,
1268,
8063,
7054,
309,
17,
6177,
... |
Tags for Posts By Date. | SELECT * FROM (SELECT OwnerUserId AS id, MAX(Tags) AS tags FROM Posts WHERE CreationDate > '1/1/2015' AND LENGTH(Tags) > 0 GROUP BY OwnerUserId) AS x WHERE LENGTH(Tags) > 50 LIMIT 50000 | [
36142,
329,
12043,
2750,
7536,
13,
46506,
1635,
16034,
357,
46506,
23853,
12982,
7390,
7054,
4686,
11,
25882,
7,
36142,
8,
7054,
15940,
16034,
12043,
33411,
21582,
10430,
1875,
705,
16,
14,
16,
14,
4626,
6,
5357,
406,
49494,
7,
36142,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
36142,
329,
12043,
2750,
7536,
13,
46506,
1635,
16034,
357,
46506,
23853,
12982,
7390,
7054,
4686,
11,
25882,
7,
36142,
8,
7054,
15940,
16034,
12043,
33411,
21582,
10430,
1875,
705,
16,
14,
16,
14,
4626,
6,
5357,
406,
49494,
7,
36142,
... |
If the Cuatro Ca adas municipality percentage is 252, what are all the San Antonio de Lomer o municipality percentage? | SELECT "San Antonio de Lomer\u00edo Municipality (%)" FROM table_23471 WHERE "Cuatro Ca\u00f1adas Municipality (%)" = '252' | [
1532,
262,
14496,
47756,
6488,
512,
292,
27264,
5873,
318,
25264,
11,
644,
389,
477,
262,
2986,
11366,
390,
406,
12057,
267,
27264,
5873,
30,
46506,
366,
15017,
11366,
390,
406,
12057,
59,
84,
405,
24757,
27338,
1483,
11509,
1,
16034,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1532,
262,
14496,
47756,
6488,
512,
292,
27264,
5873,
318,
25264,
11,
644,
389,
477,
262,
2986,
11366,
390,
406,
12057,
267,
27264,
5873,
30,
46506,
366,
15017,
11366,
390,
406,
12057,
59,
84,
405,
24757,
27338,
1483,
11509,
1,
16034,
... |
What is the 2008 09 when the 2009 10 shows q? | SELECT "2008\u201309" FROM table_40210 WHERE "2009\u201310" = 'q' | [
2061,
318,
262,
3648,
7769,
618,
262,
3717,
838,
2523,
10662,
30,
46506,
366,
11528,
59,
84,
1264,
26895,
1,
16034,
3084,
62,
1821,
21536,
33411,
366,
10531,
59,
84,
6390,
940,
1,
796,
705,
80,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3648,
7769,
618,
262,
3717,
838,
2523,
10662,
30,
46506,
366,
11528,
59,
84,
1264,
26895,
1,
16034,
3084,
62,
1821,
21536,
33411,
366,
10531,
59,
84,
6390,
940,
1,
796,
705,
80,
6
] |
Which competition did T rlea come in 4th place, in 2003 at Budapest, Hungary? | SELECT "Competition" FROM table_4622 WHERE "Position" = '4th' AND "Year" > '2003' AND "Venue" = 'budapest, hungary' | [
13828,
5449,
750,
309,
374,
293,
64,
1282,
287,
604,
400,
1295,
11,
287,
5816,
379,
40959,
11,
19562,
30,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
3510,
1828,
33411,
366,
26545,
1,
796,
705,
19,
400,
6,
5357,
366,
17688,
1,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
5449,
750,
309,
374,
293,
64,
1282,
287,
604,
400,
1295,
11,
287,
5816,
379,
40959,
11,
19562,
30,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
3510,
1828,
33411,
366,
26545,
1,
796,
705,
19,
400,
6,
5357,
366,
17688,
1,
18... |
What Attendance has a Result of l12 21? | SELECT attendance FROM table_name_13 WHERE result = "l12–21" | [
2061,
46502,
590,
468,
257,
25414,
286,
300,
1065,
2310,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
1485,
33411,
1255,
796,
366,
75,
1065,
1906,
2481,
1
] | [
1,
1,
1,
1,
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,
46502,
590,
468,
257,
25414,
286,
300,
1065,
2310,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
1485,
33411,
1255,
796,
366,
75,
1065,
1906,
2481,
1
] |
What was Footscray's Home team score? | SELECT "Home team score" FROM table_4889 WHERE "Home team" = 'footscray' | [
2061,
373,
7870,
1416,
2433,
338,
5995,
1074,
4776,
30,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
2780,
4531,
33411,
366,
16060,
1074,
1,
796,
705,
5898,
1416,
2433,
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,
373,
7870,
1416,
2433,
338,
5995,
1074,
4776,
30,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
2780,
4531,
33411,
366,
16060,
1074,
1,
796,
705,
5898,
1416,
2433,
6
] |
Name the most series number for giula sandler | SELECT MAX("Series #") FROM table_20335 WHERE "Writer(s)" = 'Giula Sandler' | [
5376,
262,
749,
2168,
1271,
329,
308,
72,
4712,
6450,
1754,
46506,
25882,
7203,
27996,
1303,
4943,
16034,
3084,
62,
1238,
27326,
33411,
366,
34379,
7,
82,
16725,
796,
705,
33704,
4712,
3837,
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
] | [
5376,
262,
749,
2168,
1271,
329,
308,
72,
4712,
6450,
1754,
46506,
25882,
7203,
27996,
1303,
4943,
16034,
3084,
62,
1238,
27326,
33411,
366,
34379,
7,
82,
16725,
796,
705,
33704,
4712,
3837,
1754,
6
] |
what is the number of patients whose gender is m and procedure icd9 code is 3799? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.gender = "M" AND procedures.icd9_code = "3799" | [
10919,
318,
262,
1271,
286,
3871,
3025,
5279,
318,
285,
290,
8771,
14158,
67,
24,
2438,
318,
5214,
2079,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
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,
262,
1271,
286,
3871,
3025,
5279,
318,
285,
290,
8771,
14158,
67,
24,
2438,
318,
5214,
2079,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,... |
other than chimaltenango 's contestant , which region also had a 19 year old contestant ? | SELECT "represent" FROM table_204_20 WHERE "represent" <> 'chimaltenango' AND "age" = 19 | [
847,
621,
442,
4402,
1452,
14208,
705,
82,
44047,
837,
543,
3814,
635,
550,
257,
678,
614,
1468,
44047,
5633,
46506,
366,
15603,
1,
16034,
3084,
62,
18638,
62,
1238,
33411,
366,
15603,
1,
1279,
29,
705,
354,
4402,
1452,
14208,
6,
53... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
847,
621,
442,
4402,
1452,
14208,
705,
82,
44047,
837,
543,
3814,
635,
550,
257,
678,
614,
1468,
44047,
5633,
46506,
366,
15603,
1,
16034,
3084,
62,
18638,
62,
1238,
33411,
366,
15603,
1,
1279,
29,
705,
354,
4402,
1452,
14208,
6,
53... |
Which tests have 'Pass' results? Return the dates when the tests were taken, and count them by a bar chart | SELECT date_test_taken, COUNT(date_test_taken) FROM Student_Tests_Taken WHERE test_result = "Pass" GROUP BY date_test_taken | [
13828,
5254,
423,
705,
14478,
6,
2482,
30,
8229,
262,
9667,
618,
262,
5254,
547,
2077,
11,
290,
954,
606,
416,
257,
2318,
8262,
46506,
3128,
62,
9288,
62,
83,
1685,
11,
327,
28270,
7,
4475,
62,
9288,
62,
83,
1685,
8,
16034,
13613,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5254,
423,
705,
14478,
6,
2482,
30,
8229,
262,
9667,
618,
262,
5254,
547,
2077,
11,
290,
954,
606,
416,
257,
2318,
8262,
46506,
3128,
62,
9288,
62,
83,
1685,
11,
327,
28270,
7,
4475,
62,
9288,
62,
83,
1685,
8,
16034,
13613,... |
how many times was imatinib mesylate prescribed since 2104? | SELECT COUNT(*) FROM prescriptions WHERE prescriptions.drug = 'imatinib mesylate' AND STRFTIME('%y', prescriptions.startdate) >= '2104' | [
4919,
867,
1661,
373,
545,
10680,
571,
18842,
2645,
378,
14798,
1201,
362,
13464,
30,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
30349,
796,
705,
320,
10680,
571,
18842,
2645,
378,
6,
5357,
19269,
9792,
12789,
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
] | [
4919,
867,
1661,
373,
545,
10680,
571,
18842,
2645,
378,
14798,
1201,
362,
13464,
30,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
30349,
796,
705,
320,
10680,
571,
18842,
2645,
378,
6,
5357,
19269,
9792,
12789,
10786,
4... |
Name the most number of s eva | SELECT MAX(number_of_s_eva) FROM table_1558077_8 | [
5376,
262,
749,
1271,
286,
264,
819,
64,
46506,
25882,
7,
17618,
62,
1659,
62,
82,
62,
48855,
8,
16034,
3084,
62,
18742,
1795,
3324,
62,
23
] | [
1,
1,
1,
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,
1271,
286,
264,
819,
64,
46506,
25882,
7,
17618,
62,
1659,
62,
82,
62,
48855,
8,
16034,
3084,
62,
18742,
1795,
3324,
62,
23
] |
Visualize the relationship between School_ID and All_Games_Percent , and group by attribute All_Games. | SELECT School_ID, All_Games_Percent FROM basketball_match GROUP BY All_Games | [
36259,
1096,
262,
2776,
1022,
3961,
62,
2389,
290,
1439,
62,
24474,
62,
31905,
837,
290,
1448,
416,
11688,
1439,
62,
24474,
13,
46506,
3961,
62,
2389,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
15699,
44441,
11050,
1439,
62,
244... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
36259,
1096,
262,
2776,
1022,
3961,
62,
2389,
290,
1439,
62,
24474,
62,
31905,
837,
290,
1448,
416,
11688,
1439,
62,
24474,
13,
46506,
3961,
62,
2389,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
15699,
44441,
11050,
1439,
62,
244... |
What is the Hadeda Ibis when the Knobbilled Duck is Pied Crow? | SELECT "Hadeda Ibis" FROM table_23495 WHERE "Knobbilled Duck" = 'Pied Crow' | [
2061,
318,
262,
367,
5286,
64,
21089,
271,
618,
262,
6102,
21963,
2967,
21867,
318,
350,
798,
15502,
30,
46506,
366,
39,
5286,
64,
21089,
271,
1,
16034,
3084,
62,
1954,
33781,
33411,
366,
25095,
21963,
2967,
21867,
1,
796,
705,
47,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
367,
5286,
64,
21089,
271,
618,
262,
6102,
21963,
2967,
21867,
318,
350,
798,
15502,
30,
46506,
366,
39,
5286,
64,
21089,
271,
1,
16034,
3084,
62,
1954,
33781,
33411,
366,
25095,
21963,
2967,
21867,
1,
796,
705,
47,
... |
Name the Prominence of the Mountain Peak of matchless mountain pb? | SELECT prominence FROM table_name_81 WHERE mountain_peak = "matchless mountain pb" | [
5376,
262,
10335,
18386,
286,
262,
9638,
23974,
286,
2872,
1203,
8598,
279,
65,
30,
46506,
31198,
16034,
3084,
62,
3672,
62,
6659,
33411,
8598,
62,
36729,
796,
366,
15699,
1203,
8598,
279,
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,
1,
1
] | [
5376,
262,
10335,
18386,
286,
262,
9638,
23974,
286,
2872,
1203,
8598,
279,
65,
30,
46506,
31198,
16034,
3084,
62,
3672,
62,
6659,
33411,
8598,
62,
36729,
796,
366,
15699,
1203,
8598,
279,
65,
1
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about the amount of hire_date over the hire_date bin hire_date by weekday by a bar chart. | SELECT HIRE_DATE, COUNT(HIRE_DATE) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1577,
502,
262,
7208,
546,
262,
2033,
286,
11078,
62,
4475,
625,
262,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
28269,
41... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1577,
502,
262,
7208,
546,
262,
2033,
286,
11078,
62,
4475,
625,
262,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
28269,
41... |
How many event dates occurred when event details were women's sabre? | SELECT COUNT(event_date) FROM table_28003469_1 WHERE event_details = "Women's Sabre" | [
2437,
867,
1785,
9667,
5091,
618,
1785,
3307,
547,
1466,
338,
17463,
260,
30,
46506,
327,
28270,
7,
15596,
62,
4475,
8,
16034,
3084,
62,
2078,
405,
2682,
3388,
62,
16,
33411,
1785,
62,
36604,
796,
366,
18495,
338,
9910,
260,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1785,
9667,
5091,
618,
1785,
3307,
547,
1466,
338,
17463,
260,
30,
46506,
327,
28270,
7,
15596,
62,
4475,
8,
16034,
3084,
62,
2078,
405,
2682,
3388,
62,
16,
33411,
1785,
62,
36604,
796,
366,
18495,
338,
9910,
260,
1
] |
which model comes after m939 truck ? | SELECT "model" FROM table_204_430 WHERE id = (SELECT id FROM table_204_430 WHERE "model" = 'm939 truck') + 1 | [
4758,
2746,
2058,
706,
285,
24,
2670,
7779,
5633,
46506,
366,
19849,
1,
16034,
3084,
62,
18638,
62,
31794,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
31794,
33411,
366,
19849,
1,
796,
705,
76,
24,
2670,
7779,
1153... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
2746,
2058,
706,
285,
24,
2670,
7779,
5633,
46506,
366,
19849,
1,
16034,
3084,
62,
18638,
62,
31794,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
31794,
33411,
366,
19849,
1,
796,
705,
76,
24,
2670,
7779,
1153... |
What kind of Disc number has a Track number of 02 on 7 september 2004? | SELECT "Disc number" FROM table_43806 WHERE "Track number" = '02' AND "Release date" = '7 september 2004' | [
2061,
1611,
286,
8444,
1271,
468,
257,
17762,
1271,
286,
7816,
319,
767,
384,
457,
1491,
5472,
30,
46506,
366,
15642,
1271,
1,
16034,
3084,
62,
3559,
37988,
33411,
366,
24802,
1271,
1,
796,
705,
2999,
6,
5357,
366,
26362,
3128,
1,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1611,
286,
8444,
1271,
468,
257,
17762,
1271,
286,
7816,
319,
767,
384,
457,
1491,
5472,
30,
46506,
366,
15642,
1271,
1,
16034,
3084,
62,
3559,
37988,
33411,
366,
24802,
1271,
1,
796,
705,
2999,
6,
5357,
366,
26362,
3128,
1,
7... |
what was the largest difference of points in a single game ? | SELECT MAX(ABS("result" - "result")) FROM table_203_775 | [
10919,
373,
262,
4387,
3580,
286,
2173,
287,
257,
2060,
983,
5633,
46506,
25882,
7,
32,
4462,
7203,
20274,
1,
532,
366,
20274,
48774,
16034,
3084,
62,
22416,
62,
34483
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
373,
262,
4387,
3580,
286,
2173,
287,
257,
2060,
983,
5633,
46506,
25882,
7,
32,
4462,
7203,
20274,
1,
532,
366,
20274,
48774,
16034,
3084,
62,
22416,
62,
34483
] |
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, what is the relationship between commission_pct and department_id ? | SELECT COMMISSION_PCT, DEPARTMENT_ID FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
644,
318,
262,
2776,
1022,
5810,
62,
79,
310,
290,
5011,
62,
312,
5633,
46506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
644,
318,
262,
2776,
1022,
5810,
62,
79,
310,
290,
5011,
62,
312,
5633,
46506,
... |
What is the lowest number drawn with less than 2 lost? | SELECT MIN(drawn) FROM table_name_36 WHERE lost < 2 | [
2061,
318,
262,
9016,
1271,
7428,
351,
1342,
621,
362,
2626,
30,
46506,
20625,
7,
41549,
8,
16034,
3084,
62,
3672,
62,
2623,
33411,
2626,
1279,
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
] | [
2061,
318,
262,
9016,
1271,
7428,
351,
1342,
621,
362,
2626,
30,
46506,
20625,
7,
41549,
8,
16034,
3084,
62,
3672,
62,
2623,
33411,
2626,
1279,
362
] |
Name the segment d for chicken | SELECT "Segment D" FROM table_19939 WHERE "Segment C" = 'Chicken' | [
5376,
262,
10618,
288,
329,
9015,
46506,
366,
41030,
434,
360,
1,
16034,
3084,
62,
19104,
2670,
33411,
366,
41030,
434,
327,
1,
796,
705,
45565,
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
] | [
5376,
262,
10618,
288,
329,
9015,
46506,
366,
41030,
434,
360,
1,
16034,
3084,
62,
19104,
2670,
33411,
366,
41030,
434,
327,
1,
796,
705,
45565,
6
] |
what is the number of patients whose admission year is less than 2195 and drug route is sl? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admityear < "2195" AND prescriptions.route = "SL" | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
22186,
290,
2563,
6339,
318,
1017,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
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... | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
22186,
290,
2563,
6339,
318,
1017,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6... |
Which round resulted in 10-52? | SELECT round FROM table_name_67 WHERE score = "10-52" | [
13828,
2835,
8724,
287,
838,
12,
4309,
30,
46506,
2835,
16034,
3084,
62,
3672,
62,
3134,
33411,
4776,
796,
366,
940,
12,
4309,
1
] | [
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,
2835,
8724,
287,
838,
12,
4309,
30,
46506,
2835,
16034,
3084,
62,
3672,
62,
3134,
33411,
4776,
796,
366,
940,
12,
4309,
1
] |
what's the report with location sterreichring | SELECT report FROM table_1140080_2 WHERE location = "Österreichring" | [
10919,
338,
262,
989,
351,
4067,
12504,
260,
488,
1806,
46506,
989,
16034,
3084,
62,
1157,
7029,
1795,
62,
17,
33411,
4067,
796,
366,
127,
244,
1706,
260,
488,
1806,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
989,
351,
4067,
12504,
260,
488,
1806,
46506,
989,
16034,
3084,
62,
1157,
7029,
1795,
62,
17,
33411,
4067,
796,
366,
127,
244,
1706,
260,
488,
1806,
1
] |
who are all the co-authors of Srinivasan Iyer ? | SELECT DISTINCT AUTHOR_1.authorid FROM author AS AUTHOR_0, author AS AUTHOR_1, writes AS WRITES_0, writes AS WRITES_1 WHERE AUTHOR_0.authorname = 'Srinivasan Iyer' AND WRITES_0.authorid = AUTHOR_0.authorid AND WRITES_1.authorid = AUTHOR_1.authorid AND WRITES_1.paperid = WRITES_0.paperid | [
8727,
389,
477,
262,
763,
12,
41617,
286,
311,
12769,
38630,
272,
314,
9860,
5633,
46506,
360,
8808,
1268,
4177,
44746,
62,
16,
13,
9800,
312,
16034,
1772,
7054,
44746,
62,
15,
11,
1772,
7054,
44746,
62,
16,
11,
6797,
7054,
11342,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8727,
389,
477,
262,
763,
12,
41617,
286,
311,
12769,
38630,
272,
314,
9860,
5633,
46506,
360,
8808,
1268,
4177,
44746,
62,
16,
13,
9800,
312,
16034,
1772,
7054,
44746,
62,
15,
11,
1772,
7054,
44746,
62,
16,
11,
6797,
7054,
11342,
2... |
What is Brian Gay's place? | SELECT place FROM table_name_77 WHERE player = "brian gay" | [
2061,
318,
8403,
16013,
338,
1295,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
3324,
33411,
2137,
796,
366,
65,
4484,
5650,
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,
8403,
16013,
338,
1295,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
3324,
33411,
2137,
796,
366,
65,
4484,
5650,
1
] |
What year was the class 253 larger than 18 built? | SELECT year_built FROM table_name_10 WHERE class = "class 253" AND number > 18 | [
2061,
614,
373,
262,
1398,
32056,
4025,
621,
1248,
3170,
30,
46506,
614,
62,
18780,
16034,
3084,
62,
3672,
62,
940,
33411,
1398,
796,
366,
4871,
32056,
1,
5357,
1271,
1875,
1248
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
614,
373,
262,
1398,
32056,
4025,
621,
1248,
3170,
30,
46506,
614,
62,
18780,
16034,
3084,
62,
3672,
62,
940,
33411,
1398,
796,
366,
4871,
32056,
1,
5357,
1271,
1875,
1248
] |
Which team has points less than 6 in a year after 1969? | SELECT team FROM table_name_81 WHERE points < 6 AND year > 1969 | [
13828,
1074,
468,
2173,
1342,
621,
718,
287,
257,
614,
706,
16450,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
6659,
33411,
2173,
1279,
718,
5357,
614,
1875,
16450
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1074,
468,
2173,
1342,
621,
718,
287,
257,
614,
706,
16450,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
6659,
33411,
2173,
1279,
718,
5357,
614,
1875,
16450
] |
what number of patients have been diagnosed with lower urinary tract infection - likely bacterial in 2104? | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'lower urinary tract infection - likely bacterial' AND STRFTIME('%y', diagnosis.diagnosistime) = '2104') | [
10919,
1271,
286,
3871,
423,
587,
14641,
351,
2793,
38628,
14998,
10280,
532,
1884,
23462,
287,
362,
13464,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
20850,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
3871,
423,
587,
14641,
351,
2793,
38628,
14998,
10280,
532,
1884,
23462,
287,
362,
13464,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
20850,
... |
Name the Daytime which has a Name of exmouth? | SELECT daytime FROM table_name_22 WHERE name = "exmouth" | [
5376,
262,
3596,
2435,
543,
468,
257,
6530,
286,
409,
14775,
30,
46506,
32899,
16034,
3084,
62,
3672,
62,
1828,
33411,
1438,
796,
366,
1069,
14775,
1
] | [
1,
1,
1,
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,
3596,
2435,
543,
468,
257,
6530,
286,
409,
14775,
30,
46506,
32899,
16034,
3084,
62,
3672,
62,
1828,
33411,
1438,
796,
366,
1069,
14775,
1
] |
how many times was laos the opponent ? | SELECT COUNT(*) FROM table_204_913 WHERE "opponent" = 'laos' | [
4919,
867,
1661,
373,
300,
7495,
262,
6125,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
24,
1485,
33411,
366,
10365,
3471,
1,
796,
705,
5031,
418,
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
] | [
4919,
867,
1661,
373,
300,
7495,
262,
6125,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
24,
1485,
33411,
366,
10365,
3471,
1,
796,
705,
5031,
418,
6
] |
What is Semifinalists, when Tournament is Rome | SELECT "Semifinalists" FROM table_46641 WHERE "Tournament" = 'rome' | [
2061,
318,
12449,
361,
1292,
1023,
11,
618,
9595,
318,
10598,
46506,
366,
13900,
361,
1292,
1023,
1,
16034,
3084,
62,
3510,
42759,
33411,
366,
51,
5138,
1,
796,
705,
5998,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
12449,
361,
1292,
1023,
11,
618,
9595,
318,
10598,
46506,
366,
13900,
361,
1292,
1023,
1,
16034,
3084,
62,
3510,
42759,
33411,
366,
51,
5138,
1,
796,
705,
5998,
6
] |
What is the debut album for the artist with the winning song kemenangan hati? | SELECT "Debut Album" FROM table_1461 WHERE "Winning Song" = 'Kemenangan Hati' | [
2061,
318,
262,
8886,
5062,
329,
262,
6802,
351,
262,
5442,
3496,
885,
3653,
37089,
6877,
72,
30,
46506,
366,
16587,
315,
23999,
1,
16034,
3084,
62,
1415,
5333,
33411,
366,
16643,
768,
10940,
1,
796,
705,
42,
8952,
37089,
367,
7246,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8886,
5062,
329,
262,
6802,
351,
262,
5442,
3496,
885,
3653,
37089,
6877,
72,
30,
46506,
366,
16587,
315,
23999,
1,
16034,
3084,
62,
1415,
5333,
33411,
366,
16643,
768,
10940,
1,
796,
705,
42,
8952,
37089,
367,
7246,
... |
Who directed the episode titled 'Risky Business'? | SELECT "Director" FROM table_2879 WHERE "Title" = 'Risky Business' | [
8241,
7924,
262,
4471,
11946,
705,
49,
34041,
7320,
30960,
46506,
366,
28702,
1,
16034,
3084,
62,
2078,
3720,
33411,
366,
19160,
1,
796,
705,
49,
34041,
7320,
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
] | [
8241,
7924,
262,
4471,
11946,
705,
49,
34041,
7320,
30960,
46506,
366,
28702,
1,
16034,
3084,
62,
2078,
3720,
33411,
366,
19160,
1,
796,
705,
49,
34041,
7320,
6
] |
what was the most marathons that pavel loskutov ran in any year ? | SELECT COUNT(*) FROM table_203_270 GROUP BY "year" ORDER BY COUNT(*) DESC LIMIT 1 | [
10919,
373,
262,
749,
1667,
776,
684,
326,
14187,
626,
22346,
74,
315,
709,
4966,
287,
597,
614,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
20233,
44441,
11050,
366,
1941,
1,
38678,
11050,
327,
28270,
7,
28104,
221... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
373,
262,
749,
1667,
776,
684,
326,
14187,
626,
22346,
74,
315,
709,
4966,
287,
597,
614,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
20233,
44441,
11050,
366,
1941,
1,
38678,
11050,
327,
28270,
7,
28104,
221... |
how much taller in oliver venno than rait rikberg ? | SELECT (SELECT "height" FROM table_203_116 WHERE "player" = 'oliver venno') - (SELECT "height" FROM table_203_116 WHERE "player" = 'rait rikberg') | [
4919,
881,
25242,
287,
25776,
1428,
410,
1697,
78,
621,
2179,
270,
374,
1134,
3900,
5633,
46506,
357,
46506,
366,
17015,
1,
16034,
3084,
62,
22416,
62,
18298,
33411,
366,
7829,
1,
796,
705,
349,
1428,
410,
1697,
78,
11537,
532,
357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
881,
25242,
287,
25776,
1428,
410,
1697,
78,
621,
2179,
270,
374,
1134,
3900,
5633,
46506,
357,
46506,
366,
17015,
1,
16034,
3084,
62,
22416,
62,
18298,
33411,
366,
7829,
1,
796,
705,
349,
1428,
410,
1697,
78,
11537,
532,
357,
... |
WHAT ARE THE BYES WITH A WIN SMALLER THAN 16, 8 LOSSES, AND AT PENSHURST, WITH AGAINST SMALLER THAN 1405? | SELECT SUM(byes) FROM table_name_24 WHERE wins < 16 AND losses = 8 AND mininera_dfl = "penshurst" AND against < 1405 | [
32971,
15986,
3336,
11050,
1546,
13315,
317,
25779,
9447,
7036,
1137,
2320,
1565,
1467,
11,
807,
406,
18420,
1546,
11,
5357,
5161,
350,
1677,
9693,
4261,
2257,
11,
13315,
36218,
38604,
9447,
7036,
1137,
2320,
1565,
1478,
2713,
30,
46506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
32971,
15986,
3336,
11050,
1546,
13315,
317,
25779,
9447,
7036,
1137,
2320,
1565,
1467,
11,
807,
406,
18420,
1546,
11,
5357,
5161,
350,
1677,
9693,
4261,
2257,
11,
13315,
36218,
38604,
9447,
7036,
1137,
2320,
1565,
1478,
2713,
30,
46506,
... |
What date was the game when the liberty had a record of 12-9? | SELECT "Date" FROM table_49734 WHERE "Record" = '12-9' | [
2061,
3128,
373,
262,
983,
618,
262,
12354,
550,
257,
1700,
286,
1105,
12,
24,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
38073,
2682,
33411,
366,
23739,
1,
796,
705,
1065,
12,
24,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3128,
373,
262,
983,
618,
262,
12354,
550,
257,
1700,
286,
1105,
12,
24,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
38073,
2682,
33411,
366,
23739,
1,
796,
705,
1065,
12,
24,
6
] |
What is the Place when Fuzzy Zoeller plated in the United States? | SELECT "Place" FROM table_46402 WHERE "Country" = 'united states' AND "Player" = 'fuzzy zoeller' | [
2061,
318,
262,
8474,
618,
376,
4715,
88,
31645,
12368,
458,
515,
287,
262,
1578,
1829,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
3510,
32531,
33411,
366,
33921,
1,
796,
705,
41187,
2585,
6,
5357,
366,
14140,
1,
796,
705,
69,
4715,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8474,
618,
376,
4715,
88,
31645,
12368,
458,
515,
287,
262,
1578,
1829,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
3510,
32531,
33411,
366,
33921,
1,
796,
705,
41187,
2585,
6,
5357,
366,
14140,
1,
796,
705,
69,
4715,... |
Users with the most 0-scored answers. Returns the top 1000 users based on the number of answers they have with a score of 0 (zero). | SELECT u.DisplayName, COUNT(*) AS NumberOfAnswers FROM Users AS u INNER JOIN Posts AS p ON u.Id = p.OwnerUserId WHERE p.Score = 0 AND p.PostTypeId = 2 GROUP BY u.DisplayName ORDER BY NumberOfAnswers DESC LIMIT 1000 | [
14490,
351,
262,
749,
657,
12,
1416,
1850,
7429,
13,
16409,
262,
1353,
8576,
2985,
1912,
319,
262,
1271,
286,
7429,
484,
423,
351,
257,
4776,
286,
657,
357,
22570,
737,
46506,
334,
13,
23114,
5376,
11,
327,
28270,
7,
28104,
7054,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
14490,
351,
262,
749,
657,
12,
1416,
1850,
7429,
13,
16409,
262,
1353,
8576,
2985,
1912,
319,
262,
1271,
286,
7429,
484,
423,
351,
257,
4776,
286,
657,
357,
22570,
737,
46506,
334,
13,
23114,
5376,
11,
327,
28270,
7,
28104,
7054,
79... |
Which venues were closed because they were replaced? | SELECT location FROM table_name_5 WHERE reason = "replaced" | [
13828,
22276,
547,
4838,
780,
484,
547,
6928,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
20,
33411,
1738,
796,
366,
260,
21820,
1
] | [
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,
22276,
547,
4838,
780,
484,
547,
6928,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
20,
33411,
1738,
796,
366,
260,
21820,
1
] |
Let me know the death status and health insurance under which the patient with patient id 4333 was covered. | SELECT demographic.insurance, demographic.expire_flag FROM demographic WHERE demographic.subject_id = "4333" | [
5756,
502,
760,
262,
1918,
3722,
290,
1535,
5096,
739,
543,
262,
5827,
351,
5827,
4686,
604,
20370,
373,
5017,
13,
46506,
16728,
13,
1040,
3874,
11,
16728,
13,
1069,
5111,
62,
32109,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
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
] | [
5756,
502,
760,
262,
1918,
3722,
290,
1535,
5096,
739,
543,
262,
5827,
351,
5827,
4686,
604,
20370,
373,
5017,
13,
46506,
16728,
13,
1040,
3874,
11,
16728,
13,
1069,
5111,
62,
32109,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796... |
would you tell me the cheapest one way fare from BOSTON to OAKLAND | SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_... | [
19188,
345,
1560,
502,
262,
28918,
530,
835,
14505,
422,
347,
10892,
1340,
284,
440,
10206,
28182,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
19188,
345,
1560,
502,
262,
28918,
530,
835,
14505,
422,
347,
10892,
1340,
284,
440,
10206,
28182,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
... |
What was the qualifying time of Jim Rathmann in 1959? | SELECT "Qual" FROM table_69518 WHERE "Year" = '1959' | [
2061,
373,
262,
18677,
640,
286,
5395,
26494,
9038,
287,
23859,
30,
46506,
366,
46181,
1,
16034,
3084,
62,
37381,
1507,
33411,
366,
17688,
1,
796,
705,
45403,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
18677,
640,
286,
5395,
26494,
9038,
287,
23859,
30,
46506,
366,
46181,
1,
16034,
3084,
62,
37381,
1507,
33411,
366,
17688,
1,
796,
705,
45403,
6
] |
Who was the musical guest when the panelists were Nancy Sorrell and Samia Smith? | SELECT "Musical Guest (Song performed)" FROM table_41164 WHERE "Who knows the most about the guest host? panelists" = 'nancy sorrell and samia smith' | [
8241,
373,
262,
10530,
8319,
618,
262,
6103,
1023,
547,
18496,
15423,
11252,
290,
3409,
544,
4176,
30,
46506,
366,
10694,
605,
22358,
357,
44241,
6157,
16725,
16034,
3084,
62,
42224,
2414,
33411,
366,
8241,
4206,
262,
749,
546,
262,
831... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10530,
8319,
618,
262,
6103,
1023,
547,
18496,
15423,
11252,
290,
3409,
544,
4176,
30,
46506,
366,
10694,
605,
22358,
357,
44241,
6157,
16725,
16034,
3084,
62,
42224,
2414,
33411,
366,
8241,
4206,
262,
749,
546,
262,
831... |
How many people attended the game against athletics with the record of 9-12? | SELECT COUNT(attendance) FROM table_name_40 WHERE opponent = "athletics" AND record = "9-12" | [
2437,
867,
661,
9141,
262,
983,
1028,
35691,
351,
262,
1700,
286,
860,
12,
1065,
30,
46506,
327,
28270,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
6125,
796,
366,
776,
1616,
873,
1,
5357,
1700,
796,
366,
24,
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
] | [
2437,
867,
661,
9141,
262,
983,
1028,
35691,
351,
262,
1700,
286,
860,
12,
1065,
30,
46506,
327,
28270,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
6125,
796,
366,
776,
1616,
873,
1,
5357,
1700,
796,
366,
24,
12,... |
For employees with first names that end with the letter m, groups and count the first name to visualize a bar graph, show from high to low by the total number. | SELECT FIRST_NAME, COUNT(FIRST_NAME) FROM employees WHERE FIRST_NAME LIKE '%m' GROUP BY FIRST_NAME ORDER BY COUNT(FIRST_NAME) DESC | [
1890,
4409,
351,
717,
3891,
326,
886,
351,
262,
3850,
285,
11,
2628,
290,
954,
262,
717,
1438,
284,
38350,
257,
2318,
4823,
11,
905,
422,
1029,
284,
1877,
416,
262,
2472,
1271,
13,
46506,
31328,
62,
20608,
11,
327,
28270,
7,
39776,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4409,
351,
717,
3891,
326,
886,
351,
262,
3850,
285,
11,
2628,
290,
954,
262,
717,
1438,
284,
38350,
257,
2318,
4823,
11,
905,
422,
1029,
284,
1877,
416,
262,
2472,
1271,
13,
46506,
31328,
62,
20608,
11,
327,
28270,
7,
39776,
... |
what is the two year survival rate of congestive heart failure - left-sided patients diagnosed? | SELECT SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t2.diagnosistime) > 2 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOI... | [
10919,
318,
262,
734,
614,
9441,
2494,
286,
22791,
425,
2612,
5287,
532,
1364,
12,
22339,
3871,
14641,
30,
46506,
35683,
7,
34,
11159,
42099,
5827,
13,
49257,
6381,
11121,
395,
7240,
796,
705,
282,
425,
6,
42243,
352,
42099,
19269,
97... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
734,
614,
9441,
2494,
286,
22791,
425,
2612,
5287,
532,
1364,
12,
22339,
3871,
14641,
30,
46506,
35683,
7,
34,
11159,
42099,
5827,
13,
49257,
6381,
11121,
395,
7240,
796,
705,
282,
425,
6,
42243,
352,
42099,
19269,
97... |
What is the average amount of attenders when away team score is 12.10 (82)? | SELECT AVG("Crowd") FROM table_55059 WHERE "Away team score" = '12.10 (82)' | [
2061,
318,
262,
2811,
2033,
286,
5262,
364,
618,
1497,
1074,
4776,
318,
1105,
13,
940,
357,
6469,
19427,
46506,
35224,
7203,
34,
3986,
4943,
16034,
3084,
62,
22730,
3270,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1065,
13,
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
] | [
2061,
318,
262,
2811,
2033,
286,
5262,
364,
618,
1497,
1074,
4776,
318,
1105,
13,
940,
357,
6469,
19427,
46506,
35224,
7203,
34,
3986,
4943,
16034,
3084,
62,
22730,
3270,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1065,
13,
940,
... |
What is the smallest rate of burglary when forcible rape is 39.1 and motor vehicle theft is less than 568.8? | SELECT MIN("Burglary") FROM table_61065 WHERE "Forcible Rape" = '39.1' AND "Motor Vehicle Theft" < '568.8' | [
2061,
318,
262,
18197,
2494,
286,
33724,
618,
24686,
856,
7262,
318,
5014,
13,
16,
290,
5584,
4038,
12402,
318,
1342,
621,
642,
3104,
13,
23,
30,
46506,
20625,
7203,
33,
3686,
75,
560,
4943,
16034,
3084,
62,
39132,
2996,
33411,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
18197,
2494,
286,
33724,
618,
24686,
856,
7262,
318,
5014,
13,
16,
290,
5584,
4038,
12402,
318,
1342,
621,
642,
3104,
13,
23,
30,
46506,
20625,
7203,
33,
3686,
75,
560,
4943,
16034,
3084,
62,
39132,
2996,
33411,
366,
... |
Find the branch name of the bank that has the most number of customers. | SELECT bname FROM bank ORDER BY no_of_customers DESC LIMIT 1 | [
16742,
262,
8478,
1438,
286,
262,
3331,
326,
468,
262,
749,
1271,
286,
4297,
13,
46506,
275,
3672,
16034,
3331,
38678,
11050,
645,
62,
1659,
62,
23144,
364,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
8478,
1438,
286,
262,
3331,
326,
468,
262,
749,
1271,
286,
4297,
13,
46506,
275,
3672,
16034,
3331,
38678,
11050,
645,
62,
1659,
62,
23144,
364,
22196,
34,
27564,
2043,
352
] |
what is the official rating 16-39 for the episode with a 16-39 share of 22,77%? | SELECT "Official rating 16-39" FROM table_74428 WHERE "Share 16-39" = '22,77%' | [
10919,
318,
262,
1743,
7955,
1467,
12,
2670,
329,
262,
4471,
351,
257,
1467,
12,
2670,
2648,
286,
2534,
11,
3324,
4,
30,
46506,
366,
28529,
7955,
1467,
12,
2670,
1,
16034,
3084,
62,
22,
2598,
2078,
33411,
366,
11649,
1467,
12,
2670,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1743,
7955,
1467,
12,
2670,
329,
262,
4471,
351,
257,
1467,
12,
2670,
2648,
286,
2534,
11,
3324,
4,
30,
46506,
366,
28529,
7955,
1467,
12,
2670,
1,
16034,
3084,
62,
22,
2598,
2078,
33411,
366,
11649,
1467,
12,
2670,... |
what were the three most frequent drugs prescribed within the same month to the male patients of age 30s after they had been diagnosed with chr airway obstruct nec, until 2103. | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE ... | [
10919,
547,
262,
1115,
749,
10792,
5010,
14798,
1626,
262,
976,
1227,
284,
262,
4257,
3871,
286,
2479,
1542,
82,
706,
484,
550,
587,
14641,
351,
442,
81,
1633,
1014,
26520,
27576,
11,
1566,
362,
15197,
13,
46506,
256,
18,
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... | [
10919,
547,
262,
1115,
749,
10792,
5010,
14798,
1626,
262,
976,
1227,
284,
262,
4257,
3871,
286,
2479,
1542,
82,
706,
484,
550,
587,
14641,
351,
442,
81,
1633,
1014,
26520,
27576,
11,
1566,
362,
15197,
13,
46506,
256,
18,
13,
30349,
... |
have any sc 28 pg medications ever been given to patient 28443 during the current hospital encounter? | SELECT COUNT(*) > 0 FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 28443 AND admissions.dischtime IS NULL)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_item... | [
14150,
597,
629,
2579,
23241,
17638,
1683,
587,
1813,
284,
5827,
2579,
34938,
1141,
262,
1459,
4436,
8791,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
79,
1133,
85,
658,
62,
33967,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
14150,
597,
629,
2579,
23241,
17638,
1683,
587,
1813,
284,
5827,
2579,
34938,
1141,
262,
1459,
4436,
8791,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
79,
1133,
85,
658,
62,
33967,... |
What is every surface with a score in the final of 6 4, 6 7 (1 7) , 6 7 (4 7) , 4 6? | SELECT "Surface" FROM table_73496 WHERE "Score in the final" = '6–4, 6–7 (1–7) , 6–7 (4–7) , 4–6' | [
2061,
318,
790,
4417,
351,
257,
4776,
287,
262,
2457,
286,
718,
604,
11,
718,
767,
357,
16,
767,
8,
837,
718,
767,
357,
19,
767,
8,
837,
604,
718,
30,
46506,
366,
14214,
2550,
1,
16034,
3084,
62,
22,
2682,
4846,
33411,
366,
2659... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
790,
4417,
351,
257,
4776,
287,
262,
2457,
286,
718,
604,
11,
718,
767,
357,
16,
767,
8,
837,
718,
767,
357,
19,
767,
8,
837,
604,
718,
30,
46506,
366,
14214,
2550,
1,
16034,
3084,
62,
22,
2682,
4846,
33411,
366,
2659... |
whats the first ward id of patient 006-77873 in this year? | SELECT patient.wardid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-77873') AND DATETIME(patient.unitadmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') ORDER BY patient.unitadmittime LIMIT 1 | [
1929,
1381,
262,
717,
15305,
4686,
286,
5827,
3571,
21,
12,
39761,
4790,
287,
428,
614,
30,
46506,
5827,
13,
904,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1929,
1381,
262,
717,
15305,
4686,
286,
5827,
3571,
21,
12,
39761,
4790,
287,
428,
614,
30,
46506,
5827,
13,
904,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712... |
Look for my old votes. Only find my favorites | SELECT Title, Body, PostId AS "post_link" FROM Votes JOIN VoteTypes ON VoteTypeId = VoteTypes.Id JOIN Posts ON PostId = Posts.Id WHERE UserId = '##UserId##' | [
8567,
329,
616,
1468,
5690,
13,
5514,
1064,
616,
18852,
46506,
11851,
11,
12290,
11,
2947,
7390,
7054,
366,
7353,
62,
8726,
1,
16034,
39584,
32357,
1268,
19175,
31431,
6177,
19175,
6030,
7390,
796,
19175,
31431,
13,
7390,
32357,
1268,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8567,
329,
616,
1468,
5690,
13,
5514,
1064,
616,
18852,
46506,
11851,
11,
12290,
11,
2947,
7390,
7054,
366,
7353,
62,
8726,
1,
16034,
39584,
32357,
1268,
19175,
31431,
6177,
19175,
6030,
7390,
796,
19175,
31431,
13,
7390,
32357,
1268,
1... |
Where did Footscray play as the away team? | SELECT venue FROM table_name_27 WHERE away_team = "footscray" | [
8496,
750,
7870,
1416,
2433,
711,
355,
262,
1497,
1074,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1983,
33411,
1497,
62,
15097,
796,
366,
5898,
1416,
2433,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8496,
750,
7870,
1416,
2433,
711,
355,
262,
1497,
1074,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1983,
33411,
1497,
62,
15097,
796,
366,
5898,
1416,
2433,
1
] |
What was the rank for the finish time of 1:42.054? | SELECT AVG("Rank") FROM table_62810 WHERE "Time" = '1:42.054' | [
2061,
373,
262,
4279,
329,
262,
5461,
640,
286,
352,
25,
3682,
13,
2713,
19,
30,
46506,
35224,
7203,
27520,
4943,
16034,
3084,
62,
48200,
940,
33411,
366,
7575,
1,
796,
705,
16,
25,
3682,
13,
2713,
19,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4279,
329,
262,
5461,
640,
286,
352,
25,
3682,
13,
2713,
19,
30,
46506,
35224,
7203,
27520,
4943,
16034,
3084,
62,
48200,
940,
33411,
366,
7575,
1,
796,
705,
16,
25,
3682,
13,
2713,
19,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.