BAZA

BAZA

University

15 Qs

quiz-placeholder

Similar activities

GIS Unit-1

GIS Unit-1

University

15 Qs

Microcontroller

Microcontroller

11th Grade - University

10 Qs

Input, output and storage de

Input, output and storage de

8th Grade - Professional Development

14 Qs

Computer Architecture Unit 3

Computer Architecture Unit 3

University

15 Qs

BCA

BCA

University

10 Qs

PHP First Internal Practical Viva

PHP First Internal Practical Viva

University

20 Qs

Quiz on neural network unit II

Quiz on neural network unit II

University

16 Qs

 BAZA

BAZA

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Біржан Айқын

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt


The _____ combines all tuples from two relations excluding duplicates.

DIFFERENCE

Divide

UNION

INTERSECT

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the correct option to convert phone_number attribute from varchar to integer data type

phone_number::varchar (3)

phone_number: int

phone_number::varchar(*)

phone_number to int

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt


With SQL, how can you return the number of records in the "Persons" table?

SELECT MAX(*) FROM Persons
SELECT AVG(*) FROM Persons
SELECT SUM(*) FROM Persons
SELECT COUNT(*) FROM Persons

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct order of keywords for SQL SELECT statements?

FROM, SELECT, WHERE
SELECT, FROM, WHERE
SELECT, WHERE, FROM
WHERE, SELECT, FROM

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

With SQL, how do you select all the records from a table named "Persons" where the value of the column "FirstName" starts with an "a"?

SELECT * FROM Persons WHERE FirstName LIKE 'a%'
SELECT * FROM Persons WHERE FirstName = 'a'
SELECT * FROM Persons WHERE FirstName LIKE 'a%;
SELECT * FROM Persons WHERE FirstName LIKE 'a_'

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Find all the tuples having temperature greater than 'Paris'.

SELECT * FROM weather WHERE temperature > (SELECT temperature FROM weather WHERE city 'Paris')

SELECT * FROM weather WHERE temperature > 'Paris' temperature

SELECT FROM weather WHERE temperature > (SELECT FROM weather WHERE city = 'Paris')

SELECT * FROM weather WHERE temperature > (SELECT city FROM weather WHERE city = 'Paris')

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Values of one type can be converted to another type using which of the following?

CAST

CONVERT

DROP TYPE

ALTER TYPE

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?