I am new to postgres and trying to create a schema. I Have a requirement in which i need to auto increment the Id column of my table. But i dont want it to be just a number but some fixed value followed by incrementing number. Example -
DAG100H001
DAG100H002
DAG100H003
DAG100H004
something like this. I was looking at the documentation and found serial but i am not sure how to implement using that. Any help will appreciated. Thanks.