query cd