Skip to content

Sanika2110/SQL-query-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SQL Query Checker

SQL Query Checker

A powerful SQL Query Checker & Formatter that helps detect spelling mistakes, syntax errors, and formatting issues in SQL queries. πŸš€

✨ Features

βœ… Real-time spell checking for SQL keywords
βœ… SQL syntax validation (e.g., missing semicolons, unmatched parentheses, incorrect JOIN usage)
βœ… Auto-formatting for cleaner and more readable SQL queries
βœ… CodeMirror Integration for a smooth editing experience
βœ… Supports MySQL syntax checking
βœ… Interactive error highlighting

πŸš€ Usage

  1. Enter your SQL query in the editor.
  2. Errors will be highlighted in real-time.
  3. Click Format SQL to clean up your query.
  4. Click Clear Editor to reset the input.

πŸ“ Example Queries

βœ… Correct Query

SELECT name, email FROM users WHERE id = 1;

βœ” No issues found!

❌ Query with Errors

SELCT name, email FRM users WHER id = 1

❌ Misspelled keywords: SELCT β†’ SELECT, FRM β†’ FROM, WHER β†’ WHERE
❌ Missing semicolon at the end of the query

πŸ›  Technologies Used

  • JavaScript (CodeMirror for syntax highlighting)
  • HTML & CSS (Frontend UI)
  • MySQL Query Checking

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published