select * from budgets where budgets_date <= '2018-09-25 23:59:59' order by budgets_date desc limit 0,1
Table 'mygov_pharr_tx__pi.budgets' doesn't existSELECT cc.*, cccsc.*, csc.*, bc.amount FROM complaintscategories AS cc JOIN complaintscategories__complaintssubcategories AS cccsc ON cc.complaintscategoriesID = cccsc.complaintscategoriesID JOIN complaintssubcategories AS csc ON cccsc.complaintssubcategoriesID = csc.complaintssubcategoriesID LEFT JOIN budgets__categories AS bc ON bc.complaintscategoriesID = cc.complaintscategoriesID AND bc.budgetsID = 0 WHERE 1 AND (cc.complaintscategoriesID IN (SELECT rcc.complaintscategoriesID FROM reports__complaintscategories AS rcc WHERE rcc.reportsID = '15' ) OR csc.complaintssubcategoriesID IN (SELECT rcsc.complaintssubcategoriesID FROM reports__complaintssubcategories AS rcsc WHERE rcsc.reportsID = '15' ) ) ORDER BY cc.complaintscategories_title, csc.complaintssubcategories_title
Table 'mygov_pharr_tx__pi.complaintscategories' doesn't exist