PostgreSql命令查看表数据 [英] PostgreSql command to see the table data
问题描述
我是PostgreSql的新用户。我在我的linux机器上导入数据库。我可以看到表的列表使用\d命令( GSM_test_db-#\d default_msg_details
)它显示表列表,但我想看到表数据。
I am new in PostgreSql. I import the database on my linux machine. I am able to see the list of tables using \d command (GSM_test_db-# \d default_msg_details
) its displaying the table list but I want to see the table data.
任何显示表数据的命令也请告诉我。
Any Command that shows table Data also Please tell me.
我已经使用select查询 GSM_test_db-#SELECT * FROM default_msg_details
,但它不显示任何内容,错误。
I already used select query GSM_test_db-# SELECT * FROM default_msg_details
but its not displaying anything and its not giving any error.
请告诉我是否有任何命令或为什么选择它不显示任何内容。
Please tell me if any command or why this select its not displaying anything.
推荐答案
因为您需要使用;
这篇关于PostgreSql命令查看表数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!