5
Well yes in theory that is true.
But when you write php, each function queries a certain database.
For example mysql_connect(x,y,...) connects to a MySQL database server.
Therefore the programmers should write different code for different DBMS .
Moreover, each DBMS has its own syntax (they differ slightly)
It would be interesting to know if such a solution exists