table patents, file.outlinks
from #case
sort file.name asc
table node_id, date, headnotes, keywords
where keywords
sort date desc