create and retrieve for hobby to sql