这给了我一个错误
delete FROM `emails` WHERE `id` not in (Select id From poi Where date>Now())
要使用的语法是什么?
答案 0 :(得分:0)
当您使用DELETE
FROM `emails`
WHERE `id` NOT IN
(SELECT id
FROM poi
WHERE `date` > Now())
的保留关键字时,您必须使用反引号(?),如下所示:
<nav id="nav1">
<ul class="menu">
<li><a href="index.php">Hem</a></li>
<li><a href="store.php">Festivaler</a></li>
<li><a href="contact.php">Kontakt</a></li>
</ul>
</nav>
<script>
function dropdownMenu() {
document.getElementById("nav1").classList.toggle("show");
}
</script>
<style>
.show {
display: none;
}
</style>