SQL Query with MySQL

前端 未结 3 1175
时光取名叫无心
时光取名叫无心 2020-12-20 01:12

I am implementing a Restful Web Service in java (JAX-RS) using Jesey. I run it on Tomcat v7.0 I use Hibernate to map the data to the database (MySQL). I have a query to fetc

3条回答
  •  庸人自扰
    2020-12-20 01:51

    mysql doesn't have TOP, use the ORDER BY and LIMIT clauses at the end of the sql.

提交回复
热议问题