我正在执行以下查询以查找我的临时表是否被锁定。
show open tables where in_use > 0 and table = 'temp'
但是它抛出以下错误:
'table ='temp'附近的语法错误
我已经搜索过,但无法获得正确的语法。谁能帮忙。
mysql
mysql ×1