Mysql Basic


  1. Which variable is used to set table alias names as non-case sensitive?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    In MySQL, by default the alias names are case sensitive. An alias can hence be specified in any letter case, upper, lower or mixed. If the variable ‘lower_case_table_names’ is non zero, the alias names of tables are not case sensitive.


  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.


  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. Case sensitivity in SQL statements does not vary for different operating systems of the machine on which the server is running.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    The case sensitivity rules in SQL statements are different for different statement elements, depend on what is being referred to and also on the machine’s operating system on which the server is running.