select datatype, datatype
from acs_datatypes
order by datatype
select attribute_name
from acs_attributes
where object_type = :object_type
select attribute_name
from acs_attributes
where attribute_id = :attribute_id
select attribute_name, pretty_name, pretty_plural, datatype, default_value
from acs_attributes
where attribute_id = :attribute_id