syntax error: select DISTINCT name as ten from table_tags where com='dm2' and id_entry=