Question 250
A query against node and edge tables must retrieve people linked by a specified referral edge. Which acceptance check should accompany the remediation?
Explanation
Correct Answer
MATCH expresses graph patterns over node and edge relationships in SQL graph queries. The observation “Only relationships present in the graph edge table appear in query output” directly confirms the chosen action worked for this situation: A query against node and edge tables must retrieve people linked by a specified referral edge.
Incorrect Answers
Outer joins preserve unmatched left rows; aggregate semantics require choosing COUNT expressions carefully. This observation would not establish that the required result occurred for A query against node and edge tables must retrieve people linked by a specified referral edge. The confirming test is: Only relationships present in the graph edge table appear in query output.
JSON array aggregation preserves JSON structure rather than emitting unsafe concatenated text. This observation would not establish that the required result occurred for A query against node and edge tables must retrieve people linked by a specified referral edge. The confirming test is: Only relationships present in the graph edge table appear in query output.
DEFAULT supplies a value only when a column is omitted or DEFAULT is requested; it is not a replacement for CHECK validation. This observation would not establish that the required result occurred for A query against node and edge tables must retrieve people linked by a specified referral edge. The confirming test is: Only relationships present in the graph edge table appear in query output.