<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Tags: Database schemas</title>
	<atom:link href="http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html</link>
	<description>Philipp Kellers weblog</description>
	<lastBuildDate>Wed, 18 Jan 2012 20:28:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Q~ro</title>
		<link>http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html/comment-page-3#comment-134446</link>
		<dc:creator>Q~ro</dc:creator>
		<pubDate>Wed, 18 Jan 2012 20:28:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html#comment-134446</guid>
		<description>WEll im trying to create a blog and this post seems really interesting, but how does one insert multiple tags ? i just dont see it, or how do i update the post and the tags?.</description>
		<content:encoded><![CDATA[<p>WEll im trying to create a blog and this post seems really interesting, but how does one insert multiple tags ? i just dont see it, or how do i update the post and the tags?.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Camila Carrión Arce</title>
		<link>http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html/comment-page-2#comment-134443</link>
		<dc:creator>Camila Carrión Arce</dc:creator>
		<pubDate>Mon, 19 Dec 2011 07:33:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html#comment-134443</guid>
		<description>Hi I am trying to preview articles from blogger on a separate site, where the most recent article would show up and could link to the blog itself. I have googled enough and read about rss. I can code html, xml etc. I would really appreciate any help.</description>
		<content:encoded><![CDATA[<p>Hi I am trying to preview articles from blogger on a separate site, where the most recent article would show up and could link to the blog itself. I have googled enough and read about rss. I can code html, xml etc. I would really appreciate any help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moklet</title>
		<link>http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html/comment-page-2#comment-134397</link>
		<dc:creator>Moklet</dc:creator>
		<pubDate>Sat, 23 Apr 2011 14:04:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html#comment-134397</guid>
		<description>I have visited this very informative post many times, I have used mainly the scuttle design without even knowing what its name was, but in some other more controled environments I used the toxi solution. For a structured (admin controled tag solution I would go for toxi, but for a any other solution I still consider scuttle a suitable one</description>
		<content:encoded><![CDATA[<p>I have visited this very informative post many times, I have used mainly the scuttle design without even knowing what its name was, but in some other more controled environments I used the toxi solution. For a structured (admin controled tag solution I would go for toxi, but for a any other solution I still consider scuttle a suitable one</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arjun</title>
		<link>http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html/comment-page-2#comment-134390</link>
		<dc:creator>arjun</dc:creator>
		<pubDate>Sun, 13 Mar 2011 02:55:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html#comment-134390</guid>
		<description>Does anyone know the database schema of any b2b online marketing websites (like indiamart.com,toocle.com,tradeindia.com)</description>
		<content:encoded><![CDATA[<p>Does anyone know the database schema of any b2b online marketing websites (like indiamart.com,toocle.com,tradeindia.com)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philipp Keller</title>
		<link>http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html/comment-page-2#comment-134378</link>
		<dc:creator>Philipp Keller</dc:creator>
		<pubDate>Thu, 17 Feb 2011 10:34:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html#comment-134378</guid>
		<description>@Dhiraj: I don&#039;t see any token &quot;item&quot; in your query - did you post the query you actually tried?</description>
		<content:encoded><![CDATA[<p>@Dhiraj: I don&#8217;t see any token &#8220;item&#8221; in your query &#8211; did you post the query you actually tried?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dhiraj</title>
		<link>http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html/comment-page-2#comment-134377</link>
		<dc:creator>Dhiraj</dc:creator>
		<pubDate>Thu, 17 Feb 2011 05:47:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html#comment-134377</guid>
		<description>In the intersection for toxi solution i got following error : what should i do 

Msg 8120, Level 16, State 1, Line 1
Column &#039;item.id&#039; is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause.

sql:
SELECT b.*
FROM tagmap bt, bookmark b, tag t
WHERE bt.tag_id = t.tag_id
AND (t.name IN (&#039;bookmark&#039;, &#039;webservice&#039;, &#039;semweb&#039;))
AND b.id = bt.bookmark_id
GROUP BY b.id
HAVING COUNT( b.id )=3</description>
		<content:encoded><![CDATA[<p>In the intersection for toxi solution i got following error : what should i do </p>
<p>Msg 8120, Level 16, State 1, Line 1<br />
Column &#8216;item.id&#8217; is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause.</p>
<p>sql:<br />
SELECT b.*<br />
FROM tagmap bt, bookmark b, tag t<br />
WHERE bt.tag_id = t.tag_id<br />
AND (t.name IN (&#8216;bookmark&#8217;, &#8216;webservice&#8217;, &#8217;semweb&#8217;))<br />
AND b.id = bt.bookmark_id<br />
GROUP BY b.id<br />
HAVING COUNT( b.id )=3</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: altin çilek form seti</title>
		<link>http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html/comment-page-2#comment-134366</link>
		<dc:creator>altin çilek form seti</dc:creator>
		<pubDate>Wed, 26 Jan 2011 17:40:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html#comment-134366</guid>
		<description>This is by far the best article on the world wide web that not only illustrates in clear concise language how to implement tags three different ways but also gives real world easy to follow examples and illustrations. My hat’s off to you sir. You deserve all the accolades endowed to you by your readers.</description>
		<content:encoded><![CDATA[<p>This is by far the best article on the world wide web that not only illustrates in clear concise language how to implement tags three different ways but also gives real world easy to follow examples and illustrations. My hat’s off to you sir. You deserve all the accolades endowed to you by your readers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philipp Keller</title>
		<link>http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html/comment-page-2#comment-133963</link>
		<dc:creator>Philipp Keller</dc:creator>
		<pubDate>Sat, 25 Dec 2010 12:09:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html#comment-133963</guid>
		<description>@Sam: Semweb = Semantic Web, Webservice see &lt;a href=&quot;http://en.wikipedia.org/wiki/Webservice&quot; rel=&quot;nofollow&quot;&gt;Wikipedia&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>@Sam: Semweb = Semantic Web, Webservice see <a href="http://en.wikipedia.org/wiki/Webservice" rel="nofollow">Wikipedia</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html/comment-page-2#comment-133929</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Wed, 22 Dec 2010 22:24:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html#comment-133929</guid>
		<description>What is &quot;semweb&quot; and &quot;webservice&quot;?</description>
		<content:encoded><![CDATA[<p>What is &#8220;semweb&#8221; and &#8220;webservice&#8221;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Macdonald</title>
		<link>http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html/comment-page-2#comment-133658</link>
		<dc:creator>Sean Macdonald</dc:creator>
		<pubDate>Fri, 06 Aug 2010 10:34:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html#comment-133658</guid>
		<description>What if The primary index on the Tags table was the tag itself? So it would look like this

Tags
----
Tag
PostID

Posts
----
PostID
Post

QUERY
-----
SELECT * FROM Posts WHERE PostID IN (SELECT PostID FROM Tags WHERE Tag = &#039;$tag1&#039; OR Tag = &#039;$tag2&#039;)</description>
		<content:encoded><![CDATA[<p>What if The primary index on the Tags table was the tag itself? So it would look like this</p>
<p>Tags<br />
&#8212;-<br />
Tag<br />
PostID</p>
<p>Posts<br />
&#8212;-<br />
PostID<br />
Post</p>
<p>QUERY<br />
&#8212;&#8211;<br />
SELECT * FROM Posts WHERE PostID IN (SELECT PostID FROM Tags WHERE Tag = &#8216;$tag1&#8242; OR Tag = &#8216;$tag2&#8242;)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

