I have 2 tables and I need to select the relative information, need some help with the query.
Table 2 has ID, MaskID columns.
ID
MaskID
select ID, MaskName, Total from TABLE_2 inner join TABLE_3 on (TABLE_2.MaskID=TABLE_3.MaskID) where ID=111