defining sql types