{"provider_name":"Hatena Blog","width":"100%","url":"https://bg1.hatenablog.com/entry/2025/07/16/210000","image_url":null,"blog_url":"https://bg1.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbg1.hatenablog.com%2Fentry%2F2025%2F07%2F16%2F210000\" title=\"AVG - \u8eca\u8f2a\u306ex\u767a\u660e ~B.G&#39;s Blog~\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/BG1/","provider_url":"https://hatena.blog","height":"190","type":"rich","categories":["PostgreSQL"],"title":"AVG","author_name":"BG1","version":"1.0","published":"2025-07-16 21:00:00","blog_title":"\u8eca\u8f2a\u306ex\u767a\u660e ~B.G's Blog~","description":"AVG\u3067\u5e73\u5747\u3092\u6c42\u3081\u308b\u3053\u3068\u304c\u51fa\u6765\u308b\u3002https://www.postgresql.jp/docs/9.4/functions-aggregate.html postgresdb1=# SELECT * FROM products; id | name | price | tax | quantity | discount ----+------------+--------+-------+----------+---------- 1 | \u30da\u30f3 | 100.00 | 10.00 | 50 | 5.00 2 | \u30ce\u30fc\u30c8 | 200.00 | 10.00 | 10 | 3.00 3 | \u30da\u30f3\u30b1\u30fc\u30b9\u2026"}