> For the complete documentation index, see [llms.txt](https://smuddgge.gitbook.io/squishy-library/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://smuddgge.gitbook.io/squishy-library/database/tables.md).

# Tables

<pre class="language-java"><code class="lang-java">public class YourTableName extends Table&#x3C;YourTableName> {

<strong>    public static final @NotNull String TABLE_NAME = "test";
</strong>
    @Override
    public @NotNull String getName() {
        return TestTable.TABLE_NAME;
    }

    @Override
    public @NotNull TestRecord createEmpty(@NotNull PrimaryFieldMap identifiers) {
        return new TestRecord(identifiers.getString(TestRecord.IDENTIFIER_KEY));
    }
}
</code></pre>

This is the basics and normally is good enough.\
However, you can create your own tailored methods to help query your table.

```java
public @NotNull String getFirstValue() {
    return this.getFirstRecord().waitAndGet().getIdentifier();
}
```
