top of page

Oracle Database Assignment Help | Practice Set




a) Find the names of all authors of books published by "Penguin" that cost more than $10. Make sure each name is included only once in the result.


b) Find the title, publisher and price for all books with an unknown author.


c) The library is setting a summer reading program, where each book values a number of points, based on its length; the formula to determine points for a book is number of pages / 100, rounded up to the nearest integer. Calculate the number of points for each book and list it together with the book id and title. Name the calculated column "no_of_points".



d) Find the title and publisher of all books that are priced between 3 and 6 dollars. Requirements:

- All titles from each publisher must be reported consecutively, and sorted alphabetically from A to Z.

- Publisher names must be all shown in capital letters.

- The report must have the 3 columns: publisher, title, and a new calculated column that should be named "Selling price". A partial result is shown below:



e) How many copies of the book titled "The Lost Tribe" are owned by the library branch whose name is "Newport Branch"? Report the library branch id, name, and number of copies of the book. Separate join conditions from where conditions.



f) Find the card number and name of all members who have borrowed books from the Alexandria library branch. Requirements:

- List borrowers ordered by their card number.

- Make sure each name is included only once in the result.

- Separate join conditions from where conditions.



g) Find the card numbers of all library members who have not borrowed any books from the library. You must use set operations to write this query.





Solution:


Query a): select author

from book

where publisher='Penguin' AND price>10;



output:

AUTHOR

Stephen King

Silas Lambert

Stephen King



Query b):


select TITLE,PUBLISHER,PRICE from book where AUTHOR='unknown';


output:

Query c):


Select book_id, title, (no_of_pages/100) as no_of_points from book;


output:



Query d):


Select Upper(publisher), title,'Selling_price' || ' ' ||'$' || price as Selling_price from book where price between 3 and 6;


output:



Query e):

select book_copies.branch_id, book.title, book_copies.no_of_copies from book


inner join book_copies on book.book_id = book_copies.book_id


inner join library_branch on library_branch.branch_id = book_copies.branch_id where library_branch.branch_name = 'Newport Branch' and book.title = 'The Lost Tribe';

output:


There is no data present for branch name branch_name = 'Newport Branch';

So no row will selected for this.



Query f):

select Borrower.card_no, Borrower.name

from Borrower

inner join book_loans on book_loans.card_no = borrower.card_no

inner join book_copies on book_copies.book_id = book_loans.book_id and book_copies.branch_id = book_loans. branch_id

inner join library_branch on library_branch.branch_id = book_copies.branch_id

where library_branch.branch_name='Alexandria';


output

CARD_NO NAME

6 Tim Tegulpas





Last Query (g) you can try itself.




Their are many website that are providing database assignment help not have experts that have deep knowledge in specific subjects. We are totally focused on coding related projects, assignments and homework.


If you need any database related help then send your requirement details at:



Here you get all database related script without any plagiarism issues.

26 Comments


https://o8.luxury/ mình cũng bấm vào thử cho biết vì thấy người ta nhắc nhiều, kiểu tò mò giao diện là chính. Vào cái là nó hiện ngay trang báo lỗi, tiêu đề “What happened?” nhìn phát hiểu luôn chứ không kiểu mơ hồ. Nội dung báo bad gateway nên mình biết chắc là do kết nối/đường truyền chứ không phải máy mình bị gì. Ở dưới còn có mấy dòng kỹ thuật như Cloudflare Ray ID với phần IP “Click to reveal”, trình bày theo khối riêng nên lướt cái là thấy ngay thông tin cần. Nói chung dù không vào được nội dung nhưng trang thông báo vẫn gọn gàng, nhất là cái hộp “What happened?” và dòng Cloudflare…

Like

Link vào DABET là mình bấm thử vì thấy mấy người trong nhóm chat nhắc hoài, kiểu tò mò xem trang trông ra sao thôi. Mình không chơi gì cả, chỉ lướt nhanh phần giới thiệu và cách họ trình bày nội dung. Cảm giác đầu tiên là giao diện nhìn gọn và khá “đàng hoàng”, chữ dễ đọc, các khối thông tin tách rõ nên kéo xuống không bị rối mắt. Có đoạn họ ghi thương hiệu bắt đầu từ năm 2018, đọc qua thấy cũng có chút bối cảnh chứ không phải kiểu trang trống trơn. Mình thích nhất là phần tiêu đề và các mục được gom theo nhóm ngay ở trang tổng quan, nhìn phát biết…

Like

79KING mình thấy bạn bè nhắc hoài nên cũng tò mò vào thử cho biết, kiểu xem giao diện ra sao thôi chứ chưa có thời gian ngồi khám phá kỹ. Vào cái là thấy trang làm khá dễ thở, không bị nhồi chữ dày đặc nên lướt một chút là nắm được hướng đi. Mình để ý mấy phần thông tin họ trình bày theo dạng khối nhìn gọn, có kiểu chia cột nên đọc nhanh không bị rối mắt. Với lại thanh menu đặt ở chỗ dễ thấy, bấm qua lại mấy mục cũng lẹ, không phải tìm vòng vòng. Nói chung cảm giác dùng thử vài phút khá ổn, nhất là cách họ gom nội dung thành…

Like

ee 88 dạo này thấy bạn bè nhắc hoài nên mình cũng bấm vào nghía thử cho biết. Mình không rảnh đọc kỹ từng thứ đâu, chủ yếu xem giao diện có dễ xài không thôi. Vừa vào cái là thấy trang nhìn khá gọn, khoảng trắng vừa đủ nên không bị ngộp mắt. Mấy phần nội dung được tách thành từng khối rõ ràng, kéo xuống là biết mình đang xem mục nào chứ không bị lẫn. Mình cũng thích cách họ để thông tin dạng bảng cột, nhìn lướt cái là nắm được mấy số cơ bản, khỏi phải căng mắt. Menu đặt chỗ dễ thấy nên chuyển qua lại cũng nhanh, không phải mò lâu. Nói chung…

Like

https://socolive1.site/ hôm trước mình thấy mấy đứa bạn gửi link nên tò mò mở thử trên điện thoại xem sao. Vào cái là thấy giao diện khá sáng sủa, bố cục kiểu chia khối nên nhìn phát hiểu luôn chỗ nào là phần giới thiệu, chỗ nào là khu vực trận đấu. Mình không xem trận nào hẳn hoi, chủ yếu lướt qua nội dung thôi, thấy họ có nhắc xem trực tiếp miễn phí với chất lượng Full HD nên cũng hợp kiểu coi nhanh lúc rảnh. Mà đúng lúc mình vào thì nó hiện “Chưa có trận đấu nào” nên trang hơi vắng, nhưng bù lại không bị rối vì tiêu đề và các khung nội dung đặt…

Like

REALCODE4YOU

Realcode4you is the one of the best website where you can get all computer science and mathematics related help, we are offering python project help, java project help, Machine learning project help, and other programming language help i.e., C, C++, Data Structure, PHP, ReactJs, NodeJs, React Native and also providing all databases related help.

Hire Us to get Instant help from realcode4you expert with an affordable price.

USEFUL LINKS

Discount

ADDRESS

Noida, Sector 63, India 201301

Follows Us!

  • Facebook
  • Twitter
  • Instagram
  • LinkedIn

OUR CLIENTS BELONGS TO

  • india
  • australia
  • canada
  • hong-kong
  • ireland
  • jordan
  • malaysia
  • new-zealand
  • oman
  • qatar
  • saudi-arabia
  • singapore
  • south-africa
  • uae
  • uk
  • usa

© 2023 IT Services provided by Realcode4you.com

bottom of page