Blog Archives

10: Getting started with MySQL database beginner tutorial

All Java developers not only must know “SQL”, but also a database is required for “JDBC tutorials”, “Hibernate Tutorials”, and so on. Any decent Java application will require a database. So, …

14+ SQL beginner interview Q&As

SQL interview Questions & Answers is a must for any developer as all non-trivial applications need to talk to a database with CRUD operations. Q3 – Q15 are very popular with …

15 Database design interview Q&As

Q1. What is normalization? When to denormalize? A1. Normalization is a design technique that is widely used as a guide in designing relational databases. Normalization is essentially a two step process …

15+ SQL scenarios based interview questions answered

Q1 How will you go about identifying duplicate records in a table? A1 The following SQL query will do the trick.

Auditing database record changes in Oracle

Q. What are some of the considerations in auditing database table data? A. Creating audit tables without any constraints to store record changes.  Audit tables are heavily hit with inserts, hence …

Common Table Expressions (i.e. CTE) in SQL using the “WITH” clause

Common Table Expressions or CTE’s for short are used in SQL to simplify complex joins and subqueries, and to provide a means to query hierarchical data such as an organisational chart. …

Deleting records in SQL Interview Questions and Answers

The following is a very popular SQL job interview question.

Q. What is the difference between “Truncate” and “Delete” commands?

  • TRUNCATE TABLE_NAME always locks

SQL retrieving the latest records interview Q&As

This question can reveal a lot about your ability to write SQL queries as different approaches can be used and there will be drill down on pros and cons of each …

SQL Subquery interview questions and answers

Q. What is a subquery?
A. Subquery or Inner query or Nested query is a query in a query. A subquery is usually added in the WHERE clause of the sql …

SQL window function for analytics & qualify interview Q&As

Data Engineers & analysts must know the Window functions as it is a powerful tool to analyse the data. This post compliments “Apache Spark window functions” focus on using SQL on …

Transaction management in SQL — Sybase example

Q. How do you perform transaction management in SQL stored procedures?
A. Handled with begin, commit, and rollback ‘tran’ commands in Sybase server.

Q. Why is …

800+ Java Interview Q&As Menu

Prepare to fast-track & go places
with multi-offers to choose from & increased earning potential. Expand your horizons along the way by taking the road less travelled.

Career Paths as a Developer

Learn by categories on the go...
Learn by categories such as FAQs – Core Java, Key Area – Low Latency, Core Java – Java 8, JEE – Microservices, Big Data – NoSQL, etc. Some posts belong to multiple categories.