时间:2021-07-01 10:21:17 帮助过:33人阅读
我写的推荐系统。哈哈。表格什么的自己猜吧。 无 INSERT INTO recommend (SELECT ut.userid,it.itemid, NOW() FROM user_tag ut,item_tag it WHERE EXISTS( SELECT it.tagid FROM item_tag it WHERE it.tagid IN (SELECT ut.tagid FROM user_tag ut)))
我写的推荐系统。哈哈。表格什么的自己猜吧。 <无>INSERT INTO recommend ( SELECT ut.userid,it.itemid, NOW() FROM user_tag ut,item_tag it WHERE EXISTS ( SELECT it.tagid FROM item_tag it WHERE it.tagid IN (SELECT ut.tagid FROM user_tag ut) ) )