私のデータベースにはdate
、ユーザーがテーブルにデータを追加した日付を格納する列の 1 つとして 1 つのテーブルがあります。
今月だけのデータを取得したいと思います。Google で検索しましたが、適切な回答が得られませんでした。
私のテーブル作成コード:
"create table incomexpense(
_id integer primary key autoincrement,
"+"price text not null,description text not null,
"+"quantity text not null,
"+"total text not null,
"+"category text not null,
"+"recurrence text not null,
"+"date text not null,
"+"groups text not null,
"+" recurrenceid text not null);";
現在の日付から7日目の日付を取得する方法を教えてください。