I just started from scratch and it worked on my end. Tried both MIn() and Max() and it gave what I was expecting.
I did notice a couple of things:
1. When I told you I added column 1, I forgot to mentioned I initialized it to sequential numeric. IE I basically replicated the row number.
2. Noticed you use the brackets around the table name, and the table name ends in "$". Those are MS take on SQL. Try eliminating those.
3. Can't remember if I told you to hit the update button in the custom sql window or not, but seems to help me before I run query.