avatar
如何用代理打网络电话?# Internet - 有缘千里一线牵
l*d
1
【 以下文字转载自 Returnee 讨论区 】
发信人: drfimbs (feiboshi), 信区: Returnee
标 题: 高校人才引进大跃进,海龟将变海鬼
关键字: 海龟,官员,移民
发信站: BBS 未名空间站 (Sat Nov 26 00:17:53 2011, 美东)
今天在新浪网上读到"部属高校领导密集换人多名官员返校就职"。http://news.sina.com.cn/c/2011-11-26/011623527085.shtml
我对此文的解读:高校人才引进大跃进(没有形成人才梯队,一锅粥,会出乱子),将加
深社会矛盾,中共已经察觉,已经开始布阵加以控制。海龟,能不归就不归。
举一个非常简单的道理,当你发觉你身边的老头老太太都去炒股时,你千万不要进股市
,因为股市将进入一个拐点,将你套牢。
当你发现你身边的阿毛阿狗都海龟的时候,千万不要海龟(根据供求关系,此时龟,真不是个好点),中共已经察觉海龟将来会引发的社会问题(动荡),已经开始有计划地布控了。
退一步看,国内有钱有势的人,在国内掌握的信息要全面地多,都在积极地移民,
往外跑,说明他们对这个社会的不安,海龟你去趟这个浑水干吗?这不是找抽吗?
总之,中共已经察觉海龟以后的走势,已经开始布局控制,海龟们,这么多年都挺过来了,再挺一把, 能不归就不归。
avatar
f*e
2
欢迎大家提意见哦~~
avatar
S*s
3
if I have a table like this
CREATE TABLE myTable(
id integer,
category char(10),
value float
)
and want to get a cross table pivoting the category. a usual approach using
subquery and outter join is like following
SELECT myTable.id, t1.value as c1, t2.value as c2, t3.value as c3
FROM myTable
LEFT JOIN ( SELECT value FROM myTable WHERE category = 'category 1' ) c1 ON
myTable.id=c1.id
LEFT JOIN ( SELECT value FROM myTable WHERE category = 'category 2' ) c2 ON
myTable.id=c1.id
LEFT JOIN ( SELECT value FROM myTable WHERE category = 'category 3' ) c3 ON
myTable.id=c1.id
Is there any better solution with more scalability (say, new categories are
added) and better performance?
avatar
l*g
4
乌鲁木齐把自己的网络关了,从美国也打不进去电话,想跟家人联络,不知哪有高人给
予指点,自己感觉可以用国内代理,但是好像VOIP这个网络电话没有代理设置,是不是
别的网络电话可以?希望有人帮我
avatar
a*8
5
很漂亮!
十分!
avatar
i*w
6
Not sure if this is what you wanted, check the following query.
If you want to include future category names, then you need to use dynamic
SQL to get the distinct values in the category name column and then it will
pivot for you when you have new category name. For example, if you have a
new record with Category 4 and then Category 4 will be added to the result
grid.
declare @myTable table(id integer,category char(10),value float)
insert into @myTable values(1, 'category 1', 128)
insert into @myTable values(2, 'category 1', 28)
insert into @myTable values(3, 'category 2', 18)
insert into @myTable values(4, 'category 3', 328)
insert into @myTable values(5, 'category 2', 1)
insert into @myTable values(6, 'category 2', 5)
select * from
(select ID, category, value
from @myTable) p
Pivot
(max(value) for category in ([category 1], [category 2], [category 3])
) pt
-- Result
ID category 1 category 2 category 3
1 128 NULL NULL
2 28 NULL NULL
3 NULL 18 NULL
4 NULL NULL 328
5 NULL 1 NULL
6 NULL 5 NULL

using

【在 S*******s 的大作中提到】
: if I have a table like this
: CREATE TABLE myTable(
: id integer,
: category char(10),
: value float
: )
: and want to get a cross table pivoting the category. a usual approach using
: subquery and outter join is like following
: SELECT myTable.id, t1.value as c1, t2.value as c2, t3.value as c3
: FROM myTable

avatar
p*w
7
算了吧
这个是 diang 要封锁
不是个简单的网络故障找个代理能解决的
如果哪个代理能解决这个问题,这个代理也会被diang解决的

【在 l*****g 的大作中提到】
: 乌鲁木齐把自己的网络关了,从美国也打不进去电话,想跟家人联络,不知哪有高人给
: 予指点,自己感觉可以用国内代理,但是好像VOIP这个网络电话没有代理设置,是不是
: 别的网络电话可以?希望有人帮我

avatar
w*b
8
很漂亮啊,10分!
avatar
S*s
9
what flavor of SQL is it?
in standard SQL, there is no pivot, right?

will

【在 i*****w 的大作中提到】
: Not sure if this is what you wanted, check the following query.
: If you want to include future category names, then you need to use dynamic
: SQL to get the distinct values in the category name column and then it will
: pivot for you when you have new category name. For example, if you have a
: new record with Category 4 and then Category 4 will be added to the result
: grid.
: declare @myTable table(id integer,category char(10),value float)
: insert into @myTable values(1, 'category 1', 128)
: insert into @myTable values(2, 'category 1', 28)
: insert into @myTable values(3, 'category 2', 18)

avatar
o*c
10
很漂亮!10分!MM也给我打个分吧!

【在 f********e 的大作中提到】
: 欢迎大家提意见哦~~
avatar
i*w
11
T-SQL (Microsoft SQL).
What version do you have?

【在 S*******s 的大作中提到】
: what flavor of SQL is it?
: in standard SQL, there is no pivot, right?
:
: will

avatar
f*e
12
谢谢楼上三位,都给你们打分了~~
avatar
S*s
13
Sybase & Oracle. :(

【在 i*****w 的大作中提到】
: T-SQL (Microsoft SQL).
: What version do you have?

avatar
j*i
14
很漂亮的妹妹!给10分!给俺也打个分吧!
avatar
y*9
15
In Oracle 11g
SQL>select ID, category, value
2 from myTable;
ID CATEGORY VALUE
---------- -------------------- ----------
1 category 1 128
2 category 1 28
3 category 2 18
4 category 3 328
5 category 2 1
6 category 2 5
6 category 2 15
6 category 2 17
8 rows selected.
SQL>
SQL>select * from
2 (select ID, category, value
3 from myTable)
4 pivot (max(value) for (category) in ('category 1', 'category 2',
'category 3'))
5 order by id;
ID 'category 1' 'category 2' 'category 3'
---------- ------------ ------------ ------------
1 128
2 28
3 18
4 328
5 1
6 17
6 rows selected.

【在 S*******s 的大作中提到】
: Sybase & Oracle. :(
avatar
f*e
16
谢谢楼上,给你打分了
avatar
i*w
17
So now we know it works in both Microsoft SQL and Oracle.

【在 y****9 的大作中提到】
: In Oracle 11g
: SQL>select ID, category, value
: 2 from myTable;
: ID CATEGORY VALUE
: ---------- -------------------- ----------
: 1 category 1 128
: 2 category 1 28
: 3 category 2 18
: 4 category 3 328
: 5 category 2 1

avatar
s*d
18
打分!MM也给我打个分吧!

【在 f********e 的大作中提到】
: 欢迎大家提意见哦~~
avatar
B*g
19
竟然是你?@[email protected]

using

【在 S*******s 的大作中提到】
: if I have a table like this
: CREATE TABLE myTable(
: id integer,
: category char(10),
: value float
: )
: and want to get a cross table pivoting the category. a usual approach using
: subquery and outter join is like following
: SELECT myTable.id, t1.value as c1, t2.value as c2, t3.value as c3
: FROM myTable

avatar
s*l
20
PP哦,第一次来就买这么贵的衣服,我羡慕!10分,也请帮我打分,谢谢。
avatar
j*a
21
打分!MM也给我打个分吧!
avatar
f*e
22
谢谢,都打分了
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。