<?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>Beckdoor.de &#187; MySql</title>
	<atom:link href="http://beckdoor.de/tag/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://beckdoor.de</link>
	<description>Über Entwicklung von Software und Menschen in Projekten</description>
	<lastBuildDate>Fri, 25 Nov 2011 13:39:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>MySQL: Mit GROUP_CONCAT Zeilen in Spalten transponieren</title>
		<link>http://beckdoor.de/mysql-mit-group_concat-zeilen-in-spalten-transponieren/04/11/2009/</link>
		<comments>http://beckdoor.de/mysql-mit-group_concat-zeilen-in-spalten-transponieren/04/11/2009/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 13:34:08 +0000</pubDate>
		<dc:creator>Kai</dc:creator>
				<category><![CDATA[Allgemeines]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://beckdoor.de/wpress/?p=55</guid>
		<description><![CDATA[SELECT &#8230; GROUP_CONCAT(expr) verknüpft die Felder, die bei der Gruppierung zeilenweise im Zwischenergebnis vorliegen hintereinander standardmäßig mit einem Komma (,) als Trennzeichen.
Beispiel:

SELECT
posts.subject,
posts.body,
GROUP_CONCAT(tags.tagname)
FROM
posts,
tags
WHERE
posts.id = tags.post_id
GROUP BY
posts.id

Ergebnis:

&#34;Post1Titel&#34;   &#34;Post1Body&#34;   &#34;grün,gelb&#34;
&#34;Post2Titel&#34;   &#34;Post2Body&#34;   &#34;blau,rot, weiss&#34;

statt wie sonst ohne Gruppierung:

&#34;Post1Titel&#34;   &#34;Post1Body&#34;   &#34;grün&#34;
&#34;Post1Titel&#34;   &#34;Post1Body&#34;   &#34;gelb&#34;
&#34;Post2Titel&#34;   &#34;Post2Body&#34;   &#34;blau&#34;
...

]]></description>
			<content:encoded><![CDATA[<p>SELECT &#8230; GROUP_CONCAT(expr) verknüpft die Felder, die bei der Gruppierung zeilenweise im Zwischenergebnis vorliegen hintereinander standardmäßig mit einem Komma (,) als Trennzeichen.</p>
<p><strong>Beispiel:</strong></p>
<pre class="brush: sql; gutter: false;">
SELECT
posts.subject,
posts.body,
GROUP_CONCAT(tags.tagname)
FROM
posts,
tags
WHERE
posts.id = tags.post_id
GROUP BY
posts.id
</pre>
<p><strong>Ergebnis:</strong></p>
<pre class="brush: plain; gutter: false;">
&quot;Post1Titel&quot;   &quot;Post1Body&quot;   &quot;grün,gelb&quot;
&quot;Post2Titel&quot;   &quot;Post2Body&quot;   &quot;blau,rot, weiss&quot;

statt wie sonst ohne Gruppierung:

&quot;Post1Titel&quot;   &quot;Post1Body&quot;   &quot;grün&quot;
&quot;Post1Titel&quot;   &quot;Post1Body&quot;   &quot;gelb&quot;
&quot;Post2Titel&quot;   &quot;Post2Body&quot;   &quot;blau&quot;
...
</pre>
]]></content:encoded>
			<wfw:commentRss>http://beckdoor.de/mysql-mit-group_concat-zeilen-in-spalten-transponieren/04/11/2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL: Mit SELECT &#8230; INTO OUTFILE Daten in (csv) Dateien speichern</title>
		<link>http://beckdoor.de/mysql-mit-select-into-outfile-daten-in-csv-dateien-speichern/04/11/2009/</link>
		<comments>http://beckdoor.de/mysql-mit-select-into-outfile-daten-in-csv-dateien-speichern/04/11/2009/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 13:20:02 +0000</pubDate>
		<dc:creator>Kai</dc:creator>
				<category><![CDATA[Allgemeines]]></category>
		<category><![CDATA[csv]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://beckdoor.de/wpress/?p=53</guid>
		<description><![CDATA[Beispiel:

SELECT
id,  name
INTO OUTFILE &#34;d:\\temp\\exportnamen.csv&#34;
FIELDS TERMINATED BY ',' ENCLOSED BY '&#34;' ESCAPED BY '\\'
LINES TERMINATED BY '\r\n'
FROM `namentabelle`
WHERE
1

]]></description>
			<content:encoded><![CDATA[<p>Beispiel:</p>
<pre class="brush: sql; gutter: false;">
SELECT
id,  name
INTO OUTFILE &quot;d:\\temp\\exportnamen.csv&quot;
FIELDS TERMINATED BY ',' ENCLOSED BY '&quot;' ESCAPED BY '\\'
LINES TERMINATED BY '\r\n'
FROM `namentabelle`
WHERE
1
</pre>
]]></content:encoded>
			<wfw:commentRss>http://beckdoor.de/mysql-mit-select-into-outfile-daten-in-csv-dateien-speichern/04/11/2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

