subject

Let’s try a query: for all the orders report: a. the date an order took place b. the id of the products included in the order c. the quantity ordered d. productstandardprice e. the calculated column: order_sales_price as productstandardprice* orderedquantity for those orders that do not have an associated orderline assign a productid = -99 and quantity ordered = -99, productstandardprice = 0 part 02 let’s create some tables: 1. create a table named product_dim that holds the products and their product lines, including both id’s and names. it should also hold a new column called product_key that will be the primary key. 2. insert data into product_dim. do not allow null values: substitute possible nulls with ‘undefined’ hint: 1. create a sequence that you will use to populate the product_key: create sequence product_seq start with 1; 2. write a query that selects the product and productline information from the operational database tables. within this query you can also use the sequence as: select product_seq. nextval as product_key, product_id, ….. from product_t …. ; 3. use this query to insert the data as: insert into product_dim select …. ; 3. insert into table product_dim a new record with: productid = -99, productlineid = -99 and ‘undefined’ descriptions 4. create a table named sales_fact with columns: sales_date_key, product_key, order_sales_price 5. insert data into sales_fact hint: modify the query of part 01, so that you also select the corresponding datekey from date_dim instead of order_date and the product_key from product_dim instead of product_id. be careful, when you are joining the tables you should take into account that sometimes the product id is null and in these cases you will be using the new undefined record of product_dim. yes, you have just created a mini star let’s try a query: for all the orders report: a. the date an order took place b. the id of the products included in the order c. the quantity ordered d. productstandardprice e. the calculated column: order_sales_price as productstandardprice* orderedquantity for those orders that do not have an associated orderline assign a productid = -99 and quantity ordered = -99, productstandardprice = 0 part 02 let’s create some tables: 1. create a table named product_dim that holds the products and their product lines, including both id’s and names. it should also hold a new column called product_key that will be the primary key. 2. insert data into product_dim. do not allow null values: substitute possible nulls with ‘undefined’ hint: 1. create a sequence that you will use to populate the product_key: create sequence product_seq start with 1; 2. write a query that selects the product and productline information from the operational database tables. within this query you can also use the sequence as: select product_seq. nextval as product_key, product_id, ….. from product_t …. ; 3. use this query to insert the data as: insert into product_dim select …. ; 3. insert into table product_dim a new record with: productid = -99, productlineid = -99 and ‘undefined’ descriptions 4. create a table named sales_fact with columns: sales_date_key, product_key, order_sales_price 5. insert data into sales_fact hint: modify the query of part 01, so that you also select the corresponding datekey from date_dim instead of order_date and the product_key from product_dim instead of product_id. be careful, when you are joining the tables you should take into account that sometimes the product id is null and in these cases you will be using the new undefined record of product_dim. yes, you have just created a mini star

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 13:30
Font size, font style, and are all aspects of character formatting.
Answers: 2
question
Computers and Technology, 23.06.2019 19:30
Of the following pieces of information in a document, for which would you most likely insert a mail merge field?
Answers: 3
question
Computers and Technology, 23.06.2019 20:40
Instruction active describing list features which statements accurately describe the features of word that are used to create lists? check all that apply. the tab key can be used to create a sublist. the enter key can be used to add an item to a list. the numbering feature allows for the use of letters in a list. the numbering feature can change the numbers to bullets in a list. the multilevel list feature provides options for different levels in a list.
Answers: 2
question
Computers and Technology, 24.06.2019 03:40
4. does the kernel phenotype distribution support the idea that the cob is the result of a dihybrid cross? what information supports your answer? if a dihybrid cross (i.e. f1 to f2 of standard mendelian crosses) is not indicated what conditions might contribute to this finding.
Answers: 2
You know the right answer?
Let’s try a query: for all the orders report: a. the date an order took place b. the id of the pro...
Questions
question
Mathematics, 16.10.2020 19:01
question
Mathematics, 16.10.2020 19:01
question
Mathematics, 16.10.2020 19:01
question
Mathematics, 16.10.2020 19:01
Questions on the website: 13722359