An Error Was Encountered

Error Number: 1064

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 ', bold_data WHERE' at line 3

SELECT,count(DISTINCT( as barcode_num FROM bold_images,, bold_data WHERE AND = bold_images.taxa_key AND AND bold_images.barcodes > 0 AND bold_data.order_name='trogoniformes' GROUP BY name