Question d’entretien chez Smoothstack

What is the SQL and NON-SQL database? What's the singleton class in Java?