SQL Concept with Prac Q

SQL Concept with Prac Q

12th Grade

10 Qs

quiz-placeholder

Similar activities

Câu hỏi về SQL

Câu hỏi về SQL

11th Grade - University

12 Qs

Database MySQL - Command Prompt

Database MySQL - Command Prompt

12th Grade

10 Qs

dbms

dbms

11th - 12th Grade

15 Qs

RDBMS & SQL QUERIES

RDBMS & SQL QUERIES

12th Grade

15 Qs

SQL

SQL

11th - 12th Grade

12 Qs

SQLDatabase

SQLDatabase

12th Grade

15 Qs

N5 DDD Revision

N5 DDD Revision

9th - 12th Grade

9 Qs

@tbinh1768/TIN ĐS HK1

@tbinh1768/TIN ĐS HK1

11th Grade - University

11 Qs

SQL Concept with Prac Q

SQL Concept with Prac Q

Assessment

Quiz

Computers

12th Grade

Hard

Created by

nitin.43545 Aviral

Used 6+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the column in the given table is Candidate Key?

Name & ClientID

City & Name

Mobile and ClientId

ClientNo & Pin

Answer explanation

This table contains ClientId and Mobile as Candidate key as these two column may contain unique values.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be Degree and Cardinality of Given Table?

Degree-08

Cardinality-05

Degree-05

Cardinality-08

Degree-05

Cardinality-09

Degree-09

Cardinality-05

Answer explanation

Cardinality means No. of Rows in a Table

Degree means No. of Columns in a Table.

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Which Command is used to activate/ open a Database named CLUB?

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Which command is used to view structure of a Table EMPLOYEE?

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the following command is correct to show name and city of Client in ascending order of their name?

SELECT * FROM Client ORDER BY name DESC

SELECT * FROM Client WHERE CITY ="Bombay" ORDER BY name DESC

SELECT name, city FROM Client ORDER BY name

SELECT name,city FROM Client ORDER BY DESC

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Which command is used to view all tables in existing database named MOVIE?

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be result of following SQL Query?

SELECT Count(distinct(City)) FROM Client;

6

4

5

NONE

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?