Why does full-text search inside titles return error
Actually, there is a way to workaround this, just add intitle:
prefix to your search term:
srsearch=intitle:sql
You can find an explanation here: https://en.wikipedia.org/wiki/Help:Searching#Parameters
It means that the search engine Wikipedia uses (Lucene, I believe) does not support title search.