postgres - select * from existing table - psql says table does not exist

后端 未结 2 1165
谎友^
谎友^ 2021-02-13 02:00

Fresh postgres installation, db \'test\', table \'Graeber\' created from another program.

I want to see the content of table \'Graeber\'. When I connect to the database

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-13 02:39

    Try adding the schema as in:

    select *
    from public.Graeber
    

    If that doesn't work, then it is because you have a capital letter so try:

    select *
    from public."Graeber"
    

    Hope this helps.

提交回复
热议问题