My Query for today is that I wanted to set my MySQL value to zero whenever an empty string is saved. Is there a way to do this without using trigger? What I wanted is like this in the illustration
TABLE DATA MYSQL TABLE VALUE
name age years of experience --> name age yrs
John 23 --> John 23 0
0for that fieldIFNULL()example from the answer to correct already existing entires in your db