create index

From: ernest_it(at)hotmail(dot)com (ernest_it(at)hotmail(dot)com)
To: pgsql-sql(at)postgresql(dot)org
Subject: create index
Date: 2002-11-19 06:44:05
Message-ID: 10d6eb7c.0211182244.ec57100@posting.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

i don't know how to create the index about the following statement.

SELECT b.screen_id AS screen_id, b.name AS screen_name
FROM tbl_showlog AS a CROSS JOIN
tbl_screen AS b CROSS JOIN
tbl_company AS c
WHERE a.screen_id = b.screen_id
AND b.company_id = c.company_id
AND c.company_id = 1
AND c.is_active = 1
GROUP BY b.screen_id, b.name
ORDER BY b.screen_id

many thx!

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message sun yu 2002-11-19 08:09:55
Previous Message Tom Lane 2002-11-19 05:56:41 Re: Problems invoking psql. Help please.