Re: Column aliases in WHERE clauses

From: Mike Christensen <mike(at)kitchenpc(dot)com>
To: Eden Cardim <eden(at)insoli(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Column aliases in WHERE clauses
Date: 2012-09-18 18:27:15
Message-ID: CABs1bs1nh5LgZg0L03pmHTM55QKAp4_2Ajiuh=WOmcTmgNj8xg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Sep 18, 2012 at 11:20 AM, Eden Cardim <eden(at)insoli(dot)de> wrote:
>>>>>> "Mike" == Mike Christensen <mike(at)kitchenpc(dot)com> writes:
>
> Mike> I can also say if the table came before the columns, we'd
> Mike> probably have a lot more SQL editors with auto-complete that
> Mike> worked :)
>
> There's nothing stopping an editor from making you type the table
> first though, it's easier to implement that in an editor than it is to
> change the way people have been thinking about math for the last few
> of centuries.

No, I meant editors that auto-complete SQL statements for you as
you're typing them. Like Intellisense in Visual Studio.

Obviously you wouldn't want to type "select " and then see a list of
every column in your database, since it doesn't know what table you
want yet.

Mike

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rafal Pietrak 2012-09-18 19:35:14 Re: foreign key from array element
Previous Message Jeff Janes 2012-09-18 18:24:51 Re: Slow counting still true?