Filter interviews by
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
To create a table using another table, use the CREATE TABLE AS SELECT statement.
Use the CREATE TABLE AS SELECT statement to create a new table based on the structure and data of an existing table.
Specify the new table name after CREATE TABLE and the existing table name after AS SELECT.
You can also add conditions or filters to the SELECT statement to customize the data being copied.
Example: CREATE TABLE new_table AS SEL
The question is asking to identify different types of joins in SQL.
Inner Join: Returns rows when there is a match in both tables.
Left Join: Returns all rows from the left table and the matched rows from the right table.
Right Join: Returns all rows from the right table and the matched rows from the left table.
Full Outer Join: Returns rows when there is a match in either table.
Cross Join: Returns the Cartesian product of
An index is a database object that improves the speed of data retrieval operations on a table.
Indexes can be created on one or more columns of a table.
Syntax to create an index: CREATE INDEX index_name ON table_name(column_name);
Indexes can be unique or non-unique.
Indexes can be used to enforce uniqueness constraints.
Indexes can improve query performance by reducing the number of rows that need to be scanned.
Use SQL query with MAX function to fetch highest salary from the database.
Use SELECT statement with MAX function to retrieve highest salary
Specify the column name for salary in the SELECT statement
Include the table name in the query if needed
Use a DELETE statement with a subquery to remove duplicates in a table.
Identify the columns that define duplicates
Use a subquery to select the rows to be deleted
Use the DELETE statement to remove the duplicates
Top trending discussions
Implicit conversion is the automatic conversion of data types by SQL Server.
Occurs when SQL Server automatically converts data from one data type to another
Can lead to performance issues if not handled properly
Examples include converting a string to an integer or a date to a string
I applied via Recruitment Consultant and was interviewed in Apr 2021. There were 4 interview rounds.
Normalization is the process of organizing data in a database to reduce redundancy and improve data integrity.
Normalization helps to eliminate data redundancy and inconsistencies
It ensures that each piece of data is stored in only one place
It reduces the chances of data anomalies and inconsistencies
Normalization is achieved through a series of steps called normal forms
Examples of normalization include breaking down a c...
based on 1 interview
Interview experience
Software Engineer
166
salaries
| ₹4.7 L/yr - ₹18.1 L/yr |
Senior Software Engineer
155
salaries
| ₹8.5 L/yr - ₹26 L/yr |
Analyst
136
salaries
| ₹3 L/yr - ₹5.8 L/yr |
Associate Software Engineer
110
salaries
| ₹3.6 L/yr - ₹11 L/yr |
Data Analyst
91
salaries
| ₹2.8 L/yr - ₹5.9 L/yr |
Blue Yonder
Manhattan Associates
SAP
Oracle