\begin{lstlisting}[title="", nolol=true, language = sql]
Quellcode
\end{listing}
Durch die Konstellation
\caption{Titelbezeichnung.\protect\footnotemark}Dies kann folgendermaßen behoben werden:
\begin{document}
\let\footnotemark\relax
\listoffigures
\listoftables
\lstlistoflistings
% end of the document
\end{document}