79074722

Date: 2024-10-10 13:54:51
Score: 0.5
Natty:
Report link

I suggest using ARRAY_AGG and OFFSET. It concatenates the different Function values while OFFSET(0) picks the first element of the array.

SELECT 
   Email, 
   ARRAY_AGG(Function)[OFFSET(0)] as Function
FROM database
GROUP BY Email
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Antiez