Database: row normalization is required for SQLite3 too (it's not needed for table selects, but is needed for view selects) [Closes #1054]