Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sqlitediff

Utility to facilitate fast feedback for learning SQL on a known SQLite database.

Usage: java -jar SQLiteDiff <answer file> <query file> where ...

  • answer file is a CSV representing the desired output of the query
  • query file is a text file containing only SQL to run

The utility reads the query file, executes it on a bundled SQLite database, and then compares rows/columns to the contents of the answer file, providing a detailed account of differences.

Note: the included database is currently Chinook [https://github.com/lerocha/chinook-database] but could theoretically be any SQLite database.

Tested on latest versions of macOS, Linux, and Windows using Oracle/Open JDK 8 - 22.

About

Utility to facilitate fast feedback for learning SQL on a known SQLite database.

Topics

Resources

Stars

1 star

Watchers

2 watching

Forks

Contributors

Languages