Search Header Logo

Kaun Banega Crorepati

Authored by KIT_CSE_Nandhiha Vasudevan

Computers

University

Used 4+ times

Kaun Banega Crorepati
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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';

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?