Derby中正确的SQL命令是什么?

时间:2019-02-12 07:16:09

标签: sql derby

我想知道“ limit”和“ order by”两个词必须去哪里。我有这些:

sql = "SELECT * FROM NAMES LIMIT " + limit + " ORDER BY ID ASC;";
sql = "SELECT * FROM NAMES LIMIT " + limit + " ORDER BY ID DESC;";

在Derby中还有诸如“选择最高百分比”的命令吗?

0 个答案:

没有答案