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