SQL Query to extract specific lists of values from E-Notebook tables