I have two tables i write a query to get datas from first table where 'empid' is matching with second table.
Table name 1:tblBillPay_details
Table name 2:tblBillPayViewID
Query is:
SELECT tblBillPay_details.*
FROM tblBillPay_details INNER JOIN
tblBillPayViewID ON tblBillPay_details.EmpID = tblBillPayViewID.Allviewid
WHERE (tblBillPayViewID.Allviewid = '00174')
00174 is the empid here.
It must be a simple solution but here the query fetches nothing.
Advance thanks for help.
Table name 1:tblBillPay_details
Table name 2:tblBillPayViewID
Query is:
SELECT tblBillPay_details.*
FROM tblBillPay_details INNER JOIN
tblBillPayViewID ON tblBillPay_details.EmpID = tblBillPayViewID.Allviewid
WHERE (tblBillPayViewID.Allviewid = '00174')
00174 is the empid here.
It must be a simple solution but here the query fetches nothing.
Advance thanks for help.