Show tables, describe tables equivalent in redshift

后端 未结 8 785
说谎
说谎 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条回答
  •  一整个雨季
    2021-01-30 03:35

    You can simply use the command below to describe a table.

    desc table-name
    

    or

    desc schema-name.table-name
    

提交回复
热议问题