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, 21.06.2019 21:00
Which function key is used to enable the spelling & grammar function in a word processing program such as microsoft word?
Answers: 3
question
Computers and Technology, 22.06.2019 22:00
Consider the following declarations (1, 2, 3, 5, 7)class bagtype{public: void set(string, double, double, double, double); void print() const; string getstyle() const; double getprice() const; void get(double, double, double, double); bagtype(); bagtype(string, double, double, double, double); private: string style: double l; double w; double h; double price; }; a.) write the definition of the number function set so that private members are set according to the parametersb.) write the definition of the member function print that prints the values of the data membersc.) write the definition of the default constructor of the class bagtype so that the private member variables are initialized to "", 0.0, 0.0, 0.0, 0.0, respectively d.) write a c++ statement that prints the value of the object newbag.e.) write a c++ statement that declares the object tempbag of type bagtype, and initialize the member variables of tempbag to "backpack", 15, 8, 20 and 49.99, respectively
Answers: 3
question
Computers and Technology, 23.06.2019 07:00
Why were most movies from the late 1890s until the early 1930s only filmed in black and white? there were only a few people who could afford the technology to produce color motion pictures back then. audiences did not want color motion pictures until later. the film used to make color motion pictures often overheated, which was a safety hazard, so it was generally not allowed. color films had to be hand-colored, frame by frame.
Answers: 3
question
Computers and Technology, 23.06.2019 11:00
Describe three characteristics of at-risk drivers. a. b. c. describe three characteristics of safe drivers. a. b. c. describe three driver errors that could cause a collision. a. b. c. how will this information affect you as a driver now and in the future? (2-3 sentences)
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
Mathematics, 31.01.2020 15:45
question
Mathematics, 31.01.2020 15:45
question
English, 31.01.2020 15:45
question
Mathematics, 31.01.2020 15:45
Questions on the website: 13722367