PrepAway - Latest Free Exam Questions & Answers

Tag: Exam 70-762

Exam 70-762: Developing SQL Databases

Which Transact-SQL statement should you use?

You develop a Microsoft SQL Server 2012 server database that supports an application. The application contains a table that has the following definition:
CREATE TABLE Inventory
(ItemID int NOT NULL PRIMARY KEY,
ItemsInStore int NOT NULL,
ItemsInWarehouse int NOT NULL)
You need to create a computed column that returns the sum total of the ItemsInStore and ItemsInWarehouse values for each row.
Which Transact-SQL statement should you use?


Page 13 of 13« First...910111213