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 '*,orders.cusnum AS d_cusnum from
LEFT JOIN orders ON .ref = orders.ref
where .' at line 1
Shell | $ | |
---|---|---|
PSEUDOLATIRUS PALLIDUS |
15.00 | |
CHICOREUS BANKSII CROCATUS |
20.00 | |
CHAMA DUNKERI |
5.00 | |
Total: | 40.00 |