Does Postgresql and Mysql use different SQL:s?
I have a book, Head First SQL. If they are different, how do I know which database SQL it is?
Does Postgresql and Mysql use different SQL:s?
I have a book, Head First SQL. If they are different, how do I know which database SQL it is?
Each database vendor will use a good amount of ANSI SQL with their own proprietary extensions on top of it. So while something like ISNULL is proprietary, MySQL and SQL Server use it, you could use COALESCE which is supported by Postgresql , MySQL, SQL Server and others. Unfortunately you will have to go through the documentation and see what each vendor supports.....it will take time
Here's how MySQL implements standard SQL http://dev.mysql.com/doc/refman/5.1/en/compatibility.html
These two comparisons are also very good: