delete FROM occurrence
WHERE page_id NOT IN
select page_id from page
我运行上面的命令..它一直说我错..高手帮帮忙..谢谢了
table:
occurrence(page_id, word_id, occurrence_id)
page(page_id, page_url)
mysql 的一个问题
所有跟帖:
•
sub query 加括号
-Epimetheus-
♂
(88 bytes)
()
12/15/2004 postreply
18:22:26
•
回复:sub query 加括号
-bbllot-
♀
(28 bytes)
()
12/15/2004 postreply
18:36:02
•
$ mysqld --version
-Epimetheus-
♂
(144 bytes)
()
12/15/2004 postreply
18:47:47
•
回复:$ mysqld --version
-bbllot-
♀
(72 bytes)
()
12/15/2004 postreply
19:34:51
•
回复:回复:$ mysqld --version
-bbllot-
♀
(82 bytes)
()
12/15/2004 postreply
19:39:31
•
mysql --version 是客户端
-Epimetheus-
♂
(100 bytes)
()
12/15/2004 postreply
19:42:52
•
试试这个
-SQL大师-
♀
(87 bytes)
()
12/15/2004 postreply
19:23:06
•
反了,要加 negation
-Epimetheus-
♂
(143 bytes)
()
12/15/2004 postreply
19:46:12
•
哈,没看清,你的也不对,try this
-SQL大师-
♀
(123 bytes)
()
12/15/2004 postreply
19:50:42
•
回复:哈,没看清,你的也不对,try this
-bbllot-
♀
(52 bytes)
()
12/15/2004 postreply
19:58:51
•
回复:反了,要加 negation
-bbllot-
♀
(210 bytes)
()
12/15/2004 postreply
19:52:45
•
回复:回复:反了,要加 negation
-bbllot-
♀
(34 bytes)
()
12/15/2004 postreply
19:54:16
•
哦,subquery从4.1开始,4.0.x也不行
-Epimetheus-
♂
(33 bytes)
()
12/15/2004 postreply
20:12:15
•
回复:哦,subquery从4.1开始,4.0.x也不行
-bbllot-
♀
(131 bytes)
()
12/15/2004 postreply
20:16:27
•
不用subquery 的解决方法, 如果
-SQL大师-
♀
(169 bytes)
()
12/15/2004 postreply
20:14:39
•
嗯大师这招好使
-Epimetheus-
♂
(0 bytes)
()
12/15/2004 postreply
20:26:14
•
回复:mysql 里autoincrement 的int 太
-bbllot-
♀
(88 bytes)
()
12/15/2004 postreply
20:31:13
•
lookup in the manual
-SQL大师-
♀
(0 bytes)
()
12/15/2004 postreply
20:42:05
•
mysql 不支持nested query,分开写就行了
-你发烧我看-
♂
(0 bytes)
()
12/16/2004 postreply
00:46:43