18 lines
555 B
PHP
18 lines
555 B
PHP
Syntax:
|
|
<div class='sql'>
|
|
<pre>
|
|
WHERE <i>where_condition</i>
|
|
</pre>
|
|
</div>
|
|
<ul>
|
|
<li \> The WHERE clause, if given, indicates the condition or conditions that the records must satisfy to be selected.
|
|
<br \><br \>
|
|
<li \> <i>where_condition</i> is an expression that evaluates to true for each row to be selected.
|
|
<br \><br \>
|
|
<li \> The statement selects all rows if there is no WHERE clause.
|
|
<br \><br \>
|
|
<li \> When narrowing results with aggregate function values HAVING clause should be used instead of WHERE clause
|
|
<br \><br \>
|
|
</ul>
|
|
|