Advertisement
Pandaaaa906

Untitled

May 28th, 2023
1,485
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 0.20 KB | None | 0 0
  1. SELECT
  2. rd_m.cCode,
  3. rd_m.dDate,
  4. rd_m.dDate,
  5. rd_d.cInvCode,
  6. rd_d.cBatch,
  7. rd_d.iQuantity
  8.  
  9. FROM [dbo].[RdRecord01] rd_m
  10.  
  11. LEFT JOIN rdrecords01 rd_d
  12. ON rd_m.ID = rd_d.ID
  13.  
  14. WHERE dDate < '2021-11-01'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement