实验五 数据库基础教程(孙风栋)

博客展示了一系列SQL语句,包括对books表和orders表的更新操作,如更新书籍零售价和订单发货日期;还有对books、customers、publishers、orders等表的查询操作,涉及选择特定列、筛选条件等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

(2)update books set retail = 30 where isbn='978-7-121-18619-8';

(3)update orders set shipdate= to_date('2013-2-2','YYYY-MM-DD') where order_id=1000;

(4)select title from books;

(5)select title from books where category is not null;

(6)select title,pubdate as PublicationDate from books;

(7)select customer_id, address from customers;

(8)select name,contact as ContactPerson, phone from publishers;

(9)select customer_id from orders;

(10)select * from orders where shipdate >= to_date('2013-3-1','YYYY-MM-DD');

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值