|
![](/i/fill.gif) |
Warp wrote:
> Problem: Can you write an SQL statement which solves the "six degrees of
> Kevin Bacon" relationship between any two given actors?
This is basically representing trees in SQL. And it's easy to google for. ;-)
You can do it, but I think you need a new query for each degree, which you
can cache in a table if you like.
--
Darren New, San Diego CA, USA (PST)
Eiffel - The language that lets you specify exactly
that the code does what you think it does, even if
it doesn't do what you wanted.
Post a reply to this message
|
![](/i/fill.gif) |