An Error Was Encountered

Error Number: 1054

Unknown column 'bold_images.name' in 'field list'

SELECT bold_data.name,count(DISTINCT(bold_images.name)) as barcode_num FROM bold_data LEFT JOIN bold_images ON bold_data.id = bold_images.taxa_key WHERE bold_images.barcodes > 0 AND bold_data.order_name='ciconiiformes' GROUP BY name