[Oracle]: Get partition key/columns(s) of table

Use below query to find partition key/column(s) of partitioned table in Oracle:

SELECT owner, name, object_type, column_name, column_position FROM all_part_key_columns WHERE name = ‘<Table Name>’;

1. Replace <Table Name> will actual table name or remove where clause to get complete table list with their partition columns.
2. Results will be null in-case of non-partitioned table