Chat with us, powered by LiveChat Database Query | Writedemy

Database Query

Database Query

Part A – Single and multiple table queries

1. List in ascending order the Last Names of all borrowers with Card Number less than 150.

2. What are the records of those loans between 3 June 2014 and 8 Mar 2018?

◦ The output should include the name of the cardholder, and title of the book

◦ List in ascending order by last name and first name

3. Find the total numbers of loans with last name beginning with D through E (including E); include last name beginning with Q as well as Z also.

4. Find all borrowers for a loan that have the Date-in before 15-March-15 and the Card number between 100 and 300 in Karama or Darwin.

5. Find the number of loans, which have been made from each branch?

◦ Note all branches need to be included even those with no loans

 

Questions Using the Library Database

1. What are the 5 most popular books?

◦ Show ASBN, Title.

◦ HINT: To limit results use ROWNUM.

2. Which branches currently have no loans out?

◦ Show all branch names.

◦ List in ascending order by branch.

3. Find the longest time a book has been loaned out for each branch

◦ Show only branch name and number of days.

◦ List in ascending order by branch name.

◦ Show all branches, even if there are no loaned out books. Therefore, a branch may have a null value for the longest loaded out book.

◦ Format the number of days to one decimal place.

4. Find the borrower that has returned a book on the dated 16 December 2010 and 8 May 2012

◦ Show two different methods.

Question Using the  Customer Invoice Database

5. Devise a delete query, which will eliminate duplicates for customer columns `ID`, `CustomerLastName`, `CustomerFirstName` and invoice columns `Invoice_Date` and `Invoice_No`.

◦ Ensure the query removes all duplicate data.

Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.

Do you need an answer to this or any other questions?

About Writedemy

We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.

How It Works

To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Are there Discounts?

All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.

Hire a tutor today CLICK HERE to make your first order