Created
November 28, 2020 20:55
-
-
Save elkhan/76491dbf646ad5757cd6eb30263c0cc3 to your computer and use it in GitHub Desktop.
UdemySQLbootcamp
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(amount) FROM payment WHERE amount > 5.00; | |
SELECT COUNT(*) FROM payment WHERE amount > 5.00; | |
SELECT COUNT(*) FROM actor WHERE first_name LIKE 'P%'; | |
SELECT DISTINCT(COUNT(district)) FROM address; | |
SELECT DISTINCT(district) FROM address; | |
SELECT COUNT(*) FROM film WHERE rating = 'R' AND replacement_cost BETWEEN 5 AND 15; | |
SELECT COUNT(*) FROM film WHERE title LIKE '%Truman%'; | |
SELECT title FROM film WHERE title LIKE '%Truman%'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment