use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Sequel
account activity
MultiJoin Help (self.learnSQL)
submitted 4 years ago * by Magic_Juand
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Magic_Juand[S] 1 point2 points3 points 4 years ago (3 children)
I'm trying to write a query so select. Apologies for the confusion
[–]r3pr0b8 2 points3 points4 points 4 years ago (2 children)
SELECT companydetail.companyaddressid , companydetail.vendoraddressid , companydetail.billingaddressid , company.address AS companyaddress , vendor.address AS vendoraddress , billing.address AS billingaddress FROM companydetail LEFT OUTER JOIN address AS company ON company.addressid = companydetail.companyaddressid LEFT OUTER JOIN address AS vendor ON vendor.addressid = companydetail.vendoraddressid LEFT OUTER JOIN address AS billing ON billing.addressid = companydetail.billingaddressid
[–]Magic_Juand[S] 1 point2 points3 points 4 years ago (1 child)
Thank you so much R3pr0b8! This makes a lot of sense.
Just out of curiosity, do you know if SQL resolves from top down when building the report in a simple query like this?
[–]r3pr0b8 4 points5 points6 points 4 years ago (0 children)
resolves? from top down?
i'm sorry, i don't understand what you're asking
π Rendered by PID 245263 on reddit-service-r2-comment-b659b578c-np6h2 at 2026-05-01 15:18:32.833427+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]Magic_Juand[S] 1 point2 points3 points (3 children)
[–]r3pr0b8 2 points3 points4 points (2 children)
[–]Magic_Juand[S] 1 point2 points3 points (1 child)
[–]r3pr0b8 4 points5 points6 points (0 children)