Where Clause

The Where Clause section of the Layout-Filter fetches only the records that satisfy the specified criterion. Where Clause helps you narrow down the search results of an object. For example, you can specify to fetch rows only when the employee name is JOHN from an employee table.

Follow these steps:

  1. Select the field below the Start Bracket heading and select ( from the drop-down list. The left parenthesis ( specifies the start of WHERE clause.
  2. Click the <--SELECT COLUMN--> field and select a column from the drop-down list.
  3. Click the = field and select an operator depending upon the data type of the column from the drop-down list. The available operators are:
  4. Select the field below the Value heading and enter the field value that you are searching for.
  5. Select the field below the End Bracket heading and select ) from the drop-down list. The right parenthesis ) specifies the end of a where clause.
  6. (Optional) If you want to specify a WHERE clause for another column, select the field below the Conjunction and select a conjunction, AND or OR.
    1. Click the + field next to the conjunction column.

      A row is added for another WHERE clause.

    2. Repeat the steps 1 through 5 for a column.

After adding WHERE clause for the required columns, specify the other filter criteria.