-
SQL 语法求助
2024-04-21 10:01select * from blocks where id NOT in (select block_id from attributes where name = 'custom-notrandom' and value = 'notsee') AND type = 'd' ORDER BY RANDOM() LIMIT 1;
select * from blocks where id NOT in (select block_id from attributes where name = 'custom-notrandom' and value = 'notsee') AND type = 'd' ORDER BY RANDOM() LIMIT 1;