pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: postgresql <pgsql@symcom.com>
To: PgSQL-SQL <pgsql-sql@postgresql.org>
Date: Thu, 06 Sep 2001 13:11:30 -0400
Message-ID: <200109061705.f86H5m734314@postgresql.org> (raw)

I am basically self taught with sql. I find that I keep re-reading the 
postgresql tutorials tryin to add a little more to my understanding. 

so my question is... Is this the best way to word this querry?
I have two tables, fc_client_info and fc_communication. I keep reading 
the section on JOINs and wonder if I should querry this differently. for 
some reason I have been shying away from JOINs (I haven't figures them 
out).

SELECT i.cname FROM fc_client_info i, fc_communication c WHERE i.acode = 
c.acode AND c.contactdate = '09/06/2001' ORDER BY lower(cname);

Thank for your great software.... I am really beginning to like SQL... 

Ted





Message-ID: <200109061705.f86H5m734314@postgresql.org>
Permalink:  ../200109061705.f86H5m734314@postgresql.org/
Also on:    postgresql.org/message-id/200109061705.f86H5m734314@postgresql.org

 · 

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: pgsql@symcom.com
  Subject: Re: 
  In-Reply-To: <200109061705.f86H5m734314@postgresql.org>

* 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