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.

20 Comments


https://f168.team/ dạo này thấy mọi người nhắc hoài nên mình cũng bấm vào coi thử cho biết. Mình không đào sâu nội dung gì đâu, chủ yếu xem giao diện với cách họ trình bày thôi. Cảm giác đầu tiên là trang nhìn khá dễ chịu, không bị nhồi nhét quá nhiều thứ một lúc. Mấy phần thông tin được chia thành từng khối rõ ràng nên lướt qua là biết đang ở đoạn nào, không phải căng mắt tìm. Mình thích nhất là kiểu sắp xếp theo cột/bảng nhìn gọn, đọc nhanh mà không bị loạn. Menu điều hướng để khá dễ thấy nên bấm qua lại vài chỗ cũng tiện, không cần mò lâu, nhất là phần menu…

Edited
Like

gà vàng TV dạo này mình thấy có người nhắc tới khi nói về các nền tảng giải trí trực tuyến nên cũng thử mở vào xem cách họ bố trí giao diện ra sao. Mình không đi sâu vào nội dung hay từng trò cụ thể, mà chủ yếu quan sát cách các chuyên mục được phân chia trên trang và cách thông tin hiển thị cho người dùng. Nhìn tổng thể thì các khu như thể thao, casino, game bài hay slot thường được sắp xếp theo từng nhóm khá rõ, hiển thị dạng khối và danh sách nên lướt qua cũng dễ theo dõi. Các bảng dữ liệu được trình bày dạng cột khá gọn, giúp quan…

Like

56d apareceu pra mim esses dias e eu resolvi abrir só pra ver como era a página por dentro, sem muita expectativa. O que me chamou atenção de cara foi que o texto não vem todo embolado: eles vão soltando as infos em blocos com títulos bem destacados, então dá pra ir rolando e pegando o contexto sem se perder. Também vi que tem uma parte com linha do tempo em formato de tabela, bem direta, que ajuda a entender a evolução deles sem precisar ler tudo com calma. Não cliquei em mil coisas nem fiquei testando recursos, mas a navegação parece bem “no lugar”, sem aquele monte de pop-up ou bagunça na tela. No geral, dá pra bater o…

Like

https://ml88.website/ dạo này thấy mấy người trong nhóm chat nhắc nên mình ghé thử cho biết thôi. Mình cũng không ngồi đọc hết, chủ yếu xem trang họ trình bày ra sao. Ấn tượng đầu là nhìn khá gọn, kiểu chia nội dung thành từng khối nên lướt xuống không bị rối mắt. Có một đoạn nói về độ an toàn/uy tín với phần minh chứng pháp lý đặt khá nổi, nên ai mới vào cũng hiểu họ đang muốn nhấn mạnh gì. Mình để ý thêm là họ có nhắc chuyện link đôi khi bị chặn và có link dự phòng, cái này để ngay chỗ dễ thấy chứ không giấu sâu. Nói chung bấm qua lại menu cũng…

Like

f1686 s dạo này thấy mấy đứa bạn hay nhắc nên mình cũng bấm vào coi thử cho biết thôi, kiểu tò mò giao diện có dễ nhìn không. Mình không có ngồi tìm hiểu sâu hay làm gì nhiều, chỉ lướt vài phút trên điện thoại. Cảm giác đầu tiên là trang nhìn sáng sủa, khoảng trắng vừa đủ nên không bị bí hay rối. Mấy phần nội dung được chia theo từng khối tách bạch, kéo xuống thấy mạch lạc chứ không bị dồn chữ vào một chỗ. Với lại cái menu để khá dễ thấy, bấm qua lại mấy mục nhanh, không phải mò lâu mới ra. Nói chung mình chỉ cần vậy là ổn rồi, vì…

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