Question · SQL and MySQL course · Module 4: Creating tables (DDL)
Type for a date with time
Which type will you use to store the moment of an event together with the time, e.g. 2024-03-15 14:30:00?
Answer options
- DATE
- INT
- VARCHAR(20)
- DATETIME
You can check the correct answer by solving this task in the CodeWorlds game.