"SELECT * FROM MetadataFieldRegistry ORDER BY element, qualifier");
"SELECT mfr.* FROM MetadataFieldRegistry mfr, MetadataSchemaRegistry msr where mfr.metadata_schema_id= msr.metadata_schema_id ORDER BY msr.short_id,  mfr.element, mfr.qualifier");
    public static MetadataField[] findAll(Context context) throws SQLException    {        List fields = new ArrayList();        // Get all the metadatafieldregistry rows        TableRowIterator tri = DatabaseManager.queryTable(context, "MetadataFieldRegistry",                        "SELECT * FROM MetadataFieldRegistry ORDER BY element, qualifier");        // Make into DC Type objects        while (tri.hasNext())        {            fields.add(new MetadataField(tri.next()));        }        // close the TableRowIterator to free up resources        tri.close();        // Convert list into an array        MetadataField[] typeArray = new MetadataField[fields.size()];        return (MetadataField[]) fields.toArray(typeArray);    }