# Function alias

- alias<
  TTable extends
  | SQLiteTable<TableConfig>
  | SQLiteViewBase<string, boolean, ColumnsSelection>,
  TAlias extends string,
  >(
  table: TTable,
  alias: TAlias,
  ): BuildAliasTable<TTable, TAlias>

  #### Type Parameters

  - TTable extends SQLiteTable<TableConfig> | SQLiteViewBase<string, boolean, ColumnsSelection>
  - TAlias extends string

  #### Parameters

  - table: TTable
  - alias: TAlias

  #### Returns BuildAliasTable<TTable, TAlias>

  - Defined in node_modules/.pnpm/drizzle-orm@0.44.6_@cloudflare+workers-types@4.20251014.0_@opentelemetry+api@1.9.0_@typ_31a6f5ca8f102af87864dd251ed08d88/node_modules/drizzle-orm/sqlite-core/alias.d.ts:4