support for qualified columns with database prefix