﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SQL Server Not In Kullanımı &#8211; SQL Server Eğitimleri</title>
	<atom:link href="https://sqlserveregitimleri.com/etiket/sql-server-not-in-kullanimi/feed" rel="self" type="application/rss+xml" />
	<link>https://sqlserveregitimleri.com</link>
	<description>SQL Server ile ilgili her şey</description>
	<lastBuildDate>Mon, 26 Mar 2018 13:42:05 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.1</generator>
	<item>
		<title>SQL Server Not In</title>
		<link>https://sqlserveregitimleri.com/sql-server-not-in</link>
		
		<dc:creator><![CDATA[Yavuz Selim Kart]]></dc:creator>
		<pubDate>Mon, 26 Mar 2018 13:42:05 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Not In]]></category>
		<category><![CDATA[SQL Server Not In Kullanımı]]></category>
		<category><![CDATA[SQL Server'da Not In]]></category>
		<guid isPermaLink="false">http://sqlserveregitimleri.com/?p=5191</guid>

					<description><![CDATA[Bu yazıda SQL Server&#8217;da Not In kullanımından bahsedeceğim. SQL Server&#8217;da Not In operatörü tablo içerisinde belirtilen verilerden içermeyenleri getiren bir operatördür. Subquery&#8217;ler ile de kullanılır....]]></description>
										<content:encoded><![CDATA[<p>Bu yazıda SQL Server&#8217;da Not In kullanımından bahsedeceğim.</p>
<p>SQL Server&#8217;da Not In operatörü tablo içerisinde belirtilen verilerden içermeyenleri getiren bir operatördür. Subquery&#8217;ler ile de kullanılır. Örnek kullanımı Northwind veritabanını kullanarak inceleyelim.</p>
<pre class="lang:default decode:true ">SELECT  CategoryID ,
        CategoryName
FROM    dbo.Categories
WHERE   CategoryID NOT IN ( 4, 5, 8 )
</pre>
<p>Burada 4, 5, 8 içermeyen kayıtları bize getirecektir.</p>
<p>Subquery şeklinde kullanımını ise aşağıda görmektesiniz.</p>
<pre class="lang:default decode:true ">SELECT  *
FROM    dbo.Products
WHERE   CategoryID NOT IN ( SELECT  CategoryID
                        FROM    dbo.Categories
                        WHERE   CategoryName = 'Condiments' )
</pre>
<p>İlk select sorgumuzda where şartına KategoriID değerini yazıyoruz sonrasında bu tablo ile ilişkili başka bir tabloya select sorgusu yaparak KategoriAdi değeri Condiments olanları çekiyoruz. Dikkat edilmesi gereken nokra parantez içindeki sorguyu yazarken KategoriID değerini unutmamamız gerektiği. Genel olarak Not In kullanımı bu şekildedir.</p>
<p>Herkese çalışma hayatında ve yaşamında başarılar kolaylıklar.</p>
<div class='epvc-post-count'><span class='epvc-eye'></span>  <span class="epvc-count"> 918</span><span class='epvc-label'> Kez Okundu</span></div>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
