会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
逆火狂飙I
首页
新随笔
联系
订阅
管理
上一页
1
···
95
96
97
98
99
100
101
102
103
···
205
下一页
2020年1月31日
【高考数学/古典概型】(2022高考全国新高考I卷第五题)从2至8的7个整数中随机取2个不同的数,则这2个数互质的概率为( )
摘要: 古典概型题,送分。
阅读全文
posted @ 2020-01-31 09:55 逆火狂飙
阅读(461)
评论(2)
推荐(0)
2020年1月30日
转载:SQL语句执行顺序
摘要: 转载地址:https://database.51cto.com/art/202001/609727.htm
阅读全文
posted @ 2020-01-30 17:52 逆火狂飙
阅读(122)
评论(0)
推荐(0)
【Java与排列组合】有五个球,其中2个一样的黑球,红白蓝球各一个,现从中取出4个球排成一列,求所有不同的排法
摘要: 【数学思路】 该问题分两类 一类是取出红蓝白黑四色球,其排法是A_4_4=24种 一类是取出两个黑球加两个其它颜色的球,两黑球和两色球排列是一个可重复元素的全排列问题,其排法是A_4_4/A_2_2/A_1_1/A_1_1=24/2=12种,从红蓝白中选出两色球是C_3_2=3种,故总数是12*3=
阅读全文
posted @ 2020-01-30 17:42 逆火狂飙
阅读(69)
评论(0)
推荐(0)
2020年1月29日
[Oracle/sql]查看当前用户名下有多少表 以及查看表字段信息
摘要: SQL> select table_name from user_tables order by table_name; TABLE_NAME BIGTABLE COURSE EMP HY_MILLION HY_MILLION2 SCORE SMALLTABLE STUDENT TB_100MILL
阅读全文
posted @ 2020-01-29 13:06 逆火狂飙
阅读(796)
评论(0)
推荐(0)
[oracle/Sql]怎样比较两表的差异?
摘要: 比如有这么一个表: create table test02( id number(8,0) primary key, name nvarchar2(20), sal number(5,0) ) 可以这样给它充值: insert into test02 select rownum,dbms_rando
阅读全文
posted @ 2020-01-29 09:27 逆火狂飙
阅读(2096)
评论(2)
推荐(0)
2020年1月28日
从两表连接看Oracle sql优化器的效果
摘要: select emp.*,dept.* from tb_emp03 emp,tb_dept03 dept where emp.deptno=dept.id -- 不加hint SQL> select emp.*,dept.* from tb_emp03 emp,tb_dept03 dept wher
阅读全文
posted @ 2020-01-28 17:08 逆火狂飙
阅读(189)
评论(0)
推荐(0)
使用Hint /*+ full(emp)*/ 将索引全扫描改成全表扫描,看cost差别
摘要: 索引全扫描的执行计划: SQL> select max(age) from tb_emp04 emp; 已用时间: 00: 00: 00.01 执行计划 Plan hash value: 2758779452 | Id | Operation | Name | Rows | Bytes | Cost
阅读全文
posted @ 2020-01-28 16:52 逆火狂飙
阅读(503)
评论(0)
推荐(0)
全扫描与快速全索引扫描的比较实验
摘要: 先准备实验材料: 一张表及其数据: create table tb_emp04( id number(8,0) primary key, name nvarchar2(20), age number(2,0) ) insert into tb_emp04 select rownum,dbms_ran
阅读全文
posted @ 2020-01-28 12:49 逆火狂飙
阅读(454)
评论(0)
推荐(0)
Hint usenl usage /*+ leading(emp,dept) usenl(emp) */
摘要: SQL> select /*+ leading(emp,dept) usenl(emp) */ emp.*,dept.* from tb_emp03 emp,tb_dept03 dept where emp.deptno=dept.id; 执行计划 Plan hash value: 96039728
阅读全文
posted @ 2020-01-28 04:26 逆火狂飙
阅读(289)
评论(0)
推荐(0)
2020年1月27日
1到10的自然对数值
摘要: ln1~ln10的数值,精确到小数点后六位。
阅读全文
posted @ 2020-01-27 22:30 逆火狂飙
阅读(1488)
评论(0)
推荐(0)
上一页
1
···
95
96
97
98
99
100
101
102
103
···
205
下一页