Update DBMS/SQL/Week4/writeup.md

This commit is contained in:
Aadit Agrawal 2025-01-28 14:42:54 +05:30
parent 1289cdbd07
commit 93d46cf08c

View File

@ -100,3 +100,14 @@ NAME YEAR TOTAL_ACCIDENTS
---------- ---------- ---------------
Ramesh 2024 2
```
### Q5. List the owners who are not involved in any accident.
Ans.
```sql
SQL> select name from person where(driver_id#) not in(select driver_id# from participated);
NAME
----------
Rohit
Saarthak
```