from typing import Sequence


def build_cql_insert_stmt(columns: Sequence[str], table: str) -> str:
    """Create CQL insert statement for specified columns and table name."""

    return "INSERT INTO %s (%s) VALUES (%s);" % (
        table,
        ", ".join(columns),
        ("?," * len(columns))[:-1],
    )