subject
Computers and Technology, 10.10.2019 21:00 Geo777

Consider the following view, dept_summary, defined on the company database in figure 5.6: create view dept_summary (d, c, total_s, average_s) as select dno, count (*), sum (salary), avg (salary) from employee group by dno; state which of the following queries and updates would be allowed on the view. if a query or update would be allowed, show what the corresponding query or update on the base relations would look like, and give its result when applied to the database in figure 5.6.
a. select * from dept_summary;
b. select d, c from dept_summary where total_s > 1; 238 chapter 7 more sql: complex queries, triggers, views, and schema modification.
c. select d, average_s from dept_summary where c > ( select c from dept_summary where d = 4);
d. update dept_summary set d = 3 where d = 4; e. delete from dept_summary where c > 4;

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 12:00
3. when you right-click a linked spreadsheet object, what commands do you choose to activate the excel features? a. linked worksheet object > edit b. edit data > edit data c. linked spreadsheet > edit d. object > edit data
Answers: 2
question
Computers and Technology, 24.06.2019 01:30
How would you cite different books by the same author on the works cited page? moore, jack h. folk songs and ballads. salem: poetry press, 1999. print. moore, jack h. ballads in poetry – a critical review. dallas: garden books, 1962. print. moore, jack h. folk songs and ballads. salem: poetry press, 1999. print. –––. ballads in poetry – a critical review. dallas: garden books, 1962. print. moore, jack h. ballads in poetry – a critical review. dallas: garden books, 1962. print. moore, jack h. folk songs and ballads. salem: poetry press, 1999. print. moore, jack h. ballads in poetry – a critical review. dallas: garden books, 1962. print. –––. folk songs and ballads. salem: poetry press, 1999. print.
Answers: 2
question
Computers and Technology, 24.06.2019 09:50
Suppose you are an ad-serving company and you maintain a log of cookie data for ads you serve to the web pages for a particular vendor (say amazon). a. how can you use this data to determine which are the best ads? b. how can you use this data to determine which are the best ad formats? c. how could you records of past ads and ad clicks to determine which ads to send to a given ip address? d. how could you use this data to determine how well the technique you used in your answer to part c was working? e. how could you use this data to determine that a given ip address is used by more than one person? f. how does having this data give you a competitive advantage vis-Ă -vis other ad-serving companies?
Answers: 2
question
Computers and Technology, 24.06.2019 11:20
Colby works as a shipping clerk for a major package delivery service. some of his daily tasks include tracking shipments and entering orders. which aspect of the information technology cluster would he most likely be trained in? a.networkingb.databasesc.hardwared.software
Answers: 2
You know the right answer?
Consider the following view, dept_summary, defined on the company database in figure 5.6: create vi...
Questions
question
Engineering, 26.10.2020 14:00
question
Mathematics, 26.10.2020 14:00
question
Biology, 26.10.2020 14:00
question
Business, 26.10.2020 14:00
question
Computers and Technology, 26.10.2020 14:00
question
Mathematics, 26.10.2020 14:00
question
Mathematics, 26.10.2020 14:00
question
Chemistry, 26.10.2020 14:00
Questions on the website: 13722367