Add support for source data extraction SQL queries