-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathodev_2.sql
More file actions
13 lines (12 loc) · 843 Bytes
/
odev_2.sql
File metadata and controls
13 lines (12 loc) · 843 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
--film tablosunda bulunan tüm sütunlardaki verileri replacement cost değeri 12.99 dan büyük eşit ve 16.99 küçük olma koşuluyla sıralayınız ( BETWEEN - AND yapısını kullanınız.)
select*
from film
where replacement_cost between 12.99 and 16.99;
--.actor tablosunda bulunan first_name ve last_name sütunlardaki verileri first_name 'Penelope' veya 'Nick' veya 'Ed' değerleri olması koşuluyla sıralayınız. ( IN operatörünü kullanınız.)
select first_name,last_name
from actor
where first_name in ('Penelope','Nick','Ed');
--film tablosunda bulunan tüm sütunlardaki verileri rental_rate 0.99, 2.99, 4.99 VE replacement_cost 12.99, 15.99, 28.99 olma koşullarıyla sıralayınız. ( IN operatörünü kullanınız.)
select*
from film
where rental_rate in(0.99,2.99,4.99) and replacement_cost in (12.99, 15.99, 28.99);