Last active
April 3, 2018 13:56
-
-
Save edersqo/aa6e24ee6ed4c3e761d8aee956d6e24e to your computer and use it in GitHub Desktop.
Count the number of duplicated items in Oracle Commerce (DCS_PRICE; Switching Schemas)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT COUNT(*) | |
FROM | |
( | |
SELECT PRICE_LIST, SKU_ID, COUNT(*) | |
FROM WLM_PROD_CATA.DCS_PRICE | |
GROUP BY | |
PRICE_LIST, SKU_ID | |
HAVING | |
COUNT(*) > 1 | |
) DERIVED_TABLE; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment