MySQL Error:
select * from sm_exc_dd,sm_exc_sales,sm_exc_sales_details where sm_exc_sales.ID=sm_exc_sales_details.Pid and sm_exc_dd.sdid= sm_exc_sales_details.ID and Dtid=
Error Info:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1