Hello,

I am trying to calculate group means by using the sqldf package in R.However I am getting an error:

What has to be done here?I am aware of functions such as aggregate and apply which can do the same but I am interested in using this package so can somebody kindly point out where the error is