Oracle sql plsql questions
5.93K subscribers
46 photos
11 links
Oracle practice & Interview questions
Download Telegram
If you have any questions/ any one is looking for job support or proxy or training pls reach out to me @vnpraneeth.oracle@gmail.com
SQL Question Of The Day: I want to display the employee_ids who are not managers, I have written this query,but not getting the output, tell the reason why we are not getting the data SQL QUERY: select employee_id from INPUT where employee_id not in (select manager_id from employees);
If you have any questions/ any one is looking for job support or proxy or training pls reach out to me @vnpraneeth.oracle@gmail.com
SQL Question Of the Day: Convert row level data into comma separated string, when appending follow the employee_id asc
SQL Question Of the Day: When we create a view before creating the base table using "FORCE", will the view created ? if created what will be the column names and their data types?
SQL & PL/SQL Question Of the Day: Write a query to count how many special characters are there in the given string
using only SQL & also in PL/SQL
Example : Input String = 'ab$34%e#lfgrht)75(34gh'
Expected Output = 5
Hi All, really sorry for not sending the questions, busy with other stuff, from today will share the questions.
If you have any questions/ any one is looking for job support or proxy or training pls reach out to me @vnpraneeth.oracle@gmail.com
SQL Question Of the Day: Can I create both unique and non-unique btree indexes on same column ?
SQL Question Of the Day: Write a query to print the dates starting from 01-Jan-2022 to 31-Dec-2022
Requirement : Year column need to be matched with the Transaction_date columns year component , if it is matched then pull the records.
SQL Question Of The Day: Requirement :I would like to findout 21-jan-2022 belongs to which group and
prior to that group if there are any groups present, pull last 2 groups
and the date range.

In this example : 21-Jan-22 falls under G4, so we need to pull out date range of G2 and G3
If you have any questions/ any one is looking for job support or training pls reach out to me @vnpraneeth.oracle@gmail.com
SQL Question Of The Day: Can I use case statement with in insert statement ?
Hi All, apologies , it's been a very long time , I was busy with migrations and new projects , will start tomorrow with the questions in oracle.
SQL Question Of The Day : you have an EMP_ATTENDANCE table with below columns:

• EMP_ID
• ATTENDANCE_DATE
• STATUS → 'P' = Present, 'A' = Absent

Requirement:
Find employees who were absent for 3 or more consecutive working days.

Conditions :
• Ignore Saturday & Sunday
• Consecutive means continuous working days only

Expected Output:
• EMP_ID
• Absence START_DATE
• Absence END_DATE
• TOTAL_ABSENT_DAYS
SQL Question Of The Day : what is the difference between NVL and coalesce explain with an example.
SQL Question Of The Day : Implement pagination using rownum and without using the rownum.