@MuhammadFayaz, I moved your question to the Python space because it appears you are using ArcMap and are likely talking ArcPy instead of ArcGIS API for Python.
There are several ways to accomplish what you want, but the best way depends on how you intend to process the records after selecting them. If you can share that, people can chime in with a specific approach that might work best.