我有一张表有这样的记录:
FieldId collationid Type Message
---------------------------------------------
1 1234 WC hello
2 1234 WR next message
3 1234 WZ again
4 1234 WX another message
5 ab12 WC this message
6 ab12 WR again
7 ab12 WZ misc message
8 5678 WC hello
9 5678 WR next message
10 5678 WZ again
11 5678 WX another message
当记录集包含所有四个记录,WC,WR,WZ和WX时,记录集完成。我需要一个sql,当记录丢失时显示我。在上一个表示例中,SQL将生成 ab12 ,因为它只有WC,WR和WZ记录。
感谢你能给我的任何帮助..
答案 0 :(得分:3)
使用confirmStatus: {{ confirmStatus }}
<br>
webleadid: {{ wleadid }}
<div ng-show="confirmStatus=='success'">
<h1>Some title</h1>
<h2>Some message.</h2>
<form name="confirmForm" ng-submit="confForm(confirmForm.$valid)" novalidate>
Cell Phone number:
<input type="hidden" name="someData" ng-value="wleadid" />
<input type="text" name="phonenum1" ng-model="resultphone.phonenum1" required />
<input type="text" name="phonenum2" ng-model="resultphone.phonenum2" required />
<input type="text" name="phonenum3" ng-model="resultphone.phonenum3" required />
<p ng-show="confirmForm.phonenum1.$error.required && !confirmForm.phonenum1.$pristine" class="help-block">All 3 parts of cell phone number are required.</p>
<p ng-show="confirmForm.phonenum2.$error.required && !confirmForm.phonenum2.$pristine" class="help-block">All 3 parts of cell phone number are required.</p>
<p ng-show="confirmForm.phonenum3.$error.required && !confirmForm.phonenum3.$pristine" class="help-block">All 3 parts of cell phone number are required.</p>
<button type="submit" ng-disabled="confirmForm.$invalid" >Submit</button>
</form>
</div>
和COUNT()
:
HAVING