2个表,主表是大项名称表,细则表引用了大项名称表的id,存放在数据库里的这张表里的数据也是大项名称表的id,关于互换显示值的问题,我试了下报如下错误:
*You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') table_orderby WHERE DOMAINID ='11de-c138-782d2f26-9a62-8bacb70a86e1' ORDER BY ' at line 1