PostgreSql 命令查看表数据 [英] PostgreSql command to see the table data

查看:34
本文介绍了PostgreSql 命令查看表数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 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.

我已经使用了选择查询 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆