I assume that you only issue the SQL statement, since you are saying that you want to see "source SQL from your end." It is best then to get the database trace as suggested.
I want to note that even if your SQL returns the expected result in the test database, the same SQL may return an unexpected result in another database, because the data may be different: the data may be damaged, indexes may exist or may not exist, restrictions may be defined or not, etc. Definitely, you need to get trace from the database in order to be able to move forward.
source
share