我有这个 sql:
SELECT YEAR(`end`) as week, WEEK(`end`) as year
FROM table
WHERE week=24 AND year=2016
但我得到了错误Unknown column week in where clause
。我做错了什么?请帮帮我。提前谢谢
我有这个 sql:
SELECT YEAR(`end`) as week, WEEK(`end`) as year
FROM table
WHERE week=24 AND year=2016
但我得到了错误Unknown column week in where clause
。我做错了什么?请帮帮我。提前谢谢