Databases Handling MCQs
Practice Databases Handling MCQs for competitive exams.
Databases Handling MCQs
Practice questions from this topic.
Can joins be nested?
Correct Answer: A
Use the .............. to delete the data inside the table, and not the table itself?
Correct Answer: C
The ............. statement is used to delete a table.
Correct Answer: A
What does the DESC keyword do in the following query? SELECT * FROM MY_TABLE WHERE ID > 0 ORDER BY ID, NAME DESC"
Correct Answer: C
SQL is not case sensitive. SELECT is the same as select.
Correct Answer: A
Transactions are used to treat sets of SQL statements atomically.
Correct Answer: A
In PHP in order to access MySQL database you will use:
Correct Answer: C
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 __________
Correct Answer: C
Your confirmation form submits your choice, via the _______ method, to ________
Correct Answer: D
To identify entries marked for deletion, you check whether $_GET[‘page’] == ‘delete’ inside __________
Correct Answer: C
You need to check whether ______ is set, to determine whether you’re editing an entry or creating a new one.
Correct Answer: A
([w-]+) will match ___________
Correct Answer: C
