# Type Alias SubqueryWithSelection<TSelection, TAlias>

SubqueryWithSelection: Subquery<
TAlias,
AddAliasToSelection<TSelection, TAlias, "sqlite">,
> & AddAliasToSelection<TSelection, TAlias, "sqlite">

#### Type Parameters

- TSelection extends ColumnsSelection
- TAlias extends string

- 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/subquery.d.ts:6