In an MS-Access database with Table called NewTable3
can i combine these 3 sql queries into one query
UPDATE NewTable3 SET SAO = '0' WHERE SAO LIKE '-';
UPDATE NewTable3 SET SAO = '0' WHERE SAO LIKE 'NULL';
UPDATE NewTable3 SET SAO = '0' WHERE SAO LIKE 'NA';
What about using
OR?You can learn more about using
ANDandORin SQL queries here.The original question included the condition
WAP LIKE 'NULL'. The correct notation isWAP IS NULL” and notWAP LIKE 'NULL'; Null isn’t the textNULLbut a special, none-textual value.