Table 11 Result sample for Query 2: “Return patients who smoke (or smoked) along with the year in which each patient started smoking and, if present, the year in which each patient quit smoking”. Each column is named after the selected variables in the query. Symbol “–” denotes missing values