Home »
MCQs »
DB2 MCQs
Which of the following commands lists the columns in a table?
44. Which of the following commands lists the columns in a table?
- db2 desc table <table_name>
- db2 col table <table_name>
- db2 describe table <table_name>
- db2 descri table <table_name>
Answer: C) db2 describe table <table_name>
Explanation:
db2 describes table <table_name>, commands lists the columns in a table.