-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathsession-1.sql
More file actions
26 lines (19 loc) · 755 Bytes
/
session-1.sql
File metadata and controls
26 lines (19 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*===================================================
SELECT
===================================================*/
/* tracks tablosundaki track isimlerini (name) sorgulayınız */
SELECT name FROM tracks;
/* tracks tablosundaki besteci(Composer) ve şarkı
imlerini (name) sorgulayınız*/
SELECT Composer,name FROM tracks;
/*album tablosundaki tüm bilgileri sorgulayınız*/
select * from albums;
/*===================================================
DISTINCT
===================================================4*/
/*tracks tablosundaki composer bilgileri sorgulayınız
(TEKRARLI OLABİLİR)*/
SELECT Composer FROM tracks;
/*tracks tablosundaki composer bilgileri sorgulayınız
TEKRARSIZ) */
select DISTINCT Composer from tracks;