Principais perguntas e respostas de entrevista e testes online
Plataforma educacional para preparacao de entrevistas, testes online, tutoriais e pratica ao vivo

Desenvolva habilidades com trilhas de aprendizado focadas, simulados e conteudo pronto para entrevistas.

WithoutBook reune perguntas de entrevista por assunto, testes praticos online, tutoriais e guias comparativos em um unico espaco de aprendizado responsivo.

Preparar entrevista

Simulados

Definir como pagina inicial

Adicionar esta pagina aos favoritos

Assinar endereco de e-mail

SQL Query perguntas e respostas de entrevista

Pergunta 6. Explain INNER JOIN and LEFT JOIN.

INNER JOIN returns rows when there is a match in both tables. LEFT JOIN returns all rows from the left table and matching rows from the right table.

Example:

SELECT * FROM table1 INNER JOIN table2 ON table1.id = table2.id;

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 7. What is a primary key?

A primary key is a unique identifier for a record in a table. It must contain unique values and cannot be NULL.

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 8. Write a SQL query to calculate the average salary for each department.

SELECT department, AVG(salary) FROM Employee GROUP BY department;

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 9. Explain the difference between UNION and UNION ALL.

UNION combines and returns unique rows from multiple SELECT statements, while UNION ALL returns all rows including duplicates.

Example:

SELECT column1 FROM table1 UNION SELECT column1 FROM table2;

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 10. What is an index in a database?

An index is a data structure that improves the speed of data retrieval operations on a database table at the cost of additional writes and storage space.

Isto e util? Adicionar comentario Ver comentarios
 

Mais uteis segundo os usuarios:

Copyright © 2026, WithoutBook.