Some simple DB patterns implemented onto of MySQL