I want to make the two sql statement as one.
First one shows total order placed daily and second one shows only the count of orders having staff as action text daily.
select date(dated) date_ord, count(*) as orders_placed
from stats.sales_actions
group by date_ord
order by dated desc
select date(dated) date_order, count(*) as orders_modified
from stats.sales_actions
where action_text LIKE '%STAFF%'
group by date_ord
order by dated desc
I want to show in one table/sql query if possible.
This shows both values on one row. If you like it in 2 lines, just use union between the queries.