Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

Microsoft Exam |19 questions with verified correct answers

Rating
-
Sold
-
Pages
4
Grade
A+
Uploaded on
30-09-2023
Written in
2023/2024

You need to create a module that performs the following tasks: *Accepts an order number *Sets the value of the Status column in the Orders table for that order number to Shipped *Retrieves a tracking number to the Shipping table *Returns the number of items shipped and the customer's e-mail address What should you create? Stored procedure Using a stored procedure: improves performance because parsing is not required with each execution. An inline table-valued function: includes only a single SELECT statement. You can retrieve data sorted by the LastName column by using a: SELECT statement with a GROUP BY clause. Which statement shows a valid use of the CREATE VIEW statement? CREATE VIEW TopStudents AS SELECT TOP 10 FirstName, LastName, Grade FROM Grades ORDER BY Grades You execute the following query: SELECT LoanNumber, OriginalLoanAmt, InterestRate FROM Loan WHERE BorrowerID IN (SELECT BorrowerID WHERE BorrowerState='TX') What is this an example of? a subquery What data structure physically stores the data in a relational database table that has a single nonclustered index? Heap You have created a view using the statement shown in the exhibit. You need to modify the view so that only movies with a rating of G or PG are visible through the view. What should you use? An ALTER VIEW statement with a WHERE clause At a minimum, what is required within a column definition a CREATE TABLE statement? A column name and data type You are creating a relational database that will store information about physicians and their patients. Each patient may have more than one physician. Each physician may have multiple patients. What should you include? Three tables and two one-to-many relationships What statement is a data definition language (DDL) statement? ALTER You are creating a relational database that will be used to track car rentals. Each renter can rent multiple cars. A car can be rented by multiple drivers. You need to reduce the amount of redundant data. How should you store the car rental data? Create a Cars table, a Renters table, and a CarRentals table. You are creating a view restricting the visible rows using a WHERE clause. You need to ensure that no changes made through the view cause the data to not conform to the view's WHERE clause condition. What should you do? Include WITH CHECK OPTION in your CREATE VIEW statement. You have a relational database that stores information about projects within your organization. You have a Project table and a ProjectManager table as shown in the exhibit. Why would you issue a DML statement? To add a new project when a new project is launched You are creating a table that has a column named Description. The Description column must store a string between 1 and 3500 characters in length. The Description column must support text written in multiple languages. Which data type will require the least amount of storage space? a subquery What is one reason to denormalize a database? nvarchar(3500) You have database that has the Employees table shown in the exhibit. The MangerID column has a foreign key constraint that references the EmployeeID column. The ManagerID column allows Nulls. You need to write a query that retrieves a two-column result set that shows the full names of the employees who report to each manager and the employees who do not have an assigned manager. Which join type should you use? To improve data retrieval performance The TRUNCATE TABLE statement: deletes all rows from the table, but does not log each row deleted. Your database includes the tables shown in the exhibit. You need to users to query the ProductID, StoreID, Description, and Price for only products at stores in California. Which statement should you

Show more Read less








Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
September 30, 2023
Number of pages
4
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$15.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

Thumbnail
Package deal
AZURE FUNDAMENTALS CERTIFICATION EXAMS|ALL VERIFIED & GRADED A+|GUARANTEED SUCCESS
-
18 2023
$ 281.82 More info

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
BRAINBOOSTERS Howard Community College
View profile
Follow You need to be logged in order to follow users or courses
Sold
727
Member since
2 year
Number of followers
256
Documents
24785
Last sold
8 hours ago

4.5

350 reviews

5
270
4
31
3
23
2
6
1
20

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions