Solution and walkthrough of leetcode database problem 627: Swap Salary. I'm using MySQL but this solution should work in any SQL dialect such as PostgreSQL SQL Server, etc. Link to the problem: leetcode.com/p...
Пікірлер: 5
@elainehe80552 жыл бұрын
the explanations are so clear!
@sandeepkv92243 жыл бұрын
Nice Explanation...
@mickyman7532 жыл бұрын
a interesting answer can be using xor # UPDATE salary # set sex=char(ASCII('m')^ASCII('f')^ASCII(sex)); although we might not remember ascii function function or char typecasting but can explain our approach to interviewer
@mohit48122 жыл бұрын
very good
@importantegg27063 жыл бұрын
I am sorry to say this .. I think your audio is little low.. By the way, Your explanation is good bro..