зеркало из
https://github.com/iharh/notes.git
synced 2025-10-30 21:26:09 +02:00
11 строки
293 B
Plaintext
11 строки
293 B
Plaintext
create view airports
|
|
as
|
|
select ...
|
|
from airports_data ml;
|
|
|
|
\d+ <viewname>
|
|
|
|
list all non-system views:
|
|
https://dba.stackexchange.com/questions/23836/how-to-list-all-views-in-sql-in-postgresql
|
|
select table_name from INFORMATION_SCHEMA.views where table_schema = any (current_schemas(false))
|