There are two tables one transaction and other customer. I am getting multiple rows of customerid
and service time, but I want customer name (which is in customer table) and service time. So I tried below query which is not working.
select name,service_time from CUSTOMER,TRANSACTION
WHERE id IN
(
select customer_id,service_time from TRANSACTION
where service_date='$date' and employee_id='$employee_id'
);