MATLAB DATABASE TOOLBOX RELEASE NOTES Guida Utente Pagina 325

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 684
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 324
Fine-Tuning Queries Using Advanced Query Options
5-47
To delete a clause, Select the clause from Current clauses and click Delete. Use
Ctrl+click or Shift+click to select multiple clauses.
7
Specify a subquery in the HAVING Clauses dialog box, as needed. For details, see
“Creating Subqueries for Values from Multiple Tables” on page 5-48.
8
Click OK.
The HAVING Clauses dialog box closes. The SQL statement in the Visual Query
Builder dialog box updates to reflect the specified having clause.
Example: Using Having Clauses
This example restricts the results from basic_where.qry to sales greater than 2000 for
January and February:
1
In Advanced query options, click Having. The HAVING Clauses dialog box
appears.
2
For January:
a
Select > as the Relation Condition.
b
Enter 2000 as the Relation value.
c
Select the AND Operator.
d
Click Apply.
3
For February:
a
Select > as the Relation Condition.
b
Enter 2000 as the Relation value.
c
Click Apply. The HAVING Clauses dialog box appears as follows.
Vedere la pagina 324
1 2 ... 320 321 322 323 324 325 326 327 328 329 330 ... 683 684

Commenti su questo manuale

Nessun commento