manufacturer already exists.
INSERT NEW( model, manufacturer, color ) VALUES( 'Mondeo', m, 'red' ) INTO vehicle; |
| ||| |
INSERT NEW( model, manufacturer, color )
VALUES( 'Mondeo',
SELECT f FROM f IN company WHERE name = 'Ford', 'red' )
INTO vehicle;
|
flatten-operator should be available because the query defines a set and the manufacturer of a vehicle is not set-values.
employee.
subsidiary of the company with the name Ford and the location “Chicago” in its address.
employee with name John Smith into the set employees of this subsidiary.