AMDP – Inner Join on 1 = 1

light111Inner join on 1 = 1

In most of the case in an INNER JOIN – the join condition can be made on the fields but here i found some thing where we can make the INNER JOIN condition as ON 1 = 1 which is always true and then provide the field in the where clause.

Here the test report-

Debug details-

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s