>
>
> assuming those two queries 1 and 2 return multiple rows, which rows of
> junk.wm_260_billables2 match up with what rows of public.ja_mobiusers ?
>
> your schema is very poorly defined. I think you need to take a class in
> relational database design and usage, or read a good book on it at least..
>
>
> the *CORRECT* SOLUTION WOULD BE MORE LIKE
yepp, full ack.
--
Andreas Kretschmer
http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services