what were you doing和whar you were doing的区别

问题描述:

what were you doing和whar you were doing的区别
书上有what were you dong也有what you were doing,请问区别是什么

如果是疑问句,就说what were you dong?
如果在宾语从句中,因为宾语从句要求用陈述语序,所以就应说what you were doing
如 I don't know what you were doing.