Question

1. The example of an SQL statement that cannot be “rollback’ed” is ________________________. 2. _________ partitioning...

1. The example of an SQL statement that cannot be “rollback’ed” is ________________________.

2. _________ partitioning of a relation corresponds to distributing the tuples across disks.

0 0
Add a comment Improve this question Transcribed image text
Answer #1
1.
The example of an SQL statement that cannot be “rollback’ed” is commit
COMMIT statement makes all the modification made by the current transaction become permanent
Answer:
COMMIT

2.
Data partitioning of a relation corresponds to distributing the tuples across disks.
Answer:
Data 
Add a comment
Answer #2
  • The example of an SQL statement that cannot be "rollback'ed" is a DDL (Data Definition Language) statement. DDL statements are used to define or modify the structure of a database, such as creating or altering tables, indexes, or constraints. Once a DDL statement is executed, it cannot be rolled back, and any changes made by the statement are permanent.

  • Horizontal partitioning of a relation corresponds to distributing the tuples across disks. Horizontal partitioning, also known as row partitioning, involves dividing a table into multiple smaller tables based on rows. Each smaller table contains a subset of the original table's rows. The purpose of horizontal partitioning is to distribute the data across different disks or servers to improve performance and scalability.


answered by: mervetokaz
Add a comment
Know the answer?
Add Answer to:
1. The example of an SQL statement that cannot be “rollback’ed” is ________________________. 2. _________ partitioning...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • SQL based: Session 1 gets a share lock on a resource. Which statement best describes options...

    SQL based: Session 1 gets a share lock on a resource. Which statement best describes options for session 2 that is running in parallel with session 1? a. session 2 can get a shared lock, but it cannot get an exclusive lock on the resource b. session can get any lock, shared or exclusive on the same resource c. session 2 cannot get a shares lock, but it can get an exclusive lock on th resource d. session 2 cannot...

  • SQL QUERIES 1) Using the Product and PC relations, create both tables in your database and...

    SQL QUERIES 1) Using the Product and PC relations, create both tables in your database and insert all the data. Show the SQL statements to create each table and show a representative SQL insert statement for the data in each table (i.e. you do not need to show insert statements for all the data). – For the remaining questions, assume that your SQL is part of a program function and the function provides the input needed for your SQL query....

  • What is wrong with the following SQL statement? select first_name , last_name , phone from Customer,...

    What is wrong with the following SQL statement? select first_name , last_name , phone from Customer, Orders where customer.customerid = orders.customerid; Group of answer choices 1 You cannot join customer.customerid to orders.cutomerid 2 Nothing is wrong with this statement. 3 The join is wrong. You can only join tables in the FROM clause. 4 The result will be a Cartesian Product.

  • 1. Reason for subnetting 2. Internet partitioning from routing perspective

    1. Reason for subnetting 2. Internet partitioning from routing perspective

  • 1) Write or select the correct SQL statement that satisfies the following case: Find value 'Dern'...

    1) Write or select the correct SQL statement that satisfies the following case: Find value 'Dern' of the 'Style' attribute in the table 'Invoice_Line' 2)Write or select the correct SQL statement that satisfies the following case: Find value '36' of the 'Quantity' attribute in the table 'Invoice_Line' 3)Write or select the correct SQL statement that satisfies the following case: Find value 'Willis' of the 'Last Name' attribute in the table 'Contacts' 4)Write or select the correct SQL statement that satisfies...

  • Consider the following tables R1 and R2: R1.A1 R1.B1 ------------ 1      1 NULL   2 3      NULL R2.A2 R2.B2...

    Consider the following tables R1 and R2: R1.A1 R1.B1 ------------ 1      1 NULL   2 3      NULL R2.A2 R2.B2 ------------ 1      1 NULL   2 3      NULL The tuple (3, NULL, 3, NULL) appears in the answer of which of the following SQL Statements? Check all that apply A. select * from R1,R2; B. select * from R1,R2 where R1.A1=R2.A2; C. select * from R1,R2 where R1.A1=R2.A2 and R1.B1=R2.B2; Suppose relation R(A,B,C) has the following tuples A B C ----- 2 3 4 5 3 4...

  • Question 1 (5 marks) Consider two relations called Item and Orderltem. Imagine that relation Item has 160,000 tuples and Orderltem has 200,000 tuples. Both relations store 100 tuples per a page....

    Question 1 (5 marks) Consider two relations called Item and Orderltem. Imagine that relation Item has 160,000 tuples and Orderltem has 200,000 tuples. Both relations store 100 tuples per a page. Consider the following SQL statement SELECT * FROM Item INNER JOIN OrderItem ON Item.ItemID-OrderItem. ItemID; We wish to evaluate an equijoin between Orderltem and Item, with an equality condition Item.ltemID Orderltem.ItemID. There are 802 buffer pages available in memory for this operation. Both relations are stored as (unsorted) heap...

  • Write an SQL statement to develop a new database called ACCOUNT with the following attributes: 1)...

    Write an SQL statement to develop a new database called ACCOUNT with the following attributes: 1) Account_Number, 2) Customer_ID, 3) Account_Type, 4) Balance and 5) Opening_date. Note that you need to determine data types for the attributes.

  • Using Microsoft SQL Server 2 2020-05-29 Describe how SQL queries work USE Adventure Works2012 example no...

    Using Microsoft SQL Server 2 2020-05-29 Describe how SQL queries work USE Adventure Works2012 example no 1 USE Adventure Works2012 GO SELECT AVG(TotalDue) as AVG_TotalDue FROM [Sales) (SalesOrder Header) example no 2 SELECT SalesOrderID Order Date. TotalDue st Name AS TerritoryName. SELECT AVG(TotalDue) FROM (Sales) (SalesOrder Header) ) AS AVG_TotalDue FROM [Sales) (SalesOrderHeader) soh inner join (Sales] [Sales Territory) st ON soh TerritoryID = st.TerritoryID WHERE st Country RegionCode="GB' and Order Date between '2004-06-01' and '2012-06-30 and TotalDue > SELECT...

  • 2) The SQL statement: DROP TABLE STAFF; a) Permanently removes the entire staff table b) Performs...

    2) The SQL statement: DROP TABLE STAFF; a) Permanently removes the entire staff table b) Performs a rollback action to refresh the contents of the staff table to the last database commit c) Removes all rows from the table but maintains the table structure d) None of the above 3) Concurrency problems that can occur in a multi-user environment include: a) Conceptual updates b) Isolation updates c) lost updates d) None of the above Questions 4-7 relate to the following...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT