Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Consider the relations given below Borrower (id_no, name)Book (accno., title, author, borrower_idno) (a) Define the above relations as tables in SQL forming real world assumptions about the kind of the fields. Define the primary keys and the foreign keys. (b) For the above relations answer the subsequent queries in SQL What are the titles of the books borrowed through the borrower whose id-no in 365.(i) Find out the numbers and names of borrowers who have borrowed books on DBMS in ascending order in id_no.(ii) List the names of borrowers who have borrowed at least two books.
a) Create table Book (Accno int Primary Key, title char(30), author char(30), borrow-idno int references Borrower_id.no ); Create table borrower (id-no int Primary Key, name char(30) ); b) (i) Select title from Book, Borrower where Borrower.id_no =Book.borrower-idno and borrower.id_no = 365 (ii) Select id_no, name from Borrower, Book where Borrower.id_no= Book.borrower_idno and title= ‘DBMS' order by id_no asc; (iii) Select name from Borrower, Book where Borrower.id_no = book.borrower_id_no having count (*) > 2
How are tables stored on Disk? We realise that every record of a table can have different amounts of data. This is due to in some records; some attribute values may be "zero".
definition and its work
what is Lossless-join decomposition
he SQL query that will return the order number, quantity ordered, price each and total cost of an order (quantity * price each) from the order details table. Label the calculated c
Describe domain constraints. Domain constraints contain entity integrity and referential integrity. The domain is a set of values that might be assigned to an attribute. The en
Define query language? A query is a statement requesting the retrieval of information. The portion of DML that includes information retrieval is known as a query language.
how many hourse have been spent on a certain project
How do I use strap on?#
Define- relational algebra. The relational algebra is a procedural query language. It having of a set of operations that take one or two relation as input and make a new relati
Gaps in sequence values can happen when: - A rollback happens that is when a statement changes are not accepted. - When the system crashes - When a sequence i
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd