hello
i have a table contains two fields
first field = Date
second Field = codes
01/01/2017 | 105, 201
05/03/2017 | 105, 901
01/01/2018 | 105, 201
07/08/2018 | 901,902
One Code
i want to count the code 901 from today and one year back so i will get (1)
105 from today and five years back i...