How to get all the sequences and columns to which sequence is applied using single query
<p>I want to get all the sequences created, tables and columns to which that sequence is applied in a database using a single query in PostgreSQL. Any direct or indirect method is helpful.</p>