Re: [GENERAL] Help with this query (some join stuff I think)

2007-08-20 Thread Carlos Ortíz
s E. Ortiz De: [EMAIL PROTECTED] en nombre de Pat Maddox Enviado el: Jue 16/08/2007 02:59 p.m. Para: pgsql-general@postgresql.org Asunto: [GENERAL] Help with this query (some join stuff I think) I've got a bunch of companies that are associated with several videos. The videos

Re: [GENERAL] Help with this query (some join stuff I think)

2007-08-20 Thread Albe Laurenz
Pat Maddox wrote: > I've got a bunch of companies that are associated with several videos. > The videos have different statuses. I want to select all the > companies in the database, and order them by videos that have a > complete status. > > Here's what I have so far > > SELECT > companies.i

[GENERAL] Help with this query (some join stuff I think)

2007-08-17 Thread Pat Maddox
I've got a bunch of companies that are associated with several videos. The videos have different statuses. I want to select all the companies in the database, and order them by videos that have a complete status. Here's what I have so far SELECT companies.id, companies.name, companies.nic