Pergunta de entrevista da empresa HedgeServ

What is an inner join? How do you determine the optimal number of worker threads? What is a deadlock? What is an algorithm to prevent deadlocks? What is a formula for determining the sum of integers from 1 to n? Optionally provide a mathematical proof for the correctness of the formula.