Monday, April 20, 2020

Answer for What is the second rule when organizing records when ORDER BY (for ex. first_name) is used and more people have same first_name?

https://365datascience.com/dwqa-answer/answer-for-what-is-the-second-rule-when-organizing-records-when-order-by-for-ex-first_name-is-used-and-more-people-have-same-first_name/ -

Hi Maros!

Thanks for reaching out.

In this particular lecture, we only provide an example. Otherwise, you can use the primary key when ordering the data, for instance. Alternatively, depending on the situation, you could add a second field like this:


...
ORDER BY first_name, last_name DESC;

Hope this helps.
Best,
Martin




#365datascience #DataScience #data #science #365datascience #BigData #tutorial #infographic #career #salary #education #howto #scientist #engineer #course #engineer #MachineLearning #machine #learning #certificate #udemy

No comments:

Post a Comment