我是SQL(JetSQL)的新手。我找不到正确的问题来搜索。让我知道是否已经回答。
场景:
尝试完成:在表1中搜索Field1,获取Field2 并针对相同的Field1更新表2中的Field2
到目前为止已完成:
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>X</title>
<link href="https://fonts.googleapis.com/css?family=Lato:400,400i,700,700i" rel="stylesheet">
<link rel="shortcut icon" href="images/favicon.ico" />
<link rel="stylesheet" type="text/css" href="styles/main.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<div class="topnav" id="myTopnav">
<nav role="banner">
<a href="#">
<img id="topnavLogo" src="images/logo-navbar-white.png" width="240" height="180">
</a>
<ul>
<li>
<a class="page-icon" href="#">Log in</a>
</li>
<li>
<a class="page-icon" href="#">Sign up</a>
</li>
<li>
<a class="page-icon" href="#">About</a>
</li>
</ul>
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
<i class="fa fa-bars"></i>
</a>
</nav>
</div>
<style>
#topnavLogo{
float:left;
color: #fff;
text-align: left;
text-decoration: none;
font-variant: small-caps;
padding-top:-50px;
padding-bottom: 15px;
padding-left: 30px;
margin:-55px;
}
.topnav {
width: 100%;
height: 60px;
background-color: #0008;
line-height: 60px;
position: fixed;
display:inline-block;
}
ul li{
display:inline;
float:right;
}
.active {
background-color: #4CAF50;
color: white;
}
.topnav .icon {
display: none;
}
.page-icon{
color: #fff;
text-align: center;
padding: 5px 5px;
text-decoration: none;
font-size: 17px;
margin-right: 30px;
font-family: 'Lato', sans-serif;
font-variant: small-caps;
}
.page-icon:hover {
color: #9bc0d3;
}
@media screen and (max-width: 600px) {
.topnav li a {display: none;}
.topnav a.icon {
float: right;
display: block;
padding: 0 1em 0 0;
color: #fff;
font-size: 1.5em;
}
.topnav a.icon:hover {
color: #9bc0d3;
}
}
@media screen and (max-width: 600px) {
.topnav.responsive {position: relative;}
.topnav.responsive a.icon {
position: absolute;
right: 0;
top: 0;
}
.topnav.responsive a {
float: none;
display: block;
text-align: left;
color: #9bc0d3;
}
}
</style>
<script>
function myFunction() {
var x = document.getElementById("myTopnav");
if (x.className === "topnav") {
x.className += " responsive";
} else {
x.className = "topnav";
}
}
</script>
</body>
</html>