Re: Unable to find column

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: arun chirappurath <arunsnmimt(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Unable to find column
Date: 2024-01-15 16:33:44
Message-ID: d036d1c6-ea76-4835-b320-e535f0702d20@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 1/15/24 08:16, arun chirappurath wrote:
> Dear all,
>
> I have a table automobile which has a column id.
>
> Table consists of id,make,year of manufacturing
>
> I use dbeaver for querying..
>
> Select * from automobile provides me results
>
> However select id from automobile yields column doesn't exists.
>
> I tried double quotes on id As well but same error.
>
> But if I drag and drop id or use the id which is auto prompted from
> dbeaver,it works 💪.
>
> select "id" from automobile using drag and drop of id in dbeaver works.
>
> But if I manually type "id" it won't.
>
> Any clue on this.

Do you have psql(https://www.postgresql.org/docs/current/app-psql.html(
available?

If so in psql what does:

\d automobile

return?

>
> Visually both statements are alike
>
>
> Table is in public schema.
>
> Thanks,
> Arun
>
>
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message arun chirappurath 2024-01-15 17:26:57 Re: Unable to find column
Previous Message Ian Harding 2024-01-15 16:29:07 Re: Unable to find column