pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ernest_it@hotmail.com
To: pgsql-sql@postgresql.org
Subject: create index
Date: 18 Nov 2002 22:44:05 -0800
Message-ID: <10d6eb7c.0211182244.ec57100@posting.google.com> (raw)

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!



view thread (4+ messages)  latest in thread

Message-ID: <10d6eb7c.0211182244.ec57100@posting.google.com>
Permalink:  ../10d6eb7c.0211182244.ec57100@posting.google.com/
Also on:    postgresql.org/message-id/10d6eb7c.0211182244.ec57100@posting.google.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ernest_it@hotmail.com
  Subject: Re: create index
  In-Reply-To: <10d6eb7c.0211182244.ec57100@posting.google.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox