SQLite Forum

Feature Request : Get table name alias from prepared statement
Login
>  The only thing one can get now is the original table name.

Are you sure?

<https://www.sqlite.org/capi3ref.html#sqlite3_column_name>

> These routines return the name assigned to a particular column in the result set of a SELECT statement.  ... The name of a result column is the value of the "AS" clause for that column, if there is an AS clause. If there is no AS clause then the name of the column is unspecified and may change from one release of SQLite to the next.