This query is based on a transaction table.
SELECT Ecode,COUNT(*) AS recvd FROM Transaction_tbl WHERE Locid=5 AND dtime BETWEEN '5/1/2013 00:00:00' AND '6/10/2013 23:59:59' GROUP BY Ecode ORDER BY Ecode DESC
during the execution of this request, I exit like this:
Ecode recvd E003 24 E001 2
I have another table, such as Master Employee, the corresponding name is Employee is save, how can I join this table to the table of employee workshops.
I want to get out of this
Ecode Ename Recvd E003 jas 24 E001 deepu 14
user2432269
source share