Query database for schema version.