• Hi!

    Happy to take a look but before I do can I confirm you are using MS-SQL as, in your sample, you use a natural join which to the best of my knowledge is supported only in PostgreSQL, MySQL and Oracle (also, the format for creating the table is not MS-SQL)

    James