made mysql query to insert names into varchar atts table.