1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)

Select With Custom Order Limit Terminal MySql

Select With Custom Order Limit Terminal MySql

To select with a customer order and limit the results use this command.

SELECT * FROM [table] WHERE [column] ORDER BY [column] ASC LIMIT [value];

You can order by ascending.

ASC

Or you can order by descending.

DESC

Complete Cheat Sheet https://gist.github.com/hofmannsven/9164408

Related Post

Select With Custom Order Limit Terminal MySql was last modified: December 12th, 2016 by Maximus Mccullough

Advanced Programming Made Easy

I hope you enjoyed the article. If I was able to help you please consider buying me a drink.

Drinks

Leave a Reply

Your email address will not be published. Required fields are marked *