function(numInByte) { return numInByte[0]*2^3 + numInByte[1]*2^6 +... + numInByte[7]*2^1}
CREATE TABLE models ( id NUMBER, description NVARCHAR(MAX))
CREATE TABLE attributes (id NUMBER, description NVARCHAR(200))
CREATE TABLE models_attributes (id_model NUMBER, id_attribute NUMBER, value NVARCHAR(MAX))
CREATE TABLE models_price (id_model NUMBER, price NUMBER)
SELECT hv.homeId, h.Name, hv.visitorId, v.Name
FROM home_visitor hv
LEFT JOIN teamInfo h ON (h.Id = hv.homeId)
LEFT JOIN teamInfo v ON (v.Id = hv.homeId)