SQL Query for related entries based on tags

Can anyone help me out with a SQL query to pull related entries based on
tags?

ryan wrote:

Can anyone help me out with a SQL query to pull related entries based on
tags?

It doesn’t have to be straight SQL, I just mean how to do this in rails
(or just plain SQL is fine, too). Thanks!

ryan wrote:
> Can anyone help me out with a SQL query to pull related entries
based on
> tags?

Look at page 15 and 16 in
http://media.rubyonrails.org/presentations/pursuitofbeauty.pdf

Tags are well documented in the “Rails Recipes” book :
http://www.pragmaticprogrammer.com/titles/fr_rr/

Alain

Tags are well documented in the “Rails Recipes” book :

…, and this recipe is available for free as a book extract:

 http://media.pragprog.com/titles/fr_rr/Tagging.pdf

Alain