Re: How would i do this?
От | Andrew Snow |
---|---|
Тема | Re: How would i do this? |
Дата | |
Msg-id | 001b01c1827f$c03ac8e0$0b00000a@avon обсуждение исходный текст |
Ответ на | How would i do this? (John Hughes <johughes@shaw.ca>) |
Список | pgsql-general |
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@postgresql.org > [mailto:pgsql-general-owner@postgresql.org] On Behalf Of John Hughes > Sent: Wednesday, 12 December 2001 6:22 AM > To: pgsql-general@postgresql.org.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.
В списке pgsql-general по дате отправления: