Created
February 5, 2026 10:57
-
-
Save kocyusufcan/a9bc0f7f0fbcf8bb083a42c401c13879 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 film | |
| WHERE length > ( | |
| SELECT AVG(length) | |
| FROM film | |
| ); | |
| SELECT COUNT(*) | |
| FROM film | |
| WHERE rental_rate = ( | |
| SELECT MAX(rental_rate) | |
| FROM film | |
| ); | |
| SELECT * FROM film | |
| WHERE rental_rate = (SELECT MIN(rental_rate) FROM film) | |
| AND replacement_cost = (SELECT MIN(replacement_cost) FROM film); | |
| SELECT customer_id, COUNT(*) AS alisveris_sayisi | |
| FROM payment | |
| GROUP BY customer_id | |
| ORDER BY alisveris_sayisi DESC; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment