Re: table design

Поиск
Список
Период
Сортировка
От Phillip Smith
Тема Re: table design
Дата
Msg-id 00bb01c78af7$7eceb660$9b0014ac@wbaus090
обсуждение исходный текст
Ответ на Re: table design  ("hostel Nate " <nate1001@gmail.com>)
Ответы Re: table design  ("hostel Nate " <nate1001@gmail.com>)
Список pgsql-novice

Understand now… If the Bookings table is just a combination of Reservations and Paid Guests, then could you use a View?

 

If not, maybe Table Inheritance would be something you’re after. I’m not up to speed on that aspect of things. Someone smarter than me may be able to help, or the docs.

 

 

-----Original Message-----
From: pgsql-novice-owner@postgresql.org [mailto:pgsql-novice-owner@postgresql.org] On Behalf Of hostel Nate
Sent: Monday, 30 April 2007 16:58
To: pgsql-novice@postgresql.org
Subject: Re: [NOVICE] table design

 


A reservation would be when someone is going to come but has yet not. Paid guests would be people that are already here and paid. The booking table would be either paid guests or reservations. It says that the room is taken by either a reservation or a paid guest.  


*******************Confidentiality and Privilege Notice*******************

The material contained in this message is privileged and confidential to the addressee. If you are not the addressee indicated in this message or responsible for delivery of the message to such person, you may not copy or deliver this message to anyone, and you should destroy it and kindly notify the sender by reply email.

Information in this message that does not relate to the official business of Weatherbeeta must be treated as neither given nor endorsed by Weatherbeeta. Weatherbeeta, its employees, contractors or associates shall not be liable for direct, indirect or consequential loss arising from transmission of this message or any attachments

В списке pgsql-novice по дате отправления:

Предыдущее
От: "hostel Nate "
Дата:
Сообщение: Re: table design
Следующее
От: "hostel Nate "
Дата:
Сообщение: Re: table design