往表里插入数据:
insert into t_book (author,name)values(2,3)
查询以a开头的某个字段所有记录
select * from t_book where name like ‘%a’
根据条件更新某条记录
update t_book set name=12 where id=1
往表里插入数据:
insert into t_book (author,name)values(2,3)
查询以a开头的某个字段所有记录
select * from t_book where name like ‘%a’
根据条件更新某条记录
update t_book set name=12 where id=1