No database selected
select tid,tbname,checkpl from ***_enewsclass where classid='589' limit 1