---
description: Subtracts number from database.
---

# Subtract

### Ussage

```sql
db.subtract(database, value[number])
```

### Examples

```javascript
// Health = 100
db.subtract("health", 10)
// Health = 90
```
