sql语句case when 以及left()

select count(CASE jyje WHEN '1300' THEN '2' ELSE '1' END) as count  from tpent_orders where cplx = 6 and left(time,4)  ='2019' 

转载于:https://www.cnblogs.com/chenlw/p/10401873.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Visual Assist Build 2107 支持vs2017 官方原版加破解补丁 requires software maintenance through 2016.07.15 (General release.) NEW Added new refactoring Move Implementation to Header File. (case=10239) 6999, 8255, 8286, 9006, 9830, 10741, 10905, 11311, 11976, 12293 NEW Sort Selected Lines now supports ascending and descending options, as well as case-sensitive and case-insensitive options. (case=29858) 8876, 9194, 12143 NEW Smart Select now supports more granular selection when starting to grow a selection (enabled by default; reg value named SmartSelectEnableGranularStart). (case=90797) 12544 NEW Smart Select supports sub-word selection (disabled by default and dependent upon reg value SmartSelectEnableWordStart; reg values named SmartSelectSplitWordByCase and SmartSelectSplitWordByUnderscore). (case=97531) NEW Support for disabling multithreaded parse during solution load (Performance page of VA Options dialog). (case=97903) NEW Find Symbol in Solution dialog now optionally supports display of file and directory in dedicated columns (via context menu). (case=35181) 12054, 12566 NEW Added support for filtering hashtag cross-references from VA Hashtags toolwindow (via context menu). (case=96785) NEW Added button to open File Explorer to VA File History directory (Performance page of VA Options dialog). (case=98234) 12686 NEW Option to disable spontaneous tooltips in Open File in Solution, Find Symbol in Solution and Goto Member dialogs (via context menu). (case=98240) NEW Enhanced Open Corresponding File (alt+o) to support directory structure of some additional libraries. (case=96426) [VS2010+] Fix for VA Navigate Back (alt+left arrow) failing to return to recorded column position. (case=97613) 12649 Fix for Smart Suggestion of vector of shared_ptr. (case=96425) 12604 Fixed Smart Suggestion namespace qualification of enum values in user-provided sample. (case=98073) 12661 Fix for failure to deduce auto rvalue ref type in range-based for loop. (case=96952) 12617 Sort Selected Lines honors system locale. (case=97868) Fix for Create Declaration being confused by a function try block. (case=93234) Fix for failure of Goto to work with variable defined using decltype expression. (case=93387) 12485 Various fixes for Smart Select selections. (case=94946, case=95812) Improved auto type deduction in range-based for loops. (case=86248) Improved Smart Suggestions of template variables in certain scenarios. (case=91733) Fixed case in which parentheses were not automatically matched when complete with any character was enabled and '(' was used to commit the listbox selection. (case=97044) Improved results of Goto and Goto Related on namespace usages that reference nested namespaces. (case=68241) Fix for snippets inserted with incorrect line endings in empty files. (case=97752) 12655 Fixed case in which VA incorrectly handled static_assert in a class definition. (case=97232) When Goto is invoked on an external type in XAML, VA prompts to open the Object Browser (instead of searching it without prompting). (case=96541) Find Symbol in Solution dialog lists symbols defined in source files imported via nuget packages. (case=97175) Fixed case in which VA Outline reported incorrect range of a #define in certain situations. (case=97224) Add Missing Case Statements now supports switches on properties. (case=96542) Fixed parsing of D2D interfaces and types that implement them. (case=97120) Fixed case in which symbols defined via system include directories might be recognized in one solution but not in another. (case=97154, case=97190) Fix for Move Implementation commands not properly selecting moved code in some cases. (case=96852) Fixed case in which include resolution of files in system include directories might not be properly resolved. (case=97154) Fixed case in which VA Snippet was processed with different end results when executed with in-editor placeholder expansion vs placeholder expansion via dialog. (case=96968) Disabled implementation of case=4568 due to unexplained lag while typing templates in a specific situation (can be re-enabled via edit of reg value ReparseIfNeededMaxFileSize2). (case=98305) [VS2015 Update 3] Enabled in-editor expansion of snippet input placeholders. (case=95894) [VS2015 Update 3] When changing the state of the automatically extend multi-line comments setting, VA prompts to make the opposite action with the IDE provided feature in C#. (case=95605) [VS2012+] Fixed positioning of Goto and Goto Related menus when invoked in XAML files. (case=98462) [VS2010+] Fixed tab order in Snippet Editor. (case=98606) [VC6] Fix for deadlock in some situations after using Add Class. (case=98643) 12701

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值