Guru has Published 10 Articles

How to Write a SQL Query For a Specific Date Range and Date Time?

guru

guru

Updated on 27-Jan-2025 17:54:29

134 Views

Filtering data by date or datetime is a common requirement when working with SQL queries. Whether you're retrieving records for a specific date, a range of dates or precise timestamps SQL provides robust tools to handle such scenarios. Understanding Date and DateTime Data Types The SQL databases support various data ... Read More

Joining three or more tables in SQL

guru

guru

Updated on 27-Jan-2025 17:23:37

100 Views

In SQL, joining tables is an essential operation that combines data from multiple sources. While joining two tables is straightforward many real-world scenarios require joining three or more tables to retrieve comprehensive information. This article explains how to join three or more tables, complete with examples. Understanding Joins SQL joins ... Read More

Setting up Sublime Text for C++ Competitive Programming Environment

guru

guru

Updated on 20-Jan-2025 13:05:02

178 Views

The Sublime Text is a popular code editor due to its simplicity, speed and extensibility. While it may not have built-in C++ support, it's very easy to set up Sublime Text for competitive programming in C++. This guide will walk you through configuring Sublime Text to provide a smooth and ... Read More

How can I pass a parameter to a Java Thread?

guru

guru

Updated on 16-Jan-2025 12:38:04

254 Views

The Java threads provide a mechanism for the concurrent execution making it easier to perform the tasks in parallel. Often, we may need to pass parameters to a thread to ensure it operates with the specific input data. This article offers several practical approaches to passing parameters to a Java ... Read More

Difference Between Formula and Function in Excel

guru

guru

Updated on 09-Jan-2025 13:09:20

332 Views

Excel is a powerful tool widely used for data analysis, computation and visualization. While working with Excel, we use formulas and functions frequently. Read this article to learn how an Excel formula is different from an Excel function and what are their unique features.What is a Formula in Excel?A formula ... Read More

How to Get the names of the table in SQL

guru

guru

Updated on 01-Nov-2024 14:10:36

78 Views

In SQL databases, it is often necessary to retrieve the list of table names within a database to understand the structure or to perform the certain operations. Each SQL-based database system offers specific ways to query its metadata to extract the table names. In this article, we will explore how ... Read More

SQL Query to Convert VARCHAR to INT

guru

guru

Updated on 25-Oct-2024 11:50:21

1K+ Views

In SQL, it is common to store data in different formats like VARCHAR, INT, FLOAT, etc. based on the needs of the application. However, sometimes we may need to convert a VARCHAR column to an INT for performing arithmetic operations, comparisons or other logical queries that require integer values. This ... Read More

Difference between Stack and Tree

guru

guru

Updated on 24-Oct-2024 17:52:21

203 Views

The data structures are essential components in computer science and software engineering. Among the most commonly used are stacks and trees both of which play a crucial role in the different algorithms and systems. Though both stack and tree are non-primitive data structures they serve different purposes and operate on ... Read More

How do I get a platform-independent new line character?

guru

guru

Updated on 23-Oct-2024 12:01:48

365 Views

When working with text in Java we often need to include new line characters to the format output properly. Different operating systems have different conventions for new line characters: Windows: This uses \r (Carriage Return + Line Feed). Unix/Linux: This uses (Line Feed). Mac (pre-OS X): This uses ... Read More

Difference between Natural join and Inner Join in SQL

guru

guru

Updated on 23-Oct-2024 09:07:38

1K+ Views

The Structured Query Language (SQL) is widely used in databases to manipulate and manage data. When working with multiple tables we often need to combine or join data to retrieve meaningful information. The Two common types of joins used for this purpose are the Natural Join and the Inner Join. ... Read More

1
Advertisements