postgresql - SELECT ALL column_names in postgesql -
i'm using postgresql
, want create query
display column_names
in specific table
.
schema: codes table name: watch_list
here column_names
in table
:
watch_list_id, watch_name, watch_description
i tried found in web:
select * information_schema.columns table_schema = 'codes' , table_name = 'watch_list'
it output not wanted. should be:
watch_list_id, watch_name, watch_description
how this?
select table_name information_schema.tables table_schema='public'
Comments
Post a Comment