Ad
  • Custom User Avatar
  • Custom User Avatar

    Ah now I see why the problem, I use SQL Server and I know from there that the LOG() function is a logarithm of base e. In your case, by using PostgreSQL, the LOG() function is a logarithm of base 10. And that's a problem because by using two different SQL softwares there is this sort of misunderstanding. In fact, by using SQL Server logarithm of base 10 is LOG(number, 10) and it gave me an error. Now I see why, thanks.

  • Custom User Avatar

    There is a problem about the description of the exercise, which is that you wrote "logarithm of base 10 of number2" which in reality was natural logarithm that has a base of "e" number.