LEADEquivalents for analytic functionsMySQL. Usage of query variablesLAG and LEAD functionsWindow functions