The document contains a SQL query that counts the number of case filings from the case_detail tables of multiple databases representing different cities in India, for the date range between 2023-12-11 to 2023-12-12. It runs the count query for each city database individually and combines the results using UNION ALL to get the total count across all cities for the given date range.
The document contains a SQL query that counts the number of case filings from the case_detail tables of multiple databases representing different cities in India, for the date range between 2023-12-11 to 2023-12-12. It runs the count query for each city database individually and combines the results using UNION ALL to get the total count across all cities for the given date range.
The document contains a SQL query that counts the number of case filings from the case_detail tables of multiple databases representing different cities in India, for the date range between 2023-12-11 to 2023-12-12. It runs the count query for each city database individually and combines the results using UNION ALL to get the total count across all cities for the given date range.
11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from ahmedabad2.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from allahabad.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from aurangabad.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from bangalore1.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from bangalore2.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from chandigarh1.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from chandigarh2.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from chandigarh3.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from chennai1.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from chennai2.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from chennai3.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from coimbatore.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from cuttack.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from dehradun.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from delhi.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from delhi2.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from delhi3.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from ernakulam1.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from ernakulam2.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from guwahati.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from hyderabad1.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from hyderabad2.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from jabalpur.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from jaipur.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from kolkata1.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from kolkata2.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from kolkata3.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from lucknow.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from madurai.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from mumbai1.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from mumbai2.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from mumbai3.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from nagpur.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from patna.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from pune.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from ranchi.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from siliguri.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all select count(filing_no) from visakhapatnam.case_detail where '2023-12- 11'<dt_of_filing<'2023-12-12' union all