table_create Users TABLE_HASH_KEY ShortText
column_create Users full_name COLUMN_SCALAR ShortText

table_create Bookmarks TABLE_HASH_KEY ShortText
column_create Bookmarks user COLUMN_SCALAR Users

load --table Users
[
{"_key": "mori", "full_name": "Daijiro MORI"}
]

load --table Bookmarks
[
{"_key": "http://groonga.org/", "user": "mori"}
]

select Bookmarks --output_columns _key,user.full_name --output_type xml
