If you stick to ANSI SQL92 , everything will be fine.
There are some SQL92 functions that are missing in both MySQL and SQLite (for example, FULL OUTER JOIN). MySQL has both the right join and LEFT JOIN, SQLite only LEFT JOIN. SQLite does not support FOREIGN KEY constraints, or MySQL with MyISAM tables. SQLite, of course, does not have GRANT / REVOKE, since the permission system is based on the basic permissions of the OS file.
source share