这个mysql语句是什么意思?
有人能告诉我下面的命令产生的值代表什么吗这个mysql语句是什么意思?,mysql,Mysql,有人能告诉我下面的命令产生的值代表什么吗 select name, current_date - date_of_birth as age from name; 它选择name列,然后计算current\u-date-date\u-of\u-birth表达式(即-current\u-date值(包含当前日期)减去date\u-of-birth列)然后将其存储为name表中的age列。这是我第一次使用mysql。非常感谢。
select name, current_date - date_of_birth as age from name;
它选择
name
列,然后计算current\u-date-date\u-of\u-birth
表达式(即-current\u-date
值(包含当前日期)减去date\u-of-birth
列)然后将其存储为name
表中的age
列。这是我第一次使用mysql。非常感谢。