摘要:
1、创建用户create user KD identified by 123456;2、授予连接数据库的权限grant connect to KD;3、将Scott用户的emp表授权给KD可以查询grant select on scott.emp to KD;grant create table t 阅读全文
摘要:
java中声明为static的方法称为静态方法或类方法。静态方法可以直接调用静态方法,访问静态变量,但是不能直接访问实例变量和实例方法。静态方法中不能使用this关键字,因为静态方法不属于任何一个实例。静态方法不能被子类的静态方法覆盖。例如:static class CompanyEmployee{ 阅读全文
摘要:
http://www.cnblogs.com/zuowj/p/4013434.html 方法一(仅适用单个字段)使用 not in ,容易理解,效率低select A.ID from A where A.ID not in (select ID from B)方法二(适用多个字段匹配)使用 left 阅读全文