Advertisement
cydside

Select begin end of the month

Feb 7th, 2023 (edited)
208
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.11 KB | None | 0 0
  1. SELECT DATE('2023-05-08', 'start of month', '+1 month', '-1 day') UNION
  2. SELECT DATE('2023-05-08', 'start of month');
Tags: sqlite
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement