mysql - order by case in sql 2005 server -
class = "text">
155 Fast
I need to firstly record the record with Fast Order SCC with the following order records:
Instant 586 Fast 296 Fast 155 Fast 243Let 122Light I'm fasting in the first row, fast and late records, but they are not in asc order
Order from the case Symbol 1 like '% FUT' when a symbol like '% CE' is 2, then when the symbol '% PE' then 3 and 4 end
After placing an order to use the case statement, the symbol forwards its order by column
order from the case when If there is a sign like '% FUT', then 1 when there is a sign like '% CE', 2 when symbol like '% PE' then 3 and 4 ends, symbol asc
Comments
Post a Comment