
DBMS and SQL

Quiz
•
Computers
•
Professional Development
•
Medium
Noorin Lakhani
Used 11+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
With SQL how can I return all items in the Item table sorted from the lowest priced to the highest priced?
SELECT * FROM Items ORDER BY Price ASCENDING
SELECT * FROM Items ORDER BY Price ASC
SELECT * FROM Items BY Price LOWEST TO HIGHEST
SELECT * FROM Items ORDER BY Price DESC
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you DELETE records from the Items table with a "Chair" Type?
DELETE 'Chair' FROM Items
DELETE Type FROM Items WHERE Type = 'Chair'
DELETE FROM Items WHERE Type = 'Chair'
DELETE ITEMS WHERE Type = 'Chair'
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which SQL statement would add a record to the database?
INSERT INTO Designer VALUES ('SMI01', 'M Smith', 'mail@msmith.com', '01224123456')
INSERT VALUES ('SMI01', 'M Smith', 'mail@msmith.com', 01224123456') INTO Designer
INSERT ('SMI01', 'M Smith', 'mail@msmith.com', '01224123456') INTO Designer
INSERT Designer INTO VALUES (''SMI01', 'M Smith', 'mail@msmith.com', '01224123456')
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Return the names and imdb_ratings of all movies with ‘day’ in the name.
SELECT * FROM movies WHERE name LIKE ‘day’;
SELECT name, imdb_rating FROM movies WHERE name LIKE '%day%';
SELECT * FROM movies WHERE imdb_rating AND name LIKE ‘%day%’;
RETURN name, imdb_rating FROM movies WHERE name LIKE '%day%';
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Find the name of those cities with temperature and condition whose condition is either sunny or cloudy but temperature must be greater than 70.
SELECT city, temperature, condition FROM weather WHERE condition = ‘sunny’ AND condition = ‘cloudy’ OR temperature > 70
SELECT city, temperature, condition FROM weather WHERE condition = ‘sunny’ OR condition = ‘cloudy’ OR temperature > 70
SELECT city, temperature, condition FROM weather WHERE condition = ‘sunny’ OR condition = ‘cloudy’ AND temperature > 70
SELECT city, temperature, condition FROM weather WHERE condition = ‘sunny’ AND condition = ‘cloudy’ AND temperature > 70
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A function that has no partial functional dependencies is in _______ form
3NF
2NF
4NF
BCNF
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used for removing a table and all its data from the database:
Create command
Drop table command
Alter table command
All of the mentioned
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
SQL Server - Transact SQL e Desenvolvimento [DEV]

Quiz
•
Professional Development
10 questions
4 - Facilitating Iteration Execution

Quiz
•
Professional Development
13 questions
Cybersecurity: Core Skills

Quiz
•
Professional Development
15 questions
Big Data Analytics Quiz based on Unit 1 and 2

Quiz
•
Professional Development
10 questions
Robot Design Test

Quiz
•
KG - Professional Dev...
10 questions
SQL

Quiz
•
Professional Development
13 questions
Computer health and safety

Quiz
•
11th Grade - Professi...
10 questions
Initiation MySQL

Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade