pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Foreing Key in Postgres ????
2+ messages / 2 participants
[nested] [flat]

* Foreing Key in Postgres ????
@ 2000-07-24 21:49 Pablo Salazar <ssalazar@goliat.espol.edu.ec>
  2000-07-24 22:13 ` Re: Foreing Key in Postgres ???? phil@Stimpy.netroedge.com
  0 siblings, 1 reply; 2+ messages in thread

From: Pablo Salazar @ 2000-07-24 21:49 UTC (permalink / raw)
  To: pgsql-interfaces

Hellos Folks!!

Someane , know be do relations between tables (FK)

please Help me
thanks

Pablo

Attachments:

ssalazar.vcf (text/x-vcard, 318B) download begin:vcard n:Salazar;Pablo tel;home:Guayaquil - Ecuador tel;work:Administrador de Bases de Datos DB2 x-mozilla-html:FALSE org:ESPOL;Cesercomp adr:;;Campus Prosperina Km 30.5 Via Perimetral;Guayaquil;;; version:2.1 email;internet:ssalazar@goliat.espol.edu.ec title:Ingeniero en Computación fn:Pablo Salazar end:vcard
^ permalink raw reply [nested|flat] 2+ messages in thread

* Re: Foreing Key in Postgres ????
  2000-07-24 21:49 Foreing Key in Postgres ???? Pablo Salazar <ssalazar@goliat.espol.edu.ec>
@ 2000-07-24 22:13 ` phil@Stimpy.netroedge.com
  0 siblings, 0 replies; 2+ messages in thread

From: phil@Stimpy.netroedge.com @ 2000-07-24 22:13 UTC (permalink / raw)
  To: Pablo Salazar <ssalazar@goliat.espol.edu.ec>; +Cc: pgsql-interfaces


I think this might be a little out of place (wrong list?), but here's
a quick answer:

select tableone.name,tabletwo.title where
	tableone.index=tabletwo.index order by tableone.name asc;

That's a simple relational selection for two tables which might look
like: 

tableone:
	name text
	index int4

tabletwo:
	title text
	index int4

Good luck!


Phil


On Mon, Jul 24, 2000 at 04:49:31PM -0500, Pablo Salazar wrote:
> Hellos Folks!!
> 
> Someane , know be do relations between tables (FK)
> 
> please Help me
> thanks
> 
> Pablo

Content-Description: Card for Pablo Salazar


-- 
Philip Edelbrock -- IS Manager -- Edge Design, Corvallis, OR
   phil@netroedge.com -- http://www.netroedge.com/~phil
 PGP F16: 01 D2 FD 01 B5 46 F4 F0  3A 8B 9D 7E 14 7F FB 7A



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2000-07-24 22:13 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-07-24 21:49 Foreing Key in Postgres ???? Pablo Salazar <ssalazar@goliat.espol.edu.ec>
2000-07-24 22:13 ` phil@Stimpy.netroedge.com

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