Question

In: Computer Science

/*        01) Summarize all orders on the Sales.Orders table            for CUNY...

/*

       01) Summarize all orders on the Sales.Orders table

           for CUNY Fiscal year 2015 (July 1, 2014 through June 30, 215)

           using only the columns (orderdate and freight)

*/

/*

02) Find all of the tables in the database whose schema name

       is in the following list ('HR','Person','Production','Sales’)

       Projected by FullyQualifiedTableName and the column count within the table

*/

Solutions

Expert Solution

/*

01) Summarize all orders on the Sales.Orders table

for CUNY Fiscal year 2015 (July 1, 2014 through June 30, 215)

using only the columns (orderdate and freight)

*/
SELECT * Sales.Orders WHERE freight='CUNY' AND orderdate BETWEEN '2014/01/07' AND '2015/30/06';
/*

02) Find all of the tables in the database whose schema name

is in the following list ('HR','Person','Production','Sales’)

Projected by FullyQualifiedTableName and the column count within the table

*/

select owner, table_name, COUNT(column_name) AS ColumnCount
from all_tab_columns
where owner in ('HR', 'Person', 'Production', 'Sales')
GROUP BY table_name;


Related Solutions

Form a table to summarize all the coaxial cable connectors by drawing its structure and by...
Form a table to summarize all the coaxial cable connectors by drawing its structure and by specifying its features.
Determine the Functional Dependencies that exist in the following Orders table. This table lists customer and...
Determine the Functional Dependencies that exist in the following Orders table. This table lists customer and order data. Orders (SupplierNum, SupplierName, Supp_Phone, ProductNum, Description, Product_type, QuotedPrice) . Normalize the above relation to 3 rd normal form, ensuring that the resulting relations are dependency-preserving and specify the primary keys in the normalized relations by underlining them.
A food manufacturing company needs a data mart to summarize facts about orders to move goods....
A food manufacturing company needs a data mart to summarize facts about orders to move goods. Some orders transfer goods internally, some are purchases from vendors, and some are returns of goods from customers. The company needs to treat customers, vendors, plants, and storage locations as distinct dimensions that can be involved at both ends of a movement event. For each type of destination or origin, the company wants to know the type of location (i.e. customer, vendor, etc.) name,...
Describe all elements of (Z10xZ15) / <(2,3)> and their respective orders.
Describe all elements of (Z10xZ15) / <(2,3)> and their respective orders.
Given the forecast and booked orders shown in the? table, and a beginning inventory of? 75,...
Given the forecast and booked orders shown in the? table, and a beginning inventory of? 75, what is the available to promise inventory for period? 4? The company operates with a lot size of 50. Period 1 2 3 4 Forecasted Demand 500 450 400 600 Booked Orders 520 400 325 450 Projected Ending Inventory Master Production Schedule Available to Promise
Summarize all the theorem regarding to graph theory.
Discrete math Summarize all the theorem regarding to graph theory. e.g.) A connected graph has a Euler circuit iif every vertex is of even degree.
observation_date FEDFUNDS 1954-07-01 0.80 1954-08-01 1.22 1954-09-01 1.06 1954-10-01 0.85 1954-11-01 0.83 1954-12-01 1.28 1955-01-01 1.39...
observation_date FEDFUNDS 1954-07-01 0.80 1954-08-01 1.22 1954-09-01 1.06 1954-10-01 0.85 1954-11-01 0.83 1954-12-01 1.28 1955-01-01 1.39 1955-02-01 1.29 1955-03-01 1.35 1955-04-01 1.43 1955-05-01 1.43 1955-06-01 1.64 1955-07-01 1.68 1955-08-01 1.96 1955-09-01 2.18 1955-10-01 2.24 1955-11-01 2.35 1955-12-01 2.48 1956-01-01 2.45 1956-02-01 2.50 1956-03-01 2.50 1956-04-01 2.62 1956-05-01 2.75 1956-06-01 2.71 1956-07-01 2.75 1956-08-01 2.73 1956-09-01 2.95 1956-10-01 2.96 1956-11-01 2.88 1956-12-01 2.94 1957-01-01 2.84 1957-02-01 3.00 1957-03-01 2.96 1957-04-01 3.00 1957-05-01 3.00 1957-06-01 3.00 1957-07-01 2.99 1957-08-01 3.24 1957-09-01 3.47...
In the table below, summarize the effect of sympathetic or parasympathetic stimulation on the effectors in...
In the table below, summarize the effect of sympathetic or parasympathetic stimulation on the effectors in the first column. Thank you In Advance and I'll be sure to rate! VISCERAL EFFECTOR EFFECT OF SYMPATHETIC STIMULATION EFFECT OF PARASYMPATHETIC STIMULATION Eye Salivary glands Bronchi (lungs) Heart Adrenal medulla Stomach and intestines, anal sphincter Sex organs Bladder/internal urethral sphincter Liver Erector pili muscles Arterioles to intestines, kidneys Arterioles to heart, skeletal muscles, liver
Use Python: # Problem Set 01: - Develop neurons and print truth table of the following...
Use Python: # Problem Set 01: - Develop neurons and print truth table of the following 2-input logic gates: AND, OR, NAND, NOR, XOR, XNOR and 1-input NOT gate (Notice: use Markdown to explain how you developed a neuron, and to insert images showing the truth table of logic gates before coding) # Problem Set 02: - Develop neuron and print truth table of XOR gate using only NAND gates - Develop neuron and print truth table of XOR gate...
On 01-01-16, B purchased 400, $1,000 4% bonds for $374,878. On 01-01-16 B incurred and paid...
On 01-01-16, B purchased 400, $1,000 4% bonds for $374,878. On 01-01-16 B incurred and paid $1,250 of bond purchase-related costs. The bonds pay interest each January 1 and July 1 and mature on 01-01-19. B classified these bonds as an available-for-sale investment. The bonds were trading at the following amounts as of the following dates: 12-31-16         96 12-31-17         95 Prepare the entries B should make on: 01-01-16. 07-01-16. 12-31-16. 01-01-17. 12-31-17.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT