Data mining is a relatively new tool that allows finding out unknown associations in databases. Its use in medicine is scarce and therefore in diabetes. We describe basic notions with hypothetic examples regarding diabetes, to apply in our daily practice.