Single User Relational Database
SURLY is a fully functional, single-user relational database management system built entirely from scratch. Designed as a lightweight, in-memory database, it features its own custom query language capable of parsing and executing both Data Definition Language (DDL) and Data Manipulation Language (DML) commands. The system reads plain-text command files through a custom-built lexical analyzer, interprets the statements, and executes complex database operations without relying on any external libraries, frameworks, or persistent disk storage.

Executing the SURLY interpreter from the command line. The system reads a plain-text command file, creates relation schemas (STUDENT, COURSE, ENROLLMENT), loads tuples via INSERT commands, and displays the STUDENT relation in a dynamically formatted table.

Demonstrating the SELECT relational algebra operation with WHERE clause filtering. CS_STUDENTS filters by major, GOOD_STUDENTS uses a numeric comparison (GPA > 3.5), and SOPHOMORE_CS combines two conditions with AND logic — all producing temporary relations.

