| From: | "Andrew Snow" <andrew(at)modulus(dot)org> |
|---|---|
| To: | "'John Hughes'" <johughes(at)shaw(dot)ca> |
| Cc: | <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: How would i do this? |
| Date: | 2001-12-11 20:09:09 |
| Message-ID: | 001b01c1827f$c03ac8e0$0b00000a@avon |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-sql |
You'll probably end up forgetting what you know about arrays: I
recommend a read through this to get a quick understanding of how things
are done in the RDBMS world:
http://www.google.com/search?q=cache:-Y8EjJKZgKk:w3.one.net/~jhoffman/sq
ltut.html&hl=en#Joins
(original site seems to have vanished)
Once you have a handle on that, read the PostgreSQL docs for
primary/foreign keys and referential integrity.
Hope that helps
- Andrew
> -----Original Message-----
> From: pgsql-general-owner(at)postgresql(dot)org
> [mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of John Hughes
> Sent: Wednesday, 12 December 2001 6:22 AM
> To: pgsql-general(at)postgresql(dot)org(dot)pgsql-sql@postgresql.org
> Subject: [GENERAL] How would i do this?
>
>
> I am new to DB programming, so im not too sure about how to
> implement my DB.
>
> Coming from a programming background, I could do this in c++
> very easily. I
> actually started inmplementing it in a similar fasion: each
> student class
> teacher ect would have a uniqe id in the database, and, for
> example, a
> class would include an array of integer student id's.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David A Dickson | 2001-12-11 20:16:45 | Re: How would i do this? |
| Previous Message | Steve Wolfe | 2001-12-11 19:31:15 | Re: migrating from single disk to RAID 5 |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David A Dickson | 2001-12-11 20:16:45 | Re: How would i do this? |
| Previous Message | John Hughes | 2001-12-11 19:21:56 | How would i do this? |