Skip to content

Instantly share code, notes, and snippets.

@no1xsyzy
Created April 23, 2021 08:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save no1xsyzy/5391a79203b0ee64aec7c7de46b028f2 to your computer and use it in GitHub Desktop.
Save no1xsyzy/5391a79203b0ee64aec7c7de46b028f2 to your computer and use it in GitHub Desktop.
SELECT creation.subject_id
FROM creation
JOIN item
ON creation.object_id = item.id
SELECT item.creation_subject_id
FROM item
SELECT customer.display_name
FROM customer
JOIN creation
ON customer.id = creation_subject_id
JOIN item
ON creation.object_id = item.id
SELECT customer.display_name
FROM customer
JOIN item
ON customer.id = item.creation_subject_id
SELECT item.creation_subject_user_display_name
FROM item
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment