Typescript Select Distinct Multiple Columns Sqlite Python Example