Recent Posts

Caution: Greetings to all visitors. The site is working in short. Links Please skip the link to view any topic and thank you for visiting
header ads

Weird indexation problem

I have a database with classical music works. It has three relevant fields: composer, cataloga and shortname. Cataloga contains opus numbers - left padded with spaces for easy sorting. When there is no opus number the field is empty. It is the order of the empty fields that puzzles me. It is like there is some hidden sorting happening.

When I do "select * from works where composer=X ORDER BY shortname" I get the records in perfect order.

However, when I do "ORDER BY cataloga,shortname" it...

Weird indexation problem

from MySQL https://ift.tt/2VZKHfi
via IFTTT

Post a Comment

0 Comments