In addition to above, you can install SQL Server Management Studio on your local machine
Here a link to Download SQL Server Management Studio (SSMS) and connect to your SQL Server and database using admin account and password. You can find the name of the server and admin login from the portal.
Poral View-
SSMS View
Connect to your database and run the mentioned query.
if you don't have database, you can create sample database from the portal.
You can refer below YouTube video. Set Up Microsoft Azure SQL Server and SQL Database (Step-By-Step Tutorial)
https://youtu.be/6joGkZMVX4o?si=BV_6Sdo20K3rfbPe
Hope this helps!
Thank You