摘要:
1.连接查询,对结果集列的扩展select * from info select * from info,nation #形成笛卡尔积select * from info,nation where info.nation=nation.codeselect info.code,info.name,s 阅读全文
摘要:
1 简单查询(查所有数据) select * from表名; 注:*代表所有列 select * from info 所有行所有列 2 查询指定列 select code, name from info 3 修改结果集的列名 例 select code as'代号',name as'姓名' from 阅读全文