[1047]WSREP has not yet prepared node for application use select R1.date as count_date,R1.view_count,R2.* from (select * from most_view_node where most_view_type='W' and date between date_add(date_sub(date('2022-09-29'),INTERVAL 1 WEEK),INTERVAL 1 DAY) and date('2022-09-29') order by date desc) R1 left join node R2 on R2.nid=R1.nid order by R1.date DESC,R1.view_count DESC limit 0,5