メニューの編集
SQL
日付(p_date)ごとに、合計金額(p_price)を表示させたい場合のSQLです
select p_date,sum("p_price") from payment_tbl group by p_date order by p_date desc;