A.类似于书籍的目录索引,提高数据检索的效率,降低数据库的I/O成本。B.实际上索引也是一张表,该表中保存了主键和索引字段,并指向实体类的记录,索引列也是要占用空间的。C.通过索引列对数据库进行排序,降低数据排序的成本,降低cpu的消耗。D.如果对表进行insert,update,delete等操作,数据库管理系统不仅要保存数据,还要保存一下索引文件每次更新添加了索引列的字段,索引信息都会相应调整。
A.count(cid)B.count(distinct cid)C.count(name)D.count(*)
A.select id from t where substring(name,1,3)=’cif’B.select id from t where name like ’cif%’C.select id from table_1where num=10or num=20D.select id from t where createdate>=’2005-11-30’and createdate< ’2005-12-1’