SQL schema fixed as requested at #6 problem issue. Thanks for testing it!