56,687
社区成员
发帖
与我相关
我的任务
分享
IF exists(select column_name from information_schema.columns where table_schema='test' and table_name='t_user' and column_name='point' )
select 'tt';
select @testresult:=count(*) from information_schema.columns where
table_schema='test' and table_name='t_user' andn column_name='point' ;
select @testresult
if (@testresult='1') then
select 'yes';
end if