摘要: —数据的高级查询–注:–以以下列子为例create table product(p_id int primary key identity,p_name varchar(150),p_type int,p_desc varchar(400),–description描述p_price money,p_style varchar(50))insert into product(... 阅读全文
posted @ 2008-11-12 10:37 大鹏ME 阅读(121) 评论(0) 推荐(0) 编辑
摘要: —数据查询—查询返回的结果通常叫做记录集或者结果集(RecordSet)–注:–使用sql2000自带数据库pubs的authors表测试––1、查询表中的全部数据select * from authors–2、查询部分的行和列——条件查询select au_lname, phone from authors where au_id = ‘267-41-2394′–3、在查询中给列其别名s... 阅读全文
posted @ 2008-11-12 10:15 大鹏ME 阅读(212) 评论(0) 推荐(0) 编辑