Question: List all of the ids of the representatives belonging to the Democrat party in district 13 that ended their term on 1/3/2019?
SQL: SELECT bioguide FROM `current-terms` WHERE type = 'rep' AND party = 'Democrat' AND end = '2019-01-03' AND district = 13