Pergunta de entrevista da empresa Fidelity Investments

Code isSquare(). Asked some SQL questions