DBMS perguntas e respostas de entrevista
Test your skills through the online practice test: DBMS Quiz Online Practice Test
Diferencas relacionadas
Pergunta 21. What is CROSS JOIN? or What is Cartesian product?
CROSS JOIN or CARTESIAN PRODUCT combines all rows from both tables. Number of rows will be product of the number of rows in each table. In real life scenario I can not imagine where we will want to use a Cartesian product. But there are scenarios where we would like permutation and combination probably Cartesian would be the easiest way to achieve it.
Isto e util?
Adicionar comentario
Ver comentarios
Pergunta 22. How to select the first record in a given set of rows?
Select top 1 * from wb.wbEmployees;
Isto e util?
Adicionar comentario
Ver comentarios
Pergunta 23. What is the default -SORT order for a SQL?
ASCENDING
Isto e util?
Adicionar comentario
Ver comentarios
Pergunta 24. What is a self-join?
If we want to join two instances of the same table we can use self-join.
Isto e util?
Adicionar comentario
Ver comentarios
Pergunta 25. Whats the difference between DELETE and TRUNCATE?
Following are difference between them:
- DELETE TABLE syntax logs the deletes thus making the delete operations low. TRUNCATE table does not log any information but it logs information about deallocation of data page of the table. So TRUNCATE table is faster as compared to delete table.
- DELETE table can have criteria while TRUNCATE can not.
- TRUNCATE table can not have triggers.
Isto e util?
Adicionar comentario
Ver comentarios
Mais uteis segundo os usuarios:
- What is database or database management systems (DBMS)?
- What is SQL?
- What's the difference between file and database? Can files qualify as a database?
- What are E-R diagrams?
- Whats difference between DBMS and RDBMS?