how many pseudoephedrine prescriptions have been given until 3 years ago?
select count(*) from prescriptions where prescriptions.drug = 'pseudoephedrine' and datetime(prescriptions.startdate) <= datetime(current_time,'-3 year')