Unidentified shells
query error 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 'AND )
ORDER BY Family, tbl604_conchylinet_shells.TaxonId' at line 4
try again later
SELECT tbl602_conchylinet_taxons.*, tbl604_conchylinet_shells.*, tbl606_conchylinet_sites.*
FROM (tbl602_conchylinet_taxons
INNER JOIN tbl604_conchylinet_shells ON tbl602_conchylinet_taxons.taxonID = tbl604_conchylinet_shells.TaxonId)
INNER JOIN tbl606_conchylinet_sites ON tbl604_conchylinet_shells.SiteId = tbl606_conchylinet_sites.ID_Location WHERE ((tbl602_conchylinet_taxons.Class) = "" AND (tbl602_conchylinet_taxons.Family)="" AND (tbl606_conchylinet_sites.Province)="" AND (tbl606_conchylinet_sites.Country)="" AND (tbl602_conchylinet_taxons.taxonLevel)<8 AND (tbl604_conchylinet_shells.Size) BETWEEN AND )
ORDER BY Family, tbl604_conchylinet_shells.TaxonId;