PHP Databases Handling
Which one of the following statements is used to create a table?

CREATE TABLE table_name (column_type column_name);
CREATE table_name (column_type column_name);
CREATE table_name (column_name column_type);
CREATE TABLE table_name (column_name column_type);

ANSWER DOWNLOAD EXAMIANS APP

PHP Databases Handling
What will happen at the end of the following sequence of SQL commands?
BEGIN TRANSACTION
DELETE FROM MYTABLE WHERE ID=1
DELETE FROM OTHERTABLE
ROLLBACK TRANSACTION

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 contents of OTHERTABLE will be deleted
The database will remain unchanged

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 rows with the same ID to be sorted by NAME in ascending 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 descending order
It causes the dataset returned by the query to be sorted in descending order

ANSWER DOWNLOAD EXAMIANS APP