USB83 Posted April 15, 2018 Share Posted April 15, 2018 Hello, I'm trying to use the SQL Manager to list user details (first/last name, email and their country) but i would like the query to only return a certain amount of users. But when i include the LIMIT clause, i get this error message : "The LIMIT clause must contain numeric arguments" This is what my query looks like : SELECT firstname, lastname, email, FROM ps_customer LIMIT 150 Any help is welcome Link to comment Share on other sites More sharing options...
NemoPS Posted April 19, 2018 Share Posted April 19, 2018 It might need two, did you try LIMIT 0,150 ? Link to comment Share on other sites More sharing options...
zoombamboom Posted January 2, 2021 Share Posted January 2, 2021 I encountered the same problem. The LIMIT 0,150 does not solve it. Managed to get it working doing ORDER BY firstname DESC LIMIT 0,150 replace firstname by what you prefer here. 1 Link to comment Share on other sites More sharing options...
El Patron Posted January 2, 2021 Share Posted January 2, 2021 there are several github mentions for this issue https://www.google.com/search?q="The+LIMIT+clause+must+contain+numeric+arguments"&oq="The+LIMIT+clause+must+contain+numeric+arguments"&aqs=chrome..69i57j69i60&sourceid=chrome&ie=UTF-8 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now