Minggu, 07 November 2010

Why LEFT JOIN doesn't bring all records from the LEFT table?

I want to discuss a problem I am sure many of us encountered at least once in our life. I myself made this common mistake at least two times before I learned it by heart and now can easily recognize and point others to it. Let's consider this typical life scenario - bring all customers and their order records. If the customer doesn't have any order, let's bring this customer anyway. USE

Tidak ada komentar:

Posting Komentar