View Single Post

   
  #3 (permalink)  
Old 04-09-2008, 05:39 AM
Bruno Wolff III
 
Posts: n/a
Default Re: Help with a subselect inside a view

On Wed, Aug 24, 2005 at 23:12:17 -0700,
Bill Moseley <moseley@hank.org> wrote:
> I need a little SQL help:
>
> I'm trying to get a subselect working inside a view.


Unfortunately you didn't show us what you tried. My guess would be that
you didn't enclose the subselect in parenthesis.

The distinct on solution that was suggested is probably a better way to
go anyway.

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Reply With Quote