![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
ghs79
这个作者很懒,什么都没留下…
展开
-
Oracle查询问题引发临时表使用
分析某段时间内,刷卡金额大于1000的卡的消费记录,写法如下。 SQL语句写法:select a.dno, a.dcard, a.dcard_money, a.dcard_type, a.ddate, a.dsubshop, a.dworker, a.dtype, j.Djf Dnowjf, b.dsje, B.Dcount from st_card_salemx a,原创 2016-07-19 19:25:30 · 1525 阅读 · 0 评论 -
oracle update 几种方法容易理解和使用的更新命令
习惯了SQL server的update写法,感觉如此优雅和简便,近期要用oracle,是如此的不方便。经过努力发现三种写法还是很不错的,真不愧是大佬。 例子:两个表,结构相同,都有编号和名称。 create table tb1( id int not null primary key, name varc原创 2016-02-01 21:58:22 · 3580 阅读 · 0 评论