desc tablename;
and
desc table tablename;
are giving different outputs.what is the difference?
i wanted to see the structure of the table,but accidentally ended up using desc table command and it led me to a completely different output
desc tablename;
and
desc table tablename;
are giving different outputs.what is the difference?
i wanted to see the structure of the table,but accidentally ended up using desc table command and it led me to a completely different output
2
Answers
desc is used for arranging the data output in descending order, if you can share a particular query, we can able to answer it
desc tablename;
describes the table – its columns and indices.desc table tablename;
describes a querytable tablename;
, i.e. it isexplain select * from tablename;