Infosys interview question

Explain Decorators, working of threading, sql and all