pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shawn T. Walker <swalker@iac.net>
To: pgsql-sql@postgresql.org
Subject: Select Query Help
Date: Sat, 25 Jul 1998 20:46:12 -0500
Message-ID: <199807260146.UAA22966@proton.iac.net> (raw)

Hello All,

	I am designing a database for a ISP call center.  This is the
Select statment that I am trying to use to allow a employee search for 
a user.  It displays all of the information that I would like it to,
but if any of the items in the where clause are not found then that
item will not come up on the screen.  Can anyone give me any
suggestions?

Thanks in advance....  The mailing list has been great!!!! :)

select myob.username,myob.lname,myob.fname,radius.ip_username,account_types.account_title,status.status_name
from myob,radius,account_types,status
where myob.username = radius.username AND radius.account_type = account_types.account_type AND radius.status = status.status
order by username;

-- 
                                                         
           Shawn T. Walker  swalker@iac.net              
              Internet Access Cincinnati                 
"Dogs believe they are human. Cats believe they are God."                                                          
  If your strength is small, don't carry heavy burdens.  
      If your words are worthless, don't give advice.    
 	          __Chinese Proverb                      
                                                         



view thread (2+ messages)  latest in thread

Message-ID: <199807260146.UAA22966@proton.iac.net>
Permalink:  ../199807260146.UAA22966@proton.iac.net/
Also on:    postgresql.org/message-id/199807260146.UAA22966@proton.iac.net

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: swalker@iac.net
  Subject: Re: Select Query Help
  In-Reply-To: <199807260146.UAA22966@proton.iac.net>
  References: <199807260146.UAA22966@proton.iac.net>

* 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