Use db_select method to handle table prefix