On 7 Jan 2018, at 6:16pm, Bart Smissaert <bart.smissa...@gmail.com> wrote:
> Would it be possible somehow to get the column full name if there is a
> column alias?
> For example if we have:
> select max(ID) as MaxID from table1
> then I need to get max(ID) from the statement pointer.
> One would think that if sqlite3_column_name can get the alias name then
> somehow it must
> be possible to get the real column name.
Suppose you had this
SELECT (a + b) AS theSum FROM myTable
What would the "real column name" be ?
sqlite-users mailing list