Retail Insight interview question

Singleton design pattern,basic java questions ,SQL questions