vault backup: 2024-01-01 23:23:40

This commit is contained in:
2024-01-01 23:23:40 -05:00
parent 392e4ff3a9
commit bea96f43e0

View File

@@ -79,7 +79,10 @@ SELECT ->likes->friend.name AS friends FROM person:tobie;
-- Use the result of a subquery as a returned field -- Use the result of a subquery as a returned field
SELECT *, (SELECT * FROM events WHERE type = 'activity' LIMIT 5) AS history FROM user; SELECT *, (SELECT * FROM events WHERE type = 'activity' LIMIT 5) AS history FROM user;
``` ```
### Multoi
### `UPDATE` examples ### `UPDATE` examples
```SQL ```SQL
-- Update all records in a table -- Update all records in a table
UPDATE person SET skills += ['breathing']; UPDATE person SET skills += ['breathing'];