菜鸟求一条语句,急!!! 表table ID Commdity_ID 04 01 0401 02 0402 03 02 12 0201 21 0202 35 统计 前两位相同的 条数 也就是 统计 02和 04 开头的 条数ORACLE 数据库的 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select substr(trim(id),1,2),count(*) from tablenamegroup by substr(trim(id),1,2); select substr(id,1,2),count(*)from tablename group by substr(id,1,2); select substr(id,1,2),count(*)from tablegroup by substr(id,1,2) select substr(id,1,2),count(*)from tbgroup by substr(id,1,2); selecct substr(id, 1,2) title, count(count) ctn from test group by substr(id, 1,2) select substr(id,1,2) id,count(*)from t1 group by substr(id,1,2) ORA-01126: 数据库必须已装载到此实例并且不在任何实例中打开 oracle 求助.....请高手帮帮忙 谢谢 DROP index 出错。 请问oracle 9I 里面的clob字段为什么查询超慢 如何将下面的语句在储存过程中执行通过========? oracle for redhat AS3 RAC安装问题?100分哟 视图和存储过程的问题 关于OracleOraHome81TNSListener的问题 给表编辑数据时出错 安装oracle9i的问题,ORA-27102:out of memory 用存储过程求一个数的平方 数据库状态当前不可用。?
group by substr(trim(id),1,2);
from tablename
group by substr(id,1,2);
from table
group by substr(id,1,2)
from tb
group by substr(id,1,2);
from t1
group by substr(id,1,2)