POV-Ray : Newsgroups : povray.off-topic : Question for SQLers out there : Re: Question for SQLers out there Server Time
11 Oct 2024 03:15:21 EDT (-0400)
  Re: Question for SQLers out there  
From: Gail Shaw
Date: 12 Feb 2008 15:27:13
Message: <47b20121@news.povray.org>
"Tom Austin" <taustin> wrote in message news:47b1ff01$1@news.povray.org...

> will it work if you remove the '*'?
>
> SELECT tbl1.Col1, tbl2.col2 from tbl1, tbl2 WHERE tbl1.Col1 = tbl2.Col1
>

Sure. There's nothing in the syntax to say that's a join, not a where
condition. It's the older outer join syntax that was deprecated and now
doesn't work at all.

It's still recommended that joins be done in the from using the JOIN syntax.
Makes it harder to do an accidental cross join. (2 or more tables 'joined'
without a condition. Results in a cartesian product)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.