摘要: 一、查询 1.为表起别名as。 select *from ClassId as id --选择ClassId 表,起别名为id(一般因为原来名字太长所以起短一点的别名) 2.查询全部列,指定列。为列起别名as。 selec... 阅读全文