User`s guide
5 Using Visual Query Builder
5-6
• Alternatively, you can select a schema without specifying a catalog; that
is, when the Catalog field set to <default>. The Tables field updates to
reflect the schema you selected.
4
In the Tables list, select salesVolume as the table that contains the data you want
to import.
The set of Fields (column names) in the table appears.
5
In the Fields list, select StockNumber, January, February, and March as the
fields that contain the data you want to import.
Tip To select more than one field, hold down the Ctrl or Shift key while selecting
multiple fields. To clear an entry, use Ctrl+click.
VQB adds each field you select to the query in the SQL statement field.
6
Enter the name A in the MATLAB workspace variable field. A is a cell array that
stores the data that the query returns.
7
Click Execute to run the query and import the data. The Data field displays
information about the query result.