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 rows with the same ID to be sorted by NAME in ascending order It causes rows with the same ID to be sorted by NAME in descending order It causes the dataset returned by the query to be sorted 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 rows with the same ID to be sorted by NAME in descending order It causes the dataset returned by the query to be sorted in descending order It causes the result set to include a description of the NAME field ANSWER DOWNLOAD EXAMIANS APP
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 one of the following methods is responsible for sending the query to the database? query_send() query() send_query() sendquery() query_send() query() send_query() sendquery() ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling When a user confirms that he wishes to delete an entry, that entry’s URL is passed to a function which removes the entry from the __________ index.php function.inc.php database admin.php index.php function.inc.php database admin.php 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 contents of OTHERTABLE will be deleted, as will be all the contents of MYTABLE whose ID is 1 The contents of OTHERTABLE will be deleted The database will remain unchanged The contents of both OTHERTABLE and MYTABLE 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 OTHERTABLE will be deleted The database will remain unchanged The contents of both OTHERTABLE and MYTABLE will be deleted ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling Which one of the following statements instantiates the mysqli class? $mysqli->new.mysqli() mysqli->new.mysqli() $mysqli = new mysqli() mysqli = new mysqli() $mysqli->new.mysqli() mysqli->new.mysqli() $mysqli = new mysqli() mysqli = new mysqli() ANSWER DOWNLOAD EXAMIANS APP