Exam 1z0-908 All QuestionsBrowse all questions from this exam
Question 63

Which two commands will display indexes on the parts table in the manufacturing schema? (Choose two.)

    Correct Answer: B, C

    The commands that will display indexes on the parts table in the manufacturing schema are SELECT * FROM information_schema.statistics WHERE table_schema=’manufacturing’ AND TABLE_NAME=’parts’; and SHOW INDEXES FROM manufacturing.parts;. The first command selects rows from the information schema's statistics table that match the specified schema and table name, which include index information. The second command directly shows the indexes of the specified table.

Discussion
HSongOptions: BC

Answer is B,C

FelipeKOptions: BC

These commands will provide information about the indexes on the specified table in the given schema. The SHOW INDEXES command is a simple way to view the index information of a table, while the SELECT statement from the information_schema.statistics table allows for more complex queries and can be used to get index information across multiple tables or schemas. Please note that you need to have the appropriate privileges to run these commands.