我正在尝试更新并选择与以下相同的表:
UPDATE tbl_domain SET remain =
(SELECT DATEDIFF(expdate,NOW()) FROM (
SELECT DATEDIFF(expdate,NOW()) FROM tbl_domain
) as x )
我怎样才能让它工作?有人请帮帮我!!!
我正在尝试更新并选择与以下相同的表:
UPDATE tbl_domain SET remain =
(SELECT DATEDIFF(expdate,NOW()) FROM (
SELECT DATEDIFF(expdate,NOW()) FROM tbl_domain
) as x )
我怎样才能让它工作?有人请帮帮我!!!