<?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>Made in Software &#187; in</title>
	<atom:link href="http://www.madeinsoftware.it/index.php/tag/in/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.madeinsoftware.it</link>
	<description>In un mondo fatto di software, consigli pratici per gli sviluppatori</description>
	<lastBuildDate>Mon, 26 Jul 2010 09:17:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Selezionare dati da un insieme: Select e In</title>
		<link>http://www.madeinsoftware.it/index.php/2009/05/15/selezionare-dati-da-un-insieme-select-e-in/</link>
		<comments>http://www.madeinsoftware.it/index.php/2009/05/15/selezionare-dati-da-un-insieme-select-e-in/#comments</comments>
		<pubDate>Fri, 15 May 2009 14:00:04 +0000</pubDate>
		<dc:creator>dinox</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[in]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[select]]></category>

		<guid isPermaLink="false">http://www.madeinsoftware.it/?p=71</guid>
		<description><![CDATA[Come selezionare i dati da una tabella con criteri corrispondenti ad un insieme di valori. Clausole Select, From, Where e In]]></description>
			<content:encoded><![CDATA[<p>Se avete la necessità di selezionare i dati da una tabella secondo un criterio che prevede che il valore di un campo sia fra quelli contenuti in un insieme potete usare la clausola &#8220;in&#8221;.  Ad esempio:</p>
<p><code>select * from tabella where campo in (valori_che_campo_può_assumere)</code></p>
<p>Supponendo che campo sia un intero, questa è una possibile query:</p>
<p><code>select * from tabella where campo in (1, 2, 4, 8, 9)</code></p>
<p>Il belle è che questa cosa può essere utilizzando anche con i valori restituiti da un&#8217;altra query di selezione, come nel caso seguente:</p>
<p><code>select * from tabella where campo in (select campo_1 from tabella_1 where campo_2 = valore)</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.madeinsoftware.it/index.php/2009/05/15/selezionare-dati-da-un-insieme-select-e-in/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
