# testschema

## Viewpoints

| Name | Description |
| ---- | ----------- |
| [table a b](viewpoint-0.md) | select table a and b |
| [label blue](viewpoint-1.md) | select label blue |
| [label green](viewpoint-2.md) | select label green |
| [table a label red](viewpoint-3.md) | select table a and label red<br><br>- table a<br>- label red |

## Tables

| Name | Columns | Comment | Type | Labels |
| ---- | ------- | ------- | ---- | ------ |
| [a](a.md) | 2 | TABLE A |  | `blue` `green` |
| [b](b.md) | 2 | table b |  | `red` `green` |

## Relations

```mermaid
erDiagram

"b" }|--|| "a" : "FOREIGN KEY (b) REFERENCES a(a)"

"a" {
  INTEGER a PK
  TEXT a2
}
"b" {
  INTEGER b FK
  TEXT b2
}
```

---

> Generated by [tbls](https://github.com/k1LoW/tbls)
