Skip to content

Instantly share code, notes, and snippets.

@edersqo
Last active April 3, 2018 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edersqo/889df77eb9afdcc33c4a299a9aebfabd to your computer and use it in GitHub Desktop.
Save edersqo/889df77eb9afdcc33c4a299a9aebfabd to your computer and use it in GitHub Desktop.
Get All Duplicated Prices in Oracle Commerce (DCS_PRICE; Switching Schema)
SELECT PRICE_LIST, SKU_ID, COUNT(*)
FROM WLM_PROD_CATA.DCS_PRICE
GROUP BY
PRICE_LIST, SKU_ID
HAVING
COUNT(*) > 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment