Hi i have a problem i cannot find a way to solve my problem:
I want to delete for each accountNumber older Data then X Days how is this possible ?
Best regards
Hi i have a problem i cannot find a way to solve my problem:
I want to delete for each accountNumber older Data then X Days how is this possible ?
Best regards
Does this do what you want?
delete t from t
where date < curdate() - interval X day;
If not, please provide more information in your question.