SQL example working again

I couldn't get the current version working, so I forked it and updated some dependencies and it works now. I also fixed the auto_detect_dependency warning.