How do I delete all rows that have a field called A that are blank.
Lets say I have a table that looks like the following.
|ID |A |B |C
|1 |Data|Data|Data
|2 | |Data|Data
|3 |Data| |Data
|4 | | |
So in the above example row 2 and 4 would be removed because there isn't anything stored in them?
How can I do this I'm doing I'm thinking something along the lines of the following.
Okay setup another table and tried the following.
DELETE FROM `table` WHERE `A`= ''
Is that that correct?
UPDATE
Okay setup another table and tried the following.
DELETE FROM `table` WHERE `A`= ''
Works as expected. I didn't want to do it a good table in case I borked anything