its not DBMS for sure
i tried same sql code with C++ and ODBC and i get error message
i tried it with command line osql
and i get
Msg 8134, Level 16, State 1, Server FIENYSQL, Line 6
Divide by zero error encountered.
Re^2: DBI ignoring devide by zero
Replies are listed 'Best First'.