how can i get final table? I want to merge so that if it compares and there is an empty column in a record, it fills it up with the latter value. The rules are that storetype should appear only once for each user

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It looks like you’re grouping by
usernameandstoretype. Try running this:Note, of course, this will work in the case you really have the data as you displayed in your screenshot, i.e., only 1 non-null value per each
usernameandstoretypepair in each column but theidcolumn. In that case, theidcolumn, it looks like you chose the minimum, so the query will result in that too.