由买买提看人间百态

topics

全部话题 - 话题: nvl
1 2 下页 末页 (共2页)
u********e
发帖数: 4950
1
NVLS Q2 ER beated but the Q3 revenue was guided down
c***c
发帖数: 6234
2
来自主题: Database版 - 怎么写这个query呢?
谢谢。google了pivot table
其实就是用case when then else end 语句。还是query不熟。最后我写成
select count(case when (nvl(t.resolved_time, nvl(t.close_time,sysdate))- t.open_time) <= 4 then t.id else null end) as "<4",
count(case when (nvl(t.resolved_time, nvl(t.close_time,sysdate))- t.open_time) >4 and (nvl(t.resolved_time, nvl(t.close_time,sysdate))- t.open_time) <7 then t.id else null end) as "4-7",
count(case when (nvl(t.resolved_time, nvl(t.close_time,sysdate))- t.open_time) >=7 and (nvl(t.resolved_time, nvl(t.c
m**h
发帖数: 69
3
来自主题: Database版 - 问个查询的问题
another option in oracle syntax:
select
nvl((select a.name from a where d.type1='a' and a.id=d.id1),'') ||
nvl((select b.name from b where d.type1='b' and b.id=d.id1),'') ||
nvl((select c.name from c where d.type1='c' and c.id=d.id1),'')
name1
,
nvl((select a.name from a where d.type2='a' and a.id=d.id2),'') ||
nvl((select b.name from b where d.type2='b' and b.id=d.id2),'') ||
nvl((select c.name from c where d.type2='c' and c.id=d.id2),'')
name2
from d
where
.....
;
Warning: will return '' not N
s******s
发帖数: 508
4
来自主题: Database版 - better way to compare nullable columns?
Use another string then.
e.g.
nvl(a.col,'NULL')=nvl(b.col,'NULL')
or even use the following if you like,
nvl(a.col,'Fuck off, it is null')=nvl(b.col,'Fuck off, it is null')

and
o******5
发帖数: 29
5
Here is the Oracle code:
create table c
as
select nvl(a.id,b.id) id,nvl(a.name,b.name) name,nvl(b.income06,a.salary06)
income06
from a full outer join b
on a.id=b.id
order by 1;
I do not know whether you can use PROC SQL to achieve this same thing or not
.
m******u
发帖数: 12400
6
个人觉得这个题目出的不好(比如第二题),answer key 也不算怎样,第一题就可见
一斑。
。。。。。。。。。。。。。。
Table 1 : DEPT
DEPTNO (NOT NULL , NUMBER(2)), DNAME (VARCHAR2(14)),
LOC (VARCHAR2(13)
Table 2 : EMP
EMPNO (NOT NULL , NUMBER(4)), ENAME (VARCHAR2(10)),
JOB (VARCHAR2(9)), MGR (NUMBER(4)), HIREDATE (DATE),
SAL (NUMBER(7,2)), COMM (NUMBER(7,2)), DEPTNO (NUMBER(2))
MGR is the empno of the employee whom the employee reports to. DEPTNO is a
foreign key.
QUERIES
1. List all the employees who have at least one person reporting to them.
2. L... 阅读全帖
b*****l
发帖数: 161
7
来自主题: Stock版 - 我的新手上路及进阶
(2).初级站友: 短线进阶
资金: $25k-$50k (Nov 2010 – March 2011)
BKM 0.2: EMA-RSI买低杀高
BKM 0.3: 简单供求因果分析
Risk Mitigation: liquid stock, buy only at RSI<40% and short only at RSI>80%
成果: 操作8只股票,一只失手;平均每笔trade收益 8%, Overall gain ~15%
Tickers: DO, ASML, NVLS, JDSU,SBUX,TIBX, PALL, FFIV
阅读材料:
1. How to make money in stocks: William O’Neil
2. Beating the street, Peter Lynch

第一年虽然战果不错,运气占了很大部分。这个阶段开始放眼更大范围,“发现”
了NFLX, FFIV和TZOO,才发现我的INTC是多么可怜。另外觉得第一年买入卖出没有很好
的体系。下定决心提高短线的操作能力。

在Yahoo Fina... 阅读全帖
b*****l
发帖数: 161
8
来自主题: Stock版 - 我的新手上路及进阶
谢谢小母牛双黄包,今天一气写完三集了。欢迎大家指导,讨论,图例在跟贴上。
(1): 新手上路
资金: $4k-$10k (Oct. 2009 – Nov. 2010)
BKM 0.1: 宁可错过, 不可错了;买低卖高, 有赚就好
Risk Mitigation: Buy only Blue Chip stock and Index ETF
成果: 20多笔trades ,100% profitable ,平均每笔trade收益 5.54%, Overall
gain > 50%
Tickers: INTC, SCHA, IJK
阅读材料:
1. 不哭教条 1-6: http://www.mitbbs.com/article_t2/Stock/31817193.html
2. The intelligent Investor by Graham
首先是迈出第一步,对我来说有点困难: 不习惯做自己每把握的事;也没有看到
谁炒股一夜暴富的”励志”故事。工作第一年还很忙,虽然有心投入股市,却没有时间
迈出第一步。 说来算是福气,躲过了2008年的market ... 阅读全帖
b*****l
发帖数: 161
9
来自主题: Stock版 - 我的新手上路及进阶
(2).初级站友: 短线进阶
资金: $25k-$50k (Nov 2010 – March 2011)
BKM 0.2: EMA-RSI买低杀高
BKM 0.3: 简单供求因果分析
Risk Mitigation: liquid stock, buy only at RSI<40% and short only at RSI>80%
成果: 操作8只股票,一只失手;平均每笔trade收益 8%, Overall gain ~15%
Tickers: DO, ASML, NVLS, JDSU,SBUX,TIBX, PALL, FFIV
阅读材料:
1. How to make money in stocks: William O’Neil
2. Beating the street, Peter Lynch

第一年虽然战果不错,运气占了很大部分。这个阶段开始放眼更大范围,“发现”
了NFLX, FFIV和TZOO,才发现我的INTC是多么可怜。另外觉得第一年买入卖出没有很好
的体系。下定决心提高短线的操作能力。

在Yahoo Fina... 阅读全帖
h**d
发帖数: 474
10
来自主题: Database版 - Help on migrating oracle to db2, outerjoin
Is there any outer join operator in DB2?
The following is one of my SQL statement:
CREATE OR REPLACE VIEW BANKREFERENCE_SEARCH_V ( CUSTOMERID,
CUSTOMERNAME, BANKNAME, REFERENCEDATE, ASSIGNEDTOSTR,
ASSIGNEDTO, FOLLOWUPDATE ) AS (
select distinct
customer.customerID as customerId,
customer.NAME as customerName,
br.NameOfInstitution as BankName,
br.referenceDate as ReferenceDate,
su.LastName || decode(nvl(br.assignedTo,-1),-1,'',', ') || su.
FirstName || decode(nvl(br.assignedTo,-1),-1,''
B*****g
发帖数: 34098
11
来自主题: Database版 - 请问sql这个querry怎么写
除了oracle好像都可以用top。
oracle先排序再用rownum。
比赛应该比其他容易,因为基本上不会有同时比赛的。
oracle:
SELECT MAX(score)
FROM (SELECT score
FROM (SELECT NVL(score,0)
FROM table
WHERE NVL(playtime, 0) > 0
AND playdate IS NOT NULL
ORDER BY playdate DESC)
ROWNUM <= 10)
c**t
发帖数: 2744
12
来自主题: Database版 - better way to compare nullable columns?
in oracle, join table a and b on col, which is a nullable column
a.col = b.col doesn't match all
( a.col is null and b.col is null )
OR
( a.col is not null and b.col is not null and a.col = b.col )
does
nvl(a.col, 'N/A') = nvl( b.col, 'N/A') seems work, but if a.col is null and
b.col is 'N/A', then it will fail.
What's the best way to compare them?
tj
发帖数: 957
13
来自主题: Database版 - 请教一个表的设计问题
这个好像和我的第二个表一样。
问题是查询的时候会不会比较慢?
For example, assume min/max_date defined, to find status for all assets as
of 9/1/2013?
select asset, activate_date, deactivate_date, status
from asset_statuses
where to_date('1-sep-2013') between nvl(activate_date, min_date) and nvl(
deactivate_date, max_date)
y*****l
发帖数: 5997
14
来自主题: _pennystock版 - 我的新手上路及进阶 (转载)
【 以下文字转载自 Stock 讨论区 】
发信人: brightl (无边浪子), 信区: Stock
标 题: 我的新手上路及进阶
发信站: BBS 未名空间站 (Sat May 14 02:36:21 2011, 美东)
谢谢小母牛双黄包,今天一气写完三集了。欢迎大家指导,讨论,图例在跟贴上。
(1): 新手上路
资金: $4k-$10k (Oct. 2009 – Nov. 2010)
BKM 0.1: 宁可错过, 不可错了;买低卖高, 有赚就好
Risk Mitigation: Buy only Blue Chip stock and Index ETF
成果: 20多笔trades ,100% profitable ,平均每笔trade收益 5.54%, Overall
gain > 50%
Tickers: INTC, SCHA, IJK
阅读材料:
1. 不哭教条 1-6: http://www.mitbbs.com/article_t2/Stock/31817193.html
2. The intelligent Investor by Gra... 阅读全帖
G*******n
发帖数: 6889
l******a
发帖数: 278
16
来自主题: Faculty版 - Faculty失利, industry嫌老
Intel usually hires fresh Ph.D.'s so that the new Ph.D. can be trained by
Intel culture easilly.
It seems your area is process, EE, CS, or similar. You can also try AMD,
AMAT, NVLS, ASM, KLA-Tencor, many such kind of semiconductor companies.
r*********5
发帖数: 2183
17
来自主题: Stock版 - 蓉儿推荐几个 pick ? 好不好
蓉儿推荐几个 pick ? 好不好,看看明天有没有红包拿回家?,错了别怪我啊!YMYD
看到最近大盘不好做,,丐帮的兄弟缺乏粮草,,蓉儿帮主今天喝多了,,发红包,
MPWR :22.18 有小小回调压力,如站稳 22.18 ,应上看 25.3x (应该能冲破 22.18)
SU : 如果企稳 33.2 ,,上看 35
SMS: 明天星期四有机会,上看 21.4,,,20 块钱有压力,要小心,如果冲不破就跑
PMCS:如果明天星期四平开,或者高开高走,上看 10.6,
如果低开,或者收盘红色,就等一到两天,回调企稳再进货
AMAT:如站稳 12.8 ,,上看 14.6 ,(潜力比较厉害的)
===================================================
还有几个,这几天都有可能上窜的,一旦有动力,可待观察的个股:
TSRA , SPIL , VECO, VRGY(可能有小小回调,等机会再进),
NVLS(这个很好,上看 25.8),
(ACH 上看28 不算多,,值得观察)
( 还有一个 AA 也都不错,值得观察)
L********l
发帖数: 575
18
来自主题: Stock版 - 蓉儿推荐几个 pick ? 好不好
谢谢蓉儿
xoxo

蓉儿推荐几个 pick ? 好不好,看看明天有没有红包拿回家?,错了别怪我啊!YMYD
看到最近大盘不好做,,丐帮的兄弟缺乏粮草,,蓉儿帮主今天喝多了,,发红包,
MPWR :22.18 有小小回调压力,如站稳 22.18 ,应上看 25.3x (应该能冲破 22.18)
SU : 如果企稳 33.2 ,,上看 35
SMS: 明天星期四有机会,上看 21.4,,,20 块钱有压力,要小心,如果冲不破就跑
PMCS:如果明天星期四平开,或者高开高走,上看 10.6,
如果低开,或者收盘红色,就等一到两天,回调企稳再进货
AMAT:如站稳 12.8 ,,上看 14.6 ,(潜力比较厉害的)
===================================================
还有几个,这几天都有可能上窜的,一旦有动力,可待观察的个股:
TSRA , SPIL , VECO, VRGY(可能有小小回调,等机会再进),
NVLS(这个很好,上看 25.8),
(ACH 上看28 不算多,,值得观察)
( 还有一个 AA
n****c
发帖数: 512
19
netabc
nvls long 70%
amat long 30%
B*********e
发帖数: 909
20
来自主题: Stock版 - Selected ERs in July
希望ER季节能把故事拉上去
SYMBOL COMPANY EPS EST EPS ACT PREV.Y DATE/TIME (ET)
CSX CSX Corporation $ 0.88 n/a $ 0.72 12-Jul AMC
NVLS Novellus Systems $ 0.57 n/a -$ 0.41 12-Jul
AA ALCOA Inc $ 0.19 n/a -$ 0.26 12-Jul
INTC Intel Corporation $ 0.43 n/a -$ 0.07 13-Jul
YUM Yum! Brands $ 0.54 n/a $ 0.50 13-Jul AMC
MAR Marriott $ 0.28 n/a $ 0.23 14-Jul AMC
AMD
I****m
发帖数: 771
21
来自主题: Stock版 - Tuesday's Economic Calendar
Earnings: Tuesday Before Open
ArcelorMittal (MT): Q3 EPS of $0.89 may not be comparable to
consensus of 0.41. Revenue of $21B (+30%) vs. $21.3B. Shares -
5.8% premarket. (PR)
CIT Group (CIT): Q3 EPS of $0.66 beats by $0.17. (PR)
Coach (COH): Q3 EPS of $0.63 beats by $0.08. Revenue of $912M
(+19.7%) vs. $847M. Shares +0.5% premarket. (PR)
DuPont (DD): Q3 EPS of $0.40 beats by $0.06. Revenue of $7B
(+13.7%) vs. $6.7B. Shares +0.7% premarket. (PR)
Enterprise Products Partners L.P. (EPD): Q3 EPS of ... 阅读全帖
b*****l
发帖数: 161
22
来自主题: Stock版 - 我的新手上路及进阶
(1): 新手上路
资金: $4k-$10k (Oct. 2009 – Nov. 2010)
BKM 0.1: 宁可错过, 不可错了;买低卖高, 有赚就好
Risk Mitigation: Buy only Blue Chip stock and Index ETF
成果: 20多笔trades ,100% profitable ,平均每笔trade收益 5.54%, Overall
gain > 50%
Tickers: INTC, SCHA, IJK
阅读材料:
1. 不哭教条 1-6: http://www.mitbbs.com/article_t2/Stock/31817193.html
2. The intelligent Investor by Graham
首先是迈出第一步,对我来说有点困难: 不习惯做自己每把握的事;也没有看到
谁炒股一夜暴富的”励志”故事。工作第一年还很忙,虽然有心投入股市,却没有时间
迈出第一步。 说来算是福气,躲过了2008年的market crash。2009年看到股市3月探底
以后,准备入场。可是第一步不迟迟迈... 阅读全帖
M*****8
发帖数: 17722
23
股票符号 日期 最后价 跌幅 百分比
AAR, 20110520, 24.4999, -0.1624, -0.7
AAUKY, 20110520, 23.8300, -0.0513, -0.2
AAWW, 20110520, 63.9700, -1.4313, -2.2
AAXJ, 20110520, 62.6625, -0.3633, -0.6
AB, 20110520, 21.5300, -0.0545, -0.3
ABAX, 20110520, 30.8500, -1.4335, -4.6
ABB, 20110520, 26.3200, -0.0229, -0.1
ABCO, 20110520, 50.9300, -0.4103, -0.8
ABFS, 20110520, 25.3500, -0.7916, -3.1
ABW-A, 20110520, 25.2... 阅读全帖
u********e
发帖数: 4950
24
来自主题: Stock版 - 2011第二季度公司季报汇总
2011-7-11 NVLS
Novellus Systems reported an EPS of 79 cents a share which beated the 76
cents per share estimate for 2011 Q2.
But the company guided down the Q3 revenue estimate by 5% to 7%.
b*****l
发帖数: 161
25
来自主题: Stock版 - 今天逆流而上的强势股
This dog may be out of leash soon. The trigger condition as I said early has
been met:
http://www.mitbbs.com/article0/Stock/33616369_0.html
The uncertainty is NVLS earning release this afternoon,which may trigger
negative sentiment on the group if the ER is disappointing.
b*****l
发帖数: 161
26
来自主题: Stock版 - any tech earning this week?
There are two ERs for Tech's Tech, not every Joe's Tech:
Jul 11, 2011
Q2 2011 Earnings Conference Call - NVLS
4:30PM EDT
Jul 13, 2011
Q2 2011 Earnings Release - ASML
1:00AM EDT
p**8
发帖数: 3883
27
善意提醒: 今天 NVLS ER 不好。
p**8
发帖数: 3883
28
t***l
发帖数: 3644
29
是说2Q大家的ER都不会太好?
p**8
发帖数: 3883
30
I did not say "2Q大家的ER都不会太好"
t***l
发帖数: 3644
31
那提醒什么呢?能不能说说清楚啊?
p**8
发帖数: 3883
32
我这个贴都看不懂的话,最好不要炒股了。
t******y
发帖数: 6206
33
赞,其实对于很多公司来说,Q1--》Q2--》Q3的ER就是递减函数。
这是很危险的。
p**8
发帖数: 3883
34
看懂了?
s******v
发帖数: 4495
35
来自主题: Stock版 - 大牛帮看一下QCOM?
看一些报告和分析,smartphone/tablet有slow down的迹象,估计整个sector要疲软一
段时间。昨天nvls的ER很不好,top 6 customer都是cautious,我猜应该是intc, tsmc
, gf, s*, umc, smi?
E*****5
发帖数: 1068
36
来自主题: Stock版 - 大牛帮看一下QCOM?
今天是NVLS报表不好,拖累了芯片行业。
p**8
发帖数: 3883
37
发信人: p838 (挣钱快乐!), 信区: Stock
标 题: Re: 善意提醒: 今天 NVLS ER 不好。
发信站: BBS 未名空间站 (Mon Jul 11 23:48:30 2011, 美东)
我这个贴都看不懂的话,最好不要炒股了。
c********t
发帖数: 5706
38
俺也没看懂。NVLS不好,与后来的大盘大涨有关系吗?请大牛指点迷津。
h**********9
发帖数: 3252
39
来自主题: Stock版 - bot cedc, mu, amd today
好象有点左倾激进,AMAT,NVLS 都下调outlook, semi 可能不太妙。
h**********9
发帖数: 3252
40
来自主题: Stock版 - 亏废掉了
很奇怪半导体今天很早就开涨了,AMAT & NVLS 都不约而同地调低预期,但半导体这几
天反而都涨了不少。
h**********9
发帖数: 3252
41
来自主题: Stock版 - MU ER missed
早就说过半导体有很衰的迹象,amat,nvls 连续下调前景,但前段时间SOX不但不跌,
还充当上涨领头羊。
u********e
发帖数: 4950
42
☆─────────────────────────────────────☆
updownlife (渔夫) 于 (Mon Jul 11 23:35:21 2011, 美东) 提到:
2011-7-11 AA
AA reported a EPS of 32 cents a share, meeting the guided down 32-cent
estimate.
It is projected that "aluminium demand will grow 12 per cent this year and
will double by 2020.”
☆─────────────────────────────────────☆
updownlife (渔夫) 于 (Mon Jul 11 23:38:36 2011, 美东) 提到:
2011-7-11 NVLS
Novellus Systems reported an EPS of 79 cents a share which beated the 76
cents per share estimate... 阅读全帖
l**********y
发帖数: 2050
43
来自主题: Stock版 - 2012年1月份ER名单
Source: www.earnings.com (S&P 500 Company only)
Earnings Releases - Proposed:
SYMBOL COMPANY
EVENT TITLE
EPS ESTIMATE EPS ACTUAL PREV. YEAR ACTUAL Date/Time (ET)
1月30日起:
AFL Aflac Inc
Q4 2011 Aflac Inc Earnings Release
$ 1.52 n/a $ 1.33 30-Jan - 3-Feb
APC Anadarko Petroleum Corp
Q4 2011 Anadarko Petroleum Corp Earnings Release
$ 0.61 n/a $ 0.29 30-Jan - 2-Feb
AON Aon Cor... 阅读全帖
l**********y
发帖数: 2050
44
来自主题: Stock版 - 2012年2月份ER名单
Source: www.earnings.com (S&P 500 Company only)
Earnings Releases - Confirmed:
SYMBOL COMPANY
EVENT TITLE
EPS ESTIMATE EPS ACTUAL PREV. YEAR ACTUAL Date/Time (ET)
2月1日
AET Aetna Inc
Q4 2011 Aetna Inc Earnings Release
$ 0.98 n/a $ 0.63 1-Feb 6:00 AM
ALL Allstate Corp
Q4 2011 Allstate Corp Earnings Release
$ 0.96 n/a $ 0.50 1-Feb AMC
AMP Ameriprise Financial Inc
Q4 2011 Ameriprise Financial ... 阅读全帖
B*******n
发帖数: 20645
45
Here you are: (most update 05/25/2012)
MMM
ACE
ABT
ANF
ACN
ADBE
AMD
AES
AET
AFL
A
GAS
APD
ARG
AKAM
AA
ALXN
ATI
AGN
ALL
ANR
ALTR
MO
AMZN
AEE
AEP
AXP
AIG
AMT
AMP
ABC
AMGN
APH
APC
ADI
AON
APA
AIV
APOL
AAPL
AMAT
ADM
AIZ
T
ADSK
ADP
AN
AZO
AVB
AVY
AVP
BHI
BLL
BAC
BK
BCR
BAX
BBT
BEAM
BDX
BBBY
BMS
BRK.B
BBY
BIG
BIIB
BLK
HRB
BMC
BA
BWA
BXP
BSX
BMY
BRCM
BFB
CHRW
CA
CVC
COG
CAM
CPB
COF
CAH
CFN
KMX
CCL
CAT
CBG
CBS
CELG
CNP
CTL
CERN
CF
SCHW
CHK
CVX
CB
CI
CINF
CTAS
CSCO
C
CTXS
CLF
CLX
CME
CMS
COH
KO
CCE
CTSH
... 阅读全帖
G*******n
发帖数: 6889
46
来自主题: Stock版 -
NVLS没拿到IPO 14.00,心有不甘,一不小心16.61 IPO pop高价进了,随后一路跌到14
多,等了很久,上周四周五大涨,赶紧抛掉收回老本,刚看到今天又涨4.5%
G*******n
发帖数: 6889
47
来自主题: Stock版 - 今天逆势上涨的股票
NVLS
b**********a
发帖数: 32
48
来自主题: SanFrancisco版 - 硅谷小道: Semi Equip要火?
现在的上升只是recovery, 不是基于all-time high 再上涨. 所以股票也是在recovery
. Amat, klac, lrcx, nvls, 有哪一只没有从底点涨回去呢?
W*****e
发帖数: 6
49
来自主题: Pingpong版 - 新人报道
打法:横板两面弧圈
球拍:Nittaku NVL
正手:T64
反手:Sriver EL
性别:不告诉你
等级分:250
所在地:湾区
今天第一次去了克拉布,刚刚回来,出了一身汗。好累喔。
我现在要放水洗澡澡去了。
w******d
发帖数: 1301
50

神创论也没有否定这些东西吧。 事实上神创论认为从这些东西的奇妙更看到了上帝的
创造。
我不记得我最早从哪里看到的。 可能高中吧。呵呵。 你大概要鄙视了。
查了查网络, 比较科普的例子有:
http://wenwen.soso.com/z/q115415739.htm
比较学术的文章有
http://nvl.nist.gov/pub/nistpubs/jres/109/2/j92cur.pdf
呵呵。 谢谢指点。 有机会我会读的。 不过我曾经大致读过他的The selfish gene,
我觉得里面有不少没法证实的假设。所以我觉得里面有不少很“严谨”的“任意三角形
都是等边三角形”的证明。 我也推荐你读一本书 Robert Sawyer的Calculating God.
这是本科幻小说, 里面有很多关于进化论和创造论的有趣讨论。
的确, 我信主后的确是尽量以牛顿的那种为认识上帝的创造而做研究的榜样来从事我
自己的科研的。 我觉得我如果真的可以在上帝面前谦卑承认自己是罪人,我就可以更
客观地面对事实。 如果我的确错了, 信仰也给我勇气可以不计后果地承认错误。所以对我来说,认识上帝让我可
1 2 下页 末页 (共2页)