Posts

Showing posts from May, 2019

Top 50 SQL Interview Questions You Must Prepare In 2019

Image
Top 50 SQL Interview Questions You Must Prepare In 2019 RDBMS is most commonly used databases till date, and therefore SQL skills are absolutely necessary in most of the job roles. In this SQL Interview Questions blog, I will introduce you to the most frequently asked questions on SQL (Structured Query Language). This blog is the perfect guide for you to learn all the concepts related to SQL, Oracle, MS SQL Server and MySQL database. Our SQL Interview Questions blog is the one-stop resource from where you can boost your interview preparation. It has a set of top 50questions which an interviewer plans to ask during an interview process. SQL Interview Questions Q1. What is the difference between DELETE and TRUNCATE statements? DELETE vs TRUNCATE DELETE TRUNCATE Delete command is used to delete a row in a table. Truncate is used to delete all the rows from a table. You can rollback data after using delete statement. You cannot rollback data. It is a DML comm...

SQL Interview Questions

Basic SQL Interview Questions What is SQL? SQL stands for Structured Query Language. It is a language used to interact with the database, i.e to create a database, to create a table in the database, to retrieve data or update a table in the database etc. SQL is an ANSI(American National Standards Institute) standard. Using SQL, we can do many things, for example – we can execute queries, we can insert records in a table, we can update records, we can create a database, we can create a table, we can delete a table etc. What is a Database? A Database is defined as a structured form of data which is stored in a computer or data in an organised manner and can be accessed in various ways. It is also the collection of schemas, tables, queries, views etc. Database helps us in easily storing, accessing and manipulation of data held in a computer. The Database Management System allows a user to interact with the database. Does SQL support programming la...

Top 100 SQL Interview Questions and Answers (LATEST)

Image
Top 100 SQL Interview Questions and Answers (LATEST)   Best SQL Interview Questions Let's start. Question #1) What is SQL? Structured Query Language is a database tool which is used to create and access database to support software application. Question #2) What are tables in SQL? The table is a collection of record and its information at a single view. Question #3) What are different types of statements supported by SQL? There are 3 types of SQL statements 1) DDL (Data Definition Language): It is used to define the database structure such as tables. It includes three statements such as Create, Alter, and Drop. Some of the DDL Commands are listed below CREATE : It is used for creating the table. CREATE TABLE table_name column_name1 data_type(size), column_name2 data_type(size), column_name3 data_type(size), ALTER: The ALTER table is used for modifying the existing table object in the database. ALTER TABLE table_name ADD column_name datatype OR ALTER TABLE ...