How do I update NULL values in a field in MySQL?
Answers
Answered by
0
To select rows in a MySQL table according to columns with NULL value, use IS NULL. Example: $sql = "SELECT * FROM `table_name` WHERE `column` IS NULL"; If you want to Not return the rows with a specific NULL field, use IS NOT NULL.
Similar questions
Social Sciences,
6 months ago
Math,
6 months ago
Biology,
6 months ago
Computer Science,
11 months ago
Physics,
11 months ago
Science,
1 year ago
Biology,
1 year ago
Science,
1 year ago