+ " AND mapValue LIKE 'SLAVE' "
+ " AND mapSubKey IN ((SELECT [*]id FROM :LIVEINSTANCES)) "
+ " ORDER BY parseInt(getMapFieldValue(getZNRecordFromMap(:scnMap, mapSubKey), 'SCN', mapKey))";
ClusterJosqlQueryProcessor p = new ClusterJosqlQueryProcessor(manager);
List<Object> result = p.runJoSqlQuery(SQL, bindVariables, null);
int prevSCN = -1;
for (Object row : result) {
List<String> stringRow = (List<String>) row;
Assert.assertTrue(stringRow.get(1).equals("SLAVE"));
int scn = Integer.parseInt(stringRow.get(2));