Search Header Logo

MySQL & PHP Basic MCQs

Authored by shwetha Asoftlab

English

Professional Development

Used 3+ times

MySQL & PHP Basic MCQs
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which command is used to create a new database?

CREATE NEW DATABASE dbname;

MAKE DATABASE dbname;

CREATE DATABASE dbname;

ADD DATABASE dbname;

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which command is used to remove a database?

DROP DATABASE dbname;

DELETE DATABASE dbname;

REMOVE DATABASE dbname;

DESTROY DATABASE dbname;

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which statement is used to retrieve data from a database?

FIND

GET

SELECT

RETRIEVE

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which keyword is used to sort the result set in ascending order?

ORDER BY ASC

SORT ASC

ASCEND

SORT BY

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which function is used to count rows?

COUNT()

SUM()

ROWS()

TOTAL()

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which SQL statement is used to add new data to a table?

INSERT INTO

ADD TO

UPDATE

APPEND

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which SQL keyword is used to update existing data?

CHANGE

MODIFY

UPDATE

ALTER

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?