此查询不起作用
从单词REPLACE(slug,'-','')像'%word%'和1 = 1 ORDER BY的单词中选择word_name和word_id 长度(word_name)ASC LIMIT 8
P.S编辑:对不起,我放弃了这个问题。请忽略此问题。
答案 0 :(得分:1)
Not sure you need all those steps. You can check for existance, define and select all in one statement for example
drop table if exists t;
create temporary table if not exists t
(id int)
select id from users;