avatar
b*e
1
newbie question to mysql.. i installed mysql on my w2k, and copied the entire
data folder from another user's installation (hoping to replicate his database
and tables and data)
but then when i tried to run mysql.exe it's giving me this error:
ERROR 1045: Access denied for user: '[email protected]' (Using password: NO)
then i tried mysql.exe -D dbname -u username
it still gives me the same error:
ERROR 1045: Access denied for user: '[email protected]' (Using password: NO)
how do i get it to take pas
avatar
a*m
2
mysql:
how to select field from a table, and the field not in another table's
field?
select * from table1 where table1.field not in (select field from table2)
but mysql does not support not in (sub-select)
i know i can use "join", but it really takes time.
thanks a lot.
avatar
g*n
3
The performance of using LEFT JOIN won't be worse

【在 a****m 的大作中提到】
: mysql:
: how to select field from a table, and the field not in another table's
: field?
: select * from table1 where table1.field not in (select field from table2)
: but mysql does not support not in (sub-select)
: i know i can use "join", but it really takes time.
: thanks a lot.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。