┏━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┓ ┃ rowid ┃ type ┃ start ┃ end ┃ party ┃ how ┃ executive_id ┃ ┣━━━━━━━━━╋━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━━━━━╋━━━━━━━━━━╋━━━━━━━━━━━━━━━━┫ ┃ 31 ┃ prez ┃ 1845-03-04 ┃ 1849-03-04 ┃ Democratic ┃ election ┃ James Polk ┃ ┗━━━━━━━━━┻━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━━━━━┻━━━━━━━━━━┻━━━━━━━━━━━━━━━━┛