Describes a sequence, including the sequence’s interval.
DESCRIBE can be abbreviated to DESC.
DESC[RIBE] SEQUENCE <name>
Specifies the identifier for the sequence to describe.
To post-process the output of this command, you can use the RESULT_SCAN function, which treats the output as a table that can be queried.
DESC SEQUENCE my_sequence;