Answer:
For 1), you should also add that methods in C++ are called member functions. Thus, the difference between functions and methods in this context is analogous to the difference between functions and member functions in C++. Furthermore, languages like Java only have methods. In this case, functions would be analogous to static methods and methods would have the same meaning. For 2), you should add that a method is able to operate on the private instance (member) data declared as part of the class. Any code can access public instance data.
A function is a mathematical construct. I would say all methods are functions but not all functions are methods
Explanation:
Answer:
B :)
Explanation:
C and D could work, but B is the most logical.
Hope it helps! :)
If I'm right, I would really appreciate it if you could vote me as the Brainliest answer. Thank you!
Answer:
Following are the Query to this question:
/*creating view product_summary */
CREATE VIEW product_summary AS
SELECT product_name, COUNT (order id) As order_count,
/* selects columns names */
SUM(item_total) AS order_total /* add values */
FROM order_item_products /* table name order_item_products*/
GROUP BY product name;
Explanation:
Creating view description can be described as follows:
- In view creation "CREATE VIEW' command is used, which creates its view "product_summary".
- In this creation, the columns are used, which returns the view that will come from the "SELECT" command.
- In this "FROM" command is uses the table, in which all "order_count" and "order_total" manipulate columns, use the "AS" command is used, which gives all the existing values, and it also uses the group by, which operates each product.
TEETEE TEE TEE TEE TEETEETEE