Hi there ,I am having a requirement where I need to pass multiple aggregated soqls(6) on single object with different where clause to apex batch start method and run the logic in execute method and schedule that batch class to run nightly base.as for as I know we can pass only one soql to start methodglobal Database.Querylocator start (Database.BatchableContext BC) { return Database.getQueryLocator(Query);}But what I want is global Database.Querylocator start (Database.BatchableContext BC) { Database.getQueryLocator(Query1); Database.getQueryLocator(Query2); Database.getQueryLocator(Query3); Database.getQueryLocator(Query4); Database.getQueryLocator(Query5);}You may say why don't you write single batch each query . I different queries(50) with different where clause .If I write at least multiple queries in one batch class I can decrease number batch scheduled class.
You implement only one query in start method.i will suggest, to query all possible data in start and filter data for diffrent logic in Execute method.Please mard answer as best if it helped anyway.