Build select command succeed using 2 columns from 2 different tables , example added