I
illday
Unregistered / Unconfirmed
GUEST, unregistred user!
想在DBchart中查询,表名data_table,以供应商名称(name)的长度为横坐标,以同一字段长度的供应商名称的数量为纵坐标,查询语句怎么写
adoquery里又怎么写?
我这样写,
//adoquery1.SQL.Text:='
select name,count(name)as 数量
from data_table
where len(name) between 4 and 20
group by name
说查询语句不对!应该怎么写呢?
adoquery里又怎么写?
我这样写,
//adoquery1.SQL.Text:='
select name,count(name)as 数量
from data_table
where len(name) between 4 and 20
group by name
说查询语句不对!应该怎么写呢?