摘要:
1.where型子查询: select cat_id,good_id,good_name from goods where good_id in (selct max(good_id) from goods group by cat_id); 2. from 型子查询: select * from 阅读全文
摘要:
Num_digits 的默认值为 0。 正数向后截取,负数向前截取 TRUNC()函数截取时不进行四舍五入 */ select trunc(123.458) from dual; --123 select trunc(123.458, 0) from dual; --123 select trunc 阅读全文