Kaun Banega Crorepati

Kaun Banega Crorepati

University

10 Qs

quiz-placeholder

Similar activities

Database Design & Development SQL 2

Database Design & Development SQL 2

University

12 Qs

Database-week03

Database-week03

University

9 Qs

How Much Do You Know (Minecraft)

How Much Do You Know (Minecraft)

2nd Grade - Professional Development

10 Qs

J277 - 2.2 - The use of SQL to search for data

J277 - 2.2 - The use of SQL to search for data

10th Grade - University

10 Qs

AC 203 Topic 2 and 3

AC 203 Topic 2 and 3

University

12 Qs

S-08 ABD DML-1

S-08 ABD DML-1

University

10 Qs

MYSQL

MYSQL

University

10 Qs

11-mavzu. Pythonda PostgreSQL yordamida ma’lumotlarni yangilash

11-mavzu. Pythonda PostgreSQL yordamida ma’lumotlarni yangilash

University

15 Qs

Kaun Banega Crorepati

Kaun Banega Crorepati

Assessment

Quiz

Computers

University

Medium

Created by

KIT_CSE_Nandhiha Vasudevan

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Choose the query to find travel location for Indonesia

SELECT * FROM Destinations

WHERE Country = 'Indonesia';

SELECT * FROM Destinations

WHERE Country = Indonesia;

SELECT * FROM Destinations

WHERE Countries = 'Indonesia';

SELECT * FROM Destinations

WHERE Country LIKE = 'Indonesia';

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

what is not the alternative for the like operator?

=

ILIKE

SIMILAR TO

IN

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the following SQL query do?

SELECT DISTINCT name FROM Destinations;

Retrieves all records from the Destinations table

Returns only unique destination names

Filters destinations priced above $1000

Deletes duplicate destinations

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is NOT an alternative for the BETWEEN operator?

>= AND <=

BETWEEN

CASE WHEN

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does the REGEXP pattern '^A' do in the following SQL query?

Finds all destinations containing the letter 'A'

Finds all destinations that start with the letter 'A'

Finds all destinations that end with 'A'

Finds destinations where 'A' appears anywhere in the name

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will happen if we run the following query?

UPDATE Destinations SET Price = Price + 500;

It increases the price of all destinations by $500.

It updates only one record's price by $500.

It throws a syntax error.

It deletes all records.

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do you update multiple columns in SQL?

UPDATE Destinations SET Price = 2500 AND Country = 'Canada' WHERE Location = 'Paris';

UPDATE Destinations SET Price = 2500, Country = 'Canada' WHERE Location = 'Paris';

UPDATE Destinations MODIFY Price = 2500, Country = 'Canada' WHERE Location = 'Paris';

ALTER Destinations SET Price = 2500, Country = 'Canada' WHERE Location = 'Paris';

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?