Assignment for MSE+CIE-2

Quiz
•
Computers
•
University
•
Hard
Ritika Sharma
Used 2+ times
FREE Resource
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
Similar Resources on Wayground
15 questions
Key and constrain

Quiz
•
University
15 questions
Day 1 - Deployment ...

Quiz
•
University
20 questions
Web Systems and Technologies

Quiz
•
University
20 questions
QUIZ 3 Back-End Development

Quiz
•
University
15 questions
MB 1-mavzu

Quiz
•
University
15 questions
Web Dev Quizz 1

Quiz
•
University
20 questions
Cysec Club - Workshop Quiz

Quiz
•
University
15 questions
Vistas en SQL

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University