HOTSPOT -
Note: This question is part of a series of questions that use the same scenario. For your convenience, the scenario is repeated in each question. Each question presents a different goal and answer choices, but the text of the scenario is exactly the same in each question in this series.
You query a database that includes two tables: Project and Task. The Project table includes the following columns:
You need to identify the owner of each task by using the following rules:
✑ Return each task's owner if the task has an owner.
✑ If a task has no owner, but is associated with a project that has an owner, return the project's owner.
✑ Return the value-1for all other cases.
How should you complete the Transact-SQL statement? To answer, select the appropriate Transact-SQL segments in the answer area.
Hot Area:
Tazul
Highly Voted 5 years, 9 months agochaoxes
Highly Voted 4 years, 9 months agoAnirudh_net
Most Recent 3 years, 2 months agoOooo
4 years, 8 months agostm22
4 years, 10 months agoJoeyboats
4 years, 10 months agoBacky
4 years, 10 months agoCristianCruz
4 years, 12 months agoAndy7622
4 years, 6 months agoAnette
5 years agotrickytree
5 years agoHamburger
5 years, 2 months agoRobintang0924
5 years, 4 months agomlourinho
5 years, 6 months agoprakash101179
5 years, 7 months agoTr4ckz
5 years, 8 months agoLuzix
4 years, 6 months agoHoglet
4 years, 5 months agoM4x
5 years, 8 months ago