Databases | SQL | Oracle | MS Access Answers

Questions: 901

Answers by our Experts: 732

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

I have two tables
1.emp(eno,ename,dno,.......)
2.dept(dno,dname,loc)

I want to write a pl/sql block to display all dname and all corresponding employee names(ename) using single cursor.

eg: dname: accounting
mark
patrick

dname: research
mohan
adams

.................
.............
1. Financial application: compute commission
Modify your find the sales amount program (Refer to Question 5, Lab 04).
This time, you need to write a method that computes the commission. The header of the method is as follows:
public static double computeCommission (double salesAmount)
Write a test program that displays the following table:
Sales Amount Commission
-----------------------------
10000 900.0
15000 1500.0
20000 2100.0
25000 2700.0
30000 3300.0
35000 3900.0
40000 4500.0
45000 5100.0
50000 5700.0
55000 6300.0
60000 6900.0
65000 7500.0
70000 8100.0
75000 8700.0
80000 9300.0
85000 9900.0
90000 10500.0
95000 11100.0
100000 11700.0
how much do you charge for doing two projects?
i have question please in database i want to insert a column with a value and i need this value to repeated many times how it will be inserted?
Create a view named BOOK_INVENTORY. It consists of the branch number and the total number of books on hand for each branch. Use Units as the name of the count of books on hand. Group and order the rows by branch number. Use the view to retrieve the branch number and units for each branch having more than 25 books on hand.

What is the SQL statement to gather the info after the View is created?
My professor refuses to answer homework questions in any form, and all she does in class is read a pre-made powerpoint that the company gave her. I could really use some help with this one:

Write a SELECT statement that returns four columns: VendorName, InvoiceID, InvoiceSequence, and InvoiceLineItemAmount for each invoice that has more than one line item in the InvoiceLineItems table. (Hint: Use a subquery that tests for InvoiceSequence > 1 )
Hello, I want to monitor many pages and collect their updates for several options permanently and script must collect these updates and import to website and update info on my site permanently. I found several programs which monitor websites and send updates to email or we can export them to a file from program. but they are windows programs. How is this possible? At all i want to create an automatic monitoring website with php language which collects information from manual monitoring websites and shows them on my website. I want my script does this job itself full.what should we do?
Use the CREATE table statement to create a table for each entity for Huffman Trucking’s fleet truck maintenance database.
Use the INSERT statement to populate the tables with realistic sample data, demonstrating each relationship in your entity relationship diagram. Include at least two entries for each table.
Use the SELECT statement to create the following queries:
1. Create a simple query for each table that returns all of the
columns and all of the rows for each table.
2. Write a query that displays each part that has been purchased by Huffman Trucking Company. For each part, also retrieve its parts catalog information from the parts catalog table and vendor information from the vendor table.
3. Write a query that displays all of the rows in the vehicle maintenance table. For each vehicle maintenance row, join the corresponding information from the maintenance descriptions table and vehicles table.
4. Write a query that displays each row in the maintenance work order table. For each row in the maintenance work order table, join the corresponding information from the maintenance description table.
5. Write a query that counts the number of maintenance work orders for each vehicle in the maintenance work order table. Display the vehicle column and the corresponding count of work orders for each vehicle.
How can we create a table with fields "phy", "chm" and "total" such that field "total" is always the sum of other two fields in MYSQL ?
Currently use SQL Server 2008. I have a talbe that contains a column with a Float data type (SSS) and I want to change it to NVARCHAR.
LATEST TUTORIALS
APPROVED BY CLIENTS