Show tables, describe tables equivalent in redshift

后端 未结 8 783
说谎
说谎 2021-01-30 03:17

I\'m new to aws, can anyone tell me what are redshifts\' equivalents to mysql commands?

show tables -- redshift command
describe table_name -- redshift command
<         


        
8条回答
  •  闹比i
    闹比i (楼主)
    2021-01-30 03:43

    Or simply:

    \dt to show tables

    \d+

    to describe a table

    Edit: Works using the psql command line client

    提交回复
    热议问题