DBMS Lab Question
DBMS Lab Question
DBMS Lab Question
Queries:
Queries:
Method 2.
select t.ISBN,t.title,c.cname,c.dept
from course c, BOOK_ADOPTION a,text t
where c.course#=a.course# and
a.ISBN=t.ISBN order by dept;
btitle off
ttitle off
clear breaks
clear columns
Question:
The following tables are maintained by a book dealer.
Queries:
1. Create the above tables by properly
specifying the primary keys and the foreign
keys.
select a.aname
from author a,catalog c,new n
where n.book_id=c.book_id and
a.author_id=c.author_id and
WHERE name='shiva');
btitle off
ttitle off
clear breaks
clear columns
Question:
Consider the following database for a banking enterprise
btitle off
ttitle off
clear breaks
clear columns