Mysql miscellaneous


  1. How can we define the clause “FROM” in Mysql?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    It defines the tables used by a query & linking of tables in Mysql


  1. The file that can be used to execute multiple compile statements is _________________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    The Makefile is used to write multiple commands in there. The file is executed by prefixing the command ‘make’ with the command to run the file script containing the statements.



  1. Which option is used for specifying the executable name while compiling with gcc?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    When a C program is compiled with gcc, the option -o is issued in order to specify the name of the executable that is created after compilation. The default name given is ‘a.out’.


  1. The option that is necessary to compile a C program having math functions is _____________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    To compile a program written in the C language, it is compiled by issuing the option ‘-lm’. The examples of some math functions found in ‘math.h’ are floor(), sqrt(), pow(), log().



  1. The option that executes all SQL statements in a SQL script irrespective of the number of errors is _____________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    If SQL queries in a file are run using mysql in batch mode, mysql either quits after the first error. If the –force option is specified all the queries are executed indiscriminately.