top of page

Oracle Database Assignment Help | Practice Set

Jul 12, 2022
2 min read



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.

43 Comments


socolive tv thì đúng là nhìn qua cũng hơi lăn tăn như bạn nói, nhưng vào rồi lại thấy dễ theo dõi. Mình lướt vài phút thôi, bố cục chia thành mấy khối rõ ràng nên mắt không bị loạn. Các ô thông tin đặt cạnh nhau, đọc tới đâu biết tới đó, không phải kéo lên kéo xuống để nhớ mình đang ở đoạn nào. Có cái bảng số liệu hiển thị theo cột nhìn gọn, tiêu đề với số căn thẳng hàng nên so nhanh được, đỡ mỏi mắt. Menu cũng nằm chỗ dễ thấy nên chuyển mục không bị hụt, kiểu bấm cái là qua đúng phần mình cần. Nói chung mình không đào sâu nội dung,…

Like

23win mình thấy kiểu trình bày dễ chịu hơn vài trang mình từng lướt trước đó, nên tối qua rảnh tay mình mở điện thoại xem thử cho biết. Trang chủ họ để mấy khối thông tin tổng quan khá ngay ngắn, đọc lướt vẫn hiểu họ đang nói gì mà không cần kéo lên kéo xuống quá nhiều. Có đoạn nhắc chuyện link hay bị nhà mạng chặn nên mình để ý, vì trước đây mình từng gặp cảnh vào bị lỗi linh tinh rồi. Nhìn chung chữ nghĩa không bị dồn, các heading đặt rõ nên mắt bắt nhịp nhanh. Mình cũng thích cái cách họ chèn bảng số liệu dạng cột gọn gàng, nhìn một phát là…

Like

Đúng cái chủ đề mọi người đang nói, mình cũng chỉ quan tâm xem trang trình bày có dễ nhìn không thôi. socolive tv mình vào lướt vài phút là hiểu luôn cách họ sắp xếp, kiểu nội dung chia thành các ô rõ ràng nên mắt quét phát là bắt được điểm chính, kéo xuống cũng không bị đứt mạch hay phải đoán mình đang xem phần nào. Mình không đọc sâu, chỉ để ý mấy thứ cơ bản như khoảng trắng và cách canh cột: mọi thứ gọn, chữ không dồn cục, nên nhìn lâu cũng đỡ mỏi; mấy khối thông tin đặt đều tay nên chuyển từ đoạn này qua đoạn khác khá mượt. Nói chung thao…

Like

SC88 thì đúng là mình cũng vừa nghía ké theo lời bạn nói, kiểu đang rảnh tay vài phút nên mở lên xem thử cho biết thôi. Trang nhìn sáng sủa, chữ với khoảng cách dòng ổn nên đọc không phải nheo mắt như mấy chỗ hay nhồi chữ. Mình hay lười mò, mà ở đây các khung thông tin đặt khá ngay ngắn, bấm qua lại trên điện thoại cũng phản hồi nhanh, không có cảm giác bị đứng hình rồi tự hỏi “mạng mình hay trang nó vậy”. Có một chỗ mình thích là phần bài viết mới nằm khá lộ, tiêu đề để nổi nên ai muốn xem cập nhật thì liếc một cái là thấy. Nói…

Like

Tài xỉu Fyi mình cũng tò mò nên bấm thử xem sao, ai ngờ vừa vào là đập ngay cái trang “404 Not Found” luôn. Kiểu hơi hụt hẫng nhưng cũng buồn cười, vì ít ra nó báo thẳng là tài nguyên không có trên server, không vòng vo. Trang lỗi nhìn đơn giản, chữ dễ đọc, không có mấy thứ rối mắt nên lướt qua cũng nhẹ nhàng. Mình để ý phía dưới còn có dòng “Proudly powered by LiteSpeed Web Server” giống kiểu dấu nhận diện của server ấy. Nói chung không xem được gì thêm ngoài cái khung báo lỗi, và trên trang chỉ hiện rõ “404 Not Found” kèm dòng LiteSpeed ở dưới.

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

© 2026 IT Services provided by Realcode4you.com

bottom of page