Note: This question is part of a series of questions that use the same or similar answer choices. An
answer choice may be correct for more than one question in the series. Each question is independent
of the other questions in this series. Information and details provided in a question apply only to that
question.
You create a table by running the following Transact-SQL statement:
You are developing a report that aggregates customer data only for the year 2014. The report requires that the
data be denormalized.
You need to return the data for the report.
Which Transact-SQL statement should you run?
How can this answer relates to The report requires that the data be denormalized ?
ANSWER SHOULD BE D
G
Example:
https://docs.microsoft.com/en-us/sql/relational-databases/tables/temporal-tables
SELECT * FROM Employee
FOR SYSTEM_TIME
BETWEEN ‘2014-01-01 00:00:00.0000000’ AND ‘2015-01-01 00:00:00.0000000’
WHERE EmployeeID = 1000 ORDER BY ValidFrom;