Assignment Description: In this assignment, a script file should be created to contain a set a SQL statements for the Pretty Prints Company to better manage their business. Use the database created for Pretty Prints in Assignment 2. Include the SQL statements to satisfy the following queries.
The following queries should be included in the script:
a. customer_id is a foreign key in the orders table.
b. Item_id is a foreign key in the orderline table.
HERE IS DATABASE CREATED IN ASSIGNMENT 2:
USE PrettyPrints;
SELECT customer_name, customer_add, customer_city,
customer_state, customer_zip FROM customers;
SELECT customer_name, customer_phone FROM customers WHERE
customer_state = 'GA';
SELECT customer_name, customer_zip FROM customers WHERE
customer_state = 'NC' OR customer_state = 'SC';
SELECT title, artist, order_date, ship_date FROM
items,orders,orderline WHERE orders.order_id = orderline.order_id
AND items.item_id = orderline.item_id;
SELECT * FROM items ORDER BY unit_price ASC;
SELECT * FROM items WHERE unit_price > 100.00;
SELECT * FROM items WHERE on_hand > 300;
SELECT title, unit_price, unit_price * 2 AS retail_price FROM
items;
SELECT title, order_qty FROM items,orderline WHERE items.item_id =
orderline.item_id;
SELECT title FROM items WHERE unit_price BETWEEN 40 AND 100;
Select customer_name, title, artist, sum (order_qty) from customers
left outer join orders on customers.customer_id =
orders.customer_id join orderline on orders.order_id =
orderline.order_id join items on orderline.item_id = items.item_id
group by items.artist order by items.artist;
SELECT c.customer_name, c.customer_phone FROM customers c LEFT OUTER JOIN orders o ON c.customer_id = o.order_id WHERE YEAR(o.ORDER_DATE) = '2014';
SELECT customer_name, sum(unit_price * 2) AS
total_revenue FROM customers join orders on customers.customer_id =
orders.customer_id join orderline on orders.order_id =
orderline.order_id join items on orderline.item_id = items.item_id
group by customer_name;
SELECT customer_state, COUNT(DISTINCT customer_name) AS
number_of_customers FROM customers GROUP BY
customer_state;
In: Computer Science
GTUC owns a property that it is using at its head office. At 1 January 2018, its carrying value was $20 million and its remaining useful life was 20 years. On 1 July 2018 the business was reorganized and cheaper premises were found for use as a head office. It was therefore decided to lease the property under an operating lease.
The property was valued by a qualified professional, who assessed the property’s value as $21 million on 1 July and $21.6 million on 31 December 2018.
Explain the accounting treatment of the property,plant and equipment in the financial statements for the year-ended 31 December 2018.
In: Accounting
How do the two articles below address the dividend discount model and show changes from original estimations to later estimations based on first quarter results? Any analysis of these two articles would be greatly appreciated so I may better understand the DDM.
The first article was written in April of 2018 and the second was written in July 2018.
April 2018 Article: https://seekingalpha.com/article/4166249-mcdonalds-corporation-target-price-147-according-dividend-discount-model
July 2018 Article: https://seekingalpha.com/article/4189029-mcdonalds-current-valuation-view?page=2
In: Finance
Question: Analyzing and journalizing bond transactions
On January 1, 2018, Educators Credit Union (ECU) issued 8%, 20-year bonds payable
with face value of $1,000,000. These bonds pay interest on June 30 and December 31.
The issue price of the bonds is 109.
Journalize the following bond transactions:
a. Issuance of the bonds on January 1, 2018.
b. Payment of interest and amortization on June 30, 2018.
c. Payment of interest and amortization on December 31, 2018.
d. Retirement of the bond at maturity on December 31, 2037, assuming the last
interest payment has already been recorded.
In: Accounting
| ($ in millions) | |||||||||||
|
Carrying Amount |
Tax Basis |
Future Taxable (Deductible) Amount |
|||||||||
| Buildings and equipment (net of accumulated depreciation) | $ | 128 | $ | 94 | $ | 34 | |||||
| Prepaid insurance | 54 | 0 | 54 | ||||||||
| Liability—loss contingency | 29 | 0 | (29 | ) | |||||||
Required:
1. Complete the following table given below and
prepare the appropriate journal entry to record income taxes for
2018
2. What is the 2018 net income?
In: Accounting
Paulson Company issues 6%, four-year bonds, on December 31,
2017, with a par value of $200,000 and semiannual interest
payments.
| Semiannual Period-End | Unamortized Discount | Carrying Value | ||||||
| (0) | 12/31/2017 | $ | 13,466 | $ | 186,534 | |||
| (1) | 6/30/2018 | 11,782 | 188,218 | |||||
| (2) | 12/31/2018 | 10,098 | 189,902 | |||||
Use the above straight-line bond amortization table and prepare
journal entries for the following.
(a) The issuance of bonds on December 31, 2017.
(b) The first interest payment on June 30, 2018.
(c) The second interest payment on December 31, 2018.
In: Accounting
Home Builders Inc. purchased a truck for $60,000 on January 1, 2018. It has an expected salvage value of $11,000 at the end of its seven-year useful life. How much is combined depreciation expense in 2018 and 2019 using straight-line depreciation? How much is depreciation expense in 2018 using double-declining balance depreciation? How much is depreciation expense in 2019 using double-declining balance depreciation? How much is depreciation expense in 2018 using sum-of-years digits depreciation? How much is depreciation expense in 2019 using sum-of-years digits depreciation?
In: Accounting
INTEREST COVER
(2019) =1O TIMES
(2018) =1O TIMES
EPS=
(2019) = 52500290000/1=0.1810p
(2018) =36660240000/1=0.1527p
P/E=
(2019) =13.809 TIMES
(2018) =16.366 TIMES
Q1:---Based on the gearing and investor ratio you should give a constructive suggestion to the company about funding the machine using a bank loan ---
Advice Finance Manager of Greenwood Plc whether the organization is able to receive a loan or look for other options (specify clearly the available options, if any).
In: Accounting
In 2018, Borland Semiconductors entered into the following capital transactions described below. In 2014, Borland had issued 100 million shares of its $1 par common stock at $24 per share.
Required:
Assuming that Borland retires shares it reacquires, record the appropriate journal entry for each of the following transactions:
On January 2, 2018, Borland reacquired 5 million shares at $22 per share.
On April 30, 2018, Borland reacquired 5 million shares at $26 per share.
On November 18, 2018, Borland sold 3 million shares at $32 per share.
In: Accounting
On January 1, 2018, the Coldstone Corporation adopted the dollar-value LIFO retail inventory method. Beginning inventory at cost and at retail were $180,000 and $292,950, respectively. Net purchases during the year at cost and at retail were $736,000 and $911,000, respectively. Markups during the year were $9,000. There were no markdowns. Net sales for 2018 were $878,000. The retail price index at the end of 2018 was 1.05. What is the inventory balance that Coldstone would report in its 12/31/2018 balance sheet? (Do not round intermediate calculations.)
$267,960.
$201,882.
$334,950.
$255,200.
In: Accounting