Is it possible to write a single query in mySQL that would do such a thing:
Select all people with name1, then select all people with name2, then all people with name3
And it all should be in one query so after running it we would get a result like:
ID Name
1. Pete
3. Pete
2. Ann
4...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.