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

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -