Sql How Does Preparedstatement.executequery Work?