---
title: "菜鸟学mysql错误总结"
author: "android_zhang"
date: "2013-06-08T09:19:43Z"
tags: ["MySQL"]
categories: ["数据库"]
slug: "mysql"
draft: false
lastmod: "2013-02-28T16:00:05Z"
id: 1817858
url: "https://android-zhang.iteye.com/blog/1817858"
---

错误总结用到的表如下图：

![](http://dl.iteye.com/upload/attachment/0080/9766/5763779c-b83b-3a0a-aea4-8d2900b409ad.png)



1，错误：sum后面加上了空格：

![](http://dl.iteye.com/upload/attachment/0080/9773/9fae397e-576c-36fc-a41b-7b20741501ea.png)