In postgres, whenever I want to print a description of a query, I could add \gdesc
as follows:
# select 1 as num \gdesc
Column | Type
--------+---------
num | integer
(1 row)
I was wondering if there's an equivalent in MySQL (or in any other relational database).
I'm aware of DESCRIBE Table
, but I'm looking to describe a query, not a table.