title: Postgresql - Function that generates random phone number
body: <p>I'm very new to postgresql and I'm wondering how to go about creating a function that will generate random phone numbers in (888) 888-8888 format. I can't even wrap my head around how to do this so if anyone has any feedback that would be great.</p>