mysql and pgsql examples