instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Name the mission name for 21 november 1969 | SELECT mission_name FROM table_1558077_8 WHERE lunar_blastoff_date = "21 November 1969" | [
5376,
262,
4365,
1438,
329,
2310,
645,
303,
1916,
16450,
46506,
4365,
62,
3672,
16034,
3084,
62,
18742,
1795,
3324,
62,
23,
33411,
25572,
62,
39806,
2364,
62,
4475,
796,
366,
2481,
3389,
16450,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
4365,
1438,
329,
2310,
645,
303,
1916,
16450,
46506,
4365,
62,
3672,
16034,
3084,
62,
18742,
1795,
3324,
62,
23,
33411,
25572,
62,
39806,
2364,
62,
4475,
796,
366,
2481,
3389,
16450,
1
] |
What is the highest number of Laps that have a Time of +18.366, and a Grid lower than 13? | SELECT MAX(laps) FROM table_name_93 WHERE grid < 13 AND time = "+18.366" | [
2061,
318,
262,
4511,
1271,
286,
406,
1686,
326,
423,
257,
3862,
286,
1343,
1507,
13,
32459,
11,
290,
257,
24846,
2793,
621,
1511,
30,
46506,
25882,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
6052,
33411,
10706,
1279,
1511,
5357,
64... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
1271,
286,
406,
1686,
326,
423,
257,
3862,
286,
1343,
1507,
13,
32459,
11,
290,
257,
24846,
2793,
621,
1511,
30,
46506,
25882,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
6052,
33411,
10706,
1279,
1511,
5357,
64... |
What's the sum of all phil mickelson's game scores? | SELECT SUM("Score") FROM table_9996 WHERE "Player" = 'phil mickelson' | [
2061,
338,
262,
2160,
286,
477,
5206,
12314,
7750,
1559,
338,
983,
8198,
30,
46506,
35683,
7203,
26595,
4943,
16034,
3084,
62,
2079,
4846,
33411,
366,
14140,
1,
796,
705,
28864,
12314,
7750,
1559,
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,
338,
262,
2160,
286,
477,
5206,
12314,
7750,
1559,
338,
983,
8198,
30,
46506,
35683,
7203,
26595,
4943,
16034,
3084,
62,
2079,
4846,
33411,
366,
14140,
1,
796,
705,
28864,
12314,
7750,
1559,
6
] |
Calculate the number of elective hospital admission patients who had a cerebrospinal fluid test done. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND lab.fluid = "Cerebrospinal Fluid (CSF)" | [
9771,
3129,
378,
262,
1271,
286,
1742,
425,
4436,
13938,
3871,
508,
550,
257,
6736,
7957,
2777,
1292,
11711,
1332,
1760,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9771,
3129,
378,
262,
1271,
286,
1742,
425,
4436,
13938,
3871,
508,
550,
257,
6736,
7957,
2777,
1292,
11711,
1332,
1760,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1... |
Scatter chart. how many transactions correspond to each invoice number? | SELECT invoice_number, COUNT(*) FROM Financial_Transactions GROUP BY invoice_number | [
3351,
1436,
8262,
13,
703,
867,
8945,
6053,
284,
1123,
45458,
1271,
30,
46506,
45458,
62,
17618,
11,
327,
28270,
7,
28104,
16034,
11302,
62,
8291,
4658,
44441,
11050,
45458,
62,
17618
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3351,
1436,
8262,
13,
703,
867,
8945,
6053,
284,
1123,
45458,
1271,
30,
46506,
45458,
62,
17618,
11,
327,
28270,
7,
28104,
16034,
11302,
62,
8291,
4658,
44441,
11050,
45458,
62,
17618
] |
Where is the station that was launched on 17 July 1997 transmitting from? | SELECT transmitting_from FROM table_name_18 WHERE launched = "17 july 1997" | [
8496,
318,
262,
4429,
326,
373,
5611,
319,
1596,
2901,
8309,
39573,
422,
30,
46506,
39573,
62,
6738,
16034,
3084,
62,
3672,
62,
1507,
33411,
5611,
796,
366,
1558,
474,
2062,
8309,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
4429,
326,
373,
5611,
319,
1596,
2901,
8309,
39573,
422,
30,
46506,
39573,
62,
6738,
16034,
3084,
62,
3672,
62,
1507,
33411,
5611,
796,
366,
1558,
474,
2062,
8309,
1
] |
What was the score when the series was 3-2? | SELECT "Score" FROM table_8017 WHERE "Series" = '3-2' | [
2061,
373,
262,
4776,
618,
262,
2168,
373,
513,
12,
17,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
23,
29326,
33411,
366,
27996,
1,
796,
705,
18,
12,
17,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
618,
262,
2168,
373,
513,
12,
17,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
23,
29326,
33411,
366,
27996,
1,
796,
705,
18,
12,
17,
6
] |
Which claims caused more than 2 settlements or have the maximum claim value? List the date the claim was made and the claim id. | SELECT T1.date_claim_made, T1.claim_id FROM claims AS T1 JOIN settlements AS T2 ON T1.claim_id = T2.claim_id GROUP BY T1.claim_id HAVING COUNT(*) > 2 UNION SELECT T1.date_claim_made, T1.claim_id FROM claims AS T1 JOIN settlements AS T2 ON T1.claim_id = T2.claim_id WHERE T1.amount_claimed = (SELECT MAX(amount_claimed) F... | [
13828,
3667,
4073,
517,
621,
362,
18573,
393,
423,
262,
5415,
1624,
1988,
30,
7343,
262,
3128,
262,
1624,
373,
925,
290,
262,
1624,
4686,
13,
46506,
309,
16,
13,
4475,
62,
6604,
62,
9727,
11,
309,
16,
13,
6604,
62,
312,
16034,
366... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
3667,
4073,
517,
621,
362,
18573,
393,
423,
262,
5415,
1624,
1988,
30,
7343,
262,
3128,
262,
1624,
373,
925,
290,
262,
1624,
4686,
13,
46506,
309,
16,
13,
4475,
62,
6604,
62,
9727,
11,
309,
16,
13,
6604,
62,
312,
16034,
366... |
What was the cargo value in 2005 for all product carriers? | SELECT 2005 FROM table_name_46 WHERE cargo = "all product carriers" | [
2061,
373,
262,
15892,
1988,
287,
5075,
329,
477,
1720,
16651,
30,
46506,
5075,
16034,
3084,
62,
3672,
62,
3510,
33411,
15892,
796,
366,
439,
1720,
16651,
1
] | [
1,
1,
1,
1,
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,
15892,
1988,
287,
5075,
329,
477,
1720,
16651,
30,
46506,
5075,
16034,
3084,
62,
3672,
62,
3510,
33411,
15892,
796,
366,
439,
1720,
16651,
1
] |
is there any bronchial lavage microbiology test result for patient 031-19622 until 1 year ago? | SELECT COUNT(*) FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-19622')) AND microlab.culturesite = 'bronchial lavage' AND DATETIME(microlab.c... | [
271,
612,
597,
18443,
354,
498,
21606,
496,
24559,
1435,
1332,
1255,
329,
5827,
657,
3132,
12,
25272,
1828,
1566,
352,
614,
2084,
30,
46506,
327,
28270,
7,
28104,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
312,
326... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
271,
612,
597,
18443,
354,
498,
21606,
496,
24559,
1435,
1332,
1255,
329,
5827,
657,
3132,
12,
25272,
1828,
1566,
352,
614,
2084,
30,
46506,
327,
28270,
7,
28104,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
312,
326... |
What is the lowest numbered game on the list? | SELECT MIN(game) FROM table_13762472_5 | [
2061,
318,
262,
9016,
25840,
983,
319,
262,
1351,
30,
46506,
20625,
7,
6057,
8,
16034,
3084,
62,
1485,
4304,
1731,
4761,
62,
20
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
25840,
983,
319,
262,
1351,
30,
46506,
20625,
7,
6057,
8,
16034,
3084,
62,
1485,
4304,
1731,
4761,
62,
20
] |
What is the Trophy with a Season with 2008 2009? | SELECT "Trophy" FROM table_52161 WHERE "Season" = '2008–2009' | [
2061,
318,
262,
25640,
351,
257,
7369,
351,
3648,
3717,
30,
46506,
366,
44095,
6883,
1,
16034,
3084,
62,
4309,
25948,
33411,
366,
18960,
1,
796,
705,
11528,
1906,
10531,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
25640,
351,
257,
7369,
351,
3648,
3717,
30,
46506,
366,
44095,
6883,
1,
16034,
3084,
62,
4309,
25948,
33411,
366,
18960,
1,
796,
705,
11528,
1906,
10531,
6
] |
Give me a histogram for what are all the employee ids and the names of the countries in which they work?, and display X-axis in asc order. | SELECT COUNTRY_NAME, SUM(EMPLOYEE_ID) FROM employees AS T1 JOIN departments AS T2 ON T1.DEPARTMENT_ID = T2.DEPARTMENT_ID JOIN locations AS T3 ON T2.LOCATION_ID = T3.LOCATION_ID JOIN countries AS T4 ON T3.COUNTRY_ID = T4.COUNTRY_ID GROUP BY COUNTRY_NAME ORDER BY COUNTRY_NAME | [
23318,
502,
257,
1554,
21857,
329,
644,
389,
477,
262,
6538,
220,
2340,
290,
262,
3891,
286,
262,
2678,
287,
543,
484,
670,
21747,
290,
3359,
1395,
12,
22704,
287,
10570,
1502,
13,
46506,
31404,
40405,
62,
20608,
11,
35683,
7,
3620,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
1554,
21857,
329,
644,
389,
477,
262,
6538,
220,
2340,
290,
262,
3891,
286,
262,
2678,
287,
543,
484,
670,
21747,
290,
3359,
1395,
12,
22704,
287,
10570,
1502,
13,
46506,
31404,
40405,
62,
20608,
11,
35683,
7,
3620,
... |
What is BYU's lowest pick? | SELECT MIN(pick__number) FROM table_name_16 WHERE college = "byu" | [
2061,
318,
37216,
338,
9016,
2298,
30,
46506,
20625,
7,
27729,
834,
17618,
8,
16034,
3084,
62,
3672,
62,
1433,
33411,
4152,
796,
366,
1525,
84,
1
] | [
1,
1,
1,
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,
37216,
338,
9016,
2298,
30,
46506,
20625,
7,
27729,
834,
17618,
8,
16034,
3084,
62,
3672,
62,
1433,
33411,
4152,
796,
366,
1525,
84,
1
] |
among patients aged below 43, how many of them were english speaking? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.language = "ENGL" AND demographic.age < "43" | [
35131,
3871,
9722,
2174,
5946,
11,
703,
867,
286,
606,
547,
46932,
5486,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
16129,
796,
366,
1677,
8763,
1,
5357,
16728,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
35131,
3871,
9722,
2174,
5946,
11,
703,
867,
286,
606,
547,
46932,
5486,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
16129,
796,
366,
1677,
8763,
1,
5357,
16728,
13,
... |
For all employees who have the letters D or S in their first name, a scatter chart shows the correlation between employee_id and salary . | SELECT EMPLOYEE_ID, SALARY FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
257,
41058,
8262,
2523,
262,
16096,
1022,
6538,
62,
312,
290,
9588,
764,
46506,
17228,
6489,
21414,
6500,
62,
2389,
11,
42475,
13153,
16034,
4409,
33411,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
257,
41058,
8262,
2523,
262,
16096,
1022,
6538,
62,
312,
290,
9588,
764,
46506,
17228,
6489,
21414,
6500,
62,
2389,
11,
42475,
13153,
16034,
4409,
33411,
31... |
Tell me the race name for ferrari on 25 april | SELECT race_name FROM table_name_17 WHERE constructor = "ferrari" AND date = "25 april" | [
24446,
502,
262,
3234,
1438,
329,
277,
8056,
2743,
319,
1679,
46593,
346,
46506,
3234,
62,
3672,
16034,
3084,
62,
3672,
62,
1558,
33411,
23772,
796,
366,
2232,
81,
2743,
1,
5357,
3128,
796,
366,
1495,
46593,
346,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
3234,
1438,
329,
277,
8056,
2743,
319,
1679,
46593,
346,
46506,
3234,
62,
3672,
16034,
3084,
62,
3672,
62,
1558,
33411,
23772,
796,
366,
2232,
81,
2743,
1,
5357,
3128,
796,
366,
1495,
46593,
346,
1
] |
Show the number of products with price higher than 1000 or lower than 500 for each product name in a bar chart, and could you rank y-axis in descending order? | SELECT product_name, COUNT(product_name) FROM Products WHERE product_price > 1000 OR product_price < 500 GROUP BY product_name ORDER BY COUNT(product_name) DESC | [
15307,
262,
1271,
286,
3186,
351,
2756,
2440,
621,
8576,
393,
2793,
621,
5323,
329,
1123,
1720,
1438,
287,
257,
2318,
8262,
11,
290,
714,
345,
4279,
331,
12,
22704,
287,
31491,
1502,
30,
46506,
1720,
62,
3672,
11,
327,
28270,
7,
111... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
262,
1271,
286,
3186,
351,
2756,
2440,
621,
8576,
393,
2793,
621,
5323,
329,
1123,
1720,
1438,
287,
257,
2318,
8262,
11,
290,
714,
345,
4279,
331,
12,
22704,
287,
31491,
1502,
30,
46506,
1720,
62,
3672,
11,
327,
28270,
7,
111... |
What are all of the order # where authentic artist is maroon 5 | SELECT "Order #" FROM table_73930 WHERE "Original artist" = 'Maroon 5' | [
2061,
389,
477,
286,
262,
1502,
1303,
810,
16425,
6802,
318,
1667,
2049,
642,
46506,
366,
18743,
1303,
1,
16034,
3084,
62,
22,
2670,
1270,
33411,
366,
20556,
6802,
1,
796,
705,
7676,
2049,
642,
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,
389,
477,
286,
262,
1502,
1303,
810,
16425,
6802,
318,
1667,
2049,
642,
46506,
366,
18743,
1303,
1,
16034,
3084,
62,
22,
2670,
1270,
33411,
366,
20556,
6802,
1,
796,
705,
7676,
2049,
642,
6
] |
What day was the score 3-0 after 2011? | SELECT date FROM table_name_88 WHERE score = "3-0" AND year = 2011 | [
2061,
1110,
373,
262,
4776,
513,
12,
15,
706,
2813,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3459,
33411,
4776,
796,
366,
18,
12,
15,
1,
5357,
614,
796,
2813
] | [
1,
1,
1,
1,
1,
1,
1,
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,
373,
262,
4776,
513,
12,
15,
706,
2813,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3459,
33411,
4776,
796,
366,
18,
12,
15,
1,
5357,
614,
796,
2813
] |
Name the most pa for ontario | SELECT MAX(pa) FROM table_15333005_1 WHERE locale = Ontario | [
5376,
262,
749,
14187,
329,
39585,
4982,
46506,
25882,
7,
8957,
8,
16034,
3084,
62,
1314,
2091,
6200,
20,
62,
16,
33411,
36693,
796,
10553
] | [
1,
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,
14187,
329,
39585,
4982,
46506,
25882,
7,
8957,
8,
16034,
3084,
62,
1314,
2091,
6200,
20,
62,
16,
33411,
36693,
796,
10553
] |
What was Holly Scouler's total votes | SELECT total_votes FROM table_name_62 WHERE members = "holly scouler" | [
2061,
373,
7764,
1446,
280,
1754,
338,
2472,
5690,
46506,
2472,
62,
29307,
16034,
3084,
62,
3672,
62,
5237,
33411,
1866,
796,
366,
71,
5098,
629,
280,
1754,
1
] | [
1,
1,
1,
1,
1,
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,
7764,
1446,
280,
1754,
338,
2472,
5690,
46506,
2472,
62,
29307,
16034,
3084,
62,
3672,
62,
5237,
33411,
1866,
796,
366,
71,
5098,
629,
280,
1754,
1
] |
what div sec division comes before vavuniya ? | SELECT "div sec\ndivision" FROM table_204_217 WHERE id = (SELECT id FROM table_204_217 WHERE "div sec\ndivision" = 'vavuniya') - 1 | [
10919,
2659,
792,
7297,
2058,
878,
410,
615,
403,
21008,
5633,
46506,
366,
7146,
792,
59,
358,
452,
1166,
1,
16034,
3084,
62,
18638,
62,
24591,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
24591,
33411,
366,
7146,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
2659,
792,
7297,
2058,
878,
410,
615,
403,
21008,
5633,
46506,
366,
7146,
792,
59,
358,
452,
1166,
1,
16034,
3084,
62,
18638,
62,
24591,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
24591,
33411,
366,
7146,
7... |
What is the location of the match where the method was submission (armbar) and Mayra Conde was the opponent? | SELECT "Location" FROM table_66928 WHERE "Method" = 'submission (armbar)' AND "Opponent" = 'mayra conde' | [
2061,
318,
262,
4067,
286,
262,
2872,
810,
262,
2446,
373,
14498,
357,
1670,
5657,
8,
290,
1737,
430,
9724,
68,
373,
262,
6125,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
36657,
2078,
33411,
366,
17410,
1,
796,
705,
7266,
3411,
357,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4067,
286,
262,
2872,
810,
262,
2446,
373,
14498,
357,
1670,
5657,
8,
290,
1737,
430,
9724,
68,
373,
262,
6125,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
36657,
2078,
33411,
366,
17410,
1,
796,
705,
7266,
3411,
357,... |
which date was attended by the most people ? | SELECT "date" FROM table_204_917 ORDER BY "attendance" DESC LIMIT 1 | [
4758,
3128,
373,
9141,
416,
262,
749,
661,
5633,
46506,
366,
4475,
1,
16034,
3084,
62,
18638,
62,
24,
1558,
38678,
11050,
366,
1078,
437,
590,
1,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
3128,
373,
9141,
416,
262,
749,
661,
5633,
46506,
366,
4475,
1,
16034,
3084,
62,
18638,
62,
24,
1558,
38678,
11050,
366,
1078,
437,
590,
1,
22196,
34,
27564,
2043,
352
] |
Name the total number of seats for general surgery | SELECT COUNT(permitted_seats) FROM table_19304764_2 WHERE discipline = "General Surgery" | [
5376,
262,
2472,
1271,
286,
8632,
329,
2276,
8185,
46506,
327,
28270,
7,
525,
3291,
62,
325,
1381,
8,
16034,
3084,
62,
1129,
1270,
2857,
2414,
62,
17,
33411,
12883,
796,
366,
12218,
39037,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8632,
329,
2276,
8185,
46506,
327,
28270,
7,
525,
3291,
62,
325,
1381,
8,
16034,
3084,
62,
1129,
1270,
2857,
2414,
62,
17,
33411,
12883,
796,
366,
12218,
39037,
1
] |
Which Date has a Record of 4 2 0? | SELECT "Date" FROM table_44386 WHERE "Record" = '4–2–0' | [
13828,
7536,
468,
257,
13266,
286,
604,
362,
657,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2598,
21734,
33411,
366,
23739,
1,
796,
705,
19,
1906,
17,
1906,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
7536,
468,
257,
13266,
286,
604,
362,
657,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2598,
21734,
33411,
366,
23739,
1,
796,
705,
19,
1906,
17,
1906,
15,
6
] |
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, give me the comparison about the sum of salary over the job_id , and group by attribute job_id, and show by the y-axis in descending. | SELECT JOB_ID, SUM(SALARY) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY SUM(SALARY) 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,
1577,
502,
262,
7208,
546,
262,
2160,
286,
9588,
625,
262,
1693,
62,
312,
837,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1577,
502,
262,
7208,
546,
262,
2160,
286,
9588,
625,
262,
1693,
62,
312,
837,
... |
Name the points classification of stage 16 | SELECT "Points classification" FROM table_75569 WHERE "Stage" = '16' | [
5376,
262,
2173,
17923,
286,
3800,
1467,
46506,
366,
40710,
17923,
1,
16034,
3084,
62,
38172,
3388,
33411,
366,
29391,
1,
796,
705,
1433,
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
] | [
5376,
262,
2173,
17923,
286,
3800,
1467,
46506,
366,
40710,
17923,
1,
16034,
3084,
62,
38172,
3388,
33411,
366,
29391,
1,
796,
705,
1433,
6
] |
For those employees who was hired before 2002-06-21, draw a bar chart about the distribution of job_id and the average of salary , and group by attribute job_id, rank in ascending by the Y. | SELECT JOB_ID, AVG(SALARY) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY AVG(SALARY) | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2811,
286,
9588,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
4279,
287,
41988,
416,
262,
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... | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2811,
286,
9588,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
4279,
287,
41988,
416,
262,
5... |
show me the last ward identification of patient 002-3059 since 2103? | SELECT patient.wardid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-3059') AND STRFTIME('%y', patient.unitadmittime) >= '2103' ORDER BY patient.unitadmittime DESC LIMIT 1 | [
12860,
502,
262,
938,
15305,
11795,
286,
5827,
3571,
17,
12,
1270,
3270,
1201,
362,
15197,
30,
46506,
5827,
13,
904,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12860,
502,
262,
938,
15305,
11795,
286,
5827,
3571,
17,
12,
1270,
3270,
1201,
362,
15197,
30,
46506,
5827,
13,
904,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31... |
Name the metrical equivalence for linha | SELECT metrical_equivalence FROM table_26538461_2 WHERE portuguese_name = "Linha" | [
5376,
262,
1138,
8143,
6854,
594,
329,
9493,
3099,
46506,
1138,
8143,
62,
4853,
2473,
594,
16034,
3084,
62,
22980,
2548,
40652,
62,
17,
33411,
2493,
1018,
20506,
62,
3672,
796,
366,
14993,
3099,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1138,
8143,
62,
4853,
2473,
594,
16034,
3084,
62,
22980,
2548,
40652,
62,
17,
33411,
2493,
1018,
20506,
62,
3672,
796,
366,
14993,
3099,
1
] |
character recognition papers earlier than 2010 | SELECT DISTINCT paper.paperid FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'character recognition' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND paper.year < 2010 | [
22769,
9465,
9473,
2961,
621,
3050,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
16034,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
33411,
1994,
34675,
13,
2539,
746,
8847,
12453,
796,
705,
22769,
9465,
6,
5357,
3348,
2539,
346... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
22769,
9465,
9473,
2961,
621,
3050,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
16034,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
33411,
1994,
34675,
13,
2539,
746,
8847,
12453,
796,
705,
22769,
9465,
6,
5357,
3348,
2539,
346... |
Show me the proportion on what are the names of the technicians and how many machines are they assigned to repair? | SELECT Name, COUNT(*) FROM repair_assignment AS T1 JOIN technician AS T2 ON T1.technician_id = T2.technician_id GROUP BY T2.Name | [
15307,
502,
262,
9823,
319,
644,
389,
262,
3891,
286,
262,
33519,
290,
703,
867,
8217,
389,
484,
8686,
284,
9185,
30,
46506,
6530,
11,
327,
28270,
7,
28104,
16034,
9185,
62,
562,
16747,
7054,
309,
16,
32357,
1268,
33024,
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,
502,
262,
9823,
319,
644,
389,
262,
3891,
286,
262,
33519,
290,
703,
867,
8217,
389,
484,
8686,
284,
9185,
30,
46506,
6530,
11,
327,
28270,
7,
28104,
16034,
9185,
62,
562,
16747,
7054,
309,
16,
32357,
1268,
33024,
7054,
309,
... |
how many people had died after being diagnosed with hypercoagulable state - antiphospholipid syndrome in the same hospital visit since 2105? | 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,
661,
550,
3724,
706,
852,
14641,
351,
8718,
1073,
363,
377,
540,
1181,
532,
1885,
13323,
14222,
349,
541,
312,
14027,
287,
262,
976,
4436,
3187,
1201,
362,
13348,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
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... | [
4919,
867,
661,
550,
3724,
706,
852,
14641,
351,
8718,
1073,
363,
377,
540,
1181,
532,
1885,
13323,
14222,
349,
541,
312,
14027,
287,
262,
976,
4436,
3187,
1201,
362,
13348,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
17,
1... |
What country was ole ellefs ter from? | SELECT "Country" FROM table_50926 WHERE "Winner" = 'ole ellefsæter' | [
2061,
1499,
373,
267,
293,
1288,
293,
9501,
1059,
422,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
29022,
2075,
33411,
366,
48056,
1,
796,
705,
2305,
1288,
293,
9501,
21241,
353,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1499,
373,
267,
293,
1288,
293,
9501,
1059,
422,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
29022,
2075,
33411,
366,
48056,
1,
796,
705,
2305,
1288,
293,
9501,
21241,
353,
6
] |
What was the average year that the venue was Bokskogens? | SELECT AVG("Year") FROM table_71271 WHERE "Venue" = 'bokskogens' | [
2061,
373,
262,
2811,
614,
326,
262,
14359,
373,
47390,
8135,
26612,
30,
46506,
35224,
7203,
17688,
4943,
16034,
3084,
62,
49517,
4869,
33411,
366,
37522,
518,
1,
796,
705,
65,
482,
8135,
26612,
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,
373,
262,
2811,
614,
326,
262,
14359,
373,
47390,
8135,
26612,
30,
46506,
35224,
7203,
17688,
4943,
16034,
3084,
62,
49517,
4869,
33411,
366,
37522,
518,
1,
796,
705,
65,
482,
8135,
26612,
6
] |
Find the name and email of the user whose name contains the word Swift . | SELECT name, email FROM user_profiles WHERE name LIKE '%Swift%' | [
16742,
262,
1438,
290,
3053,
286,
262,
2836,
3025,
1438,
4909,
262,
1573,
15608,
764,
46506,
1438,
11,
3053,
16034,
2836,
62,
5577,
2915,
33411,
1438,
34178,
705,
4,
10462,
2135,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
1438,
290,
3053,
286,
262,
2836,
3025,
1438,
4909,
262,
1573,
15608,
764,
46506,
1438,
11,
3053,
16034,
2836,
62,
5577,
2915,
33411,
1438,
34178,
705,
4,
10462,
2135,
4,
6
] |
What was the result of the performance of the song by Caetano Veloso? | SELECT "Result" FROM table_29670 WHERE "Original Artist" = 'Caetano Veloso' | [
2061,
373,
262,
1255,
286,
262,
2854,
286,
262,
3496,
416,
6488,
316,
5733,
17378,
28213,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
27137,
2154,
33411,
366,
20556,
18902,
1,
796,
705,
24334,
316,
5733,
17378,
28213,
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,
1255,
286,
262,
2854,
286,
262,
3496,
416,
6488,
316,
5733,
17378,
28213,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
27137,
2154,
33411,
366,
20556,
18902,
1,
796,
705,
24334,
316,
5733,
17378,
28213,
6
] |
What was the team features at Oran Park Raceway? | SELECT team FROM table_name_41 WHERE circuit = "oran park raceway" | [
2061,
373,
262,
1074,
3033,
379,
1471,
272,
3250,
24746,
16172,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
3901,
33411,
10349,
796,
366,
31884,
3952,
3444,
16172,
1
] | [
1,
1,
1,
1,
1,
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,
1074,
3033,
379,
1471,
272,
3250,
24746,
16172,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
3901,
33411,
10349,
796,
366,
31884,
3952,
3444,
16172,
1
] |
what is the number of chiefs that are listed as foreign service officers ? | SELECT COUNT("name") FROM table_203_760 WHERE "status" = 'foreign service officer' | [
10919,
318,
262,
1271,
286,
30217,
326,
389,
5610,
355,
3215,
2139,
3790,
5633,
46506,
327,
28270,
7203,
3672,
4943,
16034,
3084,
62,
22416,
62,
40761,
33411,
366,
13376,
1,
796,
705,
38823,
2139,
3818,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1271,
286,
30217,
326,
389,
5610,
355,
3215,
2139,
3790,
5633,
46506,
327,
28270,
7203,
3672,
4943,
16034,
3084,
62,
22416,
62,
40761,
33411,
366,
13376,
1,
796,
705,
38823,
2139,
3818,
6
] |
What is the Title of the Film with a Rank greater than 11 and Worldwide Gross of $131,002,597? | SELECT "Title" FROM table_76239 WHERE "Rank" > '11' AND "Worldwide Gross" = '$131,002,597' | [
2061,
318,
262,
11851,
286,
262,
13741,
351,
257,
10916,
3744,
621,
1367,
290,
33140,
21796,
286,
720,
22042,
11,
21601,
11,
43239,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
4304,
23516,
33411,
366,
27520,
1,
1875,
705,
1157,
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,
1,
1,
1
] | [
2061,
318,
262,
11851,
286,
262,
13741,
351,
257,
10916,
3744,
621,
1367,
290,
33140,
21796,
286,
720,
22042,
11,
21601,
11,
43239,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
4304,
23516,
33411,
366,
27520,
1,
1875,
705,
1157,
6,
5357... |
Find posts with blacklisted websites. For example, mysite.com, etc. | SELECT Id AS "post_link", Title FROM Posts WHERE (LOWER(Body) LIKE '%mysite.com%' OR LOWER(Body) LIKE '%site.com%') LIMIT 1000 | [
16742,
6851,
351,
2042,
17935,
9293,
13,
1114,
1672,
11,
616,
15654,
13,
785,
11,
3503,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
11851,
16034,
12043,
33411,
357,
43,
36048,
7,
25842,
8,
34178,
705,
4,
28744,
578,
13,
785,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
6851,
351,
2042,
17935,
9293,
13,
1114,
1672,
11,
616,
15654,
13,
785,
11,
3503,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
11851,
16034,
12043,
33411,
357,
43,
36048,
7,
25842,
8,
34178,
705,
4,
28744,
578,
13,
785,
4... |
Who is the Opponent on January 16? | SELECT "Opponent" FROM table_45624 WHERE "Date" = 'january 16' | [
8241,
318,
262,
9385,
3471,
319,
3269,
1467,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
29228,
1731,
33411,
366,
10430,
1,
796,
705,
13881,
2838,
1467,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
9385,
3471,
319,
3269,
1467,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
29228,
1731,
33411,
366,
10430,
1,
796,
705,
13881,
2838,
1467,
6
] |
What's the 1986 if 1991 has a QF and 1998 has a 3R? | SELECT 1986 FROM table_name_51 WHERE 1991 = "qf" AND 1998 = "3r" | [
2061,
338,
262,
12113,
611,
10249,
468,
257,
1195,
37,
290,
7795,
468,
257,
513,
49,
30,
46506,
12113,
16034,
3084,
62,
3672,
62,
4349,
33411,
10249,
796,
366,
80,
69,
1,
5357,
7795,
796,
366,
18,
81,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
12113,
611,
10249,
468,
257,
1195,
37,
290,
7795,
468,
257,
513,
49,
30,
46506,
12113,
16034,
3084,
62,
3672,
62,
4349,
33411,
10249,
796,
366,
80,
69,
1,
5357,
7795,
796,
366,
18,
81,
1
] |
List all the possible ways to get to attractions, together with the number of attractions accessible by these methods in a bar chart. | SELECT How_to_Get_There, COUNT(*) FROM Tourist_Attractions GROUP BY How_to_Get_There | [
8053,
477,
262,
1744,
2842,
284,
651,
284,
29156,
11,
1978,
351,
262,
1271,
286,
29156,
9857,
416,
777,
5050,
287,
257,
2318,
8262,
13,
46506,
1374,
62,
1462,
62,
3855,
62,
1858,
11,
327,
28270,
7,
28104,
16034,
9852,
396,
62,
8086,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
477,
262,
1744,
2842,
284,
651,
284,
29156,
11,
1978,
351,
262,
1271,
286,
29156,
9857,
416,
777,
5050,
287,
257,
2318,
8262,
13,
46506,
1374,
62,
1462,
62,
3855,
62,
1858,
11,
327,
28270,
7,
28104,
16034,
9852,
396,
62,
8086,... |
What is the seat number when Series 3 shows Dana B rov ? | SELECT AVG(seat) FROM table_name_81 WHERE series_3 = "dana bérová" | [
2061,
318,
262,
5852,
1271,
618,
7171,
513,
2523,
22937,
347,
686,
85,
5633,
46506,
35224,
7,
24073,
8,
16034,
3084,
62,
3672,
62,
6659,
33411,
2168,
62,
18,
796,
366,
67,
2271,
275,
2634,
18657,
6557,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5852,
1271,
618,
7171,
513,
2523,
22937,
347,
686,
85,
5633,
46506,
35224,
7,
24073,
8,
16034,
3084,
62,
3672,
62,
6659,
33411,
2168,
62,
18,
796,
366,
67,
2271,
275,
2634,
18657,
6557,
1
] |
How much Overall has a Pick of 10, and a Round smaller than 8, and a Position of e, and a College of tennessee? | SELECT COUNT("Overall") FROM table_48958 WHERE "Pick" = '10' AND "Round" < '8' AND "Position" = 'e' AND "College" = 'tennessee' | [
2437,
881,
14674,
468,
257,
12346,
286,
838,
11,
290,
257,
10485,
4833,
621,
807,
11,
290,
257,
23158,
286,
304,
11,
290,
257,
5535,
286,
256,
1697,
10702,
30,
46506,
327,
28270,
7203,
16350,
4943,
16034,
3084,
62,
35890,
3365,
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... | [
2437,
881,
14674,
468,
257,
12346,
286,
838,
11,
290,
257,
10485,
4833,
621,
807,
11,
290,
257,
23158,
286,
304,
11,
290,
257,
5535,
286,
256,
1697,
10702,
30,
46506,
327,
28270,
7203,
16350,
4943,
16034,
3084,
62,
35890,
3365,
33411,... |
What is the Rank of the Officer with Badge/Serial Number 11755 who died in Gunfire? | SELECT rank FROM table_name_17 WHERE cause_of_death = "gunfire" AND badge_serial_number = "11755" | [
2061,
318,
262,
10916,
286,
262,
10391,
351,
44308,
14,
32634,
7913,
1367,
38172,
508,
3724,
287,
6748,
6495,
30,
46506,
4279,
16034,
3084,
62,
3672,
62,
1558,
33411,
2728,
62,
1659,
62,
22595,
796,
366,
7145,
6495,
1,
5357,
23009,
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
] | [
2061,
318,
262,
10916,
286,
262,
10391,
351,
44308,
14,
32634,
7913,
1367,
38172,
508,
3724,
287,
6748,
6495,
30,
46506,
4279,
16034,
3084,
62,
3672,
62,
1558,
33411,
2728,
62,
1659,
62,
22595,
796,
366,
7145,
6495,
1,
5357,
23009,
62... |
Who was the away team playing at Carlton? | SELECT "Away team" FROM table_20738 WHERE "Home team" = 'Carlton' | [
8241,
373,
262,
1497,
1074,
2712,
379,
44348,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
22745,
2548,
33411,
366,
16060,
1074,
1,
796,
705,
26886,
1122,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
1497,
1074,
2712,
379,
44348,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
22745,
2548,
33411,
366,
16060,
1074,
1,
796,
705,
26886,
1122,
6
] |
How many matches did Bet365 gives higher home win odds than Pinnacle? | SELECT COUNT(*) FROM football_data WHERE b365h > psh | [
2437,
867,
7466,
750,
5147,
24760,
3607,
2440,
1363,
1592,
10402,
621,
350,
37087,
30,
46506,
327,
28270,
7,
28104,
16034,
4346,
62,
7890,
33411,
275,
24760,
71,
1875,
279,
1477
] | [
1,
1,
1,
1,
1,
1,
1,
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,
7466,
750,
5147,
24760,
3607,
2440,
1363,
1592,
10402,
621,
350,
37087,
30,
46506,
327,
28270,
7,
28104,
16034,
4346,
62,
7890,
33411,
275,
24760,
71,
1875,
279,
1477
] |
what is the even when the location is tokyo, japan and the record is 6-1? | SELECT "Event" FROM table_63738 WHERE "Location" = 'tokyo, japan' AND "Record" = '6-1' | [
10919,
318,
262,
772,
618,
262,
4067,
318,
284,
2584,
78,
11,
474,
2674,
290,
262,
1700,
318,
718,
12,
16,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
21,
2718,
2548,
33411,
366,
14749,
1,
796,
705,
83,
482,
8226,
11,
474,
2674,
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
] | [
10919,
318,
262,
772,
618,
262,
4067,
318,
284,
2584,
78,
11,
474,
2674,
290,
262,
1700,
318,
718,
12,
16,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
21,
2718,
2548,
33411,
366,
14749,
1,
796,
705,
83,
482,
8226,
11,
474,
2674,
6... |
What are the dimensions of the coin worth 200? | SELECT dimensions FROM table_298883_5 WHERE value = "₩200" | [
2061,
389,
262,
15225,
286,
262,
10752,
2861,
939,
30,
46506,
15225,
16034,
3084,
62,
1959,
3459,
5999,
62,
20,
33411,
1988,
796,
366,
158,
224,
102,
2167,
1
] | [
1,
1,
1,
1,
1,
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,
15225,
286,
262,
10752,
2861,
939,
30,
46506,
15225,
16034,
3084,
62,
1959,
3459,
5999,
62,
20,
33411,
1988,
796,
366,
158,
224,
102,
2167,
1
] |
Which Doctor Who episode has a Original airdate (UK) of dvd only? | SELECT doctor_who_episode FROM table_name_51 WHERE original_airdate__uk_ = "dvd only" | [
13828,
9356,
5338,
4471,
468,
257,
13745,
257,
1447,
378,
357,
15039,
8,
286,
288,
20306,
691,
30,
46506,
6253,
62,
8727,
62,
38668,
16034,
3084,
62,
3672,
62,
4349,
33411,
2656,
62,
958,
4475,
834,
2724,
62,
796,
366,
67,
20306,
69... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9356,
5338,
4471,
468,
257,
13745,
257,
1447,
378,
357,
15039,
8,
286,
288,
20306,
691,
30,
46506,
6253,
62,
8727,
62,
38668,
16034,
3084,
62,
3672,
62,
4349,
33411,
2656,
62,
958,
4475,
834,
2724,
62,
796,
366,
67,
20306,
69... |
how many patients have had a peritoneal fluid microbiology test performed until 2104? | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT microbiologyevents.hadm_id FROM microbiologyevents WHERE microbiologyevents.spec_type_desc = 'peritoneal fluid' AND STRFTIME('%y', microbiologyevents.charttime) <= '2104') | [
4919,
867,
3871,
423,
550,
257,
583,
49644,
282,
11711,
24559,
1435,
1332,
6157,
1566,
362,
13464,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
423,
550,
257,
583,
49644,
282,
11711,
24559,
1435,
1332,
6157,
1566,
362,
13464,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,... |
what tournament was on a hard surface and saw jacob adaktusson as the opponent? | SELECT tournament FROM table_name_78 WHERE surface = "hard" AND opponent = "jacob adaktusson" | [
10919,
7756,
373,
319,
257,
1327,
4417,
290,
2497,
474,
330,
672,
512,
461,
83,
1046,
261,
355,
262,
6125,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
3695,
33411,
4417,
796,
366,
10424,
1,
5357,
6125,
796,
366,
30482,
672,
512,
461... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7756,
373,
319,
257,
1327,
4417,
290,
2497,
474,
330,
672,
512,
461,
83,
1046,
261,
355,
262,
6125,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
3695,
33411,
4417,
796,
366,
10424,
1,
5357,
6125,
796,
366,
30482,
672,
512,
461... |
What is the Match for skra warszawa? | SELECT match FROM table_name_65 WHERE team = "skra warszawa" | [
2061,
318,
262,
13225,
329,
1341,
430,
9976,
89,
6909,
30,
46506,
2872,
16034,
3084,
62,
3672,
62,
2996,
33411,
1074,
796,
366,
8135,
430,
9976,
89,
6909,
1
] | [
1,
1,
1,
1,
1,
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,
13225,
329,
1341,
430,
9976,
89,
6909,
30,
46506,
2872,
16034,
3084,
62,
3672,
62,
2996,
33411,
1074,
796,
366,
8135,
430,
9976,
89,
6909,
1
] |
how many patients that died were diagnosed with ketoacidosis, type i [juvenile type], not stated as uncontrolled? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.expire_flag = "1" AND diagnoses.long_title = "Diabetes with ketoacidosis, type I [juvenile type], not stated as uncontrolled" | [
4919,
867,
3871,
326,
3724,
547,
14641,
351,
22354,
78,
46309,
5958,
11,
2099,
1312,
685,
39427,
576,
2099,
4357,
407,
5081,
355,
47913,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
326,
3724,
547,
14641,
351,
22354,
78,
46309,
5958,
11,
2099,
1312,
685,
39427,
576,
2099,
4357,
407,
5081,
355,
47913,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,... |
what is the number of patients whose death status is 1 and days of hospital stay is greater than 11? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.expire_flag = "1" AND demographic.days_stay > "11" | [
10919,
318,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
352,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
1367,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
1069,
5111,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
352,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
1367,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
1069,
5111,
... |
severe sepsis and at least 1 the following: low blood pressure prior to volume expansion ( sbp < 100 ) ; glasgow coma scale < 13 ; skin mottling score > 2 | SELECT * FROM table_train_73 WHERE severe_sepsis = 1 AND (CASE WHEN systolic_blood_pressure_sbp < 100 THEN 1 ELSE 0 END + CASE WHEN glasgow_come_score_gcs < 13 THEN 1 ELSE 0 END + CASE WHEN skin_mottling_score > 2 THEN 1 ELSE 0 END) >= 1 | [
43070,
384,
862,
271,
290,
379,
1551,
352,
262,
1708,
25,
1877,
2910,
3833,
3161,
284,
6115,
7118,
357,
264,
46583,
1279,
1802,
1267,
2162,
1278,
292,
21175,
33658,
5046,
1279,
1511,
2162,
4168,
285,
1252,
1359,
4776,
1875,
362,
46506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
43070,
384,
862,
271,
290,
379,
1551,
352,
262,
1708,
25,
1877,
2910,
3833,
3161,
284,
6115,
7118,
357,
264,
46583,
1279,
1802,
1267,
2162,
1278,
292,
21175,
33658,
5046,
1279,
1511,
2162,
4168,
285,
1252,
1359,
4776,
1875,
362,
46506,
... |
What player has a score of 69-68-68=205? | SELECT player FROM table_name_43 WHERE score = 69 - 68 - 68 = 205 | [
2061,
2137,
468,
257,
4776,
286,
8644,
12,
3104,
12,
3104,
28,
21261,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
3559,
33411,
4776,
796,
8644,
532,
8257,
532,
8257,
796,
22538
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2137,
468,
257,
4776,
286,
8644,
12,
3104,
12,
3104,
28,
21261,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
3559,
33411,
4776,
796,
8644,
532,
8257,
532,
8257,
796,
22538
] |
What was the attendance for july 18? | SELECT COUNT(attendance) FROM table_name_84 WHERE date = "july 18" | [
2061,
373,
262,
14858,
329,
474,
2062,
1248,
30,
46506,
327,
28270,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
5705,
33411,
3128,
796,
366,
73,
2062,
1248,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
14858,
329,
474,
2062,
1248,
30,
46506,
327,
28270,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
5705,
33411,
3128,
796,
366,
73,
2062,
1248,
1
] |
Which track has a title : Just a little bit | SELECT MIN(track) FROM table_name_64 WHERE song_title = "just a little bit" | [
13828,
2610,
468,
257,
3670,
1058,
2329,
257,
1310,
1643,
46506,
20625,
7,
11659,
8,
16034,
3084,
62,
3672,
62,
2414,
33411,
3496,
62,
7839,
796,
366,
3137,
257,
1310,
1643,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
2610,
468,
257,
3670,
1058,
2329,
257,
1310,
1643,
46506,
20625,
7,
11659,
8,
16034,
3084,
62,
3672,
62,
2414,
33411,
3496,
62,
7839,
796,
366,
3137,
257,
1310,
1643,
1
] |
calculate the difference between the total input and the output on last month/15 for patient 002-41152. | SELECT (SELECT SUM(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 = '002-41152')) AND intakeoutput.cellpath L... | [
9948,
3129,
378,
262,
3580,
1022,
262,
2472,
5128,
290,
262,
5072,
319,
938,
1227,
14,
1314,
329,
5827,
3571,
17,
12,
42224,
4309,
13,
46506,
357,
46506,
35683,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9948,
3129,
378,
262,
3580,
1022,
262,
2472,
5128,
290,
262,
5072,
319,
938,
1227,
14,
1314,
329,
5827,
3571,
17,
12,
42224,
4309,
13,
46506,
357,
46506,
35683,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22... |
What is the horizontal bar score with a pommel horse of n/a, and the position is less than 27, and the parallel bars score is 15.800? | SELECT horizontal_bar FROM table_name_18 WHERE pommel_horse = "n/a" AND position < 27 AND parallel_bars = "15.800" | [
2061,
318,
262,
16021,
2318,
4776,
351,
257,
279,
48990,
8223,
286,
299,
14,
64,
11,
290,
262,
2292,
318,
1342,
621,
2681,
11,
290,
262,
10730,
9210,
4776,
318,
1315,
13,
7410,
30,
46506,
16021,
62,
5657,
16034,
3084,
62,
3672,
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... | [
2061,
318,
262,
16021,
2318,
4776,
351,
257,
279,
48990,
8223,
286,
299,
14,
64,
11,
290,
262,
2292,
318,
1342,
621,
2681,
11,
290,
262,
10730,
9210,
4776,
318,
1315,
13,
7410,
30,
46506,
16021,
62,
5657,
16034,
3084,
62,
3672,
62,
... |
Find questions contain tag 'polls'. SET @TargTags = LTRIM (RTRIM (@TargTags) ); | SELECT Q.Id, Q.Tags, Q.Score, Q.Title, CAST(TIME_TO_STR(Q.CreationDate, '%Y%m%d') AS TEXT(10)) AS "date_asked", Q.AnswerCount AS "num_answers" FROM Posts AS Q WHERE Q.PostTypeId = 1 AND Q.ClosedDate IS NULL AND Q.Tags LIKE '%<Mass-Effect-3>%' AND LENGTH(Q.Body) > 5 AND Q.AnswerCount > 5 ORDER BY Q.AnswerCount DESC LIMI... | [
16742,
2683,
3994,
7621,
705,
30393,
82,
4458,
25823,
2488,
51,
853,
36142,
796,
406,
5446,
3955,
357,
49,
5446,
3955,
4275,
51,
853,
36142,
8,
5619,
46506,
1195,
13,
7390,
11,
1195,
13,
36142,
11,
1195,
13,
26595,
11,
1195,
13,
191... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3994,
7621,
705,
30393,
82,
4458,
25823,
2488,
51,
853,
36142,
796,
406,
5446,
3955,
357,
49,
5446,
3955,
4275,
51,
853,
36142,
8,
5619,
46506,
1195,
13,
7390,
11,
1195,
13,
36142,
11,
1195,
13,
26595,
11,
1195,
13,
191... |
What is the number of departments in Division 'AS'? | SELECT COUNT(*) FROM department WHERE division = "AS" | [
2061,
318,
262,
1271,
286,
13346,
287,
7458,
705,
1921,
30960,
46506,
327,
28270,
7,
28104,
16034,
5011,
33411,
7297,
796,
366,
1921,
1
] | [
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,
13346,
287,
7458,
705,
1921,
30960,
46506,
327,
28270,
7,
28104,
16034,
5011,
33411,
7297,
796,
366,
1921,
1
] |
Name the score for miami | SELECT score FROM table_27723228_7 WHERE team = "Miami" | [
5376,
262,
4776,
329,
285,
7871,
46506,
4776,
16034,
3084,
62,
27019,
1954,
23815,
62,
22,
33411,
1074,
796,
366,
41191,
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,
4776,
329,
285,
7871,
46506,
4776,
16034,
3084,
62,
27019,
1954,
23815,
62,
22,
33411,
1074,
796,
366,
41191,
1
] |
Name the delegate first elected in 2003? | SELECT delegate FROM table_14009909_1 WHERE first_elected = 2003 | [
5376,
262,
23191,
717,
7018,
287,
5816,
30,
46506,
23191,
16034,
3084,
62,
1415,
405,
2079,
2931,
62,
16,
33411,
717,
62,
28604,
796,
5816
] | [
1,
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,
23191,
717,
7018,
287,
5816,
30,
46506,
23191,
16034,
3084,
62,
1415,
405,
2079,
2931,
62,
16,
33411,
717,
62,
28604,
796,
5816
] |
Name the number of teams at the philips arena 19,335? | SELECT COUNT("Team") FROM table_72237 WHERE "Location Attendance" = 'Philips Arena 19,335' | [
5376,
262,
1271,
286,
3466,
379,
262,
5206,
2419,
13478,
678,
11,
27326,
30,
46506,
327,
28270,
7203,
15592,
4943,
16034,
3084,
62,
22,
1828,
2718,
33411,
366,
14749,
46502,
590,
1,
796,
705,
18673,
2419,
10937,
678,
11,
27326,
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
] | [
5376,
262,
1271,
286,
3466,
379,
262,
5206,
2419,
13478,
678,
11,
27326,
30,
46506,
327,
28270,
7203,
15592,
4943,
16034,
3084,
62,
22,
1828,
2718,
33411,
366,
14749,
46502,
590,
1,
796,
705,
18673,
2419,
10937,
678,
11,
27326,
6
] |
which artists won in 2008 and 2009 respectively ? | SELECT "winner" FROM table_204_655 WHERE "year" IN (2008, 2009) | [
4758,
7912,
1839,
287,
3648,
290,
3717,
8148,
5633,
46506,
366,
39791,
1,
16034,
3084,
62,
18638,
62,
35916,
33411,
366,
1941,
1,
3268,
357,
11528,
11,
3717,
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
] | [
4758,
7912,
1839,
287,
3648,
290,
3717,
8148,
5633,
46506,
366,
39791,
1,
16034,
3084,
62,
18638,
62,
35916,
33411,
366,
1941,
1,
3268,
357,
11528,
11,
3717,
8
] |
Name the number of semi final results for 12 performance order | SELECT COUNT(semi_finals_result) FROM table_26267849_11 WHERE performance_order = 12 | [
5376,
262,
1271,
286,
10663,
2457,
2482,
329,
1105,
2854,
1502,
46506,
327,
28270,
7,
325,
11632,
62,
32089,
62,
20274,
8,
16034,
3084,
62,
2075,
2075,
3695,
2920,
62,
1157,
33411,
2854,
62,
2875,
796,
1105
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10663,
2457,
2482,
329,
1105,
2854,
1502,
46506,
327,
28270,
7,
325,
11632,
62,
32089,
62,
20274,
8,
16034,
3084,
62,
2075,
2075,
3695,
2920,
62,
1157,
33411,
2854,
62,
2875,
796,
1105
] |
What tournament has petra mandula patricia wartusch as the opponent in the final? | SELECT tournament FROM table_name_40 WHERE opponent_in_the_final = "petra mandula patricia wartusch" | [
2061,
7756,
468,
4273,
430,
6855,
4712,
1458,
26654,
32943,
385,
354,
355,
262,
6125,
287,
262,
2457,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
1821,
33411,
6125,
62,
259,
62,
1169,
62,
20311,
796,
366,
6449,
430,
6855,
4712,
1458,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
7756,
468,
4273,
430,
6855,
4712,
1458,
26654,
32943,
385,
354,
355,
262,
6125,
287,
262,
2457,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
1821,
33411,
6125,
62,
259,
62,
1169,
62,
20311,
796,
366,
6449,
430,
6855,
4712,
1458,
... |
count the number of patients whose age is less than 77 and procedure short title is percu endosc gastrostomy? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "77" AND procedures.short_title = "Percu endosc gastrostomy" | [
9127,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
8541,
290,
8771,
1790,
3670,
318,
583,
27399,
886,
17500,
21956,
23341,
9145,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
8541,
290,
8771,
1790,
3670,
318,
583,
27399,
886,
17500,
21956,
23341,
9145,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21... |
had patient 5364 been diagnosed this year with ac posthemorrhag anemia? | SELECT COUNT(*) > 0 FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'ac posthemorrhag anemia') AND diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 5364) AND DATETIME(diagnoses_... | [
18108,
5827,
7192,
2414,
587,
14641,
428,
614,
351,
936,
1281,
4411,
273,
17179,
363,
281,
22859,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
40567,
62,
291,
67,
33411,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
18108,
5827,
7192,
2414,
587,
14641,
428,
614,
351,
936,
1281,
4411,
273,
17179,
363,
281,
22859,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
40567,
62,
291,
67,
33411,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,... |
What is the smallest drawn when the points are less than 7 and the against greater than 31? | SELECT MIN("Drawn") FROM table_42902 WHERE "Points" < '7' AND "Against" > '31' | [
2061,
318,
262,
18197,
7428,
618,
262,
2173,
389,
1342,
621,
767,
290,
262,
1028,
3744,
621,
3261,
30,
46506,
20625,
7203,
35,
5791,
4943,
16034,
3084,
62,
11785,
2999,
33411,
366,
40710,
1,
1279,
705,
22,
6,
5357,
366,
39276,
1,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
18197,
7428,
618,
262,
2173,
389,
1342,
621,
767,
290,
262,
1028,
3744,
621,
3261,
30,
46506,
20625,
7203,
35,
5791,
4943,
16034,
3084,
62,
11785,
2999,
33411,
366,
40710,
1,
1279,
705,
22,
6,
5357,
366,
39276,
1,
18... |
List the year in which there are more than one festivals. | SELECT year FROM festival_detail GROUP BY year HAVING COUNT(*) > 1 | [
8053,
262,
614,
287,
543,
612,
389,
517,
621,
530,
25575,
13,
46506,
614,
16034,
10876,
62,
49170,
44441,
11050,
614,
367,
10116,
2751,
327,
28270,
7,
28104,
1875,
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
] | [
8053,
262,
614,
287,
543,
612,
389,
517,
621,
530,
25575,
13,
46506,
614,
16034,
10876,
62,
49170,
44441,
11050,
614,
367,
10116,
2751,
327,
28270,
7,
28104,
1875,
352
] |
How many totals have golds of 3, silvers of 3, and bronzes under 3? | SELECT SUM("Total") FROM table_9500 WHERE "Gold" = '3' AND "Bronze" < '3' AND "Silver" = '3' | [
2437,
867,
26310,
423,
3869,
82,
286,
513,
11,
3313,
690,
286,
513,
11,
290,
18443,
12271,
739,
513,
30,
46506,
35683,
7203,
14957,
4943,
16034,
3084,
62,
3865,
405,
33411,
366,
13306,
1,
796,
705,
18,
6,
5357,
366,
18760,
2736,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26310,
423,
3869,
82,
286,
513,
11,
3313,
690,
286,
513,
11,
290,
18443,
12271,
739,
513,
30,
46506,
35683,
7203,
14957,
4943,
16034,
3084,
62,
3865,
405,
33411,
366,
13306,
1,
796,
705,
18,
6,
5357,
366,
18760,
2736,
1,
... |
What are the prerequisites for me before enrolling in ITALIAN 399 ? | SELECT DISTINCT COURSE_0.department, COURSE_0.name, COURSE_0.number FROM course AS COURSE_0, course AS COURSE_1, course_prerequisite WHERE COURSE_0.course_id = course_prerequisite.pre_course_id AND NOT COURSE_0.course_id IN (SELECT STUDENT_RECORDalias0.course_id FROM student_record AS STUDENT_RECORDalias0 WHERE STUDENT... | [
2061,
389,
262,
662,
34075,
329,
502,
878,
14627,
278,
287,
7283,
1847,
16868,
43927,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
15,
13,
10378,
1823,
11,
37384,
5188,
62,
15,
13,
3672,
11,
37384,
5188,
62,
15,
13,
17618,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
662,
34075,
329,
502,
878,
14627,
278,
287,
7283,
1847,
16868,
43927,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
15,
13,
10378,
1823,
11,
37384,
5188,
62,
15,
13,
3672,
11,
37384,
5188,
62,
15,
13,
17618,
1... |
What was the score of the 1998 FIFA World Cup qualification competition? | SELECT "Score" FROM table_60770 WHERE "Competition" = '1998 fifa world cup qualification' | [
2061,
373,
262,
4776,
286,
262,
7795,
21285,
2159,
5454,
28587,
5449,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
31980,
2154,
33411,
366,
7293,
15620,
1,
796,
705,
21113,
5515,
64,
995,
6508,
28587,
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,
373,
262,
4776,
286,
262,
7795,
21285,
2159,
5454,
28587,
5449,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
31980,
2154,
33411,
366,
7293,
15620,
1,
796,
705,
21113,
5515,
64,
995,
6508,
28587,
6
] |
Which Designation has a Manufacturer of siemens, and a Quantity of 52? | SELECT designation FROM table_name_56 WHERE manufacturer = "siemens" AND quantity = 52 | [
13828,
8495,
341,
468,
257,
40218,
286,
264,
26597,
641,
11,
290,
257,
39789,
286,
6740,
30,
46506,
22566,
16034,
3084,
62,
3672,
62,
3980,
33411,
11554,
796,
366,
13396,
368,
641,
1,
5357,
12040,
796,
6740
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8495,
341,
468,
257,
40218,
286,
264,
26597,
641,
11,
290,
257,
39789,
286,
6740,
30,
46506,
22566,
16034,
3084,
62,
3672,
62,
3980,
33411,
11554,
796,
366,
13396,
368,
641,
1,
5357,
12040,
796,
6740
] |
tell me the number of male patients who were ordered granular casts lab test. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.gender = "M" AND lab.label = "Granular Casts" | [
33331,
502,
262,
1271,
286,
4257,
3871,
508,
547,
6149,
19468,
934,
26217,
2248,
1332,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4257,
3871,
508,
547,
6149,
19468,
934,
26217,
2248,
1332,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
... |
what is insurance of subject id 990? | SELECT demographic.insurance FROM demographic WHERE demographic.subject_id = "990" | [
10919,
318,
5096,
286,
2426,
4686,
860,
3829,
30,
46506,
16728,
13,
1040,
3874,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
34155,
1
] | [
1,
1,
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,
5096,
286,
2426,
4686,
860,
3829,
30,
46506,
16728,
13,
1040,
3874,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
34155,
1
] |
tell me the time of patient 015-91239's hospital admission in this year? | SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '015-91239' AND DATETIME(patient.hospitaladmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') | [
33331,
502,
262,
640,
286,
5827,
5534,
20,
12,
24,
1065,
2670,
338,
4436,
13938,
287,
428,
614,
30,
46506,
5827,
13,
49257,
324,
20124,
524,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
25150,
12,
24,
1065,
2670,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
640,
286,
5827,
5534,
20,
12,
24,
1065,
2670,
338,
4436,
13938,
287,
428,
614,
30,
46506,
5827,
13,
49257,
324,
20124,
524,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
25150,
12,
24,
1065,
2670,
6,
... |
What is the stamp duty reserve tax when the percentage over total tax revenue is 0.79? | SELECT "Stamp duty reserve tax" FROM table_20609 WHERE "over Total Tax Revenue (in %)" = '0.79' | [
2061,
318,
262,
17977,
7077,
11515,
1687,
618,
262,
5873,
625,
2472,
1687,
6426,
318,
657,
13,
3720,
30,
46506,
366,
1273,
696,
7077,
11515,
1687,
1,
16034,
3084,
62,
1238,
31751,
33411,
366,
2502,
7472,
9241,
20197,
357,
259,
4064,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17977,
7077,
11515,
1687,
618,
262,
5873,
625,
2472,
1687,
6426,
318,
657,
13,
3720,
30,
46506,
366,
1273,
696,
7077,
11515,
1687,
1,
16034,
3084,
62,
1238,
31751,
33411,
366,
2502,
7472,
9241,
20197,
357,
259,
4064,
1... |
What are the Podiums that has a Poles of 3? | SELECT "Podiums" FROM table_50630 WHERE "Poles" = '3' | [
2061,
389,
262,
350,
12664,
82,
326,
468,
257,
45631,
286,
513,
30,
46506,
366,
47,
12664,
82,
1,
16034,
3084,
62,
1120,
30005,
33411,
366,
47,
4316,
1,
796,
705,
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
] | [
2061,
389,
262,
350,
12664,
82,
326,
468,
257,
45631,
286,
513,
30,
46506,
366,
47,
12664,
82,
1,
16034,
3084,
62,
1120,
30005,
33411,
366,
47,
4316,
1,
796,
705,
18,
6
] |
r posts per month duplicated. | WITH rtag AS (SELECT Id AS tagid FROM Tags WHERE TagName = 'r') SELECT PostTypeId, TIME_TO_STR(Posts.CreationDate, '%Y') AS year, TIME_TO_STR(Posts.CreationDate, '%m') AS month, COUNT(DISTINCT Posts.Id) AS monthcount FROM Tags INNER JOIN PostTags ON (Tags.Id = PostTags.TagId AND TagName IN ('javascript', 'jquery')) INN... | [
81,
6851,
583,
1227,
14184,
3474,
13,
54,
10554,
374,
12985,
7054,
357,
46506,
5121,
7054,
7621,
312,
16034,
44789,
33411,
17467,
5376,
796,
705,
81,
11537,
33493,
2947,
6030,
7390,
11,
20460,
62,
10468,
62,
18601,
7,
21496,
13,
12443,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
81,
6851,
583,
1227,
14184,
3474,
13,
54,
10554,
374,
12985,
7054,
357,
46506,
5121,
7054,
7621,
312,
16034,
44789,
33411,
17467,
5376,
796,
705,
81,
11537,
33493,
2947,
6030,
7390,
11,
20460,
62,
10468,
62,
18601,
7,
21496,
13,
12443,
... |
Who is third to Xu Xiaoming at second? | SELECT "Third" FROM table_62756 WHERE "Second" = 'xu xiaoming' | [
8241,
318,
2368,
284,
33591,
22450,
3383,
379,
1218,
30,
46506,
366,
22747,
1,
16034,
3084,
62,
49856,
3980,
33411,
366,
12211,
1,
796,
705,
87,
84,
2124,
544,
3383,
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
] | [
8241,
318,
2368,
284,
33591,
22450,
3383,
379,
1218,
30,
46506,
366,
22747,
1,
16034,
3084,
62,
49856,
3980,
33411,
366,
12211,
1,
796,
705,
87,
84,
2124,
544,
3383,
6
] |
how many times was first place won ? | SELECT COUNT(*) FROM table_203_584 WHERE "place" = 1 | [
4919,
867,
1661,
373,
717,
1295,
1839,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
46352,
33411,
366,
5372,
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,
1,
1
] | [
4919,
867,
1661,
373,
717,
1295,
1839,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
46352,
33411,
366,
5372,
1,
796,
352
] |
What identities do the genus/species arabidopsis thaliana have? | SELECT identity FROM table_15417439_1 WHERE genus_species = "Arabidopsis thaliana" | [
2061,
18413,
466,
262,
34306,
14,
35448,
610,
397,
312,
24608,
294,
7199,
64,
423,
30,
46506,
5369,
16034,
3084,
62,
21526,
22985,
2670,
62,
16,
33411,
34306,
62,
35448,
796,
366,
31602,
312,
24608,
294,
7199,
64,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
18413,
466,
262,
34306,
14,
35448,
610,
397,
312,
24608,
294,
7199,
64,
423,
30,
46506,
5369,
16034,
3084,
62,
21526,
22985,
2670,
62,
16,
33411,
34306,
62,
35448,
796,
366,
31602,
312,
24608,
294,
7199,
64,
1
] |
Name the birth of the person married 24 may 1935 | SELECT "Birth" FROM table_68311 WHERE "Marriage" = '24 may 1935' | [
5376,
262,
4082,
286,
262,
1048,
6405,
1987,
743,
30704,
46506,
366,
38480,
1,
16034,
3084,
62,
3104,
36244,
33411,
366,
7676,
4087,
1,
796,
705,
1731,
743,
30704,
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
] | [
5376,
262,
4082,
286,
262,
1048,
6405,
1987,
743,
30704,
46506,
366,
38480,
1,
16034,
3084,
62,
3104,
36244,
33411,
366,
7676,
4087,
1,
796,
705,
1731,
743,
30704,
6
] |
sentiment analysis papers that have the most citations | SELECT DISTINCT cite.citedpaperid, COUNT(cite.citedpaperid) FROM cite, keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'sentiment analysis' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = cite.citedpaperid AND paper.paperid = paperkeyphrase.paperid GROUP BY cite.citedpaperid ... | [
34086,
3681,
3781,
9473,
326,
423,
262,
749,
33499,
46506,
360,
8808,
1268,
4177,
21729,
13,
66,
863,
20189,
312,
11,
327,
28270,
7,
66,
578,
13,
66,
863,
20189,
312,
8,
16034,
21729,
11,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
34086,
3681,
3781,
9473,
326,
423,
262,
749,
33499,
46506,
360,
8808,
1268,
4177,
21729,
13,
66,
863,
20189,
312,
11,
327,
28270,
7,
66,
578,
13,
66,
863,
20189,
312,
8,
16034,
21729,
11,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675... |
count the number of patients whose diagnosis short title is food/vomit pneumonitis and lab test category is blood gas. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Food/vomit pneumonitis" AND lab."CATEGORY" = "Blood Gas" | [
9127,
262,
1271,
286,
3871,
3025,
13669,
1790,
3670,
318,
2057,
14,
85,
296,
270,
29631,
261,
11815,
290,
2248,
1332,
6536,
318,
2910,
3623,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
13669,
1790,
3670,
318,
2057,
14,
85,
296,
270,
29631,
261,
11815,
290,
2248,
1332,
6536,
318,
2910,
3623,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... |
What is the total number of years did he play the forward position and what school/club/team/country of Oregon State did he play? | SELECT SUM(no_s_) FROM table_name_92 WHERE position = "forward" AND school_club_team_country = "oregon state" | [
2061,
318,
262,
2472,
1271,
286,
812,
750,
339,
711,
262,
2651,
2292,
290,
644,
1524,
14,
18664,
14,
15097,
14,
19315,
286,
8819,
1812,
750,
339,
711,
30,
46506,
35683,
7,
3919,
62,
82,
62,
8,
16034,
3084,
62,
3672,
62,
5892,
3341... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
812,
750,
339,
711,
262,
2651,
2292,
290,
644,
1524,
14,
18664,
14,
15097,
14,
19315,
286,
8819,
1812,
750,
339,
711,
30,
46506,
35683,
7,
3919,
62,
82,
62,
8,
16034,
3084,
62,
3672,
62,
5892,
3341... |
WHAT IS THE POSITION OF FRANCE? | SELECT "Position" FROM table_43695 WHERE "Nationality" = 'france' | [
32971,
3180,
3336,
28069,
17941,
3963,
8782,
19240,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
43690,
3865,
33411,
366,
16186,
414,
1,
796,
705,
69,
8132,
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
] | [
32971,
3180,
3336,
28069,
17941,
3963,
8782,
19240,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
43690,
3865,
33411,
366,
16186,
414,
1,
796,
705,
69,
8132,
6
] |
What is the urban sub-area with an East Dunbartonshire council area and a population of 19,020? | SELECT urban_sub_area FROM table_name_70 WHERE council_area = "east dunbartonshire" AND population = "19,020" | [
2061,
318,
262,
7876,
850,
12,
20337,
351,
281,
3687,
5648,
16575,
684,
10695,
6745,
1989,
290,
257,
3265,
286,
678,
11,
33618,
30,
46506,
7876,
62,
7266,
62,
20337,
16034,
3084,
62,
3672,
62,
2154,
33411,
6745,
62,
20337,
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,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
7876,
850,
12,
20337,
351,
281,
3687,
5648,
16575,
684,
10695,
6745,
1989,
290,
257,
3265,
286,
678,
11,
33618,
30,
46506,
7876,
62,
7266,
62,
20337,
16034,
3084,
62,
3672,
62,
2154,
33411,
6745,
62,
20337,
796,
366,
... |
Draw a pie chart for how many different locations does each school have? | SELECT SCHOOL_CODE, COUNT(DISTINCT DEPT_ADDRESS) FROM DEPARTMENT | [
25302,
257,
2508,
8262,
329,
703,
867,
1180,
7064,
857,
1123,
1524,
423,
30,
46506,
35883,
62,
34,
16820,
11,
327,
28270,
7,
35,
8808,
1268,
4177,
5550,
11571,
62,
2885,
7707,
7597,
8,
16034,
5550,
30709,
10979
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2508,
8262,
329,
703,
867,
1180,
7064,
857,
1123,
1524,
423,
30,
46506,
35883,
62,
34,
16820,
11,
327,
28270,
7,
35,
8808,
1268,
4177,
5550,
11571,
62,
2885,
7707,
7597,
8,
16034,
5550,
30709,
10979
] |
count the number of patients whose discharge location is home and lab test name is rheumatoid factor? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.discharge_location = "HOME" AND lab.label = "Rheumatoid Factor" | [
9127,
262,
1271,
286,
3871,
3025,
17655,
4067,
318,
1363,
290,
2248,
1332,
1438,
318,
374,
258,
27798,
1868,
5766,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
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... | [
9127,
262,
1271,
286,
3871,
3025,
17655,
4067,
318,
1363,
290,
2248,
1332,
1438,
318,
374,
258,
27798,
1868,
5766,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2... |
How many accounts are opened in each day? Bin the account open day by weekday in a bar chart. | SELECT date_account_opened, COUNT(date_account_opened) FROM Accounts | [
2437,
867,
5504,
389,
4721,
287,
1123,
1110,
30,
20828,
262,
1848,
1280,
1110,
416,
28269,
287,
257,
2318,
8262,
13,
46506,
3128,
62,
23317,
62,
26350,
11,
327,
28270,
7,
4475,
62,
23317,
62,
26350,
8,
16034,
35584
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5504,
389,
4721,
287,
1123,
1110,
30,
20828,
262,
1848,
1280,
1110,
416,
28269,
287,
257,
2318,
8262,
13,
46506,
3128,
62,
23317,
62,
26350,
11,
327,
28270,
7,
4475,
62,
23317,
62,
26350,
8,
16034,
35584
] |
Show the total salary by each hire date of employees, and please bin the hire date into the Month interval for showing a bar chart, show in descending by the Y. | SELECT HIRE_DATE, SUM(SALARY) FROM employees ORDER BY SUM(SALARY) DESC | [
15307,
262,
2472,
9588,
416,
1123,
11078,
3128,
286,
4409,
11,
290,
3387,
9874,
262,
11078,
3128,
656,
262,
16061,
16654,
329,
4478,
257,
2318,
8262,
11,
905,
287,
31491,
416,
262,
575,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
35683,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
9588,
416,
1123,
11078,
3128,
286,
4409,
11,
290,
3387,
9874,
262,
11078,
3128,
656,
262,
16061,
16654,
329,
4478,
257,
2318,
8262,
11,
905,
287,
31491,
416,
262,
575,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
35683,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.