I have seen a row like this in the SELECT part of a mysql query:
@acc:=`account`.`accountid` AS `accountid`
In other parts of the query they use it like:
WHERE `accountid`=@acc
What does @acc:= mean?
I have seen a row like this in the SELECT part of a mysql query:
@acc:=`account`.`accountid` AS `accountid`
In other parts of the query they use it like:
WHERE `accountid`=@acc
What does @acc:= mean?