<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sefa Miraç on Medium]]></title>
        <description><![CDATA[Stories by Sefa Miraç on Medium]]></description>
        <link>https://medium.com/@sefam975?source=rss-c1ee0e8b092d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Fpeohv-iERmD78dF</url>
            <title>Stories by Sefa Miraç on Medium</title>
            <link>https://medium.com/@sefam975?source=rss-c1ee0e8b092d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 11:13:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sefam975/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Veritabanlarında Joinler]]></title>
            <link>https://medium.com/@sefam975/veritabanlar%C4%B1nda-joinler-1e84f60e9437?source=rss-c1ee0e8b092d------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e84f60e9437</guid>
            <dc:creator><![CDATA[Sefa Miraç]]></dc:creator>
            <pubDate>Mon, 13 Apr 2026 20:11:10 GMT</pubDate>
            <atom:updated>2026-04-13T20:11:10.157Z</atom:updated>
            <content:encoded><![CDATA[<p>Birleştirme (Join) işlemi ortak sütuna saip tablolar üzerinde gerçekleştirilir.</p><p>Kısaca; farklı tablolar üzerindeki verilerin birleştirilerek gösterilmesidir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*fXAkX08wUhycuqxEiyVYvA.png" /></figure><h3>1-CROSS JOIN</h3><p>İki veya daha fazla tablonun herhangi bir şart belirtilmeden kartezyen çarpımını gerçekleştirir</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/380/1*-ZwJW31dr9Uz8xnx3szRjA.png" /></figure><pre>SELECT * FROM T1 CROSS JOIN T2;</pre><p>Her öğrenci dersleri almak zorunda olması durumu</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*IgBjcfZ5PnS1wRh7M--tiQ.png" /></figure><pre>SELECT * FROM dersler CROSS JOIN ogrenci;</pre><p>lde edilen sonuç tabloların kartezyen çarpımıdır.</p><h3>2-INNER JOIN</h3><p>İki tablonun belirlenen şartı sağlayan bütün satırları birleştirilir ve listelenir.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/326/1*CwFrc8hyK4kNwe4-iCax0A.png" /></figure><pre>SELECT * FROM dersler d INNER JOIN ogrenci o ON o.ogrencino=d.ogrencino;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*zOBD8SLwDhIWiVTRHZ6MKA.png" /></figure><h3>3-LEFT JOIN</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/371/1*vr0yAUp2TuE34QoObESx_Q.png" /></figure><p>Tablo1´in her satırından birer tane bulunur ,</p><p>Tablo2´nin belirtilen şarta uymayan değerleri yerine NULL eklenir.</p><pre>SELECT * FROM dersler d LEFT JOIN ogrenci o ON o.ogrencino=d.ogrencino;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*X6Hs6CuiRrhCytP-YihhBA.png" /></figure><h3>4-RIGHT JOIN</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/291/1*qKX9QRF3ZoNMiblmLoLPPg.png" /></figure><p>Tablo2´nin her satırından birer tane bulunur.</p><p>Tablo1´de belirtilen şarta uymayan değerlerin yerine NULL eklenir.</p><pre>SELECT * FROM ogrenci o RIGHT JOIN dersler d ON o.ogrencino=d.ogrencino;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*j2s8k0OWVkVvX-mI9HORuw.png" /></figure><h3>5-FULL JOIN</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/262/1*iwe-nOiAejPdPCR0fN7VxQ.png" /></figure><p>Tabloların (Tablo1 ve Tablo2) her satırından birer tane bulunur.</p><p>Belirtilen şarta uymayan değerlerin yerine iki tablo içinde NULL eklenir.</p><pre>SELECT * FROM dersler d FULL JOIN ogrenci o ON o.ogrencino=d.ogrencino;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*pXMvGruCL0HUuIiG9ciECw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e84f60e9437" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Veritabanlarında View]]></title>
            <link>https://medium.com/@sefam975/veritabanlar%C4%B1nda-view-fb9b725844ba?source=rss-c1ee0e8b092d------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb9b725844ba</guid>
            <dc:creator><![CDATA[Sefa Miraç]]></dc:creator>
            <pubDate>Tue, 24 Mar 2026 20:46:50 GMT</pubDate>
            <atom:updated>2026-03-24T20:46:50.020Z</atom:updated>
            <content:encoded><![CDATA[<ul><li>View isimlendirilen bir sorgu gibidir.</li><li>Çok sık kullanılan karmaşık sorgular için view oluşturulabilir.</li><li>İsimlendirilen sorgu gibi düşünülebilir.</li><li>Veritabanına kaydedilen bir sorgu nesnesidir.</li><li>Veri kaydetmez.</li><li>View ile verinin sadece istenilen kısımları sunulabilir.</li></ul><pre>CREATE VIEW young_users AS<br>SELECT name,age<br>FROM users<br>WHERE age&lt;40;</pre><p><strong>Kullanımı</strong>:</p><pre>SELECT* FROM  young_users;</pre><p><strong>View i düzenleme:</strong></p><pre>ALTER VIEW young_users<br>RENAME TO genc_kullanicilar;</pre><p><strong>View i silme (DROP):</strong></p><pre>DROP VIEW IF EXISTS genc_kullanicilar;</pre><p><strong>MATERIALIZED VIEW Nedir?</strong></p><p>Materialized view, view dan farklı olarak sorgu sonucunu tutar.</p><ul><li>Veriyi fiziksel olarak saklar.</li><li>Çağrıldığında tablolarla uğraşmaz kayıtlı veriyi diskten getirir.</li><li>Tablodaki veri değişirse materialized view otomatik güncellnmez,belirli aralıklarla <strong><em>Refresh </em></strong>etmek gereklidir.</li></ul><p><strong>REFRESH MATERIALIZED VIEW view_adi;</strong></p><p>şeklinde yazılrak <em>Refresh </em>yapılır, başına REFRESH yazılması yeterlidir.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb9b725844ba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PostgreSQL Temel Sorgular]]></title>
            <link>https://medium.com/@sefam975/postgresql-temel-sorgular-0ac18ed2686d?source=rss-c1ee0e8b092d------2</link>
            <guid isPermaLink="false">https://medium.com/p/0ac18ed2686d</guid>
            <dc:creator><![CDATA[Sefa Miraç]]></dc:creator>
            <pubDate>Mon, 23 Mar 2026 21:30:50 GMT</pubDate>
            <atom:updated>2026-03-23T21:30:50.063Z</atom:updated>
            <content:encoded><![CDATA[<p>Günümüzde verilerin saklanması ve yönetilmesi büyük önem taşımaktadır. Bu noktada veritabanı sistemleri devreye girer. SQL (Structured Query Language), veritabanları ile iletişim kurmak için kullanılan bir dildir.SQL sayesinde verileri ekleyebilir, silebilir, güncelleyebilir ve sorgulayabiliriz. En yaygın kullanılan veritabanı sistemleri arasında MySQL, PostgreSQL ve SQL Server bulunmaktadır.</p><p>SQL komutları temel olarak dört ana gruba ayrılır:</p><p><strong><em>SELECT</em></strong>: <em>Veri çekme için kullanılır.</em></p><p><strong><em>INSERT: </em></strong><em>Veri ekleme için kullanılır.</em></p><p><strong><em>UPDATE</em></strong><em>: Mevcut veriyi güncelleme için kullanılır.</em></p><p><strong><em>DELETE</em></strong>: <em>Veri silmede kullanılır.</em></p><p>Örnek SQL sorgusu:</p><p><strong>1-Veri Okuma(SELECT):</strong></p><pre>SELECT * FROM users;</pre><p>Bu sorgu, users tablosundaki tüm verileri getirir.</p><p><strong>2-Veri Ekleme(INSERT):</strong></p><pre>INSERT INTO users (name,age,password) Values(&#39;Sefa&#39;,22,4567);</pre><p>Bu users tablosuna veri ekler.</p><p><strong>3-Veri Güncelleme(UPDATE):</strong></p><pre>UPDATE users SET age=26 WHERE name=&#39;Sefa&#39;;</pre><p>age değerini 26 yapar, WHERE filtresi ile Sefa adındaki kullanıcının age(yaş) bilgisini günceller.</p><p><strong>4-Veri Silme(DELETE):</strong></p><pre>DELETE FROM users WHERE name=&#39;Sefa&#39;;</pre><p>Sefa adındaki kullanıcıyı siler.</p><p><strong>WHERE</strong>: belirlenen değere göre filtreleme yapar(süzgeç mantığı),</p><p>SELECT ad,yas FROM ogrenci WHERE ogrencino=998;</p><p><strong>ORDER BY: </strong>verileri belirli bir sütuna göre sıralamak için kullanılır.</p><p>SELECT * FROM ogrenci ORDER BY yas DESC;</p><p><strong>HAVING: </strong>GROUP BY komutu ile birlikte kullanılır,gruplanmış veriler üzerinde filtreleme yapmaya yarar.</p><p>SELECT o.yas,</p><p>COUNT(o.yas) as Toplam</p><p>FROM ogrenci o</p><p>GROUP BY o.yas</p><p>HAVING o.yas&gt;19</p><p>ORDER BY Toplam;</p><h3>Tablo Oluşturma:</h3><p>CREATE TABLE ogrenci(</p><p>ogrencino INT PRIMARY KEY,</p><p>ad VARCHAR(20),</p><p>soyad VARCHAR(20);</p><p>yas INT</p><p>);</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0ac18ed2686d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>