From: Shane Jaroch Date: Sun, 24 Jul 2022 18:31:01 +0000 (-0400) Subject: pycharm inspection, small fixes X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=427bfd333259f79b0859b27e42964cd1fa6e00ab;p=nutratech%2Fnt-sqlite.git pycharm inspection, small fixes --- diff --git a/sql/functions.sql b/sql/functions.sql index d669b63..d6e5c92 100644 --- a/sql/functions.sql +++ b/sql/functions.sql @@ -7,9 +7,9 @@ SELECT name, COUNT(recipe_id) AS n_foods, SUM(grams) AS grams, - created + recipe.created AS created FROM - recipes + recipe LEFT JOIN recipe_dat ON recipe_id = id GROUP BY id;