PHP Databases Handling Which one of the following statements can be used to select the database? mysqli=select_db(‘databasename’); $mysqli->select_db(‘databasename’); $mysqli=select_db(‘databasename’); mysqli->select_db(‘databasename’); mysqli=select_db(‘databasename’); $mysqli->select_db(‘databasename’); $mysqli=select_db(‘databasename’); mysqli->select_db(‘databasename’); ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling Which of the methods are used to manage result sets using both associative and indexed arrays? get_array() and get_column() fetch_array() and fetch_row() fetch_array() and fetch_column() get_array() and get_row() get_array() and get_column() fetch_array() and fetch_row() fetch_array() and fetch_column() get_array() and get_row() ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling What will happen at the end of the following sequence of SQL commands?BEGIN TRANSACTIONDELETE FROM MYTABLE WHERE ID=1DELETE FROM OTHERTABLEROLLBACK TRANSACTION The database will remain unchanged The contents of OTHERTABLE will be deleted The contents of OTHERTABLE will be deleted, as will be all the contents of MYTABLE whose ID is 1 The contents of both OTHERTABLE and MYTABLE will be deleted The database will remain unchanged The contents of OTHERTABLE will be deleted The contents of OTHERTABLE will be deleted, as will be all the contents of MYTABLE whose ID is 1 The contents of both OTHERTABLE and MYTABLE will be deleted ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling The URLs in the administrative links won’t mean anything to admin.php unless you modify _________ .urlaccess .htmlaccess .adminaccess .htaccess .urlaccess .htmlaccess .adminaccess .htaccess ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling Which of the following is not an SQL aggregate function? CURRENT_DATE() MIN SUM MAX AVG CURRENT_DATE() MIN SUM MAX AVG ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling What does the DESC keyword do in the following query?SELECT * FROM MY_TABLE WHERE ID > 0 ORDER BY ID, NAME DESC It causes the dataset returned by the query to be sorted in descending order It causes rows with the same ID to be sorted by NAME in descending order It causes the result set to include a description of the NAME field It causes rows with the same ID to be sorted by NAME in ascending order It causes the dataset returned by the query to be sorted in descending order It causes rows with the same ID to be sorted by NAME in descending order It causes the result set to include a description of the NAME field It causes rows with the same ID to be sorted by NAME in ascending order ANSWER DOWNLOAD EXAMIANS APP