From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Content-Type: text/plain; charset="koi8-r" From: Smirnov Alexey To: community@altlinux.ru Subject: Re: [Comm] PostgreSQL question Date: Wed, 30 Oct 2002 18:16:17 +0500 User-Agent: KMail/1.4.3 References: <200210301602.43127.kosha@Kp.ru> In-Reply-To: <200210301602.43127.kosha@Kp.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200210301816.17248.alex@eburg.uniland.ru> Sender: community-admin@altlinux.ru Errors-To: community-admin@altlinux.ru X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: community@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: List-Post: 30 Октябрь 2002 18:02, Korshunov Ilya написал: > Никак не въеду как сделать выборку с таблицы с указанием точного врмени.. > к примеру мне надо выбрать все записи с датой с 16.00 до 19.00 27 Октября. > В таблице присутвует поле timestamp вида > 2002-09-05 17:04:04+04 select * from table where field between timestamp '2002-10-27 16:00' and timestamp '2002-10-27 19:00' по моему так -- Best regards.