Database: talkingdata
Question: Calculate the percentage of male users among all device users.
SQL: SELECT SUM(IIF(gender = 'M', 1, 0)) / COUNT(device_id) AS per FROM gender_age