There is a members table, it has username and email fields. It is necessary to fill in the username field with emails, in case it is empty
1 answer
update members set username = email where username = ''
- Is it possible to compare with
NULL?) - Sanek Zhitnik - @SanekZhitnik can be compared, but the result will not be the same. - teran
- The question does not say that the empty field contains exactly null. - Nikolay Torgov
- one
- @NikolayTorgov in the question is not said. but you yourself meinno with null, and do it wrong. - teran
|
updateinstructions andwhereconditions - teranIS NULL- Sanek Zhitnik