Jesus is rebuking the Pharisees for not learning from the scriptures. This can be written as a statement. Alternate translation: "You should learn from what you have read about what David did ... him!" or "Certainly you have read what David did ... him!"