3 ms·SQL has CASE statements, if you’d really like to have all branching logic in pure SQL.by sgarland 1y agoSQL has CASE statements, if you’d really like to have all branching logic in pure SQL.