CCL terminology query and mysql insert.