
DBMS Lab quizII

Quiz
•
Computers
•
University
•
Hard

Abhinav Malviya
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
. Consider the following schema –
STUDENTS (student_code, first_name, last_name, email, phone_no, date_of_birth, honours_subject, percentage_of_marks);
Which of the following query would display all the students whose first name starts with the character ‘A’?
select first_name from students where first_name like ‘A%’;
select first_name from students where first_name like ‘%A’;
select first_name from students where first_name like ‘%A%’;
select first_name from students where first_name like ‘A’;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You have a relation called "Employees" that contains information about employees, including their salaries. You want to find the average salary of all employees. Which relational algebra operation would you use?
SELECT
PROJECT
AGGREGATE
JOIN
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
With SQL, how can you return the number of not null records in the “Persons” table?
SELECT COUNT() FROM Persons
SELECT COLUMNS() FROM Persons
SELECT COLUMNS(*) FROM Persons
SELECT COUNT(*) FROM Persons
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You have a "Products" relation that contains information about products, including their prices. You want to find the products with a price greater than $100. What relational algebra operation would you use?
SELECT
PROJECT
JOIN
DIFFERENCE
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
SQL query to find the temperature in increasing order of all cities.
SELECT city FROM weather ORDER BY temperature
SELECT city, temperature FROM weather
SELECT city, temperature FROM weather ORDER BY temperature
SELECT city, temperature FROM weather ORDER BY city
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a database, you have a "Sales" relation that contains information about sales transactions, including the salesperson's name. You want to find the distinct names of salespeople who made sales. What relational algebra operation would you use?
SELECT
PROJECT
UNION
DISTINCT
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
SQL query to find all the cities whose humidity is 95.
SELECT city WHERE humidity = 95
SELECT city FROM weather WHERE humidity = 95
SELECT humidity = 89 FROM weather
SELECT city FROM weather
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Keyboard Combination Keys

Quiz
•
KG - University
10 questions
DBMS 1

Quiz
•
University
10 questions
Quantum Computing

Quiz
•
8th Grade - University
10 questions
DBMS_CSN_WEEK5_QUIZ

Quiz
•
University
15 questions
SQL statements 1

Quiz
•
University
10 questions
N1 & C1 DBMS LAB QUIZ

Quiz
•
University
12 questions
History of Science and Technol ch1 part 1ogy

Quiz
•
University
10 questions
MS Office

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