第1关:插入数据
gsql -d postgres -U gaussdb -W "passwd123@123"
create table student (id integer primary key,name char(20),age integer );
insert into student values(1,"lily",20),(2,'lily',21),(3,'marry',19);
第2关:删除数据
gsql -d postgres -U gaussdb -W "passwd123@123"
delete from student where name='lily';
第3关:修改数据
gsql -d postgres -U gaussdb -W "passwd123@123"
update student set age=18 where id=3;