Skip to content

Instantly share code, notes, and snippets.

@maxipavlovic
Created May 24, 2020 18:25
Show Gist options
  • Save maxipavlovic/3e2bef12a39906cbf6ad273a5ccfeb49 to your computer and use it in GitHub Desktop.
Save maxipavlovic/3e2bef12a39906cbf6ad273a5ccfeb49 to your computer and use it in GitHub Desktop.
SELECT "example_product"."id", "example_product"."name", "example_product"."category_id", "example_product"."company_id", "example_category"."id", "example_category"."name"
FROM "example_product"
LEFT OUTER JOIN "example_category" ON ("example_product"."category_id" = "example_category"."id")
WHERE "example_product"."name" LIKE 'Connect%' ESCAPE '\'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment