Answers for "how to delete null values in mysql"

SQL
0

how to delete the rows with null values in mysql

DELETE FROM user WHERE username IS NULL;

To Delete the Rows with the Null values if present in any specific Columns.
Posted by: Guest on December-17-2021
0

mysql on delete set null

FOREIGN KEY (child_col1, child_col2, ... child_col_n)
    REFERENCES parent_table (parent_col1, parent_col2, ... parent_col_n)
    ON DELETE SET NULL
    [ ON UPDATE { NO ACTION | CASCADE | SET NULL | SET DEFAULT } ]
Posted by: Guest on December-03-2020

Code answers related to "how to delete null values in mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language