I have two tables and I need to create a view. The tables are:
credit_orders(id, client_id, number_of_credits, payment_status) credit_usage(id, client_id, cr
As per documentation:
MySQL Docs
Your workaround would be to create a view for each of your subqueries.
Then access those views from within your view view_credit_status
view_credit_status