Top "Sql-order-by" questions

An ORDER BY clause in SQL specifies that a SQL SELECT statement returns a result set with the rows being sorted by the values of one or more columns.

LINQ Orderby Descending Query

I'm sure this will be a relatively simple one. I have a LINQ query that I want to order by …

c# linq sql-order-by
SQL multiple column ordering

I am trying to sort by multiple columns in SQL, and in different directions. column1 would be sorted descending, and …

sql sql-order-by
Multiple "order by" in LINQ

I have two tables, movies and categories, and I get an ordered list by categoryID first and then by Name. …

linq sql-order-by
How does MySQL process ORDER BY and LIMIT in a query?

I have a query that looks like this: SELECT article FROM table1 ORDER BY publish_date LIMIT 20 How does ORDER …

mysql sql sql-order-by sql-limit
How to order by with union in SQL?

Is it possible to order when the data is come from many select and union it together? Such as Select …

sql sql-order-by union
SQL ORDER BY date problem

Can you please help me in solving this problem. I am trying to order the results of an SQL query …

sql date sql-order-by
MySQL order by before group by

There are plenty of similar questions to be found on here but I don't think that any answer the question …

mysql group-by sql-order-by
C# list.Orderby descending

I would like to receive a list sorted by 'Product.Name' in descending order. Similar to the function below which …

c# list sorting sql-order-by
Order a MySQL table by two columns

How do I sort a MySQL table by two columns? What I want are articles sorted by highest ratings first, …

mysql sql-order-by
How to use DISTINCT and ORDER BY in same SELECT statement?

After executing the following statement: SELECT Category FROM MonitoringJob ORDER BY CreationDate DESC I am getting the following values from …

sql sql-order-by distinct