代码:
SQLSelectBuilderImpl sqlSelectBuilder = new SQLSelectBuilderImpl(JdbcConstants.MYSQL); sqlSelectBuilder.from("test").orderBy("test desc").limit(1); System.out.println(sqlSelectBuilder);
输出:
SELECT FROM test LIMIT 1 ORDER BY test DESC
dy2hfwbg1#
#2825
1条答案
按热度按时间dy2hfwbg1#
#2825