Start learning 50% faster. Sign in now
Get Started with ixamBee
Start learning 50% faster. Sign in nowThe TRUNCATE operation in SQL is used to remove all rows from a table without affecting the table structure. Unlike the DELETE operation, which removes rows one at a time and can be rolled back if used with a transaction, TRUNCATE is a more efficient way to delete all records in a table because it does not generate individual row delete statements. TRUNCATE resets any identity columns and typically cannot be rolled back in most database management systems unless within a transaction. Option 1 (DELETE) removes rows from a table but allows for specific conditions (such as WHERE clauses) to filter which rows to delete. Unlike TRUNCATE, DELETE can be rolled back if wrapped in a transaction. Option 2 (DROP) removes the entire table from the database, including its structure, and is more drastic than TRUNCATE. Option 4 (REMOVE) is not a valid SQL operation. Option 5 (ALTER) is used to modify the structure of a table, such as adding or deleting columns, but it does not remove data from the table.
The probability of selecting a rotten apple randomly from a heap of 1050 apples is 0.36. What is the number of rotten apples in the heap?
Mohit is a teacher and he teach some students in two (Morning & evening) slots. There are 5 boys and ‘x’ girls in morning slot, while there are ‘x...
Given that E and F are events such that P(E) = 0.8, P(F) = 0.4 and P(E∩ F) = 0.2. Find P(F|E).
A jar contains 54 marbles each of which is blue green or white. The probability of selecting a blue marble at random from the jar is 1/3 and the probabi...
Roger Federer play 3 sets of a tennis match. The probability of his winning the three sets are 1/9,1/4,3/4 respectively. What is the probability that he...
The probability of selecting a rotten egg randomly from a basket of 600 eggs is 0.14. What is the number of rotten eggs in the basket?
A student is required to select 4 questions to attempt from a set of 10 questions. How many different ways can the student make this selection?
There are 14 boys and 6 girls giving interview for a job. If three of them are selected, then what is the probability that one of the three is a girl an...
In a factory which manufactures calculators, machines A, B and C manufacture respectively 25%, 35% and 40% of the calculators. Of their outputs, 5, 4 an...
A container holds 15 orange, 9 purple, and 6 gray balls. If 2 balls are picked at random without replacement, find the probability that the first ball i...