select datname from pg_database;
SELECT table_name FROM information_schema.tables WHERE table_schema = ‘public‘;
SELECT column_name FROM information_schema.columns WHERE table_name =‘pda_ub_tips‘;
时间: 2024-11-08 23:36:19
select datname from pg_database;
SELECT table_name FROM information_schema.tables WHERE table_schema = ‘public‘;
SELECT column_name FROM information_schema.columns WHERE table_name =‘pda_ub_tips‘;