Home » MYSQL » Mysql Setup » Question
  1. What column names are displayed when this command is executed?
    SHOW COLUMNS FROM Table_Name LIKE '%name';
    1. prefixed with ‘name’
    2. prefixed with ‘%name’
    3. suffixed with ‘name’
    4. suffixed with ‘%name’
    5. None of these
Correct Option: C

The wildcard ‘%’ is used to indicate that any number of characters can replace it. All column names that end in ‘name’ are displayed. Additional information of columns like type and size are listed.



Your comments will be displayed only after manual approval.