SELECT FT.* FROM firsttable FT INNER JOIN secondtable ST ON FT.reportid = ST.reportid AND date = 'date here'
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)