<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet" />
<body>
<div class="container" style="margin-top: 20px">
<form>
<div class="row align-items-end mb-2">
<div class="col-sm-4">
<div class="">
<label for="firstName">First Name</label>
<input type="text" class="form-control" id="firstName">
</div>
</div>
<div class="col-sm-4">
<div class="">
<label for="lastName">Last Name</label>
<input type="text" class="form-control" id="lastName">
</div>
</div>
<div class="col-sm-4">
<button type="submit" class="btn btn-primary">Search</button>
</div>
</div>
</form>
</div>
</body>
上面的QUERY显示姓氏,薪水(增加前),薪水增加。
如果我想显示一条选择语句,只有薪水增加到10000以上的员工才能得到薪水?
答案 0 :(得分:2)
使用公用表表达式:
sudo apt install libxft-dev