I was wondering if you could help me out with this.
Do you think this sentence is grammatically correct? Is it clear to understand?
"Do you want to have the same relationship you had with your parents with your children?
Do you want to have the same relationship with your children that you had with your parents?
Also, Shabani, you are up to 103 posts now. I'm sure you must have noticed the number of times that people are asked to give their posts more helpful titles. "Is it correct?" tells us nothing about the content. A good title would have been "Do you want to have the same relationship ...?"
Remember - if you don't use correct capitalisation, punctuation and spacing, anything you write will be incorrect.
I think the second one is clearer and conveys what I'm going to say.
I'm sorry emr2d2. Yes, you're right. I hadn't noticed it though.