Answers for "mysql updated at column"

SQL
0

created at and updated at in mysql

ALTER TABLE t1
ADD COLUMN created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
ADD COLUMN updated_at DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP;
Posted by: Guest on May-28-2021
0

Update information in a mysql column

UPDATE employees 
SET 
    email = '[email protected]'
WHERE
    employeeNumber = 1056;Code language: SQL (Structured Query Language) (sql)
Posted by: Guest on August-18-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language