What do you want to save?
Add Code snippet
New code examples
-
SQL 2021-11-10 19:50:09
mysql fill in missing dates
MySQL doesn't have recursive functionality, so you're left with using the NUMBERS table trick - Create a table that only holds incrementing numbers - easy to do using an auto_increment: DROP TABLE IF EXISTS `example`.`numbers`; CREATE TABLE `example`.`... Add solution -
Python 2021-09-30 16:24:02
f-string expression part cannot include a backslash
This is specified in the PEP for f-strings: Backslashes may not appear inside the expression portions of f-strings, [...] One option is assinging '\n' to a name and then .join on that inside the f-string; that is, without using a literal: Example: names ... Add solution
Best helpers
Ranking is empty