Thanks for help.
I create a query in visual foxpro 9!The sql is:
select a.num,b.doctor;
from (select count(id) as num,cl group by cl) a;
(select count(id) as doctor,cl where dt="doctor" group by cl);
where a.cl=b.cl
It can get the correct data from the table,but it could not be readable by
the query designer.
Whenevery i quit/open the query view there is a messagebox say "Not a
character expression (Error 45)" and there is nothing in query designer.
I wander how to edit/run the sql without the warning.
Or without the designer tool edit the sql in the sql view directly!
Thanks anyway!