操作步骤 #登录 [root@xxx01 ~]# su postgres bash-4.2$ psql -U postgres could not change directory to "/root" psql (9.2.24) Type "help" for help. postgres=# \l List of databases Name | Owner | Encoding | Collate | Ctype | Access privileges ---…
1.创建表格create table usr_info(mob string,reason string,tag string) row format delimited fields terminated by '\t' stored as textfile:2.将本地文件上传到创建表格中load data local inpath'/home/one.txt' overwrite into table usr_info:3.修改表格中某个列的属性或列名alter table usr_info…