Search Header Logo

Backend Development with PHP and MySQL

Authored by 041_CSE1_Aryan Raj

Other

Professional Development

Used 5+ times

Backend Development with PHP and MySQL
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid SQL type?

NUMERIC

DECIMAL

CHARACTER

FLOAT

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following SQL statement selects only unique values from ‘section’ column of table ‘school’?

SELECT section FROM school;

SELECT DISTINCT section FROM school;

SELECT * FROM school;

SELECT ALL section FROM school;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many Primary keys can have in a table?

Only 1

Only 2

Depends on no of Columns

Depends on DBA

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid aggregate function?

COUNT

COMPUTE

SUM

MAX

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If we have not specified ASC or DESC after a SQL ORDER BY clause, the following is used by default

DESC

ASC

There is no default value

None of the mentioned

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When the wildcard in a WHERE clause is useful?

When an exact match is required in a SELECT statement.

When an exact match is not possible in a SELECT statement.

When an exact match is required in a CREATE statement.

When an exact match is not possible in a CREATE statement.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

______ is NOT a type of constraint in SQL language?

FOREIGN KEY

PRIMARY KEY

UNIQUE

ALTERNATE KEY

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?