You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECTs.uniquename,
MAX(IIF (s.uniquename='xxx', COALESCE (sc.componenttype, -1), NULL)) AS [aggregation]
FROM solution AS s
INNER JOIN
solutioncomponent AS sc
ONs.solutionid=sc.solutionidGROUP BYs.uniquename;
When I run this SQL I get the below error:
Msg 102, Level 15, State 1, Line 1
Incorrect syntax near 'COALESCE (sc.componenttype, -1)'.
Msg 102, Level 15, State 1, Line 1
Incorrect syntax near 'COALESCE (sc.componenttype, -1)'.
The text was updated successfully, but these errors were encountered:
When I run this SQL I get the below error:
The text was updated successfully, but these errors were encountered: