I retrieve date from the table: my_date:select max date from table
now I want to use my_date this way: select from some_other_table where date within(my_date;now) but my_date has type table - how I may extract date as a value to use in the last query?
exec
extracts a column as a vector. For your example you can bring themax
aggregrator out to make it an atom that'll work withwithin
like so:Similarly, if in memory you can use a table like a dictionary