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