Nium interview question

Write an sql query to join two tables What are different ML algorithms