instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What season had a date of 30 august 1980 | SELECT "Season" FROM table_6774 WHERE "Date" = '30 august 1980' | [
2061,
1622,
550,
257,
3128,
286,
1542,
16339,
436,
7169,
46506,
366,
18960,
1,
16034,
3084,
62,
3134,
4524,
33411,
366,
10430,
1,
796,
705,
1270,
16339,
436,
7169,
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,
1622,
550,
257,
3128,
286,
1542,
16339,
436,
7169,
46506,
366,
18960,
1,
16034,
3084,
62,
3134,
4524,
33411,
366,
10430,
1,
796,
705,
1270,
16339,
436,
7169,
6
] |
Which Skip will play Joan Mccusker? | SELECT skip FROM table_name_83 WHERE second = "joan mccusker" | [
13828,
32214,
481,
711,
26640,
337,
535,
385,
6122,
30,
46506,
14267,
16034,
3084,
62,
3672,
62,
5999,
33411,
1218,
796,
366,
7639,
272,
285,
535,
385,
6122,
1
] | [
1,
1,
1,
1,
1,
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,
32214,
481,
711,
26640,
337,
535,
385,
6122,
30,
46506,
14267,
16034,
3084,
62,
3672,
62,
5999,
33411,
1218,
796,
366,
7639,
272,
285,
535,
385,
6122,
1
] |
What was the pick# for Lorenzo Freeman as defensive tackle? | SELECT pick__number FROM table_name_97 WHERE position = "defensive tackle" AND player = "lorenzo freeman" | [
2061,
373,
262,
2298,
2,
329,
41721,
22394,
355,
6110,
9761,
30,
46506,
2298,
834,
17618,
16034,
3084,
62,
3672,
62,
5607,
33411,
2292,
796,
366,
4299,
2021,
9761,
1,
5357,
2137,
796,
366,
75,
29578,
10872,
2030,
8463,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2298,
2,
329,
41721,
22394,
355,
6110,
9761,
30,
46506,
2298,
834,
17618,
16034,
3084,
62,
3672,
62,
5607,
33411,
2292,
796,
366,
4299,
2021,
9761,
1,
5357,
2137,
796,
366,
75,
29578,
10872,
2030,
8463,
1
] |
What is the additional major sponsor(s) that has red as its main color after 1991? | SELECT additional_major_sponsor_s_ FROM table_name_91 WHERE main_colour_s_ = "red" AND year > 1991 | [
2061,
318,
262,
3224,
1688,
17487,
7,
82,
8,
326,
468,
2266,
355,
663,
1388,
3124,
706,
10249,
30,
46506,
3224,
62,
22478,
62,
20587,
273,
62,
82,
62,
16034,
3084,
62,
3672,
62,
6420,
33411,
1388,
62,
49903,
62,
82,
62,
796,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3224,
1688,
17487,
7,
82,
8,
326,
468,
2266,
355,
663,
1388,
3124,
706,
10249,
30,
46506,
3224,
62,
22478,
62,
20587,
273,
62,
82,
62,
16034,
3084,
62,
3672,
62,
6420,
33411,
1388,
62,
49903,
62,
82,
62,
796,
366,
... |
Which Height Metres / feet has a Rank of 8, and Floors of 3x17? | SELECT "Height Metres / feet" FROM table_74823 WHERE "Rank" = '8' AND "Floors" = '3x17' | [
13828,
27280,
3395,
411,
1220,
3625,
468,
257,
10916,
286,
807,
11,
290,
29075,
669,
286,
513,
87,
1558,
30,
46506,
366,
23106,
3395,
411,
1220,
3625,
1,
16034,
3084,
62,
48246,
1954,
33411,
366,
27520,
1,
796,
705,
23,
6,
5357,
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
] | [
13828,
27280,
3395,
411,
1220,
3625,
468,
257,
10916,
286,
807,
11,
290,
29075,
669,
286,
513,
87,
1558,
30,
46506,
366,
23106,
3395,
411,
1220,
3625,
1,
16034,
3084,
62,
48246,
1954,
33411,
366,
27520,
1,
796,
705,
23,
6,
5357,
366... |
What is the type of turbine having fewer than 17 units and located in County Laois? | SELECT "Type" FROM table_36342 WHERE "Turbines" < '17' AND "Location" = 'county laois' | [
2061,
318,
262,
2099,
286,
36489,
1719,
7380,
621,
1596,
4991,
290,
5140,
287,
3418,
4689,
10924,
30,
46506,
366,
6030,
1,
16034,
3084,
62,
2623,
31575,
33411,
366,
51,
5945,
1127,
1,
1279,
705,
1558,
6,
5357,
366,
14749,
1,
796,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
36489,
1719,
7380,
621,
1596,
4991,
290,
5140,
287,
3418,
4689,
10924,
30,
46506,
366,
6030,
1,
16034,
3084,
62,
2623,
31575,
33411,
366,
51,
5945,
1127,
1,
1279,
705,
1558,
6,
5357,
366,
14749,
1,
796,
70... |
Which Network has 16.0 million Viewers? | SELECT "Network" FROM table_78360 WHERE "Viewers" = '16.0 million' | [
13828,
7311,
468,
1467,
13,
15,
1510,
3582,
364,
30,
46506,
366,
26245,
1,
16034,
3084,
62,
3695,
15277,
33411,
366,
7680,
364,
1,
796,
705,
1433,
13,
15,
1510,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
7311,
468,
1467,
13,
15,
1510,
3582,
364,
30,
46506,
366,
26245,
1,
16034,
3084,
62,
3695,
15277,
33411,
366,
7680,
364,
1,
796,
705,
1433,
13,
15,
1510,
6
] |
What are the first names and support rep ids for employees serving 10 or more customers, and could you list total number in descending order please? | SELECT T1.FirstName, T1.SupportRepId FROM Customer AS T1 JOIN Employee AS T2 ON T1.SupportRepId = T2.EmployeeId ORDER BY T1.SupportRepId DESC | [
2061,
389,
262,
717,
3891,
290,
1104,
1128,
220,
2340,
329,
4409,
7351,
838,
393,
517,
4297,
11,
290,
714,
345,
1351,
2472,
1271,
287,
31491,
1502,
3387,
30,
46506,
309,
16,
13,
5962,
5376,
11,
309,
16,
13,
15514,
6207,
7390,
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... | [
2061,
389,
262,
717,
3891,
290,
1104,
1128,
220,
2340,
329,
4409,
7351,
838,
393,
517,
4297,
11,
290,
714,
345,
1351,
2472,
1271,
287,
31491,
1502,
3387,
30,
46506,
309,
16,
13,
5962,
5376,
11,
309,
16,
13,
15514,
6207,
7390,
16034,... |
what is the drug that has been prescribed patient 30307 for two times in the last hospital encounter? | SELECT t1.drug FROM (SELECT prescriptions.drug, COUNT(prescriptions.startdate) AS c1 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 30307 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) GROUP BY prescriptions.dr... | [
10919,
318,
262,
2563,
326,
468,
587,
14798,
5827,
1542,
22996,
329,
734,
1661,
287,
262,
938,
4436,
8791,
30,
46506,
256,
16,
13,
30349,
16034,
357,
46506,
34092,
13,
30349,
11,
327,
28270,
7,
18302,
24370,
13,
9688,
4475,
8,
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... | [
10919,
318,
262,
2563,
326,
468,
587,
14798,
5827,
1542,
22996,
329,
734,
1661,
287,
262,
938,
4436,
8791,
30,
46506,
256,
16,
13,
30349,
16034,
357,
46506,
34092,
13,
30349,
11,
327,
28270,
7,
18302,
24370,
13,
9688,
4475,
8,
7054,
... |
Users by number of tag edits. | SELECT UserId AS "user_link", COUNT(Id) FROM PostHistory WHERE PostHistoryTypeId = 6 GROUP BY UserId ORDER BY COUNT(Id) DESC | [
14490,
416,
1271,
286,
7621,
31671,
13,
46506,
11787,
7390,
7054,
366,
7220,
62,
8726,
1600,
327,
28270,
7,
7390,
8,
16034,
2947,
18122,
33411,
2947,
18122,
6030,
7390,
796,
718,
44441,
11050,
11787,
7390,
38678,
11050,
327,
28270,
7,
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
] | [
14490,
416,
1271,
286,
7621,
31671,
13,
46506,
11787,
7390,
7054,
366,
7220,
62,
8726,
1600,
327,
28270,
7,
7390,
8,
16034,
2947,
18122,
33411,
2947,
18122,
6030,
7390,
796,
718,
44441,
11050,
11787,
7390,
38678,
11050,
327,
28270,
7,
7... |
give me the number of patients whose year of birth is less than 2197 and drug code is meth125i? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "2197" AND prescriptions.formulary_drug_cd = "METH125I" | [
26535,
502,
262,
1271,
286,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
362,
24991,
290,
2563,
2438,
318,
11248,
11623,
72,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
362,
24991,
290,
2563,
2438,
318,
11248,
11623,
72,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357... |
The golfer from the United states with a score of 72-70-69=211 is in what place? | SELECT place FROM table_name_46 WHERE country = "united states" AND score = 72 - 70 - 69 = 211 | [
464,
43791,
2232,
422,
262,
1578,
2585,
351,
257,
4776,
286,
7724,
12,
2154,
12,
3388,
28,
21895,
318,
287,
644,
1295,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
3510,
33411,
1499,
796,
366,
41187,
2585,
1,
5357,
4776,
796,
7724,
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
] | [
464,
43791,
2232,
422,
262,
1578,
2585,
351,
257,
4776,
286,
7724,
12,
2154,
12,
3388,
28,
21895,
318,
287,
644,
1295,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
3510,
33411,
1499,
796,
366,
41187,
2585,
1,
5357,
4776,
796,
7724,
5... |
Which platform has an Actual version of 0.147? | SELECT "Platform" FROM table_55130 WHERE "Actual version" = '0.147' | [
13828,
3859,
468,
281,
33520,
2196,
286,
657,
13,
20198,
30,
46506,
366,
37148,
1,
16034,
3084,
62,
2816,
12952,
33411,
366,
6398,
723,
2196,
1,
796,
705,
15,
13,
20198,
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,
3859,
468,
281,
33520,
2196,
286,
657,
13,
20198,
30,
46506,
366,
37148,
1,
16034,
3084,
62,
2816,
12952,
33411,
366,
6398,
723,
2196,
1,
796,
705,
15,
13,
20198,
6
] |
how many patients a year before were prescribed acetamin/hydrocodon 325mg/5mg in the same hospital visit after external fixation device? | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'external fixation device' AND DATETIME(treatment.treatmenttime, 'start of... | [
4919,
867,
3871,
257,
614,
878,
547,
14798,
25174,
5669,
14,
15511,
12204,
46457,
29524,
11296,
14,
20,
11296,
287,
262,
976,
4436,
3187,
706,
7097,
48785,
3335,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
257,
614,
878,
547,
14798,
25174,
5669,
14,
15511,
12204,
46457,
29524,
11296,
14,
20,
11296,
287,
262,
976,
4436,
3187,
706,
7097,
48785,
3335,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
... |
What are names of patients who made an appointment, and count them by a bar chart, and could you sort in asc by the X-axis? | SELECT Name, COUNT(Name) FROM Appointment AS T1 JOIN Patient AS T2 ON T1.Patient = T2.SSN GROUP BY Name ORDER BY Name | [
2061,
389,
3891,
286,
3871,
508,
925,
281,
12557,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
290,
714,
345,
3297,
287,
10570,
416,
262,
1395,
12,
22704,
30,
46506,
6530,
11,
327,
28270,
7,
5376,
8,
16034,
2034,
49805,
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... | [
2061,
389,
3891,
286,
3871,
508,
925,
281,
12557,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
290,
714,
345,
3297,
287,
10570,
416,
262,
1395,
12,
22704,
30,
46506,
6530,
11,
327,
28270,
7,
5376,
8,
16034,
2034,
49805,
7054,
309,
... |
Who is the conductor on the Multisonic label? | SELECT conductor FROM table_24521345_1 WHERE record_label = "Multisonic" | [
8241,
318,
262,
39206,
319,
262,
7854,
1653,
291,
6167,
30,
46506,
39206,
16034,
3084,
62,
1731,
4309,
1485,
2231,
62,
16,
33411,
1700,
62,
18242,
796,
366,
15205,
1653,
291,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
39206,
319,
262,
7854,
1653,
291,
6167,
30,
46506,
39206,
16034,
3084,
62,
1731,
4309,
1485,
2231,
62,
16,
33411,
1700,
62,
18242,
796,
366,
15205,
1653,
291,
1
] |
What was the conference matchup for the bowl game played in Glendale, Arizona? | SELECT conference_matchups FROM table_name_66 WHERE city = "glendale, arizona" | [
2061,
373,
262,
4495,
18406,
329,
262,
9396,
983,
2826,
287,
2671,
41147,
11,
7943,
30,
46506,
4495,
62,
15699,
4739,
16034,
3084,
62,
3672,
62,
2791,
33411,
1748,
796,
366,
4743,
41147,
11,
257,
380,
7551,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4495,
18406,
329,
262,
9396,
983,
2826,
287,
2671,
41147,
11,
7943,
30,
46506,
4495,
62,
15699,
4739,
16034,
3084,
62,
3672,
62,
2791,
33411,
1748,
796,
366,
4743,
41147,
11,
257,
380,
7551,
1
] |
What is the content of the television service ewtn in the United Kingdom? | SELECT content FROM table_name_94 WHERE country = "united kingdom" AND television_service = "ewtn" | [
2061,
318,
262,
2695,
286,
262,
5581,
2139,
304,
86,
34106,
287,
262,
1578,
7526,
30,
46506,
2695,
16034,
3084,
62,
3672,
62,
5824,
33411,
1499,
796,
366,
41187,
13239,
1,
5357,
5581,
62,
15271,
796,
366,
413,
34106,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2695,
286,
262,
5581,
2139,
304,
86,
34106,
287,
262,
1578,
7526,
30,
46506,
2695,
16034,
3084,
62,
3672,
62,
5824,
33411,
1499,
796,
366,
41187,
13239,
1,
5357,
5581,
62,
15271,
796,
366,
413,
34106,
1
] |
return me the authors who have more than 10 papers in PVLDB . | SELECT author.name FROM author, journal, publication, writes WHERE journal.name = 'PVLDB' AND publication.jid = journal.jid AND writes.aid = author.aid AND writes.pid = publication.pid GROUP BY author.name HAVING COUNT(DISTINCT (publication.title)) > 10 | [
7783,
502,
262,
7035,
508,
423,
517,
621,
838,
9473,
287,
31392,
43,
11012,
764,
46506,
1772,
13,
3672,
16034,
1772,
11,
3989,
11,
9207,
11,
6797,
33411,
3989,
13,
3672,
796,
705,
47,
47468,
11012,
6,
5357,
9207,
13,
73,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
7783,
502,
262,
7035,
508,
423,
517,
621,
838,
9473,
287,
31392,
43,
11012,
764,
46506,
1772,
13,
3672,
16034,
1772,
11,
3989,
11,
9207,
11,
6797,
33411,
3989,
13,
3672,
796,
705,
47,
47468,
11012,
6,
5357,
9207,
13,
73,
312,
796,
... |
Who was the incumbent in the district that first elected someone in 1807? | SELECT incumbent FROM table_2668378_18 WHERE first_elected = "1807" | [
8241,
373,
262,
23526,
287,
262,
4783,
326,
717,
7018,
2130,
287,
1248,
2998,
30,
46506,
23526,
16034,
3084,
62,
2075,
3104,
30695,
62,
1507,
33411,
717,
62,
28604,
796,
366,
1507,
2998,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23526,
287,
262,
4783,
326,
717,
7018,
2130,
287,
1248,
2998,
30,
46506,
23526,
16034,
3084,
62,
2075,
3104,
30695,
62,
1507,
33411,
717,
62,
28604,
796,
366,
1507,
2998,
1
] |
What is the total revenue of all companies whose main office is at Tokyo or Taiwan? | SELECT SUM(revenue) FROM manufacturers WHERE Headquarter = 'Tokyo' OR Headquarter = 'Taiwan' | [
2061,
318,
262,
2472,
6426,
286,
477,
2706,
3025,
1388,
2607,
318,
379,
11790,
393,
14119,
30,
46506,
35683,
7,
260,
4080,
8,
16034,
11372,
33411,
7123,
24385,
796,
705,
19042,
8226,
6,
6375,
7123,
24385,
796,
705,
47976,
8149,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
6426,
286,
477,
2706,
3025,
1388,
2607,
318,
379,
11790,
393,
14119,
30,
46506,
35683,
7,
260,
4080,
8,
16034,
11372,
33411,
7123,
24385,
796,
705,
19042,
8226,
6,
6375,
7123,
24385,
796,
705,
47976,
8149,
6
] |
Who are the Batsmen from the year 2002? | SELECT batsmen FROM table_name_98 WHERE year = "2002" | [
8241,
389,
262,
347,
1381,
3653,
422,
262,
614,
6244,
30,
46506,
19553,
3653,
16034,
3084,
62,
3672,
62,
4089,
33411,
614,
796,
366,
16942,
1
] | [
1,
1,
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,
347,
1381,
3653,
422,
262,
614,
6244,
30,
46506,
19553,
3653,
16034,
3084,
62,
3672,
62,
4089,
33411,
614,
796,
366,
16942,
1
] |
Find the number of patients who stayed more than 5 days in the hospital and had a cardiac mapping procedure. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "5" AND procedures.short_title = "Cardiac mapping" | [
16742,
262,
1271,
286,
3871,
508,
9658,
517,
621,
642,
1528,
287,
262,
4436,
290,
550,
257,
26077,
16855,
8771,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
1271,
286,
3871,
508,
9658,
517,
621,
642,
1528,
287,
262,
4436,
290,
550,
257,
26077,
16855,
8771,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021... |
how many times does patient 17667 have a bicarbonate test? | SELECT COUNT(*) FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'bicarbonate') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 17667) | [
4919,
867,
1661,
857,
5827,
1596,
28933,
423,
257,
275,
291,
42084,
378,
1332,
30,
46506,
327,
28270,
7,
28104,
16034,
2248,
31534,
33411,
2248,
31534,
13,
9186,
312,
3268,
357,
46506,
288,
62,
23912,
23814,
13,
9186,
312,
16034,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
857,
5827,
1596,
28933,
423,
257,
275,
291,
42084,
378,
1332,
30,
46506,
327,
28270,
7,
28104,
16034,
2248,
31534,
33411,
2248,
31534,
13,
9186,
312,
3268,
357,
46506,
288,
62,
23912,
23814,
13,
9186,
312,
16034,
288,
... |
how many titles are listed for august ? | SELECT COUNT("title") FROM table_203_349 WHERE "original air date" = 8 | [
4919,
867,
8714,
389,
5610,
329,
16339,
436,
5633,
46506,
327,
28270,
7203,
7839,
4943,
16034,
3084,
62,
22416,
62,
27371,
33411,
366,
14986,
1633,
3128,
1,
796,
807
] | [
1,
1,
1,
1,
1,
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,
8714,
389,
5610,
329,
16339,
436,
5633,
46506,
327,
28270,
7203,
7839,
4943,
16034,
3084,
62,
22416,
62,
27371,
33411,
366,
14986,
1633,
3128,
1,
796,
807
] |
How many different pairs of people did the story and storyboard of the episode titled 'Milo's big idea'? | SELECT COUNT("Story & Storyboards by") FROM table_30336 WHERE "Title" = 'Milo''s Big Idea' | [
2437,
867,
1180,
14729,
286,
661,
750,
262,
1621,
290,
1621,
3526,
286,
262,
4471,
11946,
705,
44,
18526,
338,
1263,
2126,
30960,
46506,
327,
28270,
7203,
11605,
1222,
8362,
12821,
416,
4943,
16034,
3084,
62,
1270,
29211,
33411,
366,
19... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1180,
14729,
286,
661,
750,
262,
1621,
290,
1621,
3526,
286,
262,
4471,
11946,
705,
44,
18526,
338,
1263,
2126,
30960,
46506,
327,
28270,
7203,
11605,
1222,
8362,
12821,
416,
4943,
16034,
3084,
62,
1270,
29211,
33411,
366,
19... |
what is the powertrain (engine/transmission) when the order year is 2000? | SELECT powertrain__engine_transmission_ FROM table_10007452_3 WHERE order_year = "2000" | [
10919,
318,
262,
1176,
27432,
357,
18392,
14,
7645,
3411,
8,
618,
262,
1502,
614,
318,
4751,
30,
46506,
1176,
27432,
834,
18392,
62,
7645,
3411,
62,
16034,
3084,
62,
12825,
22,
37730,
62,
18,
33411,
1502,
62,
1941,
796,
366,
11024,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1176,
27432,
357,
18392,
14,
7645,
3411,
8,
618,
262,
1502,
614,
318,
4751,
30,
46506,
1176,
27432,
834,
18392,
62,
7645,
3411,
62,
16034,
3084,
62,
12825,
22,
37730,
62,
18,
33411,
1502,
62,
1941,
796,
366,
11024,
... |
What is Headquarter, when Language is English, and when Type is Independent Online News Portal? | SELECT headquarter FROM table_name_89 WHERE language = "english" AND type = "independent online news portal" | [
2061,
318,
7123,
24385,
11,
618,
15417,
318,
3594,
11,
290,
618,
5994,
318,
13362,
7467,
3000,
25663,
30,
46506,
1182,
24385,
16034,
3084,
62,
3672,
62,
4531,
33411,
3303,
796,
366,
39126,
1,
5357,
2099,
796,
366,
34750,
2691,
1705,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7123,
24385,
11,
618,
15417,
318,
3594,
11,
290,
618,
5994,
318,
13362,
7467,
3000,
25663,
30,
46506,
1182,
24385,
16034,
3084,
62,
3672,
62,
4531,
33411,
3303,
796,
366,
39126,
1,
5357,
2099,
796,
366,
34750,
2691,
1705,
1... |
What was the elapsed time for the championship that had $9,377.42 in prize money? | SELECT elapsed_time FROM table_22050544_4 WHERE prize = "$9,377.42" | [
2061,
373,
262,
42118,
640,
329,
262,
12184,
326,
550,
720,
24,
11,
26514,
13,
3682,
287,
11596,
1637,
30,
46506,
42118,
62,
2435,
16034,
3084,
62,
17572,
31654,
2598,
62,
19,
33411,
11596,
796,
17971,
24,
11,
26514,
13,
3682,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
42118,
640,
329,
262,
12184,
326,
550,
720,
24,
11,
26514,
13,
3682,
287,
11596,
1637,
30,
46506,
42118,
62,
2435,
16034,
3084,
62,
17572,
31654,
2598,
62,
19,
33411,
11596,
796,
17971,
24,
11,
26514,
13,
3682,
1
] |
Which title has 147 as no. in series? | SELECT "Title" FROM table_3995 WHERE "No. in series" = '147' | [
13828,
3670,
468,
22909,
355,
645,
13,
287,
2168,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
28771,
20,
33411,
366,
2949,
13,
287,
2168,
1,
796,
705,
20198,
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
] | [
13828,
3670,
468,
22909,
355,
645,
13,
287,
2168,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
28771,
20,
33411,
366,
2949,
13,
287,
2168,
1,
796,
705,
20198,
6
] |
Which ERP W is the lowest one that has a Frequency MHz of 91.3? | SELECT MIN(erp_w) FROM table_name_58 WHERE frequency_mhz = 91.3 | [
13828,
13793,
47,
370,
318,
262,
9016,
530,
326,
468,
257,
31902,
19805,
286,
10495,
13,
18,
30,
46506,
20625,
7,
263,
79,
62,
86,
8,
16034,
3084,
62,
3672,
62,
3365,
33411,
8373,
62,
76,
32179,
796,
10495,
13,
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
] | [
13828,
13793,
47,
370,
318,
262,
9016,
530,
326,
468,
257,
31902,
19805,
286,
10495,
13,
18,
30,
46506,
20625,
7,
263,
79,
62,
86,
8,
16034,
3084,
62,
3672,
62,
3365,
33411,
8373,
62,
76,
32179,
796,
10495,
13,
18
] |
What is the active Date that has a 65 (100) Max 1-min wind? | SELECT "Dates active" FROM table_38473 WHERE "Max 1-min wind mph (km/h)" = '65 (100)' | [
2061,
318,
262,
4075,
7536,
326,
468,
257,
6135,
357,
3064,
8,
5436,
352,
12,
1084,
2344,
30,
46506,
366,
35,
689,
4075,
1,
16034,
3084,
62,
2548,
37804,
33411,
366,
11518,
352,
12,
1084,
2344,
16462,
357,
13276,
14,
71,
16725,
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
] | [
2061,
318,
262,
4075,
7536,
326,
468,
257,
6135,
357,
3064,
8,
5436,
352,
12,
1084,
2344,
30,
46506,
366,
35,
689,
4075,
1,
16034,
3084,
62,
2548,
37804,
33411,
366,
11518,
352,
12,
1084,
2344,
16462,
357,
13276,
14,
71,
16725,
796,... |
how many times patient 013-27480 has gone to icu? | SELECT COUNT(DISTINCT patient.patientunitstayid) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-27480') | [
4919,
867,
1661,
5827,
5534,
18,
12,
1983,
22148,
468,
3750,
284,
14158,
84,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
26029,
20850,
31712,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
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... | [
4919,
867,
1661,
5827,
5534,
18,
12,
1983,
22148,
468,
3750,
284,
14158,
84,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
26029,
20850,
31712,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
3... |
How many players were names Howard Eisley? | SELECT COUNT("No.") FROM table_16862 WHERE "Player" = 'Howard Eisley' | [
2437,
867,
1938,
547,
3891,
8442,
412,
271,
1636,
30,
46506,
327,
28270,
7203,
2949,
19570,
16034,
3084,
62,
1433,
4521,
17,
33411,
366,
14140,
1,
796,
705,
32434,
412,
271,
1636,
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
] | [
2437,
867,
1938,
547,
3891,
8442,
412,
271,
1636,
30,
46506,
327,
28270,
7203,
2949,
19570,
16034,
3084,
62,
1433,
4521,
17,
33411,
366,
14140,
1,
796,
705,
32434,
412,
271,
1636,
6
] |
Which district has an incumbent of Sanford Bishop? | SELECT district FROM table_name_92 WHERE incumbent = "sanford bishop" | [
13828,
4783,
468,
281,
23526,
286,
42862,
16559,
30,
46506,
4783,
16034,
3084,
62,
3672,
62,
5892,
33411,
23526,
796,
366,
12807,
3841,
24233,
1
] | [
1,
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,
4783,
468,
281,
23526,
286,
42862,
16559,
30,
46506,
4783,
16034,
3084,
62,
3672,
62,
5892,
33411,
23526,
796,
366,
12807,
3841,
24233,
1
] |
What is the number of bronze for Canada and silver is less than 0? | SELECT SUM("Bronze") FROM table_57396 WHERE "Nation" = 'canada' AND "Silver" < '0' | [
2061,
318,
262,
1271,
286,
22101,
329,
3340,
290,
8465,
318,
1342,
621,
657,
30,
46506,
35683,
7203,
18760,
2736,
4943,
16034,
3084,
62,
3553,
34107,
33411,
366,
46108,
1,
796,
705,
5171,
4763,
6,
5357,
366,
26766,
1,
1279,
705,
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
] | [
2061,
318,
262,
1271,
286,
22101,
329,
3340,
290,
8465,
318,
1342,
621,
657,
30,
46506,
35683,
7203,
18760,
2736,
4943,
16034,
3084,
62,
3553,
34107,
33411,
366,
46108,
1,
796,
705,
5171,
4763,
6,
5357,
366,
26766,
1,
1279,
705,
15,
... |
What is the least amount of prize money when there are 21 events? | SELECT MIN(prize_money___) AS $__ FROM table_name_96 WHERE events = 21 | [
2061,
318,
262,
1551,
2033,
286,
11596,
1637,
618,
612,
389,
2310,
2995,
30,
46506,
20625,
7,
3448,
2736,
62,
26316,
17569,
8,
7054,
720,
834,
16034,
3084,
62,
3672,
62,
4846,
33411,
2995,
796,
2310
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1551,
2033,
286,
11596,
1637,
618,
612,
389,
2310,
2995,
30,
46506,
20625,
7,
3448,
2736,
62,
26316,
17569,
8,
7054,
720,
834,
16034,
3084,
62,
3672,
62,
4846,
33411,
2995,
796,
2310
] |
in what event did chelsea williams win her first title ? | SELECT "event" FROM table_204_791 WHERE "winner" = 'chelsea wlliams' ORDER BY "event" LIMIT 1 | [
259,
644,
1785,
750,
1125,
75,
8583,
481,
1789,
82,
1592,
607,
717,
3670,
5633,
46506,
366,
15596,
1,
16034,
3084,
62,
18638,
62,
3720,
16,
33411,
366,
39791,
1,
796,
705,
29232,
8583,
266,
297,
1789,
82,
6,
38678,
11050,
366,
15596... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
259,
644,
1785,
750,
1125,
75,
8583,
481,
1789,
82,
1592,
607,
717,
3670,
5633,
46506,
366,
15596,
1,
16034,
3084,
62,
18638,
62,
3720,
16,
33411,
366,
39791,
1,
796,
705,
29232,
8583,
266,
297,
1789,
82,
6,
38678,
11050,
366,
15596... |
What's the Pick average that has a School/Club Team of Alabama, with a Round that's smaller than 9? | SELECT AVG("Pick") FROM table_35392 WHERE "School/Club Team" = 'alabama' AND "Round" < '9' | [
2061,
338,
262,
12346,
2811,
326,
468,
257,
3961,
14,
42350,
4816,
286,
9266,
11,
351,
257,
10485,
326,
338,
4833,
621,
860,
30,
46506,
35224,
7203,
31686,
4943,
16034,
3084,
62,
2327,
32321,
33411,
366,
26130,
14,
42350,
4816,
1,
796... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
12346,
2811,
326,
468,
257,
3961,
14,
42350,
4816,
286,
9266,
11,
351,
257,
10485,
326,
338,
4833,
621,
860,
30,
46506,
35224,
7203,
31686,
4943,
16034,
3084,
62,
2327,
32321,
33411,
366,
26130,
14,
42350,
4816,
1,
796... |
In the Champions league is the forward position smaller than 6.0 | SELECT COUNT("Champions League") FROM table_21767 WHERE "Position" = 'Forward' AND "League" < '6.0' | [
818,
262,
6662,
4652,
318,
262,
2651,
2292,
4833,
621,
718,
13,
15,
46506,
327,
28270,
7203,
1925,
4350,
4041,
4943,
16034,
3084,
62,
24591,
3134,
33411,
366,
26545,
1,
796,
705,
39746,
6,
5357,
366,
24623,
1,
1279,
705,
21,
13,
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
] | [
818,
262,
6662,
4652,
318,
262,
2651,
2292,
4833,
621,
718,
13,
15,
46506,
327,
28270,
7203,
1925,
4350,
4041,
4943,
16034,
3084,
62,
24591,
3134,
33411,
366,
26545,
1,
796,
705,
39746,
6,
5357,
366,
24623,
1,
1279,
705,
21,
13,
15,... |
who ran the least number of laps in the 1999 miller lite 225 ? | SELECT "driver" FROM table_204_946 ORDER BY "laps" LIMIT 1 | [
8727,
4966,
262,
1551,
1271,
286,
24590,
287,
262,
7358,
3939,
263,
300,
578,
18500,
5633,
46506,
366,
26230,
1,
16034,
3084,
62,
18638,
62,
24,
3510,
38678,
11050,
366,
75,
1686,
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
] | [
8727,
4966,
262,
1551,
1271,
286,
24590,
287,
262,
7358,
3939,
263,
300,
578,
18500,
5633,
46506,
366,
26230,
1,
16034,
3084,
62,
18638,
62,
24,
3510,
38678,
11050,
366,
75,
1686,
1,
27564,
2043,
352
] |
When the pos equals 18 what is the max amount of points? | SELECT MAX("Points") FROM table_26035 WHERE "Pos" = '18' | [
2215,
262,
1426,
21767,
1248,
644,
318,
262,
3509,
2033,
286,
2173,
30,
46506,
25882,
7203,
40710,
4943,
16034,
3084,
62,
21719,
2327,
33411,
366,
21604,
1,
796,
705,
1507,
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
] | [
2215,
262,
1426,
21767,
1248,
644,
318,
262,
3509,
2033,
286,
2173,
30,
46506,
25882,
7203,
40710,
4943,
16034,
3084,
62,
21719,
2327,
33411,
366,
21604,
1,
796,
705,
1507,
6
] |
how many causes were responsible for more than 50,000 confirmed deaths ? | SELECT COUNT("description") FROM table_203_234 WHERE "total" > 50000 | [
4919,
867,
5640,
547,
4497,
329,
517,
621,
2026,
11,
830,
4999,
7040,
5633,
46506,
327,
28270,
7203,
11213,
4943,
16034,
3084,
62,
22416,
62,
24409,
33411,
366,
23350,
1,
1875,
642,
2388
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5640,
547,
4497,
329,
517,
621,
2026,
11,
830,
4999,
7040,
5633,
46506,
327,
28270,
7203,
11213,
4943,
16034,
3084,
62,
22416,
62,
24409,
33411,
366,
23350,
1,
1875,
642,
2388
] |
When the A Score was larger than 5.933 with a total of 19.833, what nation was this? | SELECT nation FROM table_name_40 WHERE a_score > 5.933 AND total = 19.833 | [
2215,
262,
317,
15178,
373,
4025,
621,
642,
13,
24,
2091,
351,
257,
2472,
286,
678,
13,
48634,
11,
644,
3277,
373,
428,
30,
46506,
3277,
16034,
3084,
62,
3672,
62,
1821,
33411,
257,
62,
26675,
1875,
642,
13,
24,
2091,
5357,
2472,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
317,
15178,
373,
4025,
621,
642,
13,
24,
2091,
351,
257,
2472,
286,
678,
13,
48634,
11,
644,
3277,
373,
428,
30,
46506,
3277,
16034,
3084,
62,
3672,
62,
1821,
33411,
257,
62,
26675,
1875,
642,
13,
24,
2091,
5357,
2472,
... |
What is the name and description for document type code RV? | SELECT document_type_name, document_type_description FROM Ref_document_types WHERE document_type_code = "RV" | [
2061,
318,
262,
1438,
290,
6764,
329,
3188,
2099,
2438,
31367,
30,
46506,
3188,
62,
4906,
62,
3672,
11,
3188,
62,
4906,
62,
11213,
16034,
6524,
62,
22897,
62,
19199,
33411,
3188,
62,
4906,
62,
8189,
796,
366,
49,
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
] | [
2061,
318,
262,
1438,
290,
6764,
329,
3188,
2099,
2438,
31367,
30,
46506,
3188,
62,
4906,
62,
3672,
11,
3188,
62,
4906,
62,
11213,
16034,
6524,
62,
22897,
62,
19199,
33411,
3188,
62,
4906,
62,
8189,
796,
366,
49,
53,
1
] |
Show the outcome code of mailshots along with the number of mailshots in each outcome code in a bar chart, and show y-axis in asc order. | SELECT outcome_code, COUNT(*) FROM Mailshot_Customers GROUP BY outcome_code ORDER BY COUNT(*) | [
15307,
262,
8055,
2438,
286,
6920,
20910,
1863,
351,
262,
1271,
286,
6920,
20910,
287,
1123,
8055,
2438,
287,
257,
2318,
8262,
11,
290,
905,
331,
12,
22704,
287,
10570,
1502,
13,
46506,
8055,
62,
8189,
11,
327,
28270,
7,
28104,
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
] | [
15307,
262,
8055,
2438,
286,
6920,
20910,
1863,
351,
262,
1271,
286,
6920,
20910,
287,
1123,
8055,
2438,
287,
257,
2318,
8262,
11,
290,
905,
331,
12,
22704,
287,
10570,
1502,
13,
46506,
8055,
62,
8189,
11,
327,
28270,
7,
28104,
16034,... |
Name the number of date for dallas | SELECT COUNT("Date") FROM table_25508 WHERE "Team" = 'Dallas' | [
5376,
262,
1271,
286,
3128,
329,
288,
7826,
46506,
327,
28270,
7203,
10430,
4943,
16034,
3084,
62,
1495,
33042,
33411,
366,
15592,
1,
796,
705,
40540,
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,
1271,
286,
3128,
329,
288,
7826,
46506,
327,
28270,
7203,
10430,
4943,
16034,
3084,
62,
1495,
33042,
33411,
366,
15592,
1,
796,
705,
40540,
6
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of first_name and salary in a bar chart. | SELECT FIRST_NAME, SALARY 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,
905,
502,
546,
262,
6082,
286,
717,
62,
3672,
290,
9588,
287,
257,
2318,
8262,
13,
46506,
31328,
62,
20608,
11,
42475,
13153... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
905,
502,
546,
262,
6082,
286,
717,
62,
3672,
290,
9588,
287,
257,
2318,
8262,
13,
46506,
31328,
62,
20608,
11,
42475,
13153... |
Where was the game with a 4-1 record played? | SELECT location FROM table_23243769_4 WHERE record = "4-1" | [
8496,
373,
262,
983,
351,
257,
604,
12,
16,
1700,
2826,
30,
46506,
4067,
16034,
3084,
62,
1954,
1731,
2718,
3388,
62,
19,
33411,
1700,
796,
366,
19,
12,
16,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8496,
373,
262,
983,
351,
257,
604,
12,
16,
1700,
2826,
30,
46506,
4067,
16034,
3084,
62,
1954,
1731,
2718,
3388,
62,
19,
33411,
1700,
796,
366,
19,
12,
16,
1
] |
what is the number of patients whose death status is 0 and lab test name is thyroxine (t4), free? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.expire_flag = "0" AND lab.label = "Thyroxine (T4), Free" | [
10919,
318,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
2248,
1332,
1438,
318,
11906,
13907,
500,
357,
83,
19,
828,
1479,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
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... | [
10919,
318,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
2248,
1332,
1438,
318,
11906,
13907,
500,
357,
83,
19,
828,
1479,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
2... |
who made highest rebounds on april 11 | SELECT "High rebounds" FROM table_1674 WHERE "Date" = 'April 11' | [
8727,
925,
4511,
18841,
319,
46593,
346,
1367,
46506,
366,
11922,
18841,
1,
16034,
3084,
62,
1433,
4524,
33411,
366,
10430,
1,
796,
705,
16784,
1367,
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
] | [
8727,
925,
4511,
18841,
319,
46593,
346,
1367,
46506,
366,
11922,
18841,
1,
16034,
3084,
62,
1433,
4524,
33411,
366,
10430,
1,
796,
705,
16784,
1367,
6
] |
What is the total points for GP/GS of 24/23? | SELECT "Total Points" FROM table_40521 WHERE "GP/GS" = '24/23' | [
2061,
318,
262,
2472,
2173,
329,
14714,
14,
14313,
286,
1987,
14,
1954,
30,
46506,
366,
14957,
11045,
1,
16034,
3084,
62,
26598,
2481,
33411,
366,
16960,
14,
14313,
1,
796,
705,
1731,
14,
1954,
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,
2472,
2173,
329,
14714,
14,
14313,
286,
1987,
14,
1954,
30,
46506,
366,
14957,
11045,
1,
16034,
3084,
62,
26598,
2481,
33411,
366,
16960,
14,
14313,
1,
796,
705,
1731,
14,
1954,
6
] |
What is the highest average of goals less than 45 for team Real Sociedad? | SELECT MAX(average) FROM table_name_3 WHERE goals < 45 AND team = "real sociedad" | [
2061,
318,
262,
4511,
2811,
286,
4661,
1342,
621,
4153,
329,
1074,
6416,
3345,
798,
324,
30,
46506,
25882,
7,
23913,
8,
16034,
3084,
62,
3672,
62,
18,
33411,
4661,
1279,
4153,
5357,
1074,
796,
366,
5305,
1307,
798,
324,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
286,
4661,
1342,
621,
4153,
329,
1074,
6416,
3345,
798,
324,
30,
46506,
25882,
7,
23913,
8,
16034,
3084,
62,
3672,
62,
18,
33411,
4661,
1279,
4153,
5357,
1074,
796,
366,
5305,
1307,
798,
324,
1
] |
ratio of 15:14, and a just (cents) larger than 119.44 is what average size (cents)? | SELECT AVG(size__cents_) FROM table_name_40 WHERE just_ratio = "15:14" AND just__cents_ > 119.44 | [
10366,
952,
286,
1315,
25,
1415,
11,
290,
257,
655,
357,
66,
658,
8,
4025,
621,
15136,
13,
2598,
318,
644,
2811,
2546,
357,
66,
658,
19427,
46506,
35224,
7,
7857,
834,
66,
658,
62,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
655,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10366,
952,
286,
1315,
25,
1415,
11,
290,
257,
655,
357,
66,
658,
8,
4025,
621,
15136,
13,
2598,
318,
644,
2811,
2546,
357,
66,
658,
19427,
46506,
35224,
7,
7857,
834,
66,
658,
62,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
655,
... |
What was the outcome of the Tournament of lugano , switzerland wta virginia slims, against bonnie gadusek? | SELECT outcome FROM table_name_68 WHERE tournament = "lugano , switzerland wta virginia slims" AND opponent_in_the_final = "bonnie gadusek" | [
2061,
373,
262,
8055,
286,
262,
9595,
286,
49419,
5733,
837,
1509,
13947,
266,
8326,
21772,
544,
1017,
12078,
11,
1028,
5351,
11952,
23793,
1904,
74,
30,
46506,
8055,
16034,
3084,
62,
3672,
62,
3104,
33411,
7756,
796,
366,
75,
1018,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
373,
262,
8055,
286,
262,
9595,
286,
49419,
5733,
837,
1509,
13947,
266,
8326,
21772,
544,
1017,
12078,
11,
1028,
5351,
11952,
23793,
1904,
74,
30,
46506,
8055,
16034,
3084,
62,
3672,
62,
3104,
33411,
7756,
796,
366,
75,
1018,
5... |
Name the to par with money of 200,000 for australia | SELECT to_par FROM table_name_30 WHERE money___£__ = "200,000" AND country = "australia" | [
5376,
262,
284,
1582,
351,
1637,
286,
939,
11,
830,
329,
38132,
1373,
544,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
1270,
33411,
1637,
17569,
14988,
834,
796,
366,
2167,
11,
830,
1,
5357,
1499,
796,
366,
64,
436,
1373,
544,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
284,
1582,
351,
1637,
286,
939,
11,
830,
329,
38132,
1373,
544,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
1270,
33411,
1637,
17569,
14988,
834,
796,
366,
2167,
11,
830,
1,
5357,
1499,
796,
366,
64,
436,
1373,
544,
... |
What's the heat that was timed 2:08.54? | SELECT COUNT(heat) FROM table_name_64 WHERE time = "2:08.54" | [
2061,
338,
262,
4894,
326,
373,
28805,
362,
25,
2919,
13,
4051,
30,
46506,
327,
28270,
7,
25080,
8,
16034,
3084,
62,
3672,
62,
2414,
33411,
640,
796,
366,
17,
25,
2919,
13,
4051,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4894,
326,
373,
28805,
362,
25,
2919,
13,
4051,
30,
46506,
327,
28270,
7,
25080,
8,
16034,
3084,
62,
3672,
62,
2414,
33411,
640,
796,
366,
17,
25,
2919,
13,
4051,
1
] |
Top 1000 Users in India. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%india%' OR UPPER(Location) LIKE '%IND' ORDER BY Reputation DESC LIMIT 1000 | [
9126,
8576,
18987,
287,
3794,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
16034,
18987,
33411,
406,
36048,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9126,
8576,
18987,
287,
3794,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
16034,
18987,
33411,
406,
36048,
... |
For the year won of 2001, what is the To Par? | SELECT to_par FROM table_name_29 WHERE year_s__won = "2001" | [
1890,
262,
614,
1839,
286,
5878,
11,
644,
318,
262,
1675,
2547,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
1959,
33411,
614,
62,
82,
834,
26502,
796,
366,
14585,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
614,
1839,
286,
5878,
11,
644,
318,
262,
1675,
2547,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
1959,
33411,
614,
62,
82,
834,
26502,
796,
366,
14585,
1
] |
Which School name has students smaller than 389, and grades of 10-12? | SELECT school_name FROM table_name_64 WHERE students < 389 AND grades = "10-12" | [
13828,
3961,
1438,
468,
2444,
4833,
621,
49633,
11,
290,
19051,
286,
838,
12,
1065,
30,
46506,
1524,
62,
3672,
16034,
3084,
62,
3672,
62,
2414,
33411,
2444,
1279,
49633,
5357,
19051,
796,
366,
940,
12,
1065,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
3961,
1438,
468,
2444,
4833,
621,
49633,
11,
290,
19051,
286,
838,
12,
1065,
30,
46506,
1524,
62,
3672,
16034,
3084,
62,
3672,
62,
2414,
33411,
2444,
1279,
49633,
5357,
19051,
796,
366,
940,
12,
1065,
1
] |
what is the date of week 7 | SELECT "Date" FROM table_36103 WHERE "Week" = '7' | [
10919,
318,
262,
3128,
286,
1285,
767,
46506,
366,
10430,
1,
16034,
3084,
62,
2623,
15197,
33411,
366,
20916,
1,
796,
705,
22,
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
] | [
10919,
318,
262,
3128,
286,
1285,
767,
46506,
366,
10430,
1,
16034,
3084,
62,
2623,
15197,
33411,
366,
20916,
1,
796,
705,
22,
6
] |
What is the nssdc id for Echo 1? | SELECT "NSSDC ID" FROM table_24413 WHERE "Satellite" = 'Echo 1' | [
2061,
318,
262,
299,
824,
17896,
4686,
329,
21455,
352,
30,
46506,
366,
45,
5432,
9697,
4522,
1,
16034,
3084,
62,
25707,
1485,
33411,
366,
50,
26493,
1,
796,
705,
36,
6679,
352,
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,
299,
824,
17896,
4686,
329,
21455,
352,
30,
46506,
366,
45,
5432,
9697,
4522,
1,
16034,
3084,
62,
25707,
1485,
33411,
366,
50,
26493,
1,
796,
705,
36,
6679,
352,
6
] |
What was the gtu winning team when the gto winning team was #48 greenwood racing? | SELECT gtu_winning_team FROM table_13657883_2 WHERE gto_winning_team = "#48 Greenwood Racing" | [
2061,
373,
262,
308,
28047,
5442,
1074,
618,
262,
308,
1462,
5442,
1074,
373,
1303,
2780,
4077,
3822,
11717,
30,
46506,
308,
28047,
62,
14463,
62,
15097,
16034,
3084,
62,
1485,
37680,
49287,
62,
17,
33411,
308,
1462,
62,
14463,
62,
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
] | [
2061,
373,
262,
308,
28047,
5442,
1074,
618,
262,
308,
1462,
5442,
1074,
373,
1303,
2780,
4077,
3822,
11717,
30,
46506,
308,
28047,
62,
14463,
62,
15097,
16034,
3084,
62,
1485,
37680,
49287,
62,
17,
33411,
308,
1462,
62,
14463,
62,
15... |
How many total credits are offered by each department? | SELECT SUM(credits), dept_name FROM course GROUP BY dept_name | [
2437,
867,
2472,
10824,
389,
4438,
416,
1123,
5011,
30,
46506,
35683,
7,
66,
20696,
828,
390,
457,
62,
3672,
16034,
1781,
44441,
11050,
390,
457,
62,
3672
] | [
1,
1,
1,
1,
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,
2472,
10824,
389,
4438,
416,
1123,
5011,
30,
46506,
35683,
7,
66,
20696,
828,
390,
457,
62,
3672,
16034,
1781,
44441,
11050,
390,
457,
62,
3672
] |
How many courses for each office? Show me a bar chart, and display in asc by the x-axis please. | SELECT PROF_OFFICE, COUNT(PROF_OFFICE) FROM CLASS AS T1 JOIN EMPLOYEE AS T2 ON T1.PROF_NUM = T2.EMP_NUM JOIN COURSE AS T3 ON T1.CRS_CODE = T3.CRS_CODE JOIN PROFESSOR AS T4 ON T2.EMP_NUM = T4.EMP_NUM GROUP BY PROF_OFFICE ORDER BY PROF_OFFICE | [
2437,
867,
10902,
329,
1123,
2607,
30,
5438,
502,
257,
2318,
8262,
11,
290,
3359,
287,
10570,
416,
262,
2124,
12,
22704,
3387,
13,
46506,
4810,
19238,
62,
27977,
8476,
11,
327,
28270,
7,
4805,
19238,
62,
27977,
8476,
8,
16034,
42715,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10902,
329,
1123,
2607,
30,
5438,
502,
257,
2318,
8262,
11,
290,
3359,
287,
10570,
416,
262,
2124,
12,
22704,
3387,
13,
46506,
4810,
19238,
62,
27977,
8476,
11,
327,
28270,
7,
4805,
19238,
62,
27977,
8476,
8,
16034,
42715,
... |
Questions with answers, but no accepted answer. | SELECT Id AS "post_link", AnswerCount FROM Posts WHERE PostTypeId = 1 AND AcceptedAnswerId IS NULL AND OwnerUserId = '##UserId:int##' | [
35741,
351,
7429,
11,
475,
645,
6292,
3280,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
23998,
12332,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
5357,
21699,
276,
33706,
7390,
3180,
15697,
5357,
23853,
12982,
7390,
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
] | [
35741,
351,
7429,
11,
475,
645,
6292,
3280,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
23998,
12332,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
5357,
21699,
276,
33706,
7390,
3180,
15697,
5357,
23853,
12982,
7390,
796,
705,
... |
Which school has more than 3 rounds with jason odom? | SELECT school FROM table_name_71 WHERE round > 3 AND player = "jason odom" | [
13828,
1524,
468,
517,
621,
513,
9196,
351,
474,
888,
267,
3438,
30,
46506,
1524,
16034,
3084,
62,
3672,
62,
4869,
33411,
2835,
1875,
513,
5357,
2137,
796,
366,
73,
888,
267,
3438,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1524,
468,
517,
621,
513,
9196,
351,
474,
888,
267,
3438,
30,
46506,
1524,
16034,
3084,
62,
3672,
62,
4869,
33411,
2835,
1875,
513,
5357,
2137,
796,
366,
73,
888,
267,
3438,
1
] |
Who has the high assists when 50-26 is the record? | SELECT "High assists" FROM table_2829 WHERE "Record" = '50-26' | [
8241,
468,
262,
1029,
13648,
618,
2026,
12,
2075,
318,
262,
1700,
30,
46506,
366,
11922,
13648,
1,
16034,
3084,
62,
2078,
1959,
33411,
366,
23739,
1,
796,
705,
1120,
12,
2075,
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
] | [
8241,
468,
262,
1029,
13648,
618,
2026,
12,
2075,
318,
262,
1700,
30,
46506,
366,
11922,
13648,
1,
16034,
3084,
62,
2078,
1959,
33411,
366,
23739,
1,
796,
705,
1120,
12,
2075,
6
] |
Who was the player in Position G on the Petron Blaze Boosters and retired in 2000? | SELECT name FROM table_name_61 WHERE position = "g" AND team = "petron blaze boosters" AND year_retired = "2000" | [
8241,
373,
262,
2137,
287,
23158,
402,
319,
262,
4767,
1313,
33965,
19835,
364,
290,
9880,
287,
4751,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
5333,
33411,
2292,
796,
366,
70,
1,
5357,
1074,
796,
366,
6449,
1313,
31259,
47949,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2137,
287,
23158,
402,
319,
262,
4767,
1313,
33965,
19835,
364,
290,
9880,
287,
4751,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
5333,
33411,
2292,
796,
366,
70,
1,
5357,
1074,
796,
366,
6449,
1313,
31259,
47949,
1,
... |
How many episodes aired on 25 october 2012? | SELECT COUNT(total_viewers) FROM table_25721_3 WHERE airdate = "25 October 2012" | [
2437,
867,
8640,
18530,
319,
1679,
19318,
2023,
2321,
30,
46506,
327,
28270,
7,
23350,
62,
1177,
364,
8,
16034,
3084,
62,
28676,
2481,
62,
18,
33411,
257,
1447,
378,
796,
366,
1495,
3267,
2321,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
8640,
18530,
319,
1679,
19318,
2023,
2321,
30,
46506,
327,
28270,
7,
23350,
62,
1177,
364,
8,
16034,
3084,
62,
28676,
2481,
62,
18,
33411,
257,
1447,
378,
796,
366,
1495,
3267,
2321,
1
] |
How many types are cardio? | SELECT COUNT(program) FROM table_27512025_1 WHERE type = "Cardio" | [
2437,
867,
3858,
389,
47926,
30,
46506,
327,
28270,
7,
23065,
8,
16034,
3084,
62,
23195,
10232,
1495,
62,
16,
33411,
2099,
796,
366,
16962,
952,
1
] | [
1,
1,
1,
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,
3858,
389,
47926,
30,
46506,
327,
28270,
7,
23065,
8,
16034,
3084,
62,
23195,
10232,
1495,
62,
16,
33411,
2099,
796,
366,
16962,
952,
1
] |
What is the new classification for La Mirada, California? | SELECT new_classification FROM table_name_69 WHERE location = "la mirada, california" | [
2061,
318,
262,
649,
17923,
329,
4689,
7381,
4763,
11,
3442,
30,
46506,
649,
62,
4871,
2649,
16034,
3084,
62,
3672,
62,
3388,
33411,
4067,
796,
366,
5031,
5720,
4763,
11,
2386,
361,
3317,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
649,
17923,
329,
4689,
7381,
4763,
11,
3442,
30,
46506,
649,
62,
4871,
2649,
16034,
3084,
62,
3672,
62,
3388,
33411,
4067,
796,
366,
5031,
5720,
4763,
11,
2386,
361,
3317,
1
] |
how many movies has morrison acted in after 2010 ? | SELECT COUNT("title") FROM table_202_279 WHERE "year" > 2010 | [
4919,
867,
6918,
468,
2146,
7426,
13134,
287,
706,
3050,
5633,
46506,
327,
28270,
7203,
7839,
4943,
16034,
3084,
62,
19004,
62,
26050,
33411,
366,
1941,
1,
1875,
3050
] | [
1,
1,
1,
1,
1,
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,
6918,
468,
2146,
7426,
13134,
287,
706,
3050,
5633,
46506,
327,
28270,
7203,
7839,
4943,
16034,
3084,
62,
19004,
62,
26050,
33411,
366,
1941,
1,
1875,
3050
] |
what is the institution when the location is big rapids, michigan? | SELECT "Institution" FROM table_9438 WHERE "Location" = 'big rapids, michigan' | [
10919,
318,
262,
9901,
618,
262,
4067,
318,
1263,
4095,
2340,
11,
285,
488,
5516,
30,
46506,
366,
6310,
2738,
1,
16034,
3084,
62,
5824,
2548,
33411,
366,
14749,
1,
796,
705,
14261,
4095,
2340,
11,
285,
488,
5516,
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
] | [
10919,
318,
262,
9901,
618,
262,
4067,
318,
1263,
4095,
2340,
11,
285,
488,
5516,
30,
46506,
366,
6310,
2738,
1,
16034,
3084,
62,
5824,
2548,
33411,
366,
14749,
1,
796,
705,
14261,
4095,
2340,
11,
285,
488,
5516,
6
] |
What is 01-02, when 03-04 is 03-04? | SELECT "01-02" FROM table_40387 WHERE "03-04" = '03-04' | [
2061,
318,
5534,
12,
2999,
11,
618,
7643,
12,
3023,
318,
7643,
12,
3023,
30,
46506,
366,
486,
12,
2999,
1,
16034,
3084,
62,
1821,
32220,
33411,
366,
3070,
12,
3023,
1,
796,
705,
3070,
12,
3023,
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
] | [
2061,
318,
5534,
12,
2999,
11,
618,
7643,
12,
3023,
318,
7643,
12,
3023,
30,
46506,
366,
486,
12,
2999,
1,
16034,
3084,
62,
1821,
32220,
33411,
366,
3070,
12,
3023,
1,
796,
705,
3070,
12,
3023,
6
] |
Which Wins has a Byes larger than 0? | SELECT MAX("Wins") FROM table_6895 WHERE "Byes" > '0' | [
13828,
24423,
468,
257,
2750,
274,
4025,
621,
657,
30,
46506,
25882,
7203,
54,
1040,
4943,
16034,
3084,
62,
3104,
3865,
33411,
366,
3886,
274,
1,
1875,
705,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
24423,
468,
257,
2750,
274,
4025,
621,
657,
30,
46506,
25882,
7203,
54,
1040,
4943,
16034,
3084,
62,
3104,
3865,
33411,
366,
3886,
274,
1,
1875,
705,
15,
6
] |
what's the time for the hospital admission of patient 031-17834 during this year? | SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '031-17834' AND DATETIME(patient.hospitaladmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') | [
10919,
338,
262,
640,
329,
262,
4436,
13938,
286,
5827,
657,
3132,
12,
23188,
2682,
1141,
428,
614,
30,
46506,
5827,
13,
49257,
324,
20124,
524,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
43637,
12,
23188,
2682,
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,
338,
262,
640,
329,
262,
4436,
13938,
286,
5827,
657,
3132,
12,
23188,
2682,
1141,
428,
614,
30,
46506,
5827,
13,
49257,
324,
20124,
524,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
43637,
12,
23188,
2682,
6,
... |
Give me the number of patients who died in or before the year 2126. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.dod_year <= "2126.0" | [
23318,
502,
262,
1271,
286,
3871,
508,
3724,
287,
393,
878,
262,
614,
362,
19420,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
67,
375,
62,
1941,
19841,
366,
17,
19420... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
262,
1271,
286,
3871,
508,
3724,
287,
393,
878,
262,
614,
362,
19420,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
67,
375,
62,
1941,
19841,
366,
17,
19420... |
Draw a bar chart of transaction type versus the total number, show from low to high by the the total number . | SELECT transaction_type, COUNT(*) FROM Financial_Transactions GROUP BY transaction_type ORDER BY COUNT(*) | [
25302,
257,
2318,
8262,
286,
8611,
2099,
9051,
262,
2472,
1271,
11,
905,
422,
1877,
284,
1029,
416,
262,
262,
2472,
1271,
764,
46506,
8611,
62,
4906,
11,
327,
28270,
7,
28104,
16034,
11302,
62,
8291,
4658,
44441,
11050,
8611,
62,
4906... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
25302,
257,
2318,
8262,
286,
8611,
2099,
9051,
262,
2472,
1271,
11,
905,
422,
1877,
284,
1029,
416,
262,
262,
2472,
1271,
764,
46506,
8611,
62,
4906,
11,
327,
28270,
7,
28104,
16034,
11302,
62,
8291,
4658,
44441,
11050,
8611,
62,
4906... |
What place is Scott McCarron in? | SELECT place FROM table_name_4 WHERE player = "scott mccarron" | [
2061,
1295,
318,
4746,
5108,
283,
1313,
287,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
19,
33411,
2137,
796,
366,
1416,
1252,
285,
535,
283,
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
] | [
2061,
1295,
318,
4746,
5108,
283,
1313,
287,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
19,
33411,
2137,
796,
366,
1416,
1252,
285,
535,
283,
1313,
1
] |
How many draws took place for team Corinthians with more than 5 losses? | SELECT COUNT("Drawn") FROM table_5249 WHERE "Team" = 'corinthians' AND "Lost" > '5' | [
2437,
867,
14293,
1718,
1295,
329,
1074,
39546,
351,
517,
621,
642,
9089,
30,
46506,
327,
28270,
7203,
35,
5791,
4943,
16034,
3084,
62,
20,
21626,
33411,
366,
15592,
1,
796,
705,
10215,
9304,
1547,
6,
5357,
366,
31042,
1,
1875,
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
] | [
2437,
867,
14293,
1718,
1295,
329,
1074,
39546,
351,
517,
621,
642,
9089,
30,
46506,
327,
28270,
7203,
35,
5791,
4943,
16034,
3084,
62,
20,
21626,
33411,
366,
15592,
1,
796,
705,
10215,
9304,
1547,
6,
5357,
366,
31042,
1,
1875,
705,
... |
Which Status has a Date of 19/05/1981? | SELECT "Status" FROM table_48935 WHERE "Date" = '19/05/1981' | [
13828,
12678,
468,
257,
7536,
286,
678,
14,
2713,
14,
35411,
30,
46506,
366,
19580,
1,
16034,
3084,
62,
35890,
2327,
33411,
366,
10430,
1,
796,
705,
1129,
14,
2713,
14,
35411,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
12678,
468,
257,
7536,
286,
678,
14,
2713,
14,
35411,
30,
46506,
366,
19580,
1,
16034,
3084,
62,
35890,
2327,
33411,
366,
10430,
1,
796,
705,
1129,
14,
2713,
14,
35411,
6
] |
When is the japanese title what is the japanese translation? | SELECT japanese_translation FROM table_2144389_9 WHERE japanese_title = "七色アーチ" | [
2215,
318,
262,
474,
2674,
2771,
3670,
644,
318,
262,
474,
2674,
2771,
11059,
30,
46506,
474,
2674,
2771,
62,
41519,
16034,
3084,
62,
17,
18444,
29769,
62,
24,
33411,
474,
2674,
2771,
62,
7839,
796,
366,
10310,
225,
164,
231,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
318,
262,
474,
2674,
2771,
3670,
644,
318,
262,
474,
2674,
2771,
11059,
30,
46506,
474,
2674,
2771,
62,
41519,
16034,
3084,
62,
17,
18444,
29769,
62,
24,
33411,
474,
2674,
2771,
62,
7839,
796,
366,
10310,
225,
164,
231,
110,
1... |
Name the most rank for wins more than 0 and events of 26 | SELECT MAX(rank) FROM table_name_58 WHERE events = 26 AND wins > 0 | [
5376,
262,
749,
4279,
329,
7864,
517,
621,
657,
290,
2995,
286,
2608,
46506,
25882,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
3365,
33411,
2995,
796,
2608,
5357,
7864,
1875,
657
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
749,
4279,
329,
7864,
517,
621,
657,
290,
2995,
286,
2608,
46506,
25882,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
3365,
33411,
2995,
796,
2608,
5357,
7864,
1875,
657
] |
count the number of patients whose diagnoses short title is anorexia and drug route is neb? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Anorexia" AND prescriptions.route = "NEB" | [
9127,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
281,
382,
36072,
290,
2563,
6339,
318,
45508,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
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... | [
9127,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
281,
382,
36072,
290,
2563,
6339,
318,
45508,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
... |
which songwriter is credited with the largest number of songs ? | SELECT "songwriters" FROM table_203_228 GROUP BY "songwriters" ORDER BY COUNT("title") DESC LIMIT 1 | [
4758,
3496,
16002,
318,
18141,
351,
262,
4387,
1271,
286,
7259,
5633,
46506,
366,
34050,
34422,
1,
16034,
3084,
62,
22416,
62,
23815,
44441,
11050,
366,
34050,
34422,
1,
38678,
11050,
327,
28270,
7203,
7839,
4943,
22196,
34,
27564,
2043,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3496,
16002,
318,
18141,
351,
262,
4387,
1271,
286,
7259,
5633,
46506,
366,
34050,
34422,
1,
16034,
3084,
62,
22416,
62,
23815,
44441,
11050,
366,
34050,
34422,
1,
38678,
11050,
327,
28270,
7203,
7839,
4943,
22196,
34,
27564,
2043,
... |
How many fastest laps were there for a rd that equals 10? | SELECT COUNT("Fastest Lap") FROM table_72122 WHERE "Rd" = '10' | [
2437,
867,
14162,
24590,
547,
612,
329,
257,
374,
67,
326,
21767,
838,
30,
46506,
327,
28270,
7203,
22968,
395,
26944,
4943,
16034,
3084,
62,
4761,
18376,
33411,
366,
49,
67,
1,
796,
705,
940,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
14162,
24590,
547,
612,
329,
257,
374,
67,
326,
21767,
838,
30,
46506,
327,
28270,
7203,
22968,
395,
26944,
4943,
16034,
3084,
62,
4761,
18376,
33411,
366,
49,
67,
1,
796,
705,
940,
6
] |
list the top five most frequent lab tests? | SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t1.itemid FROM (SELECT labevents.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM labevents GROUP BY labevents.itemid) AS t1 WHERE t1.c1 <= 5) | [
4868,
262,
1353,
1936,
749,
10792,
2248,
5254,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
9186,
312,
3268,
357,
46506,
256,
16,
13,
9186,
312,
16034,
357,
46506,
2248,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4868,
262,
1353,
1936,
749,
10792,
2248,
5254,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
9186,
312,
3268,
357,
46506,
256,
16,
13,
9186,
312,
16034,
357,
46506,
2248,
... |
how many patients died within the same hospital visit after being diagnosed with hypoxemia since 2103? | SELECT COUNT(DISTINCT t2.uniquepid) FROM (SELECT t1.uniquepid, t1.diagnosistime, t1.patienthealthsystemstayid FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = ... | [
4919,
867,
3871,
3724,
1626,
262,
976,
4436,
3187,
706,
852,
14641,
351,
5328,
1140,
22859,
1201,
362,
15197,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
17,
13,
403,
1557,
538,
312,
8,
16034,
357,
46506,
256,
16,
13,
403,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3724,
1626,
262,
976,
4436,
3187,
706,
852,
14641,
351,
5328,
1140,
22859,
1201,
362,
15197,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
17,
13,
403,
1557,
538,
312,
8,
16034,
357,
46506,
256,
16,
13,
403,
... |
Show the album names and ids for albums that contain tracks with unit price bigger than 1 Visualize by bar chart, and could you show in ascending by the Y-axis? | SELECT T1.Title, T1.AlbumId FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId WHERE T2.UnitPrice > 1 ORDER BY T1.AlbumId | [
15307,
262,
5062,
3891,
290,
220,
2340,
329,
16788,
326,
3994,
8339,
351,
4326,
2756,
5749,
621,
352,
15612,
1096,
416,
2318,
8262,
11,
290,
714,
345,
905,
287,
41988,
416,
262,
575,
12,
22704,
30,
46506,
309,
16,
13,
19160,
11,
309... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
262,
5062,
3891,
290,
220,
2340,
329,
16788,
326,
3994,
8339,
351,
4326,
2756,
5749,
621,
352,
15612,
1096,
416,
2318,
8262,
11,
290,
714,
345,
905,
287,
41988,
416,
262,
575,
12,
22704,
30,
46506,
309,
16,
13,
19160,
11,
309... |
What is pick 246's position? | SELECT "Position" FROM table_59755 WHERE "Pick" = '246' | [
2061,
318,
2298,
34951,
338,
2292,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
3270,
38172,
33411,
366,
31686,
1,
796,
705,
26912,
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
] | [
2061,
318,
2298,
34951,
338,
2292,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
3270,
38172,
33411,
366,
31686,
1,
796,
705,
26912,
6
] |
how many patients whose marital status is single and diagnoses long title is chronic kidney disease, stage iii (moderate)? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.marital_status = "SINGLE" AND diagnoses.long_title = "Chronic kidney disease, Stage III (moderate)" | [
4919,
867,
3871,
3025,
29555,
3722,
318,
2060,
290,
40567,
890,
3670,
318,
10726,
21919,
4369,
11,
3800,
46955,
357,
47189,
19427,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3235... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3025,
29555,
3722,
318,
2060,
290,
40567,
890,
3670,
318,
10726,
21919,
4369,
11,
3800,
46955,
357,
47189,
19427,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3235... |
What was the decision for the 1983 season for the game played against the New York Yankees? | SELECT "Decision" FROM table_63224 WHERE "Opponent" = 'new york yankees' AND "Season" = '1983' | [
2061,
373,
262,
2551,
329,
262,
13540,
1622,
329,
262,
983,
2826,
1028,
262,
968,
1971,
20082,
30,
46506,
366,
10707,
1166,
1,
16034,
3084,
62,
21,
2624,
1731,
33411,
366,
27524,
3471,
1,
796,
705,
3605,
331,
967,
331,
272,
16683,
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
] | [
2061,
373,
262,
2551,
329,
262,
13540,
1622,
329,
262,
983,
2826,
1028,
262,
968,
1971,
20082,
30,
46506,
366,
10707,
1166,
1,
16034,
3084,
62,
21,
2624,
1731,
33411,
366,
27524,
3471,
1,
796,
705,
3605,
331,
967,
331,
272,
16683,
6... |
who is the the club (city/town) with goals for/against being 14-2 | SELECT "Club (City/Town)" FROM table_72507 WHERE "Goals For/Against" = '14-2' | [
8727,
318,
262,
262,
3430,
357,
19205,
14,
12735,
8,
351,
4661,
329,
14,
32826,
852,
1478,
12,
17,
46506,
366,
42350,
357,
14941,
14,
38097,
16725,
16034,
3084,
62,
4761,
35378,
33411,
366,
5247,
874,
1114,
14,
39276,
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
] | [
8727,
318,
262,
262,
3430,
357,
19205,
14,
12735,
8,
351,
4661,
329,
14,
32826,
852,
1478,
12,
17,
46506,
366,
42350,
357,
14941,
14,
38097,
16725,
16034,
3084,
62,
4761,
35378,
33411,
366,
5247,
874,
1114,
14,
39276,
1,
796,
705,
1... |
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, find job_id and the average of employee_id , and group by attribute job_id, and visualize them by a bar chart, could you display X in descending order? | SELECT JOB_ID, AVG(EMPLOYEE_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY JOB_ID DESC | [
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,
1064,
1693,
62,
312,
290,
262,
2811,
286,
6538,
62,
312,
837,
290,
1448,
416,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1064,
1693,
62,
312,
290,
262,
2811,
286,
6538,
62,
312,
837,
290,
1448,
416,
... |
What lowest games have 20 goals and a Goal Ratio smaller than 0.14? | SELECT MIN(games) FROM table_name_51 WHERE goals = 20 AND goal_ratio < 0.14 | [
2061,
9016,
1830,
423,
1160,
4661,
290,
257,
25376,
33956,
4833,
621,
657,
13,
1415,
30,
46506,
20625,
7,
19966,
8,
16034,
3084,
62,
3672,
62,
4349,
33411,
4661,
796,
1160,
5357,
3061,
62,
10366,
952,
1279,
657,
13,
1415
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9016,
1830,
423,
1160,
4661,
290,
257,
25376,
33956,
4833,
621,
657,
13,
1415,
30,
46506,
20625,
7,
19966,
8,
16034,
3084,
62,
3672,
62,
4349,
33411,
4661,
796,
1160,
5357,
3061,
62,
10366,
952,
1279,
657,
13,
1415
] |
Which arena has a capactiy of 1,100? | SELECT arena FROM table_name_8 WHERE capacity = "1,100" | [
13828,
13478,
468,
257,
1451,
529,
7745,
286,
352,
11,
3064,
30,
46506,
13478,
16034,
3084,
62,
3672,
62,
23,
33411,
5339,
796,
366,
16,
11,
3064,
1
] | [
1,
1,
1,
1,
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,
13478,
468,
257,
1451,
529,
7745,
286,
352,
11,
3064,
30,
46506,
13478,
16034,
3084,
62,
3672,
62,
23,
33411,
5339,
796,
366,
16,
11,
3064,
1
] |
For days had a minimum dew point smaller than any day in zip code 94107, show the total number of such days using a bar chart, and show in asc by the names. | SELECT date, COUNT(date) FROM weather WHERE min_dew_point_f < (SELECT MIN(min_dew_point_f) FROM weather WHERE zip_code = 94107) GROUP BY date ORDER BY date | [
1890,
1528,
550,
257,
5288,
390,
86,
966,
4833,
621,
597,
1110,
287,
19974,
2438,
10048,
15982,
11,
905,
262,
2472,
1271,
286,
884,
1528,
1262,
257,
2318,
8262,
11,
290,
905,
287,
10570,
416,
262,
3891,
13,
46506,
3128,
11,
327,
282... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1528,
550,
257,
5288,
390,
86,
966,
4833,
621,
597,
1110,
287,
19974,
2438,
10048,
15982,
11,
905,
262,
2472,
1271,
286,
884,
1528,
1262,
257,
2318,
8262,
11,
290,
905,
287,
10570,
416,
262,
3891,
13,
46506,
3128,
11,
327,
282... |
What is the highest game number that had a time of 2:44? | SELECT MAX(game) FROM table_name_78 WHERE time = "2:44" | [
2061,
318,
262,
4511,
983,
1271,
326,
550,
257,
640,
286,
362,
25,
2598,
30,
46506,
25882,
7,
6057,
8,
16034,
3084,
62,
3672,
62,
3695,
33411,
640,
796,
366,
17,
25,
2598,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
983,
1271,
326,
550,
257,
640,
286,
362,
25,
2598,
30,
46506,
25882,
7,
6057,
8,
16034,
3084,
62,
3672,
62,
3695,
33411,
640,
796,
366,
17,
25,
2598,
1
] |
Show names of technicians who are assigned to repair machines with value point more than 70, and count them by a bar chart | SELECT Name, COUNT(Name) FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.Machine_ID = T2.Machine_ID JOIN technician AS T3 ON T1.technician_id = T3.technician_id WHERE T2.value_points > 70 GROUP BY Name | [
15307,
3891,
286,
33519,
508,
389,
8686,
284,
9185,
8217,
351,
1988,
966,
517,
621,
4317,
11,
290,
954,
606,
416,
257,
2318,
8262,
46506,
6530,
11,
327,
28270,
7,
5376,
8,
16034,
9185,
62,
562,
16747,
7054,
309,
16,
32357,
1268,
457... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
3891,
286,
33519,
508,
389,
8686,
284,
9185,
8217,
351,
1988,
966,
517,
621,
4317,
11,
290,
954,
606,
416,
257,
2318,
8262,
46506,
6530,
11,
327,
28270,
7,
5376,
8,
16034,
9185,
62,
562,
16747,
7054,
309,
16,
32357,
1268,
457... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.