The Select By Attributes tool does not generate the correct SQL syntax for records with a single quotation mark and returns an error message: "Error 000358: Invalid expression" when using a raster layer which has been joined to a table in ArcGIS Pro 3.2.