SQL: SELECT DISTINCT group_type FROM surfaces s JOIN surface_type st ON s.surface_id = st.id WHERE lcase(type)= 'granite' ORDER BY group_type