@classmethod
def create(cls, name, encoding=None, collation=None):
    """Query to create a database."""
    statement = 'CREATE DATABASE "{name}"'.format(name=name)
    if encoding is not None:
        statement += " ENCODING = '{encoding}'".format(encoding=encoding)
    if collation is not None:
        statement += " LC_COLLATE = '{collation}'".format(collation=collation)
    return statement
