0578. Get Highest Answer Rate Question
Description
**Input:**
+------+-----------+--------------+------------+-----------+------------+
| id | action | question\_id | answer\_id | q\_num | timestamp |
+------+-----------+--------------+------------+-----------+------------+
| 5 | show | 285 | null | 1 | 123 |
| 5 | answer | 285 | 124124 | 1 | 124 |
| 5 | show | 369 | null | 2 | 125 |
| 5 | skip | 369 | null | 2 | 126 |
+------+-----------+--------------+------------+-----------+------------+
**Output:**
+-------------+
| survey\_log |
+-------------+
| 285 |
+-------------+
**Explanation:**
question 285 has answer rate 1/1, while question 369 has 0/1 answer rate, so output 285.ac
Last updated