我想创建一个删除特定ID的特定时间戳的行,我使用MariaDB并且havn'ut想出了如何。
X = some hour maybe 2 hours
TIMESTAMP = name of the table
Y = user id
我想要的是:
从TIMESTAMP中移除X小时数,其中id为Y
my timestamp format is not date it's like = 1414254628
below is on same table.
timestamp = 1414254628
timestamp2 = 1413646379
希望得到帮助,谢谢!
对于代码块感到抱歉但是我在发布这个帖子时遇到了错误,所以我不得不让它们看起来像代码