Mysql Basic


  1. What is the maximum length for alias names in terms of characters?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The identifiers in MySQL have a maximum length of 64 characters. However, the alias names for identifiers can have the number of characters up to 256. Aliases can also be quoted or unquoted.


  1. What does a fully qualified table name consist of?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    MySQL identifiers use qualifiers. An element of a database has a fully qualified name. A database table in MySQL has the fully qualified name as the database name followed by the table name.



  1. What is true about the following SQL statement?
    SELECT * FROM Student;











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The keywords and function names are not case sensitive in SQL. They can be named in any letter case. So, the above statement is correct and legal. It retrieves information from the table ‘Student’.


  1. Which of the following is case sensitive?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The stored functions and stored procedure names in MySQL are not case sensitive. Event names are also not case sensitive. Unlike the standard SQL, the trigger names in MySQL is case sensitive.



  1. The default case sensitivity of database and table names depends on ___________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    The default case sensitivity imposes a dependency on the operating system of the machine on which the MySQL server is running. Windows does not treat database and table names as case sensitive unlike Unix.