Invalid query: select a.*, pkey as cat_title from tbl_information9 a where a.isvalid = '1' and b.cate_id = '10' and (a.date1 is NULL or a.date1 <= '2024-04-29 03:10:29') and (a.date2 is NULL or a.date2 >= '2024-04-29 03:10:29') order by date1 desc limit 0,10
ERROR: Unknown column 'b.cate_id' in 'where clause'