Rouven: Problem bei komplizierter Datenbank-Abfrage

Beitrag lesen

Hello,

SELECT  Files FROM test ORDER BY CONCAT(Major,Minor,Patch,Built) DESC LIMIT 1

  
Es gebe Versionen:  
1\.9.0.0  
1\.12.0.0  
  
Dein Statement wird also die Strings  
1900  
11200  
vergleichen und absteigend sortieren, was leider genau falsch herum herauskommt.  
  
MfG  
Rouven  

-- 
\-------------------  
sh:| fo:} ch:? rl:( br:& n4:{ ie:| mo:} va:) js:| de:] zu:| fl:( ss:) ls:& ([SelfCode](http://selfspezial.atomic-eggs.com/scode/selfcode.php?encodieren))  
  
Computer programming is tremendous fun. Like music, it is a skill that derives from an unknown blend of innate talent and constant practice. Like drawing, it can be shaped to a variety of ends: commercial, artistic, and pure entertainment. Programmers have a well-deserved reputation for working long hours but are rarely credited with being driven by creative fevers. Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination, but because their imagination reveals worlds that others cannot see. -- Larry OBrien and Bruce Eckel in Thinking in C#