1.创建索引

create index PENALTIES_AMOUNT on penalties(amount);

删除: drop index  PENALTIES_AMOUNT;

2.创建索引


create view  number_sets (matchno,difference) as select matchno,abs(won-lost) from matches;

删除: drop view  number_sets;

使用方法:
select * from number_sets;

3.对用户限制在某个表操作
 grant select ,update on players  to dinnery

相关文章:

  • 2021-07-26
  • 2021-06-18
  • 2021-04-11
  • 2022-01-07
  • 2021-12-17
  • 2021-05-25
  • 2021-04-10
猜你喜欢
  • 2021-06-04
  • 2021-06-05
  • 2021-11-29
  • 2021-04-04
  • 2021-04-04
  • 2021-12-16
  • 2021-10-15
相关资源
相似解决方案