How I convert it to SQL Server please How can I create a SQL Server equivalent of this query?

SELECT m.ItemId
    ,item.NAME
    ,m.Expiratory
    ,m.t AS TotalNumber
FROM item
    ,(
        SELECT ItemId
            ,Expiratory
            ,sum(TotalNumber) t
        FROM inbox
        GROUP BY Expiratory
            ,ItemId
        ) m
WHERE (
        (
            m.ItemId
            ,m.Expiratory
            ) NOT IN (
            SELECT ItemId
                ,Expiratory
            FROM outbox
            GROUP BY Expiratory
                ,ItemId
            )
        )
    AND (item.ItemID = m.ItemId)
SELECT 
    inbox.ItemId,
    item.NAME,
    inbox.Expiratory,
    t = SUM(inbox.TotalNumber)
FROM dbo.Item 
INNER JOIN dbo.inbox
ON Item.ItemId = inbox.ItemId
WHERE NOT EXISTS
(
  SELECT 1 FROM dbo.Outbox
    WHERE Item = inbox.Item
    AND Expiratory = inbox.Expiratory
)
GROUP BY inbox.ItemId, item.NAME, inbox.Expiratory;