由买买提看人间百态

topics

全部话题 - 话题: lname
1 (共1页)
aw
发帖数: 127
1
来自主题: Database版 - a simple question about insert
FT,你INSERT到2个COLUMN,INQLast_Name,INQEmail,怎么用一个值'$lname,$lname'?(
应该是‘$lname’,‘$lname')

new
g*******t
发帖数: 124
2
来自主题: Statistics版 - 再问一个sas base里的问题。
Which INPUT statement reads the values for Lname, Fname, Department and
Salary (in that order)?
1---+----10---+----20---
ABRAMS THOMAS
SALES $25,209.03
BARCLAY ROBERT
MARKETING $29,180.36
COURTNEY MARK
PUBLICATIONS $24,006.16
a. input #1 Lname $ Fname $ /
Department $12. Salary comma10.;
b. input #1 Lname $ Fname $ /
Department : $12. Salary : comma.;
c. input #1 Lname $ Fname $
#2 Department : $12. Salary : comma.;
d. both b and c
答案是d,
说明:
c**h
发帖数: 4
3
The XML data schema looks like this:



XYZ
MNO


...

I try to use DSO to read one record at one time and display
the data in an HTML table. But since and
are grandchild items, I can't find a way to use to
only get one record. If I add #xmldso in the , I
will get all the data not just one.
Could you let me know how to display these grandchild or
even grand-grand c
B******e
发帖数: 16928
4
来自主题: Military版 - 能老师说高考太容易了
https://www.umsalary.info/index.php?FName=Uday&LName=Rajan&Year=0
University of Michigan, Full Professor in Finance,一年过300K
https://www.umsalary.info/index.php?FName=Toni&LName=Whited&Year=0
University of Michigan, Full Professor in Finance,一年过400K
S********t
发帖数: 4402
5
你又不给他账号。
下面是我们公司的sample.你可以拿过去用:
To Whom It May Concern,
This is to confirm with FedEx that D**** LLC, the shipper, waive our
rights to pursue the claim of a package (tracking number: 9222881100*****)
shipped by FedEx. In addition, we authorize FedEx to resolve the claim with
fName lName as the claimant. fName lName’s address is ******.
If you have any further questions, please don’t hesitate to contact us at
603-***-****.
Thanks a lot for your assistance!
Sincerely,
q****x
发帖数: 7404
6
来自主题: Apple版 - Obj C multi-parameter method
C++:
void foo(const char* fname, const char* mname, const char* lname);
Obj C
- (void)first:(NSString *)fname second:(NSString *)mname third:(NSString )
lname;
So the function name and the 1st parameter name are identical? This really
looks weird. What's the rationale behind this design? It's count-intuitive
that changing the 1st parameter name means changing the function name.
p******e
发帖数: 31
7
来自主题: BuildingWeb版 - help about sql connection with ASP
我想用ASP添加数据库record时,总是报错。
请问是怎么回事? 谢谢!
我的数据库并没有设为只读啊。
程序如下:

<%
dim db
dim strCon
db="access"
strCon="DRIVER={Microsoft Access Driver (*.mdb)};
DBQ=c:/Inetpub/wwwroot/name/name.mdb"
set db=Server.CreateObject("ADODB.Connection")
db.open strCon
%>
set res=Server.CreateObject("ADODB.Recordset")
res.Open "select * from
user",strCon,adOpenKeyset,adLockOptimistic
res.AddNew
res("pass")=pass
res("fname")=fname
res("lname")=lname
if city<>"" then
res("city")=city
.......
s*****r
发帖数: 59
8
来自主题: BuildingWeb版 - a question about php and mysql
$insert = "INSERT INTO profiles
(INQLast_Name,INQEmail) values ('$lname,$lname')";
failed, is that the correct syntax when adding more column values? thanks.
if I add a single value, it works good, but when I tried to add mutiple, it
failed. thanks.

happen?
entry
c******e
发帖数: 1581
9
来自主题: BuildingWeb版 - a question about php and mysql
slipper, you need a little more bit study on php and mysql.
The correct syntax should be:
$insert = "INSERT INTO profiles (INQLast_Name, INQEmail) values
('".addslashes($lname)."','".addslashes($lname)"')";
Note single quote is around each varchar field.

the
p*****e
发帖数: 58
10
来自主题: Database版 - Question on relational calculus
if you want to get all employees who work on ANY project
that john smith works on then the SQL is:
select e.ess, e.fname, e.lname, wk.projectno, wk.hours
from employee e
inner join works wk on e.ess = wk.essn
inner join
(select distinct w.projectno
from works w inner join employee ref on ref.ess=w.essn
where ref.lname='Smith' and ref.fname='John')
p
on p.projectno = wk.projectno
s*****r
发帖数: 59
11
来自主题: Database版 - a simple question about insert
$insert = "INSERT INTO profiles
(INQLast_Name,INQEmail) values ('$lname,$lname')";
failed, is that the correct syntax when adding more column values? thanks.
if I add a single value, it works good, but when I tried to add mutiple, it
failed. thanks.
the
c*****d
发帖数: 6045
12
第一题在oracle里还可以这么做
SELECT ssn, lname
FROM (SELECT ssn,
lname,
pno,
SUM (DECODE (sex, 'f', 1, 0)) OVER (PARTITION BY pno) cnt_f,
SUM (DECODE (sex, 'm', 1, 0)) OVER (PARTITION BY pno) cnt_m
FROM employee e, works_on w
WHERE e.ssn = w.essn) a
WHERE cnt_f > cnt_m
B*****g
发帖数: 34098
13
刚才没看题,不知行不行,现在看了,还真不行,不过你的sql可以简化成
SELECT ssn, lname
FROM (SELECT ssn,
lname,
pno,
SUM (DECODE (sex, 'm', 1, -1)) OVER (PARTITION BY pno) cnt
FROM employee e, works_on w
WHERE e.ssn = w.essn) a
WHERE cnt < 0
h**j
发帖数: 2033
14
来自主题: Programming版 - Cassandra returns null row keys?
cqlsh:testks> show version
[cqlsh 4.1.1 | Cassandra 2.0.6 | CQL spec 3.1.1 | Thrift protocol 19.39.0]
用了helenus和astyanax都一样,row key都是null,都指定了target version 1.2 和
CQL3.
[ ,
]
key作为一个column返回,by design?
h********o
发帖数: 103
15
DATA TEST;
INFILE CARDS DLM = ",";
INPUT FNAME $ LNAME $ BIRTH $ 23-30 PHONE $ 31-40;
CARDS;
SMITH ,BOB 01/03/668845333883
JACKSON ,ANDREW 03/09/779917736612
ALICE ,KIM 02/24/542243226673
;
PROC PRINT DATA = TEST NOOBS;
RUN;
===========================================================
FNAME LNAME BIRTH PHONE
SMITH BOB 01/03/66 8845333883
JACKSON ANDREW 03/09/77 9917736612
... 阅读全帖
B******e
发帖数: 16928
16
来自主题: Military版 - 能老师说高考太容易了
我对理工专业的收入不清楚,不过我贴得已经很清楚,business school faculty full
professor research active的300K以上是正常,这基本属于常识。你说说我的link有
什么问题
再来一个:
https://www.umsalary.info/index.php?FName=Joel+&LName=Slemrod&Year=0
这个是Econ系的full professor,一年400K+
i**y
发帖数: 2557
17
来自主题: ebiz版 - 这个网站挺有意思
收藏了,hehe

TYPE=people&DB=WP&FNAME=Nicholas&LNAME=Smith&CITY=&STATE=AZ&KEY=1295150625
430371198.71.198.206.65&COUNT=9&PRCOUNT=9999&REC=6
m******c
发帖数: 830
t*******e
发帖数: 207
v*******a
发帖数: 759
20
来自主题: GiftCard版 - PTF+ with $25 walmart
https://secure.trade-interactive.com/cgi-bin/passport_to_fun/index.mp?s=
160798&r=aaa&m=4tsdgpsnv7c&c=90225&p=1&config=2147&email=weiweifancn%
40hotmail%2ecom&email=weiweifancn%40hotmail%2ecom&fname=&lname=&address=&
address2=&city=&state=&zip=&country=&gender=&phone=&dob=&
again, not a referral
v*******a
发帖数: 759
21
来自主题: GiftCard版 - AHR+ with $25 sears
https://secure.trade-interactive.com/cgi-bin/at_home_rewards/index.mp?s=
160799&r=aaa&m=4tsdgtenv94&c=90226&p=1&config=2147&email=weiweifancn%
40hotmail%2ecom&email=weiweifancn%40hotmail%2ecom&fname=&lname=&address=&
address2=&city=&state=&zip=&country=&gender=&phone=&dob=&
w****o
发帖数: 367
22
来自主题: Investment版 - 大家看看这个是不是骗子? (转载)
【 以下文字转载自 Money 讨论区 】
发信人: wookao (六味地黄丸), 信区: Money
标 题: 大家看看这个是不是骗子?
发信站: BBS 未名空间站 (Mon May 18 15:49:06 2009)
在ebay看到一个链接:
https://www.microplace.com/
就是收集小额贷款,发给第三世界贫穷国家,小额贷款对working poor来说可以扩大再
生产,帮助他们脱贫。
我就注册了一个账户,然后通过paypal投资了50块,回报是1~6不等,根据你的投资长
短,和地区不同。
今天受到他们的一个电话说,要我的Photo ID,说是我们本周的法律,为了防止ID
Theft,要SSN,Date of Birth and Photo ID.
我在FINRA上查到他们的公司的信息如下:
http://brokercheck.finra.org/Search/SearchResults.aspx?SearchGroup=Firm&SearchType=FreeForm&SearchText=microplace&FName=&MName=&LName
w********r
发帖数: 8704
23
来自主题: Living版 - 老外多少喜欢叫initials的?
看你不相信的样子,好吧,不好透露真实的姓,偶就找了找类似的名字,but you got
the idea。
http://www.linkedin.com/search/fpsearch?fname=Jb&lname=Smith&ke
a**n
发帖数: 132
24
离smu公交20分钟内2000-3000的房子,很多选择
https://www.nestia.com/map_view/search?layer=1&ne=1.462688,104.071845&sw=1.1
30437,103.632391&mode=transit&time=10&loc=1.296568-103.852118&lname=SMU%20Si
ngapore&lease_type=1&price_max=3000&price_min=2000
a**n
发帖数: 132
25

半个月左右足够了
只要房东同意就可以.大概2000-2500新币左右.你可以参考这里
https://www.nestia.com/map_view/search?layer=3&lname=Nanyang%20Technological
%20University%20Singapore&loc=1.34831-103.683135&ne=1.359388,103.713946&sw=1
.333238,103.680987&lease_type=1&bedroom_min=2&bedroom_max=3&order_by=
preferred_price
在NTU的食堂吃2个人10新币就够了.生活日常开销1500吧.
基本没什么特别要买的,不过这个因人而异 :)
x**t
发帖数: 21
26
谢谢,很有用的信息

半个月左右足够了
只要房东同意就可以.大概2000-2500新币左右.你可以参考这里
https://www.nestia.com/map_view/search?layer=3&lname=Nanyang%20Technological
%20University%20Singapore&loc=1.34831-103.683135&ne=1.359388,103.713946&sw=1
.333238,103.680987&lease_type=1&bedroom_min=2&bedroom_max=3&order_by=
preferred_price
在NTU的食堂吃2个人10新币就够了.生活日常开销1500吧.
基本没什么特别要买的,不过这个因人而异 :)
d******0
发帖数: 1458
27
来自主题: Texas版 - 请推荐Pearland的儿科医生
http://kelseyseybold9.reachlocal.net/Your_Doctor/DoctorBiography.cfm?fname=Y. Beth&lname=Yip&MI=
我们也是刚搬过来用的这个医生,就去过一次是给老大看病,感觉还瞒好的,准备老二出
来了还用她.是个香港人女的,还瞒有耐心的.名字是Y. Beth Yip, MD
d*********g
发帖数: 2906
28
来自主题: Running版 - 今天报名了
大下坡看着真不错,但6000到5000 feet的海拔是不是高了点。看他们的成绩好像不是
特别好,不知道和这个海拔有没
有关系。
Bib FName LName State Div Age Sex ChipTime Overall
SexPl DivPl
607 DANIEL KENNEY CO MOVERALL 25 M 02:38:20 1 1
1
508 RYAN HERZOG CO MOVERALL 30 M 02:39:05 2 2
2
806 SHAWN MONK CO MOVERALL 24 M 02:40:06 3 3
3
248 ZACH CRANDALL CO MOVERALL 30 M 02:40:59 4 4
4
512 MICHAEL ... 阅读全帖
p***r
发帖数: 4859
29
来自主题: Running版 - 变变怎么样了
Hal Koerner 大牛人!
http://ultrasignup.com/results_participant.aspx?fname=Hal&lname
p***r
发帖数: 4859
30
来自主题: Running版 - 变变怎么样了
原来是个“老手”
http://ultrasignup.com/results_participant.aspx?fname=Hao&lname

啊。
a****a
发帖数: 112
31
来自主题: ClassicalMusic版 - Leon Fleisher
http://www.classicalhall.org/bio1.asp?lname=fleisher
Leon Fleisher
Born July 23, 1929, San Francisco, California
Now Living in Baltimore, Maryland
Con No.5 in E flat, Op.73 (Emperor): II-Adagio Un Poco Moto

Leon Fleisher is one of the first pianists to be inducted into the
American Classical Music Hall of Fame. Fleisher began to study piano at the
age of four. He gave his first public recital at age six, and three years
later began 10 years of study with Arthur Schnabel, in New York and
M******s
发帖数: 138
M******s
发帖数: 138
f**********c
发帖数: 651
34
http://florida.arrests.org/search.php?fname=&lname=chen
有个哥们被抓了无数次啊,变着戏法换名字,太搞了
b***y
发帖数: 374
35
来自主题: WaterWorld版 - 刚从监狱出来,交完了保释金
http://florida.arrests.org/search.php?fname=&lname=wang&minage=
靠,查了一下Florida被逮捕的光是姓王的中国人,就有几十号。还有赵钱孙李。。。
不看不知道,看了吓一跳。
M******s
发帖数: 138
s*****r
发帖数: 59
37
来自主题: BuildingWeb版 - a question about php and mysql
mysql_select_db(INQUIRY_DB);
$insert = "INSERT INTO profiles
set INQEmail=\"$lname\"";
$result = mysql_query($insert);
I use mysql in php code. but whenever I tried to add a new entry into the
table, I always failed. can somebody give me some suggestion why that happen?
this is a test. the table include a lot of columns, I tried to add a new entry
with only one column value. thanks very much!
P****y
发帖数: 707
38
来自主题: BuildingWeb版 - a question about php and mysql
mysql_select_db("INQUIRY_DB");
$insert = "INSERT INTO profiles (INQEmail) VALUES ('$lname')";
j**y
发帖数: 147
39
来自主题: Database版 - Questions on SQL
在 Roman (想念她的教授) 的大作中提到: 】
I don't think so. See the following:
CREATE TABLE EMPLOYEE
( FNAME VARCHAR(15) NOT NULL,
LNAME VARCHAR(15) NOT NULL,
SSN CHAR(9) NOT NULL,
......
SUPERSSN CHAR(9),
.....
PRIMARY KEY (SSN)
FOREIGN KEY (SUPERSSN) REFERENCES EMPLOYEE(SSN));
The foreign key of this table references the primary key of itself.
h******t
发帖数: 27
40
来自主题: Database版 - SQL question HELP
what is the averge of age among all students who participate in more than
2 activity
STUDENT (
StuID NUMBER,
LName VARCHAR2(12),
Fname VARCHAR2(12),
Age NUMBER,
Sex VARCHAR2(1),
Major NUMBER,
Advisor NUMBER,
city_code varchar2(3)
);
ACTIVITY (
actid number ,
activity_name varchar2(25))
PARTICIPATES_IN ;
create table PARTICIPATES_IN (
stuid number,
actid number )
thanks
r******d
发帖数: 1
41
来自主题: Database版 - Question on relational calculus
Have the tables:
employee(fname, lname, ssn)
works(essn,projectno,hours)
how to write the following query in relational calculus
"retrive the names of employees who work on all the project
that 'john smith' works on"?
Thx!
p*****e
发帖数: 58
42
来自主题: Database版 - Question on relational calculus

If you want to get all employees who work on ANY (not ALL)
projects
that john smith works on, then the SQL is:
There are also other ways to write the SQL. Here is another
one:
Select e1.*, w1.*
from employee e1 inner join works w1 on e1.ssn=w1.essn
inner join works w2 on w1.projectno=w2.projectno
inner join employee e2 on w2.essn=e2.ssn
where e2.fname='john' and e2.lname='smith'
d****i
发帖数: 16
43
来自主题: Database版 - help! A bug about date type !
Do not why is not work?
maybe date type is wrong.
literal does not match format string
drop table employee;
create table employee( FNAME varchar(15),
MINIT char,
LNAME varchar(15),
SSN char(9),
BDATE date,
ADDRESS varchar(30),
SEX char,
SALARY decimal(10,2),
SUPERSSN char(9),
DNO int
);
insert into employee values('john','B','Smith','123456789',
'1956-11-11',
'731 Fondren, Houston,TX', 'M',
30000,'333445555',5);
d**a
发帖数: 75
44
来自主题: Database版 - help: question on oracle sys_context()
I had a table and I want to retrieve those rows whose fname
is the same as the user name of the login user. the
following is what i ran in sql+
SQL> select * from e1;
UNAME FNAME LNAME ADDR
b**e
发帖数: 2
45
来自主题: Database版 - A question about recursive query
For your first question, and for the second onw it's pretty much same.
Sorry it's not simple. We have to wait for Yukon to write simple recursive
queries
(For microsoft sql server)
Create Table #tmpTABLE (ID int, parent_id int, lastName varchar(50), firstName
varchar(50) )
declare xTmp scroll cursor for SELECT * from tablename
open xTmp
declare @myid int
declare @pid int
declare @lName varchar(50)
declare @fName varchar(50)
declare @found bit
declare @tmpID int
declare @tmpPID int
declare @num i
a**k
发帖数: 29
46
来自主题: Database版 - Help:java call oralce stored procedure
I am a new beginner in JDBC and Oracle stored procedures. Would you please
help me
to solve the following practical question?
There is a table:
emp: fname, lname, dept, gender
if I want to select:
select * from emp where gender='m';
1. How could I write oracle stored procedure/function?
2. How could I writeJDBC to call stored procedure/function? I want to use
CallableStatement and ResultSet.
s*****r
发帖数: 59
47
来自主题: Database版 - a simple question about insert
mysql_select_db(INQUIRY_DB);
$insert = "INSERT INTO profiles
set INQEmail=\"$lname\"";
$result = mysql_query($insert);
I use mysql in php code. but whenever I tried to add a new entry into the
table, I always failed. can somebody give me some suggestion why that happen?
this is a test. the table include a lot of columns, I tried to add a new entry
with only one column value. thanks very much!
w****n
发帖数: 266
48
来自主题: Database版 - Decrypting Datasources in SSRS
数据库里的email和SSN加密了,在SSRS里怎么解密,还原数据?
这个是我在shared dataset里的 SQL 语句, 出来的report里SSN还是显示Error
Use xxxx
GO
OPEN SYMMETRIC KEY Generickey DECRYPTION BY CERTIFICATE EncryptCert
GO
SELECT LName,
FName,
Convert(nvarchar(256),Convert(varbinary(256),DECRYPTBYKEY([SSN]))) as SSN
FROM table
c*****d
发帖数: 6045
49
刚才开会的时候生怕有人抢我包子
haha,先来个笨方法,功能肯定能实现
SELECT ssn, lname
FROM employee
WHERE ssn IN
(SELECT essn
FROM works_on
WHERE pno IN
(SELECT DISTINCT f.pno
FROM ( SELECT pno, COUNT (1) cnt
FROM employee e, works_on w
WHERE w.essn = e.ssn AND sex = 'M'
GROUP BY pno) m,
( SELECT pno, COUNT (1) cnt
... 阅读全帖
1 (共1页)