Home > Database > Mysql Tutorial > body text

Run SQL query from specific months in SAP DB

王林
Release: 2023-08-30 13:53:10
forward
1162 people have browsed it

在 SAP DB 中从特定月份运行 SQL 查询

When your T0.name is a character archive, you should replace Order By -

order by
case when cast(left (T0.Name,2) as int)>=8
   then cast(left (T0.Name,2) as int)-8
   else cast(left (T0.Name,2) as int)+4
 end
Copy after login
as follows

The above is the detailed content of Run SQL query from specific months in SAP DB. For more information, please follow other related articles on the PHP Chinese website!

source:tutorialspoint.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template