instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
When was the premiere of the show that had a rank of #7? | SELECT premiere FROM table_name_30 WHERE rank = "#7" | [
2215,
373,
262,
19245,
286,
262,
905,
326,
550,
257,
4279,
286,
1303,
22,
30,
46506,
19245,
16034,
3084,
62,
3672,
62,
1270,
33411,
4279,
796,
25113,
22,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
373,
262,
19245,
286,
262,
905,
326,
550,
257,
4279,
286,
1303,
22,
30,
46506,
19245,
16034,
3084,
62,
3672,
62,
1270,
33411,
4279,
796,
25113,
22,
1
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, find hire_date and the amount of hire_date bin hire_date by time, and visualize them by a bar chart, and display y axis in desc order. | 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) ORDER BY COUNT(HIRE_DATE) DESC | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1064,
11078,
62,
4475,
290,
262,
2033,
286,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
640,
11,
290,
38350,
606,
416,
257,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1064,
11078,
62,
4475,
290,
262,
2033,
286,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
640,
11,
290,
38350,
606,
416,
257,... |
Which Record has a December smaller than 22 and a Score of 4 3? | SELECT "Record" FROM table_34180 WHERE "December" < '22' AND "Score" = '4–3' | [
13828,
13266,
468,
257,
3426,
4833,
621,
2534,
290,
257,
15178,
286,
604,
513,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
2682,
15259,
33411,
366,
20588,
1,
1279,
705,
1828,
6,
5357,
366,
26595,
1,
796,
705,
19,
1906,
18,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
13266,
468,
257,
3426,
4833,
621,
2534,
290,
257,
15178,
286,
604,
513,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
2682,
15259,
33411,
366,
20588,
1,
1279,
705,
1828,
6,
5357,
366,
26595,
1,
796,
705,
19,
1906,
18,
6
] |
What is the Dutch translation of the Latin word navigo? | SELECT "Dutch" FROM table_40476 WHERE "Latin" = 'navigo' | [
2061,
318,
262,
10914,
11059,
286,
262,
9133,
1573,
6812,
14031,
30,
46506,
366,
49717,
1,
16034,
3084,
62,
1821,
35435,
33411,
366,
49022,
1,
796,
705,
28341,
14031,
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,
10914,
11059,
286,
262,
9133,
1573,
6812,
14031,
30,
46506,
366,
49717,
1,
16034,
3084,
62,
1821,
35435,
33411,
366,
49022,
1,
796,
705,
28341,
14031,
6
] |
A bar chart about the number of end dates for incidents with incident type code 'NOISE'?, sort date_incident_end from low to high order. | SELECT date_incident_end, COUNT(date_incident_end) FROM Behavior_Incident WHERE incident_type_code = "NOISE" GROUP BY date_incident_end ORDER BY date_incident_end | [
32,
2318,
8262,
546,
262,
1271,
286,
886,
9667,
329,
10207,
351,
4519,
2099,
2438,
705,
15285,
24352,
6,
21747,
3297,
3128,
62,
1939,
738,
62,
437,
422,
1877,
284,
1029,
1502,
13,
46506,
3128,
62,
1939,
738,
62,
437,
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,
1,
1... | [
32,
2318,
8262,
546,
262,
1271,
286,
886,
9667,
329,
10207,
351,
4519,
2099,
2438,
705,
15285,
24352,
6,
21747,
3297,
3128,
62,
1939,
738,
62,
437,
422,
1877,
284,
1029,
1502,
13,
46506,
3128,
62,
1939,
738,
62,
437,
11,
327,
28270,... |
what country only received gold medals in the 1994 winter olympics biathlon ? | SELECT "nation" FROM table_204_703 WHERE "gold" > 0 AND "silver" = 0 AND "bronze" = 0 | [
10919,
1499,
691,
2722,
3869,
28057,
287,
262,
9162,
7374,
267,
6760,
873,
3182,
50236,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
18638,
62,
36809,
33411,
366,
24267,
1,
1875,
657,
5357,
366,
40503,
1,
796,
657,
5357,
366,
65,
1313... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1499,
691,
2722,
3869,
28057,
287,
262,
9162,
7374,
267,
6760,
873,
3182,
50236,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
18638,
62,
36809,
33411,
366,
24267,
1,
1875,
657,
5357,
366,
40503,
1,
796,
657,
5357,
366,
65,
1313... |
what movie did sunil kumar desai star in before marma ? | SELECT "film title" FROM table_204_667 WHERE "year" < (SELECT "year" FROM table_204_667 WHERE "film title" = 'marma') ORDER BY "year" DESC LIMIT 1 | [
10919,
3807,
750,
4252,
346,
479,
44844,
748,
1872,
3491,
287,
878,
1667,
2611,
5633,
46506,
366,
26240,
3670,
1,
16034,
3084,
62,
18638,
62,
28933,
33411,
366,
1941,
1,
1279,
357,
46506,
366,
1941,
1,
16034,
3084,
62,
18638,
62,
2893... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3807,
750,
4252,
346,
479,
44844,
748,
1872,
3491,
287,
878,
1667,
2611,
5633,
46506,
366,
26240,
3670,
1,
16034,
3084,
62,
18638,
62,
28933,
33411,
366,
1941,
1,
1279,
357,
46506,
366,
1941,
1,
16034,
3084,
62,
18638,
62,
2893... |
What is the population of Cardwell? | SELECT MIN(population) FROM table_171236_2 WHERE official_name = "Cardwell" | [
2061,
318,
262,
3265,
286,
5172,
4053,
30,
46506,
20625,
7,
39748,
8,
16034,
3084,
62,
1558,
1065,
2623,
62,
17,
33411,
1743,
62,
3672,
796,
366,
16962,
4053,
1
] | [
1,
1,
1,
1,
1,
1,
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,
3265,
286,
5172,
4053,
30,
46506,
20625,
7,
39748,
8,
16034,
3084,
62,
1558,
1065,
2623,
62,
17,
33411,
1743,
62,
3672,
796,
366,
16962,
4053,
1
] |
What year was the movie ' The Imitation Game ' produced | SELECT release_year FROM movie WHERE title = 'The Imitation Game' | [
2061,
614,
373,
262,
3807,
705,
383,
1846,
3780,
3776,
705,
4635,
46506,
2650,
62,
1941,
16034,
3807,
33411,
3670,
796,
705,
464,
1846,
3780,
3776,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
614,
373,
262,
3807,
705,
383,
1846,
3780,
3776,
705,
4635,
46506,
2650,
62,
1941,
16034,
3807,
33411,
3670,
796,
705,
464,
1846,
3780,
3776,
6
] |
Which tournament was andreas haider-maurer the opponent in? | SELECT tournament FROM table_name_94 WHERE opponent = "andreas haider-maurer" | [
13828,
7756,
373,
290,
260,
292,
387,
1304,
12,
2611,
15051,
262,
6125,
287,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
5824,
33411,
6125,
796,
366,
49078,
292,
387,
1304,
12,
2611,
15051,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
373,
290,
260,
292,
387,
1304,
12,
2611,
15051,
262,
6125,
287,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
5824,
33411,
6125,
796,
366,
49078,
292,
387,
1304,
12,
2611,
15051,
1
] |
What is Country, when Score is 71-71-69=211? | SELECT country FROM table_name_26 WHERE score = 71 - 71 - 69 = 211 | [
2061,
318,
12946,
11,
618,
15178,
318,
9166,
12,
4869,
12,
3388,
28,
21895,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
2075,
33411,
4776,
796,
9166,
532,
9166,
532,
8644,
796,
28714
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12946,
11,
618,
15178,
318,
9166,
12,
4869,
12,
3388,
28,
21895,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
2075,
33411,
4776,
796,
9166,
532,
9166,
532,
8644,
796,
28714
] |
What is the colonized date for Michigan? | SELECT colonized FROM table_name_92 WHERE state = "michigan" | [
2061,
318,
262,
7633,
1143,
3128,
329,
7055,
30,
46506,
7633,
1143,
16034,
3084,
62,
3672,
62,
5892,
33411,
1181,
796,
366,
76,
488,
5516,
1
] | [
1,
1,
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,
7633,
1143,
3128,
329,
7055,
30,
46506,
7633,
1143,
16034,
3084,
62,
3672,
62,
5892,
33411,
1181,
796,
366,
76,
488,
5516,
1
] |
What is the Spanish word for cas [ kas]? | SELECT spanish FROM table_26614365_1 WHERE central = "cas [ˈkas]" | [
2061,
318,
262,
7897,
1573,
329,
6124,
685,
479,
292,
60,
30,
46506,
599,
7115,
16034,
3084,
62,
25540,
1415,
24760,
62,
16,
33411,
4318,
796,
366,
34004,
685,
45990,
42749,
30866
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
7897,
1573,
329,
6124,
685,
479,
292,
60,
30,
46506,
599,
7115,
16034,
3084,
62,
25540,
1415,
24760,
62,
16,
33411,
4318,
796,
366,
34004,
685,
45990,
42749,
30866
] |
count the number of patients whose primary disease is morbid obesity/sda and drug name is soln.? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.diagnosis = "MORBID OBESITY/SDA" AND prescriptions.drug = "Soln." | [
9127,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
34813,
13825,
14,
82,
6814,
290,
2563,
1438,
318,
1540,
77,
40791,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4165,
4369,
318,
34813,
13825,
14,
82,
6814,
290,
2563,
1438,
318,
1540,
77,
40791,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34... |
What are all the policy types of the customer named 'Dayana Robel'? | SELECT DISTINCT t3.policy_type_code FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id JOIN available_policies AS t3 ON t2.policy_id = t3.policy_id WHERE t1.customer_name = "Dayana Robel" | [
2061,
389,
477,
262,
2450,
3858,
286,
262,
6491,
3706,
705,
12393,
2271,
3851,
417,
30960,
46506,
360,
8808,
1268,
4177,
256,
18,
13,
30586,
62,
4906,
62,
8189,
16034,
4297,
7054,
256,
16,
32357,
1268,
4297,
62,
79,
4160,
444,
7054,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
2450,
3858,
286,
262,
6491,
3706,
705,
12393,
2271,
3851,
417,
30960,
46506,
360,
8808,
1268,
4177,
256,
18,
13,
30586,
62,
4906,
62,
8189,
16034,
4297,
7054,
256,
16,
32357,
1268,
4297,
62,
79,
4160,
444,
7054,
... |
Name the metrical equivalence for linha | SELECT "Metrical equivalence" FROM table_28772 WHERE "Portuguese name" = 'Linha' | [
5376,
262,
1138,
8143,
6854,
594,
329,
9493,
3099,
46506,
366,
9171,
8143,
6854,
594,
1,
16034,
3084,
62,
2078,
43571,
33411,
366,
13924,
1018,
20506,
1438,
1,
796,
705,
14993,
3099,
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
] | [
5376,
262,
1138,
8143,
6854,
594,
329,
9493,
3099,
46506,
366,
9171,
8143,
6854,
594,
1,
16034,
3084,
62,
2078,
43571,
33411,
366,
13924,
1018,
20506,
1438,
1,
796,
705,
14993,
3099,
6
] |
Which record has an attendance larger than 28,459? | SELECT "Record" FROM table_67286 WHERE "Attendance" > '28,459' | [
13828,
1700,
468,
281,
14858,
4025,
621,
2579,
11,
33459,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
3134,
27033,
33411,
366,
8086,
437,
590,
1,
1875,
705,
2078,
11,
33459,
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
] | [
13828,
1700,
468,
281,
14858,
4025,
621,
2579,
11,
33459,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
3134,
27033,
33411,
366,
8086,
437,
590,
1,
1875,
705,
2078,
11,
33459,
6
] |
what is the number of patients whose ethnicity is white and procedure long title is open and other replacement of aortic valve with tissue graft? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.ethnicity = "WHITE" AND procedures.long_title = "Open and other replacement of aortic valve with tissue graft" | [
10919,
318,
262,
1271,
286,
3871,
3025,
26289,
318,
2330,
290,
8771,
890,
3670,
318,
1280,
290,
584,
9014,
286,
257,
419,
291,
22580,
351,
10712,
38455,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
26289,
318,
2330,
290,
8771,
890,
3670,
318,
1280,
290,
584,
9014,
286,
257,
419,
291,
22580,
351,
10712,
38455,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
1... |
What was the score when the loss was hideo nomo (3 5)? | SELECT score FROM table_name_57 WHERE loss = "hideo nomo (3–5)" | [
2061,
373,
262,
4776,
618,
262,
2994,
373,
289,
1651,
4515,
78,
357,
18,
642,
19427,
46506,
4776,
16034,
3084,
62,
3672,
62,
3553,
33411,
2994,
796,
366,
71,
1651,
4515,
78,
357,
18,
1906,
20,
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,
373,
262,
4776,
618,
262,
2994,
373,
289,
1651,
4515,
78,
357,
18,
642,
19427,
46506,
4776,
16034,
3084,
62,
3672,
62,
3553,
33411,
2994,
796,
366,
71,
1651,
4515,
78,
357,
18,
1906,
20,
16725
] |
User post counts by country and tags. | SELECT ROW_NUMBER() OVER (ORDER BY Users.Reputation DESC) AS "#", Users.Id AS "user_link", Tags.TagName, Users.Reputation, COUNT(Posts.Id) FROM Users INNER JOIN Posts ON Posts.OwnerUserId = Users.Id INNER JOIN PostTags ON PostTags.PostId = Posts.Id INNER JOIN Tags ON Tags.Id = PostTags.TagId WHERE LOWER(Location) LIKE ... | [
12982,
1281,
9853,
416,
1499,
290,
15940,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
18987,
13,
6207,
7094,
22196,
34,
8,
7054,
25113,
1600,
18987,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
44789,
13,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12982,
1281,
9853,
416,
1499,
290,
15940,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
18987,
13,
6207,
7094,
22196,
34,
8,
7054,
25113,
1600,
18987,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
44789,
13,... |
What is the year of the season if the intermediate (South) winners is Southmead Athletic? | SELECT "Season" FROM table_25633 WHERE "Intermediate (South) Winners" = 'Southmead Athletic' | [
2061,
318,
262,
614,
286,
262,
1622,
611,
262,
19898,
357,
14942,
8,
14591,
318,
2520,
1326,
324,
29007,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
11645,
2091,
33411,
366,
9492,
13857,
357,
14942,
8,
42754,
1,
796,
705,
14942,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
614,
286,
262,
1622,
611,
262,
19898,
357,
14942,
8,
14591,
318,
2520,
1326,
324,
29007,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
11645,
2091,
33411,
366,
9492,
13857,
357,
14942,
8,
42754,
1,
796,
705,
14942,
1326,
... |
what was the first release title from coh ? | SELECT "release title" FROM table_203_607 WHERE "artist" = 'coh' ORDER BY "release date" LIMIT 1 | [
10919,
373,
262,
717,
2650,
3670,
422,
16883,
5633,
46506,
366,
20979,
3670,
1,
16034,
3084,
62,
22416,
62,
31980,
33411,
366,
49016,
1,
796,
705,
1073,
71,
6,
38678,
11050,
366,
20979,
3128,
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,
1,
1,
1
] | [
10919,
373,
262,
717,
2650,
3670,
422,
16883,
5633,
46506,
366,
20979,
3670,
1,
16034,
3084,
62,
22416,
62,
31980,
33411,
366,
49016,
1,
796,
705,
1073,
71,
6,
38678,
11050,
366,
20979,
3128,
1,
27564,
2043,
352
] |
Who are the co-drivers before 2010 with under 326 laps? | SELECT "Co-Drivers" FROM table_53367 WHERE "Year" < '2010' AND "Laps" < '326' | [
8241,
389,
262,
763,
12,
36702,
878,
3050,
351,
739,
40660,
24590,
30,
46506,
366,
7222,
12,
20564,
690,
1,
16034,
3084,
62,
44994,
3134,
33411,
366,
17688,
1,
1279,
705,
10333,
6,
5357,
366,
43,
1686,
1,
1279,
705,
39195,
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
] | [
8241,
389,
262,
763,
12,
36702,
878,
3050,
351,
739,
40660,
24590,
30,
46506,
366,
7222,
12,
20564,
690,
1,
16034,
3084,
62,
44994,
3134,
33411,
366,
17688,
1,
1279,
705,
10333,
6,
5357,
366,
43,
1686,
1,
1279,
705,
39195,
6
] |
Show me a bar chart, that simply displays the last name of the employee and the corresponding department's location id. | SELECT LAST_NAME, LOCATION_ID FROM employees AS T1 JOIN departments AS T2 ON T1.DEPARTMENT_ID = T2.DEPARTMENT_ID WHERE T1.EMPLOYEE_ID = T2.MANAGER_ID | [
15307,
502,
257,
2318,
8262,
11,
326,
2391,
11298,
262,
938,
1438,
286,
262,
6538,
290,
262,
11188,
5011,
338,
4067,
4686,
13,
46506,
41894,
62,
20608,
11,
37347,
6234,
62,
2389,
16034,
4409,
7054,
309,
16,
32357,
1268,
13346,
7054,
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... | [
15307,
502,
257,
2318,
8262,
11,
326,
2391,
11298,
262,
938,
1438,
286,
262,
6538,
290,
262,
11188,
5011,
338,
4067,
4686,
13,
46506,
41894,
62,
20608,
11,
37347,
6234,
62,
2389,
16034,
4409,
7054,
309,
16,
32357,
1268,
13346,
7054,
3... |
How many students taking a course who received an A or C? Group by students' last name with a bar chart, and could you show in desc by the the number of stu lname? | SELECT STU_LNAME, COUNT(STU_LNAME) FROM STUDENT AS T1 JOIN ENROLL AS T2 ON T1.STU_NUM = T2.STU_NUM WHERE T2.ENROLL_GRADE = 'C' OR T2.ENROLL_GRADE = 'A' GROUP BY STU_LNAME ORDER BY COUNT(STU_LNAME) DESC | [
2437,
867,
2444,
2263,
257,
1781,
508,
2722,
281,
317,
393,
327,
30,
4912,
416,
2444,
6,
938,
1438,
351,
257,
2318,
8262,
11,
290,
714,
345,
905,
287,
1715,
416,
262,
262,
1271,
286,
336,
84,
300,
3672,
30,
46506,
3563,
52,
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... | [
2437,
867,
2444,
2263,
257,
1781,
508,
2722,
281,
317,
393,
327,
30,
4912,
416,
2444,
6,
938,
1438,
351,
257,
2318,
8262,
11,
290,
714,
345,
905,
287,
1715,
416,
262,
262,
1271,
286,
336,
84,
300,
3672,
30,
46506,
3563,
52,
62,
... |
For those employees who was hired before 2002-06-21, return a scatter chart about the correlation between salary and manager_id . | SELECT SALARY, MANAGER_ID FROM employees WHERE HIRE_DATE < '2002-06-21' | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1441,
257,
41058,
8262,
546,
262,
16096,
1022,
9588,
290,
4706,
62,
312,
764,
46506,
42475,
13153,
11,
17254,
4760,
1137,
62,
2389,
16034,
4409,
33411,
36210,
2200,
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
] | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1441,
257,
41058,
8262,
546,
262,
16096,
1022,
9588,
290,
4706,
62,
312,
764,
46506,
42475,
13153,
11,
17254,
4760,
1137,
62,
2389,
16034,
4409,
33411,
36210,
2200,
6... |
What is the name of the player from purcell, ok? | SELECT "Name" FROM table_29132 WHERE "Home Town" = 'Purcell, OK' | [
2061,
318,
262,
1438,
286,
262,
2137,
422,
1308,
3846,
11,
12876,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
1959,
19924,
33411,
366,
16060,
8329,
1,
796,
705,
30026,
3846,
11,
7477,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
2137,
422,
1308,
3846,
11,
12876,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
1959,
19924,
33411,
366,
16060,
8329,
1,
796,
705,
30026,
3846,
11,
7477,
6
] |
What is the type of the document named 'David CV'? | SELECT document_type_code FROM documents WHERE document_name = "David CV" | [
2061,
318,
262,
2099,
286,
262,
3188,
3706,
705,
11006,
26196,
30960,
46506,
3188,
62,
4906,
62,
8189,
16034,
4963,
33411,
3188,
62,
3672,
796,
366,
11006,
26196,
1
] | [
1,
1,
1,
1,
1,
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,
2099,
286,
262,
3188,
3706,
705,
11006,
26196,
30960,
46506,
3188,
62,
4906,
62,
8189,
16034,
4963,
33411,
3188,
62,
3672,
796,
366,
11006,
26196,
1
] |
How much Lost has a Drawn larger than 1, and Points smaller than 14, and an Against larger than 10? | SELECT COUNT(lost) FROM table_name_61 WHERE drawn > 1 AND points < 14 AND against > 10 | [
2437,
881,
9164,
468,
257,
50061,
4025,
621,
352,
11,
290,
11045,
4833,
621,
1478,
11,
290,
281,
12914,
4025,
621,
838,
30,
46506,
327,
28270,
7,
33224,
8,
16034,
3084,
62,
3672,
62,
5333,
33411,
7428,
1875,
352,
5357,
2173,
1279,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
881,
9164,
468,
257,
50061,
4025,
621,
352,
11,
290,
11045,
4833,
621,
1478,
11,
290,
281,
12914,
4025,
621,
838,
30,
46506,
327,
28270,
7,
33224,
8,
16034,
3084,
62,
3672,
62,
5333,
33411,
7428,
1875,
352,
5357,
2173,
1279,
1... |
Name the surface for nathalie tauziat | SELECT surface FROM table_24638867_6 WHERE partner = "Nathalie Tauziat" | [
5376,
262,
4417,
329,
299,
776,
282,
494,
256,
559,
89,
5375,
46506,
4417,
16034,
3084,
62,
26912,
30460,
3134,
62,
21,
33411,
5212,
796,
366,
45,
776,
282,
494,
36849,
89,
5375,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4417,
329,
299,
776,
282,
494,
256,
559,
89,
5375,
46506,
4417,
16034,
3084,
62,
26912,
30460,
3134,
62,
21,
33411,
5212,
796,
366,
45,
776,
282,
494,
36849,
89,
5375,
1
] |
Name the total number of pitcher for 9 overall rank | SELECT COUNT("Pitcher") FROM table_26720 WHERE "Overall Rank" = '9' | [
5376,
262,
2472,
1271,
286,
18086,
329,
860,
4045,
4279,
46506,
327,
28270,
7203,
47,
23640,
4943,
16034,
3084,
62,
2075,
23906,
33411,
366,
16350,
10916,
1,
796,
705,
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
] | [
5376,
262,
2472,
1271,
286,
18086,
329,
860,
4045,
4279,
46506,
327,
28270,
7203,
47,
23640,
4943,
16034,
3084,
62,
2075,
23906,
33411,
366,
16350,
10916,
1,
796,
705,
24,
6
] |
Trend of questions tagged with [tag] that [do not] contain [search term] in body. | SELECT Id AS "post_link" FROM Posts WHERE PostTypeId = 1 AND STR_POSITION(Tags, '<' + @tagToSearch + '>') > 0 AND STR_POSITION(Body, @textToSearch) > 0 | [
45461,
286,
2683,
30509,
351,
685,
12985,
60,
326,
685,
4598,
407,
60,
3994,
685,
12947,
3381,
60,
287,
1767,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
5357,
19269,
62,
37997,
1794... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
45461,
286,
2683,
30509,
351,
685,
12985,
60,
326,
685,
4598,
407,
60,
3994,
685,
12947,
3381,
60,
287,
1767,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
5357,
19269,
62,
37997,
1794... |
What is the highest population of Trondra Island in the Scalloway Islands? | SELECT MAX("Population") FROM table_71653 WHERE "Location" = 'scalloway islands' AND "Island" = 'trondra' | [
2061,
318,
262,
4511,
3265,
286,
833,
623,
430,
5451,
287,
262,
1446,
12154,
323,
12010,
30,
46506,
25882,
7203,
45251,
4943,
16034,
3084,
62,
22,
1433,
4310,
33411,
366,
14749,
1,
796,
705,
1416,
12154,
323,
14807,
6,
5357,
366,
3792... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3265,
286,
833,
623,
430,
5451,
287,
262,
1446,
12154,
323,
12010,
30,
46506,
25882,
7203,
45251,
4943,
16034,
3084,
62,
22,
1433,
4310,
33411,
366,
14749,
1,
796,
705,
1416,
12154,
323,
14807,
6,
5357,
366,
3792... |
What day did they play at candlestick park? | SELECT date FROM table_name_77 WHERE game_site = "candlestick park" | [
2061,
1110,
750,
484,
711,
379,
2658,
32712,
624,
3952,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3324,
33411,
983,
62,
15654,
796,
366,
46188,
32712,
624,
3952,
1
] | [
1,
1,
1,
1,
1,
1,
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,
750,
484,
711,
379,
2658,
32712,
624,
3952,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3324,
33411,
983,
62,
15654,
796,
366,
46188,
32712,
624,
3952,
1
] |
was any kind of organism detected during the last sputum, tracheal specimen microbiology test performed on patient 025-44495 in 12/2105? | SELECT COUNT(*) > 0 FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-44495')) AND microlab.culturesite = 'sputum, tracheal specimen' AND STRFTI... | [
9776,
597,
1611,
286,
26433,
12326,
1141,
262,
938,
599,
315,
388,
11,
491,
4891,
282,
31674,
24559,
1435,
1332,
6157,
319,
5827,
657,
1495,
12,
2598,
33781,
287,
1105,
14,
17,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
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... | [
9776,
597,
1611,
286,
26433,
12326,
1141,
262,
938,
599,
315,
388,
11,
491,
4891,
282,
31674,
24559,
1435,
1332,
6157,
319,
5827,
657,
1495,
12,
2598,
33781,
287,
1105,
14,
17,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,... |
In what tie were Leeds United the away team? | SELECT MAX(tie_no) FROM table_17736890_5 WHERE away_team = "Leeds United" | [
818,
644,
9839,
547,
29293,
1578,
262,
1497,
1074,
30,
46506,
25882,
7,
36224,
62,
3919,
8,
16034,
3084,
62,
22413,
27412,
3829,
62,
20,
33411,
1497,
62,
15097,
796,
366,
43,
39642,
1578,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9839,
547,
29293,
1578,
262,
1497,
1074,
30,
46506,
25882,
7,
36224,
62,
3919,
8,
16034,
3084,
62,
22413,
27412,
3829,
62,
20,
33411,
1497,
62,
15097,
796,
366,
43,
39642,
1578,
1
] |
Do I earn 18 credits for the upper-level classes ? | SELECT COUNT(*) = 0 FROM course, program_course WHERE course.credits <> 18 AND course.department = 'EECS' AND program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id | [
5211,
314,
5160,
1248,
10824,
329,
262,
6727,
12,
5715,
6097,
5633,
46506,
327,
28270,
7,
28104,
796,
657,
16034,
1781,
11,
1430,
62,
17319,
33411,
1781,
13,
66,
20696,
1279,
29,
1248,
5357,
1781,
13,
10378,
1823,
796,
705,
36,
2943,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5211,
314,
5160,
1248,
10824,
329,
262,
6727,
12,
5715,
6097,
5633,
46506,
327,
28270,
7,
28104,
796,
657,
16034,
1781,
11,
1430,
62,
17319,
33411,
1781,
13,
66,
20696,
1279,
29,
1248,
5357,
1781,
13,
10378,
1823,
796,
705,
36,
2943,
... |
Jon Skeet comparison (counts only). What questions does Jon Skeet have a higher/lower score on than me? | WITH fights AS (SELECT myAnswer.ParentId AS Question, myAnswer.Score AS MyScore, jonsAnswer.Score AS JonsScore FROM Posts AS myAnswer INNER JOIN Posts AS jonsAnswer ON jonsAnswer.OwnerUserId = 22656 AND myAnswer.ParentId = jonsAnswer.ParentId WHERE myAnswer.OwnerUserId = @UserId AND myAnswer.PostTypeId = 2) SELECT Winn... | [
18219,
19460,
316,
7208,
357,
9127,
82,
691,
737,
1867,
2683,
857,
5966,
19460,
316,
423,
257,
2440,
14,
21037,
4776,
319,
621,
502,
30,
54,
10554,
11418,
7054,
357,
46506,
616,
33706,
13,
24546,
7390,
7054,
18233,
11,
616,
33706,
13,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
18219,
19460,
316,
7208,
357,
9127,
82,
691,
737,
1867,
2683,
857,
5966,
19460,
316,
423,
257,
2440,
14,
21037,
4776,
319,
621,
502,
30,
54,
10554,
11418,
7054,
357,
46506,
616,
33706,
13,
24546,
7390,
7054,
18233,
11,
616,
33706,
13,... |
What is the total number of races when there was more than 1 pole, and the fastest number of laps was less than 4? | SELECT SUM(races) FROM table_name_8 WHERE poles > 1 AND fastest_laps < 4 | [
2061,
318,
262,
2472,
1271,
286,
9558,
618,
612,
373,
517,
621,
352,
16825,
11,
290,
262,
14162,
1271,
286,
24590,
373,
1342,
621,
604,
30,
46506,
35683,
7,
81,
2114,
8,
16034,
3084,
62,
3672,
62,
23,
33411,
24971,
1875,
352,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
1271,
286,
9558,
618,
612,
373,
517,
621,
352,
16825,
11,
290,
262,
14162,
1271,
286,
24590,
373,
1342,
621,
604,
30,
46506,
35683,
7,
81,
2114,
8,
16034,
3084,
62,
3672,
62,
23,
33411,
24971,
1875,
352,
5357,
... |
What was the championship during the match with the opponent of richard fromberg? | SELECT "Championship" FROM table_9055 WHERE "Opponent" = 'richard fromberg' | [
2061,
373,
262,
12184,
1141,
262,
2872,
351,
262,
6125,
286,
5527,
446,
422,
3900,
30,
46506,
366,
1925,
4350,
1056,
1,
16034,
3084,
62,
44928,
20,
33411,
366,
27524,
3471,
1,
796,
705,
7527,
446,
422,
3900,
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,
12184,
1141,
262,
2872,
351,
262,
6125,
286,
5527,
446,
422,
3900,
30,
46506,
366,
1925,
4350,
1056,
1,
16034,
3084,
62,
44928,
20,
33411,
366,
27524,
3471,
1,
796,
705,
7527,
446,
422,
3900,
6
] |
What venue features collingwood as the home side? | SELECT "Venue" FROM table_55767 WHERE "Home team" = 'collingwood' | [
2061,
14359,
3033,
2927,
278,
3822,
355,
262,
1363,
1735,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
2816,
32059,
33411,
366,
16060,
1074,
1,
796,
705,
26000,
278,
3822,
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,
14359,
3033,
2927,
278,
3822,
355,
262,
1363,
1735,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
2816,
32059,
33411,
366,
16060,
1074,
1,
796,
705,
26000,
278,
3822,
6
] |
What would the LCD screen size and pixels be for the coolpix 5700? | SELECT lcd_screen_size, _pixels FROM table_name_93 WHERE model = "coolpix 5700" | [
2061,
561,
262,
23598,
3159,
2546,
290,
17848,
307,
329,
262,
3608,
79,
844,
7632,
405,
30,
46506,
300,
10210,
62,
9612,
62,
7857,
11,
4808,
79,
14810,
16034,
3084,
62,
3672,
62,
6052,
33411,
2746,
796,
366,
24494,
79,
844,
7632,
40... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
561,
262,
23598,
3159,
2546,
290,
17848,
307,
329,
262,
3608,
79,
844,
7632,
405,
30,
46506,
300,
10210,
62,
9612,
62,
7857,
11,
4808,
79,
14810,
16034,
3084,
62,
3672,
62,
6052,
33411,
2746,
796,
366,
24494,
79,
844,
7632,
40... |
What skip has norway as the country? | SELECT skip FROM table_name_66 WHERE country = "norway" | [
2061,
14267,
468,
4249,
1014,
355,
262,
1499,
30,
46506,
14267,
16034,
3084,
62,
3672,
62,
2791,
33411,
1499,
796,
366,
13099,
1014,
1
] | [
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,
14267,
468,
4249,
1014,
355,
262,
1499,
30,
46506,
14267,
16034,
3084,
62,
3672,
62,
2791,
33411,
1499,
796,
366,
13099,
1014,
1
] |
Where is ropery lane and la matches 7 location? | SELECT location FROM table_1176371_1 WHERE la_matches = 7 AND name_of_ground = "Ropery Lane" | [
8496,
318,
686,
525,
88,
11193,
290,
8591,
7466,
767,
4067,
30,
46506,
4067,
16034,
3084,
62,
1157,
4304,
38056,
62,
16,
33411,
8591,
62,
6759,
2052,
796,
767,
5357,
1438,
62,
1659,
62,
2833,
796,
366,
49,
404,
1924,
15016,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
318,
686,
525,
88,
11193,
290,
8591,
7466,
767,
4067,
30,
46506,
4067,
16034,
3084,
62,
1157,
4304,
38056,
62,
16,
33411,
8591,
62,
6759,
2052,
796,
767,
5357,
1438,
62,
1659,
62,
2833,
796,
366,
49,
404,
1924,
15016,
1
] |
Find the names of all stores in Khanewal District. | SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id WHERE t3.district_name = "Khanewal District" | [
16742,
262,
3891,
286,
477,
7000,
287,
11356,
413,
282,
5665,
13,
46506,
256,
16,
13,
8095,
62,
3672,
16034,
3650,
7054,
256,
16,
32357,
1268,
3650,
62,
17080,
2012,
7054,
256,
17,
6177,
256,
16,
13,
8095,
62,
312,
796,
256,
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,
1... | [
16742,
262,
3891,
286,
477,
7000,
287,
11356,
413,
282,
5665,
13,
46506,
256,
16,
13,
8095,
62,
3672,
16034,
3650,
7054,
256,
16,
32357,
1268,
3650,
62,
17080,
2012,
7054,
256,
17,
6177,
256,
16,
13,
8095,
62,
312,
796,
256,
17,
1... |
What is the firefox value with a 22.0% internet explorer? | SELECT firefox FROM table_name_56 WHERE internet_explorer = "22.0%" | [
2061,
318,
262,
2046,
12792,
1988,
351,
257,
2534,
13,
15,
4,
5230,
39349,
30,
46506,
2046,
12792,
16034,
3084,
62,
3672,
62,
3980,
33411,
5230,
62,
20676,
11934,
796,
366,
1828,
13,
15,
39658
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2046,
12792,
1988,
351,
257,
2534,
13,
15,
4,
5230,
39349,
30,
46506,
2046,
12792,
16034,
3084,
62,
3672,
62,
3980,
33411,
5230,
62,
20676,
11934,
796,
366,
1828,
13,
15,
39658
] |
What is the to par number of the person who won in 2003? | SELECT to_par FROM table_name_40 WHERE year_s__won = "2003" | [
2061,
318,
262,
284,
1582,
1271,
286,
262,
1048,
508,
1839,
287,
5816,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
1821,
33411,
614,
62,
82,
834,
26502,
796,
366,
16088,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
284,
1582,
1271,
286,
262,
1048,
508,
1839,
287,
5816,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
1821,
33411,
614,
62,
82,
834,
26502,
796,
366,
16088,
1
] |
diagnosis of diabetes mellitus type i or type ii | SELECT * FROM table_train_222 WHERE diabetic = 'i' OR diabetic = 'ii' | [
47356,
5958,
286,
12593,
33748,
17506,
2099,
1312,
393,
2099,
21065,
46506,
1635,
16034,
3084,
62,
27432,
62,
23148,
33411,
44016,
796,
705,
72,
6,
6375,
44016,
796,
705,
4178,
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
] | [
47356,
5958,
286,
12593,
33748,
17506,
2099,
1312,
393,
2099,
21065,
46506,
1635,
16034,
3084,
62,
27432,
62,
23148,
33411,
44016,
796,
705,
72,
6,
6375,
44016,
796,
705,
4178,
6
] |
WHAT IS THE AVERAGE OVERALL, FOR MARK FISCHER? | SELECT AVG(overall) FROM table_name_56 WHERE name = "mark fischer" | [
32971,
3180,
3336,
317,
5959,
11879,
28729,
7036,
11,
7473,
39641,
376,
1797,
3398,
1137,
30,
46506,
35224,
7,
2502,
439,
8,
16034,
3084,
62,
3672,
62,
3980,
33411,
1438,
796,
366,
4102,
277,
24645,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32971,
3180,
3336,
317,
5959,
11879,
28729,
7036,
11,
7473,
39641,
376,
1797,
3398,
1137,
30,
46506,
35224,
7,
2502,
439,
8,
16034,
3084,
62,
3672,
62,
3980,
33411,
1438,
796,
366,
4102,
277,
24645,
1
] |
Who has high points when 50-26 is the record? | SELECT high_points FROM table_23284271_10 WHERE record = "50-26" | [
8241,
468,
1029,
2173,
618,
2026,
12,
2075,
318,
262,
1700,
30,
46506,
1029,
62,
13033,
16034,
3084,
62,
1954,
30336,
28977,
62,
940,
33411,
1700,
796,
366,
1120,
12,
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,
468,
1029,
2173,
618,
2026,
12,
2075,
318,
262,
1700,
30,
46506,
1029,
62,
13033,
16034,
3084,
62,
1954,
30336,
28977,
62,
940,
33411,
1700,
796,
366,
1120,
12,
2075,
1
] |
Select the names of all the products in the store, and count them by a bar chart, could you order X-axis in asc order? | SELECT Name, COUNT(Name) FROM Products GROUP BY Name ORDER BY Name | [
17563,
262,
3891,
286,
477,
262,
3186,
287,
262,
3650,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
714,
345,
1502,
1395,
12,
22704,
287,
10570,
1502,
30,
46506,
6530,
11,
327,
28270,
7,
5376,
8,
16034,
18675,
44441,
11050,
6530,
38... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
17563,
262,
3891,
286,
477,
262,
3186,
287,
262,
3650,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
714,
345,
1502,
1395,
12,
22704,
287,
10570,
1502,
30,
46506,
6530,
11,
327,
28270,
7,
5376,
8,
16034,
18675,
44441,
11050,
6530,
38... |
give the admisssion location and primary disease of steven sepulveda. | SELECT demographic.admission_location, demographic.diagnosis FROM demographic WHERE demographic.name = "Steven Sepulveda" | [
26535,
262,
512,
3927,
82,
295,
4067,
290,
4165,
4369,
286,
2876,
574,
41767,
377,
1079,
64,
13,
46506,
16728,
13,
324,
3411,
62,
24886,
11,
16728,
13,
47356,
5958,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
28292,
8621,
377,
107... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26535,
262,
512,
3927,
82,
295,
4067,
290,
4165,
4369,
286,
2876,
574,
41767,
377,
1079,
64,
13,
46506,
16728,
13,
324,
3411,
62,
24886,
11,
16728,
13,
47356,
5958,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
28292,
8621,
377,
107... |
Distribution of answer times by tag (within R). | SELECT * FROM Posts WHERE Id IN (SELECT PostId FROM PostTags WHERE TagId IN (SELECT Id FROM Tags WHERE TagName = 'r')) ORDER BY LastEditDate DESC LIMIT 10 | [
20344,
3890,
286,
3280,
1661,
416,
7621,
357,
33479,
371,
737,
46506,
1635,
16034,
12043,
33411,
5121,
3268,
357,
46506,
2947,
7390,
16034,
2947,
36142,
33411,
17467,
7390,
3268,
357,
46506,
5121,
16034,
44789,
33411,
17467,
5376,
796,
705,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
20344,
3890,
286,
3280,
1661,
416,
7621,
357,
33479,
371,
737,
46506,
1635,
16034,
12043,
33411,
5121,
3268,
357,
46506,
2947,
7390,
16034,
2947,
36142,
33411,
17467,
7390,
3268,
357,
46506,
5121,
16034,
44789,
33411,
17467,
5376,
796,
705,... |
How many powiats have mstsislaw as a capital? | SELECT number_of_powiats FROM table_1784514_1 WHERE capital = "Mstsislaw" | [
2437,
867,
7182,
72,
1381,
423,
285,
6448,
3044,
707,
355,
257,
3139,
30,
46506,
1271,
62,
1659,
62,
79,
322,
72,
1381,
16034,
3084,
62,
23188,
2231,
1415,
62,
16,
33411,
3139,
796,
366,
44,
6448,
3044,
707,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7182,
72,
1381,
423,
285,
6448,
3044,
707,
355,
257,
3139,
30,
46506,
1271,
62,
1659,
62,
79,
322,
72,
1381,
16034,
3084,
62,
23188,
2231,
1415,
62,
16,
33411,
3139,
796,
366,
44,
6448,
3044,
707,
1
] |
What's Jorge Santana's elimination? | SELECT "Elimination" FROM table_66541 WHERE "Wrestler" = 'jorge santana' | [
2061,
338,
34687,
49067,
338,
21472,
30,
46506,
366,
36,
2475,
1883,
1,
16034,
3084,
62,
36879,
3901,
33411,
366,
54,
2118,
1754,
1,
796,
705,
73,
3643,
264,
415,
2271,
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,
338,
34687,
49067,
338,
21472,
30,
46506,
366,
36,
2475,
1883,
1,
16034,
3084,
62,
36879,
3901,
33411,
366,
54,
2118,
1754,
1,
796,
705,
73,
3643,
264,
415,
2271,
6
] |
What is the total number of Pick, when Position is OT, when Overall is greater than 91, when Round is greater than 21, and when College is Mississippi? | SELECT COUNT(pick) FROM table_name_98 WHERE position = "ot" AND overall > 91 AND round > 21 AND college = "mississippi" | [
2061,
318,
262,
2472,
1271,
286,
12346,
11,
618,
23158,
318,
21676,
11,
618,
14674,
318,
3744,
621,
10495,
11,
618,
10485,
318,
3744,
621,
2310,
11,
290,
618,
5535,
318,
13797,
30,
46506,
327,
28270,
7,
27729,
8,
16034,
3084,
62,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
2472,
1271,
286,
12346,
11,
618,
23158,
318,
21676,
11,
618,
14674,
318,
3744,
621,
10495,
11,
618,
10485,
318,
3744,
621,
2310,
11,
290,
618,
5535,
318,
13797,
30,
46506,
327,
28270,
7,
27729,
8,
16034,
3084,
62,
36... |
what were the total number of times the u.s. open was the tournament ? | SELECT COUNT(*) FROM table_203_473 WHERE "tournament" = 'u.s. open' | [
10919,
547,
262,
2472,
1271,
286,
1661,
262,
334,
13,
82,
13,
1280,
373,
262,
7756,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
37804,
33411,
366,
83,
5138,
1,
796,
705,
84,
13,
82,
13,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
547,
262,
2472,
1271,
286,
1661,
262,
334,
13,
82,
13,
1280,
373,
262,
7756,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
37804,
33411,
366,
83,
5138,
1,
796,
705,
84,
13,
82,
13,
1280,
6
] |
How many males have a percentage of 80.62? | SELECT males FROM table_name_82 WHERE percentage___percentage_ = "80.62" | [
2437,
867,
10835,
423,
257,
5873,
286,
4019,
13,
5237,
30,
46506,
10835,
16034,
3084,
62,
3672,
62,
6469,
33411,
5873,
17569,
25067,
496,
62,
796,
366,
1795,
13,
5237,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
10835,
423,
257,
5873,
286,
4019,
13,
5237,
30,
46506,
10835,
16034,
3084,
62,
3672,
62,
6469,
33411,
5873,
17569,
25067,
496,
62,
796,
366,
1795,
13,
5237,
1
] |
What is the average length for the song 'Ma Ke Jaisi'? | SELECT "Length" FROM table_66367 WHERE "Song Title" = 'ma ke jaisi' | [
2061,
318,
262,
2811,
4129,
329,
262,
3496,
705,
21467,
3873,
13790,
23267,
30960,
46506,
366,
24539,
1,
16034,
3084,
62,
2791,
27824,
33411,
366,
44241,
11851,
1,
796,
705,
2611,
885,
474,
15152,
72,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
4129,
329,
262,
3496,
705,
21467,
3873,
13790,
23267,
30960,
46506,
366,
24539,
1,
16034,
3084,
62,
2791,
27824,
33411,
366,
44241,
11851,
1,
796,
705,
2611,
885,
474,
15152,
72,
6
] |
For those records from the products and each product's manufacturer, return a bar chart about the distribution of founder and the average of manufacturer , and group by attribute founder. | SELECT Founder, AVG(Manufacturer) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
9119,
290,
262,
2811,
286,
11554,
837,
290,
1448,
416,
11688,
9119,
13,
46506,
30153,
11,
35224,
7,
44445,
15051,
8,
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... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
9119,
290,
262,
2811,
286,
11554,
837,
290,
1448,
416,
11688,
9119,
13,
46506,
30153,
11,
35224,
7,
44445,
15051,
8,
16034,
... |
indicate the daily minimum amount of urine output that patient 005-9883 had had until 02/07/2102. | SELECT MIN(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-9883')) AND intakeoutput.celllabel = 'urine'... | [
521,
5344,
262,
4445,
5288,
2033,
286,
18922,
5072,
326,
5827,
3571,
20,
12,
24,
49287,
550,
550,
1566,
7816,
14,
2998,
14,
17,
15377,
13,
46506,
20625,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
334... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
521,
5344,
262,
4445,
5288,
2033,
286,
18922,
5072,
326,
5827,
3571,
20,
12,
24,
49287,
550,
550,
1566,
7816,
14,
2998,
14,
17,
15377,
13,
46506,
20625,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
334... |
Which Nickname has an Enrollment smaller than 501, and a Location of clarkesville? | SELECT "Nickname" FROM table_48716 WHERE "Enrollment" < '501' AND "Location" = 'clarkesville' | [
13828,
8047,
3672,
468,
281,
2039,
48108,
4833,
621,
24555,
11,
290,
257,
13397,
286,
537,
668,
19641,
30,
46506,
366,
23609,
3672,
1,
16034,
3084,
62,
35133,
1433,
33411,
366,
4834,
48108,
1,
1279,
705,
33548,
6,
5357,
366,
14749,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8047,
3672,
468,
281,
2039,
48108,
4833,
621,
24555,
11,
290,
257,
13397,
286,
537,
668,
19641,
30,
46506,
366,
23609,
3672,
1,
16034,
3084,
62,
35133,
1433,
33411,
366,
4834,
48108,
1,
1279,
705,
33548,
6,
5357,
366,
14749,
1,... |
Show the name of each county along with the corresponding number of delegates from that county with a bar chart, and sort by the names in ascending. | SELECT County_name, COUNT(*) FROM county AS T1 JOIN election AS T2 ON T1.County_Id = T2.District GROUP BY T1.County_Id ORDER BY County_name | [
15307,
262,
1438,
286,
1123,
7968,
1863,
351,
262,
11188,
1271,
286,
15265,
422,
326,
7968,
351,
257,
2318,
8262,
11,
290,
3297,
416,
262,
3891,
287,
41988,
13,
46506,
3418,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
7968,
7054,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
262,
1438,
286,
1123,
7968,
1863,
351,
262,
11188,
1271,
286,
15265,
422,
326,
7968,
351,
257,
2318,
8262,
11,
290,
3297,
416,
262,
3891,
287,
41988,
13,
46506,
3418,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
7968,
7054,
309,
... |
tell me the cost of the diagnosis for bleed esoph var oth dis? | SELECT DISTINCT cost.cost FROM cost WHERE cost.event_type = 'diagnoses_icd' AND cost.event_id IN (SELECT diagnoses_icd.row_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'bleed esoph var oth dis')) | [
33331,
502,
262,
1575,
286,
262,
13669,
329,
30182,
1658,
2522,
1401,
267,
400,
595,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
62,
4906,
796,
705,
47356,
4629,
62,
291,
67,
6,
5357,
1575,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1575,
286,
262,
13669,
329,
30182,
1658,
2522,
1401,
267,
400,
595,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
62,
4906,
796,
705,
47356,
4629,
62,
291,
67,
6,
5357,
1575,
... |
For those records from the products and each product's manufacturer, give me the comparison about the sum of price over the name , and group by attribute name by a bar chart, and rank by the y axis from low to high. | SELECT T2.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T1.Price | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
2756,
625,
262,
1438,
837,
290,
1448,
416,
11688,
1438,
416,
257,
2318,
8262,
11,
290,
4279,
416,
262,
331,
16488,
422,
187... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
2756,
625,
262,
1438,
837,
290,
1448,
416,
11688,
1438,
416,
257,
2318,
8262,
11,
290,
4279,
416,
262,
331,
16488,
422,
187... |
What is the phonetic when the standard thai is ? | SELECT phonetic FROM table_name_88 WHERE standard_thai = "ผ่า" | [
2061,
318,
262,
32896,
5139,
618,
262,
3210,
294,
1872,
318,
5633,
46506,
32896,
5139,
16034,
3084,
62,
3672,
62,
3459,
33411,
3210,
62,
400,
1872,
796,
366,
19567,
250,
31479,
230,
19567,
110,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
32896,
5139,
618,
262,
3210,
294,
1872,
318,
5633,
46506,
32896,
5139,
16034,
3084,
62,
3672,
62,
3459,
33411,
3210,
62,
400,
1872,
796,
366,
19567,
250,
31479,
230,
19567,
110,
1
] |
Who is the partner on a date later than 1971 who is the runner-up with a score of 3 6, 3 6? | SELECT "Partner" FROM table_32788 WHERE "Date" > '1971' AND "Outcome" = 'runner-up' AND "Score in the final" = '3–6, 3–6' | [
8241,
318,
262,
5212,
319,
257,
3128,
1568,
621,
16382,
508,
318,
262,
17490,
12,
929,
351,
257,
4776,
286,
513,
718,
11,
513,
718,
30,
46506,
366,
7841,
1008,
1,
16034,
3084,
62,
34159,
3459,
33411,
366,
10430,
1,
1875,
705,
41208,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5212,
319,
257,
3128,
1568,
621,
16382,
508,
318,
262,
17490,
12,
929,
351,
257,
4776,
286,
513,
718,
11,
513,
718,
30,
46506,
366,
7841,
1008,
1,
16034,
3084,
62,
34159,
3459,
33411,
366,
10430,
1,
1875,
705,
41208,... |
How much did the the player with first name Len and last name Barker earn between 1985 to 1990 in total? | SELECT SUM(T1.salary) FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id WHERE T2.name_first = 'Len' AND T2.name_last = 'Barker' AND T1.year BETWEEN 1985 AND 1990 | [
2437,
881,
750,
262,
262,
2137,
351,
717,
1438,
12592,
290,
938,
1438,
36933,
5160,
1022,
12863,
284,
6303,
287,
2472,
30,
46506,
35683,
7,
51,
16,
13,
21680,
560,
8,
16034,
9588,
7054,
309,
16,
32357,
1268,
2137,
7054,
309,
17,
617... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
881,
750,
262,
262,
2137,
351,
717,
1438,
12592,
290,
938,
1438,
36933,
5160,
1022,
12863,
284,
6303,
287,
2472,
30,
46506,
35683,
7,
51,
16,
13,
21680,
560,
8,
16034,
9588,
7054,
309,
16,
32357,
1268,
2137,
7054,
309,
17,
617... |
Which Goals Against has a Drawn larger than 9, a Lost larger than 15, a Position of 24, and a Played smaller than 46? | SELECT AVG("Goals Against") FROM table_46444 WHERE "Drawn" > '9' AND "Lost" > '15' AND "Position" = '24' AND "Played" < '46' | [
13828,
28510,
12914,
468,
257,
50061,
4025,
621,
860,
11,
257,
9164,
4025,
621,
1315,
11,
257,
23158,
286,
1987,
11,
290,
257,
33101,
4833,
621,
6337,
30,
46506,
35224,
7203,
5247,
874,
12914,
4943,
16034,
3084,
62,
44578,
2598,
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... | [
13828,
28510,
12914,
468,
257,
50061,
4025,
621,
860,
11,
257,
9164,
4025,
621,
1315,
11,
257,
23158,
286,
1987,
11,
290,
257,
33101,
4833,
621,
6337,
30,
46506,
35224,
7203,
5247,
874,
12914,
4943,
16034,
3084,
62,
44578,
2598,
33411,
... |
what is the name of the medication that patient 10425 was prescribed during the same hospital visit after being diagnosed with peritonitis (acute) gen since 75 months ago? | SELECT t2.drug FROM (SELECT admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE admissions.subject_id = 10425 AND diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.s... | [
10919,
318,
262,
1438,
286,
262,
14103,
326,
5827,
14436,
1495,
373,
14798,
1141,
262,
976,
4436,
3187,
706,
852,
14641,
351,
583,
37752,
11815,
357,
330,
1133,
8,
2429,
1201,
5441,
1933,
2084,
30,
46506,
256,
17,
13,
30349,
16034,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14103,
326,
5827,
14436,
1495,
373,
14798,
1141,
262,
976,
4436,
3187,
706,
852,
14641,
351,
583,
37752,
11815,
357,
330,
1133,
8,
2429,
1201,
5441,
1933,
2084,
30,
46506,
256,
17,
13,
30349,
16034,
35... |
How many points does the team with 3 losses have? | SELECT points FROM table_name_52 WHERE lost = "3" | [
2437,
867,
2173,
857,
262,
1074,
351,
513,
9089,
423,
30,
46506,
2173,
16034,
3084,
62,
3672,
62,
4309,
33411,
2626,
796,
366,
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
] | [
2437,
867,
2173,
857,
262,
1074,
351,
513,
9089,
423,
30,
46506,
2173,
16034,
3084,
62,
3672,
62,
4309,
33411,
2626,
796,
366,
18,
1
] |
Show me a bar chart for what are the names of the countries and average invoice size of the top countries by size? | SELECT billing_country, AVG(total) FROM invoices GROUP BY billing_country ORDER BY AVG(total) DESC LIMIT 10 | [
15307,
502,
257,
2318,
8262,
329,
644,
389,
262,
3891,
286,
262,
2678,
290,
2811,
45458,
2546,
286,
262,
1353,
2678,
416,
2546,
30,
46506,
26297,
62,
19315,
11,
35224,
7,
23350,
8,
16034,
800,
78,
1063,
44441,
11050,
26297,
62,
19315,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
502,
257,
2318,
8262,
329,
644,
389,
262,
3891,
286,
262,
2678,
290,
2811,
45458,
2546,
286,
262,
1353,
2678,
416,
2546,
30,
46506,
26297,
62,
19315,
11,
35224,
7,
23350,
8,
16034,
800,
78,
1063,
44441,
11050,
26297,
62,
19315,... |
What is Runner(s)-up, when Tournament is MCI Classic? | SELECT runner_s__up FROM table_name_75 WHERE tournament = "mci classic" | [
2061,
318,
21529,
7,
82,
13219,
929,
11,
618,
9595,
318,
13122,
40,
13449,
30,
46506,
17490,
62,
82,
834,
929,
16034,
3084,
62,
3672,
62,
2425,
33411,
7756,
796,
366,
76,
979,
6833,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21529,
7,
82,
13219,
929,
11,
618,
9595,
318,
13122,
40,
13449,
30,
46506,
17490,
62,
82,
834,
929,
16034,
3084,
62,
3672,
62,
2425,
33411,
7756,
796,
366,
76,
979,
6833,
1
] |
What is the lowest pick number for the Russian Major League? | SELECT MIN("Pick #") FROM table_54541 WHERE "League from" = 'russian major league' | [
2061,
318,
262,
9016,
2298,
1271,
329,
262,
3394,
8386,
4041,
30,
46506,
20625,
7203,
31686,
1303,
4943,
16034,
3084,
62,
45326,
3901,
33411,
366,
24623,
422,
1,
796,
705,
81,
31562,
1688,
4652,
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,
318,
262,
9016,
2298,
1271,
329,
262,
3394,
8386,
4041,
30,
46506,
20625,
7203,
31686,
1303,
4943,
16034,
3084,
62,
45326,
3901,
33411,
366,
24623,
422,
1,
796,
705,
81,
31562,
1688,
4652,
6
] |
With a Launched of 3 July 1998 what is the Closest approach? | SELECT "Closest approach" FROM table_34632 WHERE "Launched" = '3 july 1998' | [
3152,
257,
19826,
1740,
286,
513,
2901,
7795,
644,
318,
262,
1012,
418,
395,
3164,
30,
46506,
366,
2601,
418,
395,
3164,
1,
16034,
3084,
62,
30557,
2624,
33411,
366,
46182,
1740,
1,
796,
705,
18,
474,
2062,
7795,
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
] | [
3152,
257,
19826,
1740,
286,
513,
2901,
7795,
644,
318,
262,
1012,
418,
395,
3164,
30,
46506,
366,
2601,
418,
395,
3164,
1,
16034,
3084,
62,
30557,
2624,
33411,
366,
46182,
1740,
1,
796,
705,
18,
474,
2062,
7795,
6
] |
What is Caps, when Province / Club is Example, when Position is Prop, and when Player is Sam Walters? | SELECT "Caps" FROM table_41527 WHERE "Province / Club" = 'example' AND "Position" = 'prop' AND "Player" = 'sam walters' | [
2061,
318,
23534,
11,
618,
22783,
1220,
6289,
318,
17934,
11,
618,
23158,
318,
8772,
11,
290,
618,
7853,
318,
3409,
43287,
30,
46506,
366,
34,
1686,
1,
16034,
3084,
62,
35038,
1983,
33411,
366,
15946,
924,
1220,
6289,
1,
796,
705,
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
] | [
2061,
318,
23534,
11,
618,
22783,
1220,
6289,
318,
17934,
11,
618,
23158,
318,
8772,
11,
290,
618,
7853,
318,
3409,
43287,
30,
46506,
366,
34,
1686,
1,
16034,
3084,
62,
35038,
1983,
33411,
366,
15946,
924,
1220,
6289,
1,
796,
705,
2... |
Find questions containing the given tag. | SELECT q.Id AS "post_link", q.Tags, q.CreationDate, q.LastActivityDate FROM Posts AS q INNER JOIN PostTags AS pt ON q.Id = pt.PostId INNER JOIN Tags AS t ON t.Id = pt.TagId WHERE t.TagName = '##tagName:string?geometry##' ORDER BY q.CreationDate DESC | [
16742,
2683,
7268,
262,
1813,
7621,
13,
46506,
10662,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
10662,
13,
36142,
11,
10662,
13,
12443,
341,
10430,
11,
10662,
13,
5956,
16516,
10430,
16034,
12043,
7054,
10662,
3268,
21479,
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,
1,
1,
1,
1,
1... | [
16742,
2683,
7268,
262,
1813,
7621,
13,
46506,
10662,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
10662,
13,
36142,
11,
10662,
13,
12443,
341,
10430,
11,
10662,
13,
5956,
16516,
10430,
16034,
12043,
7054,
10662,
3268,
21479,
32357,
1268,
... |
How many vuts made for a player with 2 wins and under 7 top 5s? | SELECT AVG(cuts_made) FROM table_name_96 WHERE wins = 2 AND top_5 < 7 | [
2437,
867,
410,
5500,
925,
329,
257,
2137,
351,
362,
7864,
290,
739,
767,
1353,
642,
82,
30,
46506,
35224,
7,
23779,
62,
9727,
8,
16034,
3084,
62,
3672,
62,
4846,
33411,
7864,
796,
362,
5357,
1353,
62,
20,
1279,
767
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
410,
5500,
925,
329,
257,
2137,
351,
362,
7864,
290,
739,
767,
1353,
642,
82,
30,
46506,
35224,
7,
23779,
62,
9727,
8,
16034,
3084,
62,
3672,
62,
4846,
33411,
7864,
796,
362,
5357,
1353,
62,
20,
1279,
767
] |
What's the title of the film directed by Friz Freleng with an MM Series, production number greater than 6209 and a release date of 1934-11-03? | SELECT "Title" FROM table_63907 WHERE "Production Num." > '6209' AND "Series" = 'mm' AND "Director" = 'friz freleng' AND "Release date" = '1934-11-03' | [
2061,
338,
262,
3670,
286,
262,
2646,
7924,
416,
19480,
89,
376,
2411,
1516,
351,
281,
20806,
7171,
11,
3227,
1271,
3744,
621,
718,
22567,
290,
257,
2650,
3128,
286,
29300,
12,
1157,
12,
3070,
30,
46506,
366,
19160,
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... | [
2061,
338,
262,
3670,
286,
262,
2646,
7924,
416,
19480,
89,
376,
2411,
1516,
351,
281,
20806,
7171,
11,
3227,
1271,
3744,
621,
718,
22567,
290,
257,
2650,
3128,
286,
29300,
12,
1157,
12,
3070,
30,
46506,
366,
19160,
1,
16034,
3084,
... |
What is the date when Canada played? | SELECT "Date" FROM table_31989 WHERE "Opponent" = 'canada' | [
2061,
318,
262,
3128,
618,
3340,
2826,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
18,
25475,
33411,
366,
27524,
3471,
1,
796,
705,
5171,
4763,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3128,
618,
3340,
2826,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
18,
25475,
33411,
366,
27524,
3471,
1,
796,
705,
5171,
4763,
6
] |
What is the Loan Club from Eng that ended on 22 February? | SELECT loan_club FROM table_name_57 WHERE country = "eng" AND ended = "22 february" | [
2061,
318,
262,
32314,
6289,
422,
1985,
326,
4444,
319,
2534,
3945,
30,
46506,
8063,
62,
18664,
16034,
3084,
62,
3672,
62,
3553,
33411,
1499,
796,
366,
1516,
1,
5357,
4444,
796,
366,
1828,
730,
65,
3728,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
32314,
6289,
422,
1985,
326,
4444,
319,
2534,
3945,
30,
46506,
8063,
62,
18664,
16034,
3084,
62,
3672,
62,
3553,
33411,
1499,
796,
366,
1516,
1,
5357,
4444,
796,
366,
1828,
730,
65,
3728,
1
] |
Which Status has a Co-contestant (Yaar vs. Pyaar) of tina parekh? | SELECT "Status" FROM table_58964 WHERE "Co-contestant (Yaar vs. Pyaar)" = 'tina parekh' | [
13828,
12678,
468,
257,
1766,
12,
3642,
395,
415,
357,
56,
64,
283,
3691,
13,
350,
3972,
283,
8,
286,
256,
1437,
279,
533,
14636,
30,
46506,
366,
19580,
1,
16034,
3084,
62,
44169,
2414,
33411,
366,
7222,
12,
3642,
395,
415,
357,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
12678,
468,
257,
1766,
12,
3642,
395,
415,
357,
56,
64,
283,
3691,
13,
350,
3972,
283,
8,
286,
256,
1437,
279,
533,
14636,
30,
46506,
366,
19580,
1,
16034,
3084,
62,
44169,
2414,
33411,
366,
7222,
12,
3642,
395,
415,
357,
5... |
Which Oberliga S dwest has an Oberliga Bayern of fc schweinfurt 05? | SELECT oberliga_südwest FROM table_name_82 WHERE oberliga_bayern = "fc schweinfurt 05" | [
13828,
33753,
38910,
311,
288,
7038,
468,
281,
33753,
38910,
30683,
286,
277,
66,
5513,
732,
10745,
3325,
8870,
30,
46506,
267,
527,
38910,
62,
82,
9116,
67,
7038,
16034,
3084,
62,
3672,
62,
6469,
33411,
267,
527,
38910,
62,
24406,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
33753,
38910,
311,
288,
7038,
468,
281,
33753,
38910,
30683,
286,
277,
66,
5513,
732,
10745,
3325,
8870,
30,
46506,
267,
527,
38910,
62,
82,
9116,
67,
7038,
16034,
3084,
62,
3672,
62,
6469,
33411,
267,
527,
38910,
62,
24406,
11... |
tell me the number of patients with procedure icd9 code 5771 who had home health care discharge. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "HOME HEALTH CARE" AND procedures.icd9_code = "5771" | [
33331,
502,
262,
1271,
286,
3871,
351,
8771,
14158,
67,
24,
2438,
642,
46761,
508,
550,
1363,
1535,
1337,
17655,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
902... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
351,
8771,
14158,
67,
24,
2438,
642,
46761,
508,
550,
1363,
1535,
1337,
17655,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
902... |
What are department ids for departments with managers managing more than 3 employees? | SELECT DISTINCT department_id FROM employees GROUP BY department_id, manager_id HAVING COUNT(employee_id) >= 4 | [
2061,
389,
5011,
220,
2340,
329,
13346,
351,
11663,
11149,
517,
621,
513,
4409,
30,
46506,
360,
8808,
1268,
4177,
5011,
62,
312,
16034,
4409,
44441,
11050,
5011,
62,
312,
11,
4706,
62,
312,
367,
10116,
2751,
327,
28270,
7,
7033,
1453,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5011,
220,
2340,
329,
13346,
351,
11663,
11149,
517,
621,
513,
4409,
30,
46506,
360,
8808,
1268,
4177,
5011,
62,
312,
16034,
4409,
44441,
11050,
5011,
62,
312,
11,
4706,
62,
312,
367,
10116,
2751,
327,
28270,
7,
7033,
1453,... |
What was the winning score on Jan 22, 1995 when the margin of victory was 1 stroke? | SELECT "Winning score" FROM table_9802 WHERE "Margin of victory" = '1 stroke' AND "Date" = 'jan 22, 1995' | [
2061,
373,
262,
5442,
4776,
319,
2365,
2534,
11,
8735,
618,
262,
10330,
286,
5373,
373,
352,
14000,
30,
46506,
366,
16643,
768,
4776,
1,
16034,
3084,
62,
24,
30863,
33411,
366,
24428,
259,
286,
5373,
1,
796,
705,
16,
14000,
6,
5357,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
5442,
4776,
319,
2365,
2534,
11,
8735,
618,
262,
10330,
286,
5373,
373,
352,
14000,
30,
46506,
366,
16643,
768,
4776,
1,
16034,
3084,
62,
24,
30863,
33411,
366,
24428,
259,
286,
5373,
1,
796,
705,
16,
14000,
6,
5357,... |
For those payments processed with Visa, bin the payment day into Year interval and count them for a bar chart. | SELECT Date_Payment_Made, COUNT(Date_Payment_Made) FROM Payments WHERE Payment_Method_Code = 'Visa' | [
1890,
883,
7524,
13686,
351,
27645,
11,
9874,
262,
6074,
1110,
656,
6280,
16654,
290,
954,
606,
329,
257,
2318,
8262,
13,
46506,
7536,
62,
19197,
434,
62,
24616,
11,
327,
28270,
7,
10430,
62,
19197,
434,
62,
24616,
8,
16034,
41318,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7524,
13686,
351,
27645,
11,
9874,
262,
6074,
1110,
656,
6280,
16654,
290,
954,
606,
329,
257,
2318,
8262,
13,
46506,
7536,
62,
19197,
434,
62,
24616,
11,
327,
28270,
7,
10430,
62,
19197,
434,
62,
24616,
8,
16034,
41318,
... |
what is the maximum age of patients whose marital status is widowed and who have stayed in the hospital for 26 days. | SELECT MAX(demographic.age) FROM demographic WHERE demographic.marital_status = "WIDOWED" AND demographic.days_stay = "26" | [
10919,
318,
262,
5415,
2479,
286,
3871,
3025,
29555,
3722,
318,
9214,
6972,
290,
508,
423,
9658,
287,
262,
4436,
329,
2608,
1528,
13,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
3876,
1287,
62,
13376,
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
] | [
10919,
318,
262,
5415,
2479,
286,
3871,
3025,
29555,
3722,
318,
9214,
6972,
290,
508,
423,
9658,
287,
262,
4436,
329,
2608,
1528,
13,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
3876,
1287,
62,
13376,
796,... |
which track had the highest peak position ? | SELECT "title" FROM table_203_426 ORDER BY "peak chart positions\nuk" LIMIT 1 | [
4758,
2610,
550,
262,
4511,
9103,
2292,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
22416,
62,
42780,
38678,
11050,
366,
36729,
8262,
6116,
59,
77,
2724,
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
] | [
4758,
2610,
550,
262,
4511,
9103,
2292,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
22416,
62,
42780,
38678,
11050,
366,
36729,
8262,
6116,
59,
77,
2724,
1,
27564,
2043,
352
] |
Name the total number of date for score being l 106 116 (ot) | SELECT COUNT(date) FROM table_23281862_10 WHERE score = "L 106–116 (OT)" | [
5376,
262,
2472,
1271,
286,
3128,
329,
4776,
852,
300,
15696,
18693,
357,
313,
8,
46506,
327,
28270,
7,
4475,
8,
16034,
3084,
62,
1954,
2078,
1507,
5237,
62,
940,
33411,
4776,
796,
366,
43,
15696,
1906,
18298,
357,
2394,
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
] | [
5376,
262,
2472,
1271,
286,
3128,
329,
4776,
852,
300,
15696,
18693,
357,
313,
8,
46506,
327,
28270,
7,
4475,
8,
16034,
3084,
62,
1954,
2078,
1507,
5237,
62,
940,
33411,
4776,
796,
366,
43,
15696,
1906,
18298,
357,
2394,
16725
] |
Name the mens singles for jeliazko valkov dobrinka peneva | SELECT mens_singles FROM table_14903491_1 WHERE mixed_doubles = "Jeliazko Valkov Dobrinka Peneva" | [
5376,
262,
285,
641,
25287,
329,
474,
417,
17890,
7204,
410,
971,
709,
466,
1671,
48955,
279,
1734,
6862,
46506,
285,
641,
62,
12215,
829,
16034,
3084,
62,
1415,
3829,
2682,
6420,
62,
16,
33411,
7668,
62,
67,
280,
7689,
796,
366,
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
] | [
5376,
262,
285,
641,
25287,
329,
474,
417,
17890,
7204,
410,
971,
709,
466,
1671,
48955,
279,
1734,
6862,
46506,
285,
641,
62,
12215,
829,
16034,
3084,
62,
1415,
3829,
2682,
6420,
62,
16,
33411,
7668,
62,
67,
280,
7689,
796,
366,
41... |
How many cfl teams had pick # 21? | SELECT COUNT("CFL Team") FROM table_72797 WHERE "Pick #" = '21' | [
2437,
867,
269,
2704,
3466,
550,
2298,
1303,
2310,
30,
46506,
327,
28270,
7203,
34,
3697,
4816,
4943,
16034,
3084,
62,
47760,
5607,
33411,
366,
31686,
1303,
1,
796,
705,
2481,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
269,
2704,
3466,
550,
2298,
1303,
2310,
30,
46506,
327,
28270,
7203,
34,
3697,
4816,
4943,
16034,
3084,
62,
47760,
5607,
33411,
366,
31686,
1303,
1,
796,
705,
2481,
6
] |
What are the department ids, full names, and salaries for employees who make the most in their departments? | SELECT first_name, last_name, salary, department_id, MAX(salary) FROM employees GROUP BY department_id | [
2061,
389,
262,
5011,
220,
2340,
11,
1336,
3891,
11,
290,
17058,
329,
4409,
508,
787,
262,
749,
287,
511,
13346,
30,
46506,
717,
62,
3672,
11,
938,
62,
3672,
11,
9588,
11,
5011,
62,
312,
11,
25882,
7,
21680,
560,
8,
16034,
4409,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
5011,
220,
2340,
11,
1336,
3891,
11,
290,
17058,
329,
4409,
508,
787,
262,
749,
287,
511,
13346,
30,
46506,
717,
62,
3672,
11,
938,
62,
3672,
11,
9588,
11,
5011,
62,
312,
11,
25882,
7,
21680,
560,
8,
16034,
4409,
... |
who finished first in the standings ? | SELECT "team" FROM table_204_314 WHERE "pos" = 1 | [
8727,
5201,
717,
287,
262,
33864,
5633,
46506,
366,
15097,
1,
16034,
3084,
62,
18638,
62,
33638,
33411,
366,
1930,
1,
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
] | [
8727,
5201,
717,
287,
262,
33864,
5633,
46506,
366,
15097,
1,
16034,
3084,
62,
18638,
62,
33638,
33411,
366,
1930,
1,
796,
352
] |
Which countries have a scouting organization that was founded in 1926, and joined WOSM in 1930? | SELECT "Country" FROM table_16150 WHERE "Year current Scouting organization joined WOSM" = '1930' AND "Year member organization was founded" = '1926' | [
13828,
2678,
423,
257,
27088,
4009,
326,
373,
9393,
287,
38525,
11,
290,
5399,
370,
2640,
44,
287,
15533,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
1433,
8628,
33411,
366,
17688,
1459,
49716,
4009,
5399,
370,
2640,
44,
1,
796,
705,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
2678,
423,
257,
27088,
4009,
326,
373,
9393,
287,
38525,
11,
290,
5399,
370,
2640,
44,
287,
15533,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
1433,
8628,
33411,
366,
17688,
1459,
49716,
4009,
5399,
370,
2640,
44,
1,
796,
705,
... |
What College has a Player that is jermaine romans? | SELECT college FROM table_name_79 WHERE player = "jermaine romans" | [
2061,
5535,
468,
257,
7853,
326,
318,
474,
7780,
5718,
9267,
504,
30,
46506,
4152,
16034,
3084,
62,
3672,
62,
3720,
33411,
2137,
796,
366,
73,
7780,
5718,
9267,
504,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
5535,
468,
257,
7853,
326,
318,
474,
7780,
5718,
9267,
504,
30,
46506,
4152,
16034,
3084,
62,
3672,
62,
3720,
33411,
2137,
796,
366,
73,
7780,
5718,
9267,
504,
1
] |
how many hours has it been since patient 007-849 last received a prescription for cefazolin during the current hospital encounter? | SELECT 24 * (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 = '007-84... | [
4919,
867,
2250,
468,
340,
587,
1201,
5827,
3571,
22,
12,
23,
2920,
938,
2722,
257,
15077,
329,
269,
891,
1031,
24910,
1141,
262,
1459,
4436,
8791,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
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,
2250,
468,
340,
587,
1201,
5827,
3571,
22,
12,
23,
2920,
938,
2722,
257,
15077,
329,
269,
891,
1031,
24910,
1141,
262,
1459,
4436,
8791,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
... |
Who was the home team on June 9? | SELECT home_team FROM table_name_90 WHERE date = "june 9" | [
8241,
373,
262,
1363,
1074,
319,
2795,
860,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
3829,
33411,
3128,
796,
366,
73,
1726,
860,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
1363,
1074,
319,
2795,
860,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
3829,
33411,
3128,
796,
366,
73,
1726,
860,
1
] |
If Notre Dame had a pick larger than 5, what's the overall pick? | SELECT MAX("Overall") FROM table_8827 WHERE "College" = 'notre dame' AND "Pick" > '5' | [
1532,
23382,
20377,
550,
257,
2298,
4025,
621,
642,
11,
644,
338,
262,
4045,
2298,
30,
46506,
25882,
7203,
16350,
4943,
16034,
3084,
62,
3459,
1983,
33411,
366,
38951,
1,
796,
705,
1662,
260,
288,
480,
6,
5357,
366,
31686,
1,
1875,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23382,
20377,
550,
257,
2298,
4025,
621,
642,
11,
644,
338,
262,
4045,
2298,
30,
46506,
25882,
7203,
16350,
4943,
16034,
3084,
62,
3459,
1983,
33411,
366,
38951,
1,
796,
705,
1662,
260,
288,
480,
6,
5357,
366,
31686,
1,
1875,
... |
What total has a position smaller than 4, a B score higher than 9.125, and an A score less than 6.6? | SELECT AVG("Total") FROM table_63203 WHERE "Position" < '4' AND "B score" > '9.125' AND "A score" < '6.6' | [
2061,
2472,
468,
257,
2292,
4833,
621,
604,
11,
257,
347,
4776,
2440,
621,
860,
13,
11623,
11,
290,
281,
317,
4776,
1342,
621,
718,
13,
21,
30,
46506,
35224,
7203,
14957,
4943,
16034,
3084,
62,
5066,
22416,
33411,
366,
26545,
1,
127... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
2472,
468,
257,
2292,
4833,
621,
604,
11,
257,
347,
4776,
2440,
621,
860,
13,
11623,
11,
290,
281,
317,
4776,
1342,
621,
718,
13,
21,
30,
46506,
35224,
7203,
14957,
4943,
16034,
3084,
62,
5066,
22416,
33411,
366,
26545,
1,
127... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.