You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 2, 2026. It is now read-only.
select*from graph_table (students_graph
match (p1 is person) -[e is friends]- (p2 is person)
wherep1.name='Mary'
columns (
e.friendship_id,
e.meeting_date
)
)
order by friendship_id;
select*from graph_table (students_graph
match (p1 is person) -[e is friends]- (p2 is person)
wherep1.name='Mary'
columns (
e.friendship_id,
e.meeting_date,
case
when p1 is source of e then
p1.name
else
p2.name
end as from_person,
case
when p1 is destination of e then
p1.name
else
p2.name
end as to_person
)
)
order by friendship_id;