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 | $ | |
---|---|---|
PLANAXIS SULCATUS |
3.00 | |
TEREBRA ALBOMARGINATA |
8.00 | |
CRYOTOSPIRA VENTRICOSA |
4.00 | |
ANGARIA DELPHINUS |
12.00 | |
TEREBRA FUNICULATA |
3.00 | |
CENTROCARDIA SAGAMIENSIS |
12.00 | |
ANGARIA cf. POPPEI |
6.00 | |
Total: | 48.00 |