Support for custom table data queries