Hi @Saurabh Tiwari

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

Answer from RahulRandive on learn.microsoft.com
🌐
W3Schools
w3schools.com β€Ί sql β€Ί sql_editor.asp
SQL Online Editor (Compiler)
With our online SQL editor, you can edit SQL statements, and view the result in your browser. ... Click on the "Try it Yourself" button to see how it works. If you want to create your own website, or web applications with a SQL database, W3Schools Spaces gives you an easy place to write, run, manage, and publish code online.
🌐
MyCompiler
mycompiler.io β€Ί home β€Ί online sql editor
Online SQL Editor & Code Runner
Online SQL Editor - Edit and Run your SQL scripts with myCompiler. Simple and easy to use IDE to edit, run and test your SQL code.
People also ask

How do I run SQL code online with myCompiler?
Simply open the SQL editor, write or paste your code, and click the Run button. Your code will be executed on our servers and the output will appear in the terminal panel within seconds.
🌐
mycompiler.io
mycompiler.io β€Ί home β€Ί online sql editor
Online SQL Editor & Code Runner
How to run Sql code online?
Write SQL in the editor - CREATE TABLE, INSERT, SELECT, JOIN, GROUP BY, and most standard SQL syntax. The page runs your queries against an in-browser SQLite engine. Click Run and the result rows appear in the output. State persists during your session, so you can build a schema and query it across runs.
🌐
freeonlinecompiler.com
freeonlinecompiler.com β€Ί home β€Ί sql
Online SQL Compiler – Run SQL Queries Online Free | freeonli...
How fast does SQL code run on myCompiler?
Execution is fast. Code runs on our optimized cloud infrastructure and output typically appears within seconds. Execution time depends on the complexity of your program.
🌐
mycompiler.io
mycompiler.io β€Ί home β€Ί online sql editor
Online SQL Editor & Code Runner
🌐
W3Schools
w3schools.com β€Ί sql β€Ί trysql.asp
SQL Tryit Editor v1.6
You are now using a light-version of the Try-SQL Editor, with a read-only Database. If you switch to a browser with WebSQL support, you can try any SQL statement, and play with the Database as much as you like.
🌐
W3Schools
w3schoolsua.github.io β€Ί sql β€Ί sql_editor_en.html
SQL Online Editor (Compiler). Lessons for beginners. W3Schools in English
SQL Online Editor (Compiler). Publish Your Code. Learn Faster. Easy Package Management. Build Powerful Websites. Share Your Website With The World. How Does It Work? Lessons for beginners. W3Schools in English
🌐
W3schools
w3schools.dev β€Ί sql β€Ί sql_editor.asp
SQL Online Editor (Compiler)
With our online SQL editor, you can edit SQL statements, and view the result in your browser. ... Click on the "Try it Yourself" button to see how it works.
🌐
Programiz
programiz.com β€Ί sql β€Ί online-compiler
Online SQL Editor
The best SQL Editor to Run SQL queries online for free.
Find elsewhere
🌐
G Solutions
freeonlinecompiler.com β€Ί home β€Ί sql
Online SQL Compiler – Run SQL Queries Online Free | freeonlinecompiler.com
March 26, 2026 - Yes, CREATE TABLE is the right way to set up a small SQL example. Keep the schema tiny at first: an id column, a name column, and maybe one category or date column. Insert three or four rows, run SELECT *, then add filters or joins after the ...
🌐
SQL Online AiDE
sqliteonline.com
SQL Online IDE - Fast SQL Editor | SQL Compiler
UPD left menu, ADD multi >-< multi databases DEL Share sqlite DB ADD Share cloud script UPD 1001 micro-modifications Remove lib MetisMenu ... ADD select query(text) RUN.
🌐
W3Schools
w3schools.com β€Ί Sql
SQL Tutorial
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
🌐
OneCompiler
onecompiler.com β€Ί sqlserver
SQL Server Online Editor & Compiler
OneCompiler's SQL Server online editor helps you to write, debug, run and test SQL Server code/ queries online.
🌐
MyCompiler
mycompiler.io β€Ί new β€Ί sql
Create a new SQL project - myCompiler
Online SQL Editor - Edit and Run your SQL scripts with myCompiler. Simple and easy to use IDE to edit, run and test your SQL code.
🌐
W3Schools
w3schools.com β€Ί MySQL β€Ί mysql_editor.asp
MySQL Online Editor
If you want to create your own website or web applications with a SQL database, W3Schools Spaces gives you an easy place to write, run, manage, and publish code online.
🌐
CodeChef
codechef.com β€Ί sql-online-compiler
Online SQL Compiler
Welcome to our AI-powered online SQL compiler and interpreter, the perfect platform to run and test your SQL queries efficiently. Our tool makes coding easy for developers of any skill level, whether you're a beginner or experienced.
🌐
ExtendsClass
extendsclass.com β€Ί sql-online.html
SQL online compiler
Enter your SQL query in the editor, finally click on "Run" to execute it.
🌐
Great Learning
mygreatlearning.com β€Ί blog β€Ί online sql compiler
Online SQL Compiler and Editor
May 9, 2025 - Run your code to see the output here. Loading Schema... Loading Tables... The tool loads instantly with two pre-built sample tables: employees and orders. Schema tab: View the structural blueprints, including column names and data types (e.g., INTEGER, VARCHAR). Tables tab: Access the complete raw data currently stored in the database. Use the professional code editor to write custom SQL commands.
🌐
WsCube Tech
wscubetech.com β€Ί resources β€Ί sql β€Ί compiler
Online SQL Editor (Compiler) | Fast & 100% Free
Open the SQL Compiler: Visit the WsCube Tech SQL Compiler page directly in your web browser. Choose a Sample Database or Create One: Use the default database provided or design your own tables and records.
🌐
JDoodle
jdoodle.com β€Ί execute-sql-online
Online SQL Compiler | JDoodle
Execute and debug SQL queries effortlessly with JDoodle's advanced online SQL compiler. Enhance your SQL programming skills in our intuitive, user-friendly environment.
🌐
OneCompiler
onecompiler.com β€Ί plsql
PL/SQL Online Editor & Compiler
Dynamic SQL builds and executes SQL statements at runtime using EXECUTE IMMEDIATE. It's useful when table names, column names, or entire queries are determined dynamically. Bind variables (using placeholders) should be used to prevent SQL injection and improve performance.
🌐
W3Schools
w3schools.com β€Ί sql β€Ί sql_syntax.asp
SQL Syntax
String Functions: ASCII CHAR_LENGTH CHARACTER_LENGTH CONCAT CONCAT_WS FIELD FIND_IN_SET FORMAT INSERT INSTR LCASE LEFT LENGTH LOCATE LOWER LPAD LTRIM MID POSITION REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPACE STRCMP SUBSTR SUBSTRING SUBSTRING_INDEX TRIM UCASE UPPER Numeric Functions: ABS ACOS ASIN ATAN ATAN2 AVG CEIL CEILING COS COT COUNT DEGREES DIV EXP FLOOR GREATEST LEAST LN LOG LOG10 LOG2 MAX MIN MOD PI POW POWER RADIANS RAND ROUND SIGN SIN SQRT SUM TAN TRUNCATE Date Functions: ADDDATE ADDTIME CURDATE CURRENT_DATE CURRENT_TIME CURRENT_TIMESTAMP CURTIME DATE DATEDIFF DATE_ADD DATE_FORMAT DA