Click here to Skip to main content
15,894,955 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am Useing Access Database in Generate Error of Syntax Error Missing operator how to Solve ..


This is My Query,,

select Customer_detail.c_id,Productdetail.p_id,Productdetail.pro_name,Productdetail.rate,Customer_detail.c_name from saledetail INNER JOIN Productdetail ON saledetail.p_id=Productdetail.p_id INNER JOIN Salesbill on Salesbill.s_id=saledetail.s_id Inner join Customer_detail on saledetail.c_id=Customer_detail.c_id where Salesbill.billno=30;


Please Halp Me...

What I have tried:

I am try to many Time...
I am join of Four Table and Display into Crystal Report Generate.
Posted
Updated 24-Aug-17 23:06pm

1 solution

Try This, I think it will be helpful.

select 
Customer_detail.c_id,
Productdetail.p_id,
Productdetail.pro_name,
Productdetail.rate,
Customer_detail.c_name 
from 
((saledetail INNER JOIN Productdetail ON saledetail.p_id=Productdetail.p_id)
			 INNER JOIN Salesbill on Salesbill.s_id=saledetail.s_id)
			 Inner JOIN Customer_detail on saledetail.c_id=Customer_detail.c_id 
where 
Salesbill.billno=30;
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900