If Else Logice | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

If Else Logice

How to use if else logic within a where clase

11th Aug 2019, 4:25 PM
Jhonny Sanchez
Jhonny Sanchez - avatar
1 Answer
0
Please, try to spell things right, it's easy to decipher. In SQL with the WHERE statement, there is no else clause needed. Just think about it. You select them if it's true, but you don't need anything if it's false.
11th Aug 2019, 4:35 PM
Airree
Airree - avatar