Run PostgreSQL queries from the command line

前端 未结 7 1849
逝去的感伤
逝去的感伤 2020-12-12 09:40

I inserted a data into a table....I wanna see now whole table with rows and columns and data. How I can display it through command?

相关标签:
7条回答
  • 2020-12-12 10:24

    I also noticed that the query

    SELECT * FROM tablename;

    gives an error on the psql command prompt and

    SELECT * FROM "tablename";

    runs fine, really strange, so don't forget the double quotes. I always liked databases :-(

    0 讨论(0)
提交回复
热议问题