← Back to context

Comment by kiitos

1 day ago

"A picture of a schema"? What does this mean?

And by SQL do you mean DDL?

> "A picture of a schema"? What does this mean?

A hand-drawn picture of a database schema. Something like this:

https://www.dreamstime.com/stock-images-database-schema-imag...

> And by SQL do you mean DDL?

DDL is a subset of SQL, so the distinction is moot.

  • Huh, weird stuff!

    Your linked image shows what appear to be tables, and the little arrows appear to represent entity-relationships between them. But I'm not sure how you'd get useful DDL out of it -- none of the columns have types, no indices, etc.!

    Maybe an LLM could sketch out a DDL skeleton from a picture, which someone could use as a starting point?