select - MySQL View check if data is NULL -
I must include a case in the selection to choose whether the data I am adding to my view is taped, In which case I want to enter it in zero or not.
Do you mean something like that? Select
if (`field 'is zero, 0,` field`) ...
There also "IFNULL ()":
select IFNULL (`field`, 0) ...
Comments
Post a Comment