Kaun Banega Crorepati

Kaun Banega Crorepati

University

10 Qs

quiz-placeholder

Similar activities

BD3 PRIMAVERA 2024

BD3 PRIMAVERA 2024

University

10 Qs

SQL Programming

SQL Programming

4th Grade - Professional Development

10 Qs

Database Design & Development SQL 2

Database Design & Development SQL 2

University

12 Qs

SYS 1591

SYS 1591

University

10 Qs

Повторення SQL

Повторення SQL

University

8 Qs

SQL and Database Quiz

SQL and Database Quiz

University

15 Qs

Quis Bahasa Pemograman 3

Quis Bahasa Pemograman 3

University

10 Qs

QUIZ 3 - DFC2083

QUIZ 3 - DFC2083

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?