select count(idx) as count from 02_01 where isdisable = 'N' order by regdate DESC

1046 : No database selected

error file : /home/index.php