So I have 2 tables. When I join them on code, if the date matches in both the tables show all the data along with Table B\'s extra data and also compute a column as Visit. I