Hi @Shubh Garg
From what I've searched, SQL Server hasn't tracked licenses since many years ago (before SQL Server 2008), and doesn't store license information in SQL Server at all. You will need to keep track of your license documents or proof of purchase yourself. You can retrieve the product key from the registry.
For more details, you can refer to these links: https://social.msdn.microsoft.com/Forums/sqlserver/en-US/42b03abd-cc56-4236-8e70-158c1dfb3dab/how-to-check-the-sql-server-license-which-i-installed?forum=sqlsecurity
For question regarding pricing / licensing please contact a Microsoft sales partner or licensing expert.
Call (1-800-426-9400), Monday through Friday, 6:00 AM to 6:00 PM PST to speak directly to Microsoft licensing specialist.
Best regards,
Aniya