Adds a new target to a SELECT statement. If there already exists a target representing the same table and the same alias (or with the same absence of alias) then the same target ID is returned instead of the ID of a new target.
the ID of the expression holding a table reference (not 0)
the alias to give to the target, or null
the ID of the new (or existing) target, or 0 if there was an error
Adds a new target to a SELECT statement. If there already exists a target representing the same table and the same alias (or with the same absence of alias) then the same target ID is returned instead of the ID of a new target.