还是那引号 我有看书结果还是悲催的迷惑了
有一个句子insert into Aselect a1,a2,a3+1 from Awhere a3>=ALL(select a3 from A)放到程序里
sql="insert into A"+"(a1,a2,a3)"+“select a1,a2,a3+1 from A"+"where a3>="+"'All select a3 from A'"
没有出现语法错误的提示 貌似是对的么?
sql="insert into A (a1,a2,a3) select a1,a2,a3+1 from A where a3>='All select a3 from A'到sql里应该是这个样子吧 把查询分析器打开 编译一下不就知道了