100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
D427 Questions with complete solution 2024 $13.49   Add to cart

Exam (elaborations)

D427 Questions with complete solution 2024

 9 views  0 purchase
  • Course
  • WGU D427
  • Institution
  • WGU D427

D427 Questions with complete solution 2024 D427 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'); Write...

[Show more]

Preview 2 out of 12  pages

  • September 1, 2024
  • 12
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • d427
  • WGU D427
  • WGU D427
avatar-seller
Academia199
D427
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');


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 *
FROM Customers
ORDER BY Country, CustomerName;


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');


Lists all customers from the Customers table with a NULL value in the
"Address" field - correct answer ✔SELECT *
FROM Customers
WHERE Address IS NULL;


List all customers from the Customers table without a NULL value in the
CustomerName field - correct answer ✔SELECT *
FROM Customers
WHERE CustomerName IS NOT NULL;

, 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;


Deletes the customer "Alfreds Futterkiste" from the "Customers" table - correct
answer ✔DELETE FROM Customers
WHERE CustomerName = 'Alfreds Futterkiste';


Delete all records from the Customers table - correct answer ✔DELETE
FROM Customers;


Write a query statement that finds the price of the cheapest product in the
Products table - correct answer ✔SELECT MIN(Price)
FROM Products;


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';


Write a query to find the total number of Users in the Google table - correct
answer ✔SELECT COUNT(UserID)
FROM Google;


Write a query to find the average amount of cars in the Neighborhood Table -
correct answer ✔SELECT AVG(Cars)

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Academia199. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $13.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

67096 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$13.49
  • (0)
  Add to cart