Advertisement
GLASHATAY_007

users

Jan 12th, 2023
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. select
  2.     u.username,
  3.     u.first_name,
  4.     u.last_name,
  5.     u.middle_name,
  6.     c.full_name,
  7.     c.inn
  8. from users u
  9. join contragents c on u.contragent_id=c.id
  10. Where u.active is true
  11. and u.date_added::date = CURRENT_DATE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement