Tag archive
Commands grouped around the same concept, pattern, or recurring problem.
Delete every row in a table quickly with TRUNCATE TABLE, which is faster than DELETE with no WHERE clause.
Truncate a timestamp to the start of a month, day, or hour using engine-specific functions.