---
title: Example
slug: rdb/essentials-guide/example
createdAt: 2026-11-05T09:24:42.121Z
---

The following example shows how Reporting Database creates a value for use in the database.

Suppose Reporting Database needs to update the compliance column of the **mi\_device** table with the **COMPROMISED&#x20;**&#x66;lag and the **OS\_VERSION** flag.  

Then, the value of compliance would be
**COMPROMISED | OS\_VERSION**, which is **0x000001 | 0x000002 = 0x000003 = 3**.
