Fixed #19926 -- Fixed a link to code example in queries docs

Thanks Randy Salvo for the report.