WGU D427 OBJECTIVE ASSESSMENT

Study Guides Aug 17, 2025
Loading...

Loading document viewer...

Page 0 of 0

Document Text

  • | Page

WGU D427 OBJECTIVE ASSESSMENT

FINAL EXAM 100 QUESTIONS

COVERING DATA MODELI NG, SQL

QUERIES, DATABASE DE SIGN,

NORMALIZATION, AND R ELATIONAL

DATABASE MANAGEMENT SYSTEMS.

Question :Write a Query that Selects all fields from

"Customers" where country is "Germany" AND city must be "Berlin" OR "Stuttgart"

Correct answer:SELECT *

FROM Customers WHERE Country = 'Germany' AND (City = 'Berlin' OR City = 'Stuttgart');

Question :Write a Query that selects all customers from

the "Customers" table, sorted by the "Country" and the "CustomerName" column. This means that it orders by Country, but if some rows have the same Country, it orders them by CustomerName

Correct answer:SELECT *

  • | Page

FROM Customers ORDER BY Country, CustomerName;

Question :Insert a new record into the "Customers" table,

but only insert data in the "CustomerName", "City", and "Country" columns

Correct answer:INSERT INTO Customers

(CustomerName, City, Country) VALUES ('Rick', 'Lexington', 'USA');

Question :Lists all customers from the Customers table

with a NULL value in the "Address" field

Correct answer:SELECT *

FROM Customers WHERE Address IS NULL;

Question :List all customers from the Customers table

without a NULL value in the CustomerName field

Correct answer:SELECT *

FROM Customers

  • | Page

WHERE CustomerName IS NOT NULL;

Question :Update the first customer (CustomerID = 1)

with a new contact person and a new city in the Customer Table

Correct answer:UPDATE Customer

SET ContactPerson = 'John', City = 'Lexington' WHERE CustomerID = 1;

Question :Deletes the customer "Alfreds Futterkiste" from

the "Customers" table

Correct answer:DELETE FROM Customers

WHERE CustomerName = 'Alfreds Futterkiste';

Question :Delete all records from the Customers table

Correct answer:DELETE FROM Customers;

Question :Write a query statement that finds the price of

the cheapest product in the Products table

  • | Page

Correct answer:SELECT MIN(Price)

FROM Products;

Question :Write a query that finds the maximum

population in the USA from the World Table

Correct answer:SELECT MAX(Population)

FROM World WHERE Country = 'USA';

Question :Write a query to find the total number of Users

in the Google table

Correct answer:SELECT COUNT(UserID)

FROM Google;

Question :Write a query to find the average amount of

cars in the Neighborhood Table

Correct answer:SELECT AVG(Cars)

FROM Neighborhood;

Download Document

Buy This Document

$30.00 One-time purchase
Buy Now
  • Full access to this document
  • Download anytime
  • No expiration

Document Information

Category: Study Guides
Added: Aug 17, 2025
Description:

WGU D427 OBJECTIVE ASSESSMENT FINAL EXAM 100 QUESTIONS COVERING DATA MODELI NG, SQL QUERIES, DATABASE DE SIGN, NORMALIZATION, AND R ELATIONAL DATABASE MANAGEMENT SYSTEMS. Question :Write a Query th...

Get this document $30.00