Click here to Skip to main content
13,355,018 members (57,372 online)
Rate this:
 
Please Sign up or sign in to vote.
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 12-Aug-17 10:24am
Updated 25-Aug-17 0:06am

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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;
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy |
Web01 | 2.8.180111.1 | Last Updated 25 Aug 2017
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100