4 ms·
Wouldn't SQL count as goal based, by their logic?
by overgard 10y ago
Wouldn't SQL count as goal based, by their logic?
- AdieuToLogic 10y agoIn the categorization presented in the OP, SQL would be categorized as "constraint programming" as described here[0]. Essentially, SQL conforms to a subset of predicate calculus[1] whose operations are quantified by relational algebra[2]. HTH 0 - http://lambda-the-ultimate.org/node/4370 http://lambda-the-ultimate.org/node/4370 1 - https://en.wikipedia.org/wiki/First-order_logic https://en.wikipedia.org/wiki/First-order_logic 2 - https://en.wikipedia.org/wiki/Relational_algebra https://en.wikipedia.org/wiki/Relational_algebra
- fallingfrog 10y agoAs originally stated, maybe.. but for years SQL has been slowly degenerating into just another imperative language. The ideal is that you can write something like "select * from A,B where A.something = B.something". But for whatever reason, SQL interpreters have consistently and dismally failed at producing an efficient execution plan without the hints offered by nested select statements, explicit joins, and now stored procedures. Imperative is still king.