How to get the value of a column from a subpanel using a SQL query?

Does this help?