MySQL Functions


  1. The one that is not optional is _____________.
    SELECT select_list FROM table_list WHERE row_constraint GROUP BY grouping_columns;











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    Given above was a basic syntax of the SELECT statement. Everything in the syntax is optional except the ‘select_list’ option. All the others are free to be omitted, and will work fine.


  1. There cannot be more than one column per table with the AUTO_INCREMENT attribute.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    In MySQL, there can only be one column per table with the AUTO_INCREMENT attribute. It should also have an integer data type. The AUTO_INCREMENT is also allowed for floating point types.



  1. What does the AUTO_INCREMENT sequences begin at by default?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    The AUTO_INCREMENT column attribute provides unique numbers for column identification. AUTO_INCREMENT sequences normally begin at 1 and increase monotonically like 1, 2, 3, and so on.


  1. CGI.pm does not support an object oriented style of use.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    ‘CGI.pm’ supports an object oriented style of use which allows to invoke its functions without importing the names. To do this, a use statement is included and a CGI object is created.



  1. The join in which all the rows from the right table appear in the output irrespective of the content of the other table is ______________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    In a ‘RIGHT JOIN’, the output is produced for every row of the right table, even if it does not exist in the other table. This is the reason why it is called a ‘RIGHT JOIN’. ‘RIGHT JOIN’ and ‘LEFT JOIN’ are a kind of OUTER JOIN.