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で書く方法...where mytable.somedate from today is older that 30 days。私はdb2を使用しています。
...where mytable.somedate from today is older that 30 days
これはそれを行う必要があります:
SELECT * FROM mytable WHERE somedate < CURRENT_TIMESTAMP - 30 DAYS