画像を受け入れ、画像を拒否し、画像を変更した単一のテーブルがあり、アクション列にはアクション 2 承認済み画像、アクション 3 - 拒否済み画像、アクション 4- 変更画像があります。「承認された画像」で実行できますが、拒否された画像にも別の列が必要です。しかし、それを得ることができません。私はmysqlを初めて使用します。助けてください。拒否された画像の別の列を取得するにはどうすればよいですか
select message, date(datetime) as dateonly ,count(message)
from customer_1.audit_trail where message in ('Accepted Images')
group by dateonly order by dateonly asc limit 100;
message, dateonly, count(message)
"Accepted Images",2007-08-07, 79
"Accepted Images",2007-08-08,52