select * from :table: where server_id = :server_id: and :id_name: = :id: