SHARE
TWEET

037 Radojevic Petar

a guest Jan 23rd, 2020 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 1.
  2. SELECT last_name AS "Last name", TO_CHAR(birthdate, 'Month fmDD, YYYY') AS "Birthdate"
  3. FROM f_staffs
  4. WHERE birthdate>='01-Dec-1970'
  5.  
  6. 2.
  7. SELECT id , first_name AS "Name",  TO_CHAR(salary, '$9999.99') AS "Salary"
  8. FROM f_staffs
  9.  
  10. 3.
  11. SELECT name AS "Name", TO_CHAR(NVL2(end_date, ADD_MONTHS(SYSDATE, 2), SYSDATE), 'DD.MM.YYYY') AS "Date"
  12. FROM f_promotional_menus
  13.  
  14. 4.
  15. SELECT last_name AS "Last name", NVL(TO_CHAR(overtime_rate, '$9999.99'), '$0.00') AS "Overtime status"
  16. FROM f_staffs
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top