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

后端 未结 2 1159
谎友^
谎友^ 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条回答
  •  借酒劲吻你
    2021-02-13 02:33

    See This Example.

    queuerecords=# create table employee(id int,name varchar(100));
            CREATE TABLE
    
    
    queuerecords=# insert into employee values(1,'UsmanYaqoob');
            INSERT 0 1
    
    
    queuerecords=# select * from employee;
        id |    name
        ----+-------------
        1 | UsmanYaqoob
        (1 row)
    

提交回复
热议问题