Skip to content
This repository was archived by the owner on Jul 20, 2025. It is now read-only.
This repository was archived by the owner on Jul 20, 2025. It is now read-only.

Прошлый месяц = декабрь #4

@KottV

Description

@KottV

Если текущий месяц №1 (январь) то при выборе отчета за прошлый месяц, ставится дата 2016-00-01:

SELECT * FROM vo_acccall WHERE '1'='1' AND date >'2016-00-01' AND date <'2016-01-01' ORDER BY CAST(date AS DATE) DESC,clg-num-in-tac ASC LIMIT 0,50;

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions