hocus sql to test php functionality