MOSAP8MOH بتاريخ: 6 يناير 2010 تقديم بلاغ مشاركة بتاريخ: 6 يناير 2010 السلام عليكم ازيكم يا شباب انا كنت في انترفيو امس وجتلي الأسئلة السهلة جدا دي بس مش عارف جاوبت صح ولا غلط ياريت حد يتبرع يجاوب عليها اجابه نموزجيه:1.HOW do I eliminate the duplicate rows?2. What is the types of view?explain in detail?3. What is deifference between pl sql library,object library ,object gruop?4. can I create the table space and the index of that table on another table space ?5. Whit's the report triggers ?6. How do I display row number with records in employee table ?7. what is the difference between implicit & Explicit cursors ?8. Find out the highest salary from employee table ? 9. Which date function returns number value?10. Wat is the output of SIGN function ?11. What is the maximum number of triggers, can apply to a single table ?12. To view installed Oracle version information ? اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
MOSAP8MOH بتاريخ: 10 يناير 2010 كاتب الموضوع تقديم بلاغ مشاركة بتاريخ: 10 يناير 2010 ياشباب الله يكرمكم عندي مقابله اخري واريد الحل فعلا؟ اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
mmsalman87 بتاريخ: 10 يناير 2010 تقديم بلاغ مشاركة بتاريخ: 10 يناير 2010 How do I eliminate the duplicate rows ? SQL> delete from table_name where rowid not in (select max(rowid) from table group by duplicate_values_field_name); or SQL> delete duplicate_values_field_name dv from table_name ta where rowid <(select min(rowid) from table_name tb where ta.dv=tb.dv); Example. Table Emp Empno Ename 101 Scott 102 Jiyo 103 Millor 104 Jiyo 105 Smith delete ename from emp a where rowid < ( select min(rowid) from emp b where a.ename = b.ename); The output like, Empno Ename 101 Scott 102 Millor 103 Jiyo 104 Smith 2. What is the types of view?explain in detail? Simple Views and Complex Views (INSERT , UPDATE, DELETE ) DML الاختلاف الأساسي بينهم مرتبط بعمليات : Simple View* تاخذ البيانات من جدول واحد فقط. • . Group by أو فقرة function لا تحتوي علي • يمكن أن يؤدي بها عمليات • DML . : Complex View* تاخذ البيانات من اآثر من جدول. • function تحتوي علي او فقرة group by . DML عادة لا تسمح بعمليات • 12. To view installed Oracle version information ? SQL> select banner from v$version; 11. What is the maximum number of triggers, can apply to a single table ? 12 trigger for each table 10. Wat is the output of SIGN function ? -1 , 1 , 0 9. Which date function returns number value? months_between 8. Find out the highest salary from employee table ? select max(salary) from employees 7. what is the difference between implicit & Explicit cursors ? For SQL queries returning a single row, PL/SQL declares all implicit cursors. For queries that returning more than one row, the cursor needs to be explicitly declared . اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
MOSAP8MOH بتاريخ: 12 يناير 2010 كاتب الموضوع تقديم بلاغ مشاركة بتاريخ: 12 يناير 2010 اخي mmsalman87 انا بجد عاجز عن الشكر جزاك الله كل خيرسعدت جدا بتفاعلك معي والرد والحمد لله ذهبت لمقابلة اخري اول امس وكانت بها اسئلة متفرقة لكل مادة وساطرحها ايضا للإفادة SQL:1. List any 5 single row character functions ?2.List any 2 conversion functions with examples ?3. List any 3 gruop functions ?4. Write a query to display 5 years salary in each department ?5. Write a query to increas the salary of all the emplyee by 10% who joined before 24 months ?6. Write a query to display the following information from dept and emp tables a. Empno, ename,job,sal,deptno,dname,loc for department 20 ?7. Write a query to display the SALESMAN earning more than their manegers from emp table ?8. Write a query to display the SALESMAN joined before their managers ?9. Write a query to delete duplicate rows from Emp table ?10. Write a query to display 3 highest salaries of employee ?11. Create a master (primary key )and detail (foreign key)table by your own ?12. Create a cmplex view ? 1 اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
mmsalman87 بتاريخ: 12 يناير 2010 تقديم بلاغ مشاركة بتاريخ: 12 يناير 2010 شكرا جزيلا لك وبالتوفيق والى الامام اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
MOSAP8MOH بتاريخ: 14 يناير 2010 كاتب الموضوع تقديم بلاغ مشاركة بتاريخ: 14 يناير 2010 وهذا امتحان البي الPL/SQL 1.Write a pl/sql Block to display the following information for the given employee on. use Exceptions.a.Empno,Ename,Job,sal,Deptno2.Writie pl/sql Block to display integers from 1...n where n is the given number using the while loop.3.Write aPL/SQL Blocke to display even numbers from 1...n where n is the giben number using for loop4.Write a PL/SQL Block to display employee information working in department 10 .5.Write a Procedure to accept employee number from the user and increase the salary of the given employee by 10%6.Write a Fucntion to accept 3 numbers from the user and display the Smallest number.7.Write a database trigger to insert a record in Emp 1 table when the data is insrted in Emp table. اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
developer 10g بتاريخ: 13 يوليو 2010 تقديم بلاغ مشاركة بتاريخ: 13 يوليو 2010 روح ياشيخ الله يباركلك اوى على الاجابات الجميلة ديه بجد ربنا يعين كل واحد يقدر يساعد اى حد فى اى حاجه اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
ENG_HOSSAM_WALLY بتاريخ: 15 يوليو 2010 تقديم بلاغ مشاركة بتاريخ: 15 يوليو 2010 السلام عليكم ورحمة الله وبركاتهبعد إذن أساتذتى أريد أن أوضح لكم معلومة بالنسبة ل implicit & Explicit cursors ?ان ال implicit cursors لا تحتاج لجملة اقفال ولكن أوراكل يقفلها أوتوماتيك بمجرد تنفيذهابعكس ال Explicit cursors لازم يقفلها المبرمج بالكود والا سوف يظل الكيرسور فى العمل مالم يتوقف ب Exceptionوبالتوفيق ان شاء الله اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
mostfa_future بتاريخ: 15 يوليو 2010 تقديم بلاغ مشاركة بتاريخ: 15 يوليو 2010 السلام عليكم ورحمة الله وبركاتهبعد إذن أساتذتى أريد أن أوضح لكم معلومة بالنسبة ل implicit & Explicit cursors ?ان ال implicit cursors لا تحتاج لجملة اقفال ولكن أوراكل يقفلها أوتوماتيك بمجرد تنفيذهابعكس ال Explicit cursors لازم يقفلها المبرمج بالكود والا سوف يظل الكيرسور فى العمل مالم يتوقف ب Exceptionوبالتوفيق ان شاء الله واضافه على الفروق بين الاتنين implicit cursors لايجوز استخدم %FOUND او %ISOPEN او %NOTFOUND او %ROWCOUNT وبالتوفيق لجميع . 1 اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
ENG_HOSSAM_WALLY بتاريخ: 16 يوليو 2010 تقديم بلاغ مشاركة بتاريخ: 16 يوليو 2010 بارك الله فيك يااخى مصطفىدائما متميز اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
mostfa_future بتاريخ: 16 يوليو 2010 تقديم بلاغ مشاركة بتاريخ: 16 يوليو 2010 البركه فيكم.وعليكم ان شاء الله . جعله الله علما نافعا فى دينا ودنيا.بالتوفيق لجميع. اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
Recommended Posts
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.