Created
September 4, 2022 13:28
-
-
Save gmyrianthous/2ce5f901a9c189929dd4f594c67339a0 to your computer and use it in GitHub Desktop.
Select distinct customers and stores
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 DISTINCT customer_id, store_id | |
FROM rental_example; | |
/* | |
|customer_id|store_id| | |
|-----------|--------| | |
| 100 | 4 | | |
| 100 | 6 | | |
| 58 | 2 | | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment