I have a table like below that will have a product description
ββββββ¦βββββββββββββββ¦ββββββ
β Id β name β priceβ
β βββββ¬βββββββββββββββ¬ββββββ£
β 1 β Apple β 23 β
β 2 β shirt β 148 β
β 3 β computer β 101 β
β 4 β printer β 959 β
ββββββ©βββββββββββββββ©ββββββ
and another table that stores the attributes associated with the identifier
ββββββ¦βββββββββββββββ¦ββββββ
β Id β attr_name β Valueβ
β βββββ¬βββββββββββββββ¬ββββββ£
β 1 β color β red β
β 1 β size β xl β
β 1 β brand β App β
β 2 β color β blue
β 2 β size β l β
β 3 β color β blue
β 3 β size β xxl β
β 3 β brand β HP β
ββββββ©βββββββββββββββ©ββββββ
Is there any possible way to bring the table as shown below if I know that the attribute name will only be color size and brand
ββββββ¦βββββββββββ¦βββββββββββββββββ¦ββββββββ
β id β name β color β brand β size β β
β βββββ¬βββββββββββ¬ββββββββ¬ββββββββ¬βββββββ¬βββ£
β 1 β β β β xl β β
β 2 β β β β l β β
β 3 β β β HP β XXL β β
β 4 β β β β β β
ββββββ©βββββββββββ©ββββββββ©ββββββββ©βββββββ©βββ