Unknown column 'datirovannye' in 'where clause'
SELECT photoID FROM `SC_product_pictures` where productID=datirovannye