m**********2 发帖数: 2252 | 1 请教一下高手:
一个table里,有firstname, lastname, city, 和state.但是包含重复的数据。怎样才
能把duplicated 的数据找出来?即firstname, lastname, city, 和state都完全一样
的数据?是SQL server。
谢谢! |
|
j*****n 发帖数: 1781 | 2 SELECT firstname, lastname, city, state, count(1) NofDups
FROM table
GROUP BY firstname, lastname, city, state
HAVING count(1) > 1 |
|
k*****n 发帖数: 361 | 3 一个string的列,是firstname,lastname
一个单元格里面是Larry, Procin
怎么样用SQL把这个单元格分开成两列,lastname一列,firstname一列 |
|
D*******z 发帖数: 319 | 4 Here is the error message. Any ideas? Thanks.
Started: 3:00:00 AM Error: 2011-09-26 05:53:00.76 Code: 0xC02020A1
Source: Data Flow Task 1 Destination - astromembers_txt [154]
Description: Data conversion failed. The data conversion for column "
FirstName" returned status value 4 and status text "Text was truncated or
one or more characters had no match in the target code page.". End Error
Error: 2011-09-26 05:53:00.76 Code: 0xC02020A0 Source: Data Flow
Task 1 Destination -... 阅读全帖 |
|
d****u 发帖数: 275 | 5 各位大侠,我需要将一堆xml数据导入mysql的数据库中,
xml文件名001,输入的表是mytable,xml文件以rootTag开始,
运行的情况是,我的表里边相应的column都更新了,但是没有任何数值;
请问这段script到底哪里出错了??非常感谢!!
LOAD DATA LOCAL INFILE 'H:\\XXX\\2011\\001.xml'
INTO TABLE mydatabase.mytable
LINES STARTING BY '' TERMINATED BY ''
(@award)
SET
AwardID = ExtractValue(@award, 'AwardID'),
FirstName = ExtractValue(@award, 'FirstName'),
LastName = ExtractValue(@award, 'LastName'),
EmailAddress= ExtractValue(@award, 'EmailAddress'); |
|
d******i 发帖数: 7160 | 6 比如这个定制列name就会fail。必须重写遍p.firstname+' '+p.lastname才行。
SELECT p.firstname+' '+p.lastname as name from people as p
order by name
请高手支招。
谢谢! |
|
z**********8 发帖数: 2049 | 7 table1, employeeid, firstname, lastname
table2, employeeid, phone#, mailingaddress
talbe3, employeeid, saleamount
result set,
employeeid, firstname,lastname, phone#, mailingaddress,saleamount(>10000)
这个应该是典型的correlated subquery的例子吧。 |
|
g*****g 发帖数: 34805 | 8 If you don't know much about JEE, start with a pure servlet
application.
For example, single web page, type your firstname, lastname,
then display "Hello, your name is firstname lastname" as return.
And don't start from scratch, that'll take you a week.
Start with a hello world application.
Just some advice. |
|
a********0 发帖数: 48 | 9 Try to set a class. This class should have instance variables firstName and
lastName. The firstName and lastName instance variables will hold your first
and last names. Please demonstrate understanding of encapsulation by using
the private specifier to restrict access to insatnce variables.
Thank you very much. |
|
w*s 发帖数: 7227 | 10 var fs=require('fs');
var origData = JSON.parse(fs.readFileSync('0422.json', 'utf8'));
/////////////////////////////////////////////
var sort_by = function(field, primer) {
var key = primer ?
function(x) { return primer(x[field])} :
function(x) { return x[field]};
return function(a, b) {
return a = key(a), b=key(b), ((a>b) - (b>a));
}
}
/////////////////////////////////////////////
function certainValue(element)
{
return (element.systolic > 140 || element.... 阅读全帖 |
|
s*i 发帖数: 5025 | 11 1.Patient names and ages, sorted by age
map & sort
2.All patients with high blood pressure (systolic over 140 or diastolic over
90)
filter
3.Display all columns and allow the user to pick a column to sort by
sort
example solutions (data is the input array):
1.
var mapped = data.map(i => { return {
firstName: i.firstName,
lastName: i.lastName,
age: Math.floor((new Date()-Date.parse(i.birthDate))/(365.25 * 24 * 3600 *
1000))}});
var finallySorted = mapped.sort((a, b) => a.age - b.age);
2.
var fi... 阅读全帖 |
|
n*****t 发帖数: 22014 | 12 var data = require('./data.json');
var sortBy = function(arr, column) {
return arr.sort(function(a, b) {
return a[column] < b[column] ? -1 : 1;
});
}
var print = function(x) {
console.log('Name : ' + x.firstName + ' ' + x.lastName + ', Age: ' +
getAge(x.birthDate));
}
function q1() {
var today = new Date(), y = today.getYear() + 1900, m = today.getMonth()
+ 1, d = today.getDate();
var getAge = function(birth) {
var tmp = birth.split('-').map(Number), age = y -... 阅读全帖 |
|
n*******p 发帖数: 231 | 13 In my initial post, it says "申请一个professional looking的email address。什
么叫professional looking
,去找几个business card来看看,一般都是 f****************[email protected]。"
What I meant was to borrow some ideas from how others put on their business
cards. I think you got the "firstname.lastname" part.
I do want to apologize for confusing the audience. It's not my intention.
I DO NOT agree relying on Resume service companies to handle your resume. It
's not a bad idea talking to them to get some perspectives. Really... 阅读全帖 |
|
n*******p 发帖数: 231 | 14 In my initial post, it says "申请一个professional looking的email address。什
么叫professional looking
,去找几个business card来看看,一般都是 f****************[email protected]。"
What I meant was to borrow some ideas from how others put on their business
cards. I think you got the "firstname.lastname" part.
I do want to apologize for confusing the audience. It's not my intention.
I DO NOT agree relying on Resume service companies to handle your resume. It
's not a bad idea talking to them to get some perspectives. Really... 阅读全帖 |
|
w******e 发帖数: 1187 | 15 大家好,我们公司要招一名Research Associate或Senior Research Associate,做的
工作主要是molecular biology和immunoassay方面。我们的要求是:必须有扎实的生物
实验实践和理论训练;最好有FACS,protein conjugation chemistry,ELISA或其他
immunoassay经验但不是必须;硕士或博士毕业,有合法工作身份(OPT或H1均可;公司
会支持H1B申请和绿卡申请);尚未毕业但接近完成学业,可以用CPT身份做intern的我
们也会考虑。待遇随经验浮动。
我们公司的简单介绍请见网站:aptitudemedical.com。我们是一个位于南加州Santa
Barbara的年轻的startup,财务状况健康,成长潜力大。具体情况在面试时都可以详细
聊。
这次招的是一个entry-level position,但作为公司第二批雇员,你将和公司创始人并
肩工作。成长空间很大,相应的工作压力也很大。欢迎有理想有能力有干劲的朋友来申
请。To apply for this position, please... 阅读全帖 |
|
f********s 发帖数: 103 | 16 护照上的firstname没有空格
学位证上firstname有空格
怎么办?望有过经验的多指教.多谢 |
|
y******8 发帖数: 40 | 17 Table: Person
Columns
Column Name Type Nullable
person_ID int No
FirstName varchar No
MidleName varchar Yes
LastName varchar No
Person_ID is the primary key column for this table.
Columns
Column Name Type Nullable
Address_ID int No
person_ID int No
StreetNumber varchar No
StreetName varchar No
City varchar No
State varchar No
Address_ID is the primary key column for this table.
题目是:
W... 阅读全帖 |
|
w***z 发帖数: 28 | 18 proc sql;
create table new as
select lastname, firstname
from test
where upcase(firstname) like 'N%';
quit; |
|
g*******t 发帖数: 124 | 19 Which SAS program correctly reads the data in the raw data file that is
referenced by the fileref Volunteer?
Raw Data File Volunteer 1---+----10---+----20---+----30
ARLENE BIGGERSTAFF 19 UNC 2
JOSEPH CONSTANTINO 21 CLEM 2
MARTIN FIELDS 18 UNCG 1
a. data perm.contest;
infile volunteer;
input FirstName $ LastName $ Age
School $ Class;
run;
b. data perm.contest;
infile volunteer;
length LastName $ 11;
input FirstName $ |
|
h*********o 发帖数: 151 | 20 现有这样一段code,目的是:display the names of all navigators who are also
managers.
proc sql;
select lastname,firstname
from sasuser.staffmaster
where 'NA'=
(select jobcategory
from sasuser.supervisors
where staffmaster.empid = supervisors.empid);
我不明白的是 where clause里面的 'NA'= 是什么意思啊?作什么用的呢?为什么不写
成这样呢:
proc sql;
select lastname,firstname
from sasuser.staffmaster
where staffmaster.empid in
(select supervisors.empid
from sasuser.supervisors); |
|
f******u 发帖数: 250 | 21 you do not need a macro.
data data1(keep=x);
input variableName $14. variableLength : $12. price;
x=catx(' ', variableName,variableLength,price);
datalines;
FundingAmount 0-15000 0.217
ObjectAmount 15000-30000 0.318
FundingAmount 30000-60000 0.519
;
run;
data data2(keep=x);
input firstname : $7.lastname : $7. age;
x=catx(' ',firstname,lastname,age);
datalines;
Ashley Liu 17
brandon green 30
susan Chen 28
run;
data data3;
set data1 data2;
run;
data _null_;
fil... 阅读全帖 |
|
|
m*******l 发帖数: 12782 | 23 确实很傻,美国都称呼firstname这个比较好 |
|
|
|
l*********m 发帖数: 16971 | 26 好消息:李含琳公司已经开始调查了,
坏消息:薛刚在Amgen还好好的。
每人花十分钟,给他公司发个email,让所有人都知道这件事。二十年了,朱令被害成
这个样子,薛刚李含琳都干了什么来自我救赎?没有啊,直到现在还披着马甲上窜下跳
,给朱令,朱令的姐姐,朱令的家人泼脏水。能不能更下作,能不能更没有底线?你们
躲在美国就可以逃过惩罚吗?**************************************************
*****
Amgen公司的email是f****************[email protected]
也可以直接打电话:Phone: +1 805-447-1000,
告诉operator 你找谁,比如Gang Xue,或者找HR的大头,告诉他We Care! 我们一起努
力,一定会有用。
****************************************************************************
** Balachandran, Madhavan EVP, Operations Blatter, Victoria ... 阅读全帖 |
|
C*******f 发帖数: 13152 | 27 huang这是大陆的拼发吧,香港人黄是wong,弯弯也有huang,但你觉得可能吗?
好像firstname:qing, 更像大陆来的。 |
|
y*h 发帖数: 25423 | 28
很多州的驾照姓名不分开,联邦的SS Card也不分开,机器自动写成Firstname
Lastname,但你填表的时候不能乱填,要验护照上姓和名的,你不能反过来填。 |
|
k*******l 发帖数: 698 | 29 http://my.tv.sohu.com/us/226315683/75453485.shtml
美帝立法每年给阿富汗带路党每年1500个签证,在2011年实际上发了3个,拿签证等于
中彩票。
还有一人成功走完所有手续最后被拒签。
一人为英美翻译,期间中了2枪,在爆炸中受伤1次。花了3年多成功移民,此前父亲被
杀,弟弟被绑,花了35000美元赎金。此人的姓被美帝的官僚登记为FNU(firstname
unknown)。而一只海军陆战队员喜欢的伊拉克驴花了8个月到了美国。
这两个项目今年全部到期,也就是以后不给带路党发签证了。 |
|
|
c*******r 发帖数: 3289 | 31 去他奶奶的不规范, 我们中国人先姓后名,凭什么变成英文就先名后姓了?
英国还好叫surname,forename,NM没文化的美国人直接改成firstname lastname
,什么狗屁专家去死 |
|
发帖数: 1 | 32 本人的firstname拼音在英语里是个很牛逼的词 |
|
t**x 发帖数: 20965 | 33 我家孩子middlename都是英文的,
firstname都是中文 |
|
m*****n 发帖数: 1513 | 34 英文名其实是一个匿名的作用、另外较容易发音
与其说拒绝中文名,不如说拒绝实名制
美国的服务员名牌、不也只是firstname吗?美国服务员会把护照全名印在名牌上吗?
这事其实是环球时报一类的垃圾,找个借口抹黑香港,把民愤导向香港。不信去香港各
大媒体看看,这新闻有多少报道? |
|
z*****i 发帖数: 1 | 35 上午去朋友公司帮忙,接待一个客户,说自己叫Hennessy。我还以为他给轩尼诗家当上
门女婿,跟老婆姓呢。结果人家说Hennessy是自己的firstname,全名是Hennessy chan |
|
n****f 发帖数: 3580 | 36 一个好朋友的儿子firstname 取的中文名。
已经预见到他在学校难以融入进同学群。当然,但愿这不会放生。
孩子小时都是巴不得自己和别人一样,父母得多傻叉才取个中文名和自己孩子做对。 |
|
L*********s 发帖数: 3063 | 37 老印老墨的孩子都不起英文名,到底是他们傻还是起英文名的老中傻呢
: 一个好朋友的儿子firstname 取的中文名。
: 已经预见到他在学校难以融入进同学群。当然,但愿这不会放生。
: 孩子小时都是巴不得自己和别人一样,父母得多傻叉才取个中文名和自己孩子做
对。
|
|
l******x 发帖数: 1697 | 38 keep calling the firstname. so disgusting. |
|
S******8 发帖数: 24594 | 39 我在一个龙虾数据库上跑了一个query, top 10 是:
LastName FirstName Count
Garcia Maria 198
Hernandez Maria 190
Rodriguez Maria 180
Martinez Maria 152
LOPEZ MARIA 139
Gonzalez Maria 137
Ramirez Maria 135
SANCHEZ MARIA 118
Garcia Jose 116
Perez Maria 102 |
|
S******8 发帖数: 24594 | 40 top 10 first name:
FirstName Count
Maria 7348
Jose 3846
Michael 3645
David 2451
James 2429
Juan 2359
Jennifer 2281
Anthony 2262
Robert 2197
Jessica 2189 |
|
T*********I 发帖数: 10729 | 41 读完大作才明白原来Jeb Bush的last name是Jeb.
不过楼主理由是有趣的。否则怎么解释有人叫FDR 和 JFK。
我准备不要firstname了,把lastname缩写成一个字母。
欧耶! |
|
d********r 发帖数: 1238 | 42 就是是四个字母的Bush也足够了,哈哈,大肆宣传三个字母的Jeb就是想稳赢
: 读完大作才明白原来Jeb Bush的last name是Jeb.
: 不过楼主理由是有趣的。否则怎么解释有人叫FDR 和 JFK。
: 我准备不要firstname了,把lastname缩写成一个字母。
: 欧耶!
|
|
t*********1 发帖数: 502 | 43 是说你的也是“LastName FirstName”顺序,中间没有逗号? |
|
s*****e 发帖数: 404 | 44 一个星期搞定了328xi的lease。最后的deal是。
MSRP $48150 premium package, navigation, cold weather package, metallic
paint, driver assistance package.
monthly payment $399. 用了$2800的MSD
整个过程全部Email,没有打一个电话。他们直到取车也只知道我的Email和我的
firstname。
BMW的标配的车灯真烂呀。都快50k的车,还不给用led或hid。。。 应该加light
package。 |
|
s*****e 发帖数: 404 | 45 一个星期搞定了328xi的lease。最后的deal是。
MSRP $48150 premium package, navigation, cold weather package, metallic
paint, driver assistance package.
monthly payment $399. 用了$2800的MSD
整个过程全部Email,没有打一个电话。他们直到取车也只知道我的Email和我的
firstname。
BMW的标配的车灯真烂呀。都快50k的车,还不给用led或hid。。。 应该加light
package。 |
|
h*******o 发帖数: 145 | 46 realtyshares.com是个房地产投资网站,现在正在推广,你只需要注册并回复一邮件(
或者输入refer code)就有$100的signup bonus (不强制要求你注入资金投资,也不需
要SSN和DOB)。
我通过朋友的refer已经拿到bonus,而且bonus是直接打到银行账户上。有图为证,这
是bonus打到我的银行账号的截屏 http://imgur.com/G0q9GLp
版上已经有好几个网友拿到bonus了(想cross validate,可以发信给我,我可以告诉
你拿到bonus的网友的id,你可以向他们确认)
如果感兴趣,就用下面的链接注册
https://www.realtyshares.com/campaign/investor-referral-page?firstname=Chao&
lastname=Huang
1. 点击最上面的“Earn a special $100 bonus when you sign up.”
2. 输入邮箱地址和密码
3. 选择invest
4. 输入姓名和电话号码
5. 选择INDIVIDUAL INCOME(收入没... 阅读全帖 |
|
e***l 发帖数: 6493 | 47 最近怎么了?
Dear FirstName LastName,
I am Margaret Sawers from Australia married to Robin Sawers an
Australian who worked with a Saudi Arabian oil company in Asia. But
before his death during tsunami disaster, we were married but without
Children and after his death i fell sick and the doctor diagnosed that i
have lung cancer and, have only but a few months to live.
I am contacting you in view of the fact that we could be of great
assistance to each other, likewise developing a cordial business
relat... 阅读全帖 |
|
s********d 发帖数: 2216 | 48 还比较有规律。
基本都是刚注册的帐号,ebay ID 是 firstname.lastname, 毫无创意
地址稍加变化。 比如门牌号是 8429, 会改成 #000084-29# 或 00842-#9
xxx dr 改成 xxx driver 等等。
光头帐号我寄过不少,不过光头加上面几个特征的, 百分之 99 是骗子。 |
|
w******d 发帖数: 5839 | 49 另外这个地址的收信人确实太长,怎么处理?
XYZXYZ Solutions,C/O Firstname Lastname |
|
i***r 发帖数: 1035 | 50 amazon卖了一个iPhone,买家地址不常见。
Shipping Address:
FIRSTNAME LASTNAME # 299XXX TEAM WAITER/DINING ROOM
CARNIVAL CRUISE LINE/MAGIC
36XX NW 87TH AVE
MIAMI, FL 33178-2418
amazon email倒是说:“sold, ship now”
偶尔买个东西,请教~ |
|