add sub-query in table and column, and tested it.