PHP Databases Handling When you are building administrative links you’ll need to accept two arguments, which of the following are they? The current page and previous page URL of previous entry and previous page The current page and URL of the entry you are working with URL of previous entry and URL of the entry you are working with The current page and previous page URL of previous entry and previous page The current page and URL of the entry you are working with URL of previous entry and URL of the entry you are working with 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 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 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 ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling Use the .............. to delete the data inside the table, and not the table itself? DELETE TABLE TRUNCATE TABLE REMOVE TABLE DROP TABLE DELETE TABLE TRUNCATE TABLE REMOVE TABLE DROP TABLE ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling Which one of the following method is used to retrieve the number of rows affected by an INSERT, UPDATE, or DELETE query? num_rows() affected_rows() new_rows() changed_rows() num_rows() affected_rows() new_rows() changed_rows() 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 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 The database will remain unchanged ANSWER DOWNLOAD EXAMIANS APP
PHP Databases Handling Which method returns the error code generated from the execution of the last MySQL function? errornumber() errorno() errno() errnumber() errornumber() errorno() errno() errnumber() ANSWER DOWNLOAD EXAMIANS APP