Amazon interview question

diff bte realtional and non relationAL DB