Question: what is the difference between domain and data-type?
Answer: A data type determines what type of values can be stored in a column. Eg int allows all whole numbers between implementation dependent boundaries, whereas numeric(3,1) allows for numbers between -99.9 and 99.9, with one decimal place accuracy. A domain defines exactly which values are allowed.