1054 - Unknown column 'birthady' in 'field list'
时间: 2024-01-04 08:17:31 浏览: 35
这个错误提示表明在查询语句中使用了一个不存在的列名"birthady"。可能是因为拼写错误或者该列名不存在于查询的表中。请检查查询语句中的列名是否正确,并确保该列名存在于查询的表中。
以下是一个正确的查询语句的例子:
```sql
SELECT id, name, birthday, TIMESTAMPDIFF(YEAR, student.birthday, CURDATE()) as age FROM student;
```
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![7z](https://img-home.csdnimg.cn/images/20210720083312.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![7z](https://img-home.csdnimg.cn/images/20210720083312.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![7z](https://img-home.csdnimg.cn/images/20210720083312.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![7z](https://img-home.csdnimg.cn/images/20210720083312.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)