• In addition, please take the time to read and following the instructions in the first article I have referenced below in my signature block regarding asking for help.

    We really need the DDL (CREATE TABLE statement) for the table(s) involved, sample data (as a series of INSERT INTO statements) for each table, the expected results based on the sample data, and most importantly your code you are using now.

    Beyond that, all you are going to get based on an image is guess work, and my crystal ball hasn't worked in years.