select * from :tablename: where id = :id: and server_id=:server_id:;