logoalt Hacker News

tantaloryesterday at 2:32 PM2 repliesview on HN

> SQL databases ... confused

"SQL" and "databases" are different things

SQL is a declarative language for data manipulation. You can use SQL to query a database, but there's nothing special about databases. You can also write SQL to query other non-database sources like flat files, data streams, or data in a program's memory.

Conversely, you can query a database without SQL.


Replies

philipallstaryesterday at 8:39 PM

A SQL database is a database you can connect to and query with SQL.

johnthescottyesterday at 4:53 PM

> Conversely, you can query a database without SQL.

fond memories of quel.