Using two INSERT statements, store in the database the fact that PC model 1100 is made by manufacturer C, has speed 3.2, RAM 1024, hard disk 180, and sells for $2499.b) Insert the facts that for every PC there is a laptop with the same manufacturer, speed, RAM, and hard disk, a 17-inch screen, a model number 1100 greater, and a price $500 more.c) Delete all PC's with less than 100 gigabytes of hard disk.d) Delete all laptops made by a manufacturer that doesn't make printers.e) Manufacturer A buys manufacturer B. Change all products made by B so they are now made by A.

Answers

Answer 1

To store the PC model 1100 information in the database, we can use two INSERT statements. The first statement would insert the model information, such as manufacturer C, speed 3.2, RAM 1024, hard disk 180, and price $2499. The second statement would insert the laptop information, which includes the same manufacturer, speed, RAM, and hard disk, a 17-inch screen, model number 1100 greater, and price $500 more.

To delete all PCs with less than 100 gigabytes of hard disk, we can use the DELETE statement with a WHERE clause specifying the condition.

To delete all laptops made by a manufacturer that doesn't make printers, we can use a subquery in the DELETE statement to select all laptop models that have a manufacturer that doesn't appear in the printer manufacturer list.

To change all products made by manufacturer B to be made by manufacturer A after A buys B, we can use the UPDATE statement with a WHERE clause specifying the manufacturer as B and set the manufacturer to A.

In summary, these operations require the use of SQL statements, including INSERT, DELETE, and UPDATE, to manipulate data in the database.
Let's break it down step by step:

a) To insert the PC model 1100 with the specified details, you'll need two INSERT statements:

1. INSERT INTO PC (model, manufacturer, speed, ram, hard_disk, price) VALUES (1100, 'C', 3.2, 1024, 180, 2499);

b) To insert a laptop for every PC with the same specs, a 17-inch screen, a model number 1100 greater, and a price $500 more, you can use an INSERT statement with a SELECT statement:

2. INSERT INTO Laptop (model, manufacturer, speed, ram, hard_disk, screen, price)
  SELECT model+1100, manufacturer, speed, ram, hard_disk, 17, price+500 FROM PC;

c) To delete all PCs with less than 100 gigabytes of hard disk, use a DELETE statement:

3. DELETE FROM PC WHERE hard_disk < 100;

d) To delete all laptops made by manufacturers that don't make printers, use a DELETE statement with a subquery:

4. DELETE FROM Laptop WHERE manufacturer NOT IN (SELECT DISTINCT manufacturer FROM Printer);

e) To change all products made by manufacturer B to be made by manufacturer A after manufacturer A buys manufacturer B, use UPDATE statements:

5. UPDATE PC SET manufacturer = 'A' WHERE manufacturer = 'B';
6. UPDATE Laptop SET manufacturer = 'A' WHERE manufacturer = 'B';
7. UPDATE Printer SET manufacturer = 'A' WHERE manufacturer = 'B';

Remember to replace the table and column names with the ones used in your specific database.

For more information on database visit:

brainly.com/question/30634903

#SPJ11


Related Questions

Which of the following allows you to copy
formatting of text from one part of your presentation
and apply it to text in another part of your
presentation?
Animation Painter
Animation
Format Painter
slide master
DONE

Answers

Answer:

format painter

Explanation:

What is the 3 common keys used to access the BIOS.​

Answers

Answer:

To access your BIOS, you'll need to press a key during the boot-up process. This key is often displayed during the boot process with a message “Press F2 to access BIOS”, “Press <DEL> to enter setup”, or something similar. Common keys you may need to press include Delete, F1, F2, and Escape.

How can identity theft be prevented?

Answers

Answer:

Identity theft can be prevented by using proper security measures

Explanation:

Identity theft can be prevented by using proper security measures such as stronger passwords and VPN. It can also be protected by making sure your system security is up to date.

press _________ to toggle the selected range as bold​

Answers

Answer:

press the b that i in a dark shade that is bold

Write a loop that will take in 5 numbers from the user and output the average. Round your answer to two decimal places.
Sample Run:

Enter a number: 2
Enter a number: 7
Enter a number: 11
Enter a number: 4
Enter a number: 5
The average is 5.8

Hurry please!! will mark brainliest!!

Answers

I’m gonna do it in the form of a pseudocode.

Pseudocode 1: Number_Average
Declare sum, num, num_count, average
START
sum = 0
num_count = 0
average = 0
Display “Enter a number”
Read num
Display “Enter a number”
Read num
Display “Enter a number”
Read num
Display “Enter a number”
Read num
Display “Enter a number”
Read num
While(count = 5)
DO
num_count = 0+1
sum = 0+1
average = sum/5
ENDWHILE
STOP

Gui screen usually contain elements that are called?

Answers

Answer: Widgets

Components

Controls

Explanation:

Write a definition in your own words for Raster Graphic. Do not copy and paste please.

Answers

Answer:

Raster Graphic is a bitmap. They are basically a grid of small pixels that make an image.

Create a file name that to ensure the that the file is easy to find

Answers

Answer:

I always name mine something like HI

or YEET i dont know

why but it works

Explanation:

The File name would be : ABC!

70s music or russian music

Answers

Explanation:

BB cgbfyhcthcfgvxdrgjyfddg

Don’t listen to any

A person who creates a computer virus is a (1)system analyst (2) techician(3) programmer​

Answers

Answer:

a person who creates a computer virus is a programmer

Answer: hacker

Explanation:

If you would like to give another user permissions on your mailbox or to particular folders within your mailbox, which role should you configure?

Assignee
Client
Delegate
Manager

Answers

Answer:

I think it's B, Delegate

Explanation:

Cause the other options didn't seem to fit as the answer.

I really don't know though.

A delegate is someone who has been granted permission by another user to access. The correct answer would be an option (C).

What is a mailbox?

A computer-simulated mailbox that stores email messages. Mailboxes are saved on a disc as a message file or a message database.

A delegate is someone who has been granted permission by another user to access and manage their mailbox, including sending and responding to email messages on their behalf.

When you grant delegate access to another person, you are giving them the ability to access specific folders within your mailbox and perform specific actions, such as reading, sending, and deleting email messages.

Assignee, client, and manager are not terms typically used in the context of delegate access in email systems.

Thus, the correct answer would be option (C).

Learn more about the mailbox here:

https://brainly.com/question/28430685

#SPJ6

Evaluate each condition as to whether it is true or not.
You can join the Army if you are over 17 and healthy. Have you met those requirements if you are 16 and healthy?
You can earn a scholarship if you have an ACT over 30 or you are valedictorian of your high school. Have you eamed a scholarship if you have an ACT
of 34 but are not the valedictorian?

Answers

Answer:

For the first one you have not met those requirements because you are still 16, for the second one you have met those requirements because you can either have a score over 30 (which you have 34) or be a valedictorian

Explanation:

Above

What is block palette

Answers

The block palette is an area of the graphical user interface located between the stage, sprite pane and scripting area.

What is Exploring technology?

Answers

Answer:

Investigating Technology is a thorough, activity based, course that acquaints understudies with innovation and its effect on society.

Explanation:

Answer: Exploring Technology is a comprehensive, action-based, course that introduces students to technology and its impact on society.

Explanation: it on googIe....

3. Windows that are viewed as Web pages have
sections. **

Answers

Answer:

when the when the when the add the when are you is id god his gay for your top off jack dafe cafe read line green red whats the answer

Explanation:

What type of device is a keyboard?

Input
Memory
Output
Storage

Answers

Answer:

a keyboard is an input device

it's an input

Explanation:

There are three different types of peripherals: Input, used to interact with, or send data to the computer (mouse, keyboards, etc.) Output, which provides output to the user from the computer (monitors, printers, etc.) Storage, which stores data processed by the computer (hard drives, flash drives, etc.)

Que ventajas podria traer el internet a la educacion artistica? Ayuda porfa telo pido porfavor

Answers

Answer:

"Informacion"

Explanation:

La internet puede traer las mismas ventajas para la educacion artistica que cualquier otra materia y eso es "Informacion". El arte tiene muchas tecnicas. Tambien hay muchos differentes estilos de arte. La internet tiene toda la informacion sobre los artistas mas famosos de las historia, incluyendo su arte, tecnicas, estilos, temas, historias, etc. Esta informacion es sumamente importante y util por que te enseña a utilizar todos los metodos ya creados y usarlos como herramientas para crear arte que representa el artista que sos.

In your own words, describe invention.

Answers

Answer:

An invention is an action of doing or creating something. Typically, a process of something.

Explanation:

Hopefully, it helps!

Answer:

Creating something new

Explanation: Invention is something that you originally create and don't copy from anyone else. The microwave was invented in 1945 that changed of how people used kitchen appliances, invention is kinda just another word for creativity (since it's the process of it!)

Hope this helps and make sure to thank me!

Explanation:

Question #6
Multiple Choice
What tag is used to contain information about a web page, such as the title and related pages?

O
O

Answers

Answer:   b; head

Explanation:

Answer: <head>

Explanation: EDGE '23

PLEASE HELP ME! Sam was researching rocks and minerals. He thought the Web site looked unprofessional, so he looked for the author's information or credentials. He couldn't find any. Is this site reliable? A. Probably B. Probably not.

Answers

Answer:

B

Explanation:

If a site looks unprofessional and doesn't have any credentials, those are two signs that it's probably not very reliable.

Accenture began its own Cloud journey in 2015, after our internal IT organization recognized the significant advantages to be gained in leveraging Cloud capabilities at scale. Today, which percentage of Accenture's infrastructure and processes are in the Cloud?

Answers

Answer: 95%

Explanation:

Accenture began its own Cloud journey in 2015, and invested in about $3 billion to move to cloud. This has helped the company in timely delivery and achieving organizational goals.

Today, the percentage of Accenture's infrastructure and processes that are in the Cloud is about 95%. Its HR, sales, finance, legal system etc are all in cloud.

The percentage of Accenture's infrastructure and processes that are stored or located in the Cloud is: 95%.

A Cloud can be defined as the elastic leasing of pooled computer resources (physical hardware) over the Internet and through the use of virtualization.

Accenture is one of the world's largest management and technological consulting company that provide services such as:

Database managementConsultingStrategy planningOutsourcing

Basically, Accenture help business organizations in the implementation of data governance and management policies, in order to ensure the organization's data is trustworthy and reliable.

In 2015, Accenture started its own Cloud journey after recognizing the significant advantages it stand to gain or benefit in leveraging Cloud capabilities at a larger scale.

Consequently, the percentage of Accenture's infrastructure and processes that are stored or located in the Cloud is 95 percent.

Read more: https://brainly.com/question/23844088

the manager of a xyz organisation is preparing the organizational chart which feature of MS Excel /he will use to do so? also write the steps for this​

Answers

Answer:

Smart Art

Explanation:

The smart art feature in Microsoft excel allows for the creation of organizational chart on Microsoft excel. It readily allows for an hierarchical arrangement of an organization's personnel including the various departments on the system. The smartart allows the implementation of a graphical output which allows the display of an organization's personnel in order of hierarchy. To get started with smart art on excel, Clicking on the insert tab, the same are appears under illustrations. For an organizational chart, the Hierarchy smart art graphic type is selected and filled accordingly.

Multiple Select
Which of the following statements about localization are true? Select 2 options.
The goal of localization is to create an application or site that looks and feels like it was created for a specific market.
Really the only issue in localization is translating the text into another language.
You should avoid slang and idioms, since they will not be understandable to many audiences.
It is a good idea to use lots of images, since they are easily understood by all cultures.
For consistency, it is a good idea to use dollars as a currency in all versions of an application

Answers

Answer:

A. The goal of localization is to create an application or site that looks and feels like it was created for a specific market.

B. Really the only issue in localization is translating the text into another language.

Explanation:

In Computer science, localization can be defined as the process of designing, developing and adaptation of computer software applications or websites for different languages and geographical regions with peculiar differences.

This ultimately implies that, the main purpose for localization of a product such as a website or software application is to ensure they are specialized and specifically suited for a linguistic or geographical region.

The following statements about localization are true;

I. The goal of localization is to create an application or site that looks and feels like it was created for a specific market.

II. Really the only issue in localization is translating the text into another language.

Answer:

C. You should avoid slang and idioms since they will not be understandable to many audiences.

A. The goal of localization is to create an application or site that looks and feels like it was created for a specific market.

are the answers

Explanation:

What does this mean

Answers

Answer:

"Y YUR Y YUB I CUR YY 4 ME"

Explanation:

thats what i read lol, i dont know the meaning though

a person who creates a computer virus is called

Answers

Answer:

A person who creates computer virus is known as hacker.

Help!!
What’s the inputs and outputs of a printer
And what’s the inputs and outputs of a digital assistant/ Alexa??

Answers

Answer:

Input of printer - text

Output of Printer - text printed on paper

Input & output of digital Alexa - Voice/sound

Explanation:

Input for a printer is the text data entered into any of the file formats that can be printed.

Output of a printer is the text printed on a piece of paper.

Input of a digital assistant is in the form of voice

Output of a digital assistant in the form of sound

A writing guide in making a project correctly.

a.project proposal
b.project plan
c.project format
d.project template ​

Answers

Answer:

b

Explanation:

B Project plan hope this helps

Shawn has connected his laptop to a projector and chosen to duplicate his screen to the projector. Which statement is true in this situation regarding the Presenter view?

It will be used by default.
It will not be used by default but can be selected.
It cannot be used.
It must be used.

Answers

Answer:

B. It will not be used by default but can be selected.

Explanation:

PowerPoint application can be defined as a software application or program designed and developed by Microsoft, to avail users the ability to create various slides containing textual and multimedia informations that can be used during a presentation.

Some of the features available on Microsoft PowerPoint are narrations, transition effects, custom slideshows, animation effects, formatting options etc.

Basically, the views that are available on the Microsoft PowerPoint application includes;

1. Slide Sorter.

2. Notes Page.

3. Reading Pane.

4. Presenter view.

Presenter view avails the user an ability to use two monitors to display his or her presentation. Thus, one of the monitors displays the notes-free presentation to your audience while the other monitor lets you view the presentation with notes that you have added to the slides, as well as the navigation and presentation tools.

In this scenario, Shawn has connected his laptop to a projector and chosen to duplicate his screen to the projector. Hence, the statement which is true in this situation regarding the Presenter view is that it will not be used by default but can be selected by the user.

PLS HELP ASAP) Omar is using the web to do research on diabetes. he needs to ensure that all of the information he finds regarding medications, treatments, and diets are accurate. the first websites he finds has a lot of information about a diet plan to help diabetic live healthy lifestyle. Omar can't figure out who the author of the site is and he notices that matches the one described on the website. Which of these are red flags that he should continue doing more research elsewhere? choose the right answer

a. the content is biased towards a particular diet plan that the site is advertising

b. Omar cant find the author so there is no proof that the writer can be trusted to provide medical advice.

c. both A and B

d. none of the above. the website can be trusted.


Nikolas is doing research on U.S visas for a school project. he has found conflicting information on two sites. the first site is travel.state.gov and the other is traveldocs.com which site should Nikolas trust more? choose the answer

a. Travel.state.gov

b. Traveldocs.com

Answers

Not sure on the first question, but the second would be answer choice a: Travel.state.gov since a website with .gov at the end tend to be trustworthy sources

Answer: 1. C. both A and B.

2.  Travel.state.gov

Explanation: i took the test!

what will the following program display in the console

Answers

what nnnnnnnnnnnnn nnnnn
It will display the numbers 0 through 3 on each separate line I think
Other Questions
calculate 95onfidence intervals for the estimations of the means for these 5 and 20 sample sets (students t distribution, assuming that is not known). how good these estimations? A meter stick is pivoted at a point a distance a from its center and swings as a physical pendulum. Of the following values for a, which results in the shortest period of oscillation?A. 0.1 mB. 0.2 mC. 0.3 mD. 0.4 mE. 0.5 m How would you prevent the objects on the clock-face from disappearing when clicking on them? A. Make the clock update faster than the painting method. B. Change the material of the clock to make it stronger C. Make a layer transparency D. Add a custom layer for the clockface and painted objects consider the following vector field f(x, y) = mi nj. f(x, y) = x2i yj (a) show that f is conservative. CO2 + 24e- / C6H12O6 (glucose) E'o (V) -0.432H+ + 2e-/H2 E'o (V) -0.42NAD+ + 2H+ + 2e-/NADH + H+ E'o (V) -0.32CO2 + 8e-/C3H2O2 (acetate) E'o (V) -0.28S0 + 2e- / H2S E'o (V) -0.28 Which compounds can act as an electron donor for acetate? CO2 glucose H2 H+ NADH NAD+ H2S NS People living in Boston are hospitalized about 1.5 times as often as those living in New Haven, yet their health outcomes, based on age-specific mortality rates, appear to be identical. Does this mean that hospital care has no ability to improve health Scrie un text de 30 40 cuvinte in care sa prezinti doua trasaturi si 2 abilitati ale omului moder fata de omul preistoric folosind 4 adverbe si 4 adjective.evidentiaza le prin sublinierea cu 2 cul ori NO LINKS!!! URGENT HELP PLEASE!!!3. A virus has infected 400 people in the town and is spreading to 25% more people each day. Write an exponential function to model this situation, then find the number of 3000 people are infected.4. The population of a small town was 10,800 in 2002. Since then, the population has decreased at a rate of 2.5% each year. Write an exponential function to model the situation, then find when the popuation reaches half the 2002 value? among pla, pga, pcl, and p3hb which one has the lowest resorption rate and explain why The Mofo DAm holds back a depth of 70 ft of water, but the lake behind the dam is 100ft wide. The Fus-Ro-Dah Dam holds back a depth of 70 ft of water, but the lake behindthe dam is 2 miles wide. If the dams are to be constructed in the same way, which dam had to be constructed tobe strongest? The water levels do not vary seasonally. Write a recursive formula that can be used to describe the sequence 64, 112, 196, 343 Find h(x, y) = g(f(x, y)).g(t) = t2 + sqrt(t), f(x, y) = 5x + 4y 20Find the set on which h is continuous. estimate the total mass of the earth's atmosphere, using the known value of atmospheric pressure at sea level. demi moore began her acting career on which soap opera? Find an equation of the curve that passes through the point (0, 1) and whose slope at (x, y) is 17xy. Harold goes to Tri-State University and pays $40,000 in tuition. Harold works to pay for his schooling and has an AGI of $37,000. How much is his American Opportunity tax credit? a. $1,000 b. $2,500 c. $4,000 d. $2,000 e. He does not qualify for the American Opportunity tax credit. write a method, printfeetinches, that takes a length in feet as a double and that prints the corresponding whole numbers of feet and inches. for instance, the callprintfeetinches(1.25)should print1' 3'' (use the symbols ' for feet and '' for inches)since there is 1 foot and 3 inches in 1.25 feet (since 1 foot is 12 inches, 0.25 feet is 0.25 x 12 Juan believes that all "Anglos" are uptight and cold, and he won't listen to any evidence that contradicts his belief. This example illustrates a case of:a) Prejudice.b) deindividuation.c) Stereotyping.d) the self-serving bias. In the third stage of the B2B buying process, a firm will administer a request for proposals (RFP) in which ______ will bid on providing products or services to meet the firm's product specifications. an automobile engine provides 621 joules of work to push the pistons and generates 2150 joules of heat that must be carried away by the cooling system.Calculate the change in the internal energy of the engine.