Re: between

From: Mike Nolan <nolan(at)gw(dot)tssi(dot)com>
To: martin(at)bugs(dot)unl(dot)edu(dot)ar (Martin Marques)
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: between
Date: 2003-12-26 16:02:44
Message-ID: 200312261602.hBQG2ig9028814@gw.tssi.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Is there any chance on supporting BETWEEN in the WHERE conditions of a SELECT
> clause?

You mean like this?

Welcome to psql 7.4.1, the PostgreSQL interactive terminal.

Type: \copyright for distribution terms
\h for help with SQL commands
\? for help on internal slash commands
\g or terminate with semicolon to execute query
\q to quit

Timing is on.
uscf=> select count(*) from memmast
uscf-> where memid between '10000000' and '19999999';
count
--------
514070
(1 row)

That's been in PostgreSQL for a long time.
--
Mike Nolan

In response to

  • between at 2003-12-26 14:36:03 from Martin Marques

Responses

  • Re: between at 2003-12-26 19:06:58 from Martin Marques

Browse pgsql-general by date

  From Date Subject
Next Message Sai Hertz And Control Systems 2003-12-26 16:18:48 Re: Is my MySQL Gaining ?
Previous Message Shridhar Daithankar 2003-12-26 15:12:27 Re: Is my MySQL Gaining ?