بتاريخ: 29 أغسطس 200718 سنة comment_108658 عندي سؤالينWrite a query that displays the difference between the highest and lowest salaries. Label thecolumn DIFFERENCE.من جدول الموظفين--------------------------------------------Create a query that displays the employees’ last names and indicates the amounts of theirannual salaries with asterisks. Each asterisk signifies a thousand dollars. Sort the data indescending order of salary. Label the column EMPLOYEES_AND_THEIR_SALARIES.دى التمارين اللى موجود فى الماتريل بتاعت 9i تقديم بلاغ
بتاريخ: 6 سبتمبر 200718 سنة comment_109310 أخى الكريم هذه أجابة السؤال الثانى SELECT rpad(last_name, 8)||' '|| rpad(' ', salary/1000+1, '*') EMPLOYEES_AND_THEIR_SALARIES FROM employees ORDER BY salary DESC; اسألك الدعاء لى و المسلمينأخى الكريم هذه أجابة السؤال الثانى SELECT rpad(last_name, 8)||' '|| rpad(' ', salary/1000+1, '*') EMPLOYEES_AND_THEIR_SALARIES FROM employees ORDER BY salary DESC; بالنسبه للسؤال الأول SELECT MAX(salary) - MIN(salary) DIFFERENCE FROM employees; اسألك الدعاء لى و المسلمين تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.