Postgresql Get Function Javascript Practice For Beginners