Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
任何人对将更改一组过滤行的时间字段的 SQL 语句有任何建议吗?
我有大约 1500 行有一个时间列。我需要从具有特定用户 ID 的每一行中减去 4 分钟...
建议?
如果该列是一种TIME类型,则该ADDTIME函数将起作用。只需使用负数“小时:分钟”:
TIME
ADDTIME
ADDTIME(my_column, '-0:04')