I am currently working on an SQL project and am unsure on what code to use in in order to get a specific output. Here is what the output should be " Sort the output in alphabetical borrower name order and then by loan date with the most recent listed first." Is anybody able to give me ideas for this? All I need is what type of code would work, and possibly how to use it?
Asked
Active
Viewed 41 times
-3
-
1this seems like a homework question – Charles380 Mar 22 '18 at 14:26
-
What all have you tried? Any half-decent SQL tutorial or book will enable you to answer this – Yuvraj Jaiswal Mar 22 '18 at 14:26
-
I've tried "Order by" "Desc" and "ASC." One example ive tried is "order by "tablename" DESC" – HankySpanky Mar 22 '18 at 14:29
1 Answers
0
This looks like an 'order by' question. At the end of your query put '....order by name, loandate desc'

Daniel Marcus
- 2,686
- 1
- 7
- 13