Assignment for MSE+CIE-2

Assignment for MSE+CIE-2

University

20 Qs

quiz-placeholder

Similar activities

Pra UPS 2

Pra UPS 2

University

20 Qs

STM 2013 : FORMATIF T3-FORM & REPORT

STM 2013 : FORMATIF T3-FORM & REPORT

University

20 Qs

From Binary To Denary Conversion - IGCSE

From Binary To Denary Conversion - IGCSE

7th Grade - Professional Development

20 Qs

DWDM-2

DWDM-2

University

20 Qs

IGH Test de Entrada

IGH Test de Entrada

University

20 Qs

Relational Algebra and Calculus

Relational Algebra and Calculus

University

20 Qs

ICT 0513 - Chapter 4 : System Unit

ICT 0513 - Chapter 4 : System Unit

University

15 Qs

Assignment for MSE+CIE-2

Assignment for MSE+CIE-2

Assessment

Quiz

Computers

University

Hard

Created by

Ritika Sharma

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

1. Which of the following is not a built in aggregate function in SQL?

avg

max

total

count

2.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Observe the given SQL query and choose the correct option.

SELECT branch_name, COUNT (DISTINCT customer_name) FROM depositor, account WHERE depositor.account_number = account.account_number GROUP BY branch_id

a) The query is syntactically correct but gives the wrong answer

b) The query is syntactically wrong

c) The query is syntactically correct and gives the correct answer

d) The query contains one or more wrongly named clauses.

3.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

State true or false: We can rename the resulting attribute after the aggregation function has been applied

true

false

none

4.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What values does the count(*) function ignore?

a) Repetitive values

b) Null values

c) Characters

d) Integers

5.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Which of the following is a good database management practice?

a) Adding redundant attributes

b) Not specifying primary keys

c) Removing redundant attributes

d) None of the mentioned

6.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Which of the following command is used to obtain the structure of an Oracle table?

a) DESC TABLE [TableName].

b) STRUCTURE [TableName].

d) DESCRIBE STRUCTURE [TableName].

c) DESC [TableName].

7.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What would be printed when the following code is executed?

DECLARE x NUMBER;

BEGIN

x := 5;

x := 10;

dbms_output.put_line(-x);

dbms_output.put_line(+x);

x := -10;

dbms_output.put_line(-x);

dbms_output.put_line(+x);

END;

-10

10

10

-10

-10

10

-10

10

10

10

-10

-10

-5

10

10

-10

10

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?