Pergunta de entrevista da empresa Lalamove

how you use SQL/Python to slove a problem? what's the result?