Hello ,
I have two tables that are Customer and Bill.
Customer table has the following fields
CustomerId,Name ,Address,PhoneN o
Bill table has the following fields
Billno,Customer Id,Date,Amount
Now i am able to find the records who have paid the bill using the followin query.
select *from Bill,CustomerId where Bill.CustomerId =Customer.Custo merId
I am not able to find the records who have not paid the bill.... That is I have to fetch the records that are present in Customer table not in Bill table
Please any one send me the query for this...
Thank you
I have two tables that are Customer and Bill.
Customer table has the following fields
CustomerId,Name ,Address,PhoneN o
Bill table has the following fields
Billno,Customer Id,Date,Amount
Now i am able to find the records who have paid the bill using the followin query.
select *from Bill,CustomerId where Bill.CustomerId =Customer.Custo merId
I am not able to find the records who have not paid the bill.... That is I have to fetch the records that are present in Customer table not in Bill table
Please any one send me the query for this...
Thank you
Comment