Fixed RANDOM() statement for SQLite, Oracle and Firebird

Fixed issue #1 Use RANDOM() for SQLite-databases