Here's why:
* Missing subject: The sentence is missing a subject after "You." It should be "Did you say..."
* Word order: "Correct grammar" should be placed after "say" to make the sentence flow better.
Here's a corrected version:
Did you say that sentence has correct grammar?
Let me know if you have any other questions!