-- 创建schemacreate schema if not exists wedata_demo_schema ;-- 创建表CREATE TABLE wedata_demo_schema.user_info (id SERIAL PRIMARY KEY,name VARCHAR(255) NOT NULL);-- 查看对应schema中的表SELECT table_nameFROM information_schema.tablesWHERE table_schema = 'wedata_demo_schema';-- 插入数据INSERT INTO wedata_demo_schema.user_info (name) VALUES ('Alice'), ('Bob');-- 查看数据select * from wedata_demo_schema.user_info;
本页内容是否解决了您的问题?