Interview Questions & Answer for Data Analyst Profile
Interview Questions & Answers for Data Analyst Profile 1. What is SQL and what are its main components? Answer: SQL stands for Structured Query Language, and it is a programming language used to manage and manipulate relational databases. The main components of SQL are: Data Definition Language (DDL): Used to create and modify database structures, such as tables and indexes. Data Manipulation Language (DML): Used to retrieve, insert, update, and delete data in the database. Data Control Language (DCL): Used to grant or revoke permissions and control access to the database. 2. Explain the differences between INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN. Answer: INNER JOIN: Returns only the rows that have matching values in both tables being joined. LEFT JOIN: Returns all the rows from the left (or first) table and the matching rows from the right (or second) table. If there is no match, NULL values are returned for the right table columns. RIGHT JOIN: Returns all the ro...