There are separate queries attached to this solution - one for Biotics5 (Oracle SQL) and one for Biotics6 (PostgreSQL).
WHY PERFORM THE QC: This query identifies data discrepancies between the information in the ELEMENT_SUBNATIONAL and EO records.
WHAT THE QUERY DOES: This query selects species EOs with an SRANK of "SX" or "SH" and with an EORANK value that is NOT “X”, “H”, or “F” (or is null).
ACTION: Review the SRANK or EORANK values and make updates as needed.