<div dir="ltr">Hi all,<div><br></div><div>I&#39;d like to, if possible, arrive at a tsql query to supply to the tsdb command line tool to retrieve all gold trees from a profile. I know that &#39;select derivation where t-active&gt;0&#39; will get me all the derivations associated with items that <i>have </i>gold trees, however since my profile has not been thinned, the derivations will be from across the entire parse forest. Is there a way to limit query to the actual trees that were selected as being gold, or do I have to thin the profile first (or thin the tsdb output in a post-processing step)? </div><div><br></div><div>Ned</div></div>